@luzmo/analytics-components-kit 1.0.1-alpha.27 → 1.0.1-alpha.28

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 (171) hide show
  1. package/components/{async-directive-DWRUSKKF-CmOVMf6V.js → async-directive-DWRUSKKF-CPf9l5wJ.js} +1 -1
  2. package/components/{async-directive-DWRUSKKF-D4itZyzc.cjs → async-directive-DWRUSKKF-DWUZeMaj.cjs} +1 -1
  3. package/components/base-D76d76ww-C6YO3slp.cjs +94 -0
  4. package/components/base-D76d76ww-M5t7LVBG.js +758 -0
  5. package/components/{button-base-DSHx7XO8-VB_BBSqq.js → button-base-DSHx7XO8-B_LbLx9g.js} +7 -6
  6. package/components/{button-base-DSHx7XO8-Cixrr9aG.cjs → button-base-DSHx7XO8-ChNRhetl.cjs} +2 -2
  7. package/components/{checkbox-mixin-BFGTmw17-C34LMsgu.js → checkbox-mixin-BFGTmw17-C1tjSMaa.js} +2 -2
  8. package/components/{checkbox-mixin-BFGTmw17-CCjGd0nS.cjs → checkbox-mixin-BFGTmw17-DF2p-vSz.cjs} +4 -4
  9. package/components/{directive-helpers-nlQRAaQt-3kEWF2GV.cjs → directive-helpers-nlQRAaQt-DTZp2cFt.cjs} +4 -4
  10. package/components/{directive-helpers-nlQRAaQt-I6T4KZKW.js → directive-helpers-nlQRAaQt-DgSC1Yr2.js} +1 -1
  11. package/components/display-settings/display-settings.d.ts +3 -3
  12. package/components/display-settings/index.cjs +1 -1
  13. package/components/display-settings/index.js +19 -19
  14. package/components/display-settings-binning/display-settings-binning.d.ts +3 -3
  15. package/components/display-settings-binning/index.cjs +2 -2
  16. package/components/display-settings-binning/index.js +20 -20
  17. package/components/display-settings-datetime/display-settings-datetime.d.ts +3 -3
  18. package/components/display-settings-datetime/index.cjs +2 -2
  19. package/components/display-settings-datetime/index.js +22 -22
  20. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +3 -3
  21. package/components/display-settings-grand-totals/index.cjs +2 -2
  22. package/components/display-settings-grand-totals/index.js +19 -19
  23. package/components/display-settings-numeric/display-settings-numeric.d.ts +3 -3
  24. package/components/display-settings-numeric/index.cjs +4 -4
  25. package/components/display-settings-numeric/index.js +23 -23
  26. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +3 -3
  27. package/components/display-settings-period-over-period/index.cjs +15 -15
  28. package/components/display-settings-period-over-period/index.js +44 -43
  29. package/components/draggable-data-item/draggable-data-item.d.ts +3 -3
  30. package/components/draggable-data-item/index.cjs +4 -4
  31. package/components/draggable-data-item/index.js +6 -6
  32. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -3
  33. package/components/draggable-data-item-level/index.cjs +4 -4
  34. package/components/draggable-data-item-level/index.js +15 -15
  35. package/components/droppable-slot/droppable-slot.d.ts +3 -3
  36. package/components/droppable-slot/index.cjs +2 -2
  37. package/components/droppable-slot/index.js +14 -14
  38. package/components/edit-item/edit-item.d.ts +2 -1
  39. package/components/edit-item/index.cjs +16 -16
  40. package/components/edit-item/index.js +37 -36
  41. package/components/edit-option/edit-option.d.ts +1 -1
  42. package/components/edit-option/helpers/control-markup.d.ts +1 -1
  43. package/components/edit-option/index.cjs +1 -1
  44. package/components/edit-option/index.js +1 -1
  45. package/components/edit-option-action-button-group/index.cjs +2 -2
  46. package/components/edit-option-action-button-group/index.js +6 -6
  47. package/components/edit-option-base/edit-option-base.d.ts +3 -3
  48. package/components/{edit-option-base-CPLI5-oZ.js → edit-option-base-C0zI8SOd.js} +4 -4
  49. package/components/edit-option-base-D8vs3Bty.cjs +53 -0
  50. package/components/edit-option-color-picker/index.cjs +26 -26
  51. package/components/edit-option-color-picker/index.js +34 -33
  52. package/components/edit-option-multi-language-field/index.cjs +1 -1
  53. package/components/edit-option-multi-language-field/index.js +3 -3
  54. package/components/edit-option-number-field/index.cjs +2 -2
  55. package/components/edit-option-number-field/index.js +3 -3
  56. package/components/edit-option-picker/index.cjs +2 -2
  57. package/components/edit-option-picker/index.js +4 -4
  58. package/components/edit-option-position-picker/index.cjs +2 -2
  59. package/components/edit-option-position-picker/index.js +3 -3
  60. package/components/edit-option-positions-number-field/index.cjs +1 -1
  61. package/components/edit-option-positions-number-field/index.js +5 -5
  62. package/components/edit-option-radio-button-group/index.cjs +4 -4
  63. package/components/edit-option-radio-button-group/index.js +4 -4
  64. package/components/edit-option-slider/index.cjs +3 -3
  65. package/components/edit-option-slider/index.js +7 -7
  66. package/components/edit-option-switch/index.cjs +5 -5
  67. package/components/edit-option-switch/index.js +9 -8
  68. package/components/edit-option-text-field/index.cjs +2 -2
  69. package/components/edit-option-text-field/index.js +3 -3
  70. package/components/focusable-Cu_m_GTh.cjs +42 -0
  71. package/components/focusable-Dw_pMNQL.js +852 -0
  72. package/components/focusable-cj2QhwDT-CvevSkDr.cjs +52 -0
  73. package/components/focusable-cj2QhwDT-DlzfnLn9.js +242 -0
  74. package/components/{if-defined-BSAr_4u4-4Ys8VE7T.js → if-defined-BSAr_4u4-BCnSpSsA.js} +14 -15
  75. package/components/{if-defined-BSAr_4u4-gECNwmTC.cjs → if-defined-BSAr_4u4-CIqREoag.cjs} +3 -3
  76. package/components/{if-defined-8BOch-oC.cjs → if-defined-CF8baNdl.cjs} +2 -2
  77. package/components/{if-defined-Bv6MRdSW.js → if-defined-DbhS35z5.js} +1 -1
  78. package/components/{index-Dv1aV79F.cjs → index-9hGc0AF6.cjs} +6 -6
  79. package/components/{index-OuAMpMdS.js → index-B2LO8M42.js} +10 -11
  80. package/components/{index-DFt-aKCN.cjs → index-B3417kqb.cjs} +2 -2
  81. package/components/{index-CDUZyVS8.cjs → index-BIauj-BP.cjs} +3 -3
  82. package/components/{index-CY1zprJk.cjs → index-BIcAxPGg.cjs} +4 -4
  83. package/components/{index-CMvCwUvn.cjs → index-BLyfPWMW.cjs} +1 -1
  84. package/components/{index-CAG4u31N.cjs → index-BW6jffrL.cjs} +8 -8
  85. package/components/{index-Bsn3jtgt.js → index-BjdUsH9B.js} +10 -11
  86. package/components/{index-CJtXD_RI.js → index-BnVt-dJY.js} +10 -11
  87. package/components/{index-BgR4fBCA.cjs → index-Bp6XY9q2.cjs} +3 -3
  88. package/components/{index-Dk2zOgvd.js → index-C8yP7YJD.js} +6 -7
  89. package/components/{index-B6Os866t.cjs → index-CAwT4m7K.cjs} +5 -5
  90. package/components/{index-CdZDTZcN.js → index-CBNsaHFy.js} +6 -7
  91. package/components/{index-NFKXlEm1.cjs → index-CC53jnJB.cjs} +2 -2
  92. package/components/{index-BnOOdgQZ.cjs → index-CZUy8SUo.cjs} +4 -4
  93. package/components/{index-DULisWB3.cjs → index-Cl7wWlXl.cjs} +2 -2
  94. package/components/{index-CT2P9cSY.cjs → index-Cz9Cvq1K.cjs} +6 -6
  95. package/components/{index-CX0ynTHR.js → index-D8GVYuJ-.js} +14 -15
  96. package/components/{index-Brne8JKA.js → index-DQCvi59x.js} +18 -18
  97. package/components/{index-DW3LXQ5Z.js → index-DelXrrBi.js} +15 -15
  98. package/components/{index-CTxrSfyd.js → index-Dku2WLRc.js} +5 -6
  99. package/components/{index-DDm8p09D.js → index-Du8Q4hhF.js} +1 -1
  100. package/components/{index-Dn7LyFPv.js → index-Dwp251OJ.js} +3 -3
  101. package/components/{index-Dpt_Qqgy.js → index-KY89MPqI.js} +4 -5
  102. package/components/{index-E6HaIK_Z.cjs → index-b9OSfNB6.cjs} +7 -7
  103. package/components/{index-CPdcj1Bo.js → index-fheP_kQJ.js} +3 -3
  104. package/components/{index-nP-SGD7o.js → index-fzqLW5XZ.js} +6 -7
  105. package/components/index-hogChFy0.cjs +195 -0
  106. package/components/{index-DoZEESMk.cjs → index-mB-t2zP2.cjs} +4 -4
  107. package/components/{index-DOnHTKUs.js → index-zFIy9Mwl.js} +13 -14
  108. package/components/index.cjs +1 -1
  109. package/components/index.js +1 -1
  110. package/components/{luzmo-icons-DxZo8BWX.js → luzmo-icons-CmY3chvZ.js} +1 -1
  111. package/components/luzmo-icons-lvebt6bp.cjs +31 -0
  112. package/components/{observe-slot-text-ggb4kKgY-DBVrKDBD.cjs → observe-slot-text-ggb4kKgY-5zLP4Vgh.cjs} +2 -2
  113. package/components/{observe-slot-text-ggb4kKgY-o5QFWUeA.js → observe-slot-text-ggb4kKgY-tm0SQCaj.js} +3 -3
  114. package/components/{popover-Bx4ZDHk4-BuzeOeNe.cjs → popover-Bx4ZDHk4-Cw2DKR2x.cjs} +2 -2
  115. package/components/{popover-Bx4ZDHk4-jZJ0Cd59.js → popover-Bx4ZDHk4-HbUSJ86p.js} +6 -7
  116. package/components/{query-assigned-nodes-C76XVPWY-DPC6kOmH.js → query-assigned-nodes-C76XVPWY-DON51dMU.js} +1 -1
  117. package/components/{query-assigned-nodes-C76XVPWY-BcyGjObB.cjs → query-assigned-nodes-C76XVPWY-DzOeAzcN.cjs} +1 -1
  118. package/components/sized-mixin-Cqlxwicw.cjs +20 -0
  119. package/components/sized-mixin-DMuOVsw0.js +65 -0
  120. package/components/slot-menu/index.cjs +1 -1
  121. package/components/slot-menu/index.js +27 -27
  122. package/components/slot-menu/slot-menu.d.ts +3 -3
  123. package/components/slot-menu-list/index.cjs +2 -2
  124. package/components/slot-menu-list/index.js +14 -14
  125. package/components/slot-menu-list/slot-menu-list.d.ts +3 -3
  126. package/components/{state-BFA93Sye.cjs → state-QgHgNZLe.cjs} +2 -2
  127. package/components/{state-Joaryhrg.js → state-e2n-fyrr.js} +1 -1
  128. package/components/{language-resolution-8yZa5r_P-CYK1IIrs.cjs → streaming-listener-CCalHg57-2AtO4Ho2.cjs} +3 -3
  129. package/components/{language-resolution-8yZa5r_P-Chn3SFme.js → streaming-listener-CCalHg57-CQgWstyf.js} +58 -58
  130. package/components/{task-B8yMzxui.cjs → task-fQFUVV8e.cjs} +2 -2
  131. package/components/{task-Cr9aRIbV.js → task-gE27tBDv.js} +1 -1
  132. package/components/{text-field-BTnBJoP9-jo797Hka.js → text-field-BTnBJoP9-BuahhcXU.js} +6 -6
  133. package/components/{text-field-BTnBJoP9-Cwm3XQ88.cjs → text-field-BTnBJoP9-CDMhK3d1.cjs} +2 -2
  134. package/custom-elements.json +52 -288
  135. package/package.json +2 -2
  136. package/utils/base/base.d.ts +16 -0
  137. package/utils/base/focus-visible.d.ts +29 -0
  138. package/utils/base/focusable.d.ts +58 -0
  139. package/utils/base/index.d.ts +4 -0
  140. package/utils/base/sized-mixin.d.ts +17 -0
  141. package/components/base-D76d76ww-BiajPmzU.cjs +0 -40
  142. package/components/base-D76d76ww-gf0ESLsU.js +0 -45
  143. package/components/edit-option-base-ChZvMFLr.cjs +0 -53
  144. package/components/filter-data-item-picker/filter-data-item-picker.d.ts +0 -80
  145. package/components/filter-data-item-picker/index.d.ts +0 -7
  146. package/components/filter-expression-picker/filter-expression-picker.d.ts +0 -60
  147. package/components/filter-expression-picker/index.d.ts +0 -7
  148. package/components/filter-group/filter-group.d.ts +0 -39
  149. package/components/filter-group/index.d.ts +0 -7
  150. package/components/filter-item/filter-item.d.ts +0 -64
  151. package/components/filter-item/index.d.ts +0 -7
  152. package/components/filter-item/stories/dataset-data-items.const.d.ts +0 -15
  153. package/components/filter-parameter-picker/filter-parameter-picker.d.ts +0 -26
  154. package/components/filter-parameter-picker/index.d.ts +0 -7
  155. package/components/filter-value-picker/filter-value-picker.d.ts +0 -65
  156. package/components/filter-value-picker/index.d.ts +0 -7
  157. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +0 -43
  158. package/components/filter-value-picker-datetime/index.d.ts +0 -7
  159. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +0 -71
  160. package/components/filter-value-picker-hierarchy/index.d.ts +0 -7
  161. package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +0 -72
  162. package/components/filter-value-picker-numeric/index.d.ts +0 -7
  163. package/components/index-eEpFkbP8.cjs +0 -195
  164. package/components/luzmo-icons-XsFsTAl3.cjs +0 -31
  165. package/components/property-0L4eB11h.cjs +0 -112
  166. package/components/property-B2F7x7Cz.js +0 -1481
  167. package/components/sized-mixin-BxMraZLS-B_y0PzR3.js +0 -82
  168. package/components/sized-mixin-BxMraZLS-DEFWqo8f.cjs +0 -36
  169. package/utils/data-broker/index.d.ts +0 -173
  170. package/utils/data-item-types/calculate-data-item-icon.d.ts +0 -3
  171. package/utils/expressions/index.d.ts +0 -13
