PageSourceSearch

https://editors-cdn.template.net/lib/tnet/dashboard/prod/assets/global.styled-Ddsfdr2t.js

js template.net collected 2026-10-02 02:19:34 UTC 16,210 bytes, 466 lines download raw bytes

1import{i as t,m as n,n as d}from"./globals-hbv-bseu.js";import{Z as a,T as o}from"../dashboard.index-2.36.77.js";import"./mui-DaNwArA1.js";const r={MOBILE:{COMMON:1024},TABLET:{COMMON:1024},DESKTOP:{SM:768,MD:1024,LG:1600,XL:1920}},i={CLASS:{USER_PROFILE:"dashboard-user-profile",EDITOR_WRAPPER:"editor-wrapper",HEADER_COVER_PAGE_BTN_WRAPPER_STYLED:"HeaderCoverPageBtnWrapperStyled",SELECTED:"selected",LAYER_SELECTED:"layer-selected",GLOBAL_LOADING:"global-loading",USER_MENU_CONTAINER:"user-menu-container",SIGN_IN_AVATAR:"sign-in-avatar",DOCUMENT_EDITOR_CONTENT:"document-editor-content",DISPLAY_NONE:"d-none",PADDING_NONE:"p-none",AI_EDITOR_CAPTURE:"ai-editor-capture",DASHBOARD_SIDEBAR_MENU:"dashboard-sidebar-menu",DASHBOARD_SIDEBAR_CONTENT:"dashboard-sidebar-content",EDITOR_WRAPPER_STYLED:"EditorWrapperStyled",SELECTED_LAYER:"selected-layer",VISIBILITY_HIDDEN:"visibility__hidden",ACTIVE:"active",IS_ACTIVE:"is-active",MENU_FULLSCREEN:"menu-fullscreen",SHORT_RECENTLY_USED:"short_recently_used",FULL_RECENTLY_USED:"full_recently_used",ACTIVE_TABLE:"active-table-class",HIDE_PLACEHOLDER:"hide--placeholder",SHOW:"--show",HIDDEN:"--hidden",NODE_IFRAME:"node-iframe",PRINT_VIDEO_CLASS:"print-video-class",IMAGE_RESIZER:"image-resizer",RESIZE_BUTTON:"resize-button",MENU_CONTENT_STYLED:"menu-content-styled",SIDEBAR_TAB_DASHBOARD:"sidebar-tab--dashboard",SUGGESTION_TAG:"suggestion-tag",DISABLED_ADD_BUTTON:"disabled-button",CUSTOM_LOADING_CURSOR:"--custom-loading-cursor",DISABLED:"--dashboard-fe-disable",COMMENT_WITH_AVATAR:"comment-with-avatar",MY_COMMENT:"my-comment",HIDE_COMMENT_AVATAR:"hide-comment-avatar",SLIDING_COMMENT_PANEL_DOCS:"sliding-comment-panel-docs",COMMENT_PANEL_SEARCH:"comment-panel-search",RIGHT_SIDEBAR_COMMENT_BUTTON:"right-sidebar-comment-button",ACTIVE_STATE_SIDEBAR_BUTTON:"active-state-sidebar-button",MORE_BTN_CARD_COMMENT:"more-btn-card-comment",EDITOR_ACTIVE_TOOLTIP_BOX:"editor-active-tooltip-box",BRAND_BUTTON:"docs-editor-brand-button"},DATA_ATTRIBUTE:{CUSTOM_MENTION:"custom_mention",DATA_LINK:"data-link",DATA_NODE_ID:"data-node-id",MY_COMMENT:"my-comment",DATA_COMMENT_ID:"data-comment-id",DATA_CARD_COMMENT_ID:"data-card-comment-id"},ID:{DASHBOARD_SIDEBAR_CONTENT:"dashboard-sidebar-content",USER_PROFILE:"dashboard-user-profile",DOCUMENT_EDITOR_CONTAINER:"",DOCS_UNDO_REDO_SECTION:"undo-section",LEFT_TOOLBAR:"left-toolbar",RIGHT_TOOLBAR:"right-toolbar",DOCS_DOWNLOAD_BUTTON_GROUP:"download-inline-button-group",DOCS_DOWNLOAD_BUTTON:"download-inline-button",DOCS_DOWNLOAD_SHOWING_POPUP_BUTTON:"download-showing-popup-button",HAS_HEADER_COVER_PAGE:"has-header-cover-page",BTN_SUBSCRIBE_BUSINESS:"btn_subscribe_business",DOCS_INLINED_TOOLBAR:"mobile-de-inline-toolbar-block",EDITOR:"editor",HEADER_SECTION:"header-section",HEADER_COVER_PAGE_BTN_WRAPPER_STYLED:"HeaderCoverPageBtnWrapperStyled",GE_RIGHT_BUTTONS:"right-buttons",GE_RIGHT_TOOLBAR:"toolbar-right",PRICING_BANNER:"pricing-banner",AI_EDITOR:"ai-editor",LEFT_CHILDREN_SCREEN:"left-children-screen",BLOCK_BASED_FIXED_INLINE_TOOLBAR:"block-based-fixed-inline-toolbar",CHANGE_REMOVE_HEADER_COVER_PAGE_SECTION:"change-remove-header-section",CHANGE_HEADER_COVER_PAGE_MODAL_BODY:"change-header-cover-page-modal-body",BLOCK_BASE_SET_CONTENT_BTN:"set-content-button",BLOCK_BASE_EDITOR_WRAPPER:"block-base-editor-wrapper",BLOCK_BASED_DOCUMENT_EDITOR:"block-based-document-editor",MAIN_ACTION_GROUP:"main-action-group",MAIN_ACTION_DOCUMENT_CONTENT:"main-action-document-content",WORKSPACE_LEFT_CHILDREN:"workspace-left-children",WORKSPACE_ASIDE_LEFT:"workspace-aside-left",CHANGE_HEADER:"change-header",GRAPHIC_EDITOR_CANVAS:"graphic-editor-canvas",WORKSPACE_EDITOR:"workspace-editor",MOBILE_ADD_BUTTON:"mobile-add-button",BLOCK_CONTAINER:"block-container",PROMPT_TO_DOC:"prompt-to-doc",SUGGEST_BANNER:"suggest_banner",SAVE_INLINE_BUTTON:"save-inline-button",PUBLISHER_LEFT_CHILDREN:"publisher-left-children",PUBLISHER_ASIDE_LEFT:"publisher-aside-left",DASHBOARD_EVENT_READY:"dashboard-event-ready",GRAPHIC_HEADER_WRAPPER:"GraphicHeaderWrapper",VELT_COMMENT_TOOL_WRAPPER_STYLED:"VeltCommentToolWrapperStyled",GRAPHIC_BLOCK:"graphic-block",READONLY_OVERLAY:"readonly-overlay",SAVE_INDICATOR:"save-indicator",DOC_EDITOR_AUTOSAVE_BTN:"doc-editor--autosave-btn",GRAPHIC_BLOCK_CONTAINER:"block-container",FIXED_TOOLBAR:"fixed-toolbar",DASHBOARD_EDITOR:"dashboard-editor",GRAPHIC_EDITOR_WRAPPER:"graphic-editor-wrapper",SIDEBAR_CONTENT:"sidebar-content-id",COLLABORATION_WRAPPER:"collaboration-wrapper",TEMPLATE_INVITE_BUTTON:"template-invite-button",FIXED_ADD_BUTTON:"fixed-add-button",FIXED_RIGHT_SIDEBAR:"fixed-right-sidebar",FIXED_COMMENT_PANEL_DOCS:"fixed-comment-panel-docs",DYNAMIC_FORM_EDITOR:"dynamic-form-editor",TNET_SIDEBAR_EXPAND:"tnet-sidebar-expand",WATER_MARK:"water-mark",WATER_MARK_POPUP:"water-mark-popup",VIDEO_INSTRUCTION_POPUP:"VIDEO_INSTRUCTION_POPUP",WATERMARK_CLOSE_ICON_WRAPPER:"watermark-close-icon-wrapper",SCROLL_CONTAINER:"scroll-container",FIELDS_CATEGORY_CONTENT:"fields_category_content",BRAND_VOICE_OPTION_WRAPPER:"brand-voice-option-wrapper",SUGGESTION_TAG_WRAPPER:"suggestion-tags-wrapper",BUSINESS_PRICING_BANNER_ID:"business-pricing-banner",TOP_TOOLBAR_PORTAL:"top-toolbar-portal",RELATED_POPUP:"related-popup",GENERATE_FIELD_FILE:"generate-field-file",EDITOR_WRAPPER_STYLED:"EditorWrapperStyled",POPUP_ADD_EDIT_BRAND_PORTAL:"popup-brand-portal",OUTSIDE_POPUP_MOBILE:"outside-popup-mobile",SEARCH_HERO_BANNER_CSR:"search-box-hero-banner-csr",WEBSITE_COMMON_CRS:"website-common-crs",FLOATING_SIDEBAR_DOCUMENT:"floating-sidebar-document",WEBSITE_TEMPLATE_TAB_CRS:"template",WEBSITE_AI_TAB_CONTENT_CRS:"ai-tab-content",WEBSITE_RECENT_SKELETON:"recent-skeleton",RECENT_TEMPLATE_HOME:"recent-template-home",DOCS_PUBLIC_VIEW_LINK:"docs-public-view-link",DASHBOARD_GENERATE_PROMPT:"dashboard-generate-prompt",DASHBOARD_GENERATE_SUBMIT:"dashboard-generate-submit",EDITOR_WRAPPER:"EditorWrapperStyled",DASHBOARD_GENERATE_INNER:"dashboard-generate-inner",DASHBOARD_DIALOG_CONTENT:"content-dashboard-editor",FIXED_BOTTOM_BAR:"FixedBottomBar",SAVE_BUTTON:"save-inline-button",DOCS_MORE_POPUP:"docs-more-popup"},NODE_NAME:{INPUT:"INPUT",SNIPPYLY_COMMENT_PIN:"snippyly-comment-pin",STYLE:"style"},KEY:{BRAND_SECTION:"brand-section-dashboard-container"}};var l=(e=>(e.sm="100%",e.md="300px",e.lg="300px",e.xl="400px",e))(l||{});const O={WIDTH_MENU:300,WIDTH_CONTENT:"90%",MIN_WIDTH_CONTENT:"1334px",SIDEBAR_TOP:56,TOP_SIDEBAR:56,Z_INDEX:{MAIN_DIALOG:3,HIDDEN:-1,LOW:1,MEDIUM:10,HIGH:100,HIGHER:9999},COMMENT_SCALE_IN_HEADER:3.125},s=n`
2  // to be remove
3  [class*='tiptap-pages-'] {
4    border: 0 !important;
5    outline: 0 !important;
6  }
7  
8  #dashboard {
9    position: relative;
10    top: 0;
11    bottom: 0;
12    left: 0;
13    right: 0;
14    height: 100%;
15    background-color: #fff;
16    /* z-index: 11; */
17    /* overflow: hidden; */
18
19    &[data-layout='auto'] {
20      right: auto;
21    }
22
23    opacity: 1 !important;
24    display: flex;
25    flex-direction: row;
26
27    ::-webkit-scrollbar {
28      display: none;
29    }
30  }
31
32  #premium-popup.bottom-sheet-popup {
33    z-index: 99999;
34  }
35
36  #premium-popup.bottom-sheet-popup {
37    z-index: 99999;
38  }
39
40  @media screen and (max-width: ${r.MOBILE.COMMON}px) {
41    #dashboard {
42      width: 100%;
43      height: 100%;
44      min-height: 100dvh;
45      display: flex;
46      flex-direction: column;
47      z-index: 1;
48    }
49  }
50
51  .sidebar {
52    position: fixed;
53    top: 0;
54    bottom: 0;
55    left: 0;
56    width: 300px;
57    border-right: 1px solid var(--t-neutral-250);
58  }
59
60  body {
61    font-family: Inter, Arial, sans-serif;
62    box-sizing: border-box;
63
64    * {
65      box-sizing: border-box;
66    }
67
68    &#home_page .main-content aside #dashboard #dialog-content.--publisher-page {
69      top: 0 !important;
70    }
71  }
72
73  .button-state:hover {
74    cursor: pointer;
75    border: 1px solid #cfd6dd !important;
76    background: var(--Primary-50, #1e5ae11a) !important;
77    border-radius: 100px !important;
78  }
79
80  .button-state:active {
81    border: 1px solid #cfd6dd !important;
82    background: var(--Primary-50, #1e5ae11a) !important;
83    border-radius: 100px !important;
84    color: var(--Primary-500, #1e0dff) !important;
85  }
86
87  .button-state.selected {
88    border: 1px solid #cfd6dd;
89    background: var(--Primary-50, #1e5ae11a);
90    border-radius: 100px !important;
91    color: var(--Primary-500, #1e0dff);
92  }
93
94  .frame-state:hover {
95    cursor: pointer;
96    border: 1px solid #cfd6dd;
97    background: var(--Primary-50, #1e5ae11a);
98    border-radius: 4px;
99  }
100
101  .frame-state.active {
102    border: 1px solid #cfd6dd;
103    background: var(--Primary-50, #1e5ae11a);
104    border-radius: 4px;
105    color: var(--Primary-500, #1e0dff);
106  }
107
108  @media print {
109    body * {
110      visibility: hidden;
111    }
112
113    #has-header-cover-page,
114    #has-header-cover-page * {
115      visibility: visible;
116    }
117
118    #has-header-cover-page {
119      position: absolute;
120      left: 0;
121      top: 0;
122    }
123  }
124
125  #floating-root {
126    z-index: 100;
127  }
128
129  /* ::-webkit-scrollbar {
130    width: 4px;
131    height: 4px;
132  } */
133
134  ::-webkit-scrollbar-thumb {
135    background: rgba(16, 20, 38, 0.3);
136    border-radius: 8px;
137  }
138
139  #inline-toolbar {
140    z-index: ${a.DocInlineToolbar};
141  }
142
143  .sub-menu-position {
144    z-index: ${a.DocInlineToolbar+1};
145  }
146
147  #graphic-editor-canvas {
148    div[role='tooltip'] {
149      z-index: 999;
150    }
151  }
152
153  .dialog-fullscreen {
154    z-index: 10006 !important;
155  }
156  #editor {
157    width: 100%;
158  }
159
160  .${i.CLASS.DISPLAY_NONE} {
161    display: none !important;
162  }
163
164  .${i.CLASS.PADDING_NONE} {
165    padding: 0 !important;
166  }
167
168  // These css is for styling dynamic main actions on fixed toolbar when showing GE actions
169  ${"#"+i.ID.MAIN_ACTION_GROUP}:not(.navbar) {
170    align-items: center;
171    padding-left: 10px;
172
173    #${i.ID.MAIN_ACTION_DOCUMENT_CONTENT} {
174      > div:first-child {
175        margin-left: 0;
176      }
177      > div:last-child {
178        margin-right: 0;
179      }
180    }
181  }
182
183  #suggest_banner.${i.CLASS.VISIBILITY_HIDDEN} {
184    visibility: hidden !important;
185  }
186
187  #${i.ID.WORKSPACE_EDITOR}.hide--placeholder .tiptap {
188    > h1:first-child.is-empty::before {
189      color: transparent !important;
190    }
191
192    p.is-editor-empty:first-child::before {
193      color: transparent !important;
194    }
195  }
196
197  @media (max-width: ${r.MOBILE.COMMON}px) {
198    velt-comments {
199      display: none;
200    }
201
202    div.hint-storage-wrapper {
203      position: fixed;
204    }
205  }
206  snippyly-comment-pin {
207    position: fixed;
208  }
209  div.hint-storage-wrapper > div {
210    width: 240px;
211  }
212
213  #workspace-left-children.p-none {
214    > div[data-belong-ge] {
215      position: absolute;
216      top: 0;
217      left: 0;
218      display: block;
219    }
220  }
221
222  #workspace-left-children {
223    left: var(--t-w-sidebar-mini);
224    > div {
225      width: calc(var(--t-w-sidebar) - 1px);
226    }
227    > div[data-belong-ge] {
228      display: none;
229    }
230  }
231
232  #upload-sidebar {
233    width: 100%;
234    .content-wrapper {
235      position: relative;
236      z-index: 9;
237    }
238  }
239  #GraphicHeaderWrapper {
240    div#editor {
241      width: inherit !important;
242    }
243  }
244
245  .fix-comment--avatar-block-wrapper.avatar-tooltip:not(:last-child) {
246    margin-right: -5px;
247  }
248
249  // id file_format_landing_page
250  #file_format_landing_page #dashboard {
251    height: calc(100% - 47px);
252  }
253  #file_format_landing_page #dialog-content {
254    top: 103px;
255  }
256  #file_format_landing_page .sidebar-content.show {
257    top: -49px;
258    height: calc(100% + 49px);
259  }
260
261  input::placeholder,
262  textarea::placeholder {
263    color: ${o.Neutral[400]};
264  }
265
266  .${i.CLASS.DISABLED_ADD_BUTTON} {
267    pointer-events: none !important;
268    opacity: 0.7 !important;
269  }
270
271  .${i.CLASS.CUSTOM_LOADING_CURSOR} {
272    cursor: progress;
273    * {
274      cursor: progress;
275    }
276  }
277  svg.starred {
278    stroke: #f3a364 !important;
279    path {
280      fill: #f3a364;
281    }
282  }
283
284  #whiteboard-editor-wrapper {
285    #water-mark-popup {
286      display: none;
287    }
288  }
289  #top-whiteboard {
290    padding: 0 !important;
291  }
292
293  .${i.CLASS.DISABLED} {
294    opacity: 0.5;
295    pointer-events: none;
296  }
297
298  .page-container {
299    height: 100vh;
300    background-color: #f8f9fa;
301    display: flex;
302    flex-direction: column;
303    /* margin-left: var(--t-w-sidebar); */
304    position: relative;
305    flex: 1 0 0%;
306    transition: margin-left 0.3s ease-in-out;
307    gap: 10px;
308
309    &.--hide {
310      margin-left: 0;
311    }
312    &.justify-center {
313      justify-content: center;
314    }
315
316    @media screen and (max-width: 1024px) {
317      padding-left: 0;
318      height: auto;
319    }
320  }
321  .dashboard-template-tab-body_list {
322    column-count: 2;
323    column-gap: 12px;
324  }
325  .template-tab-body_item {
326    position: relative;
327    max-width: inherit;
328    display: flex;
329    flex-direction: column;
330    gap: 6px;
331    margin-bottom: 12px;
332    border-radius: 10px;
333    border: 1px solid rgb(244, 246, 249);
334    box-shadow: rgba(31, 33, 36, 0.12) 0px 2px 4px 0px;
335    overflow: hidden;
336    transition: transform 0.3s ease-in-out;
337    box-sizing: border-box;
338  }
339
340  #edit_online header {
341    border-bottom: 1px solid rgb(207, 214, 221);
342  }
343
344  @media (min-width: 1024px) {
345    #edit_online header {
346      z-index: calc(var(--t-z-sidebar) + 11) !important;
347    }
348  }
349
350  /* #edit-online-activity #loading-skeleton-ssr {
351    z-index: calc(var(--t-z-sidebar) + 2) !important;
352  } */
353`,A=d`${s}`,N=d`
354  .body {
355    overflow-y: hidden!important;
356  }
357`,_=t.span`
358  color: ${o.Neutral[900]};
359  font-family: Inter, Arial, sans-serif;
360  font-size: 14px;
361  font-style: normal;
362  font-weight: 400;
363  line-height: 20px;
364`,I=t(_)`
365  color: ${o.System.Black};
366  font-family: Inter, Arial, sans-serif;
367  font-size: 14px;
368  font-weight: 600;
369`,b=t.span`
370  color: ${o.Neutral[900]};
371  font-family: Inter, Arial, sans-serif;
372  font-size: 16px;
373  font-style: normal;
374  font-weight: 800;
375  line-height: 24px;
376`,m=t.div`
377  margin-bottom: ${e=>e.$space}px;
378`,R=t.a`
379  color: ${o.Primary[500]};
380  font-family: Inter, Arial, sans-serif;
381  font-size: 14px;
382  font-style: normal;
383  font-weight: 400;
384  line-height: 20px;
385  text-decoration: none;
386
387  &:hover {
388    cursor: pointer;
389    text-decoration: underline;
390  }
391`,D=t.div`
392  ${e=>e.disabled?"":"cursor: pointer;"}
393`,f=t.span`
394  text-transform: capitalize;
395`,h=t.span`
396  color: ${o.Neutral[900]};
397  font-family: Inter, Arial, sans-serif;
398  font-size: 16px;
399  font-style: normal;
400  font-weight: 400;
401  line-height: 24px;
402`,S=t.a`
403  color: ${o.Primary[500]};
404  font-family: Inter, Arial, sans-serif;
405  font-size: 14px;
406  font-style: normal;
407  font-weight: 400;
408  line-height: 20px;
409  text-decoration: unset;
410  display: flex;
411  justify-content: center;
412
413  &:hover {
414    text-decoration: underline;
415  }
416`,C=t.div`
417  display: flex;
418  justify-content: center;
419`,g=t.div`
420  display: flex;
421  flex-direction: column;
422  width: 100%;
423  gap: 8px;
424`,x=t.div`
425  width: 100%;
426  display: flex;
427  flex-direction: row;
428  justify-content: space-between;
429  border-radius: 8px;
430  border: 1px solid ${o.Mono.Black10};
431  background: #fff;
432  padding: 12px 16px;
433`,u=t.div`
434  display: flex;
435  flex-direction: column;
436`,L=t.span`
437  color: ${o.Neutral[900]};
438  font-family: Inter, Arial, sans-serif;
439  font-size: 14px;
440  font-style: normal;
441  font-weight: 600;
442  line-height: 20px;
443`,E=t.span`
444  color: ${o.Neutral[900]};
445  font-family: Inter, Arial, sans-serif;
446  font-size: 14px;
447  font-style: normal;
448  font-weight: 500;
449  line-height: 20px;
450`,P=t(E)`
451  color: ${o.Neutral[400]};
452  font-family: Inter, Arial, sans-serif;
453  font-size: 12px;
454  font-style: normal;
455  font-weight: 400;
456  line-height: 18px;
457`,B=n`
458  width: calc(100% - 24px);
459  padding-right: 8px;
460`,y=t.div`
461  display: flex;
462  flex-direction: ${e=>e.direction||"row"};
463  justify-content: ${e=>e.justify||"left"};
464  align-items: ${e=>e.align||"left"};
465  gap: ${e=>e.gap||"8px"};
466`;export{D as ActionIcon,r as BREAK_POINTS,N as CustomGlobalSidebarExpand,A as CustomGlobalStyles,S as DownloadLink,y as FlexContainer,i as HTML_ELEMENTS,R as Hyperlink,P as InvoiceBudge,L as InvoiceIdLabel,E as ItemText,C as MobileFooterModalBlock,g as MobileTable,u as MobileTableCell,x as MobileTableRow,_ as NormalText,l as SIDEBAR_WIDTH,O as STYLES,b as SmallTitleText,m as Spacing,I as StrongText,h as TableCell,f as TitleLabel,A as default,B as scrollC
466ontainerStyled};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.