@luzmo/analytics-components-kit 1.0.1-alpha.4 → 1.0.1-alpha.5
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/components/async-directive-FGzMycjH-Bgeca09f.js +152 -0
- package/components/async-directive-FGzMycjH-CeG35vZ3.cjs +56 -0
- package/components/base-BjTwmyRF.cjs +24 -0
- package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
- package/components/base-D76d76ww-gf0ESLsU.js +45 -0
- package/components/base-D76d76ww.js +28 -0
- package/components/button-base-CDLQV7Vk-BXgdcJZo.cjs +43 -0
- package/{lib/button-base-CtfPWS-P.js → components/button-base-CDLQV7Vk-C_3zTrbV.js} +55 -36
- package/components/checkbox-mixin-DXUIwtea-DNISZS47.cjs +45 -0
- package/components/checkbox-mixin-DXUIwtea-wiCZr_KI.js +88 -0
- package/components/directive-helpers-BLDZnGQv-DYFfxaqA.cjs +80 -0
- package/components/directive-helpers-BLDZnGQv-oKMCBvb2.js +115 -0
- package/components/display-settings/display-settings.d.ts +70 -0
- package/components/display-settings/index.cjs +105 -0
- package/components/display-settings/index.d.ts +7 -0
- package/components/display-settings/index.js +238 -0
- package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
- package/components/display-settings-binning/index.cjs +51 -0
- package/components/display-settings-binning/index.d.ts +7 -0
- package/components/display-settings-binning/index.js +137 -0
- package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
- package/{lib/draggable-data-item → components/display-settings-datetime}/index.cjs +1 -1
- package/components/display-settings-datetime/index.d.ts +7 -0
- package/{lib/draggable-data-item → components/display-settings-datetime}/index.js +2 -2
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +30 -0
- package/{lib/index-C4ePDYEC.cjs → components/display-settings-grand-totals/index.cjs} +4 -4
- package/components/display-settings-grand-totals/index.d.ts +7 -0
- package/components/display-settings-grand-totals/index.js +115 -0
- package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
- package/components/display-settings-numeric/helpers/constants.d.ts +17 -0
- package/components/display-settings-numeric/index.cjs +146 -0
- package/components/display-settings-numeric/index.d.ts +7 -0
- package/{lib/index-CM80_HQw.js → components/display-settings-numeric/index.js} +106 -96
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
- package/components/display-settings-period-over-period/helpers/constants.d.ts +33 -0
- package/components/display-settings-period-over-period/index.cjs +103 -0
- package/components/display-settings-period-over-period/index.d.ts +7 -0
- package/{lib/index-DJp_9h0l.js → components/display-settings-period-over-period/index.js} +104 -123
- package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
- package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
- package/components/draggable-data-item/draggable-data-item.d.ts +25 -0
- package/components/draggable-data-item/index.cjs +55 -0
- package/components/draggable-data-item/index.d.ts +7 -0
- package/components/draggable-data-item/index.js +140 -0
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
- package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
- package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
- package/components/draggable-data-item-level/index.cjs +36 -0
- package/components/draggable-data-item-level/index.d.ts +7 -0
- package/{lib/index-DrIA0eFE.js → components/draggable-data-item-level/index.js} +137 -236
- package/components/droppable-slot/droppable-slot.d.ts +49 -0
- package/components/droppable-slot/index.cjs +69 -0
- package/components/droppable-slot/index.d.ts +7 -0
- package/components/droppable-slot/index.js +255 -0
- package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
- package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
- package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
- package/components/edit-item/edit-item.d.ts +50 -0
- package/components/edit-item/index.cjs +85 -0
- package/components/edit-item/index.d.ts +7 -0
- package/components/edit-item/index.js +333 -0
- package/components/edit-option/edit-option.d.ts +22 -0
- package/components/edit-option/helpers/control-markup.d.ts +14 -0
- package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
- package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
- package/components/edit-option/helpers/generate-callback.d.ts +1 -0
- package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
- package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
- package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
- package/components/edit-option/index.cjs +176 -0
- package/components/edit-option/index.d.ts +7 -0
- package/components/edit-option/index.js +507 -0
- package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
- package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
- package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
- package/components/edit-option/item-configs/imageobject.config.d.ts +128 -0
- package/components/edit-option/item-configs/line-chart.config.d.ts +96 -0
- package/components/edit-option/item-configs/textobject.config.d.ts +13 -0
- package/components/edit-option/item-translations/bar-chart.en.d.ts +48 -0
- package/components/edit-option/item-translations/bar-chart.fr.d.ts +23 -0
- package/components/edit-option/item-translations/bar-chart.nl.d.ts +23 -0
- package/components/edit-option/item-translations/donut-chart.en.d.ts +64 -0
- package/components/edit-option/item-translations/donut-chart.fr.d.ts +18 -0
- package/components/edit-option/item-translations/donut-chart.nl.d.ts +18 -0
- package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
- package/components/edit-option-action-button-group/index.cjs +44 -0
- package/components/edit-option-action-button-group/index.d.ts +7 -0
- package/components/edit-option-action-button-group/index.js +144 -0
- package/components/edit-option-base/edit-option-base.d.ts +22 -0
- package/components/edit-option-base-DnrerC_T.cjs +53 -0
- package/components/edit-option-base-oIvlolV9.js +120 -0
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
- package/components/edit-option-color-picker/index.cjs +472 -0
- package/components/edit-option-color-picker/index.d.ts +7 -0
- package/components/edit-option-color-picker/index.js +2553 -0
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +15 -0
- package/components/edit-option-multi-language-field/index.cjs +31 -0
- package/components/edit-option-multi-language-field/index.d.ts +7 -0
- package/components/edit-option-multi-language-field/index.js +102 -0
- package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
- package/components/edit-option-number-field/index.cjs +32 -0
- package/components/edit-option-number-field/index.d.ts +7 -0
- package/components/edit-option-number-field/index.js +115 -0
- package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
- package/components/edit-option-picker/index.cjs +35 -0
- package/components/edit-option-picker/index.d.ts +7 -0
- package/components/edit-option-picker/index.js +106 -0
- package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +28 -0
- package/components/edit-option-positions-number-field/index.cjs +42 -0
- package/components/edit-option-positions-number-field/index.d.ts +7 -0
- package/components/edit-option-positions-number-field/index.js +170 -0
- package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
- package/components/edit-option-radio-button-group/index.cjs +36 -0
- package/components/edit-option-radio-button-group/index.d.ts +7 -0
- package/components/edit-option-radio-button-group/index.js +113 -0
- package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
- package/components/edit-option-slider/index.cjs +48 -0
- package/components/edit-option-slider/index.d.ts +7 -0
- package/components/edit-option-slider/index.js +1253 -0
- package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
- package/components/edit-option-switch/index.cjs +50 -0
- package/components/edit-option-switch/index.d.ts +7 -0
- package/components/edit-option-switch/index.js +171 -0
- package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
- package/components/edit-option-text-field/index.cjs +31 -0
- package/components/edit-option-text-field/index.d.ts +7 -0
- package/components/edit-option-text-field/index.js +100 -0
- package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
- package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
- package/{lib/en-CIeY2T5K.js → components/en-BsAhbMzm.js} +101 -102
- package/components/en-CdROUdjt.cjs +202 -0
- package/{lib/en-GB-BqYHIX1v.cjs → components/en-GB-g8rSQSba.cjs} +1 -1
- package/{lib/en-GB-CYx--4nh.js → components/en-GB-qub-Kemt.js} +1 -1
- package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
- package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
- package/{lib/get-css-variable-BHHQ0SnL.js → components/get-css-variable-Bhbr-Kr1.js} +379 -410
- package/components/get-css-variable-DLiZYZEi.cjs +24 -0
- package/components/if-defined-CYpcjGCb-Bzbg7zmM.cjs +60 -0
- package/components/if-defined-CYpcjGCb-tXzyj9Dq.js +95 -0
- package/components/if-defined-Ch2dtEOS.js +29 -0
- package/components/if-defined-DMSuo5Qx.cjs +24 -0
- package/components/index-3ewegRbb.cjs +67 -0
- package/components/index-B0cBkCaq.cjs +39 -0
- package/components/index-B2N_PZf3.js +164 -0
- package/components/index-B2z7i1-X.js +77 -0
- package/components/index-B5VaT0lQ.js +145 -0
- package/components/index-BC-nmKjU.js +104 -0
- package/{lib/droppable-slot/index.js → components/index-BD3VxQBH.js} +18 -4
- package/components/index-BGaxFTL4.js +299 -0
- package/{lib/index-B9h2L_hV.js → components/index-BRk42NQn.js} +1235 -1112
- package/components/index-Bjs6Yqet.cjs +185 -0
- package/components/index-Bofs4Q2E.cjs +36 -0
- package/components/index-BqTdFs1o.js +77 -0
- package/components/index-C2qG2Sm8-BQUlk-w0.js +935 -0
- package/components/index-C2qG2Sm8-CbVWlbag.cjs +95 -0
- package/components/index-CTPox3yS.cjs +54 -0
- package/components/index-C_3Ak4MQ.cjs +59 -0
- package/components/index-CayjvyyX.cjs +95 -0
- package/components/index-CkDDDzuJ.js +744 -0
- package/{lib/progress-circle/index.js → components/index-Cp-lHUlX.js} +53 -20
- package/components/index-CtHO6VyI.cjs +42 -0
- package/components/index-D4x-O9Uc.cjs +192 -0
- package/components/index-D9vzXhtJ.cjs +95 -0
- package/components/index-DQiQXn8N.cjs +36 -0
- package/{lib/picker/index.js → components/index-DVaeDCbe.js} +22 -6
- package/components/index-DskAouD-.js +317 -0
- package/{lib/index-CBCm4_7S.js → components/index-DszPbTTD.js} +401 -460
- package/{lib/index-Bd4cKS9O.js → components/index-EQldC-LR.js} +67 -47
- package/components/index-ON4x-yZ7.cjs +36 -0
- package/components/index-gfU9TGd5.cjs +57 -0
- package/components/index-liTHhAef.cjs +36 -0
- package/components/index.cjs +20 -0
- package/components/index.js +74 -0
- package/components/language-resolution-8yZa5r_P-CTSmbE1U.js +161 -0
- package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +52 -0
- package/components/localize-B6AsX_Zv.js +52 -0
- package/components/localize-DbobqcKs.cjs +20 -0
- package/components/luzmo-icons-BrtBl3E5.cjs +31 -0
- package/{lib/index-DdtjeKYI.js → components/luzmo-icons-CZEpXpvy.js} +157 -472
- package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +221 -0
- package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +86 -0
- package/{lib/popover-Bwnkg-5-.js → components/popover-bg0EQQ8p-D4-hrhIx.js} +25 -6
- package/components/popover-bg0EQQ8p-Dha09dhV.cjs +48 -0
- package/components/property-CD3dwBJC.js +1447 -0
- package/components/property-Su1Q6aME.cjs +124 -0
- package/components/query-D5qWDopr.cjs +24 -0
- package/components/query-Ddbd72Um.js +39 -0
- package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
- package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
- package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
- package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
- package/components/sized-mixin-PyCYpyQq-B40Ek2UB.js +82 -0
- package/components/sized-mixin-PyCYpyQq-sKzDjc75.cjs +36 -0
- package/components/slot-menu/index.cjs +55 -0
- package/components/slot-menu/index.d.ts +7 -0
- package/components/slot-menu/index.js +188 -0
- package/components/slot-menu/slot-menu.d.ts +66 -0
- package/components/slot-menu-list/index.cjs +39 -0
- package/components/slot-menu-list/index.d.ts +7 -0
- package/components/slot-menu-list/index.js +351 -0
- package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
- package/components/state-B1a8XIDm.js +31 -0
- package/components/state-ByiKNRhp.cjs +24 -0
- package/components/task-BPD0PyaQ.js +120 -0
- package/components/task-HFsHfTra.cjs +24 -0
- package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +131 -0
- package/components/text-field-7ITo3Lac-DqVO04kR.js +412 -0
- package/{lib/index-D_KYpfBM.js → components/utils.cjs} +1 -5
- package/{lib/droppable-slot/index.cjs → components/utils.js} +1 -1
- package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
- package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
- package/custom-elements.json +3562 -884
- package/index.d.ts +23 -0
- package/package.json +132 -17
- package/utils/formatter/calculate-duration.d.ts +2 -0
- package/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/utils/formatter/default-local-formats.d.ts +20 -0
- package/utils/formatter/formats/cs.d.ts +20 -0
- package/utils/formatter/formats/da.d.ts +20 -0
- package/utils/formatter/formats/de.d.ts +21 -0
- package/utils/formatter/formats/en-GB.d.ts +21 -0
- package/utils/formatter/formats/en-US.d.ts +1 -0
- package/utils/formatter/formats/en.d.ts +1 -0
- package/utils/formatter/formats/es.d.ts +54 -0
- package/utils/formatter/formats/fi.d.ts +20 -0
- package/utils/formatter/formats/fr.d.ts +54 -0
- package/utils/formatter/formats/he.d.ts +20 -0
- package/utils/formatter/formats/hu.d.ts +20 -0
- package/utils/formatter/formats/it.d.ts +54 -0
- package/utils/formatter/formats/ja.d.ts +20 -0
- package/utils/formatter/formats/ko.d.ts +20 -0
- package/utils/formatter/formats/mk.d.ts +20 -0
- package/utils/formatter/formats/nl.d.ts +21 -0
- package/utils/formatter/formats/no.d.ts +21 -0
- package/utils/formatter/formats/pl.d.ts +20 -0
- package/utils/formatter/formats/pt.d.ts +20 -0
- package/utils/formatter/formats/ru.d.ts +20 -0
- package/utils/formatter/formats/sv.d.ts +20 -0
- package/utils/formatter/formats/tr.d.ts +21 -0
- package/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/utils/formatter/formatter.d.ts +9 -0
- package/utils/formatter/localize.d.ts +3 -0
- package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/utils/get-css-variable.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/time/formats.const.d.ts +8 -0
- package/utils/time/periods.const.d.ts +29 -0
- package/utils/types/column.types.d.ts +56 -0
- package/utils/types/type-check.d.ts +7 -0
- package/lib/async-directive-CPjMHOPu.cjs +0 -24
- package/lib/async-directive-SCUUQ3Mh.js +0 -114
- package/lib/button-base-B4PdJFVe.cjs +0 -27
- package/lib/directive-helpers-BSB0tfc9.cjs +0 -32
- package/lib/directive-helpers-eY1rHtyn.js +0 -154
- package/lib/divider.module-BW8qaMVq.js +0 -211
- package/lib/divider.module-DEy88Ieh.cjs +0 -20
- package/lib/en-BDBzmAXX.cjs +0 -202
- package/lib/get-css-variable-D439CdH9.cjs +0 -24
- package/lib/if-defined-BbzmSG-O.js +0 -757
- package/lib/if-defined-V7yEJWI3.cjs +0 -54
- package/lib/index-0314DjEl.cjs +0 -20
- package/lib/index-BDXFsKUM.cjs +0 -146
- package/lib/index-BmAD29P2.js +0 -106
- package/lib/index-Bo1DpZ-1.cjs +0 -58
- package/lib/index-C9xEN5Ji.js +0 -82
- package/lib/index-CcF-9wyF.cjs +0 -71
- package/lib/index-CfEm5P0J.cjs +0 -196
- package/lib/index-CrWoFMZ3.cjs +0 -22
- package/lib/index-CtEJZdT0.js +0 -1627
- package/lib/index-CvX-HLY1.cjs +0 -322
- package/lib/index-D37RwuEH.js +0 -1584
- package/lib/index-D5puKlcm.cjs +0 -96
- package/lib/index-DGz6jCKo.cjs +0 -26
- package/lib/index-DSbgZduE.js +0 -501
- package/lib/index-Dj7PF4Q9.cjs +0 -63
- package/lib/index-Dq3HAOaM.js +0 -127
- package/lib/index-jt6FL_uE.cjs +0 -20
- package/lib/index-kJR406YZ.cjs +0 -112
- package/lib/index-v8ZTprPO.cjs +0 -51
- package/lib/index.cjs +0 -875
- package/lib/index.js +0 -6411
- package/lib/observe-slot-text-DOYmGOZe.js +0 -181
- package/lib/observe-slot-text-oJ0a2KY9.cjs +0 -42
- package/lib/picker/index.cjs +0 -20
- package/lib/popover-CQGN8nbX.cjs +0 -32
- package/lib/progress-circle/index.cjs +0 -35
- /package/{lib → components}/area-chart-slots.config-BLxiYX05.cjs +0 -0
- /package/{lib → components}/area-chart-slots.config-C0c2ZzBh.js +0 -0
- /package/{lib → components}/bar-chart-slots.config-GSSL7XVA.js +0 -0
- /package/{lib → components}/bar-chart-slots.config-Jx1PveTM.cjs +0 -0
- /package/{lib → components}/bar-chart.config-B57geUzJ.cjs +0 -0
- /package/{lib → components}/bar-chart.config-CQ6HAvs2.js +0 -0
- /package/{lib → components}/bar-chart.en-BqYbiHO3.cjs +0 -0
- /package/{lib → components}/bar-chart.en-FwT00qdU.js +0 -0
- /package/{lib → components}/bar-chart.fr-DGx9smEh.cjs +0 -0
- /package/{lib → components}/bar-chart.fr-DbxKiM0j.js +0 -0
- /package/{lib → components}/bar-chart.nl-BYzVExsz.cjs +0 -0
- /package/{lib → components}/bar-chart.nl-ahX1ARpH.js +0 -0
- /package/{lib → components}/column-chart.config-B57geUzJ.cjs +0 -0
- /package/{lib → components}/column-chart.config-C9hP0kX7.js +0 -0
- /package/{lib → components}/cs-DVZ0Tapy.js +0 -0
- /package/{lib → components}/cs-I9E81keK.cjs +0 -0
- /package/{lib → components}/da-DHy05oSR.js +0 -0
- /package/{lib → components}/da-QkdvupDg.cjs +0 -0
- /package/{lib → components}/de-Dn5mUzha.cjs +0 -0
- /package/{lib → components}/de-iM39JlAt.js +0 -0
- /package/{lib → components}/decompose-numeric-format-B3rVVHpO.cjs +0 -0
- /package/{lib → components}/decompose-numeric-format-BuZcjH2k.js +0 -0
- /package/{lib → components}/donut-chart-slots.config-BEwhfq27.js +0 -0
- /package/{lib → components}/donut-chart-slots.config-DIp-24lO.cjs +0 -0
- /package/{lib → components}/donut-chart.config-3DhKiSSM.js +0 -0
- /package/{lib → components}/donut-chart.config-DLWJUlHx.cjs +0 -0
- /package/{lib → components}/donut-chart.en-Blb9oSdU.cjs +0 -0
- /package/{lib → components}/donut-chart.en-CzjT4-XN.js +0 -0
- /package/{lib → components}/donut-chart.fr-BeTVa2wh.cjs +0 -0
- /package/{lib → components}/donut-chart.fr-DftPrKbG.js +0 -0
- /package/{lib → components}/donut-chart.nl-D9YGbOce.cjs +0 -0
- /package/{lib → components}/donut-chart.nl-NMatXfhK.js +0 -0
- /package/{lib → components}/es-CwyPlN5d.cjs +0 -0
- /package/{lib → components}/es-KhTq4jX8.js +0 -0
- /package/{lib → components}/fi-Dh_ebgpe.js +0 -0
- /package/{lib → components}/fi-rijeZE5V.cjs +0 -0
- /package/{lib → components}/fr-BcgE-6S_.cjs +0 -0
- /package/{lib → components}/fr-CU727YF1.js +0 -0
- /package/{lib → components}/he-Au3xg6lR.js +0 -0
- /package/{lib → components}/he-O6Ih8Bqh.cjs +0 -0
- /package/{lib → components}/hu-BnZ8y3xQ.cjs +0 -0
- /package/{lib → components}/hu-DNJ-P_MW.js +0 -0
- /package/{lib → components}/imageobject.config-B7ld9bj3.cjs +0 -0
- /package/{lib → components}/imageobject.config-DZLp9Elq.js +0 -0
- /package/{lib → components}/it-Bh5U73z6.js +0 -0
- /package/{lib → components}/it-PshtLMkq.cjs +0 -0
- /package/{lib → components}/ja-CCcHUL61.js +0 -0
- /package/{lib → components}/ja-KIS2HdaG.cjs +0 -0
- /package/{lib → components}/ko--l4qmjLV.cjs +0 -0
- /package/{lib → components}/ko-DhapsZMM.js +0 -0
- /package/{lib → components}/line-chart.config-BZcvfO2c.cjs +0 -0
- /package/{lib → components}/line-chart.config-CIVN6uLI.js +0 -0
- /package/{lib → components}/mk-B9HPSuKa.js +0 -0
- /package/{lib → components}/mk-DZlj-edb.cjs +0 -0
- /package/{lib → components}/nl-BKlDqOXb.cjs +0 -0
- /package/{lib → components}/nl-BwSt5Bf4.js +0 -0
- /package/{lib → components}/no-D-DofYnx.js +0 -0
- /package/{lib → components}/no-D_SzxhTu.cjs +0 -0
- /package/{lib → components}/pl-D_L_0Boq.js +0 -0
- /package/{lib → components}/pl-PIK23rK_.cjs +0 -0
- /package/{lib → components}/pt-B0BBS5VB.js +0 -0
- /package/{lib → components}/pt-Dqlu4MS5.cjs +0 -0
- /package/{lib → components}/ru-Vo-m3O_2.js +0 -0
- /package/{lib → components}/ru-zyNDTB04.cjs +0 -0
- /package/{lib → components}/sv-1DPTltNQ.cjs +0 -0
- /package/{lib → components}/sv-CiozMaev.js +0 -0
- /package/{lib → components}/textobject.config-C8opcGG4.js +0 -0
- /package/{lib → components}/textobject.config-DbAajFz8.cjs +0 -0
- /package/{lib → components}/tr-BkmWvOG2.cjs +0 -0
- /package/{lib → components}/tr-D_D4i5iv.js +0 -0
- /package/{lib → components}/zh-CN-DTZ4OmdP.cjs +0 -0
- /package/{lib → components}/zh-CN-wsl7eFSd.js +0 -0
- /package/{lib → components}/zh-TW-DTZ4OmdP.cjs +0 -0
- /package/{lib → components}/zh-TW-wsl7eFSd.js +0 -0
@@ -0,0 +1,351 @@
|
|
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 { I as P, r as F, x as w, n as x } from "../property-CD3dwBJC.js";
|
21
|
+
import { _ as S, a as D, d as j, s as $, g as E } from "../get-css-variable-Bhbr-Kr1.js";
|
22
|
+
import { O as L, v as A } from "../luzmo-icons-CZEpXpvy.js";
|
23
|
+
import { m as M, d as R } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
|
24
|
+
import { l as q } from "../localize-B6AsX_Zv.js";
|
25
|
+
import { e as T } from "../base-D76d76ww.js";
|
26
|
+
const _ = () => {
|
27
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
28
|
+
const l = document.createElement("style");
|
29
|
+
l.setAttribute("data-luzmo-vars", ""), l.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(l);
|
30
|
+
}
|
31
|
+
};
|
32
|
+
_();
|
33
|
+
/**
|
34
|
+
* @license
|
35
|
+
* Copyright 2017 Google LLC
|
36
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
37
|
+
*/
|
38
|
+
let U;
|
39
|
+
function B(l) {
|
40
|
+
return (o, t) => T(o, t, { get() {
|
41
|
+
return (this.renderRoot ?? U ?? (U = document.createDocumentFragment())).querySelectorAll(l);
|
42
|
+
} });
|
43
|
+
}
|
44
|
+
var N = {
|
45
|
+
large: 700
|
46
|
+
};
|
47
|
+
function V(l) {
|
48
|
+
l.animate([{
|
49
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FF)"
|
50
|
+
}, {}], {
|
51
|
+
duration: N.large,
|
52
|
+
/**
|
53
|
+
* This is equivalent to the browser default, but we are making it
|
54
|
+
* explicit to avoid relying on implicit behavior.
|
55
|
+
*
|
56
|
+
* This curve is not part of `@atlaskit/motion` but it was an intentional
|
57
|
+
* design decision to use this curve.
|
58
|
+
*/
|
59
|
+
easing: "cubic-bezier(0.25, 0.1, 0.25, 1.0)",
|
60
|
+
iterations: 1
|
61
|
+
});
|
62
|
+
}
|
63
|
+
function k(l, o) {
|
64
|
+
var t = Object.keys(l);
|
65
|
+
if (Object.getOwnPropertySymbols) {
|
66
|
+
var e = Object.getOwnPropertySymbols(l);
|
67
|
+
o && (e = e.filter(function(s) {
|
68
|
+
return Object.getOwnPropertyDescriptor(l, s).enumerable;
|
69
|
+
})), t.push.apply(t, e);
|
70
|
+
}
|
71
|
+
return t;
|
72
|
+
}
|
73
|
+
function C(l) {
|
74
|
+
for (var o = 1; o < arguments.length; o++) {
|
75
|
+
var t = arguments[o] != null ? arguments[o] : {};
|
76
|
+
o % 2 ? k(Object(t), !0).forEach(function(e) {
|
77
|
+
S(l, e, t[e]);
|
78
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(l, Object.getOwnPropertyDescriptors(t)) : k(Object(t)).forEach(function(e) {
|
79
|
+
Object.defineProperty(l, e, Object.getOwnPropertyDescriptor(t, e));
|
80
|
+
});
|
81
|
+
}
|
82
|
+
return l;
|
83
|
+
}
|
84
|
+
var G = {
|
85
|
+
top: function(o, t) {
|
86
|
+
return Math.abs(t.y - o.top);
|
87
|
+
},
|
88
|
+
right: function(o, t) {
|
89
|
+
return Math.abs(o.right - t.x);
|
90
|
+
},
|
91
|
+
bottom: function(o, t) {
|
92
|
+
return Math.abs(o.bottom - t.y);
|
93
|
+
},
|
94
|
+
left: function(o, t) {
|
95
|
+
return Math.abs(t.x - o.left);
|
96
|
+
}
|
97
|
+
}, O = Symbol("closestEdge");
|
98
|
+
function H(l, o) {
|
99
|
+
var t, e, s = o.element, d = o.input, r = o.allowedEdges, n = {
|
100
|
+
x: d.clientX,
|
101
|
+
y: d.clientY
|
102
|
+
}, i = s.getBoundingClientRect(), a = r.map(function(c) {
|
103
|
+
return {
|
104
|
+
edge: c,
|
105
|
+
value: G[c](i, n)
|
106
|
+
};
|
107
|
+
}), u = (t = (e = a.sort(function(c, p) {
|
108
|
+
return c.value - p.value;
|
109
|
+
})[0]) === null || e === void 0 ? void 0 : e.edge) !== null && t !== void 0 ? t : null;
|
110
|
+
return C(C({}, l), {}, S({}, O, u));
|
111
|
+
}
|
112
|
+
function y(l) {
|
113
|
+
var o;
|
114
|
+
return (o = l[O]) !== null && o !== void 0 ? o : null;
|
115
|
+
}
|
116
|
+
const K = ':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';
|
117
|
+
var X = Object.defineProperty, h = (l, o, t, e) => {
|
118
|
+
for (var s = void 0, d = l.length - 1, r; d >= 0; d--)
|
119
|
+
(r = l[d]) && (s = r(o, t, s) || s);
|
120
|
+
return s && X(o, t, s), s;
|
121
|
+
};
|
122
|
+
class z extends M(P, {
|
123
|
+
validSizes: Object.values(R)
|
124
|
+
}) {
|
125
|
+
constructor() {
|
126
|
+
super(...arguments), this.language = "en", this.contentLanguage = "en", this.slotContents = [], this.activeIndex = 0, this._sendChangeEvent = () => {
|
127
|
+
this.dispatchEvent(
|
128
|
+
new CustomEvent("slot-list-changed", {
|
129
|
+
bubbles: !0,
|
130
|
+
composed: !0,
|
131
|
+
cancelable: !0,
|
132
|
+
detail: {
|
133
|
+
slotContents: structuredClone(this.slotContents),
|
134
|
+
activeIndex: this.activeIndex
|
135
|
+
}
|
136
|
+
})
|
137
|
+
);
|
138
|
+
}, this._cleanupFns = [], this._attachAll = () => {
|
139
|
+
[...this._draggableSlotContentElements].forEach((o) => {
|
140
|
+
const t = this._sendChangeEvent.bind(this), e = this, s = D({
|
141
|
+
element: o,
|
142
|
+
onGenerateDragPreview({ nativeSetDragImage: r }) {
|
143
|
+
$({
|
144
|
+
nativeSetDragImage: r,
|
145
|
+
render({ container: n }) {
|
146
|
+
var u;
|
147
|
+
const i = document.createElement("div");
|
148
|
+
i.classList.add("drag-preview");
|
149
|
+
const a = {};
|
150
|
+
[
|
151
|
+
[
|
152
|
+
"borderColor",
|
153
|
+
"--luzmo-slot-menu-list-border-color",
|
154
|
+
"--luzmo-border-color"
|
155
|
+
],
|
156
|
+
[
|
157
|
+
"backgroundColor",
|
158
|
+
"--luzmo-slot-menu-list-background-color",
|
159
|
+
"--luzmo-background-color"
|
160
|
+
],
|
161
|
+
[
|
162
|
+
"color",
|
163
|
+
"--luzmo-slot-menu-list-font-color",
|
164
|
+
"--slot-menu-list-font-color"
|
165
|
+
],
|
166
|
+
[
|
167
|
+
"fontSize",
|
168
|
+
"--luzmo-slot-menu-list-font-size",
|
169
|
+
"--slot-menu-list-font-size"
|
170
|
+
],
|
171
|
+
[
|
172
|
+
"horizontalPadding",
|
173
|
+
"--luzmo-slot-menu-list-item-horizontal-padding",
|
174
|
+
"--slot-menu-list-item-horizontal-padding"
|
175
|
+
],
|
176
|
+
[
|
177
|
+
"verticalPadding",
|
178
|
+
"--luzmo-slot-menu-list-item-vertical-padding",
|
179
|
+
"--slot-menu-list-item-vertical-padding"
|
180
|
+
],
|
181
|
+
[
|
182
|
+
"borderRadius",
|
183
|
+
"--luzmo-slot-menu-list-border-radius",
|
184
|
+
"--luzmo-border-radius"
|
185
|
+
],
|
186
|
+
[
|
187
|
+
"fontFamily",
|
188
|
+
"--luzmo-slot-menu-list-font-family",
|
189
|
+
"--luzmo-font-family"
|
190
|
+
]
|
191
|
+
].forEach(([c, p, b]) => {
|
192
|
+
const m = E(o, p) || E(o, b);
|
193
|
+
a[c] = m;
|
194
|
+
}), i.textContent = ((u = o.querySelector("[data-task-content]")) == null ? void 0 : u.textContent) ?? // worst case fallback if we set up our data-* up wrong
|
195
|
+
o.textContent, Object.assign(i.style, {
|
196
|
+
border: `1px solid ${a.borderColor}`,
|
197
|
+
backgroundColor: a.backgroundColor,
|
198
|
+
borderRadius: a.borderRadius,
|
199
|
+
fontFamily: a.fontFamily,
|
200
|
+
fontSize: a.fontSize,
|
201
|
+
color: a.color,
|
202
|
+
paddingInline: `${a.horizontalPadding}`,
|
203
|
+
paddingBlock: `${a.verticalPadding}`
|
204
|
+
}), n.append(i);
|
205
|
+
}
|
206
|
+
});
|
207
|
+
},
|
208
|
+
getInitialData() {
|
209
|
+
var i;
|
210
|
+
const r = o.parentElement;
|
211
|
+
let n = 0;
|
212
|
+
return r && (n = [...((i = r.parentElement) == null ? void 0 : i.children) ?? []].indexOf(
|
213
|
+
r
|
214
|
+
)), {
|
215
|
+
index: n
|
216
|
+
};
|
217
|
+
},
|
218
|
+
onDragStart() {
|
219
|
+
o.style.opacity = "0.5";
|
220
|
+
},
|
221
|
+
onDrop() {
|
222
|
+
o.style.opacity = "1";
|
223
|
+
}
|
224
|
+
});
|
225
|
+
this._cleanupFns.push(s);
|
226
|
+
const d = j({
|
227
|
+
element: o,
|
228
|
+
canDrop({ source: r }) {
|
229
|
+
var n;
|
230
|
+
return r.element === o ? !1 : (n = r == null ? void 0 : r.element) == null ? void 0 : n.classList.contains("draggable-slot-content");
|
231
|
+
},
|
232
|
+
getData(r) {
|
233
|
+
return H(
|
234
|
+
{},
|
235
|
+
{
|
236
|
+
element: o,
|
237
|
+
input: r.input,
|
238
|
+
allowedEdges: ["top", "bottom"]
|
239
|
+
}
|
240
|
+
);
|
241
|
+
},
|
242
|
+
getIsSticky() {
|
243
|
+
return !0;
|
244
|
+
},
|
245
|
+
onDragEnter({ self: r }) {
|
246
|
+
const n = y(r.data);
|
247
|
+
if (!n)
|
248
|
+
return;
|
249
|
+
const i = document.createElement("div");
|
250
|
+
i.classList.add("drop-indicator"), i.dataset.edge = n, o.after(i);
|
251
|
+
},
|
252
|
+
onDrag({ self: r }) {
|
253
|
+
var a, u, c;
|
254
|
+
const n = y(r.data);
|
255
|
+
if (!n) {
|
256
|
+
(a = o.nextElementSibling) == null || a.remove();
|
257
|
+
return;
|
258
|
+
}
|
259
|
+
if (((u = o.nextElementSibling) == null ? void 0 : u.getAttribute("data-edge")) === n)
|
260
|
+
return;
|
261
|
+
(c = o.nextElementSibling) == null || c.remove();
|
262
|
+
const i = document.createElement("div");
|
263
|
+
i.classList.add("drop-indicator"), i.dataset.edge = n, o.after(i);
|
264
|
+
},
|
265
|
+
onDragLeave() {
|
266
|
+
var r;
|
267
|
+
(r = o.nextElementSibling) == null || r.remove();
|
268
|
+
},
|
269
|
+
onDrop({ self: r, source: n }) {
|
270
|
+
var u, c, p, b;
|
271
|
+
(u = o.nextElementSibling) == null || u.remove();
|
272
|
+
const i = y(r.data), a = r.element.parentElement;
|
273
|
+
if (typeof n.data.index == "number" && a) {
|
274
|
+
let m = [...((c = a.parentElement) == null ? void 0 : c.children) ?? []].indexOf(
|
275
|
+
a
|
276
|
+
);
|
277
|
+
i === "bottom" && n.data.index >= m && m < (((b = (p = a == null ? void 0 : a.parentElement) == null ? void 0 : p.children) == null ? void 0 : b.length) ?? 0) - 1 ? m += 1 : i === "top" && m > n.data.index && (m -= 1);
|
278
|
+
const g = e.activeIndex, v = n.data.index, f = m, I = e.slotContents[v];
|
279
|
+
e.slotContents.splice(v, 1), e.slotContents.splice(f, 0, I), v === g ? e.activeIndex = f : v < g && f >= g ? e.activeIndex = g - 1 : v > g && f <= g && (e.activeIndex = g + 1);
|
280
|
+
}
|
281
|
+
i && (V(n.element), e.requestUpdate(), t());
|
282
|
+
}
|
283
|
+
});
|
284
|
+
this._cleanupFns.push(d);
|
285
|
+
});
|
286
|
+
}, this._detachAll = () => {
|
287
|
+
this._cleanupFns.forEach((o) => o()), this._cleanupFns = [];
|
288
|
+
};
|
289
|
+
}
|
290
|
+
static get styles() {
|
291
|
+
return [F(K)];
|
292
|
+
}
|
293
|
+
willUpdate() {
|
294
|
+
this._detachAll();
|
295
|
+
}
|
296
|
+
updated() {
|
297
|
+
this._attachAll();
|
298
|
+
}
|
299
|
+
setActiveIndex(o) {
|
300
|
+
this.activeIndex = o, this._sendChangeEvent();
|
301
|
+
}
|
302
|
+
removeSlotContent(o) {
|
303
|
+
this.slotContents = this.slotContents.filter(
|
304
|
+
(t, e) => e !== o
|
305
|
+
), this.activeIndex === o ? this.activeIndex = o : this.slotContents.length > 0 && // go one down if index < activeIndex
|
306
|
+
this.activeIndex > o && this.activeIndex--, this._sendChangeEvent();
|
307
|
+
}
|
308
|
+
render() {
|
309
|
+
const o = this.slotContents.map(
|
310
|
+
(t, e) => {
|
311
|
+
const s = q(t.label, this.contentLanguage);
|
312
|
+
return w`<li class=${e === this.activeIndex ? "active" : ""}>
|
313
|
+
<div class="draggable-slot-content">
|
314
|
+
<div
|
315
|
+
class="draggable-slot-content-label"
|
316
|
+
@click=${this.setActiveIndex.bind(this, e)}
|
317
|
+
>
|
318
|
+
${s}
|
319
|
+
</div>
|
320
|
+
<div
|
321
|
+
class="draggable-slot-content-remove"
|
322
|
+
@click=${this.removeSlotContent.bind(this, e)}
|
323
|
+
>
|
324
|
+
${L(A)}
|
325
|
+
</div>
|
326
|
+
</div>
|
327
|
+
</li>`;
|
328
|
+
}
|
329
|
+
);
|
330
|
+
return w`<div>${o}</div>`;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
h([
|
334
|
+
x({ type: String, reflect: !0 })
|
335
|
+
], z.prototype, "language");
|
336
|
+
h([
|
337
|
+
x({ type: String, attribute: "content-language", reflect: !0 })
|
338
|
+
], z.prototype, "contentLanguage");
|
339
|
+
h([
|
340
|
+
B(".draggable-slot-content")
|
341
|
+
], z.prototype, "_draggableSlotContentElements");
|
342
|
+
h([
|
343
|
+
x()
|
344
|
+
], z.prototype, "slotContents");
|
345
|
+
h([
|
346
|
+
x({ type: Number })
|
347
|
+
], z.prototype, "activeIndex");
|
348
|
+
customElements.get("luzmo-slot-menu-list") || customElements.define("luzmo-slot-menu-list", z);
|
349
|
+
export {
|
350
|
+
z as LuzmoSlotMenuList
|
351
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
2
|
+
import { LuzmoElement } from '@luzmo/lucero/utils';
|
3
|
+
declare const LuzmoSlotMenuList_base: typeof LuzmoElement & {
|
4
|
+
new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
|
5
|
+
prototype: import("@luzmo/lucero").SizedElementInterface;
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* @element luzmo-slot-menu-list
|
9
|
+
*/
|
10
|
+
export declare class LuzmoSlotMenuList extends LuzmoSlotMenuList_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
|
+
_draggableSlotContentElements: HTMLElement[];
|
21
|
+
slotContents: any;
|
22
|
+
activeIndex: number;
|
23
|
+
private _sendChangeEvent;
|
24
|
+
private _cleanupFns;
|
25
|
+
private _attachAll;
|
26
|
+
private _detachAll;
|
27
|
+
protected willUpdate(): void;
|
28
|
+
protected updated(): void;
|
29
|
+
setActiveIndex(index: number): void;
|
30
|
+
removeSlotContent(index: number): void;
|
31
|
+
protected render(): TemplateResult;
|
32
|
+
}
|
33
|
+
export {};
|
@@ -0,0 +1,31 @@
|
|
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 r } from "./property-CD3dwBJC.js";
|
21
|
+
/**
|
22
|
+
* @license
|
23
|
+
* Copyright 2017 Google LLC
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
25
|
+
*/
|
26
|
+
function n(t) {
|
27
|
+
return r({ ...t, state: !0, attribute: !1 });
|
28
|
+
}
|
29
|
+
export {
|
30
|
+
n as r
|
31
|
+
};
|
@@ -0,0 +1,24 @@
|
|
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 r=require("./property-Su1Q6aME.cjs");/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2017 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/function e(t){return r.n({...t,state:!0,attribute:!1})}exports.r=e;
|
@@ -0,0 +1,120 @@
|
|
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 { f as d } from "./property-CD3dwBJC.js";
|
21
|
+
/**
|
22
|
+
* @license
|
23
|
+
* Copyright 2017 Google LLC
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
25
|
+
*/
|
26
|
+
const p = Symbol();
|
27
|
+
class m {
|
28
|
+
get taskComplete() {
|
29
|
+
return this.t || (this.i === 1 ? this.t = new Promise((t, i) => {
|
30
|
+
this.o = t, this.h = i;
|
31
|
+
}) : this.i === 3 ? this.t = Promise.reject(this.l) : this.t = Promise.resolve(this.u)), this.t;
|
32
|
+
}
|
33
|
+
constructor(t, i, r) {
|
34
|
+
var h;
|
35
|
+
this.p = 0, this.i = 0, (this._ = t).addController(this);
|
36
|
+
const s = typeof i == "object" ? i : { task: i, args: r };
|
37
|
+
this.v = s.task, this.j = s.args, this.m = s.argsEqual ?? f, this.k = s.onComplete, this.A = s.onError, this.autoRun = s.autoRun ?? !0, "initialValue" in s && (this.u = s.initialValue, this.i = 2, this.O = (h = this.T) == null ? void 0 : h.call(this));
|
38
|
+
}
|
39
|
+
hostUpdate() {
|
40
|
+
this.autoRun === !0 && this.S();
|
41
|
+
}
|
42
|
+
hostUpdated() {
|
43
|
+
this.autoRun === "afterUpdate" && this.S();
|
44
|
+
}
|
45
|
+
T() {
|
46
|
+
if (this.j === void 0) return;
|
47
|
+
const t = this.j();
|
48
|
+
if (!Array.isArray(t)) throw Error("The args function must return an array");
|
49
|
+
return t;
|
50
|
+
}
|
51
|
+
async S() {
|
52
|
+
const t = this.T(), i = this.O;
|
53
|
+
this.O = t, t === i || t === void 0 || i !== void 0 && this.m(i, t) || await this.run(t);
|
54
|
+
}
|
55
|
+
async run(t) {
|
56
|
+
var a, o, n, u, l;
|
57
|
+
let i, r;
|
58
|
+
t ?? (t = this.T()), this.O = t, this.i === 1 ? (a = this.q) == null || a.abort() : (this.t = void 0, this.o = void 0, this.h = void 0), this.i = 1, this.autoRun === "afterUpdate" ? queueMicrotask(() => this._.requestUpdate()) : this._.requestUpdate();
|
59
|
+
const s = ++this.p;
|
60
|
+
this.q = new AbortController();
|
61
|
+
let h = !1;
|
62
|
+
try {
|
63
|
+
i = await this.v(t, { signal: this.q.signal });
|
64
|
+
} catch (c) {
|
65
|
+
h = !0, r = c;
|
66
|
+
}
|
67
|
+
if (this.p === s) {
|
68
|
+
if (i === p) this.i = 0;
|
69
|
+
else {
|
70
|
+
if (h === !1) {
|
71
|
+
try {
|
72
|
+
(o = this.k) == null || o.call(this, i);
|
73
|
+
} catch {
|
74
|
+
}
|
75
|
+
this.i = 2, (n = this.o) == null || n.call(this, i);
|
76
|
+
} else {
|
77
|
+
try {
|
78
|
+
(u = this.A) == null || u.call(this, r);
|
79
|
+
} catch {
|
80
|
+
}
|
81
|
+
this.i = 3, (l = this.h) == null || l.call(this, r);
|
82
|
+
}
|
83
|
+
this.u = i, this.l = r;
|
84
|
+
}
|
85
|
+
this._.requestUpdate();
|
86
|
+
}
|
87
|
+
}
|
88
|
+
abort(t) {
|
89
|
+
var i;
|
90
|
+
this.i === 1 && ((i = this.q) == null || i.abort(t));
|
91
|
+
}
|
92
|
+
get value() {
|
93
|
+
return this.u;
|
94
|
+
}
|
95
|
+
get error() {
|
96
|
+
return this.l;
|
97
|
+
}
|
98
|
+
get status() {
|
99
|
+
return this.i;
|
100
|
+
}
|
101
|
+
render(t) {
|
102
|
+
var i, r, s, h;
|
103
|
+
switch (this.i) {
|
104
|
+
case 0:
|
105
|
+
return (i = t.initial) == null ? void 0 : i.call(t);
|
106
|
+
case 1:
|
107
|
+
return (r = t.pending) == null ? void 0 : r.call(t);
|
108
|
+
case 2:
|
109
|
+
return (s = t.complete) == null ? void 0 : s.call(t, this.value);
|
110
|
+
case 3:
|
111
|
+
return (h = t.error) == null ? void 0 : h.call(t, this.error);
|
112
|
+
default:
|
113
|
+
throw Error("Unexpected status: " + this.i);
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
const f = (e, t) => e === t || e.length === t.length && e.every((i, r) => !d(i, t[r]));
|
118
|
+
export {
|
119
|
+
m as h
|
120
|
+
};
|
@@ -0,0 +1,24 @@
|
|
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 d=require("./property-Su1Q6aME.cjs");/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2017 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/const p=Symbol();class f{get taskComplete(){return this.t||(this.i===1?this.t=new Promise((t,i)=>{this.o=t,this.h=i}):this.i===3?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,i,r){var e;this.p=0,this.i=0,(this._=t).addController(this);const s=typeof i=="object"?i:{task:i,args:r};this.v=s.task,this.j=s.args,this.m=s.argsEqual??g,this.k=s.onComplete,this.A=s.onError,this.autoRun=s.autoRun??!0,"initialValue"in s&&(this.u=s.initialValue,this.i=2,this.O=(e=this.T)==null?void 0:e.call(this))}hostUpdate(){this.autoRun===!0&&this.S()}hostUpdated(){this.autoRun==="afterUpdate"&&this.S()}T(){if(this.j===void 0)return;const t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){const t=this.T(),i=this.O;this.O=t,t===i||t===void 0||i!==void 0&&this.m(i,t)||await this.run(t)}async run(t){var a,o,n,u,l;let i,r;t??(t=this.T()),this.O=t,this.i===1?(a=this.q)==null||a.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,this.autoRun==="afterUpdate"?queueMicrotask(()=>this._.requestUpdate()):this._.requestUpdate();const s=++this.p;this.q=new AbortController;let e=!1;try{i=await this.v(t,{signal:this.q.signal})}catch(c){e=!0,r=c}if(this.p===s){if(i===p)this.i=0;else{if(e===!1){try{(o=this.k)==null||o.call(this,i)}catch{}this.i=2,(n=this.o)==null||n.call(this,i)}else{try{(u=this.A)==null||u.call(this,r)}catch{}this.i=3,(l=this.h)==null||l.call(this,r)}this.u=i,this.l=r}this._.requestUpdate()}}abort(t){var i;this.i===1&&((i=this.q)==null||i.abort(t))}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){var i,r,s,e;switch(this.i){case 0:return(i=t.initial)==null?void 0:i.call(t);case 1:return(r=t.pending)==null?void 0:r.call(t);case 2:return(s=t.complete)==null?void 0:s.call(t,this.value);case 3:return(e=t.error)==null?void 0:e.call(t,this.error);default:throw Error("Unexpected status: "+this.i)}}}const g=(h,t)=>h===t||h.length===t.length&&h.every((i,r)=>!d.f(i,t[r]));exports.h=f;
|