@luzmo/analytics-components-kit 1.0.1-alpha.2 → 1.0.1-alpha.4

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 (151) hide show
  1. package/LICENSE +18 -0
  2. package/custom-elements.json +1550 -0
  3. package/lib/area-chart-slots.config-BLxiYX05.cjs +20 -0
  4. package/lib/area-chart-slots.config-C0c2ZzBh.js +52 -0
  5. package/lib/async-directive-CPjMHOPu.cjs +24 -0
  6. package/lib/async-directive-SCUUQ3Mh.js +114 -0
  7. package/lib/bar-chart-slots.config-GSSL7XVA.js +47 -0
  8. package/lib/bar-chart-slots.config-Jx1PveTM.cjs +20 -0
  9. package/lib/bar-chart.config-B57geUzJ.cjs +20 -0
  10. package/lib/bar-chart.config-CQ6HAvs2.js +153 -0
  11. package/lib/bar-chart.en-BqYbiHO3.cjs +20 -0
  12. package/lib/bar-chart.en-FwT00qdU.js +69 -0
  13. package/lib/bar-chart.fr-DGx9smEh.cjs +20 -0
  14. package/lib/bar-chart.fr-DbxKiM0j.js +44 -0
  15. package/lib/bar-chart.nl-BYzVExsz.cjs +20 -0
  16. package/lib/bar-chart.nl-ahX1ARpH.js +44 -0
  17. package/lib/button-base-B4PdJFVe.cjs +27 -0
  18. package/lib/button-base-CtfPWS-P.js +142 -0
  19. package/lib/column-chart.config-B57geUzJ.cjs +20 -0
  20. package/lib/column-chart.config-C9hP0kX7.js +153 -0
  21. package/lib/cs-DVZ0Tapy.js +89 -0
  22. package/lib/cs-I9E81keK.cjs +20 -0
  23. package/lib/da-DHy05oSR.js +97 -0
  24. package/lib/da-QkdvupDg.cjs +20 -0
  25. package/lib/de-Dn5mUzha.cjs +20 -0
  26. package/lib/de-iM39JlAt.js +109 -0
  27. package/lib/decompose-numeric-format-B3rVVHpO.cjs +20 -0
  28. package/lib/decompose-numeric-format-BuZcjH2k.js +39 -0
  29. package/lib/directive-helpers-BSB0tfc9.cjs +32 -0
  30. package/lib/directive-helpers-eY1rHtyn.js +154 -0
  31. package/lib/divider.module-BW8qaMVq.js +211 -0
  32. package/lib/divider.module-DEy88Ieh.cjs +20 -0
  33. package/lib/donut-chart-slots.config-BEwhfq27.js +39 -0
  34. package/lib/donut-chart-slots.config-DIp-24lO.cjs +20 -0
  35. package/lib/donut-chart.config-3DhKiSSM.js +177 -0
  36. package/lib/donut-chart.config-DLWJUlHx.cjs +20 -0
  37. package/lib/donut-chart.en-Blb9oSdU.cjs +20 -0
  38. package/lib/donut-chart.en-CzjT4-XN.js +85 -0
  39. package/lib/donut-chart.fr-BeTVa2wh.cjs +20 -0
  40. package/lib/donut-chart.fr-DftPrKbG.js +39 -0
  41. package/lib/donut-chart.nl-D9YGbOce.cjs +20 -0
  42. package/lib/donut-chart.nl-NMatXfhK.js +39 -0
  43. package/lib/draggable-data-item/index.cjs +20 -0
  44. package/lib/draggable-data-item/index.js +30 -0
  45. package/lib/droppable-slot/index.cjs +20 -0
  46. package/lib/droppable-slot/index.js +30 -0
  47. package/lib/en-BDBzmAXX.cjs +202 -0
  48. package/lib/en-CIeY2T5K.js +1980 -0
  49. package/lib/en-GB-BqYHIX1v.cjs +20 -0
  50. package/lib/en-GB-CYx--4nh.js +28 -0
  51. package/lib/es-CwyPlN5d.cjs +20 -0
  52. package/lib/es-KhTq4jX8.js +305 -0
  53. package/lib/fi-Dh_ebgpe.js +97 -0
  54. package/lib/fi-rijeZE5V.cjs +20 -0
  55. package/lib/fr-BcgE-6S_.cjs +20 -0
  56. package/lib/fr-CU727YF1.js +305 -0
  57. package/lib/get-css-variable-BHHQ0SnL.js +1444 -0
  58. package/lib/get-css-variable-D439CdH9.cjs +24 -0
  59. package/lib/he-Au3xg6lR.js +89 -0
  60. package/lib/he-O6Ih8Bqh.cjs +20 -0
  61. package/lib/hu-BnZ8y3xQ.cjs +20 -0
  62. package/lib/hu-DNJ-P_MW.js +97 -0
  63. package/lib/if-defined-BbzmSG-O.js +757 -0
  64. package/lib/if-defined-V7yEJWI3.cjs +54 -0
  65. package/lib/imageobject.config-B7ld9bj3.cjs +20 -0
  66. package/lib/imageobject.config-DZLp9Elq.js +127 -0
  67. package/lib/index-0314DjEl.cjs +20 -0
  68. package/lib/index-B9h2L_hV.js +3048 -0
  69. package/lib/index-BDXFsKUM.cjs +146 -0
  70. package/lib/index-Bd4cKS9O.js +155 -0
  71. package/lib/index-BmAD29P2.js +106 -0
  72. package/lib/index-Bo1DpZ-1.cjs +58 -0
  73. package/lib/index-C4ePDYEC.cjs +41 -0
  74. package/lib/index-C9xEN5Ji.js +82 -0
  75. package/lib/index-CBCm4_7S.js +869 -0
  76. package/lib/index-CM80_HQw.js +442 -0
  77. package/lib/index-CcF-9wyF.cjs +71 -0
  78. package/lib/index-CfEm5P0J.cjs +196 -0
  79. package/lib/index-CrWoFMZ3.cjs +22 -0
  80. package/lib/index-CtEJZdT0.js +1627 -0
  81. package/lib/index-CvX-HLY1.cjs +322 -0
  82. package/lib/index-D37RwuEH.js +1584 -0
  83. package/lib/index-D5puKlcm.cjs +96 -0
  84. package/lib/index-DGz6jCKo.cjs +26 -0
  85. package/lib/index-DJp_9h0l.js +327 -0
  86. package/lib/index-DSbgZduE.js +501 -0
  87. package/lib/index-D_KYpfBM.js +24 -0
  88. package/lib/index-DdtjeKYI.js +928 -0
  89. package/lib/index-Dj7PF4Q9.cjs +63 -0
  90. package/lib/index-Dq3HAOaM.js +127 -0
  91. package/lib/index-DrIA0eFE.js +392 -0
  92. package/lib/index-jt6FL_uE.cjs +20 -0
  93. package/lib/index-kJR406YZ.cjs +112 -0
  94. package/lib/index-v8ZTprPO.cjs +51 -0
  95. package/lib/index.cjs +875 -0
  96. package/lib/index.js +6411 -0
  97. package/lib/it-Bh5U73z6.js +305 -0
  98. package/lib/it-PshtLMkq.cjs +20 -0
  99. package/lib/ja-CCcHUL61.js +89 -0
  100. package/lib/ja-KIS2HdaG.cjs +20 -0
  101. package/lib/ko--l4qmjLV.cjs +20 -0
  102. package/lib/ko-DhapsZMM.js +89 -0
  103. package/lib/line-chart.config-BZcvfO2c.cjs +20 -0
  104. package/lib/line-chart.config-CIVN6uLI.js +115 -0
  105. package/lib/mk-B9HPSuKa.js +97 -0
  106. package/lib/mk-DZlj-edb.cjs +20 -0
  107. package/lib/nl-BKlDqOXb.cjs +20 -0
  108. package/lib/nl-BwSt5Bf4.js +109 -0
  109. package/lib/no-D-DofYnx.js +109 -0
  110. package/lib/no-D_SzxhTu.cjs +20 -0
  111. package/lib/observe-slot-text-DOYmGOZe.js +181 -0
  112. package/lib/observe-slot-text-oJ0a2KY9.cjs +42 -0
  113. package/lib/picker/index.cjs +20 -0
  114. package/lib/picker/index.js +32 -0
  115. package/lib/pl-D_L_0Boq.js +97 -0
  116. package/lib/pl-PIK23rK_.cjs +20 -0
  117. package/lib/popover-Bwnkg-5-.js +67 -0
  118. package/lib/popover-CQGN8nbX.cjs +32 -0
  119. package/lib/progress-circle/index.cjs +35 -0
  120. package/lib/progress-circle/index.js +104 -0
  121. package/lib/pt-B0BBS5VB.js +89 -0
  122. package/lib/pt-Dqlu4MS5.cjs +20 -0
  123. package/lib/ru-Vo-m3O_2.js +108 -0
  124. package/lib/ru-zyNDTB04.cjs +20 -0
  125. package/lib/sv-1DPTltNQ.cjs +20 -0
  126. package/lib/sv-CiozMaev.js +89 -0
  127. package/lib/textobject.config-C8opcGG4.js +52 -0
  128. package/lib/textobject.config-DbAajFz8.cjs +20 -0
  129. package/lib/tr-BkmWvOG2.cjs +20 -0
  130. package/lib/tr-D_D4i5iv.js +109 -0
  131. package/lib/zh-CN-DTZ4OmdP.cjs +20 -0
  132. package/lib/zh-CN-wsl7eFSd.js +89 -0
  133. package/lib/zh-TW-DTZ4OmdP.cjs +20 -0
  134. package/lib/zh-TW-wsl7eFSd.js +89 -0
  135. package/package.json +19 -24
  136. package/37.js +0 -1
  137. package/729.js +0 -1
  138. package/common-31743c5a.js +0 -13
  139. package/common-b02547a0.js +0 -1
  140. package/common-b49d9a9d.js +0 -1
  141. package/common-b5232813.js +0 -56
  142. package/common-cefd4f4c.js +0 -1
  143. package/common-d6cb565f.js +0 -1
  144. package/common-fd868059.js +0 -1
  145. package/common-fedaf338.js +0 -32
  146. package/edit-option-picker/index.js +0 -314
  147. package/edit-option-slider/index.js +0 -102
  148. package/edit-option-toggle/index.js +0 -114
  149. package/index.js +0 -346
  150. package/vendors-93cc3efa.js +0 -1
  151. package/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,109 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = {
21
+ decimal: ",",
22
+ thousands: ".",
23
+ grouping: [3],
24
+ currency: ["", " €"],
25
+ dateTime: "%A, der %e. %B %Y, %X",
26
+ date: "%d.%m.%Y",
27
+ dateSeparator: ".",
28
+ time: "%H:%M:%S",
29
+ periods: ["AM", "PM"],
30
+ days: [
31
+ "Sonntag",
32
+ "Montag",
33
+ "Dienstag",
34
+ "Mittwoch",
35
+ "Donnerstag",
36
+ "Freitag",
37
+ "Samstag"
38
+ ],
39
+ shortDays: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
40
+ months: [
41
+ "Januar",
42
+ "Februar",
43
+ "März",
44
+ "April",
45
+ "Mai",
46
+ "Juni",
47
+ "Juli",
48
+ "August",
49
+ "September",
50
+ "Oktober",
51
+ "November",
52
+ "Dezember"
53
+ ],
54
+ shortMonths: [
55
+ "Jan",
56
+ "Feb",
57
+ "Mrz",
58
+ "Apr",
59
+ "Mai",
60
+ "Jun",
61
+ "Jul",
62
+ "Aug",
63
+ "Sep",
64
+ "Okt",
65
+ "Nov",
66
+ "Dez"
67
+ ],
68
+ levels: [
69
+ "Alles",
70
+ "Jahr",
71
+ "Quartal",
72
+ "Monat",
73
+ "Woche",
74
+ "Tag",
75
+ "Stunden",
76
+ "Minute",
77
+ "Sekunde",
78
+ "Millisekunde"
79
+ ],
80
+ shortLevels: [
81
+ "Alles",
82
+ "Jahr",
83
+ "Qtl",
84
+ "Mnt",
85
+ "Woche",
86
+ "Tag",
87
+ "St",
88
+ "Min",
89
+ "Sek",
90
+ "Msek"
91
+ ],
92
+ durationLongSuffix: [
93
+ "",
94
+ "Jahre",
95
+ "Quartalen",
96
+ "Monate",
97
+ "Wochen",
98
+ "Tage",
99
+ "Stunden",
100
+ "Minuten",
101
+ "Sekunden",
102
+ "Millisekunden"
103
+ ],
104
+ durationShortSuffix: ["", "j", "q", "mo", "w", "t", "st", "m", "s", "ms"],
105
+ multi: [".%L", ":%S", "%I:%M", "%I %p", "%a %d", "W%G", "%b %d", "%B", "%Y"]
106
+ };
107
+ export {
108
+ e as default
109
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";function t(o){const e=/(?:([^{])?([<>=^]))?([+\- \()])?([$#])?(0)?(\d+)?([,_])?(\.-?\d+)?([a-z%]{1,2})?/i.exec(o)??[];return{fill:e[1]||" ",align:e[2]||">",sign:e[3]||"-",symbol:e[4]||"",zfill:e[5],width:+e[6],comma:e[7],precision:e[8],typeFormat:e[9]}}exports.decomposeNumericFormat=t;
@@ -0,0 +1,39 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ function i(o) {
21
+ const e = /(?:([^{])?([<>=^]))?([+\- \()])?([$#])?(0)?(\d+)?([,_])?(\.-?\d+)?([a-z%]{1,2})?/i.exec(o) ?? [];
22
+ return {
23
+ fill: e[1] || " ",
24
+ align: e[2] || ">",
25
+ sign: e[3] || "-",
26
+ symbol: e[4] || "",
27
+ // added option '(' for negative notation with () //TO-DO implement
28
+ zfill: e[5],
29
+ width: +e[6],
30
+ comma: e[7],
31
+ // added option _ for thousand separator ' '
32
+ precision: e[8],
33
+ typeFormat: e[9]
34
+ // z = general formal with comma, y = percentage with comma, w = scientific with comma
35
+ };
36
+ }
37
+ export {
38
+ i as d
39
+ };
@@ -0,0 +1,32 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";const u=require("./if-defined-V7yEJWI3.cjs");/**
21
+ * @license
22
+ * Copyright 2017 Google LLC
23
+ * SPDX-License-Identifier: BSD-3-Clause
24
+ */function a(t){return u.n({...t,state:!0,attribute:!1})}function c(t,e,i){const s=t.getAttribute(e);let r=s?s.split(/\s+/):[];r=r.filter(n=>!i.includes(n)),r.length>0?t.setAttribute(e,r.join(" ")):t.removeAttribute(e)}function m(t,e,i){const s=Array.isArray(i)?i:[i],r=t.getAttribute(e),n=r?r.split(/\s+/):[];return s.every(o=>n.includes(o))?()=>{}:(n.push(...s),t.setAttribute(e,n.join(" ")),()=>c(t,e,s))}function A(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),t=>`0${(t&255).toString(16)}`.slice(-2)).join("")}const h=Symbol("element resolver updated");class b{constructor(e,{selector:i}={selector:""}){this._element=null,this._selector="",this.mutationCallback=s=>{let r=!1;s.forEach(n=>{if(!r){if(n.type==="childList"){const l=this.element&&[...n.removedNodes].includes(this.element),o=!!this.selector&&[...n.addedNodes].some(d=>this.elementIsSelected(d));r=r||l||o}if(n.type==="attributes"){const l=n.target===this.element,o=!!this.selector&&this.elementIsSelected(n.target);r=r||l||o}}}),r&&this.resolveElement()},this.elementIsSelected=s=>{var r;return this.selectorIsId?(s==null?void 0:s.id)===this.selectorAsId:(r=s==null?void 0:s.matches)==null?void 0:r.call(s,this.selector)},this.host=e,this.selector=i,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}get element(){return this._element}set element(e){if(e===this.element)return;const i=this.element;this._element=e,this.host.requestUpdate(h,i)}get selector(){return this._selector}set selector(e){e!==this.selector&&(this.releaseElement(),this._selector=e,this.resolveElement())}get selectorAsId(){return this.selector.slice(1)}get selectorIsId(){return!!this.selector&&this.selector.startsWith("#")}hostConnected(){this.resolveElement(),this.observer.observe(this.host.getRootNode(),{subtree:!0,childList:!0,attributes:!0})}hostDisconnected(){this.releaseElement(),this.observer.disconnect()}resolveElement(){if(!this.selector){this.releaseElement();return}const e=this.host.getRootNode();this.element=this.selectorIsId?e.getElementById(this.selectorAsId):e.querySelector(this.selector)}releaseElement(){this.element=null}}/**
25
+ * @license
26
+ * Copyright 2017 Google LLC
27
+ * SPDX-License-Identifier: BSD-3-Clause
28
+ */const I={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4},f=t=>(...e)=>({_$litDirective$:t,values:e});class g{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,i,s){this._$Ct=e,this._$AM=i,this._$Ci=s}_$AS(e,i){return this.update(e,i)}update(e,i){return this.render(...i)}}/**
29
+ * @license
30
+ * Copyright 2020 Google LLC
31
+ * SPDX-License-Identifier: BSD-3-Clause
32
+ */const v=t=>t.strings===void 0,E={},_=(t,e=E)=>t._$AH=e;exports.ElementResolutionController=b;exports.conditionAttributeWithId=m;exports.conditionAttributeWithoutId=c;exports.e=f;exports.elementResolverUpdatedSymbol=h;exports.f=v;exports.i=g;exports.m=_;exports.r=a;exports.randomID=A;exports.t=I;
@@ -0,0 +1,154 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import { n as h } from "./if-defined-BbzmSG-O.js";
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */
26
+ function A(t) {
27
+ return h({ ...t, state: !0, attribute: !1 });
28
+ }
29
+ function d(t, e, i) {
30
+ const s = t.getAttribute(e);
31
+ let r = s ? s.split(/\s+/) : [];
32
+ r = r.filter(
33
+ (n) => !i.includes(n)
34
+ ), r.length > 0 ? t.setAttribute(e, r.join(" ")) : t.removeAttribute(e);
35
+ }
36
+ function b(t, e, i) {
37
+ const s = Array.isArray(i) ? i : [i], r = t.getAttribute(e), n = r ? r.split(/\s+/) : [];
38
+ return s.every((o) => n.includes(o)) ? () => {
39
+ } : (n.push(...s), t.setAttribute(e, n.join(" ")), () => d(t, e, s));
40
+ }
41
+ function f() {
42
+ return Array.from(
43
+ crypto.getRandomValues(new Uint8Array(4)),
44
+ (t) => `0${(t & 255).toString(16)}`.slice(-2)
45
+ ).join("");
46
+ }
47
+ const u = Symbol("element resolver updated");
48
+ class I {
49
+ constructor(e, { selector: i } = { selector: "" }) {
50
+ this._element = null, this._selector = "", this.mutationCallback = (s) => {
51
+ let r = !1;
52
+ s.forEach((n) => {
53
+ if (!r) {
54
+ if (n.type === "childList") {
55
+ const l = this.element && [...n.removedNodes].includes(this.element), o = !!this.selector && [...n.addedNodes].some(
56
+ (c) => this.elementIsSelected(c)
57
+ );
58
+ r = r || l || o;
59
+ }
60
+ if (n.type === "attributes") {
61
+ const l = n.target === this.element, o = !!this.selector && this.elementIsSelected(n.target);
62
+ r = r || l || o;
63
+ }
64
+ }
65
+ }), r && this.resolveElement();
66
+ }, this.elementIsSelected = (s) => {
67
+ var r;
68
+ return this.selectorIsId ? (s == null ? void 0 : s.id) === this.selectorAsId : (r = s == null ? void 0 : s.matches) == null ? void 0 : r.call(s, this.selector);
69
+ }, this.host = e, this.selector = i, this.observer = new MutationObserver(this.mutationCallback), this.host.addController(this);
70
+ }
71
+ get element() {
72
+ return this._element;
73
+ }
74
+ set element(e) {
75
+ if (e === this.element)
76
+ return;
77
+ const i = this.element;
78
+ this._element = e, this.host.requestUpdate(u, i);
79
+ }
80
+ get selector() {
81
+ return this._selector;
82
+ }
83
+ set selector(e) {
84
+ e !== this.selector && (this.releaseElement(), this._selector = e, this.resolveElement());
85
+ }
86
+ get selectorAsId() {
87
+ return this.selector.slice(1);
88
+ }
89
+ get selectorIsId() {
90
+ return !!this.selector && this.selector.startsWith("#");
91
+ }
92
+ hostConnected() {
93
+ this.resolveElement(), this.observer.observe(this.host.getRootNode(), {
94
+ subtree: !0,
95
+ childList: !0,
96
+ attributes: !0
97
+ });
98
+ }
99
+ hostDisconnected() {
100
+ this.releaseElement(), this.observer.disconnect();
101
+ }
102
+ resolveElement() {
103
+ if (!this.selector) {
104
+ this.releaseElement();
105
+ return;
106
+ }
107
+ const e = this.host.getRootNode();
108
+ this.element = this.selectorIsId ? e.getElementById(this.selectorAsId) : e.querySelector(this.selector);
109
+ }
110
+ releaseElement() {
111
+ this.element = null;
112
+ }
113
+ }
114
+ /**
115
+ * @license
116
+ * Copyright 2017 Google LLC
117
+ * SPDX-License-Identifier: BSD-3-Clause
118
+ */
119
+ const g = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4 }, E = (t) => (...e) => ({ _$litDirective$: t, values: e });
120
+ class v {
121
+ constructor(e) {
122
+ }
123
+ get _$AU() {
124
+ return this._$AM._$AU;
125
+ }
126
+ _$AT(e, i, s) {
127
+ this._$Ct = e, this._$AM = i, this._$Ci = s;
128
+ }
129
+ _$AS(e, i) {
130
+ return this.update(e, i);
131
+ }
132
+ update(e, i) {
133
+ return this.render(...i);
134
+ }
135
+ }
136
+ /**
137
+ * @license
138
+ * Copyright 2020 Google LLC
139
+ * SPDX-License-Identifier: BSD-3-Clause
140
+ */
141
+ const p = (t) => t.strings === void 0, a = {}, _ = (t, e = a) => t._$AH = e;
142
+ export {
143
+ I as E,
144
+ f as a,
145
+ u as b,
146
+ b as c,
147
+ d,
148
+ E as e,
149
+ p as f,
150
+ v as i,
151
+ _ as m,
152
+ A as r,
153
+ g as t
154
+ };
@@ -0,0 +1,211 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import { L as m, n as d } from "./if-defined-BbzmSG-O.js";
21
+ let l = !0;
22
+ try {
23
+ document.body.querySelector(":focus-visible");
24
+ } catch {
25
+ l = !1, Promise.resolve().then(() => f);
26
+ }
27
+ const h = (a) => {
28
+ var e, t;
29
+ const o = (s) => {
30
+ if (s.shadowRoot == null || Object.hasOwn(s.dataset, "jsFocusVisible"))
31
+ return () => {
32
+ };
33
+ if (self.applyFocusVisiblePolyfill)
34
+ self.applyFocusVisiblePolyfill(s.shadowRoot), s.manageAutoFocus && s.manageAutoFocus();
35
+ else {
36
+ const u = () => {
37
+ self.applyFocusVisiblePolyfill && s.shadowRoot && self.applyFocusVisiblePolyfill(s.shadowRoot), s.manageAutoFocus && s.manageAutoFocus();
38
+ };
39
+ return self.addEventListener(
40
+ "focus-visible-polyfill-ready",
41
+ u,
42
+ { once: !0 }
43
+ ), () => {
44
+ self.removeEventListener(
45
+ "focus-visible-polyfill-ready",
46
+ u
47
+ );
48
+ };
49
+ }
50
+ return () => {
51
+ };
52
+ }, i = Symbol("endPolyfillCoordination");
53
+ class r extends (t = a, e = i, t) {
54
+ constructor() {
55
+ super(...arguments), this[e] = null;
56
+ }
57
+ // Attempt to coordinate with the polyfill when connected to the
58
+ // document:
59
+ connectedCallback() {
60
+ super.connectedCallback && super.connectedCallback(), l || requestAnimationFrame(() => {
61
+ this[i] == null && (this[i] = o(this));
62
+ });
63
+ }
64
+ disconnectedCallback() {
65
+ super.disconnectedCallback && super.disconnectedCallback(), l || requestAnimationFrame(() => {
66
+ this[i] != null && (this[i](), this[i] = null);
67
+ });
68
+ }
69
+ }
70
+ return r;
71
+ }, f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72
+ __proto__: null,
73
+ FocusVisiblePolyfillMixin: h
74
+ }, Symbol.toStringTag, { value: "Module" }));
75
+ var v = Object.defineProperty, g = Object.getOwnPropertyDescriptor, n = (a, e, t, o) => {
76
+ for (var i = o > 1 ? void 0 : o ? g(e, t) : e, r = a.length - 1, s; r >= 0; r--)
77
+ (s = a[r]) && (i = (o ? s(e, t, i) : s(i)) || i);
78
+ return o && i && v(e, t, i), i;
79
+ };
80
+ function b() {
81
+ return new Promise((a) => requestAnimationFrame(() => a()));
82
+ }
83
+ class c extends h(m) {
84
+ constructor() {
85
+ super(...arguments), this.disabled = !1, this.autofocus = !1, this._tabIndex = 0, this.manipulatingTabindex = !1, this.autofocusReady = Promise.resolve();
86
+ }
87
+ get tabIndex() {
88
+ if (this.focusElement === this) {
89
+ const t = this.hasAttribute("tabindex") ? Number(this.getAttribute("tabindex")) : Number.NaN;
90
+ return Number.isNaN(t) ? -1 : t;
91
+ }
92
+ const e = Number.parseFloat(
93
+ this.hasAttribute("tabindex") && this.getAttribute("tabindex") || "0"
94
+ );
95
+ return this.disabled || e < 0 ? -1 : this.focusElement ? this._tabIndex : e;
96
+ }
97
+ set tabIndex(e) {
98
+ var t;
99
+ if (this.manipulatingTabindex) {
100
+ this.manipulatingTabindex = !1;
101
+ return;
102
+ }
103
+ if (this.focusElement === this) {
104
+ if (this.disabled)
105
+ this._tabIndex = e;
106
+ else if (e !== this._tabIndex) {
107
+ this._tabIndex = e;
108
+ const o = "" + e;
109
+ this.manipulatingTabindex = !0, this.setAttribute("tabindex", o);
110
+ }
111
+ return;
112
+ }
113
+ if (e === -1 ? this.addEventListener(
114
+ "pointerdown",
115
+ this.onPointerdownManagementOfTabIndex
116
+ ) : (this.manipulatingTabindex = !0, this.removeEventListener(
117
+ "pointerdown",
118
+ this.onPointerdownManagementOfTabIndex
119
+ )), e === -1 || this.disabled) {
120
+ if (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), this.removeAttribute("focusable"), this.selfManageFocusElement)
121
+ return;
122
+ e === -1 ? (t = this.focusElement) == null || t.removeAttribute("tabindex") : (this._tabIndex = e, this.manageFocusElementTabindex(e));
123
+ return;
124
+ }
125
+ this.setAttribute("focusable", ""), this.hasAttribute("tabindex") ? this.removeAttribute("tabindex") : this.manipulatingTabindex = !1, this._tabIndex = e, this.manageFocusElementTabindex(e);
126
+ }
127
+ onPointerdownManagementOfTabIndex() {
128
+ this.tabIndex === -1 && setTimeout(() => {
129
+ this.tabIndex = 0, this.focus({ preventScroll: !0 }), this.tabIndex = -1;
130
+ });
131
+ }
132
+ async manageFocusElementTabindex(e) {
133
+ this.focusElement || await this.updateComplete, e === null ? this.focusElement.removeAttribute("tabindex") : this.focusElement !== this && (this.focusElement.tabIndex = e);
134
+ }
135
+ /**
136
+ * @private
137
+ */
138
+ get focusElement() {
139
+ throw new Error("Must implement focusElement getter!");
140
+ }
141
+ /**
142
+ * @public
143
+ * @returns whether the component should manage its focusElement tab-index or not
144
+ * Needed for action-menu to be supported in action-group in an accessible way
145
+ */
146
+ get selfManageFocusElement() {
147
+ return !1;
148
+ }
149
+ focus(e) {
150
+ this.disabled || !this.focusElement || (this.focusElement === this ? Reflect.apply(HTMLElement.prototype.focus, this, [e]) : this.focusElement.focus(e));
151
+ }
152
+ blur() {
153
+ const e = this.focusElement || this;
154
+ e === this ? HTMLElement.prototype.blur.apply(this) : e.blur();
155
+ }
156
+ click() {
157
+ if (this.disabled)
158
+ return;
159
+ const e = this.focusElement || this;
160
+ e === this ? HTMLElement.prototype.click.apply(this) : e.click();
161
+ }
162
+ manageAutoFocus() {
163
+ this.autofocus && (this.dispatchEvent(
164
+ new KeyboardEvent("keydown", {
165
+ code: "Tab"
166
+ })
167
+ ), this.focusElement.focus());
168
+ }
169
+ firstUpdated(e) {
170
+ super.firstUpdated(e), (!this.hasAttribute("tabindex") || this.getAttribute("tabindex") !== "-1") && this.setAttribute("focusable", "");
171
+ }
172
+ update(e) {
173
+ e.has("disabled") && this.handleDisabledChanged(
174
+ this.disabled,
175
+ e.get("disabled")
176
+ ), super.update(e);
177
+ }
178
+ updated(e) {
179
+ super.updated(e), e.has("disabled") && this.disabled && this.blur();
180
+ }
181
+ async handleDisabledChanged(e, t) {
182
+ const o = () => this.focusElement !== this && this.focusElement.disabled !== void 0;
183
+ e ? (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), await this.updateComplete, o() ? this.focusElement.disabled = !0 : this.setAttribute("aria-disabled", "true")) : t && (this.manipulatingTabindex = !0, this.focusElement === this ? this.setAttribute("tabindex", "" + this._tabIndex) : this.removeAttribute("tabindex"), await this.updateComplete, o() ? this.focusElement.disabled = !1 : this.removeAttribute("aria-disabled"));
184
+ }
185
+ async getUpdateComplete() {
186
+ const e = await super.getUpdateComplete();
187
+ return await this.autofocusReady, e;
188
+ }
189
+ connectedCallback() {
190
+ super.connectedCallback(), this.autofocus && (this.autofocusReady = new Promise(async (e) => {
191
+ await b(), await b(), e();
192
+ }), this.updateComplete.then(() => {
193
+ this.manageAutoFocus();
194
+ }));
195
+ }
196
+ }
197
+ n([
198
+ d({ type: Boolean, reflect: !0 })
199
+ ], c.prototype, "disabled", 2);
200
+ n([
201
+ d({ type: Boolean })
202
+ ], c.prototype, "autofocus", 2);
203
+ n([
204
+ d({ type: Number })
205
+ ], c.prototype, "tabIndex", 1);
206
+ const k = "@media (forced-colors: active){:host{background-color:CanvasText!important}}:host{block-size:var(--luzmo-divider-thickness, var(--divider-thickness));inline-size:100%;border:none;border-width:var(--luzmo-divider-thickness, var(--divider-thickness));border-radius:var(--luzmo-divider-thickness, var(--divider-thickness));background-color:var(--luzmo-divider-background-color, var(--divider-background-color));overflow:visible}:host([size=s]){--divider-thickness: var( --divider-thickness-small, var(--luzmo-border-width) );--divider-background-color: var(--divider-background-color-small)}:host{--divider-thickness: var( --divider-thickness-medium, var(--luzmo-border-width) );--divider-background-color: var(--divider-background-color-medium)}:host([size=l]){--divider-thickness: var( --divider-thickness-large, var(--luzmo-border-width) );--divider-background-color: var(--divider-background-color-large)}:host([static-color=white][size=s]){--divider-background-color: var( --luzmo-divider-background-color-small-static-white, var(--divider-background-color-small-static-white) )}:host([static-color=white]){--divider-background-color: var( --luzmo-divider-background-color-medium-static-white, var(--divider-background-color-medium-static-white) )}:host([static-color=white][size=l]){--divider-background-color: var( --luzmo-divider-background-color-large-static-white, var(--divider-background-color-large-static-white) )}:host([static-color=black][size=s]){--divider-background-color: var( --luzmo-divider-background-color-small-static-black, var(--divider-background-color-small-static-black) )}:host([static-color=black]){--divider-background-color: var( --luzmo-divider-background-color-medium-static-black, var(--divider-background-color-medium-static-black) )}:host([static-color=black][size=l]){--divider-background-color: var( --luzmo-divider-background-color-large-static-black, var(--divider-background-color-large-static-black) )}:host([vertical]){inline-size:var(--luzmo-divider-thickness, var(--divider-thickness, var(--luzmo-border-width)));margin-block:var(--luzmo-divider-vertical-margin);block-size:100%;block-size:var(--luzmo-divider-vertical-height, 100%);align-self:var(--luzmo-divider-vertical-align)}:host{--divider-background-color-small: rgba(213, 213, 213);--divider-background-color-medium: rgba(213, 213, 213);--divider-background-color-large: rgba(213, 213, 213);--divider-background-color-small-static-white: rgba(255, 255, 255, .25);--divider-background-color-medium-static-white: rgba(255, 255, 255, .25);--divider-background-color-large-static-white: rgba(255, 255, 255, .9);--divider-background-color-small-static-black: rgba(0, 0, 0, .25);--divider-background-color-medium-static-black: rgba(0, 0, 0, .25);--divider-background-color-large-static-black: rgba(0, 0, 0, .9)}:host{display:block}hr{border:none;margin:0}";
207
+ export {
208
+ c as F,
209
+ h as a,
210
+ k as s
211
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";const l=require("./if-defined-V7yEJWI3.cjs");let n=!0;try{document.body.querySelector(":focus-visible")}catch{n=!1,Promise.resolve().then(()=>m)}const c=r=>{var e,t;const o=s=>{if(s.shadowRoot==null||Object.hasOwn(s.dataset,"jsFocusVisible"))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(s.shadowRoot),s.manageAutoFocus&&s.manageAutoFocus();else{const b=()=>{self.applyFocusVisiblePolyfill&&s.shadowRoot&&self.applyFocusVisiblePolyfill(s.shadowRoot),s.manageAutoFocus&&s.manageAutoFocus()};return self.addEventListener("focus-visible-polyfill-ready",b,{once:!0}),()=>{self.removeEventListener("focus-visible-polyfill-ready",b)}}return()=>{}},i=Symbol("endPolyfillCoordination");class a extends(t=r,e=i,t){constructor(){super(...arguments),this[e]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),n||requestAnimationFrame(()=>{this[i]==null&&(this[i]=o(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),n||requestAnimationFrame(()=>{this[i]!=null&&(this[i](),this[i]=null)})}}return a},m=Object.freeze(Object.defineProperty({__proto__:null,FocusVisiblePolyfillMixin:c},Symbol.toStringTag,{value:"Module"}));var f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,u=(r,e,t,o)=>{for(var i=o>1?void 0:o?v(e,t):e,a=r.length-1,s;a>=0;a--)(s=r[a])&&(i=(o?s(e,t,i):s(i))||i);return o&&i&&f(e,t,i),i};function h(){return new Promise(r=>requestAnimationFrame(()=>r()))}class d extends c(l.LuzmoElement){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const t=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):Number.NaN;return Number.isNaN(t)?-1:t}const e=Number.parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){var t;if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;const o=""+e;this.manipulatingTabindex=!0,this.setAttribute("tabindex",o)}return}if(e===-1?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),this.selfManageFocusElement)return;e===-1?(t=this.focusElement)==null||t.removeAttribute("tabindex"):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute("tabindex"):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw new Error("Must implement focusElement getter!")}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){const e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;const e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute("tabindex")||this.getAttribute("tabindex")!=="-1")&&this.setAttribute("focusable","")}update(e){e.has("disabled")&&this.handleDisabledChanged(this.disabled,e.get("disabled")),super.update(e)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){const o=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,o()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,o()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise(async e=>{await h(),await h(),e()}),this.updateComplete.then(()=>{this.manageAutoFocus()}))}}u([l.n({type:Boolean,reflect:!0})],d.prototype,"disabled",2);u([l.n({type:Boolean})],d.prototype,"autofocus",2);u([l.n({type:Number})],d.prototype,"tabIndex",1);const g="@media (forced-colors: active){:host{background-color:CanvasText!important}}:host{block-size:var(--luzmo-divider-thickness, var(--divider-thickness));inline-size:100%;border:none;border-width:var(--luzmo-divider-thickness, var(--divider-thickness));border-radius:var(--luzmo-divider-thickness, var(--divider-thickness));background-color:var(--luzmo-divider-background-color, var(--divider-background-color));overflow:visible}:host([size=s]){--divider-thickness: var( --divider-thickness-small, var(--luzmo-border-width) );--divider-background-color: var(--divider-background-color-small)}:host{--divider-thickness: var( --divider-thickness-medium, var(--luzmo-border-width) );--divider-background-color: var(--divider-background-color-medium)}:host([size=l]){--divider-thickness: var( --divider-thickness-large, var(--luzmo-border-width) );--divider-background-color: var(--divider-background-color-large)}:host([static-color=white][size=s]){--divider-background-color: var( --luzmo-divider-background-color-small-static-white, var(--divider-background-color-small-static-white) )}:host([static-color=white]){--divider-background-color: var( --luzmo-divider-background-color-medium-static-white, var(--divider-background-color-medium-static-white) )}:host([static-color=white][size=l]){--divider-background-color: var( --luzmo-divider-background-color-large-static-white, var(--divider-background-color-large-static-white) )}:host([static-color=black][size=s]){--divider-background-color: var( --luzmo-divider-background-color-small-static-black, var(--divider-background-color-small-static-black) )}:host([static-color=black]){--divider-background-color: var( --luzmo-divider-background-color-medium-static-black, var(--divider-background-color-medium-static-black) )}:host([static-color=black][size=l]){--divider-background-color: var( --luzmo-divider-background-color-large-static-black, var(--divider-background-color-large-static-black) )}:host([vertical]){inline-size:var(--luzmo-divider-thickness, var(--divider-thickness, var(--luzmo-border-width)));margin-block:var(--luzmo-divider-vertical-margin);block-size:100%;block-size:var(--luzmo-divider-vertical-height, 100%);align-self:var(--luzmo-divider-vertical-align)}:host{--divider-background-color-small: rgba(213, 213, 213);--divider-background-color-medium: rgba(213, 213, 213);--divider-background-color-large: rgba(213, 213, 213);--divider-background-color-small-static-white: rgba(255, 255, 255, .25);--divider-background-color-medium-static-white: rgba(255, 255, 255, .25);--divider-background-color-large-static-white: rgba(255, 255, 255, .9);--divider-background-color-small-static-black: rgba(0, 0, 0, .25);--divider-background-color-medium-static-black: rgba(0, 0, 0, .25);--divider-background-color-large-static-black: rgba(0, 0, 0, .9)}:host{display:block}hr{border:none;margin:0}";exports.FocusVisiblePolyfillMixin=c;exports.Focusable=d;exports.styles=g;
@@ -0,0 +1,39 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = [
21
+ {
22
+ name: "measure",
23
+ rotate: !1,
24
+ label: "Measure",
25
+ type: "numeric",
26
+ canAcceptMultipleColumns: !0,
27
+ canAcceptFormula: !0
28
+ },
29
+ {
30
+ name: "category",
31
+ rotate: !1,
32
+ label: "Category",
33
+ type: "categorical",
34
+ options: { areDatetimeOptionsEnabled: !0 }
35
+ }
36
+ ];
37
+ export {
38
+ e as default
39
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=[{name:"measure",rotate:!1,label:"Measure",type:"numeric",canAcceptMultipleColumns:!0,canAcceptFormula:!0},{name:"category",rotate:!1,label:"Category",type:"categorical",options:{areDatetimeOptionsEnabled:!0}}];exports.default=e;