@@ -1,45 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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
- /*! * Lucero - The design system for Luzmo.
21
- *
22
- * Copyright © 2025 Luzmo
23
- * All rights reserved.
24
- * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
25
- * This license allows users with a current active Luzmo account to use Lucero.
26
- * This license terminates automatically if a user no longer has an active Luzmo account.
27
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
28
- *
29
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
- * SOFTWARE.
36
- * */
37
- /**
38
- * @license
39
- * Copyright 2017 Google LLC
40
- * SPDX-License-Identifier: BSD-3-Clause
41
- */
42
- const r = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
43
- export {
44
- r as o
45
- };
@@ -1,53 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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";require("./index-Dv1aV79F.cjs");require("./index-CT2P9cSY.cjs");const t=require("./property-0L4eB11h.cjs"),c=require("./sized-mixin-BxMraZLS-DEFWqo8f.cjs"),d=":host{font-family:var(--luzmo-edit-option-component-font-family, var(--luzmo-font-family))}.luzmo-edit-option{height:var(--luzmo-edit-option-component-height, var(--edit-option-component-height));width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--luzmo-spacing-3);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s)}.control-container{display:flex;align-items:center;gap:var(--luzmo-edit-option-control-container-gap, var(--edit-option-control-container-gap));justify-content:end;flex:1}.extra-label{padding-left:var(--luzmo-edit-option-extra-label-padding-left, var(--edit-option-extra-label-padding-left));padding-right:var(--luzmo-edit-option-extra-label-padding-right, var(--edit-option-extra-label-padding-right));font-size:var(--luzmo-edit-option-extra-label-font-size, var(--edit-option-extra-label-font-size))}.extra-link{text-align:right;text-decoration:underline;cursor:pointer}.extra-link:hover{color:var(--luzmo-font-color-hover)}.extra-link.disabled{opacity:.65;cursor:not-allowed}.extra-link.disabled:hover{color:var(--luzmo-font-color-disabled)}:host{--edit-option-component-height: var(--luzmo-component-height);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-s)}:host([size=s]){--edit-option-component-height: var(--luzmo-component-height-s);--edit-option-extra-label-padding-right: var(--luzmo-spacing-3);--edit-option-extra-label-padding-left: var(--luzmo-spacing-4);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-xs)}:host([size=l]){--edit-option-component-height: var(--luzmo-component-height-l);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-3);--edit-option-extra-label-font-size: var(--luzmo-font-size)}:host([size=xl]){--edit-option-component-height: var(--luzmo-component-height-xl);--edit-option-extra-label-padding-right: var(--luzmo-spacing-5);--edit-option-extra-label-padding-left: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--edit-option-control-container-gap: var(--luzmo-spacing-4);--edit-option-extra-label-font-size: var(--luzmo-font-size-l)}:host{display:block}";var u=Object.defineProperty,o=(s,a,l,h)=>{for(var i=void 0,n=s.length-1,p;n>=0;n--)(p=s[n])&&(i=p(a,l,i)||i);return i&&u(a,l,i),i};const r=class r extends c.m(t.kt,{defaultSize:"s",validSizes:["s","m","l","xl"]}){constructor(){super(...arguments),this.disabled=!1,this.label="",this.tooltip="",this.extraLabel="",this.extraLabelHasClickAction=!1,this.extraLabelTooltip=""}handleExtraLabelClick(a){if(this.extraLabelHasClickAction&&typeof this.extraLabelClickAction=="function"){const{value:l}=this.extraLabelClickAction();this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:l}}))}a.preventDefault(),this.dispatchEvent(new CustomEvent("extraLabelClick",{bubbles:!0,composed:!0}))}render(){return t.x`
21
- <div class="luzmo-edit-option">
22
- ${this.label?t.x`
23
- <luzmo-field-label
24
- .size=${this.size}
25
- for="luzmo-edit-option-control"
26
- side-aligned="start"
27
- >
28
- ${this.label}
29
- ${this.tooltip?t.x`
30
- *<luzmo-tooltip
31
- self-managed
32
- placement="top"
33
- size=${this.size}
34
- >
35
- ${this.tooltip}
36
- </luzmo-tooltip>
37
- `:t.E}
38
- </luzmo-field-label>
39
- `:t.E}
40
-
41
- <div class="control-container">
42
- ${this.extraLabel?t.x`
43
- <div
44
- class="extra-label ${this.extraLabelHasClickAction?"extra-link":""}"
45
- @click=${this.handleExtraLabelClick}
46
- >
47
- <span class=""> ${this.extraLabel} </span>
48
- </div>
49
- `:t.E}
50
- ${this.renderController()}
51
- </div>
52
- </div>
53
- `}};r.styles=[t.r$1(d)];let e=r;o([t.n({type:Boolean,reflect:!0})],e.prototype,"disabled");o([t.n({type:String,reflect:!0})],e.prototype,"label");o([t.n({type:String,reflect:!0})],e.prototype,"tooltip");o([t.n({type:String,attribute:"extra-label"})],e.prototype,"extraLabel");o([t.n({type:Boolean,attribute:"extra-label-has-click-action"})],e.prototype,"extraLabelHasClickAction");o([t.n()],e.prototype,"extraLabelClickAction");o([t.n({type:String,attribute:"extra-label-tooltip"})],e.prototype,"extraLabelTooltip");exports.LuzmoEditOptionBase=e;
@@ -1,80 +0,0 @@
1
- import '@luzmo/lucero/field-label';
2
- import '@luzmo/lucero/icon';
3
- import '@luzmo/lucero/menu';
4
- import '@luzmo/lucero/picker';
5
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
6
- import { LuzmoElement } from '@luzmo/lucero/utils';
7
- declare const LuzmoFilterDataItemPicker_base: typeof LuzmoElement & {
8
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
9
- prototype: import("@luzmo/lucero").SizedElementInterface;
10
- };
11
- /**
12
- * @element luzmo-filter-data-item-picker
13
- */
14
- export declare class LuzmoFilterDataItemPicker extends LuzmoFilterDataItemPicker_base {
15
- static get styles(): CSSResultArray;
16
- /**
17
- * The language of the settings interface
18
- */
19
- language: string;
20
- /**
21
- * The language to use for locale-aware formatting and labels
22
- */
23
- contentLanguage: string;
24
- /**
25
- * Whether the picker has a label
26
- */
27
- hasLabel: boolean;
28
- /**
29
- * The label for the picker, if hasLabel is true
30
- */
31
- label?: string;
32
- /**
33
- * Where to show icons
34
- */
35
- icons?: 'none' | 'only-menu' | 'all';
36
- /**
37
- * Allow no selection. If true, the picker will not show a value when no item is selected. Else if no value is provided it will pick the first item.
38
- */
39
- allowEmpty: boolean;
40
- /**
41
- * The placeholder text for the picker is no value selected. If allowEmpty is true, this will be used as the label.
42
- */
43
- placeholder: string;
44
- /**
45
- * The dataItemId to display in the picker. If not provided, the first item will be displayed.
46
- */
47
- dataItemId: string;
48
- /**
49
- * The datasets and their dataItems to display
50
- */
51
- datasetsDataItems: {
52
- id: string;
53
- name: {
54
- [key: string]: string;
55
- };
56
- columns: {
57
- id: string;
58
- name?: {
59
- [key: string]: string;
60
- };
61
- format?: string;
62
- type?: string;
63
- subtype?: string;
64
- description?: {
65
- [key: string]: string;
66
- };
67
- }[];
68
- formulas: any[];
69
- }[];
70
- /**
71
- * The datasetId to filter on
72
- */
73
- filterOnDatasetId?: string;
74
- private _dataItemSelected;
75
- private _sendChangeEvent;
76
- setDataItem(event: CustomEvent): void;
77
- protected willUpdate(changedProperties: PropertyValues): void;
78
- protected render(): TemplateResult;
79
- }
80
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterDataItemPicker } from './filter-data-item-picker';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-data-item-picker': LuzmoFilterDataItemPicker;
5
- }
6
- }
7
- export { LuzmoFilterDataItemPicker } from './filter-data-item-picker';
@@ -1,60 +0,0 @@
1
- import '@luzmo/lucero/field-label';
2
- import '@luzmo/lucero/menu';
3
- import '@luzmo/lucero/picker';
4
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
5
- import { ColumnSubtype, ColumnType } from '@luzmo/dashboard-contents-types';
6
- import { LuzmoElement } from '@luzmo/lucero/utils';
7
- import { FilterExpressionKey } from './../../utils/expressions';
8
- declare const LuzmoFilterExpressionPicker_base: typeof LuzmoElement & {
9
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
10
- prototype: import("@luzmo/lucero").SizedElementInterface;
11
- };
12
- /**
13
- * @element luzmo-filter-expression-picker
14
- */
15
- export declare class LuzmoFilterExpressionPicker extends LuzmoFilterExpressionPicker_base {
16
- static get styles(): CSSResultArray;
17
- /**
18
- * The language of the settings interface
19
- */
20
- language: string;
21
- /**
22
- * The language of the settings interface
23
- */
24
- expression?: FilterExpressionKey;
25
- /**
26
- * Whether the picker has a label
27
- */
28
- hasLabel: boolean;
29
- /**
30
- * The label for the picker, if hasLabel is true
31
- */
32
- label?: string;
33
- /**
34
- * Allow no selection. If true, the picker will not show a value when no item is selected. Else if no value is provided it will pick the first item.
35
- */
36
- allowEmpty: boolean;
37
- /**
38
- * The placeholder text for the picker is no value selected. If allowEmpty is true, this will be used as the label.
39
- */
40
- placeholder: string;
41
- /**
42
- * The type of the column
43
- */
44
- type?: ColumnType;
45
- /**
46
- * The subtype of the column
47
- */
48
- subtype?: ColumnSubtype;
49
- /**
50
- * Whether the column is a formula
51
- */
52
- isFormula: boolean;
53
- private _sendChangeEvent;
54
- setExpression(event: CustomEvent): void;
55
- protected willUpdate(changedProperties: PropertyValues): void;
56
- private calculateShownExpression;
57
- private renderExpressionItems;
58
- protected render(): TemplateResult;
59
- }
60
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterExpressionPicker } from './filter-expression-picker';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-expression-picker': LuzmoFilterExpressionPicker;
5
- }
6
- }
7
- export { LuzmoFilterExpressionPicker } from './filter-expression-picker';
@@ -1,39 +0,0 @@
1
- import { LuzmoElement } from '@luzmo/lucero/utils';
2
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
3
- declare const LuzmoFilterGroup_base: typeof LuzmoElement & {
4
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
5
- prototype: import("@luzmo/lucero").SizedElementInterface;
6
- };
7
- /**
8
- * @element luzmo-filter-group
9
- */
10
- export declare class LuzmoFilterGroup extends LuzmoFilterGroup_base {
11
- static get styles(): CSSResultArray;
12
- /**
13
- * The language of the settings interface
14
- */
15
- language: string;
16
- /**
17
- * The language to use for locale-aware formatting and labels
18
- */
19
- contentLanguage: string;
20
- /**
21
- * The filters to display in the group
22
- */
23
- filters: any[];
24
- private _sendChangeEvent;
25
- private generateNewGroup;
26
- private generateNewFilter;
27
- private toggleCondition;
28
- private addFilter;
29
- private removeFilter;
30
- private updateFilter;
31
- private addSuperGroup;
32
- private addGroup;
33
- private addSubGroup;
34
- private removeSubGroup;
35
- private updateSubGroup;
36
- protected willUpdate(changedProperties: PropertyValues): void;
37
- protected render(): TemplateResult;
38
- }
39
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterGroup } from './filter-group';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-group': LuzmoFilterGroup;
5
- }
6
- }
7
- export { LuzmoFilterGroup } from './filter-group';
@@ -1,64 +0,0 @@
1
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
2
- import { LuzmoElement } from '@luzmo/lucero/utils';
3
- import './../filter-data-item-picker';
4
- import './../filter-expression-picker';
5
- import './../filter-value-picker';
6
- declare const LuzmoFilterItem_base: typeof LuzmoElement & {
7
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
8
- prototype: import("@luzmo/lucero").SizedElementInterface;
9
- };
10
- /**
11
- * @element luzmo-filter-item
12
- */
13
- export declare class LuzmoFilterItem extends LuzmoFilterItem_base {
14
- static get styles(): CSSResultArray;
15
- /**
16
- * The API URL of the databroker
17
- * @default https://api.luzmo.com
18
- * @description The URL of the databroker API
19
- */
20
- apiUrl?: string;
21
- /**
22
- * The auth key of the databroker
23
- */
24
- authKey?: string;
25
- /**
26
- * The auth token of the databroker
27
- */
28
- authToken?: string;
29
- /**
30
- * The cache time of the databroker
31
- * @default 30000
32
- * @description The time to cache the data in milliseconds
33
- */
34
- cacheTime?: number;
35
- /**
36
- * The language of the settings interface
37
- */
38
- language: string;
39
- /**
40
- * The language of the content
41
- */
42
- contentLanguage: string;
43
- /**
44
- * The time zone to use for the date picker
45
- */
46
- timeZone?: string;
47
- /**
48
- * The filter to display
49
- */
50
- filter?: any;
51
- private _type?;
52
- private _subType?;
53
- private _isFormula?;
54
- protected willUpdate(changedProperties: PropertyValues): void;
55
- private _sendChangeEvent;
56
- private setFilterDataItem;
57
- private setFilterExpression;
58
- private setFilterValue;
59
- protected renderDataItemPicker(): TemplateResult<1>;
60
- protected renderExpressionPicker(): TemplateResult<1>;
61
- protected renderValuePicker(): TemplateResult<1>;
62
- protected render(): TemplateResult;
63
- }
64
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterItem } from './filter-item';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-item': LuzmoFilterItem;
5
- }
6
- }
7
- export { LuzmoFilterItem } from './filter-item';
@@ -1,15 +0,0 @@
1
- export declare const ExampleFilter: {
2
- expression: string;
3
- parameters: (string | {
4
- column_id: string;
5
- dataset_id: string;
6
- })[];
7
- };
8
- export declare const ExampleDatasetsDataItems: {
9
- id: string;
10
- name: {
11
- en: string;
12
- };
13
- columns?: any[];
14
- formulas?: any[];
15
- }[];
@@ -1,26 +0,0 @@
1
- import '@luzmo/lucero/picker';
2
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
3
- import { LuzmoElement } from '@luzmo/lucero/utils';
4
- declare const LuzmoFilterParameterPicker_base: typeof LuzmoElement & {
5
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
6
- prototype: import("@luzmo/lucero").SizedElementInterface;
7
- };
8
- /**
9
- * @element luzmo-filter-parameter-picker
10
- */
11
- export declare class LuzmoFilterParameterPicker extends LuzmoFilterParameterPicker_base {
12
- static get styles(): CSSResultArray;
13
- /**
14
- * The language of the settings interface
15
- */
16
- language: string;
17
- /**
18
- * The language to use for locale-aware formatting and labels
19
- */
20
- contentLanguage: string;
21
- _expressionSelected: any;
22
- private _sendChangeEvent;
23
- protected willUpdate(changedProperties: PropertyValues): void;
24
- protected render(): TemplateResult;
25
- }
26
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterParameterPicker } from './filter-parameter-picker';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-parameter-picker': LuzmoFilterParameterPicker;
5
- }
6
- }
7
- export { LuzmoFilterParameterPicker } from './filter-parameter-picker';
@@ -1,65 +0,0 @@
1
- import '@luzmo/lucero/picker';
2
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
3
- import { LuzmoElement } from '@luzmo/lucero/utils';
4
- import './../filter-value-picker-datetime';
5
- import './../filter-value-picker-hierarchy';
6
- import './../filter-value-picker-numeric';
7
- declare const LuzmoFilterValuePicker_base: typeof LuzmoElement & {
8
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
9
- prototype: import("@luzmo/lucero").SizedElementInterface;
10
- };
11
- /**
12
- * @element luzmo-filter-value-picker
13
- */
14
- export declare class LuzmoFilterValuePicker extends LuzmoFilterValuePicker_base {
15
- static get styles(): CSSResultArray;
16
- /**
17
- * The API URL of the databroker
18
- * @default https://api.luzmo.com
19
- * @description The URL of the databroker API
20
- */
21
- apiUrl?: string;
22
- /**
23
- * The auth key of the databroker
24
- */
25
- authKey?: string;
26
- /**
27
- * The auth token of the databroker
28
- */
29
- authToken?: string;
30
- /**
31
- * The cache time of the databroker
32
- * @default 30000
33
- * @description The time to cache the data in milliseconds
34
- */
35
- cacheTime?: number;
36
- /**
37
- * The language of the settings interface
38
- */
39
- language: string;
40
- /**
41
- * The language to use for locale-aware formatting and labels
42
- */
43
- contentLanguage: string;
44
- /**
45
- * The time zone to use for the date picker
46
- */
47
- timeZone?: string;
48
- /**
49
- * The type value picker to render
50
- */
51
- valueType?: 'hierarchy' | 'numeric' | 'datetime';
52
- /**
53
- * The language to use for locale-aware formatting and labels
54
- */
55
- filter?: any;
56
- private _expressionsWithoutValuePicker;
57
- private _sendChangeEvent;
58
- private setFilterValue;
59
- private renderNumericValuePicker;
60
- private renderHierarchyValuePicker;
61
- private renderDateTimeValuePicker;
62
- protected willUpdate(changedProperties: PropertyValues): void;
63
- protected render(): TemplateResult;
64
- }
65
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterValuePicker } from './filter-value-picker';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-value-picker': LuzmoFilterValuePicker;
5
- }
6
- }
7
- export { LuzmoFilterValuePicker } from './filter-value-picker';
@@ -1,43 +0,0 @@
1
- import '@luzmo/lucero/date-time-picker';
2
- import '@luzmo/lucero/number-field';
3
- import '@luzmo/lucero/picker';
4
- import '@luzmo/lucero/text-field';
5
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
6
- import { LuzmoElement } from '@luzmo/lucero/utils';
7
- declare const LuzmoFilterValuePickerDatetime_base: typeof LuzmoElement & {
8
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
9
- prototype: import("@luzmo/lucero").SizedElementInterface;
10
- };
11
- /**
12
- * @element luzmo-filter-value-picker-datetime
13
- */
14
- export declare class LuzmoFilterValuePickerDatetime extends LuzmoFilterValuePickerDatetime_base {
15
- static get styles(): CSSResultArray;
16
- /**
17
- * The language of the settings interface
18
- */
19
- language: string;
20
- /**
21
- * The language to use for locale-aware formatting and column/formula labels
22
- */
23
- contentLanguage: string;
24
- /**
25
- * The time zone to use for the date picker
26
- */
27
- timeZone?: string;
28
- /**
29
- * The filter used to retrieve the value
30
- */
31
- filter?: any;
32
- private _value;
33
- protected willUpdate(changedProperties: PropertyValues): void;
34
- private _sendChangeEvent;
35
- setDate(event: CustomEvent): void;
36
- setUnit(event: CustomEvent): void;
37
- setQuantity(event: CustomEvent): void;
38
- private renderDatePicker;
39
- private renderQuantityField;
40
- private renderUnitPicker;
41
- protected render(): TemplateResult;
42
- }
43
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterValuePickerDatetime } from './filter-value-picker-datetime';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-value-picker-datetime': LuzmoFilterValuePickerDatetime;
5
- }
6
- }
7
- export { LuzmoFilterValuePickerDatetime } from './filter-value-picker-datetime';
@@ -1,71 +0,0 @@
1
- import '@luzmo/lucero/multi-picker';
2
- import '@luzmo/lucero/text-field';
3
- import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
4
- import { LuzmoElement } from '@luzmo/lucero/utils';
5
- declare const LuzmoFilterValuePickerHierarchy_base: typeof LuzmoElement & {
6
- new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
7
- prototype: import("@luzmo/lucero").SizedElementInterface;
8
- };
9
- /**
10
- * @element luzmo-filter-value-picker-hierarchy
11
- */
12
- export declare class LuzmoFilterValuePickerHierarchy extends LuzmoFilterValuePickerHierarchy_base {
13
- static get styles(): CSSResultArray;
14
- /**
15
- * The API URL of the databroker
16
- * @default https://api.luzmo.com
17
- * @description The URL of the databroker API
18
- */
19
- apiUrl?: string;
20
- /**
21
- * The auth key of the databroker
22
- */
23
- authKey?: string;
24
- /**
25
- * The auth token of the databroker
26
- */
27
- authToken?: string;
28
- /**
29
- * The cache time of the databroker
30
- * @default 30000
31
- * @description The time to cache the data in milliseconds
32
- */
33
- cacheTime?: number;
34
- /**
35
- * The language of the settings interface
36
- */
37
- language: string;
38
- /**
39
- * The language to use for locale-aware formatting and labels
40
- */
41
- contentLanguage: string;
42
- /**
43
- * The filter used to retrieve the value
44
- */
45
- filter?: any;
46
- /**
47
- * Stores the hierarchy values fetched from the databroker
48
- */
49
- private _hierarchyValues;
50
- /**
51
- * Loading state for hierarchy values
52
- */
53
- private _loading;
54
- /**
55
- * Error state for hierarchy values fetching
56
- */
57
- private _error;
58
- private _value;
59
- connectedCallback(): void;
60
- protected willUpdate(changedProperties: PropertyValues): void;
61
- /**
62
- * Fetches hierarchy values from the databroker
63
- */
64
- private _fetchHierarchyValues;
65
- private _sendChangeEvent;
66
- private setHierarchy;
67
- private renderTextField;
68
- private renderHierarchyPicker;
69
- protected render(): TemplateResult;
70
- }
71
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFilterValuePickerHierarchy } from './filter-value-picker-hierarchy';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-filter-value-picker-hierarchy': LuzmoFilterValuePickerHierarchy;
5
- }
6
- }
7
- export { LuzmoFilterValuePickerHierarchy } from './filter-value-picker-hierarchy';