@luzmo/analytics-components-kit 1.0.1-alpha.52 → 1.0.1-alpha.54

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 (141) hide show
  1. package/components/{de-Cxe7xkT4.cjs → de-BimXztr7.cjs} +1 -1
  2. package/components/{de-ZPzjN2kc.js → de-Ca_gJecj.js} +0 -1
  3. package/components/display-settings/display-settings.d.ts +1 -0
  4. package/components/display-settings/index.cjs +1 -1
  5. package/components/display-settings/index.js +1 -1
  6. package/components/display-settings-binning/index.cjs +1 -1
  7. package/components/display-settings-binning/index.js +2 -2
  8. package/components/display-settings-datetime/display-settings-datetime.d.ts +1 -1
  9. package/components/display-settings-datetime/index.cjs +43 -56
  10. package/components/display-settings-datetime/index.js +81 -95
  11. package/components/display-settings-grand-totals/index.cjs +1 -1
  12. package/components/display-settings-grand-totals/index.js +2 -2
  13. package/components/display-settings-numeric/index.cjs +19 -19
  14. package/components/display-settings-numeric/index.js +84 -84
  15. package/components/display-settings-period-over-period/index.cjs +1 -1
  16. package/components/display-settings-period-over-period/index.js +2 -2
  17. package/components/draggable-data-item/index.cjs +1 -1
  18. package/components/draggable-data-item/index.js +3 -3
  19. package/components/draggable-data-item-level/index.cjs +1 -1
  20. package/components/draggable-data-item-level/index.js +1 -1
  21. package/components/droppable-slot/index.cjs +2 -2
  22. package/components/droppable-slot/index.js +4 -4
  23. package/components/edit-item/index.cjs +2 -2
  24. package/components/edit-item/index.js +6 -4
  25. package/components/edit-option/index.cjs +1 -1
  26. package/components/edit-option/index.js +1 -1
  27. package/components/{en-GB-BtLbN8o_.js → en-GB-UzDYaNfY.js} +1 -1
  28. package/components/{en-GB-Dd11ROdW.cjs → en-GB-cN3S24Cg.cjs} +1 -1
  29. package/components/{es-C0JGlz18.js → es-BHAnPxmj.js} +0 -1
  30. package/components/{es-4dEouIgb.cjs → es-CDzU1gsd.cjs} +1 -1
  31. package/components/filter-data-item-picker/index.cjs +1 -1
  32. package/components/filter-data-item-picker/index.js +2 -2
  33. package/components/filter-expression-picker/index.cjs +1 -1
  34. package/components/filter-expression-picker/index.js +1 -1
  35. package/components/filter-item/index.cjs +1 -1
  36. package/components/filter-item/index.js +3 -3
  37. package/components/filter-value-picker/index.cjs +1 -1
  38. package/components/filter-value-picker/index.js +1 -1
  39. package/components/filter-value-picker-datetime/index.cjs +1 -1
  40. package/components/filter-value-picker-datetime/index.js +2 -2
  41. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  42. package/components/filter-value-picker-hierarchy/index.js +2 -2
  43. package/components/filter-value-picker-numeric/index.cjs +1 -1
  44. package/components/filter-value-picker-numeric/index.js +2 -2
  45. package/components/{formatter-CQDms6fU.js → formatter-CqU9_98M.js} +1 -0
  46. package/components/{formatter-DiJYkB6b.cjs → formatter-Lo9PMcxy.cjs} +1 -1
  47. package/components/{fr-B_-_f-VN.js → fr-CKHxPDre.js} +0 -1
  48. package/components/{fr-Dwulhlbi.cjs → fr-s3wNsLiB.cjs} +1 -1
  49. package/components/grid/index.cjs +1 -1
  50. package/components/grid/index.js +2 -2
  51. package/components/{heat-map-options.config-DQya-lag.js → heat-map-options.config-BnLWe8jS.js} +16 -14
  52. package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
  53. package/components/index-BF9-Mgs_.cjs +249 -0
  54. package/components/{index-5Z9GD60H.js → index-CZ0HI7ep.js} +2 -2
  55. package/components/index-D05oY5ND.cjs +178 -0
  56. package/components/{index-Df-_TbOD.cjs → index-D4JNE3zI.cjs} +1 -1
  57. package/components/{index-fmbD10nN.js → index-DV63kOPg.js} +269 -242
  58. package/components/{index-BPVXrhaX.js → index-KFE-WtKZ.js} +5 -3
  59. package/components/index.cjs +1 -1
  60. package/components/index.js +4 -4
  61. package/components/item-context-configs.cjs +225 -0
  62. package/components/item-context-configs.js +1013 -0
  63. package/components/item-options-configs.cjs +20 -0
  64. package/components/item-options-configs.js +109 -0
  65. package/components/{localized-decorator-DIXYZ3RL.cjs → localized-decorator-CIHsaT2_.cjs} +1 -1
  66. package/components/{localized-decorator-Bl5gcI6n.js → localized-decorator-Di4TdvRQ.js} +1 -1
  67. package/components/{marker-map-options.config-CYoq89Oz.js → marker-map-options.config-DPJ955tt.js} +1 -1
  68. package/components/{marker-map-options.config-_XFv5XWK.cjs → marker-map-options.config-_FYZzRwA.cjs} +1 -1
  69. package/components/{nl-gdQCG4WV.js → nl-CMVty5rf.js} +0 -1
  70. package/components/{nl-DxdBIXDd.cjs → nl-DHgf0PUG.cjs} +1 -1
  71. package/components/{periods.const-7sXlqgEo.cjs → periods.const-CTd6Hskz.cjs} +1 -1
  72. package/components/{periods.const-B7FKokcH.js → periods.const-D77iT3rK.js} +1 -1
  73. package/components/{set-locale-DCPlazsZ.cjs → set-locale-CSL8WaxL.cjs} +1 -1
  74. package/components/{set-locale-GI34z_M7.js → set-locale-CW9yA503.js} +1 -1
  75. package/components/slot-contents-picker/index.cjs +1 -1
  76. package/components/slot-contents-picker/index.js +3 -3
  77. package/components/slot-menu/index.cjs +8 -8
  78. package/components/slot-menu/index.js +88 -76
  79. package/components/slot-menu-list/index.cjs +1 -1
  80. package/components/slot-menu-list/index.js +9 -10
  81. package/components/{symbol-map-options.config-Bj-UuL9m.js → symbol-map-options.config-DdDA4aa7.js} +1 -1
  82. package/components/{symbol-map-options.config-sdPlHspI.cjs → symbol-map-options.config-m-lwLTtu.cjs} +1 -1
  83. package/components/utils.cjs +1 -1
  84. package/components/utils.js +1 -1
  85. package/components/venn-diagram-options.config-CGUMA930.js +23 -0
  86. package/components/venn-diagram-options.config-mPXMR1CE.cjs +20 -0
  87. package/custom-elements.json +6 -0
  88. package/item-definitions/area-chart/area-chart-context.config.d.ts +20 -0
  89. package/item-definitions/bar-chart/bar-chart-context.config.d.ts +20 -0
  90. package/item-definitions/box-plot/box-plot-context.config.d.ts +17 -0
  91. package/item-definitions/bubble-chart/bubble-chart-context.config.d.ts +20 -0
  92. package/item-definitions/bullet-chart/bullet-chart-context.config.d.ts +20 -0
  93. package/item-definitions/choropleth-map/choropleth-map-context.config.d.ts +20 -0
  94. package/item-definitions/circle-pack-chart/circle-pack-chart-context.config.d.ts +17 -0
  95. package/item-definitions/circular-gauge/circular-gauge-context.config.d.ts +17 -0
  96. package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +1 -1
  97. package/item-definitions/column-chart/column-chart-context.config.d.ts +20 -0
  98. package/item-definitions/combination-chart/combination-chart-context.config.d.ts +17 -0
  99. package/item-definitions/conditional-number/conditional-number-context.config.d.ts +17 -0
  100. package/item-definitions/context-helpers.d.ts +2 -0
  101. package/item-definitions/date-filter/date-filter-context.config.d.ts +14 -0
  102. package/item-definitions/donut-chart/donut-chart-context.config.d.ts +17 -0
  103. package/item-definitions/dropdown-filter/dropdown-filter-context.config.d.ts +14 -0
  104. package/item-definitions/evolution-number/evolution-number-context.config.d.ts +17 -0
  105. package/item-definitions/funnel-chart/funnel-chart-context.config.d.ts +17 -0
  106. package/item-definitions/heat-map/heat-map-context.config.d.ts +17 -0
  107. package/item-definitions/heat-table/heat-table-context.config.d.ts +20 -0
  108. package/item-definitions/hexbin-map/hexbin-map-context.config.d.ts +17 -0
  109. package/item-definitions/image/image-context.config.d.ts +10 -0
  110. package/item-definitions/item-context.config.d.ts +44 -0
  111. package/item-definitions/item-options.config.d.ts +44 -0
  112. package/item-definitions/line-chart/line-chart-context.config.d.ts +20 -0
  113. package/item-definitions/marker-map/marker-map-context.config.d.ts +17 -0
  114. package/item-definitions/ohlc-chart/ohlc-chart-context.config.d.ts +26 -0
  115. package/item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-context.config.d.ts +17 -0
  116. package/item-definitions/pivot-table/pivot-table-context.config.d.ts +20 -0
  117. package/item-definitions/pyramid-chart/pyramid-chart-context.config.d.ts +20 -0
  118. package/item-definitions/radar-chart/radar-chart-context.config.d.ts +20 -0
  119. package/item-definitions/regular-table/regular-table-context.config.d.ts +14 -0
  120. package/item-definitions/route-map/route-map-context.config.d.ts +23 -0
  121. package/item-definitions/sankey-diagram/sankey-diagram-context.config.d.ts +19 -0
  122. package/item-definitions/scatter-plot/scatter-plot-context.config.d.ts +26 -0
  123. package/item-definitions/search-filter/search-filter-context.config.d.ts +14 -0
  124. package/item-definitions/slicer-filter/slicer-filter-context.config.d.ts +17 -0
  125. package/item-definitions/slider-filter/slider-filter-context.config.d.ts +14 -0
  126. package/item-definitions/spacer/spacer-context.config.d.ts +10 -0
  127. package/item-definitions/speedometer-chart/speedometer-chart-context.config.d.ts +17 -0
  128. package/item-definitions/spike-map/spike-map-context.config.d.ts +20 -0
  129. package/item-definitions/strip-plot/strip-plot-context.config.d.ts +17 -0
  130. package/item-definitions/sunburst-chart/sunburst-chart-context.config.d.ts +17 -0
  131. package/item-definitions/symbol-map/symbol-map-context.config.d.ts +20 -0
  132. package/item-definitions/text/text-context.config.d.ts +10 -0
  133. package/item-definitions/treemap-chart/treemap-chart-context.config.d.ts +20 -0
  134. package/item-definitions/venn-diagram/venn-diagram-context.config.d.ts +20 -0
  135. package/item-definitions/venn-diagram/venn-diagram-options.config.d.ts +2 -0
  136. package/item-definitions/video/video-context.config.d.ts +10 -0
  137. package/item-definitions/wordcloud-chart/wordcloud-chart-context.config.d.ts +20 -0
  138. package/package.json +11 -1
  139. package/components/heat-map-options.config-BQ-Afrbi.cjs +0 -20
  140. package/components/index-3X8Iuo7y.cjs +0 -174
  141. package/components/index-CSfR7FMV.cjs +0 -249
