@orangelogic/design-system 2.78.0 → 2.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/library/chunks/{AxisLabelRadial.BTpA5dYy.js → AxisLabelRadial.Bs1P_q_F.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.hIO71GLG.js → BaseColumnSeries.C7jwOxIJ.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.w9C0GR9v.js → CandlestickSeries.CkXGtRWE.js} +2 -2
  4. package/library/chunks/{Circle.tOnnO-F-.js → Circle.DBa5Ok8V.js} +1 -1
  5. package/library/chunks/{ColumnSeries.Ckz75x1M.js → ColumnSeries.DGazbfza.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.CCMTJT7K.js → EditableAxisLabel.wN0t_G2B.js} +2 -2
  7. package/library/chunks/{EditableLabel.DPmicdjK.js → EditableLabel.BWeq6fgX.js} +1 -1
  8. package/library/chunks/{Gradient.BrDBLm8v.js → Gradient.CdcsPIru.js} +1 -1
  9. package/library/chunks/{LinearGradient.CxfXxvMw.js → LinearGradient.B1z9AGUt.js} +2 -2
  10. package/library/chunks/{Picture.BNASYM-P.js → Picture.YSPC0l0Q.js} +1 -1
  11. package/library/chunks/{Polygon.Dr-GV2hn.js → Polygon.BwMvXN2H.js} +1 -1
  12. package/library/chunks/{ProgressPie.4mPA6xqm.js → ProgressPie.DlCwXN17.js} +5 -5
  13. package/library/chunks/{RadialLabel.HfsGiN4x.js → RadialLabel.DyVOf2K8.js} +1 -1
  14. package/library/chunks/{Scrollbar.Bgg-RhjP.js → Scrollbar.BdZVb_Z-.js} +1 -1
  15. package/library/chunks/{Slice.Dm56LTKj.js → Slice.DiEswWa6.js} +1 -1
  16. package/library/chunks/{Slider.FKJwoPq2.js → Slider.C20No2z5.js} +1 -1
  17. package/library/chunks/{SpriteResizer.-qJDgug8.js → SpriteResizer.DFnmcy0h.js} +1 -1
  18. package/library/chunks/{Triangle.BECgi7mc.js → Triangle.BaOef7HV.js} +1 -1
  19. package/library/chunks/{ZoomTools.cgwuIB0e.js → ZoomTools.D5JPehoL.js} +1 -1
  20. package/library/chunks/{am-chart.oZVBmpnn.js → am-chart.H2jnOzFc.js} +253 -261
  21. package/library/chunks/{animation.DU8t6mrk.js → animation.7ifl4x2S.js} +3 -7
  22. package/library/chunks/{button.DS64Tr8Z.js → button.B-ktz-w4.js} +7 -40
  23. package/library/chunks/button.styles.CKqn956w.js +5 -0
  24. package/library/chunks/{color-swatch-group.C7T6-sY7.js → color-swatch-group.DvllHUil.js} +46 -216
  25. package/library/chunks/{color-swatch.BuUP5yG4.js → color-swatch.Bx-HOp9f.js} +18 -202
  26. package/library/chunks/{colorPicker.C4w_vDjh.js → colorPicker.06n6P3aK.js} +5 -5
  27. package/library/chunks/component.styles.CRO4Odto.js +5 -0
  28. package/library/chunks/confirm-popover.BbHneK19.js +121 -0
  29. package/library/chunks/{cropper.D1lO3pl-.js → cropper.DTokTzP9.js} +2533 -2904
  30. package/library/chunks/{dialog.BdXQkCKY.js → dialog.B1nzoJak.js} +40 -251
  31. package/library/chunks/dot-pagination.C26bQ3vy.js +204 -0
  32. package/library/chunks/{exporting.BdjsEGF8.js → exporting.Chnl3UWi.js} +2 -2
  33. package/library/chunks/file-on-demand.D_Mia7M9.js +1956 -0
  34. package/library/chunks/{flow.D0FqdfOy.js → flow.D2CqFQa7.js} +5 -5
  35. package/library/chunks/{folder-select.B2qxSKA5.js → folder-select.DOsefkAC.js} +20 -226
  36. package/library/chunks/form-control.styles.CaGWmeAS.js +5 -0
  37. package/library/chunks/{gantt.DfUM7Gvb.js → gantt.DSHD2gjO.js} +8 -8
  38. package/library/chunks/header.D68fIfe2.js +170 -0
  39. package/library/chunks/{hierarchy.5kfBCoGt.js → hierarchy.DwVsMmsP.js} +5 -5
  40. package/library/chunks/icon-button.BuhCp--_.js +149 -0
  41. package/library/chunks/iframe.BQFZQMTe.js +73 -0
  42. package/library/chunks/{image.DHBgKeJp.js → image.4eLWAZ3-.js} +16 -272
  43. package/library/chunks/{index.BkoLctE9.js → index.C9khsiad.js} +17 -17
  44. package/library/chunks/{json.BjaT7cyo.js → json.zyETMOw-.js} +3 -3
  45. package/library/chunks/{list-editor.DluUZa06.js → list-editor.DNa6ROgr.js} +45 -360
  46. package/library/chunks/{map.DbgNAGxD.js → map.CqM2O6LB.js} +2 -2
  47. package/library/chunks/option.DljDoFx4.js +123 -0
  48. package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
  49. package/library/chunks/{pagination.g4zErKN2.js → pagination.BiRyMwhM.js} +45 -141
  50. package/library/chunks/{percent.DO4FjAdu.js → percent.DuQwbCCg.js} +3 -3
  51. package/library/chunks/{radar.Dd5fJVMg.js → radar.FpYl3UH5.js} +4 -4
  52. package/library/chunks/{sliceGrouper.DA3aeuJ-.js → sliceGrouper.BsE7fGMt.js} +1 -1
  53. package/library/chunks/{stock.BfI5MUyK.js → stock.BR-ag4Pt.js} +9 -9
  54. package/library/chunks/{tab-group.Dg6a82ei.js → tab-group.9HbDE1AF.js} +30 -581
  55. package/library/chunks/{table.CcqrVieF.js → table.B8LpbiGE.js} +192 -2133
  56. package/library/chunks/{timeline.BxMLjB5J.js → timeline.DkzkmgEM.js} +5 -5
  57. package/library/chunks/{tree.OXvhEOjS.js → tree.q7xRVYyh.js} +31 -399
  58. package/library/chunks/typography.DJC_UXgs.js +52 -0
  59. package/library/chunks/{venn.CxFupTb9.js → venn.D739bOV3.js} +1 -1
  60. package/library/chunks/{wc.ThQubbN2.js → wc.DzW311D-.js} +1 -1
  61. package/library/chunks/{xy.q6e68du3.js → xy.DCRDfTsa.js} +10 -10
  62. package/library/components/alert.js +9 -177
  63. package/library/components/am-chart.js +2 -2
  64. package/library/components/animated-image.js +12 -100
  65. package/library/components/animation.js +2 -2
  66. package/library/components/array-line-clamp.js +7 -88
  67. package/library/components/asset-link-format.js +48 -626
  68. package/library/components/atoms.js +17 -17
  69. package/library/components/avatar.js +5 -94
  70. package/library/components/badge.js +11 -139
  71. package/library/components/bicolor-picker.js +4 -23
  72. package/library/components/border-input-group.js +4 -25
  73. package/library/components/breadcrumb-item.js +24 -155
  74. package/library/components/breadcrumb.js +3 -21
  75. package/library/components/button-group.js +3 -28
  76. package/library/components/button.js +3 -3
  77. package/library/components/card.js +4 -126
  78. package/library/components/checkbox.js +11 -252
  79. package/library/components/color-picker.js +54 -725
  80. package/library/components/color-swatch-group.js +5 -5
  81. package/library/components/color-swatch.js +3 -3
  82. package/library/components/confirm-popover.js +5 -5
  83. package/library/components/copy-button.js +9 -254
  84. package/library/components/corner-position-input-group.js +4 -57
  85. package/library/components/cropper.js +2 -2
  86. package/library/components/details.js +6 -152
  87. package/library/components/dialog.js +4 -4
  88. package/library/components/divider.js +5 -67
  89. package/library/components/dot-pagination.js +2 -2
  90. package/library/components/dot-status.js +25 -95
  91. package/library/components/drawer.js +8 -239
  92. package/library/components/dropdown.js +47 -149
  93. package/library/components/dynamic-select.js +7 -72
  94. package/library/components/e-chart.js +6 -49
  95. package/library/components/element-clamp.js +5 -78
  96. package/library/components/file-on-demand.js +9 -9
  97. package/library/components/folder-select.js +3 -3
  98. package/library/components/format-date.js +2 -6
  99. package/library/components/format-time.js +2 -12
  100. package/library/components/grid-item.js +4 -171
  101. package/library/components/grid.js +5 -41
  102. package/library/components/header.js +2 -2
  103. package/library/components/icon-button.js +2 -2
  104. package/library/components/icon.js +8 -2448
  105. package/library/components/iframe.js +2 -2
  106. package/library/components/image-comparer.js +7 -127
  107. package/library/components/image.js +2 -2
  108. package/library/components/include.js +2 -6
  109. package/library/components/input-group.js +4 -29
  110. package/library/components/input.js +21 -715
  111. package/library/components/line-clamp.js +7 -83
  112. package/library/components/list-editor.js +7 -7
  113. package/library/components/markdown.js +1 -3
  114. package/library/components/masonry.js +22 -221
  115. package/library/components/menu-item.js +9 -309
  116. package/library/components/menu-label.js +3 -20
  117. package/library/components/menu-section.js +3 -17
  118. package/library/components/menu.js +4 -112
  119. package/library/components/molecules.js +5 -5
  120. package/library/components/mutation-observer.js +2 -6
  121. package/library/components/option.js +2 -2
  122. package/library/components/organisms.js +2 -2
  123. package/library/components/padding-input-group.js +5 -16
  124. package/library/components/pagination.js +5 -5
  125. package/library/components/popup.js +204 -538
  126. package/library/components/position-picker.js +3 -93
  127. package/library/components/progress-bar.js +18 -135
  128. package/library/components/progress-ring.js +3 -94
  129. package/library/components/qr-code.js +4 -16
  130. package/library/components/radio-button.js +4 -24
  131. package/library/components/radio-card.js +7 -175
  132. package/library/components/radio-group.js +20 -151
  133. package/library/components/radio.js +13 -170
  134. package/library/components/range.js +120 -657
  135. package/library/components/rating.js +56 -236
  136. package/library/components/relative-time.js +2 -12
  137. package/library/components/resize-observer.js +3 -7
  138. package/library/components/select.js +225 -933
  139. package/library/components/shadow-input-group.js +5 -24
  140. package/library/components/share-option-list.js +18 -310
  141. package/library/components/sidebar.js +14 -220
  142. package/library/components/size-input-group.js +10 -75
  143. package/library/components/skeleton.js +7 -80
  144. package/library/components/space.js +6 -143
  145. package/library/components/spinner.js +6 -75
  146. package/library/components/split-panel.js +16 -123
  147. package/library/components/step.js +21 -272
  148. package/library/components/stepper-wizard.js +9 -43
  149. package/library/components/stepper.js +16 -33
  150. package/library/components/switch.js +11 -274
  151. package/library/components/tab-group.js +4 -4
  152. package/library/components/tab-panel.js +4 -31
  153. package/library/components/tab.js +9 -255
  154. package/library/components/table.js +6 -6
  155. package/library/components/tag.js +14 -165
  156. package/library/components/textarea.js +14 -363
  157. package/library/components/timecode.js +4 -23
  158. package/library/components/tooltip.js +8 -92
  159. package/library/components/tree-item.js +2 -2
  160. package/library/components/tree.js +2 -2
  161. package/library/components/typeface.js +18 -117
  162. package/library/components/types.js +777 -12001
  163. package/library/components/typography.js +2 -2
  164. package/library/components/video.js +3522 -5919
  165. package/library/components/visually-hidden.js +3 -15
  166. package/library/package.json +4 -1
  167. package/library/packages/atoms/src/components/pagination/pagination.d.ts +2 -1
  168. package/library/packages/atoms/src/components/select/select.d.ts +11 -0
  169. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
  170. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +32 -1
  171. package/library/packages/types/src/table.d.ts +2 -0
  172. package/library/react-web-component.d.ts +7 -3
  173. package/package.json +4 -1
  174. package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
  175. package/library/chunks/component.styles.DMSLciL5.js +0 -71
  176. package/library/chunks/confirm-popover.BNjRvnN0.js +0 -288
  177. package/library/chunks/dot-pagination.CIVxMAAS.js +0 -325
  178. package/library/chunks/file-on-demand.BTTdth3o.js +0 -3802
  179. package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
  180. package/library/chunks/header.m7v3M94Z.js +0 -777
  181. package/library/chunks/icon-button.C3eqeQl9.js +0 -683
  182. package/library/chunks/iframe.CNEyWhcM.js +0 -160
  183. package/library/chunks/option.Csqefux_.js +0 -296
  184. package/library/chunks/typography.oDzoLbZS.js +0 -149
@@ -1,15 +1,15 @@
1
- import { C as _e } from "./button.DS64Tr8Z.js";
1
+ import { C as _e } from "./button.B-ktz-w4.js";
2
2
  import Ps from "../components/checkbox.js";
3
3
  import vs from "../components/divider.js";
4
4
  import As from "../components/format-number.js";
5
- import { C as ys } from "./icon-button.C3eqeQl9.js";
5
+ import { C as ys } from "./icon-button.BuhCp--_.js";
6
6
  import _s from "../components/select.js";
7
7
  import wi from "../components/space.js";
8
8
  import Ns from "../components/spinner.js";
9
9
  import { n as g, C as Ne } from "./lib-cortex-element.CVMmyPMC.js";
10
- import { c as qe } from "./component.styles.DMSLciL5.js";
11
- import { o as Vs, O as $i } from "./overlayscrollbars.XhGWx9Zk.js";
12
- import { C as Is, P as Bs } from "./pagination.g4zErKN2.js";
10
+ import { c as qe } from "./component.styles.CRO4Odto.js";
11
+ import { o as Vs, O as $i } from "./overlayscrollbars.BMav4RQ4.js";
12
+ import { C as Is, P as Bs } from "./pagination.BiRyMwhM.js";
13
13
  import { c as Ve } from "./custom-element.L4WJXn1j.js";
14
14
  import { L as lt } from "./i18n.BUW7B9hr.js";
15
15
  import { w as _ } from "./watch.BCJD77bD.js";
@@ -30,14 +30,14 @@ import ut from "../components/menu-item.js";
30
30
  import $s from "../components/menu-section.js";
31
31
  import { g as Us } from "./content-builder.B4Tqoc6M.js";
32
32
  import Ks from "../components/input.js";
33
- import { C as Xs, T as Js } from "./typography.oDzoLbZS.js";
33
+ import { C as Xs, T as Js } from "./typography.DJC_UXgs.js";
34
34
  import { g as T, a as qs } from "./dom.BQVKDNd8.js";
35
35
  import "./browser.BHOCIF_A.js";
36
36
  import "./form.DgwYWi0O.js";
37
37
  import "./purify.es.BIuh5IAZ.js";
38
38
  import { t as Ys } from "./toast.BXNbwZV8.js";
39
39
  import { s as S, a as pt } from "./string.B_rEG27K.js";
