@luzmo/analytics-components-kit 1.0.1-alpha.85 → 1.0.1-alpha.86
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.
- package/angular/README.md +1 -0
- package/angular/components/ai-interaction-textarea.component.ts +2 -0
- package/angular/components/dataset-icon.component.ts +21 -0
- package/angular/components/dataset-selector-row.component.ts +2 -0
- package/angular/esm/components/ai-interaction-textarea.component.d.ts +2 -1
- package/angular/esm/components/ai-interaction-textarea.component.js +7 -2
- package/angular/esm/components/dataset-icon.component.d.ts +9 -0
- package/angular/esm/components/dataset-icon.component.js +36 -0
- package/angular/esm/components/dataset-selector-row.component.d.ts +2 -1
- package/angular/esm/components/dataset-selector-row.component.js +7 -2
- package/angular/esm/index.d.ts +3 -1
- package/angular/esm/index.js +3 -0
- package/angular/esm/types.d.ts +14 -0
- package/angular/index.ts +3 -0
- package/angular/types.ts +13 -0
- package/components/ai-chat-messages-container/index.cjs +1 -1
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +7 -1
- package/components/ai-interaction-textarea/index.cjs +32 -28
- package/components/ai-interaction-textarea/index.js +62 -49
- package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
- package/components/{area-chart-options.config-u8itidsi.js → area-chart-options.config-_J0sG4NF.js} +26 -14
- package/components/{bar-chart-options.config-DIirbAJ0.js → bar-chart-options.config-D1mb5TDl.js} +35 -21
- package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
- package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
- package/components/{box-plot-options.config-BWROiguA.js → box-plot-options.config-xu_i6ms7.js} +88 -52
- package/components/{bubble-chart-options.config-4QD8VPhU.js → bubble-chart-options.config-BacgXkJ_.js} +18 -9
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
- package/components/{bullet-chart-options.config-3bH7uekx.js → bullet-chart-options.config-CDPpX1yc.js} +1 -1
- package/components/{bullet-chart-options.config-tWb6Fio-.cjs → bullet-chart-options.config-DfS4Bwds.cjs} +1 -1
- package/components/calculate-data-item-icon-DZDqb3xu.js +139 -0
- package/components/{calculate-data-item-icon-CX4VW9Km.cjs → calculate-data-item-icon-DjW1_RI1.cjs} +1 -1
- package/components/{choropleth-map-options.config-CMxx3ORp.js → choropleth-map-options.config-B_W9-rhe.js} +84 -63
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
- package/components/{circular-gauge-options.config-DhIKn44k.js → circular-gauge-options.config-DAIjz4Rl.js} +36 -23
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
- package/components/color-B6LaL8qz.cjs +20 -0
- package/components/{color-B7m0j8lX.js → color-DuJ4-73S.js} +950 -941
- package/components/{color-range-utils-BSfqtB3A.js → color-range-utils-Bvo9sm5A.js} +32 -31
- package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
- package/components/{column-chart-options.config-D5-yR7iq.js → column-chart-options.config-B5SjBVdy.js} +37 -27
- package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
- package/components/{conditional-number-options.config-DPYsdML5.js → conditional-number-options.config-BCEpSK9J.js} +40 -24
- package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
- package/components/dataset-icon/dataset-icon.d.ts +45 -0
- package/components/dataset-icon/index.cjs +60 -0
- package/components/dataset-icon/index.d.ts +7 -0
- package/components/dataset-icon/index.js +167 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +1 -0
- package/components/dataset-selector-list/index.cjs +10 -8
- package/components/dataset-selector-list/index.js +68 -68
- package/components/dataset-selector-row/dataset-selector-row.d.ts +7 -0
- package/components/dataset-selector-row/index.cjs +21 -18
- package/components/dataset-selector-row/index.js +63 -57
- package/components/{date-comparison-filter-options.config-QaoWaFUn.cjs → date-comparison-filter-options.config-DAVncmi0.cjs} +1 -1
- package/components/{date-comparison-filter-options.config-CSwGyuBg.js → date-comparison-filter-options.config-JA_yYpJa.js} +6 -3
- package/components/{date-filter-options.config-n-zhWaYa.cjs → date-filter-options.config-CWPMtA18.cjs} +1 -1
- package/components/{date-filter-options.config-BTVyHRkp.js → date-filter-options.config-DBRxlTWy.js} +6 -3
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +30 -29
- package/components/display-settings-datetime/index.cjs +29 -29
- package/components/display-settings-datetime/index.js +120 -112
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +24 -23
- package/components/display-settings-numeric/index.cjs +48 -48
- package/components/display-settings-numeric/index.js +211 -194
- package/components/display-settings-period-over-period/index.cjs +16 -16
- package/components/display-settings-period-over-period/index.js +97 -91
- package/components/{donut-chart-options.config-3ZqX8Cbb.js → donut-chart-options.config-BulUEiaH.js} +37 -21
- package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
- package/components/draggable-data-item/index.cjs +8 -8
- package/components/draggable-data-item/index.js +45 -44
- package/components/draggable-data-item-level/index.cjs +11 -11
- package/components/draggable-data-item-level/index.js +92 -89
- package/components/{dropdown-filter-options.config-CGJTtgAX.js → dropdown-filter-options.config-D9dvPypF.js} +10 -7
- package/components/{dropdown-filter-options.config-DJvfCTk7.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
- package/components/droppable-slot/index.cjs +20 -20
- package/components/droppable-slot/index.js +181 -167
- package/components/edit-item/index.cjs +9 -9
- package/components/edit-item/index.js +119 -116
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +8 -8
- package/components/edit-option-action-button-group/index.js +53 -52
- package/components/{edit-option-base-Bh29-Cak.js → edit-option-base-DIc7iC-b.js} +1 -1
- package/components/{edit-option-base-tFr8Qg2B.cjs → edit-option-base-VhTih9T1.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +1 -1
- package/components/edit-option-color-range/index.cjs +19 -19
- package/components/edit-option-color-range/index.js +117 -106
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +27 -26
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +5 -5
- package/components/edit-option-picker/index.js +7 -7
- package/components/edit-option-position-picker/index.cjs +4 -4
- package/components/edit-option-position-picker/index.js +25 -21
- package/components/edit-option-positions-number-field/index.cjs +9 -9
- package/components/edit-option-positions-number-field/index.js +81 -76
- package/components/edit-option-radio-button-group/index.cjs +6 -6
- package/components/edit-option-radio-button-group/index.js +22 -21
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +23 -22
- package/components/en-BKBhKBXY.cjs +20 -0
- package/components/en-BOTjhwEc.js +1488 -0
- package/components/{en-GB-CbNfyZMo.js → en-GB-CEHEs8F2.js} +1 -1
- package/components/{en-GB-CXVKFWyH.cjs → en-GB-DG6uS3sM.cjs} +1 -1
- package/components/{evolution-number-options.config-Bc9eKYnn.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
- package/components/{evolution-number-options.config-BIPO_4n3.js → evolution-number-options.config-DzkfeoIN.js} +14 -11
- package/components/{extrapolate-color-C0n1UDs-.cjs → extrapolate-color-0j_AeYkz.cjs} +1 -1
- package/components/{extrapolate-color-v1PimdQr.js → extrapolate-color-CC9CURf6.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +7 -7
- package/components/filter-data-item-picker/index.js +86 -85
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +6 -6
- package/components/filter-item/index.js +119 -109
- package/components/filter-value-picker/index.cjs +2 -2
- package/components/filter-value-picker/index.js +36 -34
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +71 -56
- package/components/filter-value-picker-hierarchy/index.cjs +12 -12
- package/components/filter-value-picker-hierarchy/index.js +124 -113
- package/components/filter-value-picker-numeric/index.cjs +8 -8
- package/components/filter-value-picker-numeric/index.js +110 -101
- package/components/focusable-B3E_hQmm.cjs +20 -0
- package/components/{focusable-BS2pbY7w.js → focusable-DCIFkpiW.js} +26 -24
- package/components/{funnel-chart-options.config-CrJy2U7_.js → funnel-chart-options.config-C_VjTOvD.js} +20 -5
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +20 -0
- package/components/{get-css-variable-CuDaWSjr.cjs → get-css-variable-DLiZYZEi.cjs} +2 -2
- package/components/{get-css-variable-DEf4GhTH.js → get-css-variable-YlLiVgo8.js} +4 -4
- package/components/grid/index.cjs +46 -46
- package/components/grid/index.js +1873 -2612
- package/components/{heat-map-options.config-CmL87j1j.js → heat-map-options.config-BnLWe8jS.js} +41 -35
- package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
- package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
- package/components/{heat-table-options.config-BrCYAgYD.js → heat-table-options.config-CUsDdgUr.js} +88 -60
- package/components/helpers-DXQwEH1P.cjs +20 -0
- package/components/helpers-v1bPALRP.js +91 -0
- package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
- package/components/{hexbin-map-options.config-BguV1w8q.js → hexbin-map-options.config-F-7uCqxb.js} +38 -20
- package/components/index-BPN3bG9X.js +1733 -0
- package/components/{index-BNAmjOkm.cjs → index-BPNsFiyq.cjs} +4 -4
- package/components/index-CQ9ck-BO.cjs +249 -0
- package/components/index-CXn67vdn.cjs +121 -0
- package/components/{index-haa7WNrl.js → index-CdIUfo-L.js} +481 -453
- package/components/{index-3WsfvkZF.js → index-Do7O9azB.js} +123 -112
- package/components/{index-BDFBUGBc.js → index-PMDgRSzR.js} +104 -94
- package/components/index-cfj52IbK.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +90 -88
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +37 -37
- package/components/{line-chart-options.config-BhirTGqD.js → line-chart-options.config-DB3IsXXr.js} +28 -13
- package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
- package/components/{localize-CcDpq940.js → localize-BX7q0S0M.js} +10 -10
- package/components/{localize-C4zNlrwK.cjs → localize-r7ALOUy_.cjs} +1 -1
- package/components/{marker-map-options.config-Bx17jmiq.js → marker-map-options.config-DPJ955tt.js} +1 -1
- package/components/{marker-map-options.config-CvhCylSC.cjs → marker-map-options.config-_FYZzRwA.cjs} +1 -1
- package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
- package/components/{pivot-table-options.config-CFc7y0IT.js → pivot-table-options.config-DNK_AIG7.js} +24 -15
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
- package/components/{pyramid-chart-options.config-2Waxb11l.js → pyramid-chart-options.config-CcVMatYx.js} +43 -29
- package/components/{radar-chart-options.config-CPN5fOl8.js → radar-chart-options.config-CUZn_3Fd.js} +23 -11
- package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
- package/components/{regular-table-options.config-CFKCJQK1.js → regular-table-options.config-BoLZsBry.js} +23 -17
- package/components/{regular-table-options.config-YRuoijIk.cjs → regular-table-options.config-DTx3RTnS.cjs} +1 -1
- package/components/{route-map-options.config-CyolTJfK.js → route-map-options.config-CN86T7c0.js} +109 -87
- package/components/route-map-options.config-D7NJePTu.cjs +20 -0
- package/components/{sankey-diagram-options.config-D7OSvSqm.cjs → sankey-diagram-options.config-RFB83YLZ.cjs} +1 -1
- package/components/{sankey-diagram-options.config-Ldjk84ro.js → sankey-diagram-options.config-tVLKy_Zn.js} +10 -7
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
- package/components/{scatter-plot-options.config-CfxEfkQ1.js → scatter-plot-options.config-Corlzno1.js} +86 -56
- package/components/{search-filter-options.config-Oqco9BKj.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
- package/components/{search-filter-options.config-C0syQmP4.js → search-filter-options.config-BE3JhR-F.js} +6 -3
- package/components/{set-locale-nv7fWEtl.js → set-locale-B-Tz2sdI.js} +8 -1
- package/components/{slicer-filter-options.config-DmOe3440.js → slicer-filter-options.config-3JZZcw5C.js} +18 -9
- package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
- package/components/{slider-filter-options.config-B1M8RcDs.js → slider-filter-options.config-DH4SS8wH.js} +1 -1
- package/components/{slider-filter-options.config-k45I-t6G.cjs → slider-filter-options.config-_8Z2zKmU.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +33 -33
- package/components/slot-contents-picker/index.js +205 -194
- package/components/slot-menu/index.cjs +12 -12
- package/components/slot-menu/index.js +184 -171
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +103 -97
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
- package/components/{speedometer-chart-options.config-CzOmuEF8.js → speedometer-chart-options.config-SL581yOa.js} +53 -31
- package/components/{spike-map-options.config-Cbt1YUw6.js → spike-map-options.config-C5KewecZ.js} +122 -91
- package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
- package/components/{sunburst-chart-options.config-Yrxc2i57.cjs → sunburst-chart-options.config-AbNjWS6t.cjs} +1 -1
- package/components/{sunburst-chart-options.config-_dyLQxPJ.js → sunburst-chart-options.config-CNauGQJv.js} +20 -9
- package/components/{symbol-map-options.config-BORL1NSU.js → symbol-map-options.config-DdDA4aa7.js} +20 -11
- package/components/symbol-map-options.config-m-lwLTtu.cjs +20 -0
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
- package/components/{treemap-chart-options.config-B9i9qIm_.js → treemap-chart-options.config-D5AJaF_u.js} +37 -20
- package/components/utils.cjs +1 -1
- package/components/utils.js +65 -64
- package/components/{video-options.config-B0asgYt8.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
- package/components/{video-options.config-UX-9MDfS.js → video-options.config-Dk36zJ1B.js} +10 -7
- package/components/{wordcloud-chart-options.config-BKtJT8Va.cjs → wordcloud-chart-options.config-vGfCW8kE.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-BoB_KuhA.js → wordcloud-chart-options.config-w2NUIWVA.js} +7 -4
- package/custom-elements.json +154 -20
- package/index.d.ts +1 -0
- package/package.json +6 -1
- package/types.d.ts +14 -0
- package/components/area-chart-options.config-Bl8bhhOo.cjs +0 -20
- package/components/bar-chart-options.config-CePAqM83.cjs +0 -20
- package/components/box-plot-options.config-BVNrV2eD.cjs +0 -20
- package/components/bubble-chart-options.config-BDgOe3GQ.cjs +0 -20
- package/components/calculate-data-item-icon-C8CbsMQf.js +0 -139
- package/components/choropleth-map-options.config-CWJACFd0.cjs +0 -20
- package/components/circular-gauge-options.config-BMxgq3zH.cjs +0 -20
- package/components/color-Czp4Im5q.cjs +0 -20
- package/components/color-range-utils-DYYR-iwx.cjs +0 -20
- package/components/column-chart-options.config-BV9R3ssH.cjs +0 -20
- package/components/conditional-number-options.config-Co099Qfm.cjs +0 -20
- package/components/donut-chart-options.config-BQyPgnC9.cjs +0 -20
- package/components/en--a5SfjnM.cjs +0 -20
- package/components/en-CtCctD2c.js +0 -1483
- package/components/focusable-QLh-LlNt.cjs +0 -20
- package/components/funnel-chart-options.config-DrP4AFgk.cjs +0 -20
- package/components/heat-map-options.config-CIHnPdYE.cjs +0 -20
- package/components/heat-table-options.config-DTlZRc_i.cjs +0 -20
- package/components/helpers-9I0oLoUB.cjs +0 -20
- package/components/helpers-bR8Ibjqh.js +0 -79
- package/components/hexbin-map-options.config-CKnn3VAB.cjs +0 -20
- package/components/index-BGb_wRRW.js +0 -1766
- package/components/index-BUal0r_D.cjs +0 -121
- package/components/index-D1Y5TRsH.cjs +0 -20
- package/components/index-DvkzMbLt.cjs +0 -249
- package/components/line-chart-options.config-Cqwou5u6.cjs +0 -20
- package/components/pivot-table-options.config-uZDAertf.cjs +0 -20
- package/components/pyramid-chart-options.config-DoGfEvzU.cjs +0 -20
- package/components/radar-chart-options.config-CtNUMN1l.cjs +0 -20
- package/components/route-map-options.config-CVTk5RVL.cjs +0 -20
- package/components/scatter-plot-options.config-5gN7pMTm.cjs +0 -20
- package/components/slicer-filter-options.config-CrusP6a0.cjs +0 -20
- package/components/speedometer-chart-options.config-B4ceg_qI.cjs +0 -20
- package/components/spike-map-options.config-BkkDqb4g.cjs +0 -20
- package/components/symbol-map-options.config-NpBKm64d.cjs +0 -20
- package/components/treemap-chart-options.config-x4J54WSw.cjs +0 -20
|
@@ -17,9 +17,9 @@
|
|
|
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 { SignalWatcher as
|
|
21
|
-
import { createContext as
|
|
22
|
-
import { Task as
|
|
20
|
+
import { SignalWatcher as y } from "@lit-labs/signals";
|
|
21
|
+
import { createContext as z, consume as f } from "@lit/context";
|
|
22
|
+
import { Task as b } from "@lit/task";
|
|
23
23
|
import "@luzmo/lucero/divider";
|
|
24
24
|
import "@luzmo/lucero/field-label";
|
|
25
25
|
import "@luzmo/lucero/icon";
|
|
@@ -27,48 +27,52 @@ import "@luzmo/lucero/multi-language-field";
|
|
|
27
27
|
import "@luzmo/lucero/progress-circle";
|
|
28
28
|
import "@luzmo/lucero/text-field";
|
|
29
29
|
import "@luzmo/lucero/tooltip";
|
|
30
|
-
import { unsafeCSS as
|
|
31
|
-
import { property as
|
|
30
|
+
import { unsafeCSS as _, nothing as C, html as r } from "lit";
|
|
31
|
+
import { property as a, state as x, query as S } from "lit/decorators.js";
|
|
32
32
|
import { msg as m } from "@lit/localize";
|
|
33
|
-
import { luzmoIcon as
|
|
34
|
-
import { L as
|
|
35
|
-
import { S as
|
|
36
|
-
import { f as
|
|
37
|
-
const
|
|
33
|
+
import { luzmoIcon as v, luzmoInfoCircleOutline as $, luzmoTrashOutline as T } from "@luzmo/icons";
|
|
34
|
+
import { L as w } from "./focusable-DCIFkpiW.js";
|
|
35
|
+
import { S as D, E } from "./sized-mixin-cJbo3PKR.js";
|
|
36
|
+
import { f as L } from "./en-BOTjhwEc.js";
|
|
37
|
+
const k = z(
|
|
38
38
|
Symbol("slot-store-context")
|
|
39
|
-
),
|
|
40
|
-
var
|
|
41
|
-
for (var
|
|
42
|
-
(d = u[
|
|
43
|
-
return
|
|
39
|
+
), O = ":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-display-settings-vertical-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}luzmo-tooltip{--tooltip-font-size: var( --luzmo-display-settings-tooltip-font-size, var(--tooltip-font-size) )}.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-id-button-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-ids-container-gap, var(--luzmo-spacing-2));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))}.id-value{-webkit-user-select:text;user-select:text;cursor:text}.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));gap:var(--luzmo-display-settings-example-container-gap, var(--luzmo-spacing-2))}.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))}: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)}";
|
|
40
|
+
var P = Object.defineProperty, s = (u, t, o, n) => {
|
|
41
|
+
for (var e = void 0, p = u.length - 1, d; p >= 0; p--)
|
|
42
|
+
(d = u[p]) && (e = d(t, o, e) || e);
|
|
43
|
+
return e && P(t, o, e), e;
|
|
44
44
|
};
|
|
45
|
-
class
|
|
46
|
-
|
|
47
|
-
validSizes: Object.values(
|
|
45
|
+
class i extends y(
|
|
46
|
+
D(w, {
|
|
47
|
+
validSizes: Object.values(E)
|
|
48
48
|
})
|
|
49
49
|
) {
|
|
50
50
|
constructor() {
|
|
51
|
-
super(...arguments), this._loadDisplaySettings = new
|
|
51
|
+
super(...arguments), this._loadDisplaySettings = new b(this, {
|
|
52
52
|
task: async ([
|
|
53
53
|
t,
|
|
54
|
-
|
|
55
|
-
p,
|
|
54
|
+
o,
|
|
56
55
|
n,
|
|
57
|
-
|
|
56
|
+
e,
|
|
57
|
+
p,
|
|
58
58
|
d
|
|
59
59
|
]) => {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
var g, c, h;
|
|
61
|
+
const l = [];
|
|
62
|
+
d && l.push("grandTotals"), n && l.push("periodOverPeriod"), (t === "numeric" || t === "mixed" && ((g = this._currentSlotContent) == null ? void 0 : g.type) === "numeric") && l.push("numeric"), t !== "numeric" && ((c = this._currentSlotContent) == null ? void 0 : c.type) === "datetime" && l.push("datetime"), !["numeric", "mixed"].includes(t ?? "") && ((h = this._currentSlotContent) == null ? void 0 : h.type) === "numeric" && !e && l.push("binning"), n && !this._settingsTypeLoaded.periodOverPeriod && (await import("./display-settings-period-over-period/index.js"), this._settingsTypeLoaded.periodOverPeriod = !0), l.length > 0 && !o && (l.includes("numeric") && !this._settingsTypeLoaded.numeric ? (await import("./display-settings-numeric/index.js"), this._settingsTypeLoaded.numeric = !0) : l.includes("datetime") && !this._settingsTypeLoaded.datetime && p ? (await import("./display-settings-datetime/index.js"), this._settingsTypeLoaded.datetime = !0) : l.includes("binning") && !this._settingsTypeLoaded.binning ? (await import("./display-settings-binning/index.js"), this._settingsTypeLoaded.binning = !0) : l.includes("grandTotals") && !this._settingsTypeLoaded.grandTotals && (await import("./display-settings-grand-totals/index.js"), this._settingsTypeLoaded.grandTotals = !0));
|
|
62
63
|
},
|
|
63
|
-
args: () =>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
args: () => {
|
|
65
|
+
var t;
|
|
66
|
+
return [
|
|
67
|
+
this.slotType,
|
|
68
|
+
this.hideDisplaySettings,
|
|
69
|
+
(t = this._store) == null ? void 0 : t.periodOverPeriodUiType.get(),
|
|
70
|
+
this.isBinningDisabled,
|
|
71
|
+
this.areDatetimeOptionsEnabled,
|
|
72
|
+
this.areGrandTotalsEnabled,
|
|
73
|
+
this.slotContent
|
|
74
|
+
];
|
|
75
|
+
}
|
|
72
76
|
}), this.language = "en", this.contentLanguage = "en", this.slotType = "numeric", this.slotContent = {}, this._showIds = !1, this.measureColumns = [], this._settingsTypeLoaded = {
|
|
73
77
|
binning: !1,
|
|
74
78
|
datetime: !1,
|
|
@@ -79,19 +83,24 @@ class e extends c(
|
|
|
79
83
|
}, this._currentSlotContent = {};
|
|
80
84
|
}
|
|
81
85
|
static get styles() {
|
|
82
|
-
return [
|
|
86
|
+
return [_(O)];
|
|
83
87
|
}
|
|
84
88
|
_datasetDatetimeColumns() {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
var t;
|
|
90
|
+
return (t = this._store) == null ? void 0 : t.linkedDataset.get().flatMap(
|
|
91
|
+
(o) => {
|
|
92
|
+
var n;
|
|
93
|
+
return (n = o.columns) == null ? void 0 : n.filter((e) => e.type === "datetime").map((e) => ({
|
|
94
|
+
...e,
|
|
95
|
+
datasetId: o.id
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
90
98
|
);
|
|
91
99
|
}
|
|
92
100
|
willUpdate() {
|
|
93
|
-
|
|
94
|
-
|
|
101
|
+
var n, e;
|
|
102
|
+
const t = (n = this._store) == null ? void 0 : n.activeSlotContents.get(), o = (e = this._store) == null ? void 0 : e.periodOverPeriodUiType.get();
|
|
103
|
+
this.periodOverPeriodUiType !== o && (this.periodOverPeriodUiType = o), t && t !== this._currentSlotContent && (this._currentSlotContent = structuredClone(t));
|
|
95
104
|
}
|
|
96
105
|
_onSlotContentChange(t) {
|
|
97
106
|
t.stopPropagation(), t.preventDefault(), this._currentSlotContent = structuredClone(t.detail.slotContent), this._sendEvent(), this.requestUpdate();
|
|
@@ -127,30 +136,31 @@ class e extends c(
|
|
|
127
136
|
this._showIds = !this._showIds;
|
|
128
137
|
}
|
|
129
138
|
_renderExampleRow() {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
139
|
+
var d;
|
|
140
|
+
const t = this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric", o = this.slotType !== "datetime" && this._currentSlotContent.type === "datetime" && this.areDatetimeOptionsEnabled;
|
|
141
|
+
if (!(t || o))
|
|
142
|
+
return C;
|
|
143
|
+
const n = !this._currentSlotContent.datetimeDisplayMode || this._currentSlotContent.datetimeDisplayMode === "default", e = t ? 1234.56 : n ? /* @__PURE__ */ new Date() : 1, p = L(
|
|
134
144
|
{
|
|
135
145
|
...this._currentSlotContent,
|
|
136
146
|
type: t ? "numeric" : "datetime"
|
|
137
147
|
},
|
|
138
148
|
{
|
|
139
149
|
locale: this.contentLanguage,
|
|
140
|
-
level: this._currentSlotContent
|
|
150
|
+
level: (d = this._currentSlotContent) == null ? void 0 : d.level
|
|
141
151
|
}
|
|
142
|
-
)(
|
|
143
|
-
return
|
|
152
|
+
)(e);
|
|
153
|
+
return r`<div class="settings-row example-container">
|
|
144
154
|
<span class="example-label"
|
|
145
155
|
>${m("Example", {
|
|
146
156
|
desc: "Label for example"
|
|
147
157
|
})}:</span
|
|
148
158
|
>
|
|
149
|
-
<span class="example">${
|
|
159
|
+
<span class="example">${p}</span>
|
|
150
160
|
</div>`;
|
|
151
161
|
}
|
|
152
162
|
_renderDisplaySettings() {
|
|
153
|
-
return
|
|
163
|
+
return r`<div class="settings-container">
|
|
154
164
|
<div class="settings-row">
|
|
155
165
|
<div class="setting">
|
|
156
166
|
<div class="label-container">
|
|
@@ -167,16 +177,16 @@ class e extends c(
|
|
|
167
177
|
</div>
|
|
168
178
|
<div class="label-action-container">
|
|
169
179
|
<button class="id-button" @click=${this._toggleIds}>
|
|
170
|
-
${
|
|
180
|
+
${v($)}
|
|
171
181
|
<luzmo-tooltip self-managed placement="top" size=${this.size}>
|
|
172
182
|
Show dataset and column id's
|
|
173
183
|
</luzmo-tooltip>
|
|
174
184
|
</button>
|
|
175
|
-
${this.showRemoveButton ?
|
|
185
|
+
${this.showRemoveButton ? r`<button
|
|
176
186
|
class="remove-button"
|
|
177
187
|
@click=${this._removeEvent}
|
|
178
188
|
>
|
|
179
|
-
${
|
|
189
|
+
${v(T)}
|
|
180
190
|
<luzmo-tooltip
|
|
181
191
|
self-managed
|
|
182
192
|
placement="top"
|
|
@@ -188,13 +198,13 @@ class e extends c(
|
|
|
188
198
|
</div>
|
|
189
199
|
</div>
|
|
190
200
|
</div>
|
|
191
|
-
${this.areGrandTotalsEnabled ?
|
|
201
|
+
${this.areGrandTotalsEnabled ? r`<luzmo-display-settings-grand-totals
|
|
192
202
|
.language=${this.language}
|
|
193
203
|
.slotContent=${this._currentSlotContent}
|
|
194
204
|
.size=${this.size}
|
|
195
205
|
@slot-content-changed=${this._onSlotContentChange}
|
|
196
206
|
></luzmo-display-settings-grand-totals>` : ""}
|
|
197
|
-
${this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric" ?
|
|
207
|
+
${this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric" ? r`<luzmo-display-settings-numeric
|
|
198
208
|
.language=${this.language}
|
|
199
209
|
.slotContent=${this._currentSlotContent}
|
|
200
210
|
.size=${this.size}
|
|
@@ -203,20 +213,20 @@ class e extends c(
|
|
|
203
213
|
.isCumulativeSumEnabled=${this.isCumulativeSumEnabled}
|
|
204
214
|
@slot-content-changed=${this._onSlotContentChange}
|
|
205
215
|
></luzmo-display-settings-numeric>` : ""}
|
|
206
|
-
${this.slotType !== "numeric" && this._currentSlotContent.type === "datetime" && this.areDatetimeOptionsEnabled ?
|
|
216
|
+
${this.slotType !== "numeric" && this._currentSlotContent.type === "datetime" && this.areDatetimeOptionsEnabled ? r`<luzmo-display-settings-datetime
|
|
207
217
|
.language=${this.language}
|
|
208
218
|
.contentLanguage=${this.contentLanguage}
|
|
209
219
|
.slotContent=${this._currentSlotContent}
|
|
210
220
|
.size=${this.size}
|
|
211
221
|
@slot-content-changed=${this._onSlotContentChange}
|
|
212
222
|
></luzmo-display-settings-datetime>` : ""}
|
|
213
|
-
${!["numeric", "mixed"].includes(this.slotType ?? "") && this._currentSlotContent.type === "numeric" && !this.isBinningDisabled ?
|
|
223
|
+
${!["numeric", "mixed"].includes(this.slotType ?? "") && this._currentSlotContent.type === "numeric" && !this.isBinningDisabled ? r`<luzmo-display-settings-binning
|
|
214
224
|
.language=${this.language}
|
|
215
225
|
.slotContent=${this._currentSlotContent}
|
|
216
226
|
.size=${this.size}
|
|
217
227
|
@slot-content-changed=${this._onSlotContentChange}
|
|
218
228
|
></luzmo-display-settings-binning>` : ""}
|
|
219
|
-
${this.periodOverPeriodUiType ?
|
|
229
|
+
${this.periodOverPeriodUiType ? r`<luzmo-display-settings-period-over-period
|
|
220
230
|
.language=${this.language}
|
|
221
231
|
.slotContent=${this._currentSlotContent}
|
|
222
232
|
.size=${this.size}
|
|
@@ -226,7 +236,7 @@ class e extends c(
|
|
|
226
236
|
></luzmo-display-settings-period-over-period>` : ""}
|
|
227
237
|
${this._renderExampleRow()}
|
|
228
238
|
</div>
|
|
229
|
-
${this._showIds ?
|
|
239
|
+
${this._showIds ? r` <luzmo-divider></luzmo-divider>
|
|
230
240
|
<div class="ids-container">
|
|
231
241
|
<div>
|
|
232
242
|
<span class="id-label"
|
|
@@ -247,7 +257,7 @@ class e extends c(
|
|
|
247
257
|
}
|
|
248
258
|
render() {
|
|
249
259
|
return this._loadDisplaySettings.render({
|
|
250
|
-
pending: () =>
|
|
260
|
+
pending: () => r`<luzmo-progress-circle
|
|
251
261
|
indeterminate
|
|
252
262
|
.size=${this.size}
|
|
253
263
|
></luzmo-progress-circle>`,
|
|
@@ -256,59 +266,60 @@ class e extends c(
|
|
|
256
266
|
});
|
|
257
267
|
}
|
|
258
268
|
disconnectedCallback() {
|
|
259
|
-
|
|
269
|
+
var t, o, n;
|
|
270
|
+
(t = super.disconnectedCallback) == null || t.call(this), (n = (o = this._loadDisplaySettings).abort) == null || n.call(o);
|
|
260
271
|
}
|
|
261
272
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
],
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
],
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
],
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
],
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
],
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
],
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
],
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
],
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
],
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
],
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
],
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
],
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
],
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
],
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
],
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
],
|
|
310
|
-
customElements.get("luzmo-display-settings") || customElements.define("luzmo-display-settings",
|
|
273
|
+
s([
|
|
274
|
+
a({ type: String })
|
|
275
|
+
], i.prototype, "language");
|
|
276
|
+
s([
|
|
277
|
+
a({ type: String, attribute: "content-language" })
|
|
278
|
+
], i.prototype, "contentLanguage");
|
|
279
|
+
s([
|
|
280
|
+
a({ type: Boolean, attribute: "hide-display-settings" })
|
|
281
|
+
], i.prototype, "hideDisplaySettings");
|
|
282
|
+
s([
|
|
283
|
+
a({ type: Boolean })
|
|
284
|
+
], i.prototype, "isBinningDisabled");
|
|
285
|
+
s([
|
|
286
|
+
a({ type: Boolean })
|
|
287
|
+
], i.prototype, "areDatetimeOptionsEnabled");
|
|
288
|
+
s([
|
|
289
|
+
a({ type: Boolean })
|
|
290
|
+
], i.prototype, "areGrandTotalsEnabled");
|
|
291
|
+
s([
|
|
292
|
+
a({ type: Boolean })
|
|
293
|
+
], i.prototype, "isAggregationDisabled");
|
|
294
|
+
s([
|
|
295
|
+
a({ type: Boolean })
|
|
296
|
+
], i.prototype, "isCumulativeSumEnabled");
|
|
297
|
+
s([
|
|
298
|
+
a({ type: String })
|
|
299
|
+
], i.prototype, "periodOverPeriodUiType");
|
|
300
|
+
s([
|
|
301
|
+
a({ type: Boolean, attribute: "show-remove-button" })
|
|
302
|
+
], i.prototype, "showRemoveButton");
|
|
303
|
+
s([
|
|
304
|
+
a({ type: String, attribute: "slot-type" })
|
|
305
|
+
], i.prototype, "slotType");
|
|
306
|
+
s([
|
|
307
|
+
a()
|
|
308
|
+
], i.prototype, "slotContent");
|
|
309
|
+
s([
|
|
310
|
+
x()
|
|
311
|
+
], i.prototype, "_showIds");
|
|
312
|
+
s([
|
|
313
|
+
a({ type: Array, reflect: !1 })
|
|
314
|
+
], i.prototype, "measureColumns");
|
|
315
|
+
s([
|
|
316
|
+
S("luzmo-multi-language-field")
|
|
317
|
+
], i.prototype, "_multiLanguageFieldElement");
|
|
318
|
+
s([
|
|
319
|
+
f({ context: k, subscribe: !0 })
|
|
320
|
+
], i.prototype, "_store");
|
|
321
|
+
customElements.get("luzmo-display-settings") || customElements.define("luzmo-display-settings", i);
|
|
311
322
|
export {
|
|
312
|
-
|
|
313
|
-
|
|
323
|
+
i as L,
|
|
324
|
+
k as s
|
|
314
325
|
};
|