@orangelogic/design-system 4.56.0 → 4.57.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 (103) hide show
  1. package/library/chunks/{array-line-clamp.sxTWf9Iz.js → array-line-clamp.9myPWg1y.js} +2 -2
  2. package/library/chunks/{asset-link-format.b1PRwN5q.js → asset-link-format.DFFHzlDh.js} +200 -197
  3. package/library/chunks/{bicolor-picker.BEs23Gs0.js → bicolor-picker.DZY5PP24.js} +1 -1
  4. package/library/chunks/{block-width.C-Etq9nn.js → block-width.BPsewZ8l.js} +49 -49
  5. package/library/chunks/{border-input-group.dw1516Kf.js → border-input-group.BymzNWba.js} +1 -1
  6. package/library/chunks/{browser.Ct4pHP9I.js → browser.gIznFIix.js} +4 -1
  7. package/library/chunks/{color-picker.D38VZ1JB.js → color-picker.Ch5-Ylm8.js} +4 -4
  8. package/library/chunks/{color-swatch-group.D4cJJmvA.js → color-swatch-group.Bcw5aIqG.js} +404 -401
  9. package/library/chunks/{color-swatch.PNkiDQx5.js → color-swatch.DZG975M_.js} +2 -2
  10. package/library/chunks/{config-manager.DncPuD4f.js → config-manager.IMu4B2T8.js} +21 -21
  11. package/library/chunks/{configs-controller.0FoXQnJn.js → configs-controller.uTcM4iX4.js} +11 -11
  12. package/library/chunks/{confirm-popover.BHKVBESN.js → confirm-popover.DUrgLQjC.js} +2 -2
  13. package/library/chunks/{copy-button.CQO3gEFh.js → copy-button.CqqKJEh3.js} +1 -1
  14. package/library/chunks/{corner-position-input-group.BzYJD8zG.js → corner-position-input-group.mrOiz-0k.js} +1 -1
  15. package/library/chunks/{dialog.QENKQ3wO.js → dialog.BcCTa8Bd.js} +1 -1
  16. package/library/chunks/{document-viewer.CSSI__TI.js → document-viewer.Ch5h5Wte.js} +7 -7
  17. package/library/chunks/{dot-pagination.8huF7K9E.js → dot-pagination.C1C6NG8d.js} +1 -1
  18. package/library/chunks/{dropdown.BTQ07f9L.js → dropdown.DDQXJMth.js} +2 -2
  19. package/library/chunks/{dynamic-select.BEKv0lpx.js → dynamic-select.Dwcz7UjN.js} +1 -1
  20. package/library/chunks/{file-on-demand.DNVrOUTH.js → file-on-demand.BmRBmyyq.js} +8 -8
  21. package/library/chunks/{folder-select.B16qEGcG.js → folder-select.Buoz3ioX.js} +4 -4
  22. package/library/chunks/{header.B11-tX9H.js → header.CowQINf-.js} +1 -1
  23. package/library/chunks/{image.alhsAc_i.js → image.-lgb634-.js} +1 -1
  24. package/library/chunks/{line-clamp.BYoTFCvo.js → line-clamp.SD3U021K.js} +2 -2
  25. package/library/chunks/{masonry.B8EOiLu0.js → masonry.BxNeClR6.js} +2 -2
  26. package/library/chunks/{menu-item.Z7pkEEyC.js → menu-item.CtFgeM0H.js} +1 -1
  27. package/library/chunks/{menu.Dlt4EsSJ.js → menu.BEVPnl3Y.js} +1 -1
  28. package/library/chunks/{pagination.ATa3enAG.js → pagination.DULLxssA.js} +2 -2
  29. package/library/chunks/{popup.LaRE0W3Q.js → popup.w4ZU3jI-.js} +4 -4
  30. package/library/chunks/{radio-card.BVkRnAT5.js → radio-card.BWutKj6E.js} +1 -1
  31. package/library/chunks/{range.BWrWIE6S.js → range.ObEMbygm.js} +1 -1
  32. package/library/chunks/{select.DJSXKV7u.js → select.S9rnkI_b.js} +3 -3
  33. package/library/chunks/{shadow-input-group.B_06ZQpb.js → shadow-input-group.B_W5gJ4u.js} +1 -1
  34. package/library/chunks/{share-option-list.BetSdhgh.js → share-option-list.DOaEypfQ.js} +1 -1
  35. package/library/chunks/{size-input-group.VZ4Yt8qW.js → size-input-group.DUyTc5na.js} +2 -2
  36. package/library/chunks/{src.DiLNsEca.js → src.D0Zj6Eo1.js} +26 -26
  37. package/library/chunks/{src.CgqvT9Zj.js → src.Dia365C9.js} +82 -82
  38. package/library/chunks/{step.CA3PQN8l.js → step.DoO31jfk.js} +2 -2
  39. package/library/chunks/{stepper-wizard.B72l6S-I.js → stepper-wizard.DgrCTDtq.js} +2 -2
  40. package/library/chunks/{stepper.DgoOS-k1.js → stepper.BhpFjenM.js} +1 -1
  41. package/library/chunks/{tab-group.DhX_Aowk.js → tab-group.kyiPblS9.js} +4 -4
  42. package/library/chunks/{tab.vGimW19a.js → tab.Cv-UuYM5.js} +1 -1
  43. package/library/chunks/{tag.Dr7Na8Kf.js → tag.Cq8m5pRP.js} +1 -1
  44. package/library/chunks/{tooltip.BpXJhnhh.js → tooltip.Cc02vm6M.js} +1 -1
  45. package/library/chunks/{tree.BEdI81wd.js → tree.XYIP-Ujw.js} +2 -2
  46. package/library/chunks/{typeface.CDjUSIt9.js → typeface.eo-n8r2R.js} +1 -1
  47. package/library/chunks/{video.Dbzi5Pxz.js → video.B0vHXehv.js} +3 -3
  48. package/library/components/array-line-clamp.js +1 -1
  49. package/library/components/asset-link-format.js +1 -1
  50. package/library/components/atoms.js +29 -29
  51. package/library/components/bicolor-picker.js +1 -1
  52. package/library/components/border-input-group.js +1 -1
  53. package/library/components/color-picker.js +1 -1
  54. package/library/components/color-swatch-group.js +1 -1
  55. package/library/components/color-swatch.js +1 -1
  56. package/library/components/confirm-popover.js +1 -1
  57. package/library/components/copy-button.js +1 -1
  58. package/library/components/corner-position-input-group.js +1 -1
  59. package/library/components/dialog.js +1 -1
  60. package/library/components/document-viewer.js +1 -1
  61. package/library/components/dot-pagination.js +1 -1
  62. package/library/components/dropdown.js +1 -1
  63. package/library/components/dynamic-select.js +1 -1
  64. package/library/components/file-on-demand.js +1 -1
  65. package/library/components/folder-select.js +1 -1
  66. package/library/components/header.js +1 -1
  67. package/library/components/image.js +1 -1
  68. package/library/components/line-clamp.js +1 -1
  69. package/library/components/masonry.js +1 -1
  70. package/library/components/menu-item.js +1 -1
  71. package/library/components/menu.js +1 -1
  72. package/library/components/molecules.js +13 -13
  73. package/library/components/organisms.js +3 -3
  74. package/library/components/pagination.js +1 -1
  75. package/library/components/popup.js +1 -1
  76. package/library/components/radio-card.js +1 -1
  77. package/library/components/range.js +1 -1
  78. package/library/components/select.js +1 -1
  79. package/library/components/shadow-input-group.js +1 -1
  80. package/library/components/share-option-list.js +1 -1
  81. package/library/components/size-input-group.js +1 -1
  82. package/library/components/step.js +1 -1
  83. package/library/components/stepper-wizard.js +1 -1
  84. package/library/components/stepper.js +1 -1
  85. package/library/components/tab-group.js +1 -1
  86. package/library/components/tab.js +1 -1
  87. package/library/components/tag.js +1 -1
  88. package/library/components/tooltip.js +1 -1
  89. package/library/components/tree-item.js +1 -1
  90. package/library/components/tree.js +1 -1
  91. package/library/components/typeface.js +1 -1
  92. package/library/components/types.js +13812 -13812
  93. package/library/components/video.js +1 -1
  94. package/library/package.json +1 -1
  95. package/library/packages/hybrid/video-advanced/src/react/components/VideoEditor/VideoEditor.d.ts +1 -0
  96. package/library/packages/hybrid/video-advanced/src/react/plugins/Crop/Crop.d.ts +2 -0
  97. package/library/packages/hybrid/video-advanced/src/react/utils/browser.d.ts +1 -0
  98. package/library/packages/molecules/src/multi-select/components/board/board.utils.d.ts +0 -7
  99. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +6 -1
  100. package/library/packages/utils/src/browser/browser.d.ts +1 -0
  101. package/library/packages/utils/src/video/video.d.ts +1 -0
  102. package/library/utils.js +28 -28
  103. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { c as r, d as i, n as a, r as o } from "./lit.CyJqR2kf.js";
3
3
  import { a as s, i as c, n as l, r as u, t as d } from "./cortex-element.DTrNUtdr.js";
4
4
  import { t as f } from "./query.B1yi7t71.js";
5
5
  import { t as p } from "./query-all.NK7qxEbl.js";
6
- import { t as m } from "./popup.LaRE0W3Q.js";
6
+ import { t as m } from "./popup.w4ZU3jI-.js";
7
7
  import { t as h } from "./component.styles.0xM1ZmBs.js";
8
8
  import { t as g } from "./custom-element.BEMYNDK1.js";
9
9
  import { t as _ } from "./i18n.Bjg2ubA4.js";
@@ -16,57 +16,58 @@ import { t as E } from "./when.BUskJLtZ.js";
16
16
  import { t as D } from "./icon.CeQpEaQz.js";
17
17
  import { t as O } from "./spinner.Bv06U7NJ.js";
18
18
  import { t as k } from "./style-map.DPGQIxip.js";
19
- import { t as ne } from "./debounce.Ci-xdsHE.js";
20
- import { t as A } from "./button.BjijpxeK.js";
21
- import { _ as re, d as ie, t as ae, v as j } from "./string.9yahdkB8.js";
22
- import { o as oe, s as M } from "./dom.BLHsooDR.js";
23
- import { t as N } from "./tooltip.BpXJhnhh.js";
24
- import { t as se } from "./line-clamp.BYoTFCvo.js";
25
- import { t as ce } from "./tag.Dr7Na8Kf.js";
26
- import { n as le, t as ue } from "./typography.B0mkhqTB.js";
27
- import { t as de } from "./badge.H_UuxPXn.js";
28
- import { t as fe } from "./checkbox.BdSpQlwf.js";
29
- import { t as pe } from "./repeat.CKv9FPlC.js";
30
- import { t as me } from "./dropdown.BTQ07f9L.js";
31
- import { t as he } from "./input.kTjqEyC8.js";
32
- import { t as ge } from "./menu.Dlt4EsSJ.js";
33
- import { t as _e } from "./menu-item.Z7pkEEyC.js";
34
- import { t as ve } from "./space.Dd8jezXK.js";
35
- import { t as ye } from "./unsafe-html.Cb838aX7.js";
36
- import { t as be } from "./select.DJSXKV7u.js";
37
- import { t as xe } from "./guard.Cf17k6Vx.js";
38
- import { a as Se, f as Ce, l as we, r as Te } from "./date.BL4L64Hx.js";
39
- import { O as Ee, ct as De, et as Oe, it as ke, ot as Ae, rt as je, tt as Me } from "./src.CgqvT9Zj.js";
40
- import { t as Ne } from "./details.DSgp6VAD.js";
41
- import { i as Pe, s as Fe, t as Ie } from "./dialog.QENKQ3wO.js";
42
- import { t as Le } from "./divider.CqSNZCU8.js";
43
- import { n as Re } from "./toString.r2ImdBrm.js";
44
- import { n as ze } from "./capitalize.BT_EavGy.js";
45
- import { _ as Be, c as Ve, g as He, l as Ue, v as We, y as Ge } from "./color.CIOzHtLK.js";
46
- import { f as Ke, n as qe, r as Je, t as Ye } from "./responsive.L9Csz2w2.js";
47
- import Xe from "../components/format-number.js";
48
- import { t as Ze } from "./menu-section.BzzA6L5E.js";
49
- import { n as Qe, t as $e } from "./pagination.ATa3enAG.js";
50
- import { t as et } from "./sortable.esm.BVU0_hc5.js";
51
- import { t as tt } from "./color-swatch.PNkiDQx5.js";
52
- import { t as nt } from "./debounce.DrhImrNP.js";
53
- import { c as rt, o as it, s as at, t as ot } from "./_baseIteratee.DWc2-Bvm.js";
54
- import { n as st, r as ct, t as lt } from "./_baseUniq.h_pGICPH.js";
55
- import { t as ut } from "./choose.C2vpqhLc.js";
56
- import { n as dt, t as ft } from "./_baseXor.Ca5K0ORC.js";
57
- import { n as pt, s as mt, t as ht } from "./isArrayLikeObject.Da3IzQeH.js";
58
- import { i as gt, r as _t, t as vt } from "./_flatRest.Z9CBP7ML.js";
59
- import { i as yt, l as bt, t as xt } from "./_baseClone.CnI5Vpqn.js";
19
+ import { c as ne } from "./browser.gIznFIix.js";
20
+ import { t as A } from "./debounce.Ci-xdsHE.js";
21
+ import { t as j } from "./button.BjijpxeK.js";
22
+ import { _ as re, d as ie, t as ae, v as M } from "./string.9yahdkB8.js";
23
+ import { o as oe, s as N } from "./dom.BLHsooDR.js";
24
+ import { t as se } from "./tooltip.Cc02vm6M.js";
25
+ import { t as ce } from "./line-clamp.SD3U021K.js";
26
+ import { t as le } from "./tag.Cq8m5pRP.js";
27
+ import { n as ue, t as de } from "./typography.B0mkhqTB.js";
28
+ import { t as fe } from "./badge.H_UuxPXn.js";
29
+ import { t as pe } from "./checkbox.BdSpQlwf.js";
30
+ import { t as me } from "./repeat.CKv9FPlC.js";
31
+ import { t as he } from "./dropdown.DDQXJMth.js";
32
+ import { t as ge } from "./input.kTjqEyC8.js";
33
+ import { t as _e } from "./menu.BEVPnl3Y.js";
34
+ import { t as ve } from "./menu-item.CtFgeM0H.js";
35
+ import { t as ye } from "./space.Dd8jezXK.js";
36
+ import { t as be } from "./unsafe-html.Cb838aX7.js";
37
+ import { t as xe } from "./select.S9rnkI_b.js";
38
+ import { t as Se } from "./guard.Cf17k6Vx.js";
39
+ import { a as Ce, f as we, l as Te, r as Ee } from "./date.BL4L64Hx.js";
40
+ import { at as De, it as Oe, k as ke, lt as Ae, nt as je, st as Me, tt as Ne } from "./src.Dia365C9.js";
41
+ import { t as Pe } from "./details.DSgp6VAD.js";
42
+ import { i as Fe, s as Ie, t as Le } from "./dialog.BcCTa8Bd.js";
43
+ import { t as Re } from "./divider.CqSNZCU8.js";
44
+ import { n as ze } from "./toString.r2ImdBrm.js";
45
+ import { n as Be } from "./capitalize.BT_EavGy.js";
46
+ import { _ as Ve, c as He, g as Ue, l as We, v as Ge, y as Ke } from "./color.CIOzHtLK.js";
47
+ import { f as qe, n as Je, r as Ye, t as Xe } from "./responsive.L9Csz2w2.js";
48
+ import Ze from "../components/format-number.js";
49
+ import { t as Qe } from "./menu-section.BzzA6L5E.js";
50
+ import { n as $e, t as et } from "./pagination.DULLxssA.js";
51
+ import { t as tt } from "./sortable.esm.BVU0_hc5.js";
52
+ import { t as nt } from "./color-swatch.DZG975M_.js";
53
+ import { t as rt } from "./debounce.DrhImrNP.js";
54
+ import { c as it, o as at, s as ot, t as st } from "./_baseIteratee.DWc2-Bvm.js";
55
+ import { n as ct, r as lt, t as ut } from "./_baseUniq.h_pGICPH.js";
56
+ import { t as dt } from "./choose.C2vpqhLc.js";
57
+ import { n as ft, t as pt } from "./_baseXor.Ca5K0ORC.js";
58
+ import { n as mt, s as ht, t as gt } from "./isArrayLikeObject.Da3IzQeH.js";
59
+ import { i as _t, r as vt, t as yt } from "./_flatRest.Z9CBP7ML.js";
60
+ import { i as bt, l as xt, t as St } from "./_baseClone.CnI5Vpqn.js";
60
61
  //#region ../../packages/types/src/faceted-filter.ts