40
- import { C as Qs } from "./option.Csqefux_.js";
40
+ import { C as Qs } from "./option.DljDoFx4.js";
41
41
  var ae = /* @__PURE__ */ ((a) => (a.Bottom = "bottom", a.Center = "center", a.Nearest = "nearest", a.Top = "top", a))(ae || {}), q = /* @__PURE__ */ ((a) => (a.All = "all", a.Cell = "cell", a.Column = "column", a.Row = "row", a))(q || {}), je = /* @__PURE__ */ ((a) => (a.Both = "both", a.Copy = "copy", a.Paste = "paste", a))(je || {}), xe = /* @__PURE__ */ ((a) => (a.Left = "left", a.Right = "right", a))(xe || {}), he = /* @__PURE__ */ ((a) => (a.Local = "local", a.Remote = "remote", a))(he || {}), W = /* @__PURE__ */ ((a) => (a.Asc = "asc", a.Desc = "desc", a.None = "none", a))(W || {}), Me = /* @__PURE__ */ ((a) => (a.Ends = "ends", a.Equal = "=", a.GreaterOrEqual = ">=", a.GreaterThan = ">", a.In = "in", a.Keywords = "keywords", a.LessOrEqual = "<=", a.LessThan = "<", a.Like = "like", a.NotEqual = "!=", a.Regex = "regex", a.Starts = "starts", a))(Me || {});
42
42
  const Cs = 36;
43
43
  class Zs {
@@ -106,16 +106,7 @@ class Zs {
106
106
  return t.includes("-") && !customElements.get(t);
107
107
  }
108
108
  }
109
- const eo = H`
110
- .table-row-actions__button::part(label),
111
- .table-row-actions__dropdown__trigger::part(label) {
112
- padding: 0 var(--cx-spacing-x-small);
113
- }
114
-
115
- .table-row-actions__menu-item::part(checked-icon) {
116
- display: none;
117
- }
118
- `;
109
+ const eo = H`.table-row-actions__button::part(label),.table-row-actions__dropdown__trigger::part(label){padding:0 var(--cx-spacing-x-small)}.table-row-actions__menu-item::part(checked-icon){display:none}`;
119
110
  var to = Object.defineProperty, io = Object.getOwnPropertyDescriptor, Le = (a, e, t, i) => {
120
111
  for (var s = i > 1 ? void 0 : i ? io(e, t) : e, o = a.length - 1, r; o >= 0; o--)
121
112
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
@@ -148,50 +139,21 @@ let oe = class extends Ne {
148
139
  return Ae(
149
140
  a,
150
141
  (e) => e.name,
151
- (e) => x`<cx-menu-item
152
- class="table-row-actions__menu-item"
153
- data-action=${e.name}
154
- style=${ke(e.style ?? {})}
155
- @click=${this.handleActionClick}
156
- >
157
- ${U(
142
+ (e) => x`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${ke(e.style ?? {})} @click=${this.handleActionClick}>${U(
158
143
  e.prefixIcon,
159
- () => x`
160
- <cx-icon name=${e.prefixIcon} slot="prefix"></cx-icon>
161
- `
144
+ () => x`<cx-icon name=${e.prefixIcon} slot="prefix"></cx-icon>`
162
145
  )}
163
- ${e.label}
164
- </cx-menu-item>`
146
+ ${e.label}</cx-menu-item>`
165
147
  );
166
148
  }
167
149
  renderMenuSection(a, e, t = a) {
168
- return a === "null" || a === "undefined" ? this.renderMenuItems(e) : x`<cx-menu-section label=${t}>
169
- ${this.renderMenuItems(e)}
170
- </cx-menu-section>`;
150
+ return a === "null" || a === "undefined" ? this.renderMenuItems(e) : x`<cx-menu-section label=${t}>${this.renderMenuItems(e)}</cx-menu-section>`;
171
151
  }
172
152
  render() {
173
153
  if (!this.action)
174
154
  return Ws;
175
155
  const a = this.action?.icon ?? "more_horiz";
176
- return x`<cx-dropdown hoist>
177
- <cx-tooltip
178
- slot="trigger"
179
- hoist
180
- content=${this.action?.tooltip}
181
- ?disabled=${!this.action?.tooltip?.trim()}
182
- >
183
- <cx-button
184
- class="table-row-actions__dropdown__trigger"
185
- aria-label=${this.action?.tooltip ?? this.action?.name ?? this.localize.term("more")}
186
- >
187
- <cx-icon
188
- name=${a}
189
- style=${ke(this.action.options?.iconStyle ?? {})}
190
- ></cx-icon>
191
- </cx-button>
192
- </cx-tooltip>
193
- <cx-menu>
194
- ${Ae(
156
+ return x`<cx-dropdown hoist><cx-tooltip slot="trigger" hoist content=${this.action?.tooltip} ?disabled=${!this.action?.tooltip?.trim()}><cx-button class="table-row-actions__dropdown__trigger" aria-label=${this.action?.tooltip ?? this.action?.name ?? this.localize.term("more")}><cx-icon name=${a} style=${ke(this.action.options?.iconStyle ?? {})}></cx-icon></cx-button></cx-tooltip><cx-menu>${Ae(
195
157
  this.sections,
196
158
  (e) => e,
197
159
  (e) => this.renderMenuSection(
@@ -199,9 +161,7 @@ let oe = class extends Ne {
199
161
  this.groupedDropdownItems[e],
200
162
  this.action?.options?.dropdownSections?.[e]
201
163
  )
202
- )}
203
- </cx-menu>
204
- </cx-dropdown>`;
164
+ )}</cx-menu></cx-dropdown>`;
205
165
  }
206
166
  };
207
167
  oe.dependencies = {
@@ -258,37 +218,13 @@ let ve = class extends Ne {
258
218
  });
259
219
  }
260
220
  renderButton(a) {
261
- return x`<cx-tooltip
262
- hoist
263
- content=${a.tooltip}
264
- ?disabled=${!a.tooltip?.trim()}
265
- >
266
- <cx-button
267
- data-action=${a.name}
268
- class="table-row-actions__button"
269
- label=${a.tooltip ?? a.name}
270
- @click=${this.handleActionClick}
271
- ?loading=${!!a.options?.buttonProps?.loading}
272
- ?outline=${!!a.options?.buttonProps?.outline}
273
- variant=${be(a.options?.buttonProps?.variant)}
274
- >
275
- <cx-icon
276
- name=${a.icon}
277
- style=${ke(a.options?.iconStyle ?? {})}
278
- ></cx-icon>
279
- </cx-button>
280
- </cx-tooltip>`;
221
+ return x`<cx-tooltip hoist content=${a.tooltip} ?disabled=${!a.tooltip?.trim()}><cx-button data-action=${a.name} class="table-row-actions__button" label=${a.tooltip ?? a.name} @click=${this.handleActionClick} ?loading=${!!a.options?.buttonProps?.loading} ?outline=${!!a.options?.buttonProps?.outline} variant=${be(a.options?.buttonProps?.variant)}><cx-icon name=${a.icon} style=${ke(a.options?.iconStyle ?? {})}></cx-icon></cx-button></cx-tooltip>`;
281
222
  }
282
223
  renderDropdown(a) {
283
- return x`<cx-table-row-actions-dropdown
284
- .action=${a}
285
- .row=${this.row}
286
- .cell=${this.cell}
287
- ></cx-table-row-actions-dropdown>`;
224
+ return x`<cx-table-row-actions-dropdown .action=${a} .row=${this.row} .cell=${this.cell}></cx-table-row-actions-dropdown>`;
288
225
  }
289
226
  render() {
290
- return x`<cx-space spacing="2x-small">
291
- ${Ae(
227
+ return x`<cx-space spacing="2x-small">${Ae(
292
228
  this.actions,
293
229
  (a) => a.name,
294
230
  (a) => js(a.type ?? "button", [
@@ -301,8 +237,7 @@ let ve = class extends Ne {
301
237
  () => this.renderDropdown(a)
302
238
  ]
303
239
  ])
304
- )}
305
- </cx-space>`;
240
+ )}</cx-space>`;
306
241
  }
307
242
  };
308
243
  ve.styles = [qe, eo];
@@ -381,31 +316,11 @@ let ce = class extends Ne {
381
316
  return Ae(
382
317
  this.data.options,
383
318
  (a) => a.id,
384
- (a) => x`<cx-menu-item
385
- data-id=${a.id}
386
- type="checkbox"
387
- ?checked=${this.activeOptionId === a.id}
388
- >
389
- ${a.label}
390
- </cx-menu-item>`
319
+ (a) => x`<cx-menu-item data-id=${a.id} type="checkbox" ?checked=${this.activeOptionId === a.id}>${a.label}</cx-menu-item>`
391
320
  );
392
321
  }
393
322
  render() {
394
- return x`<div class="table-dropdown-filter">
395
- <cx-dropdown>
396
- <cx-button
397
- class="table-dropdown-filter__trigger"
398
- slot="trigger"
399
- caret
400
- outline
401
- >
402
- ${this.data.label}: ${this.activeOption?.label ?? ""}
403
- </cx-button>
404
- <cx-menu @cx-select=${this.handleMenuSelect}>
405
- ${this.renderMenuItems()}
406
- </cx-menu>
407
- </cx-dropdown>
408
- </div>`;
323
+ return x`<div class="table-dropdown-filter"><cx-dropdown><cx-button class="table-dropdown-filter__trigger" slot="trigger" caret outline>${this.data.label}: ${this.activeOption?.label ?? ""}</cx-button><cx-menu @cx-select=${this.handleMenuSelect}>${this.renderMenuItems()}</cx-menu></cx-dropdown></div>`;
409
324
  }
410
325
  };
411
326
  ce.styles = [qe];
@@ -487,32 +402,15 @@ let X = class extends Ne {
487
402
  t && this.emit("cx-table-save-search-select", { detail: { id: t } });
488
403
  }
489
404
  render() {
490
- return x`<cx-dropdown hoist class="header-actions__saved-search">
491
- <cx-button slot="trigger" caret>
492
- ${this.localize.term("savedSearches")}
493
- </cx-button>
494
- <cx-menu @cx-select=${this.handleSavedSearchItemSelect}>
495
- ${Ae(
405
+ return x`<cx-dropdown hoist class="header-actions__saved-search"><cx-button slot="trigger" caret>${this.localize.term("savedSearches")}</cx-button><cx-menu @cx-select=${this.handleSavedSearchItemSelect}>${Ae(
496
406
  this.savedSearchItems,
497
407
  (a) => a.recordID,
498
- (a) => x`<cx-menu-item data-id=${a.recordID}>
499
- <cx-icon name="search" slot="prefix"></cx-icon>
500
- ${a.name}
501
- </cx-menu-item>`
408
+ (a) => x`<cx-menu-item data-id=${a.recordID}><cx-icon name="search" slot="prefix"></cx-icon>${a.name}</cx-menu-item>`
502
409
  )}
503
410
  ${U(
504
411
  this.hasMore,
505
- () => x`<cx-button
506
- class="header-actions__saved-search__load-more"
507
- variant="text"
508
- @click=${this.handleLoadMore}
509
- ?loading=${this.loading}
510
- >
511
- ${this.localize.term("more")}
512
- </cx-button>`
513
- )}
514
- </cx-menu>
515
- </cx-dropdown>`;
412
+ () => x`<cx-button class="header-actions__saved-search__load-more" variant="text" @click=${this.handleLoadMore} ?loading=${this.loading}>${this.localize.term("more")}</cx-button>`
413
+ )}</cx-menu></cx-dropdown>`;
516
414
  }
517
415
  };
518
416
  X.styles = [qe];
@@ -553,45 +451,7 @@ ne([
553
451
  X = ne([
554
452
  Ve("cx-table-saved-search-dropdown")
555
453
  ], X);
556
- const ho = H`
557
- .header-actions {
558
- padding-top: var(--cx-spacing-medium);
559
- }
560
-
561
- .search {
562
- flex: 1;
563
- max-width: 500px;
564
- }
565
-
566
- .header-actions__left {
567
- flex: 1;
568
- }
569
-
570
- .search__input {
571
- max-width: 500px;
572
- }
573
-
574
- .header-actions__dropdown::part(trigger) {
575
- line-height: 1;
576
- }
577
-
578
- .table-dropdown-filter__trigger {
579
- --cx-button-text-transform: none;
580
- }
581
-
582
- .header-actions__saved-search {
583
- --cx-button-text-transform: none;
584
- }
585
-
586
- .header-actions__saved-search {
587
- --checked-icon-display: none;
588
- }
589
-
590
- .header-actions__saved-search__load-more {
591
- width: 100%;
592
- padding: 0 var(--cx-spacing-x-small);
593
- }
594
- `;
454
+ const ho = H`.header-actions{padding-top:var(--cx-spacing-medium)}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger,.header-actions__saved-search{--cx-button-text-transform:none}.header-actions__saved-search{--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
595
455
  var co = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, A = (a, e, t, i) => {
596
456
  for (var s = i > 1 ? void 0 : i ? uo(e, t) : e, o = a.length - 1, r; o >= 0; o--)
597
457
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
@@ -626,141 +486,51 @@ let O = class extends Ne {
626
486
  this.emit("cx-table-export", { detail: { type: "report" } });
627
487
  }
628
488
  renderSearch() {
629
- return x`
630
- <form class="search" id="search-form" @submit=${this.handleSearchSubmit}>
631
- <cx-input
632
- class="search__input"
633
- placeholder=${this.localize.term("typeYourSearchHere")}
634
- value=${this.searchValue}
635
- clearable
636
- @cx-clear=${this.handleClearSearch}
637
- >
638
- <cx-icon-button
639
- class="icon-button"
640
- name="search"
641
- slot="prefix"
642
- ></cx-icon-button>
643
- ${U(
489
+ return x`<form class="search" id="search-form" @submit=${this.handleSearchSubmit}><cx-input class="search__input" placeholder=${this.localize.term("typeYourSearchHere")} value=${this.searchValue} clearable @cx-clear=${this.handleClearSearch}><cx-icon-button class="icon-button" name="search" slot="prefix"></cx-icon-button>${U(
644
490
  !this.noAdvancedSearch,
645
- () => x`<cx-tooltip
646
- slot="suffix"
647
- hoist
648
- content=${this.localize.term("advancedSearch")}
649
- >
650
- <cx-icon-button
651
- name="tune"
652
- @click=${this.handleAdvancedSearchClick}
653
- ></cx-icon-button>
654
- </cx-tooltip>`
655
- )}
656
- </cx-input>
657
- </form>
658
- `;
491
+ () => x`<cx-tooltip slot="suffix" hoist content=${this.localize.term("advancedSearch")}><cx-icon-button name="tune" @click=${this.handleAdvancedSearchClick}></cx-icon-button></cx-tooltip>`
492
+ )}</cx-input></form>`;
659
493
  }
660
494
  renderAddButton() {
661
- return x`<cx-button variant="primary" @click=${this.handleAdd}>
662
- <cx-icon name="add_2" slot="prefix"></cx-icon>${this.addLabel}
663
- </cx-button>`;
495
+ return x`<cx-button variant="primary" @click=${this.handleAdd}><cx-icon name="add_2" slot="prefix"></cx-icon>${this.addLabel}</cx-button>`;
664
496
  }
665
497
  renderSavedSearchDropdown() {
666
- return x`<cx-table-saved-search-dropdown
667
- saved-search-url=${this.savedSearchURL}
668
- .savedSearchItems=${this.savedSearchItems}
669
- saved-search-page-size-param=${this.savedSearchPageSizeParam}
670
- saved-search-page-size=${this.savedSearchPageSize}
671
- saved-search-page-number-param=${this.savedSearchPageNumberParam}
672
- ></cx-table-saved-search-dropdown>`;
498
+ return x`<cx-table-saved-search-dropdown saved-search-url=${this.savedSearchURL} .savedSearchItems=${this.savedSearchItems} saved-search-page-size-param=${this.savedSearchPageSizeParam} saved-search-page-size=${this.savedSearchPageSize} saved-search-page-number-param=${this.savedSearchPageNumberParam}></cx-table-saved-search-dropdown>`;
673
499
  }
674
500
  renderExportDropdown() {
675
- return x`<cx-dropdown
676
- hoist
677
- placement="bottom-end"
678
- distance="4"
679
- class="header-actions__dropdown"
680
- >
681
- <cx-icon-button name="more_horiz" slot="trigger" outline></cx-icon-button>
682
- <cx-menu>
683
- ${U(
501
+ return x`<cx-dropdown hoist placement="bottom-end" distance="4" class="header-actions__dropdown"><cx-icon-button name="more_horiz" slot="trigger" outline></cx-icon-button><cx-menu>${U(
684
502
  this.canExportCsv,
685
- () => x`<cx-menu-item @click=${this.handleExportCsv}>
686
- ${this.localize.term("exportAsCsv")}
687
- </cx-menu-item>`
503
+ () => x`<cx-menu-item @click=${this.handleExportCsv}>${this.localize.term("exportAsCsv")}</cx-menu-item>`
688
504
  )}
689
505
  ${U(
690
506
  this.canExportXml,
691
- () => x`<cx-menu-item @click=${this.handleExportXml}>
692
- ${this.localize.term("exportAsXml")}
693
- </cx-menu-item>`
507
+ () => x`<cx-menu-item @click=${this.handleExportXml}>${this.localize.term("exportAsXml")}</cx-menu-item>`
694
508
  )}
695
509
  ${U(
696
510
  this.canExportCustom,
697
- () => x`<cx-menu-item @click=${this.handleExportCustom}>
698
- ${this.localize.term("customExport")}
699
- </cx-menu-item>`
511
+ () => x`<cx-menu-item @click=${this.handleExportCustom}>${this.localize.term("customExport")}</cx-menu-item>`
700
512
  )}
701
513
  ${U(
702
514
  this.canSaveReport,
703
- () => x`<cx-menu-item
704
- data-testid="save-report-menu-item"
705
- @click=${this.handleSaveReport}
706
- >
707
- ${this.localize.term("saveReport")}
708
- </cx-menu-item>`
709
- )}
710
- </cx-menu>
711
- </cx-dropdown>`;
515
+ () => x`<cx-menu-item data-testid="save-report-menu-item" @click=${this.handleSaveReport}>${this.localize.term("saveReport")}</cx-menu-item>`
516
+ )}</cx-menu></cx-dropdown>`;
712
517
  }
713
518
  renderDropdownFilters() {
714
- return x`<cx-space align-items="center" spacing="x-small">
715
- ${Ae(
519
+ return x`<cx-space align-items="center" spacing="x-small">${Ae(
716
520
  this.dropdownFilters,
717
521
  (a) => a.id,
718
- (a) => x`<cx-table-dropdown-filter
719
- .data=${a}
720
- ></cx-table-dropdown-filter>`
721
- )}
722
- </cx-space>`;
522
+ (a) => x`<cx-table-dropdown-filter .data=${a}></cx-table-dropdown-filter>`
523
+ )}</cx-space>`;
723
524
  }
724
525
  render() {
725
526
  const a = this.canExportCsv || this.canExportXml || this.canExportCustom || this.canSaveReport;
726
- return x`<div>
727
- <cx-space justify-content="space-between">
728
- <div>
729
- <slot name="label">
730
- ${U(
527
+ return x`<div><cx-space justify-content="space-between"><div><slot name="label">${U(
731
528
  this.label,
732
- () => x`<cx-typography variant="h3">
733
- ${this.label}
734
- </cx-typography>`
735
- )}
736
- </slot>
737
- </div>
738
- <slot name="pagination"></slot>
739
- </cx-space>
740
- <cx-space
741
- class="header-actions"
742
- justify-content="space-between"
743
- align-items="center"
744
- >
745
- <cx-space
746
- class="header-actions__left"
747
- align-items="center"
748
- spacing="x-small"
749
- >
750
- ${U(this.canSearch, () => this.renderSearch())}
529
+ () => x`<cx-typography variant="h3">${this.label}</cx-typography>`
530
+ )}</slot></div><slot name="pagination"></slot></cx-space><cx-space class="header-actions" justify-content="space-between" align-items="center"><cx-space class="header-actions__left" align-items="center" spacing="x-small">${U(this.canSearch, () => this.renderSearch())}
751
531
  ${U(this.dropdownFilters.length, () => this.renderDropdownFilters())}
752
- ${U(this.showSavedSearch, () => this.renderSavedSearchDropdown())}
753
- </cx-space>
754
- <cx-space
755
- class="header-actions__right"
756
- align-items="center"
757
- spacing="x-small"
758
- >
759
- ${U(this.canAdd, () => this.renderAddButton())}
760
- ${U(a, () => this.renderExportDropdown())}
761
- </cx-space>
762
- </cx-space>
763
- </div>`;
532
+ ${U(this.showSavedSearch, () => this.renderSavedSearchDropdown())}</cx-space><cx-space class="header-actions__right" align-items="center" spacing="x-small">${U(this.canAdd, () => this.renderAddButton())}
533
+ ${U(a, () => this.renderExportDropdown())}</cx-space></cx-space></div>`;
764
534
  }
765
535
  };
766
536
  O.styles = [qe, ho];
@@ -1349,9 +1119,7 @@ class R extends I {
1349
1119
  this.table.alertManager?.clear();
1350
1120
  }
1351
1121
  }
1352
- const mo = x`
1353
- <cx-table-row-actions></cx-table-row-actions>
1354
- `, Fe = class Fe extends R {
1122
+ const mo = x`<cx-table-row-actions></cx-table-row-actions>`, Fe = class Fe extends R {
1355
1123
  constructor(e) {
1356
1124
  super(e), this.registerTableOption("hoverMenu", !1), this.registerTableOption("hoverMenuField", "hoverMenu");
1357
1125
  }
@@ -1436,1715 +1204,7 @@ const mo = x`
1436
1204
  };
1437
1205
  Fe.moduleName = "hoverMenu", Fe.placementDataAttribute = "hoverMenuPlacement";
1438
1206
  let xt = Fe;
1439
- const bo = H`
1440
- .tabulator .tabulator-alert {
1441
- position: absolute;
1442
- display: flex;
1443
- align-items: center;
1444
- top: 0;
1445
- left: 0;
1446
- z-index: 100;
1447
- height: 100%;
1448
- width: 100%;
1449
- background: color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);
1450
- text-align: center;
1451
- }
1452
-
1453
- .tabulator .tabulator-alert.tabulator-alert-state-loading {
1454
- top: var(--header-height, var(--cx-spacing-3x-large));
1455
- height: calc(100% - var(--header-height, var(--cx-spacing-3x-large)));
1456
- }
1457
-
1458
- .tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading {
1459
- top: 0;
1460
- height: 100%;
1461
- }
1462
-
1463
- .tabulator .tabulator-alert .tabulator-alert-msg {
1464
- display: inline-block;
1465
- margin: 0 auto;
1466
- padding: var(--cx-spacing-small) var(--cx-spacing-large);
1467
- border-radius: var(--cx-border-radius-x-large);
1468
- background: var(--cx-color-neutral-0);
1469
- font-weight: bold;
1470
- font-size: var(--cx-font-size-medium);
1471
- }
1472
-
1473
- .tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg {
1474
- color: var(--cx-color-neutral-1000);
1475
- }
1476
-
1477
- .tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error {
1478
- border: 4px solid var(--cx-color-danger);
1479
- color: var(--cx-color-danger-900);
1480
- }
1481
- `, wo = H`
1482
- :host {
1483
- display: block;
1484
- --width: 100%;
1485
- --table-height: var(--height, auto);
1486
- --table-min-height: var(--min-height, 0);
1487
- --table-max-height: var(--max-height, auto);
1488
- --color: var(--cx-color-neutral-700);
1489
- --background-color: var(--cx-color-neutral-0);
1490
- --border-width: var(--cx-input-border-width);
1491
- --border-color: var(--cx-color-neutral-200);
1492
- --outer-border-color: var(--border-color);
1493
- --border-radius: var(--cx-border-radius-medium);
1494
- --row-background-color: var(--cx-color-neutral-0);
1495
- --row-even-background-color: var(--cx-color-neutral-0);
1496
- --row-hover-background-color: var(--cx-color-neutral-0);
1497
- --row-even-hover-background-color: var(--cx-color-neutral-0);
1498
- --frozen-border-color: var(--cx-color-neutral-200);
1499
- /**
1500
- * header css vars
1501
- */
1502
- --header-background-color: var(--cx-color-neutral-50);
1503
- --header-hover-background-color: var(--cx-color-primary-50);
1504
- --header-font-weight: var(--cx-font-weight-medium);
1505
- --header-font-size: var(--cx-font-size-x-small);
1506
- --header-color: var(--cx-color-neutral-700);
1507
- --header-border-right: 1px solid var(--cx-color-neutral-200);
1508
- --header-border-bottom: none;
1509
- --header-height: var(--cx-spacing-3x-large);
1510
- --header-horizontal-padding: var(--cx-spacing-large);
1511
- /**
1512
- * body css vars
1513
- */
1514
- --body-background-color: var(--cx-color-neutral-0);
1515
- /**
1516
- * cell css vars
1517
- */
1518
- --cell-border-color: transparent;
1519
- --cell-bottom-border-color: var(--cx-color-neutral-200);
1520
- --cell-horizontal-padding: var(--cx-spacing-large);
1521
- --cell-font-size: var(--cx-font-size-small);
1522
- --cell-font-weight: var(--cx-font-weight-regular);
1523
- --cell-line-height: normal;
1524
- --cell-hover-background-color: var(--cx-color-neutral-50);
1525
- /**
1526
- * group css vars
1527
- */
1528
- --group-count-color: var(--cx-color-danger-500);
1529
- --group-row-background-color: var(--row-background-color);
1530
- --group-row-hover-background-color: var(--row-hover-background-color);
1531
- --group-row-border-color: var(--cx-color-neutral-200);
1532
- --group-row-color: var(--cx-color-neutral-900);
1533
- --group-row-font-weight: var(--cx-font-weight-medium);
1534
- /**
1535
- * row header vars
1536
- */
1537
- --row-header-border-color: var(--cx-color-neutral-200);
1538
- isolation: isolate;
1539
- width: var(--width);
1540
- }
1541
-
1542
- .container {
1543
- height: 100%;
1544
- }
1545
-
1546
- .tabulator {
1547
- position: relative;
1548
- background-color: var(--background-color);
1549
- font-size: var(--font-size, var(--cx-font-size-small));
1550
- text-align: left;
1551
- overflow: hidden;
1552
- height: var(--table-height);
1553
- min-height: var(--table-min-height);
1554
- max-height: var(--table-max-height);
1555
- display: flex;
1556
- flex-direction: column;
1557
- border-radius: var(--cx-border-radius-medium);
1558
- line-height: normal;
1559
- }
1560
-
1561
- .tabulator[data-overlayscrollbars] {
1562
- flex-direction: column;
1563
- }
1564
-
1565
- .tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"] {
1566
- display: flex;
1567
- }
1568
-
1569
- .tabulator > [data-overlayscrollbars-viewport] {
1570
- display: flex;
1571
- flex-direction: column;
1572
- }
1573
-
1574
- .tabulator.tabulator-overflow-x {
1575
- border-right: var(--border-width) solid var(--outer-border-color);
1576
- border-top-right-radius: var(--border-radius);
1577
- }
1578
-
1579
- .tabulator[tabulator-layout='fitDataFill']
1580
- .tabulator-tableholder
1581
- .tabulator-table {
1582
- min-width: 100%;
1583
- }
1584
-
1585
- .tabulator[tabulator-layout='fitDataTable'] {
1586
- display: inline-block;
1587
- }
1588
-
1589
- .tabulator.tabulator-block-select {
1590
- user-select: none;
1591
- }
1592
-
1593
- /* SelectRange: avoid selecting cell text while dragging a range (non-edit cells). */
1594
- .tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing) {
1595
- user-select: none;
1596
- }
1597
-
1598
- .tabulator .tabulator-tableholder-wrapper {
1599
- position: relative;
1600
- overflow: hidden;
1601
- flex: 1;
1602
- width: max-content;
1603
- display: flex;
1604
- }
1605
-
1606
- .tabulator .tabulator-tableholder {
1607
- position: relative;
1608
- width: max-content;
1609
- flex: 1;
1610
- white-space: nowrap;
1611
- overflow: auto;
1612
- -webkit-overflow-scrolling: touch;
1613
- border-bottom-left-radius: var(--border-radius);
1614
- border-bottom-right-radius: var(--border-radius);
1615
- }
1616
-
1617
- .tabulator .tabulator-tableholder-wrapper::before {
1618
- content: "";
1619
- display: block;
1620
- width: 100%;
1621
- height: 100%;
1622
- position: absolute;
1623
- top: 0;
1624
- left: 0;
1625
- z-index: 1;
1626
- pointer-events: none;
1627
- border: var(--border-width) solid var(--outer-border-color);
1628
- border-bottom-left-radius: var(--border-radius);
1629
- border-bottom-right-radius: var(--border-radius);
1630
- }
1631
-
1632
- .tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper::before {
1633
- border-top-left-radius: var(--border-radius);
1634
- border-top-right-radius: var(--border-radius);
1635
- }
1636
-
1637
- .tabulator .tabulator-tableholder:focus {
1638
- outline: none;
1639
- }
1640
-
1641
- .tabulator .tabulator-tableholder .tabulator-table {
1642
- position: relative;
1643
- display: inline-block;
1644
- background-color: var(--body-background-color, var(--cx-color-neutral-0));
1645
- white-space: nowrap;
1646
- overflow: visible;
1647
- color: var(--color);
1648
- min-width: 100%;
1649
- }
1650
- `, vo = H`
1651
- .tabulator .tabulator-header .tabulator-calcs-holder {
1652
- box-sizing: border-box;
1653
- display: inline-block;
1654
- background: var(--cx-color-neutral-100) !important;
1655
- border-top: var(--border-width) solid var(--cx-color-neutral-400);
1656
- border-bottom: var(--border-width) solid var(--cx-color-neutral-400);
1657
- }
1658
-
1659
- .tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row {
1660
- background: var(--cx-color-neutral-100) !important;
1661
- }
1662
-
1663
- .tabulator
1664
- .tabulator-header
1665
- .tabulator-calcs-holder
1666
- .tabulator-row
1667
- .tabulator-col-resize-handle {
1668
- display: none;
1669
- }
1670
-
1671
- .tabulator
1672
- .tabulator-tableholder
1673
- .tabulator-table
1674
- .tabulator-row.tabulator-calcs {
1675
- font-weight: bold;
1676
- background: var(--cx-color-neutral-200) !important;
1677
- }
1678
-
1679
- .tabulator
1680
- .tabulator-tableholder
1681
- .tabulator-table
1682
- .tabulator-row.tabulator-calcs.tabulator-calcs-top {
1683
- border-bottom: 2px solid var(--cx-color-neutral-400);
1684
- }
1685
-
1686
- .tabulator
1687
- .tabulator-tableholder
1688
- .tabulator-table
1689
- .tabulator-row.tabulator-calcs.tabulator-calcs-bottom {
1690
- border-top: 2px solid var(--cx-color-neutral-400);
1691
- }
1692
-
1693
- .tabulator .tabulator-footer .tabulator-calcs-holder {
1694
- box-sizing: border-box;
1695
- width: 100%;
1696
- text-align: left;
1697
- background: var(--cx-color-neutral-100) !important;
1698
- border-bottom: 1px solid var(--cx-color-neutral-400);
1699
- border-top: 1px solid var(--cx-color-neutral-400);
1700
- overflow: hidden;
1701
- }
1702
-
1703
- .tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
1704
- display: inline-block;
1705
- background: var(--cx-color-neutral-100) !important;
1706
- }
1707
-
1708
- .tabulator
1709
- .tabulator-footer
1710
- .tabulator-calcs-holder
1711
- .tabulator-row
1712
- .tabulator-col-resize-handle {
1713
- display: none;
1714
- }
1715
-
1716
- .tabulator .tabulator-footer .tabulator-calcs-holder:only-child {
1717
- margin-bottom: -5px;
1718
- border-bottom: none;
1719
- }
1720
- `, yo = H`
1721
- .tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty {
1722
- display: inline-block;
1723
- width: 22px;
1724
- }
1725
-
1726
- .tabulator-row .tabulator-cell .tabulator-data-tree-branch {
1727
- display: inline-block;
1728
- vertical-align: middle;
1729
- height: 9px;
1730
- width: 7px;
1731
- margin-top: -9px;
1732
- margin-right: var(--cx-spacing-2x-small);
1733
- border-bottom-left-radius: 1px;
1734
- border-left: 2px solid var(--cx-color-neutral-400);
1735
- border-bottom: 2px solid var(--cx-color-neutral-400);
1736
- }
1737
-
1738
- .tabulator-row .tabulator-cell .tabulator-data-tree-control {
1739
- display: inline-flex;
1740
- align-items: center;
1741
- flex: 0 0 18px;
1742
- justify-content: center;
1743
- vertical-align: middle;
1744
- width: 18px;
1745
- }
1746
- `, Co = H`
1747
- .tabulator-row .tabulator-cell.tabulator-editing {
1748
- outline: none;
1749
- padding: 0 var(--cell-horizontal-padding);
1750
- }
1751
-
1752
- .tabulator:not(.tabulator-ranges)
1753
- .tabulator-row
1754
- .tabulator-cell.tabulator-editing
1755
- input,
1756
- .tabulator:not(.tabulator-ranges)
1757
- .tabulator-row
1758
- .tabulator-cell.tabulator-editing
1759
- select {
1760
- background: transparent;
1761
- outline: none;
1762
- font-size: inherit;
1763
- color: inherit;
1764
- font-family: inherit;
1765
- border: none;
1766
- border-radius: var(--cx-input-border-radius-medium);
1767
- padding: 0;
1768
- }
1769
-
1770
- .tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,
1771
- .tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select {
1772
- border: var(--border-width) solid var(--border-color);
1773
- background: transparent;
1774
- outline: none;
1775
- }
1776
-
1777
- .tabulator-row .tabulator-cell.tabulator-validation-fail {
1778
- border: var(--border-width) solid var(--cx-color-danger);
1779
- }
1780
-
1781
- .tabulator-row .tabulator-cell.tabulator-validation-fail input,
1782
- .tabulator-row .tabulator-cell.tabulator-validation-fail select {
1783
- border: var(--border-width) solid var(--border-color);
1784
- background: transparent;
1785
- color: var(--cx-color-danger);
1786
- }
1787
- .tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list {
1788
- padding: 0 var(--cx-spacing-x-small);
1789
- }
1790
-
1791
- .tabulator-edit-list {
1792
- position: relative;
1793
- }
1794
-
1795
- .tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content {
1796
- padding-right: var(--cx-spacing-large);
1797
- }
1798
-
1799
- .tabulator-edit-list-trigger {
1800
- display: inline-flex;
1801
- align-items: center;
1802
- justify-content: center;
1803
- position: absolute;
1804
- top: 50%;
1805
- right: var(--cx-spacing-small);
1806
- transform: translateY(-50%);
1807
- width: var(--cx-spacing-large);
1808
- height: 100%;
1809
- padding: 0;
1810
- border: none;
1811
- appearance: none;
1812
- background: transparent;
1813
- color: inherit;
1814
- cursor: pointer;
1815
- font: inherit;
1816
- }
1817
-
1818
- .tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger {
1819
- display: none;
1820
- }
1821
-
1822
- .tabulator-edit-list-trigger-caret {
1823
- --font-size: var(--cx-font-size-medium);
1824
- color: var(--cx-color-neutral-500);
1825
- }
1826
- `, Eo = H`
1827
- .tabulator .tabulator-footer {
1828
- border-top: 1px solid var(--cx-color-neutral-400);
1829
- background-color: var(--cx-color-neutral-200);
1830
- color: var(--cx-color-neutral-500);
1831
- font-weight: bold;
1832
- white-space: nowrap;
1833
- user-select: none;
1834
- -moz-user-select: none;
1835
- -khtml-user-select: none;
1836
- -webkit-user-select: none;
1837
- -o-user-select: none;
1838
- }
1839
-
1840
- .tabulator .tabulator-footer .tabulator-footer-contents {
1841
- display: flex;
1842
- flex-direction: row;
1843
- align-items: center;
1844
- justify-content: space-between;
1845
- padding: var(--cx-spacing-2x-small) var(--cx-spacing-small);
1846
- }
1847
-
1848
- .tabulator .tabulator-footer .tabulator-footer-contents:empty {
1849
- display: none;
1850
- }
1851
-
1852
- `, xo = H`
1853
- .tabulator-row .tabulator-cell .tabulator-traffic-light-container {
1854
- display: inline-flex;
1855
- align-items: center;
1856
- gap: var(--cx-spacing-x-small);
1857
- }
1858
-
1859
- .tabulator-row .tabulator-cell .tabulator-traffic-light {
1860
- display: inline-block;
1861
- height: 14px;
1862
- width: 14px;
1863
- border-radius: var(--cx-border-radius-x-large);
1864
- }
1865
- `, Ro = H`
1866
- .tabulator-row.tabulator-group {
1867
- box-sizing: border-box;
1868
- border-bottom: var(--border-width) solid var(--group-row-border-color);
1869
- border-right: var(--border-width) solid var(--group-row-border-color);
1870
- padding: var(--cx-spacing-2x-small);
1871
- padding-left: var(--cx-spacing-small);
1872
- background: var(--group-row-background-color);
1873
- min-width: 100%;
1874
- line-height: var(--header-height);
1875
- color: var(--group-row-color);
1876
- font-weight: var(--group-row-font-weight);
1877
- }
1878
-
1879
- .tabulator-row.tabulator-group.tabulator-row-last {
1880
- border-bottom-left-radius: var(--border-radius);
1881
- border-bottom-right-radius: var(--border-radius);
1882
- }
1883
-
1884
- @media (hover: hover) and (pointer: fine) {
1885
- .tabulator-row.tabulator-group:hover {
1886
- cursor: pointer;
1887
- background-color: var(--group-row-hover-background-color);
1888
- }
1889
- }
1890
-
1891
- .tabulator-row.tabulator-group.tabulator-group-level-1 {
1892
- padding-left: 30px;
1893
- }
1894
-
1895
- .tabulator-row.tabulator-group.tabulator-group-level-2 {
1896
- padding-left: 50px;
1897
- }
1898
-
1899
- .tabulator-row.tabulator-group.tabulator-group-level-3 {
1900
- padding-left: 70px;
1901
- }
1902
-
1903
- .tabulator-row.tabulator-group.tabulator-group-level-4 {
1904
- padding-left: 90px;
1905
- }
1906
-
1907
- .tabulator-row.tabulator-group.tabulator-group-level-5 {
1908
- padding-left: 110px;
1909
- }
1910
-
1911
- .tabulator-row.tabulator-group .tabulator-group-toggle {
1912
- display: inline-flex;
1913
- }
1914
-
1915
- .tabulator-row.tabulator-group span {
1916
- margin-left: var(--cx-spacing-small);
1917
- color: var(--group-count-color);
1918
- }
1919
- `, So = H`
1920
- :host {
1921
- /**
1922
- * Column header highlight when the column is included in the current range selection.
1923
- */
1924
- --selected-column-header-background-color: var(--header-background-color);
1925
- --selected-column-header-color: var(--header-color);
1926
- }
1927
-
1928
- .tabulator .tabulator-header {
1929
- position: relative;
1930
- box-sizing: border-box;
1931
- width: max-content;
1932
- font-weight: var(--header-font-weight);
1933
- font-size: var(--header-font-size);
1934
- color: var(--header-color);
1935
- white-space: nowrap;
1936
- -moz-user-select: none;
1937
- -khtml-user-select: none;
1938
- -webkit-user-select: none;
1939
- -o-user-select: none;
1940
- outline: none;
1941
- }
1942
-
1943
- .tabulator .tabulator-header.tabulator-header-hidden {
1944
- display: none;
1945
- }
1946
-
1947
- .tabulator .tabulator-header .tabulator-header-contents {
1948
- box-sizing: border-box;
1949
- width: max-content;
1950
- position: relative;
1951
- overflow: hidden;
1952
- }
1953
-
1954
- .tabulator .tabulator-header .tabulator-header-contents::before {
1955
- content: '';
1956
- display: block;
1957
- width: 100%;
1958
- height: 100%;
1959
- position: absolute;
1960
- top: 0;
1961
- left: 0;
1962
- z-index: 1;
1963
- pointer-events: none;
1964
- border: var(--border-width) solid var(--outer-border-color);
1965
- border-bottom: var(--header-border-bottom);
1966
- border-top-right-radius: var(--border-radius);
1967
- border-top-left-radius: var(--border-radius);
1968
- }
1969
-
1970
- .tabulator .tabulator-header .tabulator-col:last-of-type {
1971
- border-right: none;
1972
- }
1973
-
1974
- .tabulator .tabulator-header .tabulator-header-contents .tabulator-headers {
1975
- display: inline-block;
1976
- background-color: var(--header-background-color);
1977
- }
1978
-
1979
- .tabulator .tabulator-header .tabulator-col {
1980
- display: inline-flex;
1981
- position: relative;
1982
- box-sizing: border-box;
1983
- flex-direction: column;
1984
- justify-content: flex-start;
1985
- border-right: var(--header-border-right);
1986
- background: var(--header-background-color);
1987
- text-align: left;
1988
- vertical-align: bottom;
1989
- justify-content: center;
1990
- overflow: hidden;
1991
- height: var(--header-height);
1992
- }
1993
-
1994
- .tabulator .tabulator-header .tabulator-col.tabulator-moving {
1995
- position: absolute;
1996
- border: solid var(--border-width) var(--border-color);
1997
- background: var(--cx-color-neutral-300);
1998
- pointer-events: none;
1999
- }
2000
-
2001
- .tabulator .tabulator-header .tabulator-col.tabulator-range-highlight {
2002
- background-color: var(--selected-column-header-background-color);
2003
- color: var(--selected-column-header-color);
2004
- }
2005
-
2006
- .tabulator .tabulator-header .tabulator-col.tabulator-range-selected {
2007
- background-color: var(--cx-color-primary-500);
2008
- color: var(--cx-color-neutral-0);
2009
- }
2010
-
2011
- .tabulator .tabulator-header .tabulator-col .tabulator-col-content {
2012
- box-sizing: border-box;
2013
- position: relative;
2014
- padding: var(--cx-spacing-2x-small) var(--header-horizontal-padding);
2015
- }
2016
-
2017
- .tabulator
2018
- .tabulator-header
2019
- .tabulator-col
2020
- .tabulator-col-content
2021
- .tabulator-header-popup-button {
2022
- padding: 0 var(--cx-spacing-x-small);
2023
- }
2024
-
2025
- @media (hover: hover) and (pointer: fine) {
2026
- .tabulator
2027
- .tabulator-header
2028
- .tabulator-col
2029
- .tabulator-col-content
2030
- .tabulator-header-popup-button:hover {
2031
- cursor: pointer;
2032
- opacity: 0.6;
2033
- }
2034
- }
2035
-
2036
- .tabulator
2037
- .tabulator-header
2038
- .tabulator-col
2039
- .tabulator-col-content
2040
- .tabulator-col-title-holder {
2041
- position: relative;
2042
- }
2043
-
2044
- .tabulator
2045
- .tabulator-header
2046
- .tabulator-col
2047
- .tabulator-col-content
2048
- .tabulator-col-title {
2049
- box-sizing: border-box;
2050
- width: 100%;
2051
- white-space: nowrap;
2052
- overflow: hidden;
2053
- text-overflow: ellipsis;
2054
- vertical-align: bottom;
2055
- }
2056
-
2057
- .tabulator
2058
- .tabulator-header
2059
- .tabulator-col
2060
- .tabulator-col-content
2061
- .tabulator-col-title.tabulator-col-title-wrap {
2062
- white-space: normal;
2063
- text-overflow: initial;
2064
- }
2065
-
2066
- .tabulator
2067
- .tabulator-header
2068
- .tabulator-col
2069
- .tabulator-col-content
2070
- .tabulator-col-title
2071
- .tabulator-title-editor {
2072
- box-sizing: border-box;
2073
- width: 100%;
2074
- border: solid var(--border-width) var(--border-color);
2075
- padding: var(--cx-spacing-3x-small);
2076
- background: var(--cx-color-neutral-0);
2077
- }
2078
-
2079
- .tabulator
2080
- .tabulator-header
2081
- .tabulator-col
2082
- .tabulator-col-content
2083
- .tabulator-col-title
2084
- .tabulator-header-popup-button
2085
- + .tabulator-title-editor {
2086
- width: calc(100% - 22px);
2087
- }
2088
-
2089
- .tabulator
2090
- .tabulator-header
2091
- .tabulator-col
2092
- .tabulator-col-content
2093
- .tabulator-col-sorter {
2094
- display: flex;
2095
- align-items: center;
2096
- position: absolute;
2097
- top: 0;
2098
- bottom: 0;
2099
- right: 4px;
2100
- }
2101
-
2102
- .tabulator
2103
- .tabulator-header
2104
- .tabulator-col
2105
- .tabulator-col-content
2106
- .tabulator-col-sorter
2107
- .tabulator-arrow {
2108
- width: 0;
2109
- height: 0;
2110
- border-left: 6px solid transparent;
2111
- border-right: 6px solid transparent;
2112
- border-bottom: 6px solid var(--cx-color-neutral-200);
2113
- }
2114
-
2115
- .tabulator
2116
- .tabulator-header
2117
- .tabulator-col.tabulator-col-group
2118
- .tabulator-col-group-cols {
2119
- position: relative;
2120
- display: flex;
2121
- border-top: 1px solid var(--cx-color-neutral-400);
2122
- overflow: hidden;
2123
- margin-right: -1px;
2124
- }
2125
-
2126
- .tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
2127
- position: relative;
2128
- box-sizing: border-box;
2129
- margin-top: var(--cx-spacing-3x-small);
2130
- width: 100%;
2131
- text-align: center;
2132
- }
2133
-
2134
- .tabulator
2135
- .tabulator-header
2136
- .tabulator-col
2137
- .tabulator-header-filter
2138
- textarea {
2139
- height: auto !important;
2140
- }
2141
-
2142
- .tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg {
2143
- margin-top: var(--cx-spacing-3x-small);
2144
- }
2145
-
2146
- .tabulator
2147
- .tabulator-header
2148
- .tabulator-col
2149
- .tabulator-header-filter
2150
- input::-ms-clear {
2151
- width: 0;
2152
- height: 0;
2153
- }
2154
-
2155
- .tabulator
2156
- .tabulator-header
2157
- .tabulator-col.tabulator-sortable
2158
- .tabulator-col-title {
2159
- padding-right: var(--cx-spacing-x-large);
2160
- }
2161
-
2162
- @media (hover: hover) and (pointer: fine) {
2163
- .tabulator
2164
- .tabulator-header
2165
- .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
2166
- cursor: pointer;
2167
- }
2168
- .tabulator .tabulator-header .tabulator-col:hover {
2169
- background-color: var(--header-hover-background-color);
2170
- }
2171
- }
2172
-
2173
- .tabulator
2174
- .tabulator-header
2175
- .tabulator-col.tabulator-sortable[aria-sort='none']
2176
- .tabulator-col-content
2177
- .tabulator-col-sorter {
2178
- color: var(--cx-color-neutral-200);
2179
- }
2180
-
2181
- @media (hover: hover) and (pointer: fine) {
2182
- .tabulator
2183
- .tabulator-header
2184
- .tabulator-col.tabulator-sortable[aria-sort='none']
2185
- .tabulator-col-content
2186
- .tabulator-col-sorter.tabulator-col-sorter-element
2187
- .tabulator-arrow:hover {
2188
- cursor: pointer;
2189
- border-bottom: 6px solid var(--cx-color-neutral-500);
2190
- }
2191
- }
2192
-
2193
- .tabulator
2194
- .tabulator-header
2195
- .tabulator-col.tabulator-sortable[aria-sort='none']
2196
- .tabulator-col-content
2197
- .tabulator-col-sorter
2198
- .tabulator-arrow {
2199
- border-top: none;
2200
- border-bottom: 6px solid var(--cx-color-neutral-200);
2201
- }
2202
-
2203
- .tabulator
2204
- .tabulator-header
2205
- .tabulator-col.tabulator-sortable[aria-sort='ascending']
2206
- .tabulator-col-content
2207
- .tabulator-col-sorter {
2208
- color: var(--cx-color-neutral-600);
2209
- }
2210
-
2211
- @media (hover: hover) and (pointer: fine) {
2212
- .tabulator
2213
- .tabulator-header
2214
- .tabulator-col.tabulator-sortable[aria-sort='ascending']
2215
- .tabulator-col-content
2216
- .tabulator-col-sorter.tabulator-col-sorter-element
2217
- .tabulator-arrow:hover {
2218
- cursor: pointer;
2219
- border-bottom: 6px solid var(--cx-color-neutral-500);
2220
- }
2221
- }
2222
-
2223
- .tabulator
2224
- .tabulator-header
2225
- .tabulator-col.tabulator-sortable[aria-sort='ascending']
2226
- .tabulator-col-content
2227
- .tabulator-col-sorter
2228
- .tabulator-arrow {
2229
- border-top: none;
2230
- border-bottom: 6px solid var(--cx-color-neutral-600);
2231
- }
2232
-
2233
- .tabulator
2234
- .tabulator-header
2235
- .tabulator-col.tabulator-sortable[aria-sort='descending']
2236
- .tabulator-col-content
2237
- .tabulator-col-sorter {
2238
- color: var(--cx-color-neutral-600);
2239
- }
2240
-
2241
- @media (hover: hover) and (pointer: fine) {
2242
- .tabulator
2243
- .tabulator-header
2244
- .tabulator-col.tabulator-sortable[aria-sort='descending']
2245
- .tabulator-col-content
2246
- .tabulator-col-sorter.tabulator-col-sorter-element
2247
- .tabulator-arrow:hover {
2248
- cursor: pointer;
2249
- border-top: 6px solid var(--cx-color-neutral-500);
2250
- }
2251
- }
2252
-
2253
- .tabulator
2254
- .tabulator-header
2255
- .tabulator-col.tabulator-sortable[aria-sort='descending']
2256
- .tabulator-col-content
2257
- .tabulator-col-sorter
2258
- .tabulator-arrow {
2259
- border-bottom: none;
2260
- border-top: 6px solid var(--cx-color-neutral-600);
2261
- color: var(--cx-color-neutral-600);
2262
- }
2263
-
2264
- .tabulator
2265
- .tabulator-header
2266
- .tabulator-col.tabulator-col-vertical
2267
- .tabulator-col-content
2268
- .tabulator-col-title {
2269
- writing-mode: vertical-rl;
2270
- text-orientation: mixed;
2271
- display: flex;
2272
- align-items: center;
2273
- justify-content: center;
2274
- }
2275
-
2276
- .tabulator
2277
- .tabulator-header
2278
- .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip
2279
- .tabulator-col-title {
2280
- transform: rotate(180deg);
2281
- }
2282
-
2283
- .tabulator
2284
- .tabulator-header
2285
- .tabulator-col.tabulator-col-vertical.tabulator-sortable
2286
- .tabulator-col-title {
2287
- padding-right: 0;
2288
- padding-top: var(--cx-spacing-large);
2289
- }
2290
-
2291
- .tabulator
2292
- .tabulator-header
2293
- .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip
2294
- .tabulator-col-title {
2295
- padding-right: 0;
2296
- padding-bottom: var(--cx-spacing-large);
2297
- }
2298
-
2299
- .tabulator
2300
- .tabulator-header
2301
- .tabulator-col.tabulator-col-vertical.tabulator-sortable
2302
- .tabulator-col-sorter {
2303
- justify-content: center;
2304
- left: 0;
2305
- right: 0;
2306
- top: 4px;
2307
- bottom: auto;
2308
- }
2309
-
2310
- .tabulator .tabulator-header .tabulator-frozen {
2311
- position: sticky;
2312
- left: 0;
2313
- z-index: 11;
2314
- }
2315
-
2316
- .tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left {
2317
- border-right: 2px solid var(--frozen-border-color);
2318
- }
2319
-
2320
- .tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {
2321
- border-left: 2px solid var(--frozen-border-color);
2322
- }
2323
-
2324
- .tabulator .tabulator-header .tabulator-frozen-rows-holder {
2325
- display: inline-block;
2326
- border-bottom: 2px solid var(--frozen-border-color);
2327
- }
2328
-
2329
- .tabulator .tabulator-header .tabulator-frozen-rows-holder:empty {
2330
- display: none;
2331
- }
2332
- `, To = H`
2333
- :host {
2334
- --hover-menu-background-color: transparent;
2335
- }
2336
-
2337
- .tabulator-hover-menu {
2338
- position: absolute;
2339
- display: flex;
2340
- padding-left: var(--cell-horizontal-padding);
2341
- padding-right: var(--cell-horizontal-padding);
2342
- height: 100%;
2343
- align-items: center;
2344
- top: 0;
2345
- background-color: var(--hover-menu-background-color);
2346
- opacity: 0;
2347
- pointer-events: none;
2348
- z-index: 12;
2349
- }
2350
-
2351
- .tabulator:not(.tabulator-editing) .tabulator-hover-menu--active {
2352
- opacity: 1;
2353
- pointer-events: auto;
2354
- }
2355
- `, Mo = H`
2356
- .tabulator-row .tabulator-cell.tabulator-row-handle {
2357
- display: inline-flex;
2358
- align-items: center;
2359
- justify-content: center;
2360
- -moz-user-select: none;
2361
- -khtml-user-select: none;
2362
- -webkit-user-select: none;
2363
- -o-user-select: none;
2364
- }
2365
-
2366
- .tabulator-row
2367
- .tabulator-cell.tabulator-row-handle
2368
- .tabulator-row-handle-box {
2369
- width: 80%;
2370
- }
2371
-
2372
- .tabulator-row
2373
- .tabulator-cell.tabulator-row-handle
2374
- .tabulator-row-handle-box
2375
- .tabulator-row-handle-bar {
2376
- width: 100%;
2377
- height: 3px;
2378
- margin-top: var(--cx-spacing-3x-small);
2379
- background: var(--cx-color-neutral-600);
2380
- }
2381
- `, ko = H`
2382
- .tabulator .tabulator-footer .tabulator-paginator {
2383
- flex: 1;
2384
- }
2385
-
2386
- .tabulator .tabulator-footer .tabulator-paginator-pagination {
2387
- margin-left: auto;
2388
- }
2389
-
2390
- .tabulator-paginator-pagination {
2391
- --font-size: var(--cx-font-size-x-small);
2392
- --pagination-input-font-size: var(--cx-font-size-x-small);
2393
- }
2394
-
2395
- .tabulator-paginator-pagination::part(back-icon) {
2396
- --font-size: var(--cx-font-size-medium);
2397
- }
2398
-
2399
- .tabulator-paginator-pagination::part(next-icon) {
2400
- --font-size: var(--cx-font-size-medium);
2401
- }
2402
- `, Lo = H`
2403
- :host {
2404
- --placeholder-color: var(--cx-color-neutral-800);
2405
- --placeholder-font-weight: var(--cx-font-weight-regular);
2406
- --placeholder-font-size: var(--cx-font-size-small);
2407
- }
2408
-
2409
- .tabulator .tabulator-tableholder-wrapper .tabulator-placeholder {
2410
- box-sizing: border-box;
2411
- display: flex;
2412
- align-items: center;
2413
- justify-content: center;
2414
- min-width: 100%;
2415
- width: 100%;
2416
- }
2417
-
2418
- .tabulator
2419
- .tabulator-tableholder-wrapper
2420
- .tabulator-placeholder[tabulator-render-mode='virtual'] {
2421
- min-height: 100%;
2422
- }
2423
-
2424
- .tabulator
2425
- .tabulator-placeholder
2426
- .tabulator-placeholder-contents {
2427
- height: 100%;
2428
- display: flex;
2429
- align-items: center;
2430
- justify-content: center;
2431
- padding: var(--cx-spacing-small);
2432
- color: var(--placeholder-color);
2433
- font-weight: var(--placeholder-font-weight);
2434
- font-size: var(--placeholder-font-size);
2435
- white-space: normal;
2436
- }
2437
-
2438
- /*
2439
- * Before tableBuilt: show placeholder shell, hide “no data” copy (initial load).
2440
- */
2441
- .tabulator
2442
- .tabulator-tableholder-wrapper
2443
- .tabulator-placeholder.tabulator-placeholder--initializing
2444
- .tabulator-placeholder-contents {
2445
- visibility: hidden;
2446
- }
2447
-
2448
- .tabulator.tabulator-all-columns-hidden .tabulator-header {
2449
- width: 100%;
2450
- height: var(--header-height);
2451
- min-height: var(--header-height);
2452
- }
2453
-
2454
- .tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents {
2455
- width: 100%;
2456
- height: 100%;
2457
- min-height: 0;
2458
- display: flex;
2459
- flex-direction: column;
2460
- background-color: var(--header-background-color);
2461
- }
2462
-
2463
- .tabulator.tabulator-all-columns-hidden
2464
- .tabulator-header
2465
- .tabulator-header-contents::before {
2466
- box-sizing: border-box;
2467
- width: auto;
2468
- height: auto;
2469
- inset: 0;
2470
- }
2471
-
2472
- .tabulator.tabulator-all-columns-hidden
2473
- .tabulator-header
2474
- .tabulator-header-contents
2475
- .tabulator-headers {
2476
- display: flex;
2477
- flex: 1;
2478
- align-self: stretch;
2479
- width: 100%;
2480
- min-height: 0;
2481
- box-sizing: border-box;
2482
- }
2483
-
2484
- .tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper {
2485
- width: 100%;
2486
- }
2487
-
2488
- .tabulator-row.tabulator-placeholder-row {
2489
- border-left: var(--border-width) solid var(--cell-border-color);
2490
- border-right: var(--border-width) solid var(--cell-border-color);
2491
- border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
2492
- padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
2493
- }
2494
- `, Do = H`
2495
- .tabulator-toggle {
2496
- box-sizing: border-box;
2497
- display: flex;
2498
- flex-direction: row;
2499
- border: var(--border-width) solid var(--cx-color-neutral-300);
2500
- background: var(--cx-color-neutral-200);
2501
- }
2502
-
2503
- .tabulator-toggle.tabulator-toggle-on {
2504
- background: var(--cx-color-primary-700);
2505
- }
2506
-
2507
- .tabulator-toggle .tabulator-toggle-switch {
2508
- box-sizing: border-box;
2509
- border: var(--border-width) solid var(--cx-color-neutral-300);
2510
- background: var(--cx-color-neutral-0);
2511
- }
2512
-
2513
- .tabulator-popup-container {
2514
- position: absolute;
2515
- display: inline-block;
2516
- box-sizing: border-box;
2517
- background: var(--cx-color-neutral-0);
2518
- border: var(--border-width) solid var(--cx-color-neutral-400);
2519
- box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
2520
- font-size: var(--cx-font-size-small);
2521
- overflow-y: auto;
2522
- -webkit-overflow-scrolling: touch;
2523
- z-index: 10000;
2524
- }
2525
-
2526
- .tabulator-popup {
2527
- padding: var(--cx-spacing-2x-small);
2528
- border-radius: var(--cx-border-radius-small);
2529
- }
2530
-
2531
- .tabulator-tooltip {
2532
- max-width: Min(500px, 100%);
2533
- padding: var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);
2534
- border-radius: var(--cx-border-radius-small);
2535
- box-shadow: none;
2536
- font-size: var(--cx-font-size-x-small);
2537
- pointer-events: none;
2538
- }
2539
-
2540
- .tabulator-menu .tabulator-menu-item {
2541
- position: relative;
2542
- box-sizing: border-box;
2543
- padding: var(--cx-spacing-2x-small) var(--cx-spacing-small);
2544
- user-select: none;
2545
- }
2546
-
2547
- .tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled {
2548
- opacity: 0.5;
2549
- }
2550
-
2551
- @media (hover: hover) and (pointer: fine) {
2552
- .tabulator-menu
2553
- .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover {
2554
- cursor: pointer;
2555
- background: var(--cx-color-neutral-50);
2556
- }
2557
- }
2558
-
2559
- .tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu {
2560
- padding-right: var(--cx-spacing-x-large);
2561
- }
2562
-
2563
- .tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu::after {
2564
- display: inline-block;
2565
- position: absolute;
2566
- top: calc(5px + 0.4em);
2567
- right: 10px;
2568
- height: 7px;
2569
- width: 7px;
2570
- content: '';
2571
- border-width: var(--border-width) var(--border-width) 0 0;
2572
- border-style: solid;
2573
- border-color: var(--cx-color-neutral-400);
2574
- vertical-align: top;
2575
- transform: rotate(45deg);
2576
- }
2577
-
2578
- .tabulator-menu .tabulator-menu-separator {
2579
- border-top: var(--border-width) solid var(--cx-color-neutral-400);
2580
- }
2581
- `, zo = H`
2582
- .tabulator-print-fullscreen {
2583
- position: absolute;
2584
- top: 0;
2585
- bottom: 0;
2586
- left: 0;
2587
- right: 0;
2588
- z-index: 10000;
2589
- }
2590
-
2591
- body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
2592
- display: none !important;
2593
- }
2594
-
2595
- .tabulator-print-table {
2596
- border-collapse: collapse;
2597
- }
2598
-
2599
- .tabulator-print-table .tabulator-data-tree-branch {
2600
- display: inline-block;
2601
- vertical-align: middle;
2602
- height: 9px;
2603
- width: 7px;
2604
- margin-top: -9px;
2605
- margin-right: var(--cx-spacing-2x-small);
2606
- border-bottom-left-radius: 1px;
2607
- border-left: 2px solid var(--cx-color-neutral-400);
2608
- border-bottom: 2px solid var(--cx-color-neutral-400);
2609
- }
2610
-
2611
- .tabulator-print-table .tabulator-print-table-group {
2612
- box-sizing: border-box;
2613
- border-bottom: var(--border-width) solid var(--cx-color-neutral-400);
2614
- border-right: var(--border-width) solid var(--cx-color-neutral-400);
2615
- border-top: var(--border-width) solid var(--cx-color-neutral-400);
2616
- padding: var(--cx-spacing-2x-small);
2617
- padding-left: var(--cx-spacing-small);
2618
- background: var(--cx-color-neutral-300);
2619
- font-weight: bold;
2620
- min-width: 100%;
2621
- }
2622
-
2623
- @media (hover: hover) and (pointer: fine) {
2624
- .tabulator-print-table .tabulator-print-table-group:hover {
2625
- cursor: pointer;
2626
- background-color: rgba(0, 0, 0, 0.1);
2627
- }
2628
- }
2629
-
2630
- .tabulator-print-table
2631
- .tabulator-print-table-group.tabulator-group-level-1
2632
- td {
2633
- padding-left: 30px !important;
2634
- }
2635
-
2636
- .tabulator-print-table
2637
- .tabulator-print-table-group.tabulator-group-level-2
2638
- td {
2639
- padding-left: 50px !important;
2640
- }
2641
-
2642
- .tabulator-print-table
2643
- .tabulator-print-table-group.tabulator-group-level-3
2644
- td {
2645
- padding-left: 70px !important;
2646
- }
2647
-
2648
- .tabulator-print-table
2649
- .tabulator-print-table-group.tabulator-group-level-4
2650
- td {
2651
- padding-left: 90px !important;
2652
- }
2653
-
2654
- .tabulator-print-table
2655
- .tabulator-print-table-group.tabulator-group-level-5
2656
- td {
2657
- padding-left: 110px !important;
2658
- }
2659
-
2660
- .tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle {
2661
- display: inline-block;
2662
- }
2663
-
2664
- .tabulator-print-table .tabulator-print-table-group span {
2665
- margin-left: var(--cx-spacing-small);
2666
- color: var(--cx-color-danger);
2667
- }
2668
- `, Fo = H`
2669
- .tabulator .tabulator-col-resize-handle {
2670
- position: relative;
2671
- display: inline-block;
2672
- width: 6px;
2673
- margin-left: -3px;
2674
- margin-right: -3px;
2675
- z-index: 11;
2676
- vertical-align: middle;
2677
- }
2678
-
2679
- @media (hover: hover) and (pointer: fine) {
2680
- .tabulator .tabulator-col-resize-handle:hover {
2681
- cursor: ew-resize;
2682
- }
2683
- }
2684
-
2685
- .tabulator .tabulator-col-resize-handle:last-of-type {
2686
- width: 3px;
2687
- margin-right: 0;
2688
- }
2689
-
2690
- .tabulator .tabulator-col-resize-guide {
2691
- position: absolute;
2692
- top: 0;
2693
- width: 4px;
2694
- height: 100%;
2695
- margin-left: -0.5px;
2696
- background-color: var(--cx-color-neutral-400);
2697
- opacity: 0.5;
2698
- }
2699
-
2700
- .tabulator .tabulator-row-resize-guide {
2701
- position: absolute;
2702
- left: 0;
2703
- width: 100%;
2704
- height: 4px;
2705
- margin-top: -0.5px;
2706
- background-color: var(--cx-color-neutral-400);
2707
- opacity: 0.5;
2708
- }
2709
- `, Oo = H`
2710
- .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
2711
- display: inline-flex;
2712
- align-items: center;
2713
- justify-content: center;
2714
- -moz-user-select: none;
2715
- -khtml-user-select: none;
2716
- -webkit-user-select: none;
2717
- -o-user-select: none;
2718
- height: 15px;
2719
- width: 15px;
2720
- border-radius: var(--cx-border-radius-x-large);
2721
- background: var(--cx-color-neutral-600);
2722
- color: var(--cx-color-neutral-0);
2723
- font-weight: bold;
2724
- font-size: 1.1em;
2725
- }
2726
-
2727
- @media (hover: hover) and (pointer: fine) {
2728
- .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover {
2729
- opacity: 0.7;
2730
- cursor: pointer;
2731
- }
2732
- }
2733
-
2734
- .tabulator-row
2735
- .tabulator-cell
2736
- .tabulator-responsive-collapse-toggle.open
2737
- .tabulator-responsive-collapse-toggle-close {
2738
- display: initial;
2739
- }
2740
-
2741
- .tabulator-row
2742
- .tabulator-cell
2743
- .tabulator-responsive-collapse-toggle.open
2744
- .tabulator-responsive-collapse-toggle-open {
2745
- display: none;
2746
- }
2747
-
2748
- .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg {
2749
- stroke: var(--cx-color-neutral-0);
2750
- }
2751
-
2752
- .tabulator-row
2753
- .tabulator-cell
2754
- .tabulator-responsive-collapse-toggle
2755
- .tabulator-responsive-collapse-toggle-close {
2756
- display: none;
2757
- }
2758
- `, Ho = H`
2759
- .tabulator-row {
2760
- display: flex;
2761
- position: relative;
2762
- box-sizing: border-box;
2763
- min-height: 22px;
2764
- background-color: var(--row-background-color);
2765
- }
2766
-
2767
- .tabulator-row .tabulator-cell-first {
2768
- border-left: var(--border-width) solid var(--outer-border-color);
2769
- }
2770
-
2771
- .tabulator-row.tabulator-row-even {
2772
- background-color: var(--row-even-background-color);
2773
- }
2774
-
2775
- @media (hover: hover) and (pointer: fine) {
2776
- .tabulator-row.tabulator-selectable:hover {
2777
- background-color: var(--row-hover-background-color);
2778
- cursor: pointer;
2779
- }
2780
- .tabulator-row.tabulator-row-even.tabulator-selectable:hover {
2781
- background-color: var(--row-even-hover-background-color);
2782
- cursor: pointer;
2783
- }
2784
- }
2785
-
2786
- .tabulator-row.tabulator-selected {
2787
- background-color: var(--cx-color-primary-200);
2788
- }
2789
-
2790
- @media (hover: hover) and (pointer: fine) {
2791
- .tabulator-row.tabulator-selected:hover {
2792
- background-color: var(--cx-color-primary-300);
2793
- cursor: pointer;
2794
- }
2795
- }
2796
-
2797
- .tabulator-row.tabulator-row-moving {
2798
- border: var(--border-width) solid var(--cx-color-neutral-1000);
2799
- background: var(--cx-color-neutral-0);
2800
- }
2801
-
2802
- .tabulator-row.tabulator-moving {
2803
- position: absolute;
2804
- border-top: var(--border-width) solid var(--cx-color-neutral-400);
2805
- border-bottom: var(--border-width) solid var(--cx-color-neutral-400);
2806
- pointer-events: none;
2807
- z-index: 15;
2808
- }
2809
-
2810
- .tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last {
2811
- border-top-right-radius: var(--border-radius);
2812
- }
2813
-
2814
- .tabulator-row .tabulator-row-resize-handle {
2815
- position: absolute;
2816
- right: 0;
2817
- bottom: 0;
2818
- left: 0;
2819
- height: 5px;
2820
- }
2821
-
2822
- .tabulator-row .tabulator-row-resize-handle.prev {
2823
- top: 0;
2824
- bottom: auto;
2825
- }
2826
-
2827
- @media (hover: hover) and (pointer: fine) {
2828
- .tabulator-row .tabulator-row-resize-handle:hover {
2829
- cursor: ns-resize;
2830
- }
2831
- }
2832
-
2833
- .tabulator-row .tabulator-responsive-collapse {
2834
- box-sizing: border-box;
2835
- padding: var(--cx-spacing-2x-small);
2836
- border-top: var(--border-width) solid var(--cx-color-neutral-400);
2837
- border-bottom: var(--border-width) solid var(--cx-color-neutral-400);
2838
- }
2839
-
2840
- .tabulator-row .tabulator-responsive-collapse:empty {
2841
- display: none;
2842
- }
2843
-
2844
- .tabulator-row .tabulator-responsive-collapse table {
2845
- font-size: var(--cx-font-size-small);
2846
- }
2847
-
2848
- .tabulator-row .tabulator-responsive-collapse table tr td {
2849
- position: relative;
2850
- }
2851
-
2852
- .tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {
2853
- padding-right: var(--cx-spacing-small);
2854
- }
2855
-
2856
- .tabulator-row .tabulator-cell {
2857
- display: inline-flex;
2858
- vertical-align: middle;
2859
- position: relative;
2860
- box-sizing: border-box;
2861
- padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
2862
- border-right: var(--border-width) solid var(--cell-border-color);
2863
- border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
2864
- }
2865
-
2866
- @media (hover: hover) and (pointer: fine) {
2867
- .tabulator-row .tabulator-cell:hover,
2868
- .tabulator-row .tabulator-cell.tabulator-frozen:hover {
2869
- background-color: var(--cell-hover-background-color);
2870
- }
2871
- }
2872
-
2873
- .tabulator-row .tabulator-cell .tabulator-cell-content {
2874
- display: inline-flex;
2875
- align-items: center;
2876
- width: 100%;
2877
- height: 100%;
2878
- font-size: var(--cell-font-size);
2879
- font-weight: var(--cell-font-weight);
2880
- line-height: var(--cell-line-height);
2881
- }
2882
-
2883
- .tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp {
2884
- width: 100%;
2885
- max-width: max-content;
2886
- }
2887
-
2888
- .tabulator-row .tabulator-cell.tabulator-row-header {
2889
- border-right: var(--border-width) solid var(--row-header-border-color);
2890
- }
2891
-
2892
- .tabulator-row .tabulator-cell.tabulator-frozen {
2893
- display: inline-block;
2894
- position: sticky;
2895
- left: 0;
2896
- background-color: inherit;
2897
- z-index: 11;
2898
- }
2899
-
2900
- .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left {
2901
- border-right: 2px solid var(--frozen-border-color);
2902
- }
2903
-
2904
- .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right {
2905
- border-left: 2px solid var(--frozen-border-color);
2906
- }
2907
-
2908
- .tabulator-row:has(+ .tabulator-placeholder-row) .tabulator-cell {
2909
- border-bottom: none;
2910
- }
2911
-
2912
-
2913
- `, Po = H`
2914
- .tabulator.tabulator-ltr {
2915
- direction: ltr;
2916
- }
2917
-
2918
- .tabulator.tabulator-rtl {
2919
- text-align: initial;
2920
- direction: rtl;
2921
- }
2922
-
2923
- .tabulator.tabulator-rtl .tabulator-header .tabulator-col {
2924
- text-align: initial;
2925
- border-left: var(--border-width) solid var(--cx-color-neutral-400);
2926
- border-right: initial;
2927
- }
2928
-
2929
- .tabulator.tabulator-rtl
2930
- .tabulator-header
2931
- .tabulator-col.tabulator-col-group
2932
- .tabulator-col-group-cols {
2933
- margin-right: initial;
2934
- margin-left: -1px;
2935
- }
2936
-
2937
- .tabulator.tabulator-rtl
2938
- .tabulator-header
2939
- .tabulator-col.tabulator-sortable
2940
- .tabulator-col-title {
2941
- padding-right: 0;
2942
- padding-left: var(--cx-spacing-x-large);
2943
- }
2944
-
2945
- .tabulator.tabulator-rtl
2946
- .tabulator-header
2947
- .tabulator-col
2948
- .tabulator-col-content
2949
- .tabulator-col-sorter {
2950
- left: 8px;
2951
- right: initial;
2952
- }
2953
-
2954
- .tabulator.tabulator-rtl .tabulator-row .tabulator-cell {
2955
- border-right: initial;
2956
- border-left: var(--border-width) solid var(--cell-border-color);
2957
- }
2958
-
2959
- .tabulator.tabulator-rtl
2960
- .tabulator-row
2961
- .tabulator-cell
2962
- .tabulator-data-tree-branch {
2963
- margin-right: initial;
2964
- margin-left: var(--cx-spacing-2x-small);
2965
- border-bottom-left-radius: initial;
2966
- border-bottom-right-radius: 1px;
2967
- border-left: initial;
2968
- border-right: 2px solid var(--cx-color-neutral-400);
2969
- }
2970
-
2971
- .tabulator.tabulator-rtl
2972
- .tabulator-row
2973
- .tabulator-cell.tabulator-frozen.tabulator-frozen-left {
2974
- border-left: 2px solid var(--cx-color-neutral-400);
2975
- }
2976
-
2977
- .tabulator.tabulator-rtl
2978
- .tabulator-row
2979
- .tabulator-cell.tabulator-frozen.tabulator-frozen-right {
2980
- border-right: 2px solid var(--cx-color-neutral-400);
2981
- }
2982
-
2983
- .tabulator.tabulator-rtl
2984
- .tabulator-row
2985
- .tabulator-col-resize-handle:last-of-type {
2986
- width: 3px;
2987
- margin-left: 0;
2988
- margin-right: -3px;
2989
- }
2990
-
2991
- .tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder {
2992
- text-align: initial;
2993
- }
2994
- `, Ao = H`
2995
- :host {
2996
- /**
2997
- * Range overlay: active/hover cell border and single-cell fill when only one cell is selected.
2998
- */
2999
- --table-active-cell-border-color: var(--border-color);
3000
- --table-selected-cell-border-width: 1px;
3001
- --table-selected-cell-border-style: solid;
3002
- --table-selected-only-cell-background-color: transparent;
3003
- --table-selected-range-cell-background-color: var(--cx-color-neutral-100);
3004
- --table-selected-range-selection-start-cell-background-color: var(
3005
- --cx-color-neutral-50
3006
- );
3007
- --table-selected-cell-hover-background-color: var(--cx-color-neutral-50);
3008
- --table-editable-only-cell-selected-background-color: var(
3009
- --cx-color-primary-50
3010
- );
3011
- --table-editable-cell-hover-background-color: var(--cx-color-primary-50);
3012
- --table-editable-only-cell-active-border-color: var(--cx-color-primary-600);
3013
- }
3014
-
3015
- .tabulator .tabulator-tableholder .tabulator-range-overlay {
3016
- position: absolute;
3017
- inset: 0;
3018
- z-index: 10;
3019
- pointer-events: none;
3020
- }
3021
-
3022
- .tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range {
3023
- position: absolute;
3024
- box-sizing: border-box;
3025
- }
3026
-
3027
- .tabulator
3028
- .tabulator-tableholder
3029
- .tabulator-range-overlay
3030
- .tabulator-range-cell-active,
3031
- .tabulator
3032
- .tabulator-tableholder
3033
- .tabulator-range-overlay
3034
- .tabulator-range-cell-hover {
3035
- position: absolute;
3036
- box-sizing: border-box;
3037
- border-color: var(--table-active-cell-border-color);
3038
- border-style: var(--table-selected-cell-border-style);
3039
- border-width: var(--table-selected-cell-border-width);
3040
- background-color: var(--table-selected-only-cell-background-color);
3041
- }
3042
-
3043
- .tabulator-row.tabulator-range-highlight
3044
- .tabulator-cell.tabulator-range-row-header {
3045
- background-color: var(--cx-color-neutral-300);
3046
- color: var(--cx-color-neutral-1000);
3047
- }
3048
-
3049
- .tabulator-row.tabulator-range-highlight.tabulator-range-selected
3050
- .tabulator-cell.tabulator-range-row-header {
3051
- background-color: var(--cx-color-primary-500);
3052
- color: var(--cx-color-neutral-0);
3053
- }
3054
-
3055
- .tabulator-row.tabulator-range-selected
3056
- .tabulator-cell.tabulator-range-row-header {
3057
- background-color: var(--cx-color-primary-500);
3058
- color: var(--cx-color-neutral-0);
3059
- }
3060
-
3061
- .tabulator-row
3062
- .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header) {
3063
- background-color: var(--table-selected-range-cell-background-color);
3064
- }
3065
-
3066
- .tabulator-row
3067
- .tabulator-cell.tabulator-range-selection-start:not(
3068
- .tabulator-range-row-header
3069
- ) {
3070
- background-color: var(
3071
- --table-selected-range-selection-start-cell-background-color
3072
- );
3073
- }
3074
-
3075
- .tabulator-row
3076
- .tabulator-cell.tabulator-range-selected:not(
3077
- .tabulator-range-row-header
3078
- ):hover {
3079
- background-color: var(--table-selected-cell-hover-background-color);
3080
- }
3081
-
3082
- .tabulator
3083
- .tabulator-tableholder
3084
- .tabulator-range-overlay
3085
- .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active {
3086
- border-color: var(--table-editable-only-cell-active-border-color);
3087
- }
3088
-
3089
- .tabulator
3090
- .tabulator-tableholder
3091
- .tabulator-range-overlay
3092
- .tabulator-editable.tabulator-range-cell-hover {
3093
- border: var(--border-width) solid
3094
- var(--table-editable-only-cell-active-border-color);
3095
- }
3096
-
3097
- .tabulator-row .tabulator-cell.tabulator-editable:hover {
3098
- background-color: var(--table-editable-cell-hover-background-color);
3099
- }
3100
-
3101
- .tabulator-row
3102
- .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(
3103
- .tabulator-range-row-header
3104
- ) {
3105
- background-color: var(--table-editable-only-cell-selected-background-color);
3106
- }
3107
-
3108
- .tabulator-row
3109
- .tabulator-cell.tabulator-editable.tabulator-range-selected:not(
3110
- .tabulator-range-row-header
3111
- ):hover {
3112
- background-color: var(--table-editable-cell-hover-background-color);
3113
- }
3114
- `, _o = H`
3115
- .tabulator .tabulator-footer .tabulator-spreadsheet-tabs {
3116
- margin-top: -5px;
3117
- overflow-x: auto;
3118
- }
3119
-
3120
- .tabulator
3121
- .tabulator-footer
3122
- .tabulator-spreadsheet-tabs
3123
- .tabulator-spreadsheet-tab {
3124
- display: inline-block;
3125
- padding: var(--cx-spacing-2x-small);
3126
- border: solid var(--border-width) var(--border-color);
3127
- border-top: none;
3128
- border-bottom-left-radius: 5px;
3129
- border-bottom-right-radius: 5px;
3130
- font-size: 0.9em;
3131
- }
3132
-
3133
- .tabulator
3134
- .tabulator-footer
3135
- .tabulator-spreadsheet-tabs
3136
- .tabulator-spreadsheet-tab:hover {
3137
- cursor: pointer;
3138
- opacity: 0.7;
3139
- }
3140
-
3141
- .tabulator
3142
- .tabulator-footer
3143
- .tabulator-spreadsheet-tabs
3144
- .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active {
3145
- background: var(--cx-color-neutral-0);
3146
- }
3147
- `, No = [
1207
+ const bo = H`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, wo = H`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-700);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-right:var(--border-width) solid var(--outer-border-color);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, vo = H`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, yo = H`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{width:22px;display:inline-block}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-row .tabulator-cell .tabulator-data-tree-control{vertical-align:middle;flex:0 0 18px;justify-content:center;align-items:center;width:18px;display:inline-flex}`, Co = H`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, Eo = H`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, xo = H`.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}`, Ro = H`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group span{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, So = H`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:6px solid var(--cx-color-neutral-200);width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:var(--cx-spacing-x-large)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-200)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-200)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid var(--cx-color-neutral-600);color:var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, To = H`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, Mo = H`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, ko = H`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, Lo = H`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Do = H`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, zo = H`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, Fo = H`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, Oo = H`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, Ho = H`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-row.tabulator-selected{background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:hover,.tabulator-row .tabulator-cell.tabulator-frozen:hover{background-color:var(--cell-hover-background-color)}}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, Po = H`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:var(--cx-spacing-x-large)}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Ao = H`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):hover{background-color:var(--table-editable-cell-hover-background-color)}`, _o = H`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, No = [
3148
1208
  wo,
3149
1209
  So,
3150
1210
  Lo,
@@ -3409,7 +1469,7 @@ const Rs = function(a, e, t) {
3409
1469
  return a;
3410
1470
  }, Be = process.env.NODE_ENV === "development", Z = class Z extends R {
3411
1471
  constructor(e) {
3412
- super(e), this.fetchApi = fetch, this.config = {}, this.url = "", this.urlGenerator = !1, this.params = !1, this.loaderPromise = !1, this.registerTableOption("ajaxURL", !1), this.registerTableOption("ajaxURLGenerator", !1), this.registerTableOption("ajaxParams", {}), this.registerTableOption("ajaxConfig", "get"), this.registerTableOption("ajaxContentType", "form"), this.registerTableOption("ajaxRequestFunc", !1), this.registerTableOption("ajaxRequesting", () => {
1472
+ super(e), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.config = {}, this.url = "", this.urlGenerator = !1, this.params = !1, this.loaderPromise = !1, this.registerTableOption("ajaxURL", !1), this.registerTableOption("ajaxURLGenerator", !1), this.registerTableOption("ajaxParams", {}), this.registerTableOption("ajaxConfig", "get"), this.registerTableOption("ajaxContentType", "form"), this.registerTableOption("ajaxRequestFunc", !1), this.registerTableOption("ajaxRequesting", () => {
3413
1473
  }), this.registerTableOption("ajaxResponse", !1), this.contentTypeFormatters = Z.contentTypeFormatters;
3414
1474
  }
3415
1475
  // initialize setup options
@@ -3481,21 +1541,28 @@ Z.moduleName = "ajax", Z.defaultConfig = $o, Z.defaultURLGenerator = Rs, Z.conte
3481
1541
  "Ajax Error - Invalid ajaxContentType value:",
3482
1542
  this.table.options.ajaxContentType
3483
1543
  );
3484
- e ? (typeof t.headers > "u" && (t.headers = {}), typeof t.headers.Accept > "u" && (t.headers.Accept = "application/json"), typeof t.headers["X-Requested-With"] > "u" && (t.headers["X-Requested-With"] = "XMLHttpRequest"), typeof t.mode > "u" && (t.mode = "cors"), t.mode == "cors" ? typeof t.credentials > "u" && (t.credentials = "same-origin") : typeof t.credentials > "u" && (t.credentials = "include"), (this.fetchApi ?? fetch)(e, t).then((l) => {
3485
- l.ok ? l.json().then((h) => {
3486
- o(h);
3487
- }).catch((h) => {
3488
- r(h), Be && console.warn(
3489
- "Ajax Load Error - Invalid JSON returned",
3490
- h
3491
- );
3492
- }) : (Be && console.error(
3493
- "Ajax Load Error - Connection Error: " + l.status,
3494
- l.statusText
3495
- ), r(l));
3496
- }).catch((l) => {
3497
- Be && console.error("Ajax Load Error - Connection Error: ", l), r(l);
3498
- })) : (Be && console.warn("Ajax Load Error - No URL Set"), o([]));
1544
+ if (e) {
1545
+ if (typeof t.headers > "u" && (t.headers = {}), typeof t.headers.Accept > "u" && (t.headers.Accept = "application/json"), typeof t.headers["X-Requested-With"] > "u" && (t.headers["X-Requested-With"] = "XMLHttpRequest"), typeof t.mode > "u" && (t.mode = "cors"), t.mode == "cors" ? typeof t.credentials > "u" && (t.credentials = "same-origin") : typeof t.credentials > "u" && (t.credentials = "include"), !this.fetchApi) {
1546
+ r(new Error("fetch is not available"));
1547
+ return;
1548
+ }
1549
+ this.fetchApi(e, t).then((n) => {
1550
+ n.ok ? n.json().then((l) => {
1551
+ o(l);
1552
+ }).catch((l) => {
1553
+ r(l), Be && console.warn(
1554
+ "Ajax Load Error - Invalid JSON returned",
1555
+ l
1556
+ );
1557
+ }) : (Be && console.error(
1558
+ "Ajax Load Error - Connection Error: " + n.status,
1559
+ n.statusText
1560
+ ), r(n));
1561
+ }).catch((n) => {
1562
+ Be && console.error("Ajax Load Error - Connection Error: ", n), r(n);
1563
+ });
1564
+ } else
1565
+ Be && console.warn("Ajax Load Error - No URL Set"), o([]);
3499
1566
  });
3500
1567
  };
3501
1568
  let kt = Z;
@@ -5353,22 +3420,9 @@ class Ft extends V {
5353
3420
  this.element?.parentNode && this.element.parentNode.removeChild(this.element);
5354
3421
  }
5355
3422
  }
5356
- const ar = x`<span
5357
- class="tabulator-data-tree-control"
5358
- tabindex="0"
5359
- >
5360
- <cx-icon-button name="keyboard_arrow_down"></cx-icon-button>
5361
- </span>`, lr = x`<span
5362
- class="tabulator-data-tree-control"
5363
- tabindex="0"
5364
- >
5365
- <cx-icon-button name="keyboard_arrow_right"></cx-icon-button>
5366
- </span>`, hr = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, cr = x`<div class="tabulator-data-tree-branch"></div>`, dr = x`<div class="tabulator-data-tree-branch-empty"></div>`, ur = x`
5367
- <cx-button size="small">
5368
- <cx-icon slot="prefix" name="add" variant="outlined" ></cx-icon>
3423
+ const ar = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, lr = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, hr = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, cr = x`<div class="tabulator-data-tree-branch"></div>`, dr = x`<div class="tabulator-data-tree-branch-empty"></div>`, ur = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
5369
3424
  Load More
5370
- </cx-button>
5371
- `, pr = x`<div class="tabulator-data-tree-loading">Loading...</div>`, fr = process.env.NODE_ENV === "development", bt = 18, Ti = class Ti extends R {
3425
+ </cx-button>`, pr = x`<div class="tabulator-data-tree-loading">Loading...</div>`, fr = process.env.NODE_ENV === "development", bt = 18, Ti = class Ti extends R {
5372
3426
  constructor(e) {
5373
3427
  super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
5374
3428
  return !1;
@@ -6385,9 +4439,7 @@ function Nr(a, e, t) {
6385
4439
  function Vr(a) {
6386
4440
  return !a || typeof a != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(a.trim());
6387
4441
  }
6388
- const Ir = x`<span
6389
- style="display: inline-flex; align-items: center;"
6390
- ></span>`;
4442
+ const Ir = x`<span style="display: inline-flex; align-items: center;"></span>`;
6391
4443
  function Br({
6392
4444
  spacing: a,
6393
4445
  style: e
@@ -6451,12 +4503,7 @@ function jr(a, e, t) {
6451
4503
  });
6452
4504
  if (es(r) && !n && e.placeholder !== void 0)
6453
4505
  return Wr.call(this, a, e, t);
6454
- const h = a.getRow(), { align: c, containerStyle: d, direction: p, gap: u } = e, f = x`<cx-space
6455
- style=${ke(d ?? {})}
6456
- align-items=${c ?? "center"}
6457
- direction=${be(p)}
6458
- spacing=${u ?? "3x-small"}
6459
- ></cx-space>`, w = T(f), y = [];
4506
+ const h = a.getRow(), { align: c, containerStyle: d, direction: p, gap: u } = e, f = x`<cx-space style=${ke(d ?? {})} align-items=${c ?? "center"} direction=${be(p)} spacing=${u ?? "3x-small"}></cx-space>`, w = T(f), y = [];
6460
4507
  return e.elements.forEach((C) => {
6461
4508
  let E = ts({
6462
4509
  cell: a,
@@ -6563,11 +4610,7 @@ function Qr(a, e) {
6563
4610
  }
6564
4611
  return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
6565
4612
  }
6566
- const Zr = x`<div
6567
- style="display: flex; align-items: center; justify-content: center;"
6568
- >
6569
- <img style="max-width: 100%; max-height: 100%; object-fit: cover;" />
6570
- </div>`;
4613
+ const Zr = x`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
6571
4614
  function en(a, e) {
6572
4615
  let t = a.getValue();
6573
4616
  if (!t)
@@ -6692,9 +4735,7 @@ function dn(a, e) {
6692
4735
  let t = pt(S(a.getValue()));
6693
4736
  const i = e ?? {};
6694
4737
  i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
6695
- const s = x`<cx-line-clamp lines="1">
6696
- <span style=${ke(i.style ?? {})}>${t}</span>
6697
- </cx-line-clamp>`;
4738
+ const s = x`<cx-line-clamp lines="1"><span style=${ke(i.style ?? {})}>${t}</span></cx-line-clamp>`;
6698
4739
  return T(s);
6699
4740
  }
6700
4741
  function un(a, e = {}, t) {
@@ -6844,17 +4885,7 @@ function Cn(a) {
6844
4885
  }
6845
4886
  function En(a, e) {
6846
4887
  const t = yn(e ?? {}, a), i = vn(a.getValue()), s = Cn(t);
6847
- return T(x`
6848
- <cx-format-time
6849
- .duration=${i}
6850
- display-style=${be(t.displayStyle)}
6851
- input-unit=${be(t.inputUnit)}
6852
- locale=${be(t.locale)}
6853
- placeholder=${be(t.placeholder)}
6854
- units-format=${be(t.unitsFormat)}
6855
- style=${ke(s)}
6856
- ></cx-format-time>
6857
- `);
4888
+ return T(x`<cx-format-time .duration=${i} display-style=${be(t.displayStyle)} input-unit=${be(t.inputUnit)} locale=${be(t.locale)} placeholder=${be(t.placeholder)} units-format=${be(t.unitsFormat)} style=${ke(s)}></cx-format-time>`);
6858
4889
  }
6859
4890
  function xn(a, e, t) {
6860
4891
  const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
@@ -6874,10 +4905,7 @@ function xn(a, e, t) {
6874
4905
  const c = document.createElement("div");
6875
4906
  return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
6876
4907
  }
6877
- const Rn = x`<span class="tabulator-traffic-light-container">
6878
- <span class="tabulator-traffic-light"></span>
6879
- <span class="tabulator-traffic-light-text"></span>
6880
- </span>`;
4908
+ const Rn = x`<span class="tabulator-traffic-light-container"><span class="tabulator-traffic-light"></span><span class="tabulator-traffic-light-text"></span></span>`;
6881
4909
  function Sn(a, e, t, i) {
6882
4910
  const s = a.getValue();
6883
4911
  if (s == null || s === "")
@@ -6901,9 +4929,7 @@ function Tn(a, e) {
6901
4929
  const i = e ?? {};
6902
4930
  let s;
6903
4931
  i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= Js.Body1;
6904
- const o = x` <cx-line-clamp lines="1">
6905
- <cx-typography style=${ke(i.style ?? {})}></cx-typography>
6906
- </cx-line-clamp>`, r = T(o), n = r.querySelector(
4932
+ const o = x`<cx-line-clamp lines="1"><cx-typography style=${ke(i.style ?? {})}></cx-typography></cx-line-clamp>`, r = T(o), n = r.querySelector(
6907
4933
  "cx-typography"
6908
4934
  );
6909
4935
  n.variant = s;
@@ -7045,10 +5071,10 @@ const fe = class fe extends R {
7045
5071
  };
7046
5072
  fe.moduleName = "format", fe.formatters = Ls;
7047
5073
  let ot = fe;
7048
- const ie = process.env.NODE_ENV === "development", Mn = x` <cx-option></cx-option>`, kn = x` <cx-divider></cx-divider>`;
5074
+ const ie = process.env.NODE_ENV === "development", Mn = x`<cx-option></cx-option>`, kn = x`<cx-divider></cx-divider>`;
7049
5075
  class Ln {
7050
5076
  constructor(e, t, i, s, o, r) {
7051
- this._itemsMap = /* @__PURE__ */ new Map(), this.fetchApi = fetch, this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
5077
+ this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValue = void 0, this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
7052
5078
  cancel: o,
7053
5079
  success: s
7054
5080
  }, this._initializeValue(), i(this._onRendered.bind(this)), this.clickStop = this.clickStop.bind(this);
@@ -7064,7 +5090,10 @@ class Ln {
7064
5090
  let e = this.cell.getValue();
7065
5091
  await this.rebuildOptionsList();
7066
5092
  const { defaultValue: t } = this.params;
7067
- e == null && t !== void 0 && t !== null && (e = t), e == null ? (this.initialValues = [], this.input.value = []) : (this.initialValues = [this.sanitizeValue(e)], this.input.value = this.initialValues), this.isHeaderFilter && this.headerFilterInitialListGen();
5093
+ e == null && t != null && (e = t), this.initialValue = e, e == null ? (this.initialValues = [], this.input.value = []) : (this.initialValues = this._getSanitizedInitialValues(e), this.input.value = this.initialValues), this.input.handleValueChange(), this.isHeaderFilter && this.headerFilterInitialListGen();
5094
+ }
5095
+ _getSanitizedInitialValues(e) {
5096
+ return (Array.isArray(e) ? e : [e]).map((i) => this.sanitizeValue(i));
7068
5097
  }
7069
5098
  async _onRendered() {
7070
5099
  await this.input.updateComplete;
@@ -7111,16 +5140,16 @@ class Ln {
7111
5140
  return typeof e == "string" ? t = qs(e) : t = e, t && (t.slot = "prefix"), t;
7112
5141
  }
7113
5142
  _createSelectElement() {
7114
- const { autocomplete: e, clearable: t, freeWidth: i, placeholder: s } = this.params, o = x`
7115
- <cx-select
7116
- style="width: 100%; margin: auto;"
7117
- hoist
7118
- ?clearable=${t}
7119
- ?free-width=${i ?? !1}
7120
- placeholder=${be(s)}
7121
- ></cx-select>
7122
- `, r = T(o), n = this.createPrefixElement();
7123
- return n && r.prepend(n), e || (r.style.cursor = "default", r.style.caretColor = "transparent"), this._bindInputEvents(r), r;
5143
+ const {
5144
+ autocomplete: e,
5145
+ clearable: t,
5146
+ fallbackOptionValue: i,
5147
+ freeWidth: s,
5148
+ placeholder: o
5149
+ } = this.params, r = x`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${s ?? !1} placeholder=${be(o)}></cx-select>`, n = T(r);
5150
+ i && (n.fallbackOptionValue = this.sanitizeValue(i));
5151
+ const l = this.createPrefixElement();
5152
+ return l && n.prepend(l), e || (n.style.cursor = "default", n.style.caretColor = "transparent"), this._bindInputEvents(n), n;
7124
5153
  }
7125
5154
  _initializeParams(e) {
7126
5155
  const t = /* @__PURE__ */ new Set(["values", "valuesURL", "valuesLookup"]);
@@ -7207,6 +5236,8 @@ class Ln {
7207
5236
  e = Rs(e, {}, o);
7208
5237
  let r = [];
7209
5238
  try {
5239
+ if (!this.fetchApi)
5240
+ throw new Error("fetch is not available");
7210
5241
  const n = await this.fetchApi(e);
7211
5242
  if (!n.ok)
7212
5243
  return ie && console.error(
@@ -7257,10 +5288,36 @@ class Ln {
7257
5288
  });
7258
5289
  const r = this._parseListItem(o, 0);
7259
5290
  t.push(r);
7260
- });
5291
+ }), this._appendFallbackOptionItem(t);
7261
5292
  const { freetext: s } = this.params;
7262
5293
  return s && (this.input.value = Array.isArray(this.initialValues) ? this.initialValues.join(",") : String(this.initialValues || ""), this.typing = !0, this.lastAction = "typing"), this.data = t, this._rebuildItemsMap(), t;
7263
5294
  }
5295
+ /**
5296
+ * Appends a fallback option when `fallbackOptionValue` is configured
5297
+ * and not explicitly declared in the list values.
5298
+ */
5299
+ _appendFallbackOptionItem(e) {
5300
+ const { fallbackOptionLabel: t = "Custom", fallbackOptionValue: i } = this.params;
5301
+ if (!i)
5302
+ return;
5303
+ const s = this.sanitizeValue(i);
5304
+ this._hasListItemValue(e, s) || e.push(
5305
+ this._parseListItem(
5306
+ {
5307
+ label: t,
5308
+ value: i
5309
+ },
5310
+ 0
5311
+ )
5312
+ );
5313
+ }
5314
+ /**
5315
+ * Checks recursively whether grouped/flat list items already contain
5316
+ * a given sanitized option value.
5317
+ */
5318
+ _hasListItemValue(e, t) {
5319
+ return e.some((i) => i.group && i.options ? this._hasListItemValue(i.options, t) : i.sanitizedValue === t);
5320
+ }
7264
5321
  _parseListItem(e, t) {
7265
5322
  let i;
7266
5323
  return e.options ? i = this._parseListGroup(e, t + 1) : (i = {
@@ -7424,12 +5481,67 @@ class Ln {
7424
5481
  if (!s.length)
7425
5482
  return t ? i : this.input.value;
7426
5483
  if (this.input.multiple)
7427
- return s.map((n) => {
7428
- const l = this.input.getOptionValue(n), h = this._itemsMap.get(l);
7429
- return h ? h.value : l;
7430
- });
7431
- const o = this.input.getOptionValue(s[0]), r = this._itemsMap.get(o);
7432
- return r ? r.value : t && o === "" ? i : o;
5484
+ return this._getCommittedMultipleOutput(s);
5485
+ const o = this.input.getOptionValue(s[0]);
5486
+ if (this._hasPreservedFallbackOptionOutput(o))
5487
+ return this.initialValue;
5488
+ const r = this._getMappedOptionOutput(o);
5489
+ return t && r === "" ? i : r;
5490
+ }
5491
+ /**
5492
+ * Resolves the selected values once so preserved fallback arrays are not
5493
+ * inserted into a single selected-option slot.
5494
+ */
5495
+ _getCommittedMultipleOutput(e) {
5496
+ const t = e.map((s) => this.input.getOptionValue(s)), i = this._getPreservedFallbackMultipleOutput(t);
5497
+ return i.hasValue ? i.value : t.map(
5498
+ (s) => this._getMappedOptionOutput(s)
5499
+ );
5500
+ }
5501
+ _getMappedOptionOutput(e) {
5502
+ const t = this._itemsMap.get(e);
5503
+ return t ? t.value : e;
5504
+ }
5505
+ _getPreservedInputValueOutput(e) {
5506
+ const t = this._itemsMap.get(this.sanitizeValue(e));
5507
+ return t ? t.value : e;
5508
+ }
5509
+ _getPreservedFallbackMultipleOutput(e) {
5510
+ const { fallbackOptionValue: t } = this.params;
5511
+ if (!t)
5512
+ return { hasValue: !1 };
5513
+ const i = this.sanitizeValue(t);
5514
+ if (!e.includes(
5515
+ i
5516
+ ))
5517
+ return { hasValue: !1 };
5518
+ const o = Array.isArray(this.input.value) ? this.input.value : [this.input.value];
5519
+ return this._hasPreservedUnmatchedInputValue(
5520
+ o,
5521
+ i
5522
+ ) ? {
5523
+ hasValue: !0,
5524
+ value: o.map(
5525
+ (r) => this._getPreservedInputValueOutput(r)
5526
+ )
5527
+ } : { hasValue: !1 };
5528
+ }
5529
+ /**
5530
+ * Checks for a preserved unmatched editor value when the selected option is
5531
+ * the configured fallback option used for undeclared values.
5532
+ */
5533
+ _hasPreservedFallbackOptionOutput(e) {
5534
+ const { fallbackOptionValue: t } = this.params;
5535
+ if (!t || e !== this.sanitizeValue(t))
5536
+ return !1;
5537
+ const i = Array.isArray(this.input.value) ? this.input.value : [this.input.value];
5538
+ return this._hasPreservedUnmatchedInputValue(i, e);
5539
+ }
5540
+ _hasPreservedUnmatchedInputValue(e, t) {
5541
+ return e.some((i) => {
5542
+ const s = String(i);
5543
+ return s !== "" && s !== t && !this._itemsMap.has(s);
5544
+ });
7433
5545
  }
7434
5546
  _resolveValue(e) {
7435
5547
  const t = e === void 0 ? this._getCommittedOutput() : e.value;
@@ -7809,20 +5921,7 @@ const Dn = function(a, e, t, i, s) {
7809
5921
  textarea: Pn,
7810
5922
  tickCross: An,
7811
5923
  time: Nn
7812
- }, Ze = process.env.NODE_ENV === "development", Ds = "tabulator-edit-list-trigger", In = "tabulator-edit-list-trigger-caret", Bn = x`
7813
- <button
7814
- aria-label="Open list editor"
7815
- class=${Ds}
7816
- tabindex="-1"
7817
- type="button"
7818
- >
7819
- <cx-icon
7820
- aria-hidden="true"
7821
- class=${In}
7822
- name="arrow_drop_down"
7823
- ></cx-icon>
7824
- </button>
7825
- `, $e = class $e extends R {
5924
+ }, Ze = process.env.NODE_ENV === "development", Ds = "tabulator-edit-list-trigger", In = "tabulator-edit-list-trigger-caret", Bn = x`<button aria-label="Open list editor" class=${Ds} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${In} name="arrow_drop_down"></cx-icon></button>`, $e = class $e extends R {
7826
5925
  constructor(e) {
7827
5926
  super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = $e.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
7828
5927
  "editorEmptyValueFunc",
@@ -9585,15 +7684,9 @@ const os = process.env.NODE_ENV === "development", ki = class ki extends R {
9585
7684
  };
9586
7685
  ki.moduleName = "frozenRows";
9587
7686
  let Vt = ki;
9588
- const Kn = process.env.NODE_ENV === "development", Xn = x`<cx-icon-button
9589
- class="tabulator-group-toggle"
9590
- name="keyboard_arrow_down"
9591
- ></cx-icon-button>`, Jn = x`<div class="tabulator-group-level-indent"></div>`, qn = x`
9592
- <cx-button size="small">
9593
- <cx-icon slot="prefix" name="add" variant="outlined" ></cx-icon>
7687
+ const Kn = process.env.NODE_ENV === "development", Xn = x`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, Jn = x`<div class="tabulator-group-level-indent"></div>`, qn = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
9594
7688
  Load More
9595
- </cx-button>
9596
- `, Yn = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
7689
+ </cx-button>`, Yn = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
9597
7690
  class ze {
9598
7691
  constructor(e, t, i, s, o, r, n) {
9599
7692
  this._loadMoreRow = !1, this._loadMoreStateKey = "", this.groupManager = e, this.parent = t, this.key = s, this.level = i, this.field = o, this.hasSubGroups = e.groupIDLookups !== !1 && i < e.groupIDLookups.length - 1, this.addRow = this.hasSubGroups ? this._addRowToGroup : this._addRow, this.type = "group", this.old = n, this.rows = [], this.groups = {}, this.groupList = [], this.generator = r, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = n ? n.visible : e.startOpen[i] === void 0 || e.startOpen[i] === null ? e.startOpen[0] : e.startOpen[i], this.component = null, this.createElements(), this.addBindings(), this.createValueGroups();
@@ -11972,11 +10065,7 @@ const Hi = class Hi extends R {
11972
10065
  this.refreshData(!0, "all");
11973
10066
  }
11974
10067
  createElements() {
11975
- const e = x`<cx-pagination
11976
- back-icon-name="arrow_backward"
11977
- next-icon-name="arrow_forward"
11978
- icon-button-size="small"
11979
- ></cx-pagination>`, t = x`<div slot="pagination" class="tabulator-paginator"></div>`;
10068
+ const e = x`<cx-pagination back-icon-name="arrow_backward" next-icon-name="arrow_forward" icon-button-size="small"></cx-pagination>`, t = x`<div slot="pagination" class="tabulator-paginator"></div>`;
11980
10069
  this.element = T(t), this.paginationElement = T(e), this.table.options.paginationShowFirst && this.paginationElement.setAttribute("show-first", ""), this.table.options.paginationShowLast && this.paginationElement.setAttribute("show-last", ""), this.table.options.showPaginationButtons && (this.paginationElement.setAttribute("show-pagination-buttons", ""), this.paginationElement.setAttribute(
11981
10070
  "pagination-button-count",
11982
10071
  this.count.toString()
@@ -18897,43 +16986,13 @@ let m = class extends Ne {
18897
16986
  this.filterController.setSourceFilters(`dropdown:${e}`, t.filter ? [t.filter] : []);
18898
16987
  }
18899
16988
  render() {
18900
- return x` <cx-space
18901
- part="base"
18902
- direction="vertical"
18903
- spacing="large"
18904
- wrap="nowrap"
18905
- class=${Gs({
16989
+ return x`<cx-space part="base" direction="vertical" spacing="large" wrap="nowrap" class=${Gs({
18906
16990
  container: !0,
18907
16991
  "container--overlay-scrollbar": this.useOverlayScrollbar
18908
- })}
18909
- >
18910
- ${U(
16992
+ })}>${U(
18911
16993
  this.showTableToolbar,
18912
- () => x`<cx-table-toolbar
18913
- label=${this.label}
18914
- ?can-search=${this.canSearch}
18915
- search-value=${this.searchValue}
18916
- ?can-add=${this.canAdd}
18917
- add-label=${this.addLabel}
18918
- ?can-export-csv=${this.canExportCsv}
18919
- ?can-export-xml=${this.canExportXml}
18920
- ?can-export-custom=${this.canExportCustom}
18921
- ?can-save-report=${this.canSaveReport}
18922
- ?show-saved-search=${this.showSavedSearch}
18923
- ?no-advanced-search=${this.noAdvancedSearch}
18924
- .dropdownFilters=${this.dropdownFilters}
18925
- saved-search-url=${this.savedSearchURL}
18926
- .savedSearchItems=${this.savedSearchItems}
18927
- saved-search-page-size-param=${this.savedSearchPageSizeParam}
18928
- saved-search-page-size=${this.savedSearchPageSize}
18929
- saved-search-page-number-param=${this.savedSearchPageNumberParam}
18930
- @cx-search=${this.handleSearch}
18931
- @cx-table-export=${this.handleTableExport}
18932
- @cx-table-dropdown-filter-change=${this.handleDropdownFilterChange}
18933
- ></cx-table-toolbar>`
18934
- )}
18935
- <div part="table" class="table"></div>
18936
- </cx-space>`;
16994
+ () => x`<cx-table-toolbar label=${this.label} ?can-search=${this.canSearch} search-value=${this.searchValue} ?can-add=${this.canAdd} add-label=${this.addLabel} ?can-export-csv=${this.canExportCsv} ?can-export-xml=${this.canExportXml} ?can-export-custom=${this.canExportCustom} ?can-save-report=${this.canSaveReport} ?show-saved-search=${this.showSavedSearch} ?no-advanced-search=${this.noAdvancedSearch} .dropdownFilters=${this.dropdownFilters} saved-search-url=${this.savedSearchURL} .savedSearchItems=${this.savedSearchItems} saved-search-page-size-param=${this.savedSearchPageSizeParam} saved-search-page-size=${this.savedSearchPageSize} saved-search-page-number-param=${this.savedSearchPageNumberParam} @cx-search=${this.handleSearch} @cx-table-export=${this.handleTableExport} @cx-table-dropdown-filter-change=${this.handleDropdownFilterChange}></cx-table-toolbar>`
16995
+ )}<div part="table" class="table"></div></cx-space>`;
18937
16996
  }
18938
16997
  };
18939
16998
  bi = /* @__PURE__ */ new WeakSet();