@@ -17,8 +17,8 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { r as ie, x as y, n as f } from "./property-DCzt3DR1.js";
21
- import { h as oe } from "./task-Bh_X-xIU.js";
20
+ import { r as re, E as oe, x as b, n as z } from "./property-DCzt3DR1.js";
21
+ import { h as ne } from "./task-Bh_X-xIU.js";
22
22
  import "./index-CskV_bXp.js";
23
23
  import "./index-CsDgk_sj.js";
24
24
  import "./index-BC1LV3vH.js";
@@ -26,15 +26,16 @@ import "./index-CbuHBIDB.js";
26
26
  import "./index-C3N6qTxJ.js";
27
27
  import "./index-DE3d0E0P.js";
28
28
  import "./index-BmshD32H.js";
29
- import { r as ne } from "./state-nDsQPund.js";
30
- import { e as ae } from "./query-Ddbd72Um.js";
31
- import { a8 as V, af as le, a7 as ue } from "./luzmo-icons-CVeTZ59u.js";
32
- import { L as ce } from "./focusable-BbymtxWI.js";
33
- import { S as de, E as pe } from "./sized-mixin-BGzkX2g1.js";
34
- var he = Object.defineProperty, me = (e, t, s) => t in e ? he(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, L = (e, t, s) => (me(e, typeof t != "symbol" ? t + "" : t, s), s), ge = (e, t, s) => {
29
+ import { r as ae } from "./state-nDsQPund.js";
30
+ import { e as le } from "./query-Ddbd72Um.js";
31
+ import { a8 as V, af as ue, a7 as ce } from "./luzmo-icons-CVeTZ59u.js";
32
+ import { f as de } from "./formatter-CqU9_98M.js";
33
+ import { L as pe } from "./focusable-BbymtxWI.js";
34
+ import { S as he, E as me } from "./sized-mixin-BGzkX2g1.js";
35
+ var ge = Object.defineProperty, ve = (e, t, s) => t in e ? ge(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, L = (e, t, s) => (ve(e, typeof t != "symbol" ? t + "" : t, s), s), fe = (e, t, s) => {
35
36
  if (!t.has(e))
36
37
  throw TypeError("Cannot " + s);
37
- }, P = (e, t) => {
38
+ }, D = (e, t) => {
38
39
  if (Object(t) !== t)
39
40
  throw TypeError('Cannot use the "in" operator on this value');
40
41
  return e.has(t);
@@ -42,7 +43,7 @@ var he = Object.defineProperty, me = (e, t, s) => t in e ? he(e, t, { enumerable
42
43
  if (t.has(e))
43
44
  throw TypeError("Cannot add the same private member more than once");
44
45
  t instanceof WeakSet ? t.add(e) : t.set(e, s);
45
- }, B = (e, t, s) => (ge(e, t, "access private method"), s);
46
+ }, B = (e, t, s) => (fe(e, t, "access private method"), s);
46
47
  /**
47
48
  * @license
48
49
  * Copyright Google LLC All Rights Reserved.
@@ -60,17 +61,17 @@ function G(e, t) {
60
61
  * Use of this source code is governed by an MIT-style license that can be
61
62
  * found in the LICENSE file at https://angular.io/license
62
63
  */
63
- let u = null, x = !1, E = 1;
64
+ let c = null, $ = !1, E = 1;
64
65
  const I = /* @__PURE__ */ Symbol("SIGNAL");
65
66
  function S(e) {
66
- const t = u;
67
- return u = e, t;
67
+ const t = c;
68
+ return c = e, t;
68
69
  }
69
- function ve() {
70
- return u;
70
+ function ye() {
71
+ return c;
71
72
  }
72
- function fe() {
73
- return x;
73
+ function be() {
74
+ return $;
74
75
  }
75
76
  const A = {
76
77
  version: 0,
@@ -93,26 +94,26 @@ const A = {
93
94
  }
94
95
  };
95
96
  function O(e) {
96
- if (x)
97
+ if ($)
97
98
  throw new Error(
98
99
  typeof ngDevMode < "u" && ngDevMode ? "Assertion error: signal read during notification phase" : ""
99
100
  );
100
- if (u === null)
101
+ if (c === null)
101
102
  return;
102
- u.consumerOnSignalRead(e);
103
- const t = u.nextProducerIndex++;
104
- if ($(u), t < u.producerNode.length && u.producerNode[t] !== e && R(u)) {
105
- const s = u.producerNode[t];
106
- k(s, u.producerIndexOfThis[t]);
103
+ c.consumerOnSignalRead(e);
104
+ const t = c.nextProducerIndex++;
105
+ if (x(c), t < c.producerNode.length && c.producerNode[t] !== e && R(c)) {
106
+ const s = c.producerNode[t];
107
+ k(s, c.producerIndexOfThis[t]);
107
108
  }
108
- u.producerNode[t] !== e && (u.producerNode[t] = e, u.producerIndexOfThis[t] = R(u) ? K(e, u, t) : 0), u.producerLastReadVersion[t] = e.version;
109
+ c.producerNode[t] !== e && (c.producerNode[t] = e, c.producerIndexOfThis[t] = R(c) ? K(e, c, t) : 0), c.producerLastReadVersion[t] = e.version;
109
110
  }
110
- function ye() {
111
+ function ze() {
111
112
  E++;
112
113
  }
113
114
  function H(e) {
114
115
  if (!(!e.dirty && e.lastCleanEpoch === E)) {
115
- if (!e.producerMustRecompute(e) && !_e(e)) {
116
+ if (!e.producerMustRecompute(e) && !xe(e)) {
116
117
  e.dirty = !1, e.lastCleanEpoch = E;
117
118
  return;
118
119
  }
@@ -122,26 +123,26 @@ function H(e) {
122
123
  function J(e) {
123
124
  if (e.liveConsumerNode === void 0)
124
125
  return;
125
- const t = x;
126
- x = !0;
126
+ const t = $;
127
+ $ = !0;
127
128
  try {
128
129
  for (const s of e.liveConsumerNode)
129
- s.dirty || ze(s);
130
+ s.dirty || we(s);
130
131
  } finally {
131
- x = t;
132
+ $ = t;
132
133
  }
133
134
  }
134
- function be() {
135
- return (u == null ? void 0 : u.consumerAllowSignalWrites) !== !1;
135
+ function Ce() {
136
+ return (c == null ? void 0 : c.consumerAllowSignalWrites) !== !1;
136
137
  }
137
- function ze(e) {
138
+ function we(e) {
138
139
  var t;
139
140
  e.dirty = !0, J(e), (t = e.consumerMarkedDirty) == null || t.call(e.wrapper ?? e);
140
141
  }
141
- function we(e) {
142
+ function _e(e) {
142
143
  return e && (e.nextProducerIndex = 0), S(e);
143
144
  }
144
- function Ce(e, t) {
145
+ function Se(e, t) {
145
146
  if (S(t), !(!e || e.producerNode === void 0 || e.producerIndexOfThis === void 0 || e.producerLastReadVersion === void 0)) {
146
147
  if (R(e))
147
148
  for (let s = e.nextProducerIndex; s < e.producerNode.length; s++)
@@ -150,49 +151,49 @@ function Ce(e, t) {
150
151
  e.producerNode.pop(), e.producerLastReadVersion.pop(), e.producerIndexOfThis.pop();
151
152
  }
152
153
  }
153
- function _e(e) {
154
- $(e);
154
+ function xe(e) {
155
+ x(e);
155
156
  for (let t = 0; t < e.producerNode.length; t++) {
156
- const s = e.producerNode[t], o = e.producerLastReadVersion[t];
157
- if (o !== s.version || (H(s), o !== s.version))
157
+ const s = e.producerNode[t], r = e.producerLastReadVersion[t];
158
+ if (r !== s.version || (H(s), r !== s.version))
158
159
  return !0;
159
160
  }
160
161
  return !1;
161
162
  }
162
163
  function K(e, t, s) {
163
- var o;
164
- if (U(e), $(e), e.liveConsumerNode.length === 0) {
165
- (o = e.watched) == null || o.call(e.wrapper);
166
- for (let r = 0; r < e.producerNode.length; r++)
167
- e.producerIndexOfThis[r] = K(e.producerNode[r], e, r);
164
+ var r;
165
+ if (M(e), x(e), e.liveConsumerNode.length === 0) {
166
+ (r = e.watched) == null || r.call(e.wrapper);
167
+ for (let i = 0; i < e.producerNode.length; i++)
168
+ e.producerIndexOfThis[i] = K(e.producerNode[i], e, i);
168
169
  }
169
170
  return e.liveConsumerIndexOfThis.push(s), e.liveConsumerNode.push(t) - 1;
170
171
  }
171
172
  function k(e, t) {
172
173
  var s;
173
- if (U(e), $(e), typeof ngDevMode < "u" && ngDevMode && t >= e.liveConsumerNode.length)
174
+ if (M(e), x(e), typeof ngDevMode < "u" && ngDevMode && t >= e.liveConsumerNode.length)
174
175
  throw new Error(
175
176
  `Assertion error: active consumer index ${t} is out of bounds of ${e.liveConsumerNode.length} consumers)`
176
177
  );
177
178
  if (e.liveConsumerNode.length === 1) {
178
179
  (s = e.unwatched) == null || s.call(e.wrapper);
179
- for (let r = 0; r < e.producerNode.length; r++)
180
- k(e.producerNode[r], e.producerIndexOfThis[r]);
180
+ for (let i = 0; i < e.producerNode.length; i++)
181
+ k(e.producerNode[i], e.producerIndexOfThis[i]);
181
182
  }
182
- const o = e.liveConsumerNode.length - 1;
183
- if (e.liveConsumerNode[t] = e.liveConsumerNode[o], e.liveConsumerIndexOfThis[t] = e.liveConsumerIndexOfThis[o], e.liveConsumerNode.length--, e.liveConsumerIndexOfThis.length--, t < e.liveConsumerNode.length) {
184
- const r = e.liveConsumerIndexOfThis[t], n = e.liveConsumerNode[t];
185
- $(n), n.producerIndexOfThis[r] = t;
183
+ const r = e.liveConsumerNode.length - 1;
184
+ if (e.liveConsumerNode[t] = e.liveConsumerNode[r], e.liveConsumerIndexOfThis[t] = e.liveConsumerIndexOfThis[r], e.liveConsumerNode.length--, e.liveConsumerIndexOfThis.length--, t < e.liveConsumerNode.length) {
185
+ const i = e.liveConsumerIndexOfThis[t], n = e.liveConsumerNode[t];
186
+ x(n), n.producerIndexOfThis[i] = t;
186
187
  }
187
188
  }
188
189
  function R(e) {
189
190
  var t;
190
191
  return e.consumerIsAlwaysLive || (((t = e == null ? void 0 : e.liveConsumerNode) == null ? void 0 : t.length) ?? 0) > 0;
191
192
  }
192
- function $(e) {
193
+ function x(e) {
193
194
  e.producerNode ?? (e.producerNode = []), e.producerIndexOfThis ?? (e.producerIndexOfThis = []), e.producerLastReadVersion ?? (e.producerLastReadVersion = []);
194
195
  }
195
- function U(e) {
196
+ function M(e) {
196
197
  e.liveConsumerNode ?? (e.liveConsumerNode = []), e.liveConsumerIndexOfThis ?? (e.liveConsumerIndexOfThis = []);
197
198
  }
198
199
  /**
@@ -207,40 +208,40 @@ function Q(e) {
207
208
  throw e.error;
208
209
  return e.value;
209
210
  }
210
- function Se(e) {
211
- const t = Object.create($e);
211
+ function $e(e) {
212
+ const t = Object.create(Te);
212
213
  t.computation = e;
213
214
  const s = () => Q(t);
214
215
  return s[I] = t, s;
215
216
  }
216
- const W = /* @__PURE__ */ Symbol("UNSET"), D = /* @__PURE__ */ Symbol("COMPUTING"), q = /* @__PURE__ */ Symbol("ERRORED"), $e = {
217
+ const P = /* @__PURE__ */ Symbol("UNSET"), W = /* @__PURE__ */ Symbol("COMPUTING"), q = /* @__PURE__ */ Symbol("ERRORED"), Te = {
217
218
  ...A,
218
- value: W,
219
+ value: P,
219
220
  dirty: !0,
220
221
  error: null,
221
222
  equal: G,
222
223
  producerMustRecompute(e) {
223
- return e.value === W || e.value === D;
224
+ return e.value === P || e.value === W;
224
225
  },
225
226
  producerRecomputeValue(e) {
226
- if (e.value === D)
227
+ if (e.value === W)
227
228
  throw new Error("Detected cycle in computations.");
228
229
  const t = e.value;
229
- e.value = D;
230
- const s = we(e);
231
- let o, r = !1;
230
+ e.value = W;
231
+ const s = _e(e);
232
+ let r, i = !1;
232
233
  try {
233
- o = e.computation.call(e.wrapper), r = t !== W && t !== q && e.equal.call(e.wrapper, t, o);
234
+ r = e.computation.call(e.wrapper), i = t !== P && t !== q && e.equal.call(e.wrapper, t, r);
234
235
  } catch (n) {
235
- o = q, e.error = n;
236
+ r = q, e.error = n;
236
237
  } finally {
237
- Ce(e, s);
238
+ Se(e, s);
238
239
  }
239
- if (r) {
240
+ if (i) {
240
241
  e.value = t;
241
242
  return;
242
243
  }
243
- e.value = o, e.version++;
244
+ e.value = r, e.version++;
244
245
  }
245
246
  };
246
247
  /**
@@ -250,12 +251,12 @@ const W = /* @__PURE__ */ Symbol("UNSET"), D = /* @__PURE__ */ Symbol("COMPUTING
250
251
  * Use of this source code is governed by an MIT-style license that can be
251
252
  * found in the LICENSE file at https://angular.io/license
252
253
  */
253
- function xe() {
254
+ function Ne() {
254
255
  throw new Error();
255
256
  }
256
- let Te = xe;
257
- function Ne() {
258
- Te();
257
+ let Ee = Ne;
258
+ function Ie() {
259
+ Ee();
259
260
  }
260
261
  /**
261
262
  * @license
@@ -264,25 +265,25 @@ function Ne() {
264
265
  * Use of this source code is governed by an MIT-style license that can be
265
266
  * found in the LICENSE file at https://angular.io/license
266
267
  */
267
- function Ee(e) {
268
- const t = Object.create(ke);
268
+ function Oe(e) {
269
+ const t = Object.create(De);
269
270
  t.value = e;
270
271
  const s = () => (O(t), t.value);
271
272
  return s[I] = t, s;
272
273
  }
273
- function Ie() {
274
+ function ke() {
274
275
  return O(this), this.value;
275
276
  }
276
- function Oe(e, t) {
277
- be() || Ne(), e.equal.call(e.wrapper, e.value, t) || (e.value = t, Le(e));
277
+ function Le(e, t) {
278
+ Ce() || Ie(), e.equal.call(e.wrapper, e.value, t) || (e.value = t, Pe(e));
278
279
  }
279
- const ke = {
280
+ const De = {
280
281
  ...A,
281
282
  equal: G,
282
283
  value: void 0
283
284
  };
284
- function Le(e) {
285
- e.version++, ye(), J(e);
285
+ function Pe(e) {
286
+ e.version++, ze(), J(e);
286
287
  }
287
288
  /**
288
289
  * @license
@@ -301,42 +302,42 @@ function Le(e) {
301
302
  * limitations under the License.
302
303
  */
303
304
  const d = Symbol("node");
304
- var b;
305
+ var C;
305
306
  ((e) => {
306
- var t, s, o, r;
307
+ var t, s, r, i;
307
308
  class n {
308
- constructor(w, h = {}) {
309
+ constructor(y, h = {}) {
309
310
  N(this, s), L(this, t);
310
- const p = Ee(w)[I];
311
+ const p = Oe(y)[I];
311
312
  if (this[d] = p, p.wrapper = this, h) {
312
- const C = h.equals;
313
- C && (p.equal = C), p.watched = h[e.subtle.watched], p.unwatched = h[e.subtle.unwatched];
313
+ const w = h.equals;
314
+ w && (p.equal = w), p.watched = h[e.subtle.watched], p.unwatched = h[e.subtle.unwatched];
314
315
  }
315
316
  }
316
317
  get() {
317
318
  if (!(0, e.isState)(this))
318
319
  throw new TypeError("Wrong receiver type for Signal.State.prototype.get");
319
- return Ie.call(this[d]);
320
+ return ke.call(this[d]);
320
321
  }
321
- set(w) {
322
+ set(y) {
322
323
  if (!(0, e.isState)(this))
323
324
  throw new TypeError("Wrong receiver type for Signal.State.prototype.set");
324
- if (fe())
325
+ if (be())
325
326
  throw new Error("Writes to signals not permitted during Watcher callback");
326
327
  const h = this[d];
327
- Oe(h, w);
328
+ Le(h, y);
328
329
  }
329
330
  }
330
- t = d, s = /* @__PURE__ */ new WeakSet(), e.isState = (c) => typeof c == "object" && P(s, c), e.State = n;
331
- class z {
331
+ t = d, s = /* @__PURE__ */ new WeakSet(), e.isState = (u) => typeof u == "object" && D(s, u), e.State = n;
332
+ class m {
332
333
  // Create a Signal which evaluates to the value returned by the callback.
333
334
  // Callback is called with this signal as the parameter.
334
- constructor(w, h) {
335
- N(this, r), L(this, o);
336
- const p = Se(w)[I];
335
+ constructor(y, h) {
336
+ N(this, i), L(this, r);
337
+ const p = $e(y)[I];
337
338
  if (p.consumerAllowSignalWrites = !0, this[d] = p, p.wrapper = this, h) {
338
- const C = h.equals;
339
- C && (p.equal = C), p.watched = h[e.subtle.watched], p.unwatched = h[e.subtle.unwatched];
339
+ const w = h.equals;
340
+ w && (p.equal = w), p.watched = h[e.subtle.watched], p.unwatched = h[e.subtle.unwatched];
340
341
  }
341
342
  }
342
343
  get() {
@@ -345,54 +346,54 @@ var b;
345
346
  return Q(this[d]);
346
347
  }
347
348
  }
348
- o = d, r = /* @__PURE__ */ new WeakSet(), e.isComputed = (c) => typeof c == "object" && P(r, c), e.Computed = z, ((c) => {
349
- var w, h, _, p;
350
- function C(l) {
351
- let a, i = null;
349
+ r = d, i = /* @__PURE__ */ new WeakSet(), e.isComputed = (u) => typeof u == "object" && D(i, u), e.Computed = m, ((u) => {
350
+ var y, h, _, p;
351
+ function w(l) {
352
+ let a, o = null;
352
353
  try {
353
- i = S(null), a = l();
354
+ o = S(null), a = l();
354
355
  } finally {
355
- S(i);
356
+ S(o);
356
357
  }
357
358
  return a;
358
359
  }
359
- c.untrack = C;
360
+ u.untrack = w;
360
361
  function X(l) {
361
362
  var a;
362
363
  if (!(0, e.isComputed)(l) && !(0, e.isWatcher)(l))
363
364
  throw new TypeError("Called introspectSources without a Computed or Watcher argument");
364
- return ((a = l[d].producerNode) == null ? void 0 : a.map((i) => i.wrapper)) ?? [];
365
+ return ((a = l[d].producerNode) == null ? void 0 : a.map((o) => o.wrapper)) ?? [];
365
366
  }
366
- c.introspectSources = X;
367
+ u.introspectSources = X;
367
368
  function Y(l) {
368
369
  var a;
369
370
  if (!(0, e.isComputed)(l) && !(0, e.isState)(l))
370
371
  throw new TypeError("Called introspectSinks without a Signal argument");
371
- return ((a = l[d].liveConsumerNode) == null ? void 0 : a.map((i) => i.wrapper)) ?? [];
372
+ return ((a = l[d].liveConsumerNode) == null ? void 0 : a.map((o) => o.wrapper)) ?? [];
372
373
  }
373
- c.introspectSinks = Y;
374
+ u.introspectSinks = Y;
374
375
  function Z(l) {
375
376
  if (!(0, e.isComputed)(l) && !(0, e.isState)(l))
376
377
  throw new TypeError("Called hasSinks without a Signal argument");
377
378
  const a = l[d].liveConsumerNode;
378
379
  return a ? a.length > 0 : !1;
379
380
  }
380
- c.hasSinks = Z;
381
+ u.hasSinks = Z;
381
382
  function ee(l) {
382
383
  if (!(0, e.isComputed)(l) && !(0, e.isWatcher)(l))
383
384
  throw new TypeError("Called hasSources without a Computed or Watcher argument");
384
385
  const a = l[d].producerNode;
385
386
  return a ? a.length > 0 : !1;
386
387
  }
387
- c.hasSources = ee;
388
+ u.hasSources = ee;
388
389
  class te {
389
390
  // When a (recursive) source of Watcher is written to, call this callback,
390
391
  // if it hasn't already been called since the last `watch` call.
391
392
  // No signals may be read or written during the notify.
392
393
  constructor(a) {
393
- N(this, h), N(this, _), L(this, w);
394
- let i = Object.create(A);
395
- i.wrapper = this, i.consumerMarkedDirty = a, i.consumerIsAlwaysLive = !0, i.consumerAllowSignalWrites = !1, i.producerNode = [], this[d] = i;
394
+ N(this, h), N(this, _), L(this, y);
395
+ let o = Object.create(A);
396
+ o.wrapper = this, o.consumerMarkedDirty = a, o.consumerIsAlwaysLive = !0, o.consumerAllowSignalWrites = !1, o.producerNode = [], this[d] = o;
396
397
  }
397
398
  // Add these signals to the Watcher's set, and set the watcher to run its
398
399
  // notify callback next time any signal in the set (or one of its dependencies) changes.
@@ -402,27 +403,27 @@ var b;
402
403
  if (!(0, e.isWatcher)(this))
403
404
  throw new TypeError("Called unwatch without Watcher receiver");
404
405
  B(this, _, p).call(this, a);
405
- const i = this[d];
406
- i.dirty = !1;
407
- const g = S(i);
406
+ const o = this[d];
407
+ o.dirty = !1;
408
+ const v = S(o);
408
409
  for (const T of a)
409
410
  O(T[d]);
410
- S(g);
411
+ S(v);
411
412
  }
412
413
  // Remove these signals from the watched set (e.g., for an effect which is disposed)
413
414
  unwatch(...a) {
414
415
  if (!(0, e.isWatcher)(this))
415
416
  throw new TypeError("Called unwatch without Watcher receiver");
416
417
  B(this, _, p).call(this, a);
417
- const i = this[d];
418
- $(i);
419
- for (let g = i.producerNode.length - 1; g >= 0; g--)
420
- if (a.includes(i.producerNode[g].wrapper)) {
421
- k(i.producerNode[g], i.producerIndexOfThis[g]);
422
- const T = i.producerNode.length - 1;
423
- if (i.producerNode[g] = i.producerNode[T], i.producerIndexOfThis[g] = i.producerIndexOfThis[T], i.producerNode.length--, i.producerIndexOfThis.length--, i.nextProducerIndex--, g < i.producerNode.length) {
424
- const re = i.producerIndexOfThis[g], M = i.producerNode[g];
425
- U(M), M.liveConsumerIndexOfThis[re] = g;
418
+ const o = this[d];
419
+ x(o);
420
+ for (let v = o.producerNode.length - 1; v >= 0; v--)
421
+ if (a.includes(o.producerNode[v].wrapper)) {
422
+ k(o.producerNode[v], o.producerIndexOfThis[v]);
423
+ const T = o.producerNode.length - 1;
424
+ if (o.producerNode[v] = o.producerNode[T], o.producerIndexOfThis[v] = o.producerIndexOfThis[T], o.producerNode.length--, o.producerIndexOfThis.length--, o.nextProducerIndex--, v < o.producerNode.length) {
425
+ const ie = o.producerIndexOfThis[v], U = o.producerNode[v];
426
+ M(U), U.liveConsumerIndexOfThis[ie] = v;
426
427
  }
427
428
  }
428
429
  }
@@ -431,44 +432,44 @@ var b;
431
432
  getPending() {
432
433
  if (!(0, e.isWatcher)(this))
433
434
  throw new TypeError("Called getPending without Watcher receiver");
434
- return this[d].producerNode.filter((i) => i.dirty).map((i) => i.wrapper);
435
+ return this[d].producerNode.filter((o) => o.dirty).map((o) => o.wrapper);
435
436
  }
436
437
  }
437
- w = d, h = /* @__PURE__ */ new WeakSet(), _ = /* @__PURE__ */ new WeakSet(), p = function(l) {
438
+ y = d, h = /* @__PURE__ */ new WeakSet(), _ = /* @__PURE__ */ new WeakSet(), p = function(l) {
438
439
  for (const a of l)
439
440
  if (!(0, e.isComputed)(a) && !(0, e.isState)(a))
440
441
  throw new TypeError("Called watch/unwatch without a Computed or State argument");
441
- }, e.isWatcher = (l) => P(h, l), c.Watcher = te;
442
+ }, e.isWatcher = (l) => D(h, l), u.Watcher = te;
442
443
  function se() {
443
444
  var l;
444
- return (l = ve()) == null ? void 0 : l.wrapper;
445
+ return (l = ye()) == null ? void 0 : l.wrapper;
445
446
  }
446
- c.currentComputed = se, c.watched = Symbol("watched"), c.unwatched = Symbol("unwatched");
447
+ u.currentComputed = se, u.watched = Symbol("watched"), u.unwatched = Symbol("unwatched");
447
448
  })(e.subtle || (e.subtle = {}));
448
- })(b || (b = {}));
449
+ })(C || (C = {}));
449
450
  /**
450
451
  * @license
451
452
  * Copyright 2023 Google LLC
452
453
  * SPDX-License-Identifier: BSD-3-Clause
453
454
  */
454
- const Pe = Symbol("SignalWatcherBrand"), We = new FinalizationRegistry(({ watcher: e, signal: t }) => {
455
+ const We = Symbol("SignalWatcherBrand"), Re = new FinalizationRegistry(({ watcher: e, signal: t }) => {
455
456
  e.unwatch(t);
456
457
  }), F = /* @__PURE__ */ new WeakMap();
457
- function De(e) {
458
- return e[Pe] === !0 ? (console.warn("SignalWatcher should not be applied to the same class more than once."), e) : class extends e {
458
+ function qe(e) {
459
+ return e[We] === !0 ? (console.warn("SignalWatcher should not be applied to the same class more than once."), e) : class extends e {
459
460
  constructor() {
460
- super(...arguments), this._$St = new b.State(0), this._$Si = !1, this._$So = !0, this._$Sh = /* @__PURE__ */ new Set();
461
+ super(...arguments), this._$St = new C.State(0), this._$Si = !1, this._$So = !0, this._$Sh = /* @__PURE__ */ new Set();
461
462
  }
462
463
  _$Sl() {
463
464
  if (this._$Su !== void 0) return;
464
- this._$Sv = new b.Computed(() => {
465
+ this._$Sv = new C.Computed(() => {
465
466
  this._$St.get(), super.performUpdate();
466
467
  });
467
- const t = this._$Su = new b.subtle.Watcher(function() {
468
+ const t = this._$Su = new C.subtle.Watcher(function() {
468
469
  const s = F.get(this);
469
470
  s !== void 0 && (s._$Si === !1 && s.requestUpdate(), this.watch());
470
471
  });
471
- F.set(t, this), We.register(this, { watcher: t, signal: this._$Sv }), t.watch(this._$Sv);
472
+ F.set(t, this), Re.register(this, { watcher: t, signal: this._$Sv }), t.watch(this._$Sv);
472
473
  }
473
474
  _$Sp() {
474
475
  this._$Su !== void 0 && (this._$Su.unwatch(this._$Sv), this._$Sv = void 0, this._$Su = void 0);
@@ -483,8 +484,8 @@ function De(e) {
483
484
  this.isUpdatePending = !1, this._$Sh.clear();
484
485
  }
485
486
  }
486
- requestUpdate(t, s, o) {
487
- this._$So = !0, super.requestUpdate(t, s, o);
487
+ requestUpdate(t, s, r) {
488
+ this._$So = !0, super.requestUpdate(t, s, r);
488
489
  }
489
490
  connectedCallback() {
490
491
  super.connectedCallback(), this.requestUpdate();
@@ -509,17 +510,17 @@ function De(e) {
509
510
  * Copyright 2023 Google LLC
510
511
  * SPDX-License-Identifier: BSD-3-Clause
511
512
  */
512
- b.State;
513
- b.Computed;
514
- const st = (e, t) => new b.State(e, t), rt = (e, t) => new b.Computed(e, t);
513
+ C.State;
514
+ C.Computed;
515
+ const ot = (e, t) => new C.State(e, t), nt = (e, t) => new C.Computed(e, t);
515
516
  /**
516
517
  * @license
517
518
  * Copyright 2021 Google LLC
518
519
  * SPDX-License-Identifier: BSD-3-Clause
519
520
  */
520
- let Re = class extends Event {
521
- constructor(t, s, o, r) {
522
- super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = s, this.callback = o, this.subscribe = r ?? !1;
521
+ let Ae = class extends Event {
522
+ constructor(t, s, r, i) {
523
+ super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = s, this.callback = r, this.subscribe = i ?? !1;
523
524
  }
524
525
  };
525
526
  /**
@@ -533,13 +534,13 @@ let Re = class extends Event {
533
534
  * SPDX-License-Identifier: BSD-3-Clause
534
535
  */
535
536
  class j {
536
- constructor(t, s, o, r) {
537
- if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (n, z) => {
538
- this.unsubscribe && (this.unsubscribe !== z && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = n, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(n, z)), this.unsubscribe = z;
537
+ constructor(t, s, r, i) {
538
+ if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (n, m) => {
539
+ this.unsubscribe && (this.unsubscribe !== m && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = n, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(n, m)), this.unsubscribe = m;
539
540
  }, this.host = t, s.context !== void 0) {
540
541
  const n = s;
541
542
  this.context = n.context, this.callback = n.callback, this.subscribe = n.subscribe ?? !1;
542
- } else this.context = s, this.callback = o, this.subscribe = r ?? !1;
543
+ } else this.context = s, this.callback = r, this.subscribe = i ?? !1;
543
544
  this.host.addController(this);
544
545
  }
545
546
  hostConnected() {
@@ -549,7 +550,7 @@ class j {
549
550
  this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
550
551
  }
551
552
  dispatchRequest() {
552
- this.host.dispatchEvent(new Re(this.context, this.host, this.t, this.subscribe));
553
+ this.host.dispatchEvent(new Ae(this.context, this.host, this.t, this.subscribe));
553
554
  }
554
555
  }
555
556
  /**
@@ -557,47 +558,52 @@ class j {
557
558
  * Copyright 2022 Google LLC
558
559
  * SPDX-License-Identifier: BSD-3-Clause
559
560
  */
560
- function qe({ context: e, subscribe: t }) {
561
- return (s, o) => {
562
- typeof o == "object" ? o.addInitializer(function() {
563
- new j(this, { context: e, callback: (r) => {
564
- s.set.call(this, r);
561
+ function Me({ context: e, subscribe: t }) {
562
+ return (s, r) => {
563
+ typeof r == "object" ? r.addInitializer(function() {
564
+ new j(this, { context: e, callback: (i) => {
565
+ s.set.call(this, i);
565
566
  }, subscribe: t });
566
- }) : s.constructor.addInitializer((r) => {
567
- new j(r, { context: e, callback: (n) => {
568
- r[o] = n;
567
+ }) : s.constructor.addInitializer((i) => {
568
+ new j(i, { context: e, callback: (n) => {
569
+ i[r] = n;
569
570
  }, subscribe: t });
570
571
  });
571
572
  };
572
573
  }
573
- const Ae = Symbol("slot-store-context"), Ue = ":host{font-family:var(--luzmo-display-settings-font-family, var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}.settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap))}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin, var(--display-settings-ids-container-vertical-margin)) 0}.setting{display:flex;align-items:center}.label-action-container{display:flex;align-items:center;justify-content:space-between;gap:var(--luzmo-display-settings-info-to-remove-icon-gap, var(--display-settings-info-to-remove-icon-gap))}.id-button,.remove-button{outline:none;cursor:pointer;border:none;background:none;font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.remove-button{display:block;width:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));height:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));border-radius:var(--luzmo-display-settings-remove-button-border-radius, 50%)}.remove-button:hover{background-color:var(--luzmo-display-settings-remove-button-background-color-hover, var(--luzmo-background-color-hover))}.remove-button:active,.remove-button:focus{background-color:var(--luzmo-display-settings-remove-button-background-color-down, var(--luzmo-background-color-down))}.remove-button:focus-visible{box-shadow:0 0 0 var(--luzmo-display-settings-remove-button-indicator-thickness, var(--display-settings-remove-button-indicator-thickness)) var(--highcontrast-remove-button-indicator-color, var(--luzmo-display-settings-remove-button-indicator-color, var(--display-settings-remove-button-indicator-color)))}.ids-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap));border-radius:50%}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform, var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size, var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color, var(--display-settings-id-label-color))}:host{--display-settings-font-family: var(--luzmo-font-family);--display-settings-id-label-text-transform: uppercase;--display-settings-id-label-color: var(--luzmo-secondary);--display-settings-remove-button-indicator-color: var(--luzmo-primary);--display-settings-remove-button-indicator-thickness: var( --luzmo-border-width )}:host{--display-settings-font-size: var(--luzmo-font-size);--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-5);--display-settings-remove-button-size: var(--luzmo-component-height)}:host([size=s]){--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-4);--display-settings-remove-button-size: var(--luzmo-component-height-s)}:host([size=l]){--display-settings-id-label-font-size: var(--luzmo-font-size);--display-settings-font-size: var(--luzmo-font-size-l);--display-settings-gap: var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-remove-button-size: var(--luzmo-component-height-l)}:host([size=xl]){--display-settings-id-label-font-size: var(--luzmo-font-size-l);--display-settings-font-size: var(--luzmo-font-size-xl);--display-settings-gap: var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--display-settings-remove-button-size: var(--luzmo-component-height-xl)}";
574
- var Me = Object.defineProperty, v = (e, t, s, o) => {
575
- for (var r = void 0, n = e.length - 1, z; n >= 0; n--)
576
- (z = e[n]) && (r = z(t, s, r) || r);
577
- return r && Me(t, s, r), r;
574
+ const Ue = Symbol("slot-store-context"), Ve = ":host{font-family:var(--luzmo-display-settings-font-family, var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}.settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap))}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin, var(--display-settings-ids-container-vertical-margin)) 0}.setting{display:flex;align-items:center}.label-action-container{display:flex;align-items:center;justify-content:space-between;gap:var(--luzmo-display-settings-info-to-remove-icon-gap, var(--display-settings-info-to-remove-icon-gap))}.id-button,.remove-button{outline:none;cursor:pointer;border:none;background:none;font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.remove-button{display:block;width:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));height:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));border-radius:var(--luzmo-display-settings-remove-button-border-radius, 50%)}.remove-button:hover{background-color:var(--luzmo-display-settings-remove-button-background-color-hover, var(--luzmo-background-color-hover))}.remove-button:active,.remove-button:focus{background-color:var(--luzmo-display-settings-remove-button-background-color-down, var(--luzmo-background-color-down))}.remove-button:focus-visible{box-shadow:0 0 0 var(--luzmo-display-settings-remove-button-indicator-thickness, var(--display-settings-remove-button-indicator-thickness)) var(--highcontrast-remove-button-indicator-color, var(--luzmo-display-settings-remove-button-indicator-color, var(--display-settings-remove-button-indicator-color)))}.ids-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap));border-radius:50%}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform, var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size, var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color, var(--display-settings-id-label-color))}.example-container{line-height:var(--luzmo-display-settings-example-height, var(--display-settings-example-height));font-size:var(--luzmo-display-settings-example-font-size, var(--display-settings-example-font-size));color:var(--luzmo-display-settings-example-color, var(--display-settings-example-color))}.example-container .example-label{font-weight:var(--luzmo-display-settings-example-label-font-weight, var(--display-settings-example-label-font-weight));color:var(--luzmo-display-settings-example-label-color, var(--display-settings-example-label-color))}.example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-example-language-color, var(--display-settings-example-language-color))}.example{font-style:italic;white-space:nowrap}:host{--display-settings-font-family: var(--luzmo-font-family);--display-settings-id-label-text-transform: uppercase;--display-settings-id-label-color: var(--luzmo-secondary);--display-settings-remove-button-indicator-color: var(--luzmo-primary);--display-settings-remove-button-indicator-thickness: var( --luzmo-border-width )}:host{--display-settings-font-size: var(--luzmo-font-size);--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-5);--display-settings-remove-button-size: var(--luzmo-component-height)}:host([size=s]){--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-4);--display-settings-remove-button-size: var(--luzmo-component-height-s)}:host([size=l]){--display-settings-id-label-font-size: var(--luzmo-font-size);--display-settings-font-size: var(--luzmo-font-size-l);--display-settings-gap: var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-remove-button-size: var(--luzmo-component-height-l)}:host([size=xl]){--display-settings-id-label-font-size: var(--luzmo-font-size-l);--display-settings-font-size: var(--luzmo-font-size-xl);--display-settings-gap: var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--display-settings-remove-button-size: var(--luzmo-component-height-xl)}:host{--display-settings-example-font-size: var(--luzmo-font-size);--display-settings-example-color: var(--luzmo-font-color);--display-settings-example-label-font-weight: bold;--display-settings-example-label-color: var(--luzmo-primary);--display-settings-example-language-color: var(--luzmo-primary)}:host{--display-settings-example-height: var(--luzmo-component-height)}:host([size=s]){--display-settings-example-height: var(--luzmo-component-height-s);--display-settings-example-font-size: var(--luzmo-font-size-s)}:host([size=l]){--display-settings-example-height: var(--luzmo-component-height-l);--display-settings-example-font-size: var(--luzmo-font-size)}:host([size=xl]){--display-settings-example-height: var(--luzmo-component-height-xl);--display-settings-example-font-size: var(--luzmo-font-size-l)}";
575
+ var Be = Object.defineProperty, f = (e, t, s, r) => {
576
+ for (var i = void 0, n = e.length - 1, m; n >= 0; n--)
577
+ (m = e[n]) && (i = m(t, s, i) || i);
578
+ return i && Be(t, s, i), i;
578
579
  };
579
- class m extends De(
580
- de(ce, {
581
- validSizes: Object.values(pe)
580
+ class g extends qe(
581
+ he(pe, {
582
+ validSizes: Object.values(me)
582
583
  })
583
584
  ) {
584
585
  constructor() {
585
- super(...arguments), this._loadDisplaySettings = new oe(this, {
586
+ super(...arguments), this._loadDisplaySettings = new ne(this, {
586
587
  task: async ([
587
588
  t,
588
589
  s,
589
- o,
590
- r
590
+ r,
591
+ i
591
592
  ]) => {
593
+ var m, u, y;
592
594
  const n = [];
593
- this.grandTotals && n.push("grandTotals"), r && n.push("periodOverPeriod"), (s === "numeric" || s === "mixed" && (t == null ? void 0 : t.type) === "numeric") && n.push("numeric"), s !== "numeric" && (t == null ? void 0 : t.type) === "datetime" && n.push("datetime"), !["numeric", "mixed"].includes(s ?? "") && (t == null ? void 0 : t.type) === "numeric" && !this.binningDisabled && n.push("binning"), n.length > 0 && !o && (n.includes("numeric") && !this._settingsTypeLoaded.numeric ? (await import("./display-settings-numeric/index.js"), this._settingsTypeLoaded.numeric = !0, n.includes("periodOverPeriod") && !this._settingsTypeLoaded.periodOverPeriod && (await import("./display-settings-period-over-period/index.js"), this._settingsTypeLoaded.periodOverPeriod = !0)) : n.includes("datetime") && !this._settingsTypeLoaded.datetime ? (await import("./display-settings-datetime/index.js"), this._settingsTypeLoaded.datetime = !0) : n.includes("binning") && !this._settingsTypeLoaded.binning ? (await import("./display-settings-binning/index.js"), this._settingsTypeLoaded.binning = !0) : n.includes("grandTotals") && !this._settingsTypeLoaded.grandTotals && (await import("./display-settings-grand-totals/index.js"), this._settingsTypeLoaded.grandTotals = !0));
595
+ this.grandTotals && n.push("grandTotals"), r && n.push("periodOverPeriod"), (t === "numeric" || t === "mixed" && ((m = this._currentSlotContent) == null ? void 0 : m.type) === "numeric") && n.push("numeric"), t !== "numeric" && ((u = this._currentSlotContent) == null ? void 0 : u.type) === "datetime" && n.push("datetime"), !["numeric", "mixed"].includes(t ?? "") && ((y = this._currentSlotContent) == null ? void 0 : y.type) === "numeric" && !i && n.push("binning"), r && !this._settingsTypeLoaded.periodOverPeriod && (await import("./display-settings-period-over-period/index.js"), this._settingsTypeLoaded.periodOverPeriod = !0), n.length > 0 && !s && (n.includes("numeric") && !this._settingsTypeLoaded.numeric ? (await import("./display-settings-numeric/index.js"), this._settingsTypeLoaded.numeric = !0) : n.includes("datetime") && !this._settingsTypeLoaded.datetime ? (await import("./display-settings-datetime/index.js"), this._settingsTypeLoaded.datetime = !0) : n.includes("binning") && !this._settingsTypeLoaded.binning ? (await import("./display-settings-binning/index.js"), this._settingsTypeLoaded.binning = !0) : n.includes("grandTotals") && !this._settingsTypeLoaded.grandTotals && (await import("./display-settings-grand-totals/index.js"), this._settingsTypeLoaded.grandTotals = !0));
594
596
  },
595
- args: () => [
596
- this.slotContent,
597
- this.slotType,
598
- this.hideDisplaySettings,
599
- this.periodOverPeriod
600
- ]
597
+ args: () => {
598
+ var t;
599
+ return [
600
+ this.slotType,
601
+ this.hideDisplaySettings,
602
+ (t = this._store) == null ? void 0 : t.periodOverPeriodEnabled.get(),
603
+ this.binningDisabled,
604
+ this.slotContent
605
+ ];
606
+ }
601
607
  }), this.language = "en", this.contentLanguage = "en", this.slotType = "numeric", this.slotContent = {}, this._showIds = !1, this.measureColumns = [], this._settingsTypeLoaded = {
602
608
  binning: !1,
603
609
  datetime: !1,
@@ -608,12 +614,12 @@ class m extends De(
608
614
  }, this._currentSlotContent = {};
609
615
  }
610
616
  static get styles() {
611
- return [ie(Ue)];
617
+ return [re(Ve)];
612
618
  }
613
619
  willUpdate() {
614
- var s, o;
615
- const t = (s = this._store) == null ? void 0 : s.activeSlotContents.get();
616
- this.periodOverPeriod = (o = this._store) == null ? void 0 : o.periodOverPeriodEnabled.get(), t && t !== this._currentSlotContent && (this._currentSlotContent = structuredClone(t));
620
+ var r;
621
+ const t = (r = this._store) == null ? void 0 : r.activeSlotContents.get(), s = this._store.periodOverPeriodEnabled.get();
622
+ s !== this.periodOverPeriod && (this.periodOverPeriod = s), t && t !== this._currentSlotContent && (this._currentSlotContent = structuredClone(t));
617
623
  }
618
624
  _onSlotContentChange(t) {
619
625
  t.stopPropagation(), t.preventDefault(), this._currentSlotContent = structuredClone(t.detail.slotContent), this._sendEvent(), this.requestUpdate();
@@ -648,8 +654,28 @@ class m extends De(
648
654
  _toggleIds() {
649
655
  this._showIds = !this._showIds;
650
656
  }
657
+ _renderExampleRow() {
658
+ var m;
659
+ const t = this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric", s = this.slotType !== "datetime" && this._currentSlotContent.type === "datetime";
660
+ if (!(t || s))
661
+ return oe;
662
+ const r = !this._currentSlotContent.datetimeDisplayMode || this._currentSlotContent.datetimeDisplayMode === "default", i = t ? 1234.56 : r ? /* @__PURE__ */ new Date() : 1, n = de(
663
+ {
664
+ ...this._currentSlotContent,
665
+ type: t ? "numeric" : "datetime"
666
+ },
667
+ {
668
+ locale: this.contentLanguage,
669
+ level: (m = this._currentSlotContent) == null ? void 0 : m.level
670
+ }
671
+ )(i);
672
+ return b`<div class="settings-row example-container">
673
+ <span class="example-label">Example:</span>
674
+ <span class="example">${n}</span>
675
+ </div>`;
676
+ }
651
677
  _renderDisplaySettings() {
652
- return y`<div class="settings-container">
678
+ return b`<div class="settings-container">
653
679
  <div class="settings-row">
654
680
  <div class="setting">
655
681
  <div class="label-container">
@@ -666,16 +692,16 @@ class m extends De(
666
692
  </div>
667
693
  <div class="label-action-container">
668
694
  <button class="id-button" @click=${this._toggleIds}>
669
- ${V(le)}
695
+ ${V(ue)}
670
696
  <luzmo-tooltip self-managed placement="top" size=${this.size}>
671
697
  Show dataset and column id's
672
698
  </luzmo-tooltip>
673
699
  </button>
674
- ${this.showRemoveButton ? y`<button
700
+ ${this.showRemoveButton ? b`<button
675
701
  class="remove-button"
676
702
  @click=${this._removeEvent}
677
703
  >
678
- ${V(ue)}
704
+ ${V(ce)}
679
705
  <luzmo-tooltip
680
706
  self-managed
681
707
  placement="top"
@@ -687,40 +713,41 @@ class m extends De(
687
713
  </div>
688
714
  </div>
689
715
  </div>
690
- ${this.grandTotals ? y`<luzmo-display-settings-grand-totals
716
+ ${this.grandTotals ? b`<luzmo-display-settings-grand-totals
691
717
  .language=${this.language}
692
718
  .slotContent=${this._currentSlotContent}
693
719
  .size=${this.size}
694
720
  @slot-content-changed=${this._onSlotContentChange}
695
721
  ></luzmo-display-settings-grand-totals>` : ""}
696
- ${this.slotType === "numeric" || this.slotType === "mixed" && this.slotContent.type === "numeric" ? y`<luzmo-display-settings-numeric
722
+ ${this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric" ? b`<luzmo-display-settings-numeric
697
723
  .language=${this.language}
698
724
  .slotContent=${this._currentSlotContent}
699
725
  .size=${this.size}
700
726
  .measureColumns=${this.measureColumns}
701
727
  @slot-content-changed=${this._onSlotContentChange}
702
728
  ></luzmo-display-settings-numeric>` : ""}
703
- ${this.slotType !== "numeric" && this.slotContent.type === "datetime" ? y`<luzmo-display-settings-datetime
729
+ ${this.slotType !== "numeric" && this._currentSlotContent.type === "datetime" ? b`<luzmo-display-settings-datetime
704
730
  .language=${this.language}
705
731
  .contentLanguage=${this.contentLanguage}
706
732
  .slotContent=${this._currentSlotContent}
707
733
  .size=${this.size}
708
734
  @slot-content-changed=${this._onSlotContentChange}
709
735
  ></luzmo-display-settings-datetime>` : ""}
710
- ${!["numeric", "mixed"].includes(this.slotType ?? "") && this.slotContent.type === "numeric" && !this.binningDisabled ? y`<luzmo-display-settings-binning
736
+ ${!["numeric", "mixed"].includes(this.slotType ?? "") && this._currentSlotContent.type === "numeric" && !this.binningDisabled ? b`<luzmo-display-settings-binning
711
737
  .language=${this.language}
712
738
  .slotContent=${this._currentSlotContent}
713
739
  .size=${this.size}
714
740
  @slot-content-changed=${this._onSlotContentChange}
715
741
  ></luzmo-display-settings-binning>` : ""}
716
- ${this.periodOverPeriod ? y`<luzmo-display-settings-period-over-period
742
+ ${this.periodOverPeriod ? b`<luzmo-display-settings-period-over-period
717
743
  .language=${this.language}
718
744
  .slotContent=${this._currentSlotContent}
719
745
  .size=${this.size}
720
746
  @slot-content-changed=${this._onSlotContentChange}
721
747
  ></luzmo-display-settings-period-over-period>` : ""}
748
+ ${this._renderExampleRow()}
722
749
  </div>
723
- ${this._showIds ? y` <luzmo-divider></luzmo-divider>
750
+ ${this._showIds ? b` <luzmo-divider></luzmo-divider>
724
751
  <div class="ids-container">
725
752
  <div>
726
753
  <span class="id-label">Column: </span>
@@ -737,7 +764,7 @@ class m extends De(
737
764
  }
738
765
  render() {
739
766
  return this._loadDisplaySettings.render({
740
- pending: () => y`<luzmo-progress-circle
767
+ pending: () => b`<luzmo-progress-circle
741
768
  indeterminate
742
769
  .size=${this.size}
743
770
  ></luzmo-progress-circle>`,
@@ -746,56 +773,56 @@ class m extends De(
746
773
  });
747
774
  }
748
775
  disconnectedCallback() {
749
- var t, s, o;
750
- (t = super.disconnectedCallback) == null || t.call(this), (o = (s = this._loadDisplaySettings).abort) == null || o.call(s);
776
+ var t, s, r;
777
+ (t = super.disconnectedCallback) == null || t.call(this), (r = (s = this._loadDisplaySettings).abort) == null || r.call(s);
751
778
  }
752
779
  }
753
- v([
754
- f({ type: String })
755
- ], m.prototype, "language");
756
- v([
757
- f({ type: String, attribute: "content-language" })
758
- ], m.prototype, "contentLanguage");
759
- v([
760
- f({ type: Boolean, attribute: "hide-display-settings" })
761
- ], m.prototype, "hideDisplaySettings");
762
- v([
763
- f({ type: Boolean, attribute: "binning-disabled" })
764
- ], m.prototype, "binningDisabled");
765
- v([
766
- f({ type: Boolean, attribute: "grand-totals" })
767
- ], m.prototype, "grandTotals");
768
- v([
769
- f({ type: Boolean })
770
- ], m.prototype, "periodOverPeriod");
771
- v([
772
- f({ type: Boolean, attribute: "show-remove-button" })
773
- ], m.prototype, "showRemoveButton");
774
- v([
775
- f({ type: String, attribute: "slot-type" })
776
- ], m.prototype, "slotType");
777
- v([
778
- f()
779
- ], m.prototype, "slotContent");
780
- v([
781
- ne()
782
- ], m.prototype, "_showIds");
783
- v([
784
- f({ type: Array, reflect: !1 })
785
- ], m.prototype, "measureColumns");
786
- v([
787
- ae("luzmo-multi-language-field")
788
- ], m.prototype, "_multiLanguageFieldElement");
789
- v([
790
- qe({ context: Ae, subscribe: !0 })
791
- ], m.prototype, "_store");
792
- customElements.get("luzmo-display-settings") || customElements.define("luzmo-display-settings", m);
780
+ f([
781
+ z({ type: String })
782
+ ], g.prototype, "language");
783
+ f([
784
+ z({ type: String, attribute: "content-language" })
785
+ ], g.prototype, "contentLanguage");
786
+ f([
787
+ z({ type: Boolean, attribute: "hide-display-settings" })
788
+ ], g.prototype, "hideDisplaySettings");
789
+ f([
790
+ z({ type: Boolean, attribute: "binning-disabled" })
791
+ ], g.prototype, "binningDisabled");
792
+ f([
793
+ z({ type: Boolean, attribute: "grand-totals" })
794
+ ], g.prototype, "grandTotals");
795
+ f([
796
+ z({ type: Boolean })
797
+ ], g.prototype, "periodOverPeriod");
798
+ f([
799
+ z({ type: Boolean, attribute: "show-remove-button" })
800
+ ], g.prototype, "showRemoveButton");
801
+ f([
802
+ z({ type: String, attribute: "slot-type" })
803
+ ], g.prototype, "slotType");
804
+ f([
805
+ z()
806
+ ], g.prototype, "slotContent");
807
+ f([
808
+ ae()
809
+ ], g.prototype, "_showIds");
810
+ f([
811
+ z({ type: Array, reflect: !1 })
812
+ ], g.prototype, "measureColumns");
813
+ f([
814
+ le("luzmo-multi-language-field")
815
+ ], g.prototype, "_multiLanguageFieldElement");
816
+ f([
817
+ Me({ context: Ue, subscribe: !0 })
818
+ ], g.prototype, "_store");
819
+ customElements.get("luzmo-display-settings") || customElements.define("luzmo-display-settings", g);
793
820
  export {
794
- m as L,
795
- Re as a,
796
- qe as c,
797
- De as e,
798
- rt as i,
799
- st as r,
800
- Ae as s
821
+ g as L,
822
+ Ae as a,
823
+ Me as c,
824
+ qe as e,
825
+ nt as i,
826
+ ot as r,
827
+ Ue as s
801
828
  };