61
- var St = /* @__PURE__ */ function(e) {
62
+ var Ct = /* @__PURE__ */ function(e) {
62
63
  return e.Multiple = "multiple", e.Single = "single", e;
63
- }({}), Ct = /* @__PURE__ */ function(e) {
64
- return e.Checkbox = "checkbox", e.DatePicker = "date-picker", e.DateRange = "date-range", e;
65
64
  }({}), wt = /* @__PURE__ */ function(e) {
66
- return e.Checkbox = "checkbox", e.DatePicker = "datePicker", e.DateRangePicker = "dateRangePicker", e;
65
+ return e.Checkbox = "checkbox", e.DatePicker = "date-picker", e.DateRange = "date-range", e;
67
66
  }({}), Tt = /* @__PURE__ */ function(e) {
67
+ return e.Checkbox = "checkbox", e.DatePicker = "datePicker", e.DateRangePicker = "dateRangePicker", e;
68
+ }({}), Et = /* @__PURE__ */ function(e) {
68
69
  return e.ShowPreset = "showPreset", e.ShowTime = "showTime", e;
69
- }({}), Et = class {
70
+ }({}), Dt = class {
70
71
  #e;
71
72
  #t;
72
73
  #n = /* @__PURE__ */ new Set();
@@ -129,38 +130,38 @@ var St = /* @__PURE__ */ function(e) {
129
130
  };
130
131
  //#endregion
131
132
  //#region ../../packages/molecules/src/faceted-filter/facet-adapters.ts
132
- function Dt(e, t) {
133
+ function Ot(e, t) {
133
134
  return r`<cx-faceted-filter-facet display-name=${e.facetDetails.displayName} type=${e.facetDetails.facetFieldName} selection=${e.facetDetails.selection ?? t.defaultSelection} .collections=${t.selectionValues} .values=${e.values}></cx-faceted-filter-facet>`;
134
135
  }
135
- function Ot(e, t) {
136
+ function kt(e, t) {
136
137
  let n = e.facetDetails;
137
- return r`<cx-facet-date-picker field=${n.facetFieldName} display-name=${n.displayName} display-format=${T(n.displayFormat)} value=${t.dateRange?.fromDate ?? ""} from-time=${t.dateRange?.fromTime ?? Te} min=${n.min ?? ""} max=${n.max ?? ""} ?show-time=${n.showTime ?? !1}></cx-facet-date-picker>`;
138
+ return r`<cx-facet-date-picker field=${n.facetFieldName} display-name=${n.displayName} display-format=${T(n.displayFormat)} value=${t.dateRange?.fromDate ?? ""} from-time=${t.dateRange?.fromTime ?? Ee} min=${n.min ?? ""} max=${n.max ?? ""} ?show-time=${n.showTime ?? !1}></cx-facet-date-picker>`;
138
139
  }
139
- function kt(e, t) {
140
+ function At(e, t) {
140
141
  let n = e.facetDetails;
141
- return r`<cx-facet-date-range field=${n.facetFieldName} display-name=${n.displayName} display-format=${T(n.displayFormat)} from-date=${t.dateRange?.fromDate ?? ""} to-date=${t.dateRange?.toDate ?? ""} from-time=${t.dateRange?.fromTime ?? Te} to-time=${t.dateRange?.toTime ?? "23:59:59"} preset=${t.dateRange?.preset ?? ""} min=${n.min ?? ""} max=${n.max ?? ""} ?show-time=${n.showTime ?? !1} ?show-preset=${n.showPreset ?? !1}></cx-facet-date-range>`;
142
+ return r`<cx-facet-date-range field=${n.facetFieldName} display-name=${n.displayName} display-format=${T(n.displayFormat)} from-date=${t.dateRange?.fromDate ?? ""} to-date=${t.dateRange?.toDate ?? ""} from-time=${t.dateRange?.fromTime ?? Ee} to-time=${t.dateRange?.toTime ?? "23:59:59"} preset=${t.dateRange?.preset ?? ""} min=${n.min ?? ""} max=${n.max ?? ""} ?show-time=${n.showTime ?? !1} ?show-preset=${n.showPreset ?? !1}></cx-facet-date-range>`;
142
143
  }
143
- var At = {
144
- [Ct.Checkbox]: Dt,
145
- [Ct.DatePicker]: Ot,
146
- [Ct.DateRange]: kt
147
- }, jt = i`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--header-background-color:transparent;--header-font-size:var(--cx-font-size-medium);--panel-width:min(280px, 90dvw);width:var(--panel-width);max-height:var(--panel-max-height,600px);position:relative}.panel:has(cx-facet-date-range[show-time],cx-facet-date-picker[show-time]){--panel-width:min(385px, 90dvw)}.panel__content{max-height:var(--panel-max-height,600px);flex-direction:column;display:flex}.panel__header{flex-shrink:0}.panel__body{flex:1;min-height:0;overflow-y:auto}.panel__footer{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-top:1px solid var(--cx-color-neutral-200);flex-shrink:0;display:flex}.applied-filters__summary{align-items:center;gap:var(--cx-spacing-2x-small);display:inline-flex}.applied-filters__title{font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.applied-filters__loading{align-items:center;display:inline-flex}.applied-filters{--content-padding:0 var(--cx-spacing-medium);min-width:100%;width:var(--panel-width)}.applied-filters::part(summary){flex:none}.applied-filters::part(base),cx-faceted-filter-facet::part(base){border-top-width:0;border-left-width:0;border-right-width:0}.applied-filters--empty::part(content){display:none}.faceted-filter__trigger{--font-size:var(--trigger-icon-size,var(--cx-font-size-large))}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{--font-size:var(--cx-font-size-x-small);margin-block-start:calc(-1 * var(--cx-spacing-x-small));margin-inline-end:calc(-1 * var(--cx-spacing-x-small))}.applied-filters__tags{max-width:var(--panel-width);padding-bottom:var(--cx-spacing-x-small)}.panel__clear-all-button{--cx-button-text-transform:none;padding-top:var(--cx-spacing-2x-small);padding-bottom:var(--cx-spacing-2x-small)}.panel__clear-all-button::part(label){text-decoration:underline}.panel__clear-all-button:not([disabled])::part(base):hover{color:var(--cx-color-neutral-800);background-color:#0000;border-color:#0000}cx-tag::part(remove-button){font-size:var(--cx-font-size-x-small)}cx-tag::part(remove-button__base){min-height:unset;min-width:unset;padding:var(--cx-spacing-3x-small)}`, Mt, P = class extends d {
148
- static #e = Mt = this;
144
+ var jt = {
145
+ [wt.Checkbox]: Ot,
146
+ [wt.DatePicker]: kt,
147
+ [wt.DateRange]: At
148
+ }, Mt = i`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--header-background-color:transparent;--header-font-size:var(--cx-font-size-medium);--panel-width:min(280px, 90dvw);width:var(--panel-width);max-height:var(--panel-max-height,600px);position:relative}.panel:has(cx-facet-date-range[show-time],cx-facet-date-picker[show-time]){--panel-width:min(385px, 90dvw)}.panel__content{max-height:var(--panel-max-height,600px);flex-direction:column;display:flex}.panel__header{flex-shrink:0}.panel__body{flex:1;min-height:0;overflow-y:auto}.panel__footer{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-top:1px solid var(--cx-color-neutral-200);flex-shrink:0;display:flex}.applied-filters__summary{align-items:center;gap:var(--cx-spacing-2x-small);display:inline-flex}.applied-filters__title{font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.applied-filters__loading{align-items:center;display:inline-flex}.applied-filters{--content-padding:0 var(--cx-spacing-medium);min-width:100%;width:var(--panel-width)}.applied-filters::part(summary){flex:none}.applied-filters::part(base),cx-faceted-filter-facet::part(base){border-top-width:0;border-left-width:0;border-right-width:0}.applied-filters--empty::part(content){display:none}.faceted-filter__trigger{--font-size:var(--trigger-icon-size,var(--cx-font-size-large))}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{--font-size:var(--cx-font-size-x-small);margin-block-start:calc(-1 * var(--cx-spacing-x-small));margin-inline-end:calc(-1 * var(--cx-spacing-x-small))}.applied-filters__tags{max-width:var(--panel-width);padding-bottom:var(--cx-spacing-x-small)}.panel__clear-all-button{--cx-button-text-transform:none;padding-top:var(--cx-spacing-2x-small);padding-bottom:var(--cx-spacing-2x-small)}.panel__clear-all-button::part(label){text-decoration:underline}.panel__clear-all-button:not([disabled])::part(base):hover{color:var(--cx-color-neutral-800);background-color:#0000;border-color:#0000}cx-tag::part(remove-button){font-size:var(--cx-font-size-x-small)}cx-tag::part(remove-button__base){min-height:unset;min-width:unset;padding:var(--cx-spacing-3x-small)}`, Nt, P = class extends d {
149
+ static #e = Nt = this;
149
150
  constructor(...e) {
150
- super(...e), this.localize = new _(this), this.shadowRootAutoloader = new Et(this), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = St.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
151
+ super(...e), this.localize = new _(this), this.shadowRootAutoloader = new Dt(this), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = Ct.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
151
152
  }
152
- static #t = this.styles = [h, jt];
153
+ static #t = this.styles = [h, Mt];
153
154
  static #n = this.dependencies = {
154
- "cx-badge": de,
155
- "cx-button": A,
156
- "cx-details": Ne,
157
- "cx-dropdown": me,
155
+ "cx-badge": fe,
156
+ "cx-button": j,
157
+ "cx-details": Pe,
158
+ "cx-dropdown": he,
158
159
  "cx-icon": D,
159
160
  "cx-icon-button": w,
160
- "cx-space": ve,
161
+ "cx-space": ye,
161
162
  "cx-spinner": O,
162
- "cx-tag": ce,
163
- "cx-tooltip": N
163
+ "cx-tag": le,
164
+ "cx-tooltip": se
164
165
  };
165
166
  static getDateTagKey(e, t) {
166
167
  return `${e}:${t.fromDate}${t.fromTime}${t.toDate}${t.toTime}`;
@@ -209,7 +210,7 @@ var At = {
209
210
  handleSelectionChange(e) {
210
211
  let t = e.target.type;
211
212
  if (!t) return;
212
- let n = this.getFacetSelectionMode(t) === St.Single, r = e.detail.selection;
213
+ let n = this.getFacetSelectionMode(t) === Ct.Single, r = e.detail.selection;
213
214
  if (n && r.length > 1) {
214
215
  let e = new Set(this.internalSelection[t] ?? []), n = r.find((t) => !e.has(t.dataset.value ?? ""));
215
216
  r = n ? [n] : [r[r.length - 1]];
@@ -263,36 +264,36 @@ var At = {
263
264
  }
264
265
  getDateFacetPattern(e) {
265
266
  let t = e && "displayFormat" in e ? e.displayFormat : void 0;
266
- return we(t ?? Se.DdMmYyyy);
267
+ return Te(t ?? Ce.DdMmYyyy);
267
268
  }
268
269
  formatDateRangeDisplay(e, t) {
269
270
  let n = (n, r) => {
270
- let i = Ce(n, t);
271
+ let i = we(n, t);
271
272
  return e.showTime ? `${i} ${r}` : i;
272
273
  };
273
- return e.type === Ct.DatePicker ? n(e.fromDate, e.fromTime) : `${n(e.fromDate, e.fromTime)} – ${n(e.toDate, e.toTime)}`;
274
+ return e.type === wt.DatePicker ? n(e.fromDate, e.fromTime) : `${n(e.fromDate, e.fromTime)} – ${n(e.toDate, e.toTime)}`;
274
275
  }
275
276
  renderDateTags() {
276
277
  let e = this.facetDetailsByField;
277
- return pe(Object.entries(this.internalDateRanges), ([e, t]) => Mt.getDateTagKey(e, t), ([t, n]) => {
278
+ return me(Object.entries(this.internalDateRanges), ([e, t]) => Nt.getDateTagKey(e, t), ([t, n]) => {
278
279
  let i = e.get(t), a = i?.displayName ?? t, o = this.getDateFacetPattern(i);
279
280
  return r`<cx-tag removable data-date-field=${t}>${a}: ${this.formatDateRangeDisplay(n, o)}</cx-tag>`;
280
281
  });
281
282
  }
282
283
  renderExternalFilterTags() {
283
- return pe(this.externalFilters, (e) => e.key, (e) => r`<cx-tag removable data-external-filter-key=${e.key}>${e.label}</cx-tag>`);
284
+ return me(this.externalFilters, (e) => e.key, (e) => r`<cx-tag removable data-external-filter-key=${e.key}>${e.label}</cx-tag>`);
284
285
  }
285
286
  renderSelectionCheckboxTags() {
286
- return pe(Object.entries(this.internalSelection), ([e]) => e, ([e, t]) => t.filter((t) => this.mappedDisplayNames[e]?.[t]).map((t) => r`<cx-tag removable data-value=${t} data-type=${e}>${this.mappedDisplayNames[e][t]}</cx-tag>`));
287
+ return me(Object.entries(this.internalSelection), ([e]) => e, ([e, t]) => t.filter((t) => this.mappedDisplayNames[e]?.[t]).map((t) => r`<cx-tag removable data-value=${t} data-type=${e}>${this.mappedDisplayNames[e][t]}</cx-tag>`));
287
288
  }
288
289
  renderFooter() {
289
290
  return E(this.appliedFiltersCount > 0, () => r`<div class="panel__footer"><cx-button variant="text" @click=${this.handleClearAllClick} size="small" class="panel__clear-all-button">${this.localize.term("clear")}</cx-button></div>`, () => o);
290
291
  }
291
292
  render() {
292
- return r`<cx-dropdown stay-open-on-select placement="bottom-start" distance="4" hoist @cx-selection-change=${this.handleSelectionChange} @cx-facet-change=${this.handleFacetChange} @cx-remove=${this.handleRemove}><cx-icon-button slot="trigger" name="filter_alt" label=${this.localize.term("filter")} class="faceted-filter__trigger">${E(this.appliedFiltersCount > 0, () => r`<cx-badge slot="badge" class="faceted-filter__trigger-badge" pill size="small">${this.appliedFiltersCount}</cx-badge>`, () => o)}</cx-icon-button><div class="panel"><div class="panel__content"><div class="panel__header">${this.renderAppliedFilters()}</div><div class="panel__body">${E(this.availableFacets.length > 0, () => r`<div>${pe(this.availableFacets, (e) => e.facetFieldName, (e) => {
293
+ return r`<cx-dropdown stay-open-on-select placement="bottom-start" distance="4" hoist @cx-selection-change=${this.handleSelectionChange} @cx-facet-change=${this.handleFacetChange} @cx-remove=${this.handleRemove}><cx-icon-button slot="trigger" name="filter_alt" label=${this.localize.term("filter")} class="faceted-filter__trigger">${E(this.appliedFiltersCount > 0, () => r`<cx-badge slot="badge" class="faceted-filter__trigger-badge" pill size="small">${this.appliedFiltersCount}</cx-badge>`, () => o)}</cx-icon-button><div class="panel"><div class="panel__content"><div class="panel__header">${this.renderAppliedFilters()}</div><div class="panel__body">${E(this.availableFacets.length > 0, () => r`<div>${me(this.availableFacets, (e) => e.facetFieldName, (e) => {
293
294
  let t = this.facets.find((t) => t.facetDetails.facetFieldName === e.facetFieldName);
294
295
  if (!t) return o;
295
- let n = At[e.type ?? Ct.Checkbox];
296
+ let n = jt[e.type ?? wt.Checkbox];
296
297
  return n ? n({
297
298
  facetDetails: e,
298
299
  values: t.values
@@ -309,7 +310,7 @@ l([s({ type: Array }), u("design:type", Array)], P.prototype, "facets", void 0),
309
310
  }), u("design:type", Object)], P.prototype, "selectedFacets", void 0), l([s({
310
311
  attribute: "selected-date-ranges",
311
312
  type: Object
312
- }), u("design:type", Object)], P.prototype, "selectedDateRanges", void 0), l([s({ type: String }), u("design:type", St === void 0 ? Object : St)], P.prototype, "selection", void 0), l([s({ type: Boolean }), u("design:type", Object)], P.prototype, "loading", void 0), l([s({
313
+ }), u("design:type", Object)], P.prototype, "selectedDateRanges", void 0), l([s({ type: String }), u("design:type", Ct === void 0 ? Object : Ct)], P.prototype, "selection", void 0), l([s({ type: Boolean }), u("design:type", Object)], P.prototype, "loading", void 0), l([s({
313
314
  attribute: !1,
314
315
  type: Array
315
316
  }), u("design:type", Array)], P.prototype, "externalFilters", void 0), l([c(), u("design:type", Object)], P.prototype, "appliedFiltersCount", void 0), l([c(), u("design:type", Object)], P.prototype, "internalSelection", void 0), l([c(), u("design:type", Object)], P.prototype, "internalDateRanges", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], P.prototype, "mappedDisplayNames", void 0), l([c(), u("design:type", typeof Map > "u" ? Object : Map)], P.prototype, "facetDetailsByField", void 0), l([
@@ -344,39 +345,39 @@ l([s({ type: Array }), u("design:type", Array)], P.prototype, "facets", void 0),
344
345
  u("design:type", Function),
345
346
  u("design:paramtypes", []),
346
347
  u("design:returntype", void 0)
347
- ], P.prototype, "handleExternalFiltersChange", null), P = Mt = l([g("cx-faceted-filter")], P);
348
- var Nt = P, Pt = /* @__PURE__ */ function(e) {
348
+ ], P.prototype, "handleExternalFiltersChange", null), P = Nt = l([g("cx-faceted-filter")], P);
349
+ var Pt = P, Ft = /* @__PURE__ */ function(e) {
349
350
  return e.Search = "search-keyword", e;
350
- }({}), Ft = /* @__PURE__ */ function(e) {
351
- return e.BottomCenter = "bottom-center", e.BottomEnd = "bottom-end", e.BottomStart = "bottom-start", e.TopCenter = "top-center", e.TopEnd = "top-end", e.TopStart = "top-start", e;
352
351
  }({}), It = /* @__PURE__ */ function(e) {
353
- return e.Bottom = "bottom", e.Center = "center", e.Nearest = "nearest", e.Top = "top", e;
352
+ return e.BottomCenter = "bottom-center", e.BottomEnd = "bottom-end", e.BottomStart = "bottom-start", e.TopCenter = "top-center", e.TopEnd = "top-end", e.TopStart = "top-start", e;
354
353
  }({}), Lt = /* @__PURE__ */ function(e) {
355
- return e.All = "all", e.Cell = "cell", e.Column = "column", e.Row = "row", e;
354
+ return e.Bottom = "bottom", e.Center = "center", e.Nearest = "nearest", e.Top = "top", e;
356
355
  }({}), Rt = /* @__PURE__ */ function(e) {
356
+ return e.All = "all", e.Cell = "cell", e.Column = "column", e.Row = "row", e;
357
+ }({}), zt = /* @__PURE__ */ function(e) {
357
358
  return e.Both = "both", e.Copy = "copy", e.Paste = "paste", e;
358
359
  }({}), F = /* @__PURE__ */ function(e) {
359
360
  return e.Auto = "auto", e.Csv = "csv", e.Json = "json", e.Xml = "xml", e;
360
- }({}), zt = /* @__PURE__ */ function(e) {
361
- return e.EditColumns = "edit-columns", e.HideColumn = "hide-column", e;
362
361
  }({}), Bt = /* @__PURE__ */ function(e) {
363
- return e.Left = "left", e.Right = "right", e;
362
+ return e.EditColumns = "edit-columns", e.HideColumn = "hide-column", e;
364
363
  }({}), Vt = /* @__PURE__ */ function(e) {
364
+ return e.Left = "left", e.Right = "right", e;
365
+ }({}), Ht = /* @__PURE__ */ function(e) {
365
366
  return e.Local = "local", e.Remote = "remote", e;
366
367
  }({}), I = /* @__PURE__ */ function(e) {
367
368
  return e.Asc = "asc", e.Desc = "desc", e.None = "none", e;
368
369
  }({}), L = /* @__PURE__ */ function(e) {
369
370
  return e.Ends = "ends", e.Equal = "=", e.GreaterOrEqual = ">=", e.GreaterThan = ">", e.In = "in", e.Keywords = "keywords", e.LessOrEqual = "<=", e.LessThan = "<", e.Like = "like", e.NotEqual = "!=", e.Regex = "regex", e.Starts = "starts", e;
370
- }({}), Ht = /* @__PURE__ */ function(e) {
371
+ }({}), Ut = /* @__PURE__ */ function(e) {
371
372
  return e.IsoDate = "iso-date", e.IsoDateTime = "iso-datetime", e.Timestamp = "timestamp", e;
372
- }({}), Ut = pt(function(e, t) {
373
- var n = gt(t);
374
- return ht(n) && (n = void 0), ht(e) ? dt(e, mt(t, 1, ht, !0), ot(n, 2)) : [];
375
- }), Wt = Math.min;
376
- function Gt(e, t, n) {
377
- for (var r = n ? st : ct, i = e[0].length, a = e.length, o = a, s = Array(a), c = Infinity, l = []; o--;) {
373
+ }({}), Wt = mt(function(e, t) {
374
+ var n = _t(t);
375
+ return gt(n) && (n = void 0), gt(e) ? ft(e, ht(t, 1, gt, !0), st(n, 2)) : [];
376
+ }), Gt = Math.min;
377
+ function Kt(e, t, n) {
378
+ for (var r = n ? ct : lt, i = e[0].length, a = e.length, o = a, s = Array(a), c = Infinity, l = []; o--;) {
378
379
  var u = e[o];
379
- o && t && (u = Re(u, b(t))), c = Wt(u.length, c), s[o] = !n && (t || i >= 120 && u.length >= 120) ? new x(o && u) : void 0;
380
+ o && t && (u = ze(u, b(t))), c = Gt(u.length, c), s[o] = !n && (t || i >= 120 && u.length >= 120) ? new x(o && u) : void 0;
380
381
  }
381
382
  u = e[0];
382
383
  var d = -1, f = s[0];
@@ -394,59 +395,59 @@ function Gt(e, t, n) {
394
395
  }
395
396
  //#endregion
396
397
  //#region ../../node_modules/lodash-es/_castArrayLikeObject.js
397
- function Kt(e) {
398
- return ht(e) ? e : [];
398
+ function qt(e) {
399
+ return gt(e) ? e : [];
399
400
  }
400
401
  //#endregion
401
402
  //#region ../../node_modules/lodash-es/intersectionBy.js
402
- var qt = pt(function(e) {
403
- var t = gt(e), n = Re(e, Kt);
404
- return t === gt(n) ? t = void 0 : n.pop(), n.length && n[0] === e[0] ? Gt(n, ot(t, 2)) : [];
405
- }), Jt = pt(function(e) {
406
- var t = gt(e);
407
- return ht(t) && (t = void 0), lt(mt(e, 1, ht, !0), ot(t, 2));
408
- }), Yt = pt(function(e) {
409
- var t = gt(e);
410
- return ht(t) && (t = void 0), ft(ee(e, ht), ot(t, 2));
411
- }), Xt = /* @__PURE__ */ function(e) {
403
+ var Jt = mt(function(e) {
404
+ var t = _t(e), n = ze(e, qt);
405
+ return t === _t(n) ? t = void 0 : n.pop(), n.length && n[0] === e[0] ? Kt(n, st(t, 2)) : [];
406
+ }), Yt = mt(function(e) {
407
+ var t = _t(e);
408
+ return gt(t) && (t = void 0), ut(ht(e, 1, gt, !0), st(t, 2));
409
+ }), Xt = mt(function(e) {
410
+ var t = _t(e);
411
+ return gt(t) && (t = void 0), pt(ee(e, gt), st(t, 2));
412
+ }), Zt = /* @__PURE__ */ function(e) {
412
413
  return e.All = "all", e.None = "none", e.Partial = "partial", e;
413
414
  }({});
414
415
  //#endregion
415
416
  //#region ../../node_modules/lodash-es/_parent.js
416
- function Zt(e, t) {
417
- return t.length < 2 ? e : it(e, ze(t, 0, -1));
417
+ function Qt(e, t) {
418
+ return t.length < 2 ? e : at(e, Be(t, 0, -1));
418
419
  }
419
420
  //#endregion
420
421
  //#region ../../node_modules/lodash-es/_baseUnset.js
421
- function Qt(e, t) {
422
- return t = rt(t, e), e = Zt(e, t), e == null || delete e[at(gt(t))];
422
+ function $t(e, t) {
423
+ return t = it(t, e), e = Qt(e, t), e == null || delete e[ot(_t(t))];
423
424
  }
424
425
  //#endregion
425
426
  //#region ../../node_modules/lodash-es/_customOmitClone.js
426
- function $t(e) {
427
- return _t(e) ? void 0 : e;
427
+ function en(e) {
428
+ return vt(e) ? void 0 : e;
428
429
  }
429
430
  //#endregion
430
431
  //#region ../../node_modules/lodash-es/omit.js
431
- var en = 1, tn = 2, nn = 4, rn = vt(function(e, t) {
432
+ var tn = 1, nn = 2, rn = 4, an = yt(function(e, t) {
432
433
  var n = {};
433
434
  if (e == null) return n;
434
435
  var r = !1;
435
- t = Re(t, function(t) {
436
- return t = rt(t, e), r ||= t.length > 1, t;
437
- }), bt(e, yt(e), n), r && (n = xt(n, en | tn | nn, $t));
438
- for (var i = t.length; i--;) Qt(n, t[i]);
436
+ t = ze(t, function(t) {
437
+ return t = it(t, e), r ||= t.length > 1, t;
438
+ }), xt(e, bt(e), n), r && (n = St(n, tn | nn | rn, en));
439
+ for (var i = t.length; i--;) $t(n, t[i]);
439
440
  return n;
440
- }), an = i`:host{--row-height:44px;min-height:var(--row-height);display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:var(--row-height);background-color:var(--cx-color-neutral-100);align-items:center;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__selection-hit-area{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__selection-hit-area{cursor:pointer;flex:0 0 var(--row-height);height:var(--row-height);width:var(--row-height);justify-content:center;align-items:center;display:inline-flex}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:4px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}[part=config-button]{margin-left:16px}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}.board-list-item--readonly .board-list-item__selection-hit-area{cursor:default}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`, R = class extends d {
441
+ }), on = i`:host{--row-height:44px;min-height:var(--row-height);display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:var(--row-height);background-color:var(--cx-color-neutral-100);align-items:center;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__selection-hit-area{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__selection-hit-area{cursor:pointer;flex:0 0 var(--row-height);height:var(--row-height);width:var(--row-height);justify-content:center;align-items:center;display:inline-flex}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:4px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}[part=config-button]{margin-left:16px}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}.board-list-item--readonly .board-list-item__selection-hit-area{cursor:default}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`, R = class extends d {
441
442
  constructor(...e) {
442
443
  super(...e), this.localize = new _(this), this.text = "", this.tooltip = "", this.readonly = !1, this.placeholder = !1, this.selected = !1, this.configurable = !1, this.disabledTooltip = !1, this.isGroup = !1;
443
444
  }
444
- static #e = this.styles = [h, an];
445
+ static #e = this.styles = [h, on];
445
446
  static #t = this.dependencies = {
446
447
  "cx-icon": D,
447
448
  "cx-icon-button": w,
448
- "cx-line-clamp": se,
449
- "cx-tooltip": N
449
+ "cx-line-clamp": ce,
450
+ "cx-tooltip": se
450
451
  };
451
452
  onConfigButtonClick(e) {
452
453
  e.stopPropagation(), this.emit("cx-multi-select-configure", {
@@ -473,10 +474,10 @@ var en = 1, tn = 2, nn = 4, rn = vt(function(e, t) {
473
474
  "board-list-item--group": this.isGroup,
474
475
  "board-list-item--placeholder": this.placeholder,
475
476
  "board-list-item--readonly": this.readonly
476
- })}><span class="board-list-item__selection-hit-area"><span class="board-list-item__control">${this.selected ? r`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span></span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${ye(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? r`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
477
+ })}><span class="board-list-item__selection-hit-area"><span class="board-list-item__control">${this.selected ? r`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span></span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${be(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? r`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
477
478
  }
478
479
  };
479
- l([f("[part=\"config-button\"]"), u("design:type", w === void 0 ? Object : w)], R.prototype, "configButton", void 0), l([f("[part=\"text\"]"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], R.prototype, "textElement", void 0), l([f("[part=\"tooltip\"]"), u("design:type", N === void 0 ? Object : N)], R.prototype, "tooltipElement", void 0), l([f(".board-list-item__control"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], R.prototype, "controlElement", void 0), l([f(".board-list-item__selection-hit-area"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], R.prototype, "selectionHitAreaElement", void 0), l([s({ type: String }), u("design:type", Object)], R.prototype, "text", void 0), l([s({ type: String }), u("design:type", Object)], R.prototype, "tooltip", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "readonly", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "placeholder", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "selected", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "configurable", void 0), l([s({
480
+ l([f("[part=\"config-button\"]"), u("design:type", w === void 0 ? Object : w)], R.prototype, "configButton", void 0), l([f("[part=\"text\"]"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], R.prototype, "textElement", void 0), l([f("[part=\"tooltip\"]"), u("design:type", se === void 0 ? Object : se)], R.prototype, "tooltipElement", void 0), l([f(".board-list-item__control"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], R.prototype, "controlElement", void 0), l([f(".board-list-item__selection-hit-area"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], R.prototype, "selectionHitAreaElement", void 0), l([s({ type: String }), u("design:type", Object)], R.prototype, "text", void 0), l([s({ type: String }), u("design:type", Object)], R.prototype, "tooltip", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "readonly", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "placeholder", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "selected", void 0), l([s({ type: Boolean }), u("design:type", Object)], R.prototype, "configurable", void 0), l([s({
480
481
  attribute: "disabled-tooltip",
481
482
  type: Boolean
482
483
  }), u("design:type", Object)], R.prototype, "disabledTooltip", void 0), l([s({
@@ -488,20 +489,22 @@ l([f("[part=\"config-button\"]"), u("design:type", w === void 0 ? Object : w)],
488
489
  u("design:paramtypes", []),
489
490
  u("design:returntype", void 0)
490
491
  ], R.prototype, "handleDisabledTooltipChange", null), R = l([g("cx-board-list-item")], R);
491
- var on = R, sn = i`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__header--divided{margin-bottom:0}.board__divider{--spacing:0;margin-bottom:16px}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:4px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, cn = (e) => {
492
+ var sn = R, cn = i`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__header--divided{margin-bottom:0}.board__divider{--spacing:0;margin-bottom:16px}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:4px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, ln = (e) => {
492
493
  let t = e.getRootNode();
493
494
  return t instanceof ShadowRoot ? t.host : null;
494
495
  };
495
496
  navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && navigator.userAgent.match(/android/i);
496
- var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator.userAgent), un = 44, dn = 30, fn = 10, z = class extends d {
497
- static #e = this.styles = [h, sn];
497
+ //#endregion
498
+ //#region ../../packages/molecules/src/multi-select/components/board/board.ts
499
+ var un = 44, dn = 30, fn = 10, z = class extends d {
500
+ static #e = this.styles = [h, cn];
498
501
  static #t = this.dependencies = {
499
- "cx-board-list-item": on,
500
- "cx-divider": Le,
502
+ "cx-board-list-item": sn,
503
+ "cx-divider": Re,
501
504
  "cx-icon": D,
502
505
  "cx-icon-button": w,
503
- "cx-input": he,
504
- "cx-tooltip": N
506
+ "cx-input": ge,
507
+ "cx-tooltip": se
505
508
  };
506
509
  get allItems() {
507
510
  return this._allItems;
@@ -528,16 +531,16 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
528
531
  return Object.keys(this.selectedItems).length;
529
532
  }
530
533
  get isAllSelected() {
531
- return this.selectableItems.length === 0 ? this.hiddenSelection === Xt.All : this.selectedCount > 0 && this.selectedCount === this.selectableItems.length;
534
+ return this.selectableItems.length === 0 ? this.hiddenSelection === Zt.All : this.selectedCount > 0 && this.selectedCount === this.selectableItems.length;
532
535
  }
533
536
  get isPartiallySelected() {
534
- return (this.selectedCount > 0 || this.hiddenSelection !== Xt.None) && !this.isAllSelected;
537
+ return (this.selectedCount > 0 || this.hiddenSelection !== Zt.None) && !this.isAllSelected;
535
538
  }
536
539
  get selectableItems() {
537
540
  return this.filteredItems.filter((e) => this.isSelectableItem(e) && (!e.type || !this.ignoreTypes.includes(e.type)));
538
541
  }
539
542
  constructor() {
540
- super(), this.localize = new _(this), this.boardTitle = "", this.name = "", this.ignoreTypes = [], this.data = [], this.sort = !1, this.group = !1, this.configurable = !1, this.all = !1, this.allowSearch = !1, this.dividerColor = "", this.hiddenSelection = Xt.None, this.hiddenSelectedCount = 0, this.abortDrag = !1, this.items = [], this._allItems = [], this._filteredItems = [], this._selectedItems = {}, this._selectedItemOrder = {}, this.searchValue = "", this.sortable = null, this._totalCount = 0, this._totalDisplayedCount = 0, this._indexMap = {}, this.isDragging = !1, this.start = 0, this.end = 20, this.previous = [], this.lastSelectedItem = null, this.dragPointerY = 0, this.dragScrollFrame = null, this.handleAdd = this.handleAdd.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleMove = this.handleMove.bind(this), this.handleRemove = this.handleRemove.bind(this), this.handleStart = this.handleStart.bind(this), this.handleUpdate = this.handleUpdate.bind(this), this.handleSelectAll = this.handleSelectAll.bind(this), this.handleDragPointerMove = this.handleDragPointerMove.bind(this), this.autoScrollDraggedList = this.autoScrollDraggedList.bind(this);
543
+ super(), this.localize = new _(this), this.boardTitle = "", this.name = "", this.ignoreTypes = [], this.data = [], this.sort = !1, this.group = !1, this.configurable = !1, this.all = !1, this.allowSearch = !1, this.dividerColor = "", this.hiddenSelection = Zt.None, this.hiddenSelectedCount = 0, this.abortDrag = !1, this.items = [], this._allItems = [], this._filteredItems = [], this._selectedItems = {}, this._selectedItemOrder = {}, this.searchValue = "", this.sortable = null, this._totalCount = 0, this._totalDisplayedCount = 0, this._indexMap = {}, this.isDragging = !1, this.start = 0, this.end = 20, this.previous = [], this.lastSelectedItem = null, this.dragPointerY = 0, this.dragScrollFrame = null, this.handleAdd = this.handleAdd.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleMove = this.handleMove.bind(this), this.handleRemove = this.handleRemove.bind(this), this.handleStart = this.handleStart.bind(this), this.handleUpdate = this.handleUpdate.bind(this), this.handleSelectAll = this.handleSelectAll.bind(this), this.handleDragPointerMove = this.handleDragPointerMove.bind(this), this.autoScrollDraggedList = this.autoScrollDraggedList.bind(this);
541
544
  }
542
545
  runConnectedCallback() {
543
546
  document.addEventListener("dragover", this.handleDragPointerMove, !0), document.addEventListener("pointermove", this.handleDragPointerMove);
@@ -574,7 +577,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
574
577
  if (this.isDragging && !this.sort) return;
575
578
  let e = Math.max(this.list.scrollTop, 0);
576
579
  this.start = Math.floor(e / un), this.end = this.start + 20;
577
- let t = et.active && et.dragged?.parentNode === this.list ? et.dragged : null;
580
+ let t = tt.active && tt.dragged?.parentNode === this.list ? tt.dragged : null;
578
581
  t && (await this.updateComplete, t.isConnected || this.list.firstElementChild?.after(t));
579
582
  }
580
583
  handleSearchChange(e) {
@@ -599,12 +602,12 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
599
602
  this.items = [...this.data], this.resetSelectedItems(), this._allItems = this.group ? this.concatGroupItems(this.items) : [...this.items], this._indexMap = this._allItems.reduce((e, t, n) => (e[t.id] = n, e), {}), this._totalCount = this.data.length;
600
603
  }
601
604
  handleAdd(e) {
602
- let t = this.items.map((e) => e.id), n = cn(e.from);
605
+ let t = this.items.map((e) => e.id), n = ln(e.from);
603
606
  if (!n) return;
604
607
  let r = e.item.dataset.id, i = n.selectedItemAsArray;
605
608
  i.includes(r) || (i = [r]);
606
609
  let a = i.length > 1, o = Number(e.newIndex) - 1 + this.start, s = this.resolveRealInsertIndex(o);
607
- t = je(t, s, i), this.handleUpdateEvent(t, e.type, a, s);
610
+ t = Oe(t, s, i), this.handleUpdateEvent(t, e.type, a, s);
608
611
  }
609
612
  async handleEnd(e) {
610
613
  e.from === e.to && this.handleUpdate(e), this.isDragging = !1, await this.updateComplete;
@@ -625,11 +628,11 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
625
628
  let t = this.items.map((e) => e.id), n = e.item.dataset.id, r = this.selectedItemAsArray;
626
629
  r.includes(n) || (r = [n]);
627
630
  let i = r.length > 1;
628
- t = De(t, r.map((e) => Oe(this.items, "id", e))), this.handleUpdateEvent(t, e.type, i, e.newIndex);
631
+ t = Ae(t, r.map((e) => Ne(this.items, "id", e))), this.handleUpdateEvent(t, e.type, i, e.newIndex);
629
632
  }
630
633
  handleDefaultSelect(e) {
631
634
  let t = e.dataset.id;
632
- this._selectedItems[t] ? (this._selectedItems = rn(this._selectedItems, [t]), this._selectedItemOrder = rn(this._selectedItemOrder, [t])) : (this._selectedItems = {
635
+ this._selectedItems[t] ? (this._selectedItems = an(this._selectedItems, [t]), this._selectedItemOrder = an(this._selectedItemOrder, [t])) : (this._selectedItems = {
633
636
  ...this._selectedItems,
634
637
  [t]: !0
635
638
  }, this._selectedItemOrder = {
@@ -638,12 +641,12 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
638
641
  }), this.lastSelectedItem = e;
639
642
  }
640
643
  handleShiftSelect(e) {
641
- let t = this.filteredItems.filter((e) => this.isSelectableItem(e)), n = Oe(t, "id", this.lastSelectedItem?.dataset.id), r = Oe(t, "id", e.dataset.id);
644
+ let t = this.filteredItems.filter((e) => this.isSelectableItem(e)), n = Ne(t, "id", this.lastSelectedItem?.dataset.id), r = Ne(t, "id", e.dataset.id);
642
645
  if (n === -1 || r === -1) {
643
646
  this.handleDefaultSelect(e);
644
647
  return;
645
648
  }
646
- let i = Ae(this.selectedItemAsArray, e.dataset.id, t);
649
+ let i = Me(this.selectedItemAsArray, e.dataset.id, t);
647
650
  this._selectedItems = i.reduce((e, t) => (t && (e[t] = !0), e), {}), this._selectedItemOrder = i.reduce((e, t) => (t && (e[t] = Object.keys(e).length), e), {});
648
651
  }
649
652
  handleSelect(e) {
@@ -685,14 +688,14 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
685
688
  autoScrollDraggedList() {
686
689
  if (this.dragScrollFrame = null, !this.isDragging) return;
687
690
  this.dragScrollFrame = requestAnimationFrame(this.autoScrollDraggedList);
688
- let e = et.dragged?.parentNode;
689
- if (!(e instanceof HTMLElement) || !et.get(e)?.option("sort")) return;
691
+ let e = tt.dragged?.parentNode;
692
+ if (!(e instanceof HTMLElement) || !tt.get(e)?.option("sort")) return;
690
693
  let { bottom: t, top: n } = e.getBoundingClientRect();
691
694
  Math.abs(t - this.dragPointerY) <= dn ? e.scrollTop += fn : Math.abs(n - this.dragPointerY) <= dn && (e.scrollTop -= fn);
692
695
  }
693
696
  handleUpdate(e) {
694
697
  let t = this.items.map((e) => e.id), n = this.selectedItemAsArray, r = n.length > 1, i = this.resolveDropIndex(e.item);
695
- i !== null && (t = ke(t, n.map((e) => Oe(this.items, "id", e)), i), this.handleUpdateEvent(t, "update", r));
698
+ i !== null && (t = De(t, n.map((e) => Ne(this.items, "id", e)), i), this.handleUpdateEvent(t, "update", r));
696
699
  }
697
700
  handleMove(e) {
698
701
  let { related: t, willInsertAfter: n } = e;
@@ -725,7 +728,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
725
728
  indexAfterLastVisibleRealItem() {
726
729
  for (let e = this.filteredItems.length - 1; e >= 0; e--) {
727
730
  let t = this.filteredItems[e];
728
- if (t.id !== t.group) return Oe(this.items, "id", t.id) + 1;
731
+ if (t.id !== t.group) return Ne(this.items, "id", t.id) + 1;
729
732
  }
730
733
  return this.items.length;
731
734
  }
@@ -733,21 +736,21 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
733
736
  if (e >= this.filteredItems.length) return this.indexAfterLastVisibleRealItem();
734
737
  for (let t = Math.max(e, 0); t < this.filteredItems.length; t++) {
735
738
  let e = this.filteredItems[t];
736
- if (e.id !== e.group) return Oe(this.items, "id", e.id);
739
+ if (e.id !== e.group) return Ne(this.items, "id", e.id);
737
740
  }
738
741
  return this.indexAfterLastVisibleRealItem();
739
742
  }
740
743
  resolveDropIndex(e) {
741
- let t = e.nextElementSibling, n = t instanceof HTMLElement && t.dataset.id ? Oe(this.filteredItems, "id", t.dataset.id) : Math.min(this.end, this.filteredItems.length), r = Oe(this.filteredItems, "id", e.dataset.id);
744
+ let t = e.nextElementSibling, n = t instanceof HTMLElement && t.dataset.id ? Ne(this.filteredItems, "id", t.dataset.id) : Math.min(this.end, this.filteredItems.length), r = Ne(this.filteredItems, "id", e.dataset.id);
742
745
  return n === r || n === r + 1 ? null : this.resolveRealInsertIndex(n);
743
746
  }
744
747
  initSortable() {
745
- this.sortable = et.create(this.list, {
748
+ this.sortable = tt.create(this.list, {
746
749
  animation: 100,
747
750
  avoidImplicitDeselect: !0,
748
751
  dataIdAttr: "data-id",
749
752
  draggable: "cx-board-list-item[data-id]:not([readonly])",
750
- forceFallback: ln,
753
+ forceFallback: ne(),
751
754
  group: "shared",
752
755
  multiDrag: !0,
753
756
  onAdd: this.handleAdd,
@@ -764,18 +767,18 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
764
767
  this.initSortable(), this.items = [...this.data], this._allItems = this.group ? this.concatGroupItems(this.items) : [...this.items], this._totalCount = this.data.length;
765
768
  }
766
769
  render() {
767
- let e = this.selectedCount, t = e + this.hiddenSelectedCount, n = this.isAllSelected ? r`<cx-icon class="board__checked-icon" name="check"></cx-icon>` : this.isPartiallySelected ? r`<cx-icon class="board__checked-icon" name="remove"></cx-icon>` : o, i = this.filteredItems.slice(this.start, Math.min(this.end, this.filteredItems.length)), a = this.isDragging && !this.previous[0]?.isConnected ? et.dragged?.dataset.id : void 0, s = a ? i.filter((e) => e.id !== a) : i;
770
+ let e = this.selectedCount, t = e + this.hiddenSelectedCount, n = this.isAllSelected ? r`<cx-icon class="board__checked-icon" name="check"></cx-icon>` : this.isPartiallySelected ? r`<cx-icon class="board__checked-icon" name="remove"></cx-icon>` : o, i = this.filteredItems.slice(this.start, Math.min(this.end, this.filteredItems.length)), a = this.isDragging && !this.previous[0]?.isConnected ? tt.dragged?.dataset.id : void 0, s = a ? i.filter((e) => e.id !== a) : i;
768
771
  return r`<div class=${C({
769
772
  board: !0,
770
- "board--checked": this.all && (e > 0 || this.hiddenSelection !== Xt.None),
773
+ "board--checked": this.all && (e > 0 || this.hiddenSelection !== Zt.None),
771
774
  "board--dragging": this.isDragging
772
775
  })}><div class=${C({
773
776
  board__header: !0,
774
777
  "board__header--divided": !!this.dividerColor
775
- })}>${this.all ? r`<span class="board__select-all" part="select-all" role="checkbox" tabindex="0" aria-checked=${this.isAllSelected ? "true" : this.isPartiallySelected ? "mixed" : "false"} aria-label=${this.localize.term("selectAll")} @click=${this.handleSelectAll} @keydown=${this.handleSelectAllKeydown}>${n}</span>` : ""}<cx-tooltip content=${this.boardTitle} hoist ?disabled=${!this.boardTitle || this.isDragging}><div class="board__header__text">${this.boardTitle}</div></cx-tooltip>${E(this.allowSearch, () => r`<div class="board__header__search"><cx-input part="search-input" aria-label=${this.localize.term("search")} title=${this.localize.term("search")} placeholder=${this.localize.term("search")} size="small" value=${this.searchValue} @cx-input=${this.handleSearchChange}><cx-icon name="search" slot="prefix"></cx-icon><cx-icon-button part="search-input-clear" label=${this.localize.term("clearSearch")} name="close" size="small" slot="suffix" @click=${this.handleSearchClear}></cx-icon-button></cx-input></div>`)}</div>${E(this.dividerColor, () => r`<cx-divider class="board__divider" part="divider" style=${k({ "--color": this.dividerColor })}></cx-divider>`)}<div part="list" class="board__list" role="listbox" aria-label=${this.boardTitle || this.name} aria-multiselectable="true" tabindex="-1" @scroll=${this.handleListScroll}><div style="height: ${un * this.start}px"></div>${pe(s, (e) => e.id, (e) => r`<cx-board-list-item data-id=${e.id} data-index=${this._indexMap[e.id]} data-type=${e.type} ?disabled-tooltip=${this.isDragging} ?readonly=${e.disabled || e.id === e.group} ?selected=${!!this.selectedItems[e.id] || !1} text=${e.text} tooltip=${e.tooltip} ?configurable=${this.configurable} ?is-group=${e.id === e.group} role="option" tabindex=${e.disabled || e.id === e.group ? "-1" : "0"} aria-selected=${!!this.selectedItems[e.id]} aria-label=${e.text} @click=${this.handleSelect} @keydown=${this.handleItemKeydown}></cx-board-list-item>`)}<div style="height: ${un * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${t ? r`<div class="board__footer__text">${this.localize.term("selected")}: ${t}</div>` : r`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
778
+ })}>${this.all ? r`<span class="board__select-all" part="select-all" role="checkbox" tabindex="0" aria-checked=${this.isAllSelected ? "true" : this.isPartiallySelected ? "mixed" : "false"} aria-label=${this.localize.term("selectAll")} @click=${this.handleSelectAll} @keydown=${this.handleSelectAllKeydown}>${n}</span>` : ""}<cx-tooltip content=${this.boardTitle} hoist ?disabled=${!this.boardTitle || this.isDragging}><div class="board__header__text">${this.boardTitle}</div></cx-tooltip>${E(this.allowSearch, () => r`<div class="board__header__search"><cx-input part="search-input" aria-label=${this.localize.term("search")} title=${this.localize.term("search")} placeholder=${this.localize.term("search")} size="small" value=${this.searchValue} @cx-input=${this.handleSearchChange}><cx-icon name="search" slot="prefix"></cx-icon><cx-icon-button part="search-input-clear" label=${this.localize.term("clearSearch")} name="close" size="small" slot="suffix" @click=${this.handleSearchClear}></cx-icon-button></cx-input></div>`)}</div>${E(this.dividerColor, () => r`<cx-divider class="board__divider" part="divider" style=${k({ "--color": this.dividerColor })}></cx-divider>`)}<div part="list" class="board__list" role="listbox" aria-label=${this.boardTitle || this.name} aria-multiselectable="true" tabindex="-1" @scroll=${this.handleListScroll}><div style="height: ${un * this.start}px"></div>${me(s, (e) => e.id, (e) => r`<cx-board-list-item data-id=${e.id} data-index=${this._indexMap[e.id]} data-type=${e.type} ?disabled-tooltip=${this.isDragging} ?readonly=${e.disabled || e.id === e.group} ?selected=${!!this.selectedItems[e.id] || !1} text=${e.text} tooltip=${e.tooltip} ?configurable=${this.configurable} ?is-group=${e.id === e.group} role="option" tabindex=${e.disabled || e.id === e.group ? "-1" : "0"} aria-selected=${!!this.selectedItems[e.id]} aria-label=${e.text} @click=${this.handleSelect} @keydown=${this.handleItemKeydown}></cx-board-list-item>`)}<div style="height: ${un * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${t ? r`<div class="board__footer__text">${this.localize.term("selected")}: ${t}</div>` : r`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
776
779
  }
777
780
  };
778
- l([f(".board"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], z.prototype, "board", void 0), l([f("[part=\"search-input\"]"), u("design:type", he === void 0 ? Object : he)], z.prototype, "searchInput", void 0), l([f("[part=\"search-input-clear\"]"), u("design:type", w === void 0 ? Object : w)], z.prototype, "searchInputClear", void 0), l([f("[part=\"list\"]"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], z.prototype, "list", void 0), l([f("[part=\"select-all\"]"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], z.prototype, "selectAllCheckBox", void 0), l([s({
781
+ l([f(".board"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], z.prototype, "board", void 0), l([f("[part=\"search-input\"]"), u("design:type", ge === void 0 ? Object : ge)], z.prototype, "searchInput", void 0), l([f("[part=\"search-input-clear\"]"), u("design:type", w === void 0 ? Object : w)], z.prototype, "searchInputClear", void 0), l([f("[part=\"list\"]"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], z.prototype, "list", void 0), l([f("[part=\"select-all\"]"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], z.prototype, "selectAllCheckBox", void 0), l([s({
779
782
  attribute: "title",
780
783
  reflect: !0,
781
784
  type: String
@@ -800,7 +803,7 @@ l([f(".board"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement
800
803
  }), u("design:type", Object)], z.prototype, "dividerColor", void 0), l([s({
801
804
  attribute: "hidden-selection",
802
805
  type: String
803
- }), u("design:type", Xt === void 0 ? Object : Xt)], z.prototype, "hiddenSelection", void 0), l([s({
806
+ }), u("design:type", Zt === void 0 ? Object : Zt)], z.prototype, "hiddenSelection", void 0), l([s({
804
807
  attribute: "hidden-selected-count",
805
808
  type: Number
806
809
  }), u("design:type", Object)], z.prototype, "hiddenSelectedCount", void 0), l([c(), u("design:type", Object)], z.prototype, "abortDrag", void 0), l([c(), u("design:type", Array)], z.prototype, "items", void 0), l([c(), u("design:type", Array)], z.prototype, "_allItems", void 0), l([c(), u("design:type", Array)], z.prototype, "_filteredItems", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], z.prototype, "_selectedItems", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], z.prototype, "_selectedItemOrder", void 0), l([c(), u("design:type", Object)], z.prototype, "searchValue", void 0), l([c(), u("design:type", Object)], z.prototype, "sortable", void 0), l([c(), u("design:type", Number)], z.prototype, "_totalCount", void 0), l([c(), u("design:type", Number)], z.prototype, "_totalDisplayedCount", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], z.prototype, "_indexMap", void 0), l([c(), u("design:type", Object)], z.prototype, "isDragging", void 0), l([c(), u("design:type", Number)], z.prototype, "start", void 0), l([c(), u("design:type", Number)], z.prototype, "end", void 0), l([c(), u("design:type", typeof Array > "u" ? Object : Array)], z.prototype, "previous", void 0), l([c(), u("design:type", Object)], z.prototype, "lastSelectedItem", void 0), l([
@@ -814,9 +817,9 @@ l([f(".board"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement
814
817
  u("design:paramtypes", []),
815
818
  u("design:returntype", void 0)
816
819
  ], z.prototype, "onItemsChanged", null), l([
817
- ne(200, !0),
820
+ A(200, !0),
818
821
  u("design:type", Function),
819
- u("design:paramtypes", [on === void 0 ? Object : on]),
822
+ u("design:paramtypes", [sn === void 0 ? Object : sn]),
820
823
  u("design:returntype", void 0)
821
824
  ], z.prototype, "handleShiftSelect", null), z = l([g("cx-board"), u("design:paramtypes", [])], z);
822
825
  var pn = z, mn = (e, t) => e.group && t.group && e.group !== t.group ? e.group.localeCompare(t.group) : e.text.localeCompare(t.text);
@@ -870,7 +873,7 @@ function xn(e, t) {
870
873
  let o = {
871
874
  displayName: t[i],
872
875
  facetFieldName: i,
873
- selection: St.Multiple
876
+ selection: Ct.Multiple
874
877
  };
875
878
  n.push(o), r.push({
876
879
  facetDetails: o,
@@ -951,12 +954,12 @@ function On(e, t, n, r) {
951
954
  let i = new Set(t.map((e) => e.id)), a = e.filter((e) => !i.has(e)).length;
952
955
  if (a === 0) return {
953
956
  count: 0,
954
- state: Xt.None
957
+ state: Zt.None
955
958
  };
956
959
  let o = n.filter((e) => e.id !== e.group && !e.disabled && (!e.type || !r.includes(e.type))), s = new Set(e);
957
960
  return {
958
961
  count: a,
959
- state: o.length > 0 && o.every((e) => s.has(e.id)) ? Xt.All : Xt.Partial
962
+ state: o.length > 0 && o.every((e) => s.has(e.id)) ? Zt.All : Zt.Partial
960
963
  };
961
964
  }
962
965
  //#endregion
@@ -978,11 +981,11 @@ var B = class extends d {
978
981
  static #e = this.styles = [h, wn];
979
982
  static #t = this.dependencies = {
980
983
  "cx-board": pn,
981
- "cx-faceted-filter": Nt,
984
+ "cx-faceted-filter": Pt,
982
985
  "cx-icon": D,
983
986
  "cx-icon-button": w,
984
- "cx-input": he,
985
- "cx-tooltip": N
987
+ "cx-input": ge,
988
+ "cx-tooltip": se
986
989
  };
987
990
  get firstColumnItemIds() {
988
991
  return this.firstColumnData.items.map((e) => e.id);
@@ -995,7 +998,7 @@ var B = class extends d {
995
998
  }
996
999
  get appliedFilterTags() {
997
1000
  return this.searchValue ? [{
998
- key: Pt.Search,
1001
+ key: Ft.Search,
999
1002
  label: `${this.localize.term("searchTerm")}: ${this.searchValue}`
1000
1003
  }] : [];
1001
1004
  }
@@ -1005,7 +1008,7 @@ var B = class extends d {
1005
1008
  isValidChanges(e, t, n) {
1006
1009
  if (this.addLimit || this.addLimit === 0) {
1007
1010
  let r = [];
1008
- if (n === "add" ? r = e : n === "remove" && (r = Jt(Ut(t, e), this.secondColumnItemIds)), Ut(r, this.initialSecondColumnItems).length > this.addLimit) return Ee(this.localize.term("addLimitExceeded", this.addLimit), { notificationType: "warning" }), !1;
1011
+ if (n === "add" ? r = e : n === "remove" && (r = Yt(Wt(t, e), this.secondColumnItemIds)), Wt(r, this.initialSecondColumnItems).length > this.addLimit) return ke(this.localize.term("addLimitExceeded", this.addLimit), { notificationType: "warning" }), !1;
1009
1012
  }
1010
1013
  return !0;
1011
1014
  }
@@ -1015,7 +1018,7 @@ var B = class extends d {
1015
1018
  let e = this.firstColumnData, n = this.secondColumnData;
1016
1019
  if (t === this.secondColumnData.id && (e = this.secondColumnData, n = this.firstColumnData), a === "add") {
1017
1020
  let r = this.selectedItems[n.id], o = e.items.map((e) => e.id);
1018
- if (o = je(o, En(i ?? 0, s, e.items), r), t === this.firstColumnData.id) this.firstColumnData = {
1021
+ if (o = Oe(o, En(i ?? 0, s, e.items), r), t === this.firstColumnData.id) this.firstColumnData = {
1019
1022
  ...this.firstColumnData,
1020
1023
  items: o.map((e) => this.itemMap[e])
1021
1024
  };
@@ -1142,7 +1145,7 @@ var B = class extends d {
1142
1145
  this.searchValue = "";
1143
1146
  }
1144
1147
  handleAppliedFilterRemove(e) {
1145
- e.detail.key === Pt.Search && (this.searchValue = "");
1148
+ e.detail.key === Ft.Search && (this.searchValue = "");
1146
1149
  }
1147
1150
  async handleMetadataFacetChange(e) {
1148
1151
  this.selectedMetadataFacets = e.detail.selection, this.filters.syncFacetSources(this.selectedMetadataFacets), this.rebuildMetadataFacets(), this.recomputeBoardData(), await this.restoreBoardSelections();
@@ -1174,10 +1177,10 @@ var B = class extends d {
1174
1177
  let t = e.has("firstColumnData"), n = e.has("secondColumnData");
1175
1178
  if (t || n) {
1176
1179
  this.itemMap = [...this.firstColumnData.items, ...this.secondColumnData.items].reduce((e, t) => (e[t.id] = t, e), {});
1177
- let e = qt(this.firstColumnData.items, this.secondColumnData.items, "id");
1180
+ let e = Jt(this.firstColumnData.items, this.secondColumnData.items, "id");
1178
1181
  e.length > 0 && (this.firstColumnData = {
1179
1182
  ...this.firstColumnData,
1180
- items: Yt(this.firstColumnData.items, e, "id")
1183
+ items: Xt(this.firstColumnData.items, e, "id")
1181
1184
  }, t = !0), this.selectedItems = {
1182
1185
  [this.firstColumnData.id]: [],
1183
1186
  [this.secondColumnData.id]: []
@@ -1246,8 +1249,8 @@ var kn = B, An = /* @__PURE__ */ function(e) {
1246
1249
  }
1247
1250
  static #e = this.styles = [h, jn];
1248
1251
  static #t = this.dependencies = {
1249
- "cx-button": A,
1250
- "cx-dialog": Ie,
1252
+ "cx-button": j,
1253
+ "cx-dialog": Le,
1251
1254
  "cx-multi-select": kn
1252
1255
  };
1253
1256
  get canApply() {
@@ -1296,7 +1299,7 @@ var kn = B, An = /* @__PURE__ */ function(e) {
1296
1299
  return r`<cx-dialog label=${this.localize.term("editColumns")} ?open=${this.open} @cx-request-close=${this.handleDialogRequestClose}><cx-multi-select .firstColumnData=${this.firstColumnData} .secondColumnData=${this.secondColumnData} @cx-multi-select-change=${this.handleMultiSelectChange}></cx-multi-select>${E(!this.canApply, () => r`<p class="table-column-editor__note">${this.localize.term("editColumnsMinVisibleNote")}</p>`)}<div slot="footer" class="table-column-editor__footer"><cx-button @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button variant="primary" ?disabled=${!this.canApply} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></div></cx-dialog>`;
1297
1300
  }
1298
1301
  };
1299
- l([f("cx-dialog"), u("design:type", Ie === void 0 ? Object : Ie)], Mn.prototype, "dialogEl", void 0), l([s({
1302
+ l([f("cx-dialog"), u("design:type", Le === void 0 ? Object : Le)], Mn.prototype, "dialogEl", void 0), l([s({
1300
1303
  reflect: !0,
1301
1304
  type: Boolean
1302
1305
  }), u("design:type", Object)], Mn.prototype, "open", void 0), l([s({ attribute: !1 }), u("design:type", Array)], Mn.prototype, "entries", void 0), l([c(), u("design:type", Object)], Mn.prototype, "firstColumnData", void 0), l([c(), u("design:type", Object)], Mn.prototype, "secondColumnData", void 0), l([c(), u("design:type", Array)], Mn.prototype, "visibleFields", void 0), l([
@@ -1307,7 +1310,7 @@ l([f("cx-dialog"), u("design:type", Ie === void 0 ? Object : Ie)], Mn.prototype,
1307
1310
  ], Mn.prototype, "handleEntriesChange", null), Mn = l([g("cx-table-column-editor")], Mn);
1308
1311
  var Nn = Mn, Pn = i`:host{align-items:center;width:100%;display:flex}:host([pagination-placement=bottom-start]){justify-content:flex-start}:host([pagination-placement=bottom-center]){justify-content:center}:host([pagination-placement=bottom-end]){justify-content:flex-end}`, Fn = class extends d {
1309
1312
  constructor(...e) {
1310
- super(...e), this.paginationPlacement = Ft.TopEnd;
1313
+ super(...e), this.paginationPlacement = It.TopEnd;
1311
1314
  }
1312
1315
  static #e = this.styles = [h, Pn];
1313
1316
  render() {
@@ -1318,13 +1321,13 @@ l([s({
1318
1321
  attribute: "pagination-placement",
1319
1322
  reflect: !0,
1320
1323
  type: String
1321
- }), u("design:type", Ft === void 0 ? Object : Ft)], Fn.prototype, "paginationPlacement", void 0), Fn = l([g("cx-table-footer")], Fn);
1324
+ }), u("design:type", It === void 0 ? Object : It)], Fn.prototype, "paginationPlacement", void 0), Fn = l([g("cx-table-footer")], Fn);
1322
1325
  var In = Fn, Ln = i`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`, Rn = class extends d {
1323
1326
  static #e = this.styles = [h, Ln];
1324
1327
  static #t = this.dependencies = {
1325
1328
  "cx-icon": D,
1326
- "cx-menu": ge,
1327
- "cx-menu-item": _e,
1329
+ "cx-menu": _e,
1330
+ "cx-menu-item": ve,
1328
1331
  "cx-popup": m
1329
1332
  };
1330
1333
  constructor() {
@@ -1362,7 +1365,7 @@ var In = Fn, Ln = i`:host{display:contents}cx-popup::part(popup){z-index:var(--c
1362
1365
  } }), this.emitClose());
1363
1366
  }
1364
1367
  render() {
1365
- return r`<cx-popup ?active=${this.open} .anchor=${this.virtualAnchor} strategy="overlay" placement="bottom-start" flip shift @cx-opened=${this.handlePopupOpened}><cx-menu @cx-select=${this.handleMenuSelect}><cx-menu-item data-action=${zt.EditColumns}><cx-icon slot="prefix" name="edit"></cx-icon>${this.localize.term("editColumns")}</cx-menu-item><cx-menu-item data-action=${zt.HideColumn} ?disabled=${this.hideDisabled}><cx-icon slot="prefix" name="visibility_off"></cx-icon>${this.localize.term("hideColumn")}</cx-menu-item></cx-menu></cx-popup>`;
1368
+ return r`<cx-popup ?active=${this.open} .anchor=${this.virtualAnchor} strategy="overlay" placement="bottom-start" flip shift @cx-opened=${this.handlePopupOpened}><cx-menu @cx-select=${this.handleMenuSelect}><cx-menu-item data-action=${Bt.EditColumns}><cx-icon slot="prefix" name="edit"></cx-icon>${this.localize.term("editColumns")}</cx-menu-item><cx-menu-item data-action=${Bt.HideColumn} ?disabled=${this.hideDisabled}><cx-icon slot="prefix" name="visibility_off"></cx-icon>${this.localize.term("hideColumn")}</cx-menu-item></cx-menu></cx-popup>`;
1366
1369
  }
1367
1370
  };
1368
1371
  l([f("cx-menu-item"), u("design:type", Object)], Rn.prototype, "firstMenuItem", void 0), l([s({
@@ -1388,19 +1391,19 @@ var zn = Rn, Bn = i`.table-row-actions__button::part(label),.table-row-actions__
1388
1391
  super(...e), this.localize = new _(this), this.groupedDropdownItems = {}, this.sections = [];
1389
1392
  }
1390
1393
  static #e = this.dependencies = {
1391
- "cx-button": A,
1392
- "cx-dropdown": me,
1394
+ "cx-button": j,
1395
+ "cx-dropdown": he,
1393
1396
  "cx-icon": D,
1394
- "cx-menu": ge,
1395
- "cx-menu-item": _e,
1396
- "cx-menu-section": Ze,
1397
- "cx-tooltip": N
1397
+ "cx-menu": _e,
1398
+ "cx-menu-item": ve,
1399
+ "cx-menu-section": Qe,
1400
+ "cx-tooltip": se
1398
1401
  };
1399
1402
  createRenderRoot() {
1400
1403
  return this;
1401
1404
  }
1402
1405
  handleActionChange() {
1403
- this.groupedDropdownItems = Me(this.action?.options?.dropdownItems ?? [], "section"), this.sections = Object.keys(this.groupedDropdownItems);
1406
+ this.groupedDropdownItems = je(this.action?.options?.dropdownItems ?? [], "section"), this.sections = Object.keys(this.groupedDropdownItems);
1404
1407
  }
1405
1408
  handleActionClick(e) {
1406
1409
  let t = e.currentTarget?.dataset?.action;
@@ -1411,7 +1414,7 @@ var zn = Rn, Bn = i`.table-row-actions__button::part(label),.table-row-actions__
1411
1414
  } });
1412
1415
  }
1413
1416
  renderMenuItems(e) {
1414
- return pe(e, (e) => e.name, (e) => r`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${k(e.style ?? {})} @click=${this.handleActionClick}>${E(e.prefixIcon, () => r`<cx-icon name=${e.prefixIcon} slot="prefix"></cx-icon>`)}
1417
+ return me(e, (e) => e.name, (e) => r`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${k(e.style ?? {})} @click=${this.handleActionClick}>${E(e.prefixIcon, () => r`<cx-icon name=${e.prefixIcon} slot="prefix"></cx-icon>`)}
1415
1418
  ${e.label}</cx-menu-item>`);
1416
1419
  }
1417
1420
  renderMenuSection(e, t, n = e) {
@@ -1420,7 +1423,7 @@ var zn = Rn, Bn = i`.table-row-actions__button::part(label),.table-row-actions__
1420
1423
  render() {
1421
1424
  if (!this.action) return o;
1422
1425
  let e = this.action?.icon ?? "more_horiz";
1423
- return r`<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=${e} style=${k(this.action.options?.iconStyle ?? {})}></cx-icon></cx-button></cx-tooltip><cx-menu>${pe(this.sections, (e) => e, (e) => this.renderMenuSection(e, this.groupedDropdownItems[e], this.action?.options?.dropdownSections?.[e]))}</cx-menu></cx-dropdown>`;
1426
+ return r`<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=${e} style=${k(this.action.options?.iconStyle ?? {})}></cx-icon></cx-button></cx-tooltip><cx-menu>${me(this.sections, (e) => e, (e) => this.renderMenuSection(e, this.groupedDropdownItems[e], this.action?.options?.dropdownSections?.[e]))}</cx-menu></cx-dropdown>`;
1424
1427
  }
1425
1428
  };
1426
1429
  l([s({ type: Object }), u("design:type", Object)], Vn.prototype, "action", void 0), l([s({ type: Object }), u("design:type", Object)], Vn.prototype, "row", void 0), l([s({ type: Object }), u("design:type", Object)], Vn.prototype, "cell", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], Vn.prototype, "groupedDropdownItems", void 0), l([c(), u("design:type", Array)], Vn.prototype, "sections", void 0), l([
@@ -1435,11 +1438,11 @@ var Hn = Vn, Un = class extends d {
1435
1438
  }
1436
1439
  static #e = this.styles = [h, Bn];
1437
1440
  static #t = this.dependencies = {
1438
- "cx-button": A,
1441
+ "cx-button": j,
1439
1442
  "cx-icon": D,
1440
- "cx-space": ve,
1443
+ "cx-space": ye,
1441
1444
  "cx-table-row-actions-dropdown": Hn,
1442
- "cx-tooltip": N
1445
+ "cx-tooltip": se
1443
1446
  };
1444
1447
  handleActionClick(e) {
1445
1448
  let t = e.currentTarget?.dataset?.action;
@@ -1456,7 +1459,7 @@ var Hn = Vn, Un = class extends d {
1456
1459
  return r`<cx-table-row-actions-dropdown .action=${e} .row=${this.row} .cell=${this.cell}></cx-table-row-actions-dropdown>`;
1457
1460
  }
1458
1461
  render() {
1459
- return r`<cx-space spacing="2x-small">${pe(this.actions, (e) => e.name, (e) => ut(e.type ?? "button", [["button", () => this.renderButton(e)], ["dropdown", () => this.renderDropdown(e)]]))}</cx-space>`;
1462
+ return r`<cx-space spacing="2x-small">${me(this.actions, (e) => e.name, (e) => dt(e.type ?? "button", [["button", () => this.renderButton(e)], ["dropdown", () => this.renderDropdown(e)]]))}</cx-space>`;
1460
1463
  }
1461
1464
  };
1462
1465
  l([s({ type: Array }), u("design:type", Array)], Un.prototype, "actions", void 0), l([s({ type: Object }), u("design:type", Object)], Un.prototype, "row", void 0), l([s({ type: Object }), u("design:type", Object)], Un.prototype, "cell", void 0), Un = l([g("cx-table-row-actions")], Un);
@@ -1472,11 +1475,11 @@ var Wn = Un, Gn = class extends d {
1472
1475
  }
1473
1476
  static #e = this.styles = [h];
1474
1477
  static #t = this.dependencies = {
1475
- "cx-button": A,
1476
- "cx-dropdown": me,
1478
+ "cx-button": j,
1479
+ "cx-dropdown": he,
1477
1480
  "cx-icon": D,
1478
- "cx-menu": ge,
1479
- "cx-menu-item": _e
1481
+ "cx-menu": _e,
1482
+ "cx-menu-item": ve
1480
1483
  };
1481
1484
  get activeOption() {
1482
1485
  return this.optionsMap[this.activeOptionId];
@@ -1520,7 +1523,7 @@ var Wn = Un, Gn = class extends d {
1520
1523
  n && this.selectOptionWithId(n);
1521
1524
  }
1522
1525
  renderMenuItems() {
1523
- return pe(this.data.options, (e) => e.id, (e) => r`<cx-menu-item data-id=${e.id} type="checkbox" ?checked=${this.activeOptionId === e.id}>${e.label}</cx-menu-item>`);
1526
+ return me(this.data.options, (e) => e.id, (e) => r`<cx-menu-item data-id=${e.id} type="checkbox" ?checked=${this.activeOptionId === e.id}>${e.label}</cx-menu-item>`);
1524
1527
  }
1525
1528
  renderTriggerIcon() {
1526
1529
  let { icon: e } = this.data;
@@ -1547,10 +1550,10 @@ var Kn = Gn, qn = class extends d {
1547
1550
  }
1548
1551
  static #e = this.styles = [h];
1549
1552
  static #t = this.dependencies = {
1550
- "cx-button": A,
1551
- "cx-dropdown": me,
1552
- "cx-menu": ge,
1553
- "cx-menu-item": _e
1553
+ "cx-button": j,
1554
+ "cx-dropdown": he,
1555
+ "cx-menu": _e,
1556
+ "cx-menu-item": ve
1554
1557
  };
1555
1558
  handleGroupByOptionsChange() {
1556
1559
  this.groupByOptionIdSet = new Set(this.groupByOptions.map((e) => e.id));
@@ -1588,7 +1591,7 @@ var Kn = Gn, qn = class extends d {
1588
1591
  let e = this.groupByOptionIdSet.has(this.groupByValue) ? this.groupByValue : null;
1589
1592
  return r`<cx-dropdown hoist class="header-actions__group-by"><cx-button slot="trigger" caret>${this.localize.term("groupBy")}</cx-button><cx-menu @cx-select=${this.handleMenuSelect}>${E(!this.groupByOptions.length, () => r`<cx-menu-item disabled=disabled>${this.localize.term("noDataAvailable")}</cx-menu-item>`)}
1590
1593
  ${E(this.groupByOptions.length, () => this.renderOffOption(e))}
1591
- ${pe(this.groupByOptions, (e) => e.id, (t) => this.renderOption(t.id, t.label, e))}</cx-menu></cx-dropdown>`;
1594
+ ${me(this.groupByOptions, (e) => e.id, (t) => this.renderOption(t.id, t.label, e))}</cx-menu></cx-dropdown>`;
1592
1595
  }
1593
1596
  };
1594
1597
  l([
@@ -1609,11 +1612,11 @@ var Jn = qn, Yn = class extends d {
1609
1612
  }
1610
1613
  static #e = this.styles = [h];
1611
1614
  static #t = this.dependencies = {
1612
- "cx-button": A,
1613
- "cx-dropdown": me,
1615
+ "cx-button": j,
1616
+ "cx-dropdown": he,
1614
1617
  "cx-icon": D,
1615
- "cx-menu": ge,
1616
- "cx-menu-item": _e
1618
+ "cx-menu": _e,
1619
+ "cx-menu-item": ve
1617
1620
  };
1618
1621
  createRenderRoot() {
1619
1622
  return this;
@@ -1653,7 +1656,7 @@ var Jn = qn, Yn = class extends d {
1653
1656
  }
1654
1657
  render() {
1655
1658
  return r`<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}>${E(this.savedSearchItems.length === 0 && !this.loading, () => r`<cx-menu-item disabled=disabled>${this.localize.term("noSavedSearch")}</cx-menu-item>`)}
1656
- ${pe(this.savedSearchItems, (e) => e.recordID, (e) => r`<cx-menu-item data-id=${e.recordID}><cx-icon name="search" slot="prefix"></cx-icon>${e.name}</cx-menu-item>`)}
1659
+ ${me(this.savedSearchItems, (e) => e.recordID, (e) => r`<cx-menu-item data-id=${e.recordID}><cx-icon name="search" slot="prefix"></cx-icon>${e.name}</cx-menu-item>`)}
1657
1660
  ${E(this.hasMore, () => r`<cx-button class="header-actions__saved-search__load-more" variant="text" @click=${this.handleLoadMore} ?loading=${this.loading}>${this.localize.term("more")}</cx-button>`)}</cx-menu></cx-dropdown>`;
1658
1661
  }
1659
1662
  };
@@ -1680,25 +1683,25 @@ l([s({
1680
1683
  ], Yn.prototype, "handleSavedSearchURLChange", null), Yn = l([g("cx-table-saved-search-dropdown")], Yn);
1681
1684
  var Xn = Yn, Zn = i`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__input:focus-within{border-radius:var(--cx-input-border-radius-medium);--cx-input-border-color-focus:var(--search-border-color-focus,var(--cx-color-primary-600));outline:var(--search-border-width-focus,0) solid var(--cx-input-border-color-focus)}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger{--cx-button-text-transform:none}.table-dropdown-filter__trigger--icon-only{--padding:0 var(--cx-spacing-x-small)}.table-dropdown-filter__trigger--icon-alone::part(base){gap:0}.table-dropdown-filter__icon{--font-size:var(--dropdown-filter-icon-size,var(--cx-font-size-large));color:var(--dropdown-filter-icon-color,currentColor)}.header-actions__group-by{--cx-button-text-transform:none}.header-actions__group-by .group-by-option--selected{--label-color:var(--cx-color-primary-600)}.header-actions__group-by .group-by-option{--checked-icon-size:20px;--checked-icon-color:var(--cx-color-primary-600)}.toolbar__select-all-checkbox{flex-shrink:0}.header-actions__saved-search{--cx-button-text-transform:none;--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`, V = class extends d {
1682
1685
  constructor(...e) {
1683
- super(...e), this.localize = new _(this), this.hasSlotController = new v(this, "label", "pagination", "add-action"), this.label = "", this.canSearch = !1, this.noAdvancedSearch = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.dropdownFilters = [], this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.showSavedSearch = !1, this.groupByOptions = [], this.groupByValue = "", this.searchValue = "", this.selectAllState = null, this.paginationPlacement = Ft.TopEnd, this.pagination = !1, this.noHeaderRowReserve = !1, this.hasDynamicFilter = !1;
1686
+ super(...e), this.localize = new _(this), this.hasSlotController = new v(this, "label", "pagination", "add-action"), this.label = "", this.canSearch = !1, this.noAdvancedSearch = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.dropdownFilters = [], this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.showSavedSearch = !1, this.groupByOptions = [], this.groupByValue = "", this.searchValue = "", this.selectAllState = null, this.paginationPlacement = It.TopEnd, this.pagination = !1, this.noHeaderRowReserve = !1, this.hasDynamicFilter = !1;
1684
1687
  }
1685
1688
  static #e = this.styles = [h, Zn];
1686
1689
  static #t = this.dependencies = {
1687
- "cx-button": A,
1688
- "cx-checkbox": fe,
1689
- "cx-dropdown": me,
1690
+ "cx-button": j,
1691
+ "cx-checkbox": pe,
1692
+ "cx-dropdown": he,
1690
1693
  "cx-icon": D,
1691
1694
  "cx-icon-button": w,
1692
- "cx-input": he,
1693
- "cx-menu": ge,
1694
- "cx-menu-item": _e,
1695
- "cx-pagination": $e,
1696
- "cx-space": ve,
1695
+ "cx-input": ge,
1696
+ "cx-menu": _e,
1697
+ "cx-menu-item": ve,
1698
+ "cx-pagination": et,
1699
+ "cx-space": ye,
1697
1700
  "cx-table-dropdown-filter": Kn,
1698
1701
  "cx-table-group-by-dropdown": Jn,
1699
1702
  "cx-table-saved-search-dropdown": Xn,
1700
- "cx-tooltip": N,
1701
- "cx-typography": ue
1703
+ "cx-tooltip": se,
1704
+ "cx-typography": de
1702
1705
  };
1703
1706
  handleSelectAllChange(e) {
1704
1707
  let t = e.target;
@@ -1761,7 +1764,7 @@ var Xn = Yn, Zn = i`:host{container-type:inline-size}.header{align-items:center;
1761
1764
  ${E(this.canSaveReport, () => r`<cx-menu-item data-testid="save-report-menu-item" @click=${this.handleSaveReport}>${this.localize.term("saveReport")}</cx-menu-item>`)}</cx-menu></cx-dropdown>`;
1762
1765
  }
1763
1766
  renderDropdownFilters() {
1764
- return r`<cx-space align-items="center" spacing="x-small">${pe(this.dropdownFilters, (e) => e.id, (e) => r`<cx-table-dropdown-filter .data=${e}></cx-table-dropdown-filter>`)}</cx-space>`;
1767
+ return r`<cx-space align-items="center" spacing="x-small">${me(this.dropdownFilters, (e) => e.id, (e) => r`<cx-table-dropdown-filter .data=${e}></cx-table-dropdown-filter>`)}</cx-space>`;
1765
1768
  }
1766
1769
  renderHeaderRow() {
1767
1770
  let e = !!this.label || this.hasSlotController.test("label"), t = this.hasSlotController.test("pagination");
@@ -1791,7 +1794,7 @@ var Xn = Yn, Zn = i`:host{container-type:inline-size}.header{align-items:center;
1791
1794
  ${E(this.hasHeaderActions, () => this.renderHeaderActions())}</cx-space>`;
1792
1795
  }
1793
1796
  };
1794
- l([f("#search-form"), u("design:type", typeof HTMLFormElement > "u" ? Object : HTMLFormElement)], V.prototype, "form", void 0), l([f(".search__input"), u("design:type", he === void 0 ? Object : he)], V.prototype, "searchInput", void 0), l([s({
1797
+ l([f("#search-form"), u("design:type", typeof HTMLFormElement > "u" ? Object : HTMLFormElement)], V.prototype, "form", void 0), l([f(".search__input"), u("design:type", ge === void 0 ? Object : ge)], V.prototype, "searchInput", void 0), l([s({
1795
1798
  attribute: "label",
1796
1799
  type: String
1797
1800
  }), u("design:type", String)], V.prototype, "label", void 0), l([s({
@@ -1854,7 +1857,7 @@ l([f("#search-form"), u("design:type", typeof HTMLFormElement > "u" ? Object : H
1854
1857
  }), u("design:type", String)], V.prototype, "searchValue", void 0), l([s({ attribute: !1 }), u("design:type", Object)], V.prototype, "selectAllState", void 0), l([s({
1855
1858
  attribute: "pagination-placement",
1856
1859
  type: String
1857
- }), u("design:type", Ft === void 0 ? Object : Ft)], V.prototype, "paginationPlacement", void 0), l([s({
1860
+ }), u("design:type", It === void 0 ? Object : It)], V.prototype, "paginationPlacement", void 0), l([s({
1858
1861
  attribute: "pagination",
1859
1862
  reflect: !0,
1860
1863
  type: Boolean
@@ -2260,7 +2263,7 @@ var Qn = V, H = class {
2260
2263
  n && n.classList.remove("tabulator-hover-menu--active");
2261
2264
  }
2262
2265
  createCxTableRowActions() {
2263
- let e = M(cr);
2266
+ let e = N(cr);
2264
2267
  return e.classList.add("tabulator-hover-menu"), e;
2265
2268
  }
2266
2269
  layoutRow(t) {
@@ -2273,16 +2276,16 @@ var Qn = V, H = class {
2273
2276
  }
2274
2277
  }
2275
2278
  getMenuPlacement(t) {
2276
- return t.dataset[e.placementDataAttribute] === Bt.Right ? Bt.Right : Bt.Left;
2279
+ return t.dataset[e.placementDataAttribute] === Vt.Right ? Vt.Right : Vt.Left;
2277
2280
  }
2278
2281
  applyMenuPosition(e, t, n) {
2279
2282
  let r = e.getElement(), i = this.table.rowManager?.element, a = this.table.element;
2280
2283
  if (!i || !a) {
2281
- n === Bt.Left ? (t.style.right = "", t.style.left = "0px") : (t.style.left = "", t.style.right = "0px");
2284
+ n === Vt.Left ? (t.style.right = "", t.style.left = "0px") : (t.style.left = "", t.style.right = "0px");
2282
2285
  return;
2283
2286
  }
2284
2287
  let o = r.getBoundingClientRect(), s = i.getBoundingClientRect(), c = a.getBoundingClientRect(), l = Math.max(s.left, c.left), u = Math.min(s.right, c.right);
2285
- if (n === Bt.Left) {
2288
+ if (n === Vt.Left) {
2286
2289
  t.style.right = "", t.style.left = `${Math.max(0, l - o.left)}px`;
2287
2290
  return;
2288
2291
  }
@@ -2294,7 +2297,7 @@ var Qn = V, H = class {
2294
2297
  let t = e.column.definition?.hoverMenu;
2295
2298
  if (e.hoverMenuElement &&= (e.hoverMenuElement.remove(), null), t && e.element) {
2296
2299
  let n = this.createCxTableRowActions();
2297
- n.actions = t.data, n.row = e.row.getComponent(), n.cell = e.getComponent(), e.element.appendChild(n), e.hoverMenuElement = n, (t.options?.placement ?? "left") === Bt.Left ? (n.style.right = "", n.style.left = "0px") : (n.style.left = "", n.style.right = "0px"), t.options?.style && Object.assign(n.style, t.options.style);
2300
+ n.actions = t.data, n.row = e.row.getComponent(), n.cell = e.getComponent(), e.element.appendChild(n), e.hoverMenuElement = n, (t.options?.placement ?? "left") === Vt.Left ? (n.style.right = "", n.style.left = "0px") : (n.style.left = "", n.style.right = "0px"), t.options?.style && Object.assign(n.style, t.options.style);
2298
2301
  }
2299
2302
  }
2300
2303
  }, ur = { rownum: function(e, t, n, r, i, a) {
@@ -2455,7 +2458,7 @@ var yr = function(e, t, n) {
2455
2458
  super(t), 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", () => {}), this.registerTableOption("ajaxResponse", !1), this.contentTypeFormatters = e.contentTypeFormatters;
2456
2459
  }
2457
2460
  initialize() {
2458
- this.urlGenerator = this.table.options.ajaxURLGenerator || e.defaultURLGenerator, this.loaderPromise = this.table.options.ajaxRequestFunc || e.defaultLoaderPromise.bind(this), (this.table.options.ajaxURL || this.table.options.ajaxRequestFunc) && (this.table.options.filterMode = Vt.Remote, this.table.options.sortMode = Vt.Remote, this.table.options.paginationMode = Vt.Remote, this.table.options.ajaxURL && this.setUrl(this.table.options.ajaxURL)), this.setDefaultConfig(this.table.options.ajaxConfig), this.registerTableFunction("getAjaxUrl", this.getUrl.bind(this)), this.subscribe("data-loading", this.requestDataCheck.bind(this)), this.subscribe("data-params", this.requestParams.bind(this)), this.subscribe("data-load", this.requestData.bind(this));
2461
+ this.urlGenerator = this.table.options.ajaxURLGenerator || e.defaultURLGenerator, this.loaderPromise = this.table.options.ajaxRequestFunc || e.defaultLoaderPromise.bind(this), (this.table.options.ajaxURL || this.table.options.ajaxRequestFunc) && (this.table.options.filterMode = Ht.Remote, this.table.options.sortMode = Ht.Remote, this.table.options.paginationMode = Ht.Remote, this.table.options.ajaxURL && this.setUrl(this.table.options.ajaxURL)), this.setDefaultConfig(this.table.options.ajaxConfig), this.registerTableFunction("getAjaxUrl", this.getUrl.bind(this)), this.subscribe("data-loading", this.requestDataCheck.bind(this)), this.subscribe("data-params", this.requestParams.bind(this)), this.subscribe("data-load", this.requestData.bind(this));
2459
2462
  }
2460
2463
  requestParams(e, t, n, r) {
2461
2464
  let i = this.table.options.ajaxParams;
@@ -2699,15 +2702,15 @@ var Er = class {
2699
2702
  return;
2700
2703
  }
2701
2704
  }
2702
- let i = t ?? this.table.options.scrollToRowPosition ?? It.Top, a;
2703
- switch (a = i === It.Nearest ? this.scrollToRowNearestTop(e) ? It.Top : It.Bottom : i, this.scrollToRow(e), a) {
2704
- case It.Center:
2705
+ let i = t ?? this.table.options.scrollToRowPosition ?? Lt.Top, a;
2706
+ switch (a = i === Lt.Nearest ? this.scrollToRowNearestTop(e) ? Lt.Top : Lt.Bottom : i, this.scrollToRow(e), a) {
2707
+ case Lt.Center:
2705
2708
  this.elementVertical && (this.elementVertical.scrollHeight - this.elementVertical.scrollTop === this.elementVertical.clientHeight ? this.elementVertical.scrollTop = this.elementVertical.scrollTop + (o.offsetTop - this.elementVertical.scrollTop) - (this.elementVertical.scrollHeight - o.offsetTop) / 2 : this.elementVertical.scrollTop = this.elementVertical.scrollTop - this.elementVertical.clientHeight / 2);
2706
2709
  break;
2707
- case It.Bottom:
2710
+ case Lt.Bottom:
2708
2711
  this.elementVertical && (this.elementVertical.scrollHeight - this.elementVertical.scrollTop === this.elementVertical.clientHeight ? this.elementVertical.scrollTop = this.elementVertical.scrollTop - (this.elementVertical.scrollHeight - o.offsetTop) + o.offsetHeight : this.elementVertical.scrollTop = this.elementVertical.scrollTop - this.elementVertical.clientHeight + o.offsetHeight);
2709
2712
  break;
2710
- case It.Top: this.elementVertical && (this.elementVertical.scrollTop = o.offsetTop);
2713
+ case Lt.Top: this.elementVertical && (this.elementVertical.scrollTop = o.offsetTop);
2711
2714
  }
2712
2715
  r();
2713
2716
  } else kr && console.warn("Scroll Error - Row not visible"), i("Scroll Error - Row not visible");
@@ -2759,7 +2762,7 @@ var Ir = class e extends W {
2759
2762
  if (!this.table.destroyed && !this.blocked) {
2760
2763
  e.preventDefault(), e.stopPropagation(), this.customSelection ? (t = this.customSelection, this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t))) : (r = this.table.modules.export?.generateExportList(this.table.options.clipboardCopyConfig, this.table.options.clipboardCopyStyled, this.rowRange, "clipboard"), n = this.table.modules.export?.generateHTMLTable(r), t = n ? this.generatePlainContent(r) : "", this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t), n = this.table.options.clipboardCopyFormatter("html", n ?? "")));
2761
2764
  let i = Fr(e);
2762
- i?.setData && (i.setData("text/plain", t), n && i.setData("text/html", n), Ee("Copied to clipboard", { notificationType: "success" })), this.dispatchExternal("clipboardCopied", t, n), this.reset();
2765
+ i?.setData && (i.setData("text/plain", t), n && i.setData("text/html", n), ke("Copied to clipboard", { notificationType: "success" })), this.dispatchExternal("clipboardCopied", t, n), this.reset();
2763
2766
  }
2764
2767
  }
2765
2768
  handlePasteEvent(e) {
@@ -2909,7 +2912,7 @@ var Ir = class e extends W {
2909
2912
  this.generateElement(), this.setWidth(), this._configureCell();
2910
2913
  }
2911
2914
  generateElement() {
2912
- if (this.element = M(Rr), this.element.setAttribute("role", this.table.options.cellRole ?? "gridcell"), this.column.modules.format?.cellClass) {
2915
+ if (this.element = N(Rr), this.element.setAttribute("role", this.table.options.cellRole ?? "gridcell"), this.column.modules.format?.cellClass) {
2913
2916
  let e = this.column.modules.format?.cellClass;
2914
2917
  e && e.split(/\s+/).filter(Boolean).forEach((e) => this.element.classList.add(e));
2915
2918
  }
@@ -2949,7 +2952,7 @@ var Ir = class e extends W {
2949
2952
  _generateContents() {
2950
2953
  if (!this.element) return;
2951
2954
  this.contentElement?.parentNode !== this.element && (this.contentElement = document.createElement("div"), this.contentElement.className = "tabulator-cell-content", this.element.appendChild(this.contentElement));
2952
- let e = this.chain("cell-format", [this], null, () => j(String(this.value ?? "")));
2955
+ let e = this.chain("cell-format", [this], null, () => M(String(this.value ?? "")));
2953
2956
  switch (typeof e) {
2954
2957
  case "object":
2955
2958
  if (e instanceof Node) {
@@ -2963,7 +2966,7 @@ var Ir = class e extends W {
2963
2966
  default: {
2964
2967
  for (; this.contentElement.firstChild;) this.contentElement.firstChild.remove();
2965
2968
  let t = document.createElement("cx-line-clamp");
2966
- t.lines = 1, Object.assign(t.style, this.getTextFormat()), t.innerHTML = j(String(e)), this.contentElement.appendChild(t);
2969
+ t.lines = 1, Object.assign(t.style, this.getTextFormat()), t.innerHTML = M(String(e)), this.contentElement.appendChild(t);
2967
2970
  }
2968
2971
  }
2969
2972
  }
@@ -3181,7 +3184,7 @@ var Ir = class e extends W {
3181
3184
  case "undefined":
3182
3185
  e.innerHTML = "";
3183
3186
  break;
3184
- default: e.innerHTML = `<cx-line-clamp lines="1">${j(String(n))}</cx-line-clamp>`;
3187
+ default: e.innerHTML = `<cx-line-clamp lines="1">${M(String(n))}</cx-line-clamp>`;
3185
3188
  }
3186
3189
  }
3187
3190
  _buildGroupHeader() {
@@ -3999,7 +4002,7 @@ var Ir = class e extends W {
3999
4002
  initialize() {
4000
4003
  if (this.table.options.dataTree) {
4001
4004
  let e = null, t = this.table.options;
4002
- switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && ii && console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = M(ei) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = j(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = M(ti), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = j(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = M(Zr), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = j(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = M(Qr), typeof t.dataTreeStartExpanded) {
4005
+ switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && ii && console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = N(ei) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = M(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = N(ti), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = M(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = N(Zr), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = M(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = N(Qr), typeof t.dataTreeStartExpanded) {
4003
4006
  case "boolean":
4004
4007
  this.startOpen = function() {
4005
4008
  return t.dataTreeStartExpanded;
@@ -4085,7 +4088,7 @@ var Ir = class e extends W {
4085
4088
  i.addEventListener("mousedown", (e) => {
4086
4089
  e.stopPropagation();
4087
4090
  });
4088
- } else i = M($r);
4091
+ } else i = N($r);
4089
4092
  i.style.setProperty("margin-inline-end", `${this.indent}px`), i.style.setProperty("margin-inline-start", "0px"), e.modules.dataTree.controlEl = i, r && r.parentNode === t ? r.parentNode.replaceChild(i, r) : t.insertBefore(i, t.firstChild);
4090
4093
  }
4091
4094
  }
@@ -4131,7 +4134,7 @@ var Ir = class e extends W {
4131
4134
  generateLoadMoreButton({ childLevel: e, parentRow: t }) {
4132
4135
  let n = new Xr({ id: "load-more" }, this.table.rowManager);
4133
4136
  n.create(), n.modules.dataTree.index = e, n.modules.dataTree.parent = t, n.modules.dataTree.children = !1, n.modules.dataTree.open = !0;
4134
- let r = M(ni);
4137
+ let r = N(ni);
4135
4138
  return n.getElement()?.classList.add("tabulator-tree-level-" + e), n.element.appendChild(r), r.style.setProperty("--tabulator-tree-level", String(e + 1)), r.style.setProperty("--tabulator-tree-child-indent", `${this.indent}px`), r.style.setProperty("margin-inline-start", `calc(${e + 1} * var(--tabulator-tree-step))`), r.addEventListener("click", () => {
4136
4139
  this.dispatchExternal("dataTreeLoadMore", t.getComponent(), t.modules.dataTree.index);
4137
4140
  }), n;
@@ -4139,7 +4142,7 @@ var Ir = class e extends W {
4139
4142
  generateLoadingRow({ childLevel: e, parentRow: t }) {
4140
4143
  let n = new Xr({ id: "loading" }, this.table.rowManager);
4141
4144
  n.create(), n.modules.dataTree.index = e, n.modules.dataTree.parent = t, n.modules.dataTree.children = !1, n.modules.dataTree.open = !0;
4142
- let r = M(ri);
4145
+ let r = N(ri);
4143
4146
  return n.element.appendChild(r), n.getElement()?.classList.add("tabulator-tree-level-" + e), r.style.setProperty("--tabulator-tree-level", String(e + 1)), r.style.setProperty("--tabulator-tree-child-indent", `${this.indent}px`), r.style.setProperty("margin-inline-start", `calc(${e + 1} * var(--tabulator-tree-step))`), n;
4144
4147
  }
4145
4148
  expandRow(e, t) {
@@ -4722,7 +4725,7 @@ function Mi(e, t, n) {
4722
4725
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/avatar.ts
4723
4726
  function Ni(e, t) {
4724
4727
  let n = t ?? {}, i = e.getValue(), a = i != null && i !== "", o = !!n.initials;
4725
- return !a && !o ? "" : M(r`<cx-avatar image=${T(a ? String(i) : void 0)} initials=${T(n.initials)} label=${T(n.label)} shape=${T(n.shape)} style="--size: ${n.size ?? "2rem"}"></cx-avatar>`);
4728
+ return !a && !o ? "" : N(r`<cx-avatar image=${T(a ? String(i) : void 0)} initials=${T(n.initials)} label=${T(n.label)} shape=${T(n.shape)} style="--size: ${n.size ?? "2rem"}"></cx-avatar>`);
4726
4729
  }
4727
4730
  //#endregion
4728
4731
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/buttonCross.ts
@@ -4747,7 +4750,7 @@ function Li(e) {
4747
4750
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/composite.ts
4748
4751
  var Ri = r`<span style="display: inline-flex; align-items: center;"></span>`;
4749
4752
  function zi({ spacing: e, style: t }) {
4750
- let n = M(Ri);
4753
+ let n = N(Ri);
4751
4754
  return e && (n.style.margin = e), t && Object.assign(n.style, t), n;
4752
4755
  }
4753
4756
  function Bi(e, t, n) {
@@ -4793,7 +4796,7 @@ function Wi(e, t, n) {
4793
4796
  return t.valueMap && (r = t.valueMap[String(r)] ?? r), !Hi(r);
4794
4797
  });
4795
4798
  if (Hi(s) && !c && t.placeholder !== void 0) return Bi.call(this, e, t, n);
4796
- let l = e.getRow(), { align: u, block: d, containerStyle: f, direction: p, gap: m, justifyContent: h, wrap: g } = t, _ = r`<cx-space class="tabulator-composite" style=${k(f ?? {})} align-items=${u ?? "center"} ?block=${d} direction=${T(p)} justify-content=${T(h)} spacing=${m ?? "3x-small"} wrap=${g ?? "nowrap"}></cx-space>`, v = M(_), y = [];
4799
+ let l = e.getRow(), { align: u, block: d, containerStyle: f, direction: p, gap: m, justifyContent: h, wrap: g } = t, _ = r`<cx-space class="tabulator-composite" style=${k(f ?? {})} align-items=${u ?? "center"} ?block=${d} direction=${T(p)} justify-content=${T(h)} spacing=${m ?? "3x-small"} wrap=${g ?? "nowrap"}></cx-space>`, v = N(_), y = [];
4797
4800
  if (t.elements.forEach((t) => {
4798
4801
  let r = Ui({
4799
4802
  cell: e,
@@ -4850,7 +4853,7 @@ function Gi(e) {
4850
4853
  }
4851
4854
  function Ki(e, t) {
4852
4855
  let n = t ?? {}, i = Gi(e.getValue());
4853
- return i === void 0 ? "" : M(r`<cx-format-date date=${i.toISOString()} weekday=${T(n.weekday)} era=${T(n.era)} year=${T(n.year)} month=${T(n.month)} day=${T(n.day)} hour=${T(n.hour)} minute=${T(n.minute)} second=${T(n.second)} time-zone-name=${T(n.timeZoneName)} time-zone=${T(n.timeZone)} hour-format=${T(n.hourFormat)} ?no-datetime-separator=${n.noDatetimeSeparator ?? !1}></cx-format-date>`);
4856
+ return i === void 0 ? "" : N(r`<cx-format-date date=${i.toISOString()} weekday=${T(n.weekday)} era=${T(n.era)} year=${T(n.year)} month=${T(n.month)} day=${T(n.day)} hour=${T(n.hour)} minute=${T(n.minute)} second=${T(n.second)} time-zone-name=${T(n.timeZoneName)} time-zone=${T(n.timeZone)} hour-format=${T(n.hourFormat)} ?no-datetime-separator=${n.noDatetimeSeparator ?? !1}></cx-format-date>`);
4854
4857
  }
4855
4858
  //#endregion
4856
4859
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/datetime.ts
@@ -4881,7 +4884,7 @@ function Zi(e, t) {
4881
4884
  }
4882
4885
  function Qi(e, t) {
4883
4886
  let n = t ?? {}, i = n.arraySeparator ?? ", ", a = (t) => typeof t == "function" ? t(e) : t, o = Zi(a(n.newValue) ?? e.getValue(), i), s = Zi(a(n.oldValue) ?? "", i), c = ie(s), l = ie(o), u = c && l ? `${c} ${l}` : l || c;
4884
- return M(r`<cx-line-clamp lines="1" clamped-tooltip=${u}><cx-diff old-value=${s} new-value=${o}></cx-diff></cx-line-clamp>`);
4887
+ return N(r`<cx-line-clamp lines="1" clamped-tooltip=${u}><cx-diff old-value=${s} new-value=${o}></cx-diff></cx-line-clamp>`);
4885
4888
  }
4886
4889
  //#endregion
4887
4890
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/handle.ts
@@ -4900,7 +4903,7 @@ var ta = r`<cx-icon></cx-icon>`;
4900
4903
  function na(e, t) {
4901
4904
  let n = e.getValue(), r = t ?? {}, i;
4902
4905
  if (i = r.getIcon ? r.getIcon(n) : typeof r.icon == "function" ? r.icon(n) : r.iconMap ? r.iconMap[n] : r.icon ? r.icon : n ? String(n) : void 0, !i) return;
4903
- let a = M(ta);
4906
+ let a = N(ta);
4904
4907
  if (a.name = i, r.size !== void 0) switch (typeof r.size) {
4905
4908
  case "number":
4906
4909
  a.style.setProperty("--font-size", `${r.size}px`);
@@ -4915,7 +4918,7 @@ var ra = r`<div style="display: flex; align-items: center; justify-content: cent
4915
4918
  function ia(e, t) {
4916
4919
  let n = e.getValue();
4917
4920
  if (!n) return null;
4918
- let r = M(ra), i = r.querySelector("img"), a = t ?? {};
4921
+ let r = N(ra), i = r.querySelector("img"), a = t ?? {};
4919
4922
  switch (a.urlPrefix && (n = a.urlPrefix + e.getValue()), a.urlSuffix && (n += a.urlSuffix), i.setAttribute("src", String(n)), i.setAttribute("alt", typeof a.alt == "string" ? a.alt : ""), typeof a.height) {
4920
4923
  case "number":
4921
4924
  r.style.height = a.height + "px";
@@ -4978,8 +4981,8 @@ function ca(e, t, n) {
4978
4981
  "mailto:",
4979
4982
  "tel:",
4980
4983
  ""
4981
- ].includes(u.protocol) || n.startsWith("#") ? c.setAttribute("href", n) : (sa && console.warn("Link formatter blocked potentially unsafe URL:", n), c.setAttribute("href", "#")), t.target && c.setAttribute("target", t.target), t.rel && c.setAttribute("rel", t.rel), t.download && (o = typeof o == "function" ? o(e) : o === !0 ? "" : o, c.setAttribute("download", String(o))), c.innerHTML = ae(j(s));
4982
- let d = M(r`<cx-line-clamp lines="1"></cx-line-clamp>`);
4984
+ ].includes(u.protocol) || n.startsWith("#") ? c.setAttribute("href", n) : (sa && console.warn("Link formatter blocked potentially unsafe URL:", n), c.setAttribute("href", "#")), t.target && c.setAttribute("target", t.target), t.rel && c.setAttribute("rel", t.rel), t.download && (o = typeof o == "function" ? o(e) : o === !0 ? "" : o, c.setAttribute("download", String(o))), c.innerHTML = ae(M(s));
4985
+ let d = N(r`<cx-line-clamp lines="1"></cx-line-clamp>`);
4983
4986
  return d.appendChild(c), d;
4984
4987
  }
4985
4988
  return "\xA0";
@@ -4995,7 +4998,7 @@ function ua(e, t, n) {
4995
4998
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/money.ts
4996
4999
  function da(e, t, n) {
4997
5000
  let r = parseFloat(e.getValue()), i = "", a, o, s, c, l = t.decimal || ".", u = t.thousand || ",", d = t.negativeSign || "-", f = t.symbol || "", p = !!t.symbolAfter, m = t.precision === void 0 ? 2 : t.precision;
4998
- if (isNaN(r)) return ae(j(re(e.getValue())));
5001
+ if (isNaN(r)) return ae(M(re(e.getValue())));
4999
5002
  r < 0 && (r = Math.abs(r), i = d), a = m === !1 ? String(r) : r.toFixed(m), a = String(a).split("."), o = a[0];
5000
5003
  let h = a.length > 1 ? l + a[1] : "";
5001
5004
  if (t.thousand !== !1) for (s = /(\d+)(\d{3})/; s.test(o);) o = o.replace(s, "$1" + u + "$2");
@@ -5009,7 +5012,7 @@ function pa(e, t) {
5009
5012
  if (n == null || n === "") return;
5010
5013
  let r = Number(n);
5011
5014
  if (Number.isNaN(r)) return;
5012
- let i = t ?? {}, a = M(fa);
5015
+ let i = t ?? {}, a = N(fa);
5013
5016
  a.value = r;
5014
5017
  for (let e of Object.keys(i)) {
5015
5018
  let t = i[e];
@@ -5020,15 +5023,15 @@ function pa(e, t) {
5020
5023
  //#endregion
5021
5024
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/plaintext.ts
5022
5025
  function ma(e, t) {
5023
- let n = ae(j(re(e.getValue()))), i = t ?? {};
5026
+ let n = ae(M(re(e.getValue()))), i = t ?? {};
5024
5027
  i.prefix && (n = i.prefix + n), i.suffix && (n += i.suffix);
5025
5028
  let a = r`<cx-line-clamp lines="1"><span style=${k(i.style ?? {})}>${n}</span></cx-line-clamp>`;
5026
- return M(a);
5029
+ return N(a);
5027
5030
  }
5028
5031
  //#endregion
5029
5032
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/progress.ts
5030
5033
  function ha(e, t = {}, n) {
5031
- let r = j(e.getValue()) || 0, i = e.getElement(), a = t.max ? t.max : 100, o = t.min ? t.min : 0, s = t.legendAlign ? t.legendAlign : "center", c, l, u = !1, d;
5034
+ let r = M(e.getValue()) || 0, i = e.getElement(), a = t.max ? t.max : 100, o = t.min ? t.min : 0, s = t.legendAlign ? t.legendAlign : "center", c, l, u = !1, d;
5032
5035
  c = parseFloat(String(r)) <= a ? parseFloat(String(r)) : a, c = parseFloat(String(c)) >= o ? parseFloat(String(c)) : o;
5033
5036
  let f = a - o;
5034
5037
  if (f <= 0) c = 0;
@@ -5084,7 +5087,7 @@ function ha(e, t = {}, n) {
5084
5087
  let m = document.createElement("div");
5085
5088
  m.style.position = "relative", m.style.width = "100%", m.style.height = "100%";
5086
5089
  let h;
5087
- return u && (h = document.createElement("div"), h.style.position = "absolute", h.style.top = "0", h.style.left = "0", h.style.textAlign = s, h.style.width = "100%", h.style.color = d, h.innerHTML = j(String(u))), n(() => {
5090
+ return u && (h = document.createElement("div"), h.style.position = "absolute", h.style.top = "0", h.style.left = "0", h.style.textAlign = s, h.style.width = "100%", h.style.color = d, h.innerHTML = M(String(u))), n(() => {
5088
5091
  if (!i) return;
5089
5092
  let t;
5090
5093
  if (e instanceof Lr) t = e.getContentElement();
@@ -5163,7 +5166,7 @@ function wa(e, t) {
5163
5166
  let t = document.createElement("span");
5164
5167
  return t.textContent = String(e.getValue() ?? ""), t;
5165
5168
  }
5166
- let n = M(ya), { offValue: r, onValue: i } = ba(t);
5169
+ let n = N(ya), { offValue: r, onValue: i } = ba(t);
5167
5170
  return t.size && (n.size = t.size), n.disabled = (typeof t.disabled == "function" ? t.disabled : () => !1)(e), Ca(n, e, i, r), n;
5168
5171
  }
5169
5172
  //#endregion
@@ -5177,18 +5180,18 @@ function Ea(e, t) {
5177
5180
  removable: !1,
5178
5181
  size: "medium",
5179
5182
  variant: "neutral"
5180
- }, i = M(Ta);
5183
+ }, i = N(Ta);
5181
5184
  return Object.assign(i, r), i.textContent = t?.getTagContent?.(n) ?? t?.tagContentMap?.[n] ?? String(n), i;
5182
5185
  }
5183
5186
  //#endregion
5184
5187
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/textarea.ts
5185
5188
  function Da(e) {
5186
- return ae(j(re(e.getValue())));
5189
+ return ae(M(re(e.getValue())));
5187
5190
  }
5188
5191
  //#endregion
5189
5192
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/tickCross.ts
5190
5193
  function Oa(e, t, n) {
5191
- let r = e.getValue(), i = e.getElement(), a = t.allowEmpty, o = t.allowTruthy, s = Object.prototype.hasOwnProperty.call(t, "trueValue"), c = (typeof t.tickElement == "string" ? j(t.tickElement) : t.tickElement) ?? "<svg enable-background=\"new 0 0 24 24\" height=\"14\" width=\"14\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" role=\"img\" aria-label=\"true\" ><path fill=\"#2DC214\" clip-rule=\"evenodd\" d=\"M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z\" fill-rule=\"evenodd\"/></svg>", l = (typeof t.crossElement == "string" ? j(t.crossElement) : t.crossElement) ?? "<svg enable-background=\"new 0 0 24 24\" height=\"14\" width=\"14\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" role=\"img\" aria-label=\"false\" ><path fill=\"#CE1515\" d=\"M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z\"/></svg>";
5194
+ let r = e.getValue(), i = e.getElement(), a = t.allowEmpty, o = t.allowTruthy, s = Object.prototype.hasOwnProperty.call(t, "trueValue"), c = (typeof t.tickElement == "string" ? M(t.tickElement) : t.tickElement) ?? "<svg enable-background=\"new 0 0 24 24\" height=\"14\" width=\"14\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" role=\"img\" aria-label=\"true\" ><path fill=\"#2DC214\" clip-rule=\"evenodd\" d=\"M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z\" fill-rule=\"evenodd\"/></svg>", l = (typeof t.crossElement == "string" ? M(t.crossElement) : t.crossElement) ?? "<svg enable-background=\"new 0 0 24 24\" height=\"14\" width=\"14\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" role=\"img\" aria-label=\"false\" ><path fill=\"#CE1515\" d=\"M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z\"/></svg>";
5192
5195
  return s && r === t.trueValue || !s && (o && r || r === !0 || r === "true" || r === "True" || r === 1 || r === "1") ? (i && i.setAttribute("aria-checked", "true"), c || "") : a && (r === "null" || r === "" || r == null) ? (i && i.setAttribute("aria-checked", "mixed"), "") : (i && i.setAttribute("aria-checked", "false"), l || "");
5193
5196
  }
5194
5197
  //#endregion
@@ -5212,7 +5215,7 @@ function ja(e) {
5212
5215
  }
5213
5216
  function Ma(e, t) {
5214
5217
  let n = Aa(t ?? {}, e), i = ka(e.getValue()), a = ja(n);
5215
- return M(r`<cx-format-time .duration=${i} display-style=${T(n.displayStyle)} input-unit=${T(n.inputUnit)} locale=${T(n.locale)} placeholder=${T(n.placeholder)} units-format=${T(n.unitsFormat)} style=${k(a)}></cx-format-time>`);
5218
+ return N(r`<cx-format-time .duration=${i} display-style=${T(n.displayStyle)} input-unit=${T(n.inputUnit)} locale=${T(n.locale)} placeholder=${T(n.placeholder)} units-format=${T(n.unitsFormat)} style=${k(a)}></cx-format-time>`);
5216
5219
  }
5217
5220
  //#endregion
5218
5221
  //#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/toggle.ts
@@ -5234,7 +5237,7 @@ var Pa = r`<span class="tabulator-traffic-light-container"><span class="tabulato
5234
5237
  function Fa(e, t, n, r) {
5235
5238
  let i = e.getValue();
5236
5239
  if (i == null || i === "") return;
5237
- let a = M(Pa), o = t?.getColor?.(i) ?? t?.colorMap?.[i];
5240
+ let a = N(Pa), o = t?.getColor?.(i) ?? t?.colorMap?.[i];
5238
5241
  if (o) {
5239
5242
  let e = a.querySelector(".tabulator-traffic-light");
5240
5243
  e && (e.style.backgroundColor = o);
@@ -5248,8 +5251,8 @@ function Ia(e, t) {
5248
5251
  let n = e.getValue();
5249
5252
  if (n == null || n === "") return;
5250
5253
  let i = t ?? {}, a;
5251
- i.getVariant && (a = i.getVariant(n)), !a && i.variantMap && (a = i.variantMap[n]), !a && i.variant && (a = i.variant), a ??= le.Body1;
5252
- let o = r`<cx-line-clamp lines="1"><cx-typography style=${k(i.style ?? {})}></cx-typography></cx-line-clamp>`, s = M(o), c = s.querySelector("cx-typography");
5254
+ i.getVariant && (a = i.getVariant(n)), !a && i.variantMap && (a = i.variantMap[n]), !a && i.variant && (a = i.variant), a ??= ue.Body1;
5255
+ let o = r`<cx-line-clamp lines="1"><cx-typography style=${k(i.style ?? {})}></cx-typography></cx-line-clamp>`, s = N(o), c = s.querySelector("cx-typography");
5253
5256
  c.variant = a;
5254
5257
  let l = String(n);
5255
5258
  return i.prefix && (l = i.prefix + l), i.suffix && (l += i.suffix), c.textContent = l, s;
@@ -5433,7 +5436,7 @@ var Ra = class e extends W {
5433
5436
  return t = typeof e == "string" ? oe(e) : e, t && (t.slot = "prefix"), t;
5434
5437
  }
5435
5438
  _createSelectElement() {
5436
- let { autocomplete: e, clearable: t, fallbackOption: n, freeWidth: i, placeholder: a } = this.params, o = r`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${i ?? !1} placeholder=${T(a)}></cx-select>`, s = M(o);
5439
+ let { autocomplete: e, clearable: t, fallbackOption: n, freeWidth: i, placeholder: a } = this.params, o = r`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${i ?? !1} placeholder=${T(a)}></cx-select>`, s = N(o);
5437
5440
  n?.value != null && (s.fallbackOptionValue = this.sanitizeValue(n.value));
5438
5441
  let c = this.createPrefixElement();
5439
5442
  return c && s.prepend(c), e || (s.style.cursor = "default", s.style.caretColor = "transparent"), this._bindInputEvents(s), s;
@@ -5651,7 +5654,7 @@ var Ra = class e extends W {
5651
5654
  }
5652
5655
  }
5653
5656
  _appendDivider() {
5654
- let e = M(Va);
5657
+ let e = N(Va);
5655
5658
  this.input.appendChild(e);
5656
5659
  }
5657
5660
  _appendSectionLabel(e) {
@@ -5661,12 +5664,12 @@ var Ra = class e extends W {
5661
5664
  _appendLeafOption(e) {
5662
5665
  let t = e.element;
5663
5666
  if (!t) {
5664
- t = M(Ba), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
5667
+ t = N(Ba), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
5665
5668
  let n = this.formatItemLabel(e, t);
5666
- n && typeof n == "object" && "nodeType" in n && n instanceof HTMLElement ? t.appendChild(n) : t.innerHTML = j(String(n || ""));
5669
+ n && typeof n == "object" && "nodeType" in n && n instanceof HTMLElement ? t.appendChild(n) : t.innerHTML = M(String(n || ""));
5667
5670
  let r = this.params.fallbackOption?.prefix;
5668
5671
  if (e.isFallbackOption && r) {
5669
- let e = oe(`<div style="display: inline-flex" slot="prefix">${j(r)}</div>`);
5672
+ let e = oe(`<div style="display: inline-flex" slot="prefix">${M(r)}</div>`);
5670
5673
  e && t.prepend(e);
5671
5674
  }
5672
5675
  t.classList.add("tabulator-edit-list-item", "tabulator-edit-list-group-level-" + e.level), e.element = t;
@@ -6199,7 +6202,7 @@ var Ra = class e extends W {
6199
6202
  if (e.column.definition.editor !== "list") return;
6200
6203
  let t = e.getElement(!0);
6201
6204
  if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${$a}`)) return;
6202
- let n = M(eo);
6205
+ let n = N(eo);
6203
6206
  n.addEventListener("mousedown", (e) => {
6204
6207
  e.preventDefault(), e.stopPropagation();
6205
6208
  }), n.addEventListener("click", (n) => {
@@ -6488,7 +6491,7 @@ var Ra = class e extends W {
6488
6491
  return e.columns.forEach((e) => {
6489
6492
  if (e?.component && "_column" in e.component) {
6490
6493
  let t = document.createElement("th"), n = e.component._column.definition.cssClass ? e.component._column.definition.cssClass.split(" ") : [];
6491
- t.colSpan = e.width, t.rowSpan = e.height, t.innerHTML = j(String(e.value)), this.cloneTableStyle && (t.style.boxSizing = "border-box"), n.forEach((e) => {
6494
+ t.colSpan = e.width, t.rowSpan = e.height, t.innerHTML = M(String(e.value)), this.cloneTableStyle && (t.style.boxSizing = "border-box"), n.forEach((e) => {
6492
6495
  t.classList.add(e);
6493
6496
  });
6494
6497
  let i = e.component.getElement();
@@ -6529,7 +6532,7 @@ var Ra = class e extends W {
6529
6532
  }
6530
6533
  generateGroupElement(e, t, n) {
6531
6534
  let r = document.createElement("tr"), i = document.createElement("td"), a = e.columns[0];
6532
- return a ? (r.classList.add("tabulator-print-table-row"), t.groupHeader && Array.isArray(t.groupHeader) && t.groupHeader[e.indent] ? a.value = t.groupHeader[e.indent](a.value, e.component?._group?.getRowCount() || 0, e.component?._group?.getData() || {}, e.component || {}) : t.groupHeader !== !1 && e.component && e.component?._group && (a.value = e.component._group.generator(a.value, e.component._group.getRowCount(), e.component._group.getData(), e.component)), i.colSpan = a.width, i.innerHTML = j(String(a.value)), r.classList.add("tabulator-print-table-group", "tabulator-group-level-" + e.indent), a.component && a.component.isVisible() && r.classList.add("tabulator-group-visible"), this.mapElementStyles(n.firstGroup, r, [
6535
+ return a ? (r.classList.add("tabulator-print-table-row"), t.groupHeader && Array.isArray(t.groupHeader) && t.groupHeader[e.indent] ? a.value = t.groupHeader[e.indent](a.value, e.component?._group?.getRowCount() || 0, e.component?._group?.getData() || {}, e.component || {}) : t.groupHeader !== !1 && e.component && e.component?._group && (a.value = e.component._group.generator(a.value, e.component._group.getRowCount(), e.component._group.getData(), e.component)), i.colSpan = a.width, i.innerHTML = M(String(a.value)), r.classList.add("tabulator-print-table-group", "tabulator-group-level-" + e.indent), a.component && a.component.isVisible() && r.classList.add("tabulator-group-visible"), this.mapElementStyles(n.firstGroup, r, [
6533
6536
  "border-top",
6534
6537
  "border-left",
6535
6538
  "border-right",
@@ -6609,7 +6612,7 @@ var Ra = class e extends W {
6609
6612
  break;
6610
6613
  case "undefined": u = "";
6611
6614
  }
6612
- u instanceof Node ? o.appendChild(u) : o.innerHTML = j(String(u));
6615
+ u instanceof Node ? o.appendChild(u) : o.innerHTML = M(String(u));
6613
6616
  let p = [
6614
6617
  "padding-top",
6615
6618
  "padding-left",
@@ -7002,7 +7005,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7002
7005
  super(e), this.filterList = [], this.headerFilters = {}, this.headerFilterColumns = [], this.prevHeaderFilterChangeCheck = "", this.prevHeaderFilterChangeCheck = "{}", this.changed = !1, this.tableInitialized = !1, this.registerTableOption("filterMode", "local"), this.registerTableOption("initialFilter", !1), this.registerTableOption("initialHeaderFilter", !1), this.registerTableOption("headerFilterLiveFilterDelay", 300), this.registerTableOption("placeholderHeaderFilter", !1), this.registerColumnOption("headerFilter"), this.registerColumnOption("headerFilterPlaceholder"), this.registerColumnOption("headerFilterParams"), this.registerColumnOption("headerFilterEmptyCheck"), this.registerColumnOption("headerFilterFunc"), this.registerColumnOption("headerFilterFuncParams"), this.registerColumnOption("headerFilterLiveFilter"), this.registerTableFunction("searchRows", this.searchRows.bind(this)), this.registerTableFunction("searchData", this.searchData.bind(this)), this.registerTableFunction("setFilter", this.userSetFilter.bind(this)), this.registerTableFunction("createFilterFieldFunction", this.createFilterFieldFunction.bind(this)), this.registerTableFunction("refreshFilter", this.userRefreshFilter.bind(this)), this.registerTableFunction("addFilter", this.userAddFilter.bind(this)), this.registerTableFunction("getFilters", this.getFilters.bind(this)), this.registerTableFunction("setHeaderFilterFocus", this.userSetHeaderFilterFocus.bind(this)), this.registerTableFunction("getHeaderFilterValue", this.userGetHeaderFilterValue.bind(this)), this.registerTableFunction("setHeaderFilterValue", this.userSetHeaderFilterValue.bind(this)), this.registerTableFunction("getHeaderFilters", this.getHeaderFilters.bind(this)), this.registerTableFunction("removeFilter", this.userRemoveFilter.bind(this)), this.registerTableFunction("clearFilter", this.userClearFilter.bind(this)), this.registerTableFunction("clearHeaderFilter", this.userClearHeaderFilter.bind(this)), this.registerComponentFunction("column", "headerFilterFocus", this.setHeaderFilterFocus.bind(this)), this.registerComponentFunction("column", "reloadHeaderFilter", this.reloadHeaderFilter.bind(this)), this.registerComponentFunction("column", "getHeaderFilterValue", this.getHeaderFilterValue.bind(this)), this.registerComponentFunction("column", "setHeaderFilterValue", this.setHeaderFilterValue.bind(this));
7003
7006
  }
7004
7007
  initialize() {
7005
- this.subscribe("column-init", this.initializeColumnHeaderFilter.bind(this)), this.subscribe("column-width-fit-before", this.hideHeaderFilterElements.bind(this)), this.subscribe("column-width-fit-after", this.showHeaderFilterElements.bind(this)), this.subscribe("table-built", this.tableBuilt.bind(this)), this.subscribe("placeholder", this.generatePlaceholder.bind(this)), this.table.options.filterMode === Vt.Remote && this.subscribe("data-params", this.remoteFilterParams.bind(this)), this.registerDataHandler(this.filter.bind(this), 10);
7008
+ this.subscribe("column-init", this.initializeColumnHeaderFilter.bind(this)), this.subscribe("column-width-fit-before", this.hideHeaderFilterElements.bind(this)), this.subscribe("column-width-fit-after", this.showHeaderFilterElements.bind(this)), this.subscribe("table-built", this.tableBuilt.bind(this)), this.subscribe("placeholder", this.generatePlaceholder.bind(this)), this.table.options.filterMode === Ht.Remote && this.subscribe("data-params", this.remoteFilterParams.bind(this)), this.registerDataHandler(this.filter.bind(this), 10);
7006
7009
  }
7007
7010
  tableBuilt() {
7008
7011
  this.table.options.initialFilter && this.setFilter(this.table.options.initialFilter), this.table.options.initialHeaderFilter && this.table.options.initialHeaderFilter.forEach((e) => {
@@ -7224,7 +7227,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7224
7227
  e && (e.modules.filter && e.modules.filter.headerElement ? this.generateHeaderFilterElement(e, e.modules.filter.value, !0) : q && console.warn("Column Filter Error - No header filter set on column:", e.getField()));
7225
7228
  }
7226
7229
  refreshFilter() {
7227
- this.tableInitialized && (this.table.options.filterMode === Vt.Remote ? this.reloadData(null, !1, !1) : this.refreshData(!0));
7230
+ this.tableInitialized && (this.table.options.filterMode === Ht.Remote ? this.reloadData(null, !1, !1) : this.refreshData(!0));
7228
7231
  }
7229
7232
  trackChanges() {
7230
7233
  this.changed = !0, this.dispatch("filter-changed");
@@ -7376,7 +7379,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7376
7379
  }
7377
7380
  filter(e, t) {
7378
7381
  let n = [], r = [];
7379
- return this.subscribedExternal("dataFiltering") && this.dispatchExternal("dataFiltering", this.getFilters(!0)), this.table.options.filterMode !== Vt.Remote && (this.filterList.length || Object.keys(this.headerFilters).length) ? e.forEach((e) => {
7382
+ return this.subscribedExternal("dataFiltering") && this.dispatchExternal("dataFiltering", this.getFilters(!0)), this.table.options.filterMode !== Ht.Remote && (this.filterList.length || Object.keys(this.headerFilters).length) ? e.forEach((e) => {
7380
7383
  this.filterRow(e) && n.push(e);
7381
7384
  }) : e.forEach((e) => n.push(e)), this.subscribedExternal("dataFiltered") && (n.forEach((e) => {
7382
7385
  r.push(e.getComponent());
@@ -7593,7 +7596,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7593
7596
  this.element = !1, this.arrowElement = !1, this.elementContents = !1, this.heightInitialized = !1, this._loadMoreRow = !1, this._loadMoreStateKey = "";
7594
7597
  }
7595
7598
  createElements() {
7596
- this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute("role", this.groupManager.table.options.rowGroupRole ?? "rowgroup"), this.arrowElement = M(Yo), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(this);
7599
+ this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute("role", this.groupManager.table.options.rowGroupRole ?? "rowgroup"), this.arrowElement = N(Yo), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(this);
7597
7600
  }
7598
7601
  createValueGroups() {
7599
7602
  let e = this.level + 1;
@@ -7641,7 +7644,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7641
7644
  e.parentElement !== n && e.remove();
7642
7645
  });
7643
7646
  let e = n.querySelector(".tabulator-group-level-indent");
7644
- e || (e = M(Xo), n.insertBefore(e, n.firstChild)), this.applyGroupIndent(e, (this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)), e.dataset.groupLevel = this.level.toString();
7647
+ e || (e = N(Xo), n.insertBefore(e, n.firstChild)), this.applyGroupIndent(e, (this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)), e.dataset.groupLevel = this.level.toString();
7645
7648
  }
7646
7649
  }
7647
7650
  insertRow(e, t, n) {
@@ -7685,10 +7688,10 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7685
7688
  if (!e?.hasMore || !n) return this._loadMoreRow = !1, !1;
7686
7689
  let r = new Xr({ id: `group-load-more:${this.getPathKey()}` }, n), i = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36);
7687
7690
  if (r.create(), e.loading) {
7688
- let e = M(Qo);
7691
+ let e = N(Qo);
7689
7692
  return r.element.appendChild(e), this.applyGroupIndent(e, i), this._loadMoreRow = r, r;
7690
7693
  }
7691
- let a = M(Zo), o = this.getGroupLoadMoreEventPayload();
7694
+ let a = N(Zo), o = this.getGroupLoadMoreEventPayload();
7692
7695
  return r.element.appendChild(a), this.applyGroupIndent(a, i), a.addEventListener("click", (e) => {
7693
7696
  e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", o);
7694
7697
  }), this._loadMoreRow = r, r;
@@ -7815,7 +7818,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7815
7818
  for (let n of t) e.push(n.getData());
7816
7819
  if (this.elementContents = this.generator(this.key, this.getRowCount(), e, this.getComponent()), this.element) {
7817
7820
  for (; this.element.firstChild;) this.element.removeChild(this.element.firstChild);
7818
- typeof this.elementContents == "string" ? this.element.innerHTML = j(this.elementContents) : this.element.appendChild(this.elementContents), this.arrowElement && this.element.insertBefore(this.arrowElement, this.element.firstChild);
7821
+ typeof this.elementContents == "string" ? this.element.innerHTML = M(this.elementContents) : this.element.appendChild(this.elementContents), this.arrowElement && this.element.insertBefore(this.arrowElement, this.element.firstChild);
7819
7822
  }
7820
7823
  }
7821
7824
  getPath(e = []) {
@@ -7902,10 +7905,10 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7902
7905
  let o = this.table.options.groupHeaderCount ? "<span class=\"tabulator-group-count\">(" + r + " " + (r === 1 ? e : t.groups.items) + ")</span>" : "";
7903
7906
  if (this.table.options.groupHeaderUseFormatter && a) {
7904
7907
  let e = this.buildFormattedGroupHeader(n, i, a);
7905
- if (e) return o && e.insertAdjacentHTML("beforeend", j(o)), e;
7908
+ if (e) return o && e.insertAdjacentHTML("beforeend", M(o)), e;
7906
7909
  }
7907
7910
  let s = n ?? "";
7908
- return this.table.options.groupHeaderCount ? j(s + o) : j(s);
7911
+ return this.table.options.groupHeaderCount ? M(s + o) : M(s);
7909
7912
  };
7910
7913
  }), this.groupIDLookups = [], e ? this.table.modExists("columnCalcs") && this.table.options.columnCalcs !== "table" && this.table.options.columnCalcs !== "both" && this.table.modules.columnCalcs.removeCalcs() : this.table.modExists("columnCalcs") && this.table.options.columnCalcs !== "group" && (this.table.columnManager?.getRealColumns() || []).forEach((e) => {
7911
7914
  e.definition.topCalc && this.table.modules.columnCalcs.initializeTopRow(), e.definition.bottomCalc && this.table.modules.columnCalcs.initializeBottomRow();
@@ -7949,7 +7952,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
7949
7952
  }, d = typeof a.params == "function" ? a.params(u) : a.params, f = a.formatter.call(o, u, d ?? {}, () => {});
7950
7953
  if (f == null || f === "") return null;
7951
7954
  let p = document.createElement("span");
7952
- return p.classList.add("tabulator-group-formatted"), typeof f == "string" ? p.innerHTML = j(f) : p.appendChild(f), p;
7955
+ return p.classList.add("tabulator-group-formatted"), typeof f == "string" ? p.innerHTML = M(f) : p.appendChild(f), p;
7953
7956
  }
7954
7957
  rowSample(e, t) {
7955
7958
  if (this.table.options.groupBy) {
@@ -8329,7 +8332,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
8329
8332
  !this.hasIndex && t.index && (r[t.index] = e);
8330
8333
  for (let e = 0; e < n.length; e++) {
8331
8334
  let t = n[e], i = this.fieldIndex[e];
8332
- i != null && (r[i] = j(t.innerHTML));
8335
+ i != null && (r[i] = M(t.innerHTML));
8333
8336
  }
8334
8337
  i.push(r);
8335
8338
  }
@@ -8612,19 +8615,19 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
8612
8615
  this.parse = function(s, g, _) {
8613
8616
  if (typeof s != "string") throw Error("Input must be a string");
8614
8617
  var v = s.length, y = t.length, ee = n.length, b = r.length, te = x(i), S = [], C = [], w = [], T = p = 0;
8615
- if (!s) return M();
8618
+ if (!s) return oe();
8616
8619
  if (o || !1 !== o && s.indexOf(d) === -1) {
8617
8620
  for (var E = s.split(n), D = 0; D < E.length; D++) {
8618
8621
  if (w = E[D], p += w.length, D !== E.length - 1) p += n.length;
8619
- else if (_) return M();
8622
+ else if (_) return oe();
8620
8623
  if (!r || w.substring(0, b) !== r) {
8621
8624
  if (te) {
8622
- if (S = [], ie(w.split(t)), N(), m) return M();
8623
- } else ie(w.split(t));
8624
- if (a && a <= D) return S = S.slice(0, a), M(!0);
8625
+ if (S = [], re(w.split(t)), N(), m) return oe();
8626
+ } else re(w.split(t));
8627
+ if (a && a <= D) return S = S.slice(0, a), oe(!0);
8625
8628
  }
8626
8629
  }
8627
- return M();
8630
+ return oe();
8628
8631
  }
8629
8632
  for (var O = s.indexOf(t, p), k = s.indexOf(n, p), ne = new RegExp(h(f) + h(d), "g"), A = s.indexOf(d, p);;) if (s[p] === d) for (A = p, p++;;) {
8630
8633
  if ((A = s.indexOf(d, A + 1)) === -1) return _ || C.push({
@@ -8633,19 +8636,19 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
8633
8636
  message: "Quoted field unterminated",
8634
8637
  row: S.length,
8635
8638
  index: p
8636
- }), j();
8637
- if (A === v - 1) return j(s.substring(p, A).replace(ne, d));
8639
+ }), ae();
8640
+ if (A === v - 1) return ae(s.substring(p, A).replace(ne, d));
8638
8641
  if (d === f && s[A + 1] === f) A++;
8639
8642
  else if (d === f || A === 0 || s[A - 1] !== f) {
8640
8643
  O !== -1 && O < A + 1 && (O = s.indexOf(t, A + 1));
8641
- var re = ae((k = k !== -1 && k < A + 1 ? s.indexOf(n, A + 1) : k) === -1 ? O : Math.min(O, k));
8642
- if (s.substr(A + 1 + re, y) === t) {
8643
- w.push(s.substring(p, A).replace(ne, d)), s[p = A + 1 + re + y] !== d && (A = s.indexOf(d, p)), O = s.indexOf(t, p), k = s.indexOf(n, p);
8644
+ var j = ie((k = k !== -1 && k < A + 1 ? s.indexOf(n, A + 1) : k) === -1 ? O : Math.min(O, k));
8645
+ if (s.substr(A + 1 + j, y) === t) {
8646
+ w.push(s.substring(p, A).replace(ne, d)), s[p = A + 1 + j + y] !== d && (A = s.indexOf(d, p)), O = s.indexOf(t, p), k = s.indexOf(n, p);
8644
8647
  break;
8645
8648
  }
8646
- if (re = ae(k), s.substring(A + 1 + re, A + 1 + re + ee) === n) {
8647
- if (w.push(s.substring(p, A).replace(ne, d)), oe(A + 1 + re + ee), O = s.indexOf(t, p), A = s.indexOf(d, p), te && (N(), m)) return M();
8648
- if (a && S.length >= a) return M(!0);
8649
+ if (j = ie(k), s.substring(A + 1 + j, A + 1 + j + ee) === n) {
8650
+ if (w.push(s.substring(p, A).replace(ne, d)), M(A + 1 + j + ee), O = s.indexOf(t, p), A = s.indexOf(d, p), te && (N(), m)) return oe();
8651
+ if (a && S.length >= a) return oe(!0);
8649
8652
  break;
8650
8653
  }
8651
8654
  C.push({
@@ -8658,29 +8661,29 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
8658
8661
  }
8659
8662
  }
8660
8663
  else if (r && w.length === 0 && s.substring(p, p + b) === r) {
8661
- if (k === -1) return M();
8664
+ if (k === -1) return oe();
8662
8665
  p = k + ee, k = s.indexOf(n, p), O = s.indexOf(t, p);
8663
8666
  } else if (O !== -1 && (O < k || k === -1)) w.push(s.substring(p, O)), p = O + y, O = s.indexOf(t, p);
8664
8667
  else {
8665
8668
  if (k === -1) break;
8666
- if (w.push(s.substring(p, k)), oe(k + ee), te && (N(), m)) return M();
8667
- if (a && S.length >= a) return M(!0);
8669
+ if (w.push(s.substring(p, k)), M(k + ee), te && (N(), m)) return oe();
8670
+ if (a && S.length >= a) return oe(!0);
8668
8671
  }
8669
- return j();
8670
- function ie(e) {
8672
+ return ae();
8673
+ function re(e) {
8671
8674
  S.push(e), T = p;
8672
8675
  }
8673
- function ae(e) {
8676
+ function ie(e) {
8674
8677
  var t = 0;
8675
8678
  return t = e !== -1 && (e = s.substring(A + 1, e)) && e.trim() === "" ? e.length : t;
8676
8679
  }
8677
- function j(e) {
8678
- return _ || (e === void 0 && (e = s.substring(p)), w.push(e), p = v, ie(w), te && N()), M();
8680
+ function ae(e) {
8681
+ return _ || (e === void 0 && (e = s.substring(p)), w.push(e), p = v, re(w), te && N()), oe();
8679
8682
  }
8680
- function oe(e) {
8681
- p = e, ie(w), w = [], k = s.indexOf(n, p);
8683
+ function M(e) {
8684
+ p = e, re(w), w = [], k = s.indexOf(n, p);
8682
8685
  }
8683
- function M(r) {
8686
+ function oe(r) {
8684
8687
  if (e.header && !g && S.length && !u) {
8685
8688
  var i = S[0], a = Object.create(null), o = new Set(i);
8686
8689
  let t = !1;
@@ -8709,7 +8712,7 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
8709
8712
  };
8710
8713
  }
8711
8714
  function N() {
8712
- i(M()), S = [], C = [];
8715
+ i(oe()), S = [], C = [];
8713
8716
  }
8714
8717
  }, this.abort = function() {
8715
8718
  m = !0;
@@ -9332,7 +9335,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
9332
9335
  }
9333
9336
  initializeColumnHeaderMenu(e) {
9334
9337
  let t = e.definition.headerMenuIcon, n = document.createElement("span");
9335
- n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML = j(String(t))) : n.innerHTML = j("&vellip;"), n.addEventListener("click", (t) => {
9338
+ n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML = M(String(t))) : n.innerHTML = M("&vellip;"), n.addEventListener("click", (t) => {
9336
9339
  t.stopPropagation(), t.preventDefault(), this.loadMenuEvent(e.definition.headerMenu, t, e);
9337
9340
  }), e.titleElement && e.titleElement.insertBefore(n, e.titleElement.firstChild);
9338
9341
  }
@@ -9359,7 +9362,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
9359
9362
  else return;
9360
9363
  n.forEach((e) => {
9361
9364
  let n = document.createElement("div"), r = e.label, i = e.disabled;
9362
- e.separator ? n.classList.add("tabulator-menu-separator") : (n.classList.add("tabulator-menu-item"), typeof r == "function" && (r = r.call(this.table, t.getComponent())), r instanceof Node ? n.appendChild(r) : n.innerHTML = j(String(r || "")), typeof i == "function" && (i = i.call(this.table, t.getComponent())), i ? (n.classList.add("tabulator-menu-item-disabled"), n.addEventListener("click", (e) => {
9365
+ e.separator ? n.classList.add("tabulator-menu-separator") : (n.classList.add("tabulator-menu-item"), typeof r == "function" && (r = r.call(this.table, t.getComponent())), r instanceof Node ? n.appendChild(r) : n.innerHTML = M(String(r || "")), typeof i == "function" && (i = i.call(this.table, t.getComponent())), i ? (n.classList.add("tabulator-menu-item-disabled"), n.addEventListener("click", (e) => {
9363
9366
  e.stopPropagation();
9364
9367
  })) : e.menu && e.menu.length ? n.addEventListener("click", (r) => {
9365
9368
  r.stopPropagation(), this.loadMenu(r, t, e.menu, n, s);
@@ -9847,7 +9850,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
9847
9850
  }
9848
9851
  calculatePageSizes() {
9849
9852
  let e, t;
9850
- this.table.options.paginationSize ? this.size = this.table.options.paginationSize : (e = document.createElement("div"), e.classList.add("tabulator-row"), e.style.visibility = "hidden", t = document.createElement("div"), t.classList.add("tabulator-cell"), t.innerHTML = j("Page Row Test"), e.appendChild(t), this.table.rowManager?.getTableElement().appendChild(e), this.size = Math.floor((this.table.rowManager?.getElement()?.clientHeight ?? 0) / e.offsetHeight), e.remove()), this.dispatchExternal("pageSizeChanged", this.size), this.generatePageSizeSelectList();
9853
+ this.table.options.paginationSize ? this.size = this.table.options.paginationSize : (e = document.createElement("div"), e.classList.add("tabulator-row"), e.style.visibility = "hidden", t = document.createElement("div"), t.classList.add("tabulator-cell"), t.innerHTML = M("Page Row Test"), e.appendChild(t), this.table.rowManager?.getTableElement().appendChild(e), this.size = Math.floor((this.table.rowManager?.getElement()?.clientHeight ?? 0) / e.offsetHeight), e.remove()), this.dispatchExternal("pageSizeChanged", this.size), this.generatePageSizeSelectList();
9851
9854
  }
9852
9855
  initialLoadComplete() {
9853
9856
  this.initialLoad = !1;
@@ -9875,7 +9878,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
9875
9878
  }
9876
9879
  createElements() {
9877
9880
  let e = r`<cx-pagination back-icon-name="arrow_back" next-icon-name="arrow_forward" icon-button-size="small"></cx-pagination>`, t = r`<div slot="pagination" class="tabulator-paginator"></div>`;
9878
- this.element = M(t), this.paginationElement = M(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("pagination-button-count", this.count.toString())), this.table.options.showPaginationInput && this.paginationElement.setAttribute("show-pagination-input", ""), this.paginationElement.setAttribute("label", ""), this.paginationElement.classList.add("tabulator-paginator-pagination");
9881
+ this.element = N(t), this.paginationElement = N(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("pagination-button-count", this.count.toString())), this.table.options.showPaginationInput && this.paginationElement.setAttribute("show-pagination-input", ""), this.paginationElement.setAttribute("label", ""), this.paginationElement.classList.add("tabulator-paginator-pagination");
9879
9882
  }
9880
9883
  generatePageSizeSelectList() {
9881
9884
  let e = [], t = 1;
@@ -10219,7 +10222,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
10219
10222
  }
10220
10223
  initializeColumnHeaderPopup(e) {
10221
10224
  let t = e.definition.headerPopupIcon, n = document.createElement("span");
10222
- n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML = j(t)) : n.innerHTML = j("&vellip;"), n.addEventListener("click", (t) => {
10225
+ n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML = M(t)) : n.innerHTML = M("&vellip;"), n.addEventListener("click", (t) => {
10223
10226
  t.stopPropagation(), t.preventDefault(), this.loadPopupEvent(e.definition.headerPopup, t, e);
10224
10227
  }), e.titleElement && e.titleElement.insertBefore(n, e.titleElement.firstChild);
10225
10228
  }
@@ -10238,7 +10241,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
10238
10241
  }
10239
10242
  loadPopup(e, t, n, r, i) {
10240
10243
  let a = !(e instanceof MouseEvent), o;
10241
- n instanceof HTMLElement ? o = n : (o = document.createElement("div"), o.innerHTML = j(n)), o.classList.add("tabulator-popup"), o.addEventListener("click", (e) => {
10244
+ n instanceof HTMLElement ? o = n : (o = document.createElement("div"), o.innerHTML = M(n)), o.classList.add("tabulator-popup"), o.addEventListener("click", (e) => {
10242
10245
  e.stopPropagation();
10243
10246
  }), !a && e && e.preventDefault();
10244
10247
  let s = this.popup(o);
@@ -10277,7 +10280,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
10277
10280
  return;
10278
10281
  }
10279
10282
  let c = s.generateTable(n ?? this.table.options.printConfig, t ?? this.table.options.printStyled, typeof e == "boolean" ? e ? "visible" : this.table.options.printRowRange : e || this.table.options.printRowRange, "print"), l, u;
10280
- this.manualBlock = !0, this.element = document.createElement("div"), this.element.classList.add("tabulator-print-fullscreen"), this.table.options.printHeader && (a.classList.add("tabulator-print-header"), l = typeof this.table.options.printHeader == "function" ? this.table.options.printHeader.call(this.table) : this.table.options.printHeader, typeof l == "string" ? a.innerHTML = j(l) : a.appendChild(l), this.element.appendChild(a)), this.element.appendChild(c), this.table.options.printFooter && (o.classList.add("tabulator-print-footer"), u = typeof this.table.options.printFooter == "function" ? this.table.options.printFooter.call(this.table) : this.table.options.printFooter, typeof u == "string" ? o.innerHTML = j(u) : o.appendChild(u), this.element.appendChild(o)), document.body.classList.add("tabulator-print-fullscreen-hide"), document.body.appendChild(this.element);
10283
+ this.manualBlock = !0, this.element = document.createElement("div"), this.element.classList.add("tabulator-print-fullscreen"), this.table.options.printHeader && (a.classList.add("tabulator-print-header"), l = typeof this.table.options.printHeader == "function" ? this.table.options.printHeader.call(this.table) : this.table.options.printHeader, typeof l == "string" ? a.innerHTML = M(l) : a.appendChild(l), this.element.appendChild(a)), this.element.appendChild(c), this.table.options.printFooter && (o.classList.add("tabulator-print-footer"), u = typeof this.table.options.printFooter == "function" ? this.table.options.printFooter.call(this.table) : this.table.options.printFooter, typeof u == "string" ? o.innerHTML = M(u) : o.appendChild(u), this.element.appendChild(o)), document.body.classList.add("tabulator-print-fullscreen-hide"), document.body.appendChild(this.element);
10281
10284
  try {
10282
10285
  this.table.options.printFormatter && this.table.options.printFormatter(this.element, c), globalThis.print();
10283
10286
  } finally {
@@ -10841,7 +10844,7 @@ var Ks = { format: { formatters: { responsiveCollapse: Gs } } }, qs = class exte
10841
10844
  if (e.modules.responsiveLayout && this.collapseFormatter) {
10842
10845
  if (t = e.modules.responsiveLayout.element, t) {
10843
10846
  for (; t.firstChild;) t.removeChild(t.firstChild);
10844
- n = this.collapseFormatter(this.generateCollapsedRowData(e)), n && (typeof n == "string" ? t.innerHTML = j(n) : t.appendChild(n));
10847
+ n = this.collapseFormatter(this.generateCollapsedRowData(e)), n && (typeof n == "string" ? t.innerHTML = M(n) : t.appendChild(n));
10845
10848
  }
10846
10849
  e.calcHeight(!0);
10847
10850
  }
@@ -10890,13 +10893,13 @@ var Ks = { format: { formatters: { responsiveCollapse: Gs } } }, qs = class exte
10890
10893
  return e.forEach((e) => {
10891
10894
  let n = document.createElement("tr"), r = document.createElement("td"), i = document.createElement("td"), a, o = document.createElement("strong");
10892
10895
  r.appendChild(o), this.table.modules.localize?.langBind("columns|" + e.field, (t) => {
10893
- o.innerHTML = j(t || e.title);
10894
- }), e.value instanceof Node ? (a = document.createElement("div"), a.appendChild(e.value), i.appendChild(a)) : i.innerHTML = j(String(e.value)), n.appendChild(r), n.appendChild(i), t.appendChild(n);
10896
+ o.innerHTML = M(t || e.title);
10897
+ }), e.value instanceof Node ? (a = document.createElement("div"), a.appendChild(e.value), i.appendChild(a)) : i.innerHTML = M(String(e.value)), n.appendChild(r), n.appendChild(i), t.appendChild(n);
10895
10898
  }), Object.keys(e).length ? t : "";
10896
10899
  }
10897
10900
  }, Js = r`<cx-checkbox></cx-checkbox>`;
10898
10901
  function Ys(e, t, n) {
10899
- let r = M(Js), i = r, a = !1;
10902
+ let r = N(Js), i = r, a = !1;
10900
10903
  r.setAttribute("aria-label", "Select Row");
10901
10904
  let o = this.table;
10902
10905
  if (o.modExists("selectRow", !0)) {
@@ -11373,7 +11376,7 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11373
11376
  static #t = this.moduleInitOrder = 1;
11374
11377
  static #n = this.moduleExtensions = rc;
11375
11378
  constructor(e) {
11376
- super(e), this.selecting = Lt.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = nt(() => {
11379
+ super(e), this.selecting = Rt.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = rt(() => {
11377
11380
  this.layoutRanges();
11378
11381
  }, 200), this.layoutChangeRaf = null, this.columnSelection = !1, this.rowSelection = !1, this.maxRanges = 0, this.activeRange = !1, this.blockKeydown = !1, this.rangeContainer = null, this.activeRangeCellElement = null, this.hoverRangeCellElement = null, this.hoveredCell = null, this.keyDownEvent = this._handleKeyDown.bind(this), this.mouseUpEvent = this._handleMouseUp.bind(this), this.registerTableOption("selectableRange", !1), this.registerTableOption("selectableRangeColumns", !1), this.registerTableOption("selectableRangeRows", !1), this.registerTableOption("selectableRangeClearCells", !1), this.registerTableOption("selectableRangeClearCellsValue", void 0), this.registerTableOption("selectableRangeAutoFocus", !0), this.registerTableFunction("getRangesData", this.getRangesData.bind(this)), this.registerTableFunction("getRanges", this.getRanges.bind(this)), this.registerTableFunction("addRange", this.addRangeFromComponent.bind(this)), this.registerComponentFunction("cell", "getRanges", this.cellGetRanges.bind(this)), this.registerComponentFunction("row", "getRanges", this.rowGetRanges.bind(this)), this.registerComponentFunction("column", "getRanges", this.colGetRanges.bind(this));
11379
11382
  }
@@ -11381,7 +11384,7 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11381
11384
  this.options("selectableRange") && (this.options("selectableRows") ? sc && console.warn("SelectRange functionality cannot be used in conjunction with row selection") : (this.maxRanges = this.options("selectableRange"), this.initializeTable(), this.initializeWatchers()), this.options("columns").findIndex((e) => e.frozen) > 0 && sc && console.warn("Having frozen column in arbitrary position with selectRange option may result in unpredictable behavior."), this.options("columns").filter((e) => e.frozen).length > 1 && sc && console.warn("Having multiple frozen columns with selectRange option may result in unpredictable behavior."));
11382
11385
  }
11383
11386
  initializeTable() {
11384
- this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = M(cc), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener("keydown", this.keyDownEvent), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
11387
+ this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = N(cc), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener("keydown", this.keyDownEvent), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
11385
11388
  }
11386
11389
  initializeWatchers() {
11387
11390
  this.columnSelection = this.options("selectableRangeColumns"), this.rowSelection = this.options("selectableRangeRows"), this.subscribe("column-init", this.initializeColumn.bind(this)), this.subscribe("column-mousedown", this.handleColumnMouseDown.bind(this)), this.subscribe("column-mousemove", this.handleColumnMouseMove.bind(this)), this.subscribe("column-resized", this.handleColumnResized.bind(this)), this.subscribe("column-moving", this.handleColumnMoving.bind(this)), this.subscribe("column-moved", this.handleColumnMoved.bind(this)), this.subscribe("column-width", this.handleColumnWidthChange.bind(this)), this.subscribe("column-height", this.layoutChange.bind(this)), this.subscribe("column-resized", this.layoutChangeNextFrame.bind(this)), this.subscribe("columns-loaded", this.updateHeaderColumn.bind(this)), this.subscribe("cell-height", this.layoutChange.bind(this)), this.subscribe("cell-rendered", this.renderCell.bind(this)), this.subscribe("cell-mousedown", this.handleCellMouseDown.bind(this)), this.subscribe("cell-mousemove", this.handleCellMouseMove.bind(this)), this.subscribe("cell-mouseout", this.handleCellMouseOut.bind(this)), this.subscribe("cell-click", this.handleCellClick.bind(this)), this.subscribe("cell-editing", this.handleEditingCell.bind(this)), this.subscribe("page-changed", this.redraw.bind(this)), this.subscribe("scroll-vertical", this.layoutChange.bind(this)), this.subscribe("scroll-horizontal", this.layoutChange.bind(this)), this.subscribe("data-destroy", this.tableDestroyed.bind(this)), this.subscribe("data-processed", this.resetRanges.bind(this)), this.subscribe("table-layout", this.layoutElement.bind(this)), this.subscribe("table-redraw", this.redraw.bind(this)), this.subscribe("table-destroy", this.tableDestroyed.bind(this)), this.subscribe("edit-editor-clear", this.finishEditingCell.bind(this)), this.subscribe("edit-blur", this.restoreFocus.bind(this)), this.subscribe("keybinding-nav-prev", this.keyNavigate.bind(this, "left")), this.subscribe("keybinding-nav-next", this.keyNavigate.bind(this, "right")), this.subscribe("keybinding-nav-left", this.keyNavigate.bind(this, "left")), this.subscribe("keybinding-nav-right", this.keyNavigate.bind(this, "right")), this.subscribe("keybinding-nav-up", this.keyNavigate.bind(this, "up")), this.subscribe("keybinding-nav-down", this.keyNavigate.bind(this, "down")), this.subscribe("keybinding-nav-range", this.keyNavigateRange.bind(this));
@@ -11505,7 +11508,7 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11505
11508
  if (!f) return !1;
11506
11509
  if (f.start.row === void 0 || f.start.row === null || f.start.col === void 0 || f.start.col === null) {
11507
11510
  let e = +!!this.rowHeader;
11508
- return f.setStart(0, e), f.setEnd(0, e), this.selecting = Lt.Cell, this.layoutElement(), !0;
11511
+ return f.setStart(0, e), f.setEnd(0, e), this.selecting = Rt.Cell, this.layoutElement(), !0;
11509
11512
  }
11510
11513
  let p = {
11511
11514
  bottom: f.bottom,
@@ -11550,7 +11553,7 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11550
11553
  case "down": i = Math.min(i + 1, this.getTableRows().length - 1);
11551
11554
  }
11552
11555
  }
11553
- if (this.rowHeader && a === 0 && (a = 1), t || f.setStart(i, a), f.setEnd(i, a), t || (this.selecting = Lt.Cell), r = p.top !== f.top || p.bottom !== f.bottom || p.left !== f.left || p.right !== f.right, r) {
11556
+ if (this.rowHeader && a === 0 && (a = 1), t || f.setStart(i, a), f.setEnd(i, a), t || (this.selecting = Rt.Cell), r = p.top !== f.top || p.bottom !== f.bottom || p.left !== f.left || p.right !== f.right, r) {
11554
11557
  let e = f.end.row ?? 0, t = f.end.col ?? 0;
11555
11558
  o = this.getRowByRangePos(e), s = this.getColumnByRangePos(t);
11556
11559
  let n = o.getElement(), r = s.getElement(), i = this.table.rowManager?.getElement(), a = this.table.columnManager?.getElement();
@@ -11601,13 +11604,13 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11601
11604
  if (t.type === "column") {
11602
11605
  if (!this.columnSelection) return;
11603
11606
  if (t === this.rowHeader) {
11604
- n = this.resetRanges(), this.selecting = Lt.All;
11607
+ n = this.resetRanges(), this.selecting = Rt.All;
11605
11608
  let e, t = this.getCell(-1, -1);
11606
11609
  e = this.rowHeader ? this.getCell(0, 1) : this.getCell(0, 0), n && n.setBounds(e, t);
11607
11610
  return;
11608
11611
  }
11609
- this.selecting = Lt.Column;
11610
- } else this.selecting = t.column === this.rowHeader ? Lt.Row : Lt.Cell;
11612
+ this.selecting = Rt.Column;
11613
+ } else this.selecting = t.column === this.rowHeader ? Rt.Row : Rt.Cell;
11611
11614
  if (e.shiftKey && this.activeRange) this.activeRange.setBounds(!1, t, !0);
11612
11615
  else if (e.ctrlKey) {
11613
11616
  let e = this.addRange(void 0, void 0);
@@ -11657,7 +11660,7 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11657
11660
  this.table.isResizingColumn ? this.layoutChangeNextFrame() : this.layoutChange();
11658
11661
  }
11659
11662
  redraw(e) {
11660
- e && (this.selecting = Lt.Cell, this.resetRanges(), this.layoutElement());
11663
+ e && (this.selecting = Rt.Cell, this.resetRanges(), this.layoutElement());
11661
11664
  }
11662
11665
  layoutElement(e) {
11663
11666
  let t;
@@ -11669,11 +11672,11 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
11669
11672
  }
11670
11673
  layoutRow(e) {
11671
11674
  let t = e.getElement(), n = !1, r = this.ranges.some((t) => t.occupiesRow(e));
11672
- this.selecting === Lt.Row ? n = r : this.selecting === Lt.All && (n = !0), t.classList.toggle("tabulator-range-selected", n), t.classList.toggle("tabulator-range-highlight", r);
11675
+ this.selecting === Rt.Row ? n = r : this.selecting === Rt.All && (n = !0), t.classList.toggle("tabulator-range-selected", n), t.classList.toggle("tabulator-range-highlight", r);
11673
11676
  }
11674
11677
  layoutColumn(e) {
11675
11678
  let t = e.getElement(), n = !1, r = this.ranges.some((t) => t.occupiesColumn(e));
11676
- this.selecting === Lt.Column ? n = r : this.selecting === Lt.All && (n = !0), t.classList.toggle("tabulator-range-selected", n), t.classList.toggle("tabulator-range-highlight", r);
11679
+ this.selecting === Rt.Column ? n = r : this.selecting === Rt.All && (n = !0), t.classList.toggle("tabulator-range-selected", n), t.classList.toggle("tabulator-range-highlight", r);
11677
11680
  }
11678
11681
  layoutRanges() {
11679
11682
  if (!this.table.initialized) return;
@@ -11986,7 +11989,7 @@ var bc = {
11986
11989
  e instanceof Node && i.appendChild(e);
11987
11990
  }
11988
11991
  break;
11989
- default: i.innerHTML = j(this.table.options.headerSortElement || "");
11992
+ default: i.innerHTML = M(this.table.options.headerSortElement || "");
11990
11993
  }
11991
11994
  t.titleHolderElement && t.titleHolderElement.appendChild(i), t.modules.sort.element = i, this.setColumnHeaderSortIcon(t, I.None), this.table.options.headerSortClickElement === "icon" && i.addEventListener("mousedown", (e) => {
11992
11995
  e.stopPropagation();
@@ -12099,7 +12102,7 @@ var bc = {
12099
12102
  if (n && e.definition.headerSort && typeof this.table.options.headerSortElement == "function") {
12100
12103
  for (; n.firstChild;) n.removeChild(n.firstChild);
12101
12104
  let r = this.table.options.headerSortElement.call(this.table, e.getComponent(), t);
12102
- r instanceof Node ? n.appendChild(r) : typeof r == "string" && (n.innerHTML = j(r));
12105
+ r instanceof Node ? n.appendChild(r) : typeof r == "string" && (n.innerHTML = M(r));
12103
12106
  }
12104
12107
  }
12105
12108
  _sortItems(e, t) {
@@ -12431,8 +12434,8 @@ var bc = {
12431
12434
  i = e;
12432
12435
  }
12433
12436
  typeof n == "function" && (n = n(e, t.getComponent(), o)), n instanceof HTMLElement ? r = n : (r = document.createElement("div"), n === !0 && (t instanceof Br ? n = t.value : t.definition.field ? this.langBind("columns|" + t.definition.field, (e) => {
12434
- r.innerHTML = n = j(e || t.definition.title);
12435
- }) : n = t.definition.title), r.innerHTML = j(n)), (n || n === 0 || n === !1) && (r.classList.add("tabulator-tooltip"), r.addEventListener("mousemove", (e) => e.preventDefault()), this.popupInstance = this.popup(r), typeof i == "function" && this.popupInstance.renderCallback(i), a = this.popupInstance.containerEventCoords(e), this.popupInstance.show(a.x + 15, a.y + 15).hideOnBlur(() => {
12437
+ r.innerHTML = n = M(e || t.definition.title);
12438
+ }) : n = t.definition.title), r.innerHTML = M(n)), (n || n === 0 || n === !1) && (r.classList.add("tabulator-tooltip"), r.addEventListener("mousemove", (e) => e.preventDefault()), this.popupInstance = this.popup(r), typeof i == "function" && this.popupInstance.renderCallback(i), a = this.popupInstance.containerEventCoords(e), this.popupInstance.show(a.x + 15, a.y + 15).hideOnBlur(() => {
12436
12439
  this.dispatchExternal("tooltipClosed", t.getComponent()), this.popupInstance = null;
12437
12440
  }), this.dispatchExternal("tooltipOpened", t.getComponent()));
12438
12441
  }
@@ -13661,7 +13664,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
13661
13664
  renderVertical: "virtual",
13662
13665
  renderHorizontal: "basic",
13663
13666
  renderVerticalBuffer: 0,
13664
- scrollToRowPosition: It.Top,
13667
+ scrollToRowPosition: Lt.Top,
13665
13668
  scrollToRowIfHidden: !1,
13666
13669
  scrollToColumnPosition: "left",
13667
13670
  scrollToColumnIfHidden: !1,
@@ -13696,7 +13699,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
13696
13699
  initializeElement() {
13697
13700
  if (this.table.options.footerElement) switch (typeof this.table.options.footerElement) {
13698
13701
  case "string":
13699
- if (this.table.options.footerElement.startsWith("<")) this.containerElement.innerHTML = j(this.table.options.footerElement);
13702
+ if (this.table.options.footerElement.startsWith("<")) this.containerElement.innerHTML = M(this.table.options.footerElement);
13700
13703
  else {
13701
13704
  this.external = !0;
13702
13705
  let e = document.querySelector(this.table.options.footerElement);
@@ -13941,7 +13944,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
13941
13944
  super(e), this.headerWidthObserver = null, this.headerWidthSyncFrame = null, this.element = this.createHolderElement(), this.wrapperElement = this.createWrapperElement(), this.wrapperElement.appendChild(this.element), this.tableElement = this.createTableElement(), this.heightFixer = this.createTableElement(), this.placeholder = null, this.placeholderContents = null, this.firstRender = !1, this.renderMode = "virtual", this.rows = [], this.activeRowsPipeline = [], this.activeRows = [], this.activeRowsCount = 0, this.displayRows = [], this.displayRowsCount = 0, this.scrollTop = 0, this.scrollLeft = 0, this.redrawBlock = !1, this.redrawBlockRestoreConfig = !1, this.redrawBlockRenderInPosition = !1, this.dataPipeline = [], this.displayPipeline = [], this.scrollbarWidth = 0, this.renderer = null, this.rowIndexMap = /* @__PURE__ */ new Map();
13942
13945
  }
13943
13946
  createWrapperElement() {
13944
- return M(hl);
13947
+ return N(hl);
13945
13948
  }
13946
13949
  createHolderElement() {
13947
13950
  let e = document.createElement("div");
@@ -13958,7 +13961,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
13958
13961
  let e = document.createElement("div");
13959
13962
  if (e.classList.add("tabulator-placeholder"), typeof t == "string") {
13960
13963
  let n = document.createElement("div");
13961
- n.classList.add("tabulator-placeholder-contents"), n.innerHTML = j(t), e.appendChild(n), this.placeholderContents = n;
13964
+ n.classList.add("tabulator-placeholder-contents"), n.innerHTML = M(t), e.appendChild(n), this.placeholderContents = n;
13962
13965
  } else typeof HTMLElement < "u" && t instanceof HTMLElement ? (e.appendChild(t), this.placeholderContents = t) : (ml && console.warn("Invalid placeholder provided, must be string or HTML Element", t), this.placeholder = null);
13963
13966
  this.placeholder = e;
13964
13967
  }
@@ -14393,7 +14396,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
14393
14396
  for (this.clear(), this.dispatch("alert-show", t), this.type = t; this.msgElement.firstChild;) this.msgElement.removeChild(this.msgElement.firstChild);
14394
14397
  this.element.classList.add(this._typeClass()), this.msgElement.classList.add(this._typeClass());
14395
14398
  let n;
14396
- n = typeof e == "function" ? e() : e, n instanceof HTMLElement ? this.msgElement.appendChild(n) : this.msgElement.innerHTML = j(String(n)), this.table.element.appendChild(this.element), t === "loading" && this.observeLoadingWidth();
14399
+ n = typeof e == "function" ? e() : e, n instanceof HTMLElement ? this.msgElement.appendChild(n) : this.msgElement.innerHTML = M(String(n)), this.table.element.appendChild(this.element), t === "loading" && this.observeLoadingWidth();
14397
14400
  }
14398
14401
  }
14399
14402
  observeLoadingWidth() {
@@ -14499,7 +14502,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
14499
14502
  }
14500
14503
  alertLoader() {
14501
14504
  if ((this.pendingPromise || this.loading || this.externalLoading) && this.table.alertManager?.element.parentNode) return;
14502
- let e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = r`<cx-spinner aria-hidden="true"></cx-spinner>`, n = M(t);
14505
+ let e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = r`<cx-spinner aria-hidden="true"></cx-spinner>`, n = N(t);
14503
14506
  e && this.table.alertManager?.alert(this.table.options.dataLoaderLoading || n, "loading");
14504
14507
  }
14505
14508
  alertError() {
@@ -15439,7 +15442,7 @@ var Il = {
15439
15442
  constructor(e, t) {
15440
15443
  super(e, t, nl);
15441
15444
  }
15442
- }, Zl = new Set(Object.values(Se)), Ql = class {
15445
+ }, Zl = new Set(Object.values(Ce)), Ql = class {
15443
15446
  constructor(e) {
15444
15447
  this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
15445
15448
  }
@@ -15464,37 +15467,37 @@ function $l(e) {
15464
15467
  let e = n.indexOf(":");
15465
15468
  if (e === -1) continue;
15466
15469
  let r = n.slice(0, e), i = r.indexOf("|"), a = i === -1 ? r : r.slice(0, i), o = i === -1 ? a : r.slice(i + 1), [s, ...c] = n.slice(e + 1).split("-");
15467
- s === wt.Checkbox && (c.includes(St.Single) || c.includes(St.Multiple)) ? t.set(a, {
15470
+ s === Tt.Checkbox && (c.includes(Ct.Single) || c.includes(Ct.Multiple)) ? t.set(a, {
15468
15471
  displayName: o,
15469
15472
  facetFieldName: a,
15470
15473
  selection: eu(c),
15471
- type: Ct.Checkbox
15472
- }) : s === wt.DatePicker ? t.set(a, {
15474
+ type: wt.Checkbox
15475
+ }) : s === Tt.DatePicker ? t.set(a, {
15473
15476
  displayFormat: tu(c),
15474
15477
  displayName: o,
15475
15478
  facetFieldName: a,
15476
- showTime: c.includes(Tt.ShowTime),
15477
- type: Ct.DatePicker
15478
- }) : s === wt.DateRangePicker && t.set(a, {
15479
+ showTime: c.includes(Et.ShowTime),
15480
+ type: wt.DatePicker
15481
+ }) : s === Tt.DateRangePicker && t.set(a, {
15479
15482
  displayFormat: tu(c),
15480
15483
  displayName: o,
15481
15484
  facetFieldName: a,
15482
- showPreset: c.includes(Tt.ShowPreset),
15483
- showTime: c.includes(Tt.ShowTime),
15484
- type: Ct.DateRange
15485
+ showPreset: c.includes(Et.ShowPreset),
15486
+ showTime: c.includes(Et.ShowTime),
15487
+ type: wt.DateRange
15485
15488
  });
15486
15489
  }
15487
15490
  return t;
15488
15491
  }
15489
15492
  function eu(e) {
15490
- return e.includes(St.Multiple) ? St.Multiple : St.Single;
15493
+ return e.includes(Ct.Multiple) ? Ct.Multiple : Ct.Single;
15491
15494
  }
15492
15495
  function tu(e) {
15493
15496
  return e.find((e) => Zl.has(e));
15494
15497
  }
15495
15498
  function nu(e, t) {
15496
15499
  let n = new Set(Object.keys(e));
15497
- for (let [e, r] of t) r.type !== Ct.Checkbox && n.add(e);
15500
+ for (let [e, r] of t) r.type !== wt.Checkbox && n.add(e);
15498
15501
  return [...n].map((n) => ({
15499
15502
  facetDetails: t.get(n) ?? {
15500
15503
  displayName: n,
@@ -15585,15 +15588,15 @@ var ru = class {
15585
15588
  }
15586
15589
  this.applyFilters();
15587
15590
  }
15588
- syncDateRangeFilters(e, t = Ht.IsoDate) {
15591
+ syncDateRangeFilters(e, t = Ut.IsoDate) {
15589
15592
  let n = "dynamic:date:", r = new Set(Object.keys(e).filter((t) => e[t]?.fromDate || e[t]?.toDate));
15590
15593
  for (let e of this.filters.keys()) if (typeof e == "string" && e.startsWith(n)) {
15591
15594
  let t = e.slice(13);
15592
15595
  r.has(t) || this.filters.delete(e);
15593
15596
  }
15594
15597
  for (let i of r) {
15595
- let r = e[i], a = `${n}${i}`, o = [], s = (e, n) => t === Ht.Timestamp ? (/* @__PURE__ */ new Date(`${e}T${n}`)).getTime() : t === Ht.IsoDateTime ? `${e}T${n}` : e;
15596
- r.type === Ct.DatePicker ? r.fromDate && o.push({
15598
+ let r = e[i], a = `${n}${i}`, o = [], s = (e, n) => t === Ut.Timestamp ? (/* @__PURE__ */ new Date(`${e}T${n}`)).getTime() : t === Ut.IsoDateTime ? `${e}T${n}` : e;
15599
+ r.type === wt.DatePicker ? r.fromDate && o.push({
15597
15600
  field: i,
15598
15601
  type: L.Equal,
15599
15602
  value: s(r.fromDate, r.fromTime)
@@ -15847,7 +15850,7 @@ var ru = class {
15847
15850
  };
15848
15851
  function Nu(e, t) {
15849
15852
  let n = t === I.Desc ? "arrow_downward" : "arrow_upward";
15850
- return M(r`<cx-icon name=${n} aria-hidden="true"></cx-icon>`);
15853
+ return N(r`<cx-icon name=${n} aria-hidden="true"></cx-icon>`);
15851
15854
  }
15852
15855
  //#endregion
15853
15856
  //#region ../../packages/hybrid/table-core/src/table/table-data-loader.ts
@@ -16212,25 +16215,25 @@ var sd, Z = class extends d {
16212
16215
  static #t = this.styles = [
16213
16216
  h,
16214
16217
  Ou,
16215
- Fe
16218
+ Ie
16216
16219
  ];
16217
16220
  static #n = this.dependencies = {
16218
- "cx-button": A,
16219
- "cx-checkbox": fe,
16220
- "cx-divider": Le,
16221
- "cx-faceted-filter": Nt,
16222
- "cx-format-number": Xe,
16221
+ "cx-button": j,
16222
+ "cx-checkbox": pe,
16223
+ "cx-divider": Re,
16224
+ "cx-faceted-filter": Pt,
16225
+ "cx-format-number": Ze,
16223
16226
  "cx-icon": D,
16224
16227
  "cx-icon-button": w,
16225
- "cx-select": be,
16226
- "cx-space": ve,
16228
+ "cx-select": xe,
16229
+ "cx-space": ye,
16227
16230
  "cx-spinner": O,
16228
16231
  "cx-table-column-editor": Nn,
16229
16232
  "cx-table-footer": In,
16230
16233
  "cx-table-header-menu": zn,
16231
16234
  "cx-table-row-actions": Wn,
16232
16235
  "cx-table-toolbar": Qn,
16233
- "cx-tooltip": N
16236
+ "cx-tooltip": se
16234
16237
  };
16235
16238
  get initialized() {
16236
16239
  return this.tabulatorInstance?.initialized;
@@ -16244,7 +16247,7 @@ var sd, Z = class extends d {
16244
16247
  get appliedFilterTags() {
16245
16248
  let e = [];
16246
16249
  return this.activeSearchValue && e.push({
16247
- key: Pt.Search,
16250
+ key: Ft.Search,
16248
16251
  label: `${this.localize.term("searchTerm")}: ${this.activeSearchValue}`
16249
16252
  }), e.push(...this.additionalAppliedFilters), e;
16250
16253
  }
@@ -16255,7 +16258,7 @@ var sd, Z = class extends d {
16255
16258
  return this.pagination && this.isBottomPlacement;
16256
16259
  }
16257
16260
  get isRemotePagination() {
16258
- return this.pagination && (!!this.ajaxURL || !!this.internalAjaxRequestFunc || this.paginationMode === Vt.Remote);
16261
+ return this.pagination && (!!this.ajaxURL || !!this.internalAjaxRequestFunc || this.paginationMode === Ht.Remote);
16259
16262
  }
16260
16263
  get paginationNeedsToolbar() {
16261
16264
  return this.pagination && !(this.noHeaderRowReserve && this.isBottomPlacement);
@@ -16292,9 +16295,9 @@ var sd, Z = class extends d {
16292
16295
  get clipboardOption() {
16293
16296
  if (this.noClipboard) return !1;
16294
16297
  switch (this.clipboardAction) {
16295
- case Rt.Copy: return "copy";
16296
- case Rt.Paste: return "paste";
16297
- case Rt.Both:
16298
+ case zt.Copy: return "copy";
16299
+ case zt.Paste: return "paste";
16300
+ case zt.Both:
16298
16301
  default: return !0;
16299
16302
  }
16300
16303
  }
@@ -16424,7 +16427,7 @@ var sd, Z = class extends d {
16424
16427
  this.initialized && this.initScrollbars();
16425
16428
  }
16426
16429
  constructor() {
16427
- super(), this.localize = new _(this), this.hasSlotController = new v(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new Ql(this), this.filterController = new iu(this), this.ajaxFacetFilterController = new ru(this, this.filterController), this.selectAllController = new au(this), this.shadowRootAutoloader = new Et(this), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = Rt.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = Vt.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = Qe.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Ft.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = Vt.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = Ht.IsoDateTime, this.dataFormat = F.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.lastAttemptedDataUrl = null, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
16430
+ super(), this.localize = new _(this), this.hasSlotController = new v(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new Ql(this), this.filterController = new iu(this), this.ajaxFacetFilterController = new ru(this, this.filterController), this.selectAllController = new au(this), this.shadowRootAutoloader = new Dt(this), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = zt.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = Ht.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = $e.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = It.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = Ht.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = Ut.IsoDateTime, this.dataFormat = F.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.lastAttemptedDataUrl = null, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
16428
16431
  this.initScrollbars(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.refreshInMemoryPaginationCount(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
16429
16432
  }, this.handleValidationChanged = (e) => {
16430
16433
  this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip();
@@ -16506,7 +16509,7 @@ var sd, Z = class extends d {
16506
16509
  this.tabulatorInstance.redraw();
16507
16510
  return;
16508
16511
  }
16509
- this.osInstance = Pe({
16512
+ this.osInstance = Fe({
16510
16513
  elements: { viewport: this.tabulatorHolder },
16511
16514
  scrollbars: { slot: this.table },
16512
16515
  target: this.tabulatorHolder
@@ -16638,7 +16641,7 @@ var sd, Z = class extends d {
16638
16641
  }]);
16639
16642
  }
16640
16643
  handleAppliedFilterRemove(e) {
16641
- e.detail.key === Pt.Search ? this.search("") : this.emit("cx-table-applied-filter-remove", { detail: { key: e.detail.key } });
16644
+ e.detail.key === Ft.Search ? this.search("") : this.emit("cx-table-applied-filter-remove", { detail: { key: e.detail.key } });
16642
16645
  }
16643
16646
  handleSearchFieldsChange() {
16644
16647
  this.handleSearch();
@@ -16856,10 +16859,10 @@ var sd, Z = class extends d {
16856
16859
  }
16857
16860
  handleHeaderMenuSelect(e) {
16858
16861
  let { action: t, field: n } = e.detail;
16859
- t === zt.HideColumn ? (this.tabulatorInstance?.hideColumn(n), this.emit("cx-table-column-visibility-change", { detail: {
16862
+ t === Bt.HideColumn ? (this.tabulatorInstance?.hideColumn(n), this.emit("cx-table-column-visibility-change", { detail: {
16860
16863
  field: n,
16861
16864
  visible: !1
16862
- } })) : t === zt.EditColumns && (this.emit("cx-table-edit-columns", { detail: { field: n } }), this.columnEditorEntries = this.getColumnEditorModel(), this.columnEditorOpen = !0), this.headerMenuOpen = !1;
16865
+ } })) : t === Bt.EditColumns && (this.emit("cx-table-edit-columns", { detail: { field: n } }), this.columnEditorEntries = this.getColumnEditorModel(), this.columnEditorOpen = !0), this.headerMenuOpen = !1;
16863
16866
  }
16864
16867
  handleHeaderMenuClose() {
16865
16868
  this.headerMenuOpen = !1;
@@ -16909,7 +16912,7 @@ var sd, Z = class extends d {
16909
16912
  })}>${E(this.showTableToolbar, () => this.renderToolbar())}<div part="table" class="table" @mouseover=${this.handleValidationMouseOver} @mouseout=${this.handleValidationMouseOut} @contextmenu=${this.handleHeaderContextMenu}></div>${E(this.showPaginationFooter, () => this.renderPaginationFooter())}</cx-space><cx-tooltip class="validation-tooltip" trigger="manual" disabled-hover-bridge></cx-tooltip><cx-table-header-menu ?open=${this.headerMenuOpen} point-x=${this.headerMenuPointX} point-y=${this.headerMenuPointY} field=${this.headerMenuField} ?hide-disabled=${this.headerMenuHideDisabled} @cx-table-header-menu-select=${this.handleHeaderMenuSelect} @cx-table-header-menu-close=${this.handleHeaderMenuClose}></cx-table-header-menu><cx-table-column-editor ?open=${this.columnEditorOpen} .entries=${this.columnEditorEntries} @cx-table-column-editor-apply=${this.handleColumnEditorApply} @cx-table-column-editor-cancel=${this.handleColumnEditorCancel}></cx-table-column-editor>`;
16910
16913
  }
16911
16914
  };
16912
- l([f(".tabulator-tableholder"), u("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], Z.prototype, "tabulatorHolder", void 0), l([f(".tabulator"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], Z.prototype, "tabulatorElement", void 0), l([f(".table"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], Z.prototype, "table", void 0), l([f("cx-table-toolbar"), u("design:type", Qn === void 0 ? Object : Qn)], Z.prototype, "tableToolbar", void 0), l([f("cx-table-footer"), u("design:type", Object)], Z.prototype, "tableFooter", void 0), l([f(".validation-tooltip"), u("design:type", N === void 0 ? Object : N)], Z.prototype, "validationTooltip", void 0), l([s({
16915
+ l([f(".tabulator-tableholder"), u("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], Z.prototype, "tabulatorHolder", void 0), l([f(".tabulator"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], Z.prototype, "tabulatorElement", void 0), l([f(".table"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], Z.prototype, "table", void 0), l([f("cx-table-toolbar"), u("design:type", Qn === void 0 ? Object : Qn)], Z.prototype, "tableToolbar", void 0), l([f("cx-table-footer"), u("design:type", Object)], Z.prototype, "tableFooter", void 0), l([f(".validation-tooltip"), u("design:type", se === void 0 ? Object : se)], Z.prototype, "validationTooltip", void 0), l([s({
16913
16916
  attribute: "movable-rows",
16914
16917
  reflect: !0,
16915
16918
  type: Boolean
@@ -17234,7 +17237,7 @@ l([f(".tabulator-tableholder"), u("design:type", typeof HTMLDivElement > "u" ? O
17234
17237
  }), u("design:type", Object)], Z.prototype, "noClipboard", void 0), l([s({
17235
17238
  attribute: "clipboard-action",
17236
17239
  type: String
17237
- }), u("design:type", Rt === void 0 ? Object : Rt)], Z.prototype, "clipboardAction", void 0), l([s({
17240
+ }), u("design:type", zt === void 0 ? Object : zt)], Z.prototype, "clipboardAction", void 0), l([s({
17238
17241
  attribute: "clipboard-copy-row-range",
17239
17242
  type: String
17240
17243
  }), u("design:type", String)], Z.prototype, "clipboardCopyRowRange", void 0), l([s({ attribute: "clipboard-paste-parser" }), u("design:type", Object)], Z.prototype, "clipboardPasteParser", void 0), l([s({
@@ -17276,7 +17279,7 @@ l([f(".tabulator-tableholder"), u("design:type", typeof HTMLDivElement > "u" ? O
17276
17279
  }), u("design:type", String)], Z.prototype, "paginationAddRow", void 0), l([s({
17277
17280
  attribute: "pagination-counter",
17278
17281
  type: String
17279
- }), u("design:type", Qe === void 0 ? Object : Qe)], Z.prototype, "paginationCounter", void 0), l([s({
17282
+ }), u("design:type", $e === void 0 ? Object : $e)], Z.prototype, "paginationCounter", void 0), l([s({
17280
17283
  attribute: "pagination-show-first",
17281
17284
  type: Boolean
17282
17285
  }), u("design:type", Boolean)], Z.prototype, "paginationShowFirst", void 0), l([s({
@@ -17286,7 +17289,7 @@ l([f(".tabulator-tableholder"), u("design:type", typeof HTMLDivElement > "u" ? O
17286
17289
  attribute: "pagination-placement",
17287
17290
  reflect: !0,
17288
17291
  type: String
17289
- }), u("design:type", Ft === void 0 ? Object : Ft)], Z.prototype, "paginationPlacement", void 0), l([s({
17292
+ }), u("design:type", It === void 0 ? Object : It)], Z.prototype, "paginationPlacement", void 0), l([s({
17290
17293
  attribute: "no-header-row-reserve",
17291
17294
  reflect: !0,
17292
17295
  type: Boolean
@@ -17351,7 +17354,7 @@ l([f(".tabulator-tableholder"), u("design:type", typeof HTMLDivElement > "u" ? O
17351
17354
  }), u("design:type", String)], Z.prototype, "dataUrl", void 0), l([s({
17352
17355
  attribute: "date-filter-compare-format",
17353
17356
  type: String
17354
- }), u("design:type", Ht === void 0 ? Object : Ht)], Z.prototype, "dateFilterCompareFormat", void 0), l([s({
17357
+ }), u("design:type", Ut === void 0 ? Object : Ut)], Z.prototype, "dateFilterCompareFormat", void 0), l([s({
17355
17358
  attribute: "data-format",
17356
17359
  type: String
17357
17360
  }), u("design:type", F === void 0 ? Object : F)], Z.prototype, "dataFormat", void 0), l([s({
@@ -17510,7 +17513,7 @@ var cd = Z, Q = /* @__PURE__ */ function(e) {
17510
17513
  let t = e.getRow().getData(), n = document.createElement("div");
17511
17514
  n.style.width = "100%", n.style.userSelect = "none";
17512
17515
  let r = document.createElement("div");
17513
- r.style.backgroundColor = Ue(t.hex ?? "", We.LeadingHash), r.style.display = "inline-block", r.style.verticalAlign = "middle", r.style.marginInlineEnd = "var(--cx-spacing-small)", r.style.width = "var(--name-swatch-width, 64px)", r.style.height = "var(--name-swatch-height, 32px)", r.style.borderRadius = "var(--name-swatch-border-radius, 0)", n.appendChild(r);
17516
+ r.style.backgroundColor = We(t.hex ?? "", Ge.LeadingHash), r.style.display = "inline-block", r.style.verticalAlign = "middle", r.style.marginInlineEnd = "var(--cx-spacing-small)", r.style.width = "var(--name-swatch-width, 64px)", r.style.height = "var(--name-swatch-height, 32px)", r.style.borderRadius = "var(--name-swatch-border-radius, 0)", n.appendChild(r);
17514
17517
  let i = document.createElement("span");
17515
17518
  return i.textContent = t.name ?? "", i.style.overflowWrap = "anywhere", i.style.whiteSpace = "var(--swatch-cell-white-space, nowrap)", n.appendChild(i), n;
17516
17519
  },
@@ -17639,10 +17642,10 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17639
17642
  } }, $ = class extends d {
17640
17643
  static #e = this.styles = [h, Sd];
17641
17644
  static #t = this.dependencies = {
17642
- "cx-color-swatch": tt,
17643
- "cx-space": ve,
17645
+ "cx-color-swatch": nt,
17646
+ "cx-space": ye,
17644
17647
  "cx-table": cd,
17645
- "cx-typography": ue
17648
+ "cx-typography": de
17646
17649
  };
17647
17650
  constructor() {
17648
17651
  super(), this.localize = new _(this), this.variant = Q.Table, this.data = [], this.maxCol = 4, this.canCopy = !1, this.showCodes = [
@@ -17650,14 +17653,14 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17650
17653
  "RGB",
17651
17654
  "CMYK",
17652
17655
  "PMS"
17653
- ], this.multiLanguage = !1, this.codeAlignment = He.SameLine, this.codeSeparator = Be.Comma, this.hexFormat = We.LeadingHash, this.showElements = [
17656
+ ], this.multiLanguage = !1, this.codeAlignment = Ue.SameLine, this.codeSeparator = Ve.Comma, this.hexFormat = Ge.LeadingHash, this.showElements = [
17654
17657
  dd.PaletteName,
17655
17658
  dd.ColumnTitles,
17656
17659
  dd.SeparatorLine
17657
- ], this.nameColumnWidthMode = ld.HugContents, this.nameColumnConstraints = !1, this.nameColumnWidth = "", this.codeColumnWidthMode = ld.HugContents, this.codeColumnConstraints = !1, this.codeColumnWidth = "", this.customColumns = [], this.gradientEffect = !1, this.breakpoints = Ye, this.deviceType = Ke.Desktop, this.currentCol = 0, this.visibleElements = new Set(this.showElements), this.hugWidths = {}, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
17660
+ ], this.nameColumnWidthMode = ld.HugContents, this.nameColumnConstraints = !1, this.nameColumnWidth = "", this.codeColumnWidthMode = ld.HugContents, this.codeColumnConstraints = !1, this.codeColumnWidth = "", this.customColumns = [], this.gradientEffect = !1, this.breakpoints = Xe, this.deviceType = qe.Desktop, this.currentCol = 0, this.visibleElements = new Set(this.showElements), this.hugWidths = {}, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
17658
17661
  }
17659
17662
  runFirstUpdated() {
17660
- this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute("aria-roledescription", this.localize.term("colorSwatches")), this.breakpoints = qe(this, this.breakpoints), this.handleResize();
17663
+ this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute("aria-roledescription", this.localize.term("colorSwatches")), this.breakpoints = Je(this, this.breakpoints), this.handleResize();
17661
17664
  }
17662
17665
  connectedCallback() {
17663
17666
  super.connectedCallback(), window.addEventListener("resize", this.handleWindowResize);
@@ -17676,11 +17679,11 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17676
17679
  this.currentCol = Math.floor((e + n) / (165 + n));
17677
17680
  break;
17678
17681
  }
17679
- case Q.Circles: this.deviceType = Je(this.breakpoints);
17682
+ case Q.Circles: this.deviceType = Ye(this.breakpoints);
17680
17683
  }
17681
17684
  }
17682
17685
  handleKeyDown(e) {
17683
- (e.target instanceof tt || e.target?.closest("[data-table-container]")) && (e.key === "Enter" || e.key === " ") && (this.isFocused = !0);
17686
+ (e.target instanceof nt || e.target?.closest("[data-table-container]")) && (e.key === "Enter" || e.key === " ") && (this.isFocused = !0);
17684
17687
  }
17685
17688
  handleFocusIn() {
17686
17689
  this.isContainerFocused = !0;
@@ -17755,7 +17758,7 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17755
17758
  return t;
17756
17759
  }
17757
17760
  formatCode(e, t) {
17758
- return e === "hex" ? Ue(t, this.hexFormat) : e === "rgb" || e === "cmyk" ? Ve(t, this.codeSeparator) : t;
17761
+ return e === "hex" ? We(t, this.hexFormat) : e === "rgb" || e === "cmyk" ? He(t, this.codeSeparator) : t;
17759
17762
  }
17760
17763
  applyColumnSettings(e, t) {
17761
17764
  let n = { ...e }, r = t.widthMode === ld.HugContents;
@@ -17839,19 +17842,19 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17839
17842
  this.isContainerFocused || (this.canFocusContainer = !this.isFocused);
17840
17843
  }
17841
17844
  get currentDirection() {
17842
- return this.variant === Q.Circles && this.deviceType !== Ke.Desktop ? "vertical" : "horizontal";
17845
+ return this.variant === Q.Circles && this.deviceType !== qe.Desktop ? "vertical" : "horizontal";
17843
17846
  }
17844
17847
  get swatchVariant() {
17845
17848
  switch (this.variant) {
17846
- case Q.Circles: return this.deviceType === Ke.Tablet ? Ge.Oval : Ge.Circle;
17847
- case Q.Grid: return Ge.GridItem;
17849
+ case Q.Circles: return this.deviceType === qe.Tablet ? Ke.Oval : Ke.Circle;
17850
+ case Q.Grid: return Ke.GridItem;
17848
17851
  default: return;
17849
17852
  }
17850
17853
  }
17851
17854
  render() {
17852
17855
  let e = this.currentDirection, t = this.localize.lang();
17853
17856
  return r`
17854
- ${E(this.variant === Q.Table, () => r`<span class="color-swatch-group__measure" aria-hidden="true"></span><cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${xe([
17857
+ ${E(this.variant === Q.Table, () => r`<span class="color-swatch-group__measure" aria-hidden="true"></span><cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${Se([
17855
17858
  this.data,
17856
17859
  this.showElements,
17857
17860
  ...this.columnGuardDependencies
@@ -17864,7 +17867,7 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17864
17867
  ...this.multiLanguage && t ? { name: e[`name-${t.toLowerCase()}`] ?? e.name } : {},
17865
17868
  rgb: this.formatCode("rgb", e.rgb ?? "")
17866
17869
  }));
17867
- return r`<div tabindex=${T(this.canFocusContainer ? "0" : void 0)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}>${E(this.visibleElements.has(dd.PaletteName), () => r`<cx-typography class="color-swatch-group__title" variant="h3">${e.palette === Cd ? this.localize.term("noPalette") : this.localize.term("shadesPalette", e.palette)}</cx-typography>`)}<cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable ?no-header=${!this.visibleElements.has(dd.ColumnTitles)} layout="fitColumns" .columns=${xe(this.columnGuardDependencies, () => this.getTableColumns(e.palette))} .columnDefaults=${hd} .rowHeight=${void 0} .data=${n} class=${C({
17870
+ return r`<div tabindex=${T(this.canFocusContainer ? "0" : void 0)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}>${E(this.visibleElements.has(dd.PaletteName), () => r`<cx-typography class="color-swatch-group__title" variant="h3">${e.palette === Cd ? this.localize.term("noPalette") : this.localize.term("shadesPalette", e.palette)}</cx-typography>`)}<cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable ?no-header=${!this.visibleElements.has(dd.ColumnTitles)} layout="fitColumns" .columns=${Se(this.columnGuardDependencies, () => this.getTableColumns(e.palette))} .columnDefaults=${hd} .rowHeight=${void 0} .data=${n} class=${C({
17868
17871
  "color-swatch-group__table": !0,
17869
17872
  "color-swatch-group__table--no-separator": !this.visibleElements.has(dd.SeparatorLine)
17870
17873
  })}></cx-table></div>`;
@@ -17872,9 +17875,9 @@ var Sd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17872
17875
  "color-swatch-group__swatches": !0,
17873
17876
  "color-swatch-group__swatches--grid": this.variant === Q.Grid,
17874
17877
  [`color-swatch-group__swatches--circles--${e}`]: this.variant === Q.Circles
17875
- })} style=${k({ gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : "repeat(auto-fit, minmax(165px, 1fr))" })}>${pe(this.data, (e) => e.name, (n, i) => r`<cx-color-swatch part="color-swatch-item" role="listitem" aria-label=${this.localize.term("colorOfTotal", i + 1, this.data.length)} hex=${n.hex} rgb=${n.rgb} cmyk=${n.cmyk} pms=${n.pms} name=${this.multiLanguage && t ? n[`name-${t.toLowerCase()}`] ?? n.name : n.name} variant=${this.swatchVariant} ?can-copy=${this.canCopy} ?can-focus-code-only=${this.isFocused} gradient-stops=${this.gradientStopsFor(i)} .showCodes=${this.showCodes} code-alignment=${this.codeAlignment} code-separator=${this.codeSeparator} hex-format=${this.hexFormat} no-auto-convert class=${C({
17878
+ })} style=${k({ gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : "repeat(auto-fit, minmax(165px, 1fr))" })}>${me(this.data, (e) => e.name, (n, i) => r`<cx-color-swatch part="color-swatch-item" role="listitem" aria-label=${this.localize.term("colorOfTotal", i + 1, this.data.length)} hex=${n.hex} rgb=${n.rgb} cmyk=${n.cmyk} pms=${n.pms} name=${this.multiLanguage && t ? n[`name-${t.toLowerCase()}`] ?? n.name : n.name} variant=${this.swatchVariant} ?can-copy=${this.canCopy} ?can-focus-code-only=${this.isFocused} gradient-stops=${this.gradientStopsFor(i)} .showCodes=${this.showCodes} code-alignment=${this.codeAlignment} code-separator=${this.codeSeparator} hex-format=${this.hexFormat} no-auto-convert class=${C({
17876
17879
  [`color-swatch-group__swatches--circles--${e}__item`]: this.variant === Q.Circles,
17877
- "color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Q.Circles && this.deviceType === Ke.Mobile
17880
+ "color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Q.Circles && this.deviceType === qe.Mobile
17878
17881
  })} @keydown=${this.handleKeyDown} @focusout=${this.handleFocusOut}></cx-color-swatch>`)}</cx-space>`)}
17879
17882
  `;
17880
17883
  }
@@ -17908,15 +17911,15 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
17908
17911
  attribute: "code-alignment",
17909
17912
  reflect: !0,
17910
17913
  type: String
17911
- }), u("design:type", He === void 0 ? Object : He)], $.prototype, "codeAlignment", void 0), l([s({
17914
+ }), u("design:type", Ue === void 0 ? Object : Ue)], $.prototype, "codeAlignment", void 0), l([s({
17912
17915
  attribute: "code-separator",
17913
17916
  reflect: !0,
17914
17917
  type: String
17915
- }), u("design:type", Be === void 0 ? Object : Be)], $.prototype, "codeSeparator", void 0), l([s({
17918
+ }), u("design:type", Ve === void 0 ? Object : Ve)], $.prototype, "codeSeparator", void 0), l([s({
17916
17919
  attribute: "hex-format",
17917
17920
  reflect: !0,
17918
17921
  type: String
17919
- }), u("design:type", We === void 0 ? Object : We)], $.prototype, "hexFormat", void 0), l([s({
17922
+ }), u("design:type", Ge === void 0 ? Object : Ge)], $.prototype, "hexFormat", void 0), l([s({
17920
17923
  attribute: "show-elements",
17921
17924
  converter: {
17922
17925
  fromAttribute: (e) => (e?.split(" ") ?? []).filter((e) => md.has(e)),
@@ -17973,8 +17976,8 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
17973
17976
  attribute: "gradient-effect",
17974
17977
  reflect: !0,
17975
17978
  type: Boolean
17976
- }), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type", Ke === void 0 ? Object : Ke)], $.prototype, "deviceType", void 0), l([c(), u("design:type", Object)], $.prototype, "currentCol", void 0), l([c(), u("design:type", Object)], $.prototype, "visibleElements", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], $.prototype, "hugWidths", void 0), l([c(), u("design:type", Object)], $.prototype, "isFocused", void 0), l([c(), u("design:type", Object)], $.prototype, "canFocusContainer", void 0), l([c(), u("design:type", Object)], $.prototype, "isContainerFocused", void 0), l([
17977
- ne(100),
17979
+ }), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type", qe === void 0 ? Object : qe)], $.prototype, "deviceType", void 0), l([c(), u("design:type", Object)], $.prototype, "currentCol", void 0), l([c(), u("design:type", Object)], $.prototype, "visibleElements", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], $.prototype, "hugWidths", void 0), l([c(), u("design:type", Object)], $.prototype, "isFocused", void 0), l([c(), u("design:type", Object)], $.prototype, "canFocusContainer", void 0), l([c(), u("design:type", Object)], $.prototype, "isContainerFocused", void 0), l([
17980
+ A(100),
17978
17981
  u("design:type", Function),
17979
17982
  u("design:paramtypes", []),
17980
17983
  u("design:returntype", void 0)
@@ -17996,4 +17999,4 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
17996
17999
  ], $.prototype, "handleIsFocusedChange", null), $ = l([g("cx-color-swatch-group"), u("design:paramtypes", [])], $);
17997
18000
  var Ed = $;
17998
18001
  //#endregion
17999
- export { dd as a, cd as c, Ut as d, Bt as f, Ct as h, ld as i, kn as l, St as m, xd as n, Q as o, Nt as p, ud as r, fd as s, Ed as t, rn as u };
18002
+ export { dd as a, cd as c, Wt as d, Vt as f, wt as h, ld as i, kn as l, Ct as m, xd as n, Q as o, Pt as p, ud as r, fd as s, Ed as t, an as u };