@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
@@ -1,181 +0,0 @@
|
|
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 { b as x, n as d, o as l, x as g } from "./if-defined-BbzmSG-O.js";
|
21
|
-
/**
|
22
|
-
* @license
|
23
|
-
* Copyright 2017 Google LLC
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
25
|
-
*/
|
26
|
-
function y(n) {
|
27
|
-
return (t, r) => {
|
28
|
-
const { slot: a } = n ?? {}, e = "slot" + (a ? `[name=${a}]` : ":not([name])");
|
29
|
-
return x(t, r, { get() {
|
30
|
-
var o;
|
31
|
-
const s = (o = this.renderRoot) == null ? void 0 : o.querySelector(e);
|
32
|
-
return (s == null ? void 0 : s.assignedNodes(n)) ?? [];
|
33
|
-
} });
|
34
|
-
};
|
35
|
-
}
|
36
|
-
/**
|
37
|
-
* @license
|
38
|
-
* Copyright 2021 Google LLC
|
39
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
40
|
-
*/
|
41
|
-
class C {
|
42
|
-
constructor(t, { target: r, config: a, callback: e, skipInitial: s }) {
|
43
|
-
this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, r !== null && this.t.add(r ?? t), this.l = a, this.o = s ?? this.o, this.callback = e, window.MutationObserver ? (this.u = new MutationObserver((o) => {
|
44
|
-
this.handleChanges(o), this.h.requestUpdate();
|
45
|
-
}), t.addController(this)) : console.warn("MutationController error: browser does not support MutationObserver.");
|
46
|
-
}
|
47
|
-
handleChanges(t) {
|
48
|
-
var r;
|
49
|
-
this.value = (r = this.callback) == null ? void 0 : r.call(this, t, this.u);
|
50
|
-
}
|
51
|
-
hostConnected() {
|
52
|
-
for (const t of this.t) this.observe(t);
|
53
|
-
}
|
54
|
-
hostDisconnected() {
|
55
|
-
this.disconnect();
|
56
|
-
}
|
57
|
-
async hostUpdated() {
|
58
|
-
const t = this.u.takeRecords();
|
59
|
-
(t.length || !this.o && this.i) && this.handleChanges(t), this.i = !1;
|
60
|
-
}
|
61
|
-
observe(t) {
|
62
|
-
this.t.add(t), this.u.observe(t, this.l), this.i = !0, this.h.requestUpdate();
|
63
|
-
}
|
64
|
-
disconnect() {
|
65
|
-
this.u.disconnect();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
var $ = Object.defineProperty, u = (n, t, r, a) => {
|
69
|
-
for (var e = void 0, s = n.length - 1, o; s >= 0; s--)
|
70
|
-
(o = n[s]) && (e = o(t, r, e) || e);
|
71
|
-
return e && $(t, r, e), e;
|
72
|
-
};
|
73
|
-
function k(n) {
|
74
|
-
class t extends n {
|
75
|
-
renderAnchor({
|
76
|
-
id: a,
|
77
|
-
className: e,
|
78
|
-
ariaHidden: s,
|
79
|
-
labelledby: o,
|
80
|
-
tabindex: p,
|
81
|
-
// prettier-ignore
|
82
|
-
anchorContent: i = g`<slot></slot>`
|
83
|
-
}) {
|
84
|
-
return g`
|
85
|
-
<a
|
86
|
-
id=${a}
|
87
|
-
class=${l(e)}
|
88
|
-
href=${l(this.href)}
|
89
|
-
download=${l(this.download)}
|
90
|
-
target=${l(this.target)}
|
91
|
-
aria-label=${l(this.label)}
|
92
|
-
aria-labelledby=${l(o)}
|
93
|
-
aria-hidden=${l(s ? "true" : void 0)}
|
94
|
-
tabindex=${l(p)}
|
95
|
-
referrerpolicy=${l(this.referrerpolicy)}
|
96
|
-
rel=${l(this.rel)}
|
97
|
-
>${i}</a>
|
98
|
-
`;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
return u([
|
102
|
-
d()
|
103
|
-
], t.prototype, "download"), u([
|
104
|
-
d()
|
105
|
-
], t.prototype, "label"), u([
|
106
|
-
d()
|
107
|
-
], t.prototype, "href"), u([
|
108
|
-
d()
|
109
|
-
], t.prototype, "target"), u([
|
110
|
-
d()
|
111
|
-
], t.prototype, "referrerpolicy"), u([
|
112
|
-
d()
|
113
|
-
], t.prototype, "rel"), t;
|
114
|
-
}
|
115
|
-
var O = Object.defineProperty, v = (n, t, r, a) => {
|
116
|
-
for (var e = void 0, s = n.length - 1, o; s >= 0; s--)
|
117
|
-
(o = n[s]) && (e = o(t, r, e) || e);
|
118
|
-
return e && O(t, r, e), e;
|
119
|
-
};
|
120
|
-
const b = Symbol("assignedNodes");
|
121
|
-
function S(n, t, r = []) {
|
122
|
-
var a, e;
|
123
|
-
const s = (p) => (i) => p.matches(i);
|
124
|
-
class o extends (e = n, a = b, e) {
|
125
|
-
constructor(...i) {
|
126
|
-
super(i), this.slotHasContent = !1, new C(this, {
|
127
|
-
config: {
|
128
|
-
characterData: !0,
|
129
|
-
subtree: !0
|
130
|
-
},
|
131
|
-
callback: (f) => {
|
132
|
-
for (const h of f)
|
133
|
-
if (h.type === "characterData") {
|
134
|
-
this.manageTextObservedSlot();
|
135
|
-
return;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
});
|
139
|
-
}
|
140
|
-
manageTextObservedSlot() {
|
141
|
-
if (!this[b])
|
142
|
-
return;
|
143
|
-
const i = [...this[b]].filter(
|
144
|
-
(f) => {
|
145
|
-
const h = f;
|
146
|
-
return h.tagName ? !r.some(s(h)) : h.textContent ? h.textContent.trim() : !1;
|
147
|
-
}
|
148
|
-
);
|
149
|
-
this.slotHasContent = i.length > 0;
|
150
|
-
}
|
151
|
-
update(i) {
|
152
|
-
if (!this.hasUpdated) {
|
153
|
-
const { childNodes: f } = this, h = [...f].filter((m) => {
|
154
|
-
const c = m;
|
155
|
-
return c.tagName ? r.some(s(c)) ? !1 : t ? c.getAttribute("slot") === t : !c.hasAttribute("slot") : c.textContent ? c.textContent.trim() : !1;
|
156
|
-
});
|
157
|
-
this.slotHasContent = h.length > 0;
|
158
|
-
}
|
159
|
-
super.update(i);
|
160
|
-
}
|
161
|
-
firstUpdated(i) {
|
162
|
-
super.firstUpdated(i), this.updateComplete.then(() => {
|
163
|
-
this.manageTextObservedSlot();
|
164
|
-
});
|
165
|
-
}
|
166
|
-
}
|
167
|
-
return v([
|
168
|
-
d({ type: Boolean, attribute: !1 })
|
169
|
-
], o.prototype, "slotHasContent"), v([
|
170
|
-
y({
|
171
|
-
slot: t,
|
172
|
-
flatten: !0
|
173
|
-
})
|
174
|
-
], o.prototype, a), o;
|
175
|
-
}
|
176
|
-
export {
|
177
|
-
k as L,
|
178
|
-
S as O,
|
179
|
-
y as n,
|
180
|
-
C as s
|
181
|
-
};
|
@@ -1,42 +0,0 @@
|
|
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 s=require("./if-defined-V7yEJWI3.cjs");/**
|
21
|
-
* @license
|
22
|
-
* Copyright 2017 Google LLC
|
23
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
-
*/function v(i){return(t,r)=>{const{slot:a}=i??{},e="slot"+(a?`[name=${a}]`:":not([name])");return s.e$1(t,r,{get(){var n;const o=(n=this.renderRoot)==null?void 0:n.querySelector(e);return(o==null?void 0:o.assignedNodes(i))??[]}})}}/**
|
25
|
-
* @license
|
26
|
-
* Copyright 2021 Google LLC
|
27
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
28
|
-
*/class g{constructor(t,{target:r,config:a,callback:e,skipInitial:o}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,r!==null&&this.t.add(r??t),this.l=a,this.o=o??this.o,this.callback=e,window.MutationObserver?(this.u=new MutationObserver(n=>{this.handleChanges(n),this.h.requestUpdate()}),t.addController(this)):console.warn("MutationController error: browser does not support MutationObserver.")}handleChanges(t){var r;this.value=(r=this.callback)==null?void 0:r.call(this,t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();(t.length||!this.o&&this.i)&&this.handleChanges(t),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}disconnect(){this.u.disconnect()}}var y=Object.defineProperty,c=(i,t,r,a)=>{for(var e=void 0,o=i.length-1,n;o>=0;o--)(n=i[o])&&(e=n(t,r,e)||e);return e&&y(t,r,e),e};function C(i){class t extends i{renderAnchor({id:a,className:e,ariaHidden:o,labelledby:n,tabindex:f,anchorContent:l=s.x`<slot></slot>`}){return s.x`
|
29
|
-
<a
|
30
|
-
id=${a}
|
31
|
-
class=${s.o(e)}
|
32
|
-
href=${s.o(this.href)}
|
33
|
-
download=${s.o(this.download)}
|
34
|
-
target=${s.o(this.target)}
|
35
|
-
aria-label=${s.o(this.label)}
|
36
|
-
aria-labelledby=${s.o(n)}
|
37
|
-
aria-hidden=${s.o(o?"true":void 0)}
|
38
|
-
tabindex=${s.o(f)}
|
39
|
-
referrerpolicy=${s.o(this.referrerpolicy)}
|
40
|
-
rel=${s.o(this.rel)}
|
41
|
-
>${l}</a>
|
42
|
-
`}}return c([s.n()],t.prototype,"download"),c([s.n()],t.prototype,"label"),c([s.n()],t.prototype,"href"),c([s.n()],t.prototype,"target"),c([s.n()],t.prototype,"referrerpolicy"),c([s.n()],t.prototype,"rel"),t}var $=Object.defineProperty,b=(i,t,r,a)=>{for(var e=void 0,o=i.length-1,n;o>=0;o--)(n=i[o])&&(e=n(t,r,e)||e);return e&&$(t,r,e),e};const p=Symbol("assignedNodes");function m(i,t,r=[]){var a,e;const o=f=>l=>f.matches(l);class n extends(e=i,a=p,e){constructor(...l){super(l),this.slotHasContent=!1,new g(this,{config:{characterData:!0,subtree:!0},callback:u=>{for(const h of u)if(h.type==="characterData"){this.manageTextObservedSlot();return}}})}manageTextObservedSlot(){if(!this[p])return;const l=[...this[p]].filter(u=>{const h=u;return h.tagName?!r.some(o(h)):h.textContent?h.textContent.trim():!1});this.slotHasContent=l.length>0}update(l){if(!this.hasUpdated){const{childNodes:u}=this,h=[...u].filter(x=>{const d=x;return d.tagName?r.some(o(d))?!1:t?d.getAttribute("slot")===t:!d.hasAttribute("slot"):d.textContent?d.textContent.trim():!1});this.slotHasContent=h.length>0}super.update(l)}firstUpdated(l){super.firstUpdated(l),this.updateComplete.then(()=>{this.manageTextObservedSlot()})}}return b([s.n({type:Boolean,attribute:!1})],n.prototype,"slotHasContent"),b([v({slot:t,flatten:!0})],n.prototype,a),n}exports.LikeAnchor=C;exports.ObserveSlotText=m;exports.n=v;exports.s=g;
|
package/lib/picker/index.cjs
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
-
*
|
3
|
-
* Copyright © 2024 Luzmo
|
4
|
-
* All rights reserved.
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
7
|
-
* This license allows users with a current active Luzmo account
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
-
*
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
* SOFTWARE.
|
19
|
-
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CfEm5P0J.cjs");exports.DESCRIPTION_ID=e.DESCRIPTION_ID;exports.LuzmoPicker=e.LuzmoPicker;exports.LuzmoPickerBase=e.LuzmoPickerBase;
|
package/lib/popover-CQGN8nbX.cjs
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
-
*
|
3
|
-
* Copyright © 2024 Luzmo
|
4
|
-
* All rights reserved.
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
7
|
-
* This license allows users with a current active Luzmo account
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
-
*
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
* SOFTWARE.
|
19
|
-
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./if-defined-V7yEJWI3.cjs"),s=":host{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s)) ease-in-out,opacity var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s)) ease-in-out,visibility 0s linear var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s))}:host([open]){pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened, var(--animation-duration-0, 0s))}@media (forced-colors: active){:host{--highcontrast-popover-border-color: CanvasText}}:host{--popover-filter: drop-shadow( var(--luzmo-popover-shadow-horizontal, var(--popover-shadow-horizontal)) var(--luzmo-popover-shadow-vertical, var(--popover-shadow-vertical)) var(--luzmo-popover-shadow-blur, var(--popover-shadow-blur)) var(--luzmo-popover-shadow-color, var(--popover-shadow-color)) );box-sizing:border-box;padding:var(--luzmo-popover-content-area-spacing-vertical, var(--popover-content-area-spacing-vertical)) 0;border-radius:var(--luzmo-popover-corner-radius, var(--popover-corner-radius));border-style:solid;border-color:var(--highcontrast-popover-border-color, var(--luzmo-popover-border-color, var(--popover-border-color)));border-width:var(--luzmo-popover-border-width, var(--popover-border-width));background-color:var(--luzmo-popover-background-color, var(--popover-background-color));filter:var(--luzmo-popover-filter, var(--popover-filter));outline:none;flex-direction:column;display:inline-flex;position:absolute}:host([tip]) #tip .triangle{stroke-linecap:square;stroke-linejoin:miter;fill:var(--highcontrast-popover-background-color, var(--luzmo-popover-background-color, var(--popover-background-color)));stroke:var(--highcontrast-popover-border-color, var(--luzmo-popover-border-color, var(--popover-border-color)));stroke-width:var(--luzmo-popover-border-width, var(--popover-border-width))}*{--luzmo-popover-filter: none}:host([tip]) .luzmo-Popover--top-end,:host([tip]) .luzmo-Popover--top-left,:host([tip]) .luzmo-Popover--top-right,:host([tip]) .luzmo-Popover--top-start,:host([placement*=top][tip]){margin-block-end:calc(var(--luzmo-popover-pointer-height, var(--popover-pointer-height)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--top-end,:host([open]) .luzmo-Popover--top-left,:host([open]) .luzmo-Popover--top-right,:host([open]) .luzmo-Popover--top-start,:host([placement*=top][open]){transform:translateY(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) .luzmo-Popover--bottom-end,:host([tip]) .luzmo-Popover--bottom-left,:host([tip]) .luzmo-Popover--bottom-right,:host([tip]) .luzmo-Popover--bottom-start,:host([placement*=bottom][tip]){margin-block-start:calc(var(--luzmo-popover-pointer-height, var(--popover-pointer-height)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--bottom-end,:host([open]) .luzmo-Popover--bottom-left,:host([open]) .luzmo-Popover--bottom-right,:host([open]) .luzmo-Popover--bottom-start,:host([placement*=bottom][open]){transform:translateY(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--right-bottom,:host([tip]) .luzmo-Popover--right-top,:host([placement*=right][tip]){margin-left:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--right-bottom,:host([open]) .luzmo-Popover--right-top,:host([placement*=right][open]){transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--left-bottom,:host([tip]) .luzmo-Popover--left-top,:host([placement*=left][tip]){margin-right:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--left-bottom,:host([open]) .luzmo-Popover--left-top,:host([placement*=left][open]){transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) .luzmo-Popover--start-bottom,:host([tip]) .luzmo-Popover--start-top,:host([tip]) .luzmo-Popover--start{margin-inline-end:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--start-bottom,:host([open]) .luzmo-Popover--start-top,:host([open]) .luzmo-Popover--start{transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([open]) .luzmo-Popover--start-bottom:dir(rtl),:host([open]) .luzmo-Popover--start-top:dir(rtl),:host([open]) .luzmo-Popover--start:dir(rtl),:host([dir=rtl][open]) .luzmo-Popover--start-bottom,:host([dir=rtl][open]) .luzmo-Popover--start-top,:host([dir=rtl][open]) .luzmo-Popover--start{transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--end-bottom,:host([tip]) .luzmo-Popover--end-top,:host([tip]) .luzmo-Popover--end{margin-inline-start:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--end-bottom,:host([open]) .luzmo-Popover--end-top,:host([open]) .luzmo-Popover--end{transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([open]) .luzmo-Popover--end-bottom:dir(rtl),:host([open]) .luzmo-Popover--end-top:dir(rtl),:host([open]) .luzmo-Popover--end:dir(rtl),:host([dir=rtl][open]) .luzmo-Popover--end-bottom,:host([dir=rtl][open]) .luzmo-Popover--end-top,:host([dir=rtl][open]) .luzmo-Popover--end{transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) #tip,:host([tip][placement*=bottom]) #tip,:host([tip]) .luzmo-Popover--bottom-end #tip,:host([tip]) .luzmo-Popover--bottom-left #tip,:host([tip]) .luzmo-Popover--bottom-right #tip,:host([tip]) .luzmo-Popover--bottom-start #tip,:host([tip][placement*=top]) #tip,:host([tip]) .luzmo-Popover--top-end #tip,:host([tip]) .luzmo-Popover--top-left #tip,:host([tip]) .luzmo-Popover--top-right #tip,:host([tip]) .luzmo-Popover--top-start #tip{inline-size:var(--luzmo-popover-pointer-width, var(--popover-pointer-width));block-size:var(--luzmo-popover-pointer-height, var(--popover-pointer-height));margin:auto;position:absolute;inset-block-start:100%;inset-inline:0;transform:translate(0)}:host([tip]) .luzmo-Popover--top-left #tip{inset-inline:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--top-right #tip{inset-inline:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--top-start #tip{margin-inline-start:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--top-end #tip{margin-inline-end:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip][placement*=bottom]) #tip,:host([tip]) .luzmo-Popover--bottom-end #tip,:host([tip]) .luzmo-Popover--bottom-left #tip,:host([tip]) .luzmo-Popover--bottom-right #tip,:host([tip]) .luzmo-Popover--bottom-start #tip{inset-block:auto 100%;transform:scaleY(-1)}:host([tip]) .luzmo-Popover--bottom-left #tip{inset-inline:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--bottom-right #tip{inset-inline:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--bottom-start #tip{margin-inline-start:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--bottom-end #tip{margin-inline-end:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--end #tip,:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--end-top #tip,:host([tip][placement*=left]) #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--left-top #tip,:host([tip][placement*=right]) #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--right-top #tip,:host([tip]) .luzmo-Popover--start #tip,:host([tip]) .luzmo-Popover--start-bottom #tip,:host([tip]) .luzmo-Popover--start-top #tip{inline-size:var(--luzmo-popover-pointer-height, var(--popover-pointer-height));block-size:var(--luzmo-popover-pointer-width, var(--popover-pointer-width));inset-block:0}:host([tip][placement*=left]) #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--left-top #tip{left:100%;right:auto}:host([tip][placement*=right]) #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--right-top #tip{left:auto;right:100%;transform:scaleX(-1)}:host([tip]) .luzmo-Popover--end-top #tip,:host([tip]) .luzmo-Popover--left-top #tip,:host([tip]) .luzmo-Popover--right-top #tip,:host([tip]) .luzmo-Popover--start-top #tip{inset-block:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--start-bottom #tip{inset-block:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--start #tip,:host([tip]) .luzmo-Popover--start-bottom #tip,:host([tip]) .luzmo-Popover--start-top #tip{margin-inline-start:100%}:host([tip]) .luzmo-Popover--start #tip:dir(rtl),:host([tip]) .luzmo-Popover--start-bottom #tip:dir(rtl),:host([tip]) .luzmo-Popover--start-top #tip:dir(rtl),:host([dir=rtl][tip]) .luzmo-Popover--start #tip,:host([dir=rtl][tip]) .luzmo-Popover--start-bottom #tip,:host([dir=rtl][tip]) .luzmo-Popover--start-top #tip{transform:none}:host([tip]) .luzmo-Popover--end #tip,:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--end-top #tip{margin-inline-end:100%;transform:scaleX(-1)}:host([tip]) .luzmo-Popover--end #tip:dir(rtl),:host([tip]) .luzmo-Popover--end-bottom #tip:dir(rtl),:host([tip]) .luzmo-Popover--end-top #tip:dir(rtl),:host([dir=rtl][tip]) .luzmo-Popover--end #tip,:host([dir=rtl][tip]) .luzmo-Popover--end-bottom #tip,:host([dir=rtl][tip]) .luzmo-Popover--end-top #tip{transform:scaleX(1)}:host{--popover-border-width: var(--luzmo-border-width);--popover-animation-distance: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--popover-background-color: var(--luzmo-background-color);--popover-border-color: var(--luzmo-border-color);--popover-content-area-spacing-vertical: var(--luzmo-spacing-2);--popover-shadow-horizontal: 0;--popover-shadow-vertical: 1px;--popover-shadow-blur: 4px;--popover-shadow-color: var(--luzmo-border-color);--popover-corner-radius: var(--luzmo-border-radius);--popover-pointer-width: var(--luzmo-spacing-5);--popover-pointer-height: var(--luzmo-spacing-3);--popover-pointer-edge-offset: 16px;--popover-pointer-edge-spacing: 24px}:host([size=s]){--popover-animation-distance: var(--luzmo-spacing-2)}:host([size=l]){--popover-animation-distance: var(--luzmo-spacing-3)}:host([size=xl]){--popover-animation-distance: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) )}:host{min-width:min-content;max-height:100%;max-width:100%;clip-path:none}::slotted(*){overscroll-behavior:contain}:host([placement*=left]) #tip[style],:host([placement*=right]) #tip[style]{inset-block-end:auto}:host([placement*=top]) #tip[style],:host([placement*=bottom]) #tip[style]{inset-inline-end:auto}.block,.inline{width:100%;height:100%;display:block}:host([placement*=left]) .block,:host([placement*=right]) .block{display:none}:host([placement*=top]) .inline,:host([placement*=bottom]) .inline{display:none}::slotted(.visually-hidden){border:0;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}::slotted(luzmo-menu){margin:0}:host([dialog]){min-width:var(--luzmo-popover-dialog-min-width, 270px);padding:var(--luzmo-popover-dialog-padding, 30px 29px)}:host([tip][placement]) #tip{height:auto}";var v=Object.defineProperty,p=(e,a,n,m)=>{for(var t=void 0,i=e.length-1,l;i>=0;i--)(l=e[i])&&(t=l(a,n,t)||t);return t&&v(a,n,t),t};class r extends o.SizedMixin(o.LuzmoElement){constructor(){super(...arguments),this.open=!1,this.tip=!1}static get styles(){return[o.r(s)]}renderTip(){return o.x`
|
21
|
-
<div id="tip" aria-hidden="true">
|
22
|
-
<svg class="tip block" viewBox="0 -0.5 16 9">
|
23
|
-
<path class="triangle" d="M-1,-1 8,8 17,-1"></path>
|
24
|
-
</svg>
|
25
|
-
<svg class="tip inline" viewBox="0 -0.5 9 16">
|
26
|
-
<path class="triangle" d="M-1,-1 8,8 -1,17"></path>
|
27
|
-
</svg>
|
28
|
-
</div>
|
29
|
-
`}render(){return o.x`
|
30
|
-
<slot></slot>
|
31
|
-
${this.tip?this.renderTip():o.E}
|
32
|
-
`}}p([o.n({type:Boolean,reflect:!0})],r.prototype,"open");p([o.n({reflect:!0})],r.prototype,"placement");p([o.n({type:Boolean,reflect:!0})],r.prototype,"tip");p([o.e("#tip")],r.prototype,"tipElement");exports.Popover=r;
|
@@ -1,35 +0,0 @@
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
-
*
|
3
|
-
* Copyright © 2024 Luzmo
|
4
|
-
* All rights reserved.
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
7
|
-
* This license allows users with a current active Luzmo account
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
-
*
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
* SOFTWARE.
|
19
|
-
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../if-defined-V7yEJWI3.cjs"),c=(i,r)=>{if(i)return null;const o=r.assignedNodes().reduce((a,e)=>e.textContent?a+e.textContent:a,"");return o?o.trim():null},g="@media (forced-colors: active){:host{--highcontrast-progress-circle-fill-border-color: Highlight;--highcontrast-progress-circle-fill-border-color-over-background: Highlight}.track{--progress-circle-track-border-style: double}}:host{position:var(--luzmo-progress-circle-position, relative);direction:ltr;display:inline-block;position:relative;transform:translateZ(0)}:host,.track{inline-size:var(--luzmo-progress-circle-size, var(--progress-circle-size, 32px));block-size:var(--luzmo-progress-circle-size, var(--progress-circle-size, 32px))}.track{box-sizing:border-box;border-style:var(--highcontrast-progress-circle-track-border-style, var(--luzmo-progress-circle-track-border-style, var(--progress-circle-track-border-style, solid)));border-width:var(--luzmo-progress-circle-thickness, var(--progress-circle-thickness, 3px));border-radius:var(--luzmo-progress-circle-size, var(--progress-circle-size, 32px));border-color:var(--luzmo-progress-circle-track-border-color, var(--luzmo-border-color))}.fills{inline-size:100%;block-size:100%;position:absolute;inset-block-start:0;inset-inline-start:0}.fill{box-sizing:border-box;inline-size:var(--luzmo-progress-circle-size, var(--progress-circle-size, 32px));block-size:var(--luzmo-progress-circle-size, var(--progress-circle-size, 32px));border-style:solid;border-width:var(--luzmo-progress-circle-thickness, var(--progress-circle-thickness, 3px));border-radius:var(--luzmo-progress-circle-size, var(--progress-circle-size, 32px));border-color:var(--highcontrast-progress-circle-fill-border-color, var(--luzmo-progress-circle-fill-border-color, var(--luzmo-primary)))}:host([static-color=black]) .track{border-color:var(--luzmo-progress-circle-track-border-color-over-background, rgba(0, 0, 0, .25))}:host([static-color=black]) .fill{border-color:var(--highcontrast-progress-circle-fill-border-color-over-background, var(--luzmo-progress-circle-fill-border-color-over-background, rgb(0, 0, 0)))}:host([static-color=white]) .track{border-color:var(--luzmo-progress-circle-track-border-color-over-background, rgba(255, 255, 255, .15))}:host([static-color=white]) .fill{border-color:var(--highcontrast-progress-circle-fill-border-color-over-background, var(--luzmo-progress-circle-fill-border-color-over-background, rgb(255, 255, 255)))}.fill-mask1,.fill-mask2{inline-size:50%;block-size:100%;transform-origin:100%;position:absolute;overflow:hidden;transform:rotate(180deg)}.fill-sub-mask1,.fill-sub-mask2{inline-size:100%;block-size:100%;transform-origin:100%;overflow:hidden;transform:rotate(-180deg)}.fill-mask2{transform:rotate(0)}:host([indeterminate]) .fills{will-change:transform;transform-origin:center;animation:1s cubic-bezier(.25,.78,.48,.89) infinite luzmo-fills-rotate;transform:translateZ(0)}:host([indeterminate]) .fill-sub-mask1{will-change:transform;animation:1s linear infinite luzmo-fill-mask-1;transform:translateZ(0)}:host([indeterminate]) .fill-sub-mask2{will-change:transform;animation:1s linear infinite luzmo-fill-mask-2;transform:translateZ(0)}.fill-submask-2{animation:1s linear infinite luzmo-fill-mask-2}@keyframes luzmo-fill-mask-1{0%{transform:rotate(90deg)}1.69%{transform:rotate(72.3deg)}3.39%{transform:rotate(55.5deg)}5.08%{transform:rotate(40.3deg)}6.78%{transform:rotate(25deg)}8.47%{transform:rotate(10.6deg)}10.17%{transform:rotate(0)}11.86%{transform:rotate(0)}13.56%{transform:rotate(0)}15.25%{transform:rotate(0)}16.95%{transform:rotate(0)}18.64%{transform:rotate(0)}20.34%{transform:rotate(0)}22.03%{transform:rotate(0)}23.73%{transform:rotate(0)}25.42%{transform:rotate(0)}27.12%{transform:rotate(0)}28.81%{transform:rotate(0)}30.51%{transform:rotate(0)}32.2%{transform:rotate(0)}33.9%{transform:rotate(0)}35.59%{transform:rotate(0)}37.29%{transform:rotate(0)}38.98%{transform:rotate(0)}40.68%{transform:rotate(0)}42.37%{transform:rotate(5.3deg)}44.07%{transform:rotate(13.4deg)}45.76%{transform:rotate(20.6deg)}47.46%{transform:rotate(29deg)}49.15%{transform:rotate(36.5deg)}50.85%{transform:rotate(42.6deg)}52.54%{transform:rotate(48.8deg)}54.24%{transform:rotate(54.2deg)}55.93%{transform:rotate(59.4deg)}57.63%{transform:rotate(63.2deg)}59.32%{transform:rotate(67.2deg)}61.02%{transform:rotate(70.8deg)}62.71%{transform:rotate(73.8deg)}64.41%{transform:rotate(76.2deg)}66.1%{transform:rotate(78.7deg)}67.8%{transform:rotate(80.6deg)}69.49%{transform:rotate(82.6deg)}71.19%{transform:rotate(83.7deg)}72.88%{transform:rotate(85deg)}74.58%{transform:rotate(86.3deg)}76.27%{transform:rotate(87deg)}77.97%{transform:rotate(87.7deg)}79.66%{transform:rotate(88.3deg)}81.36%{transform:rotate(88.6deg)}83.05%{transform:rotate(89.2deg)}84.75%{transform:rotate(89.2deg)}86.44%{transform:rotate(89.5deg)}88.14%{transform:rotate(89.9deg)}89.83%{transform:rotate(89.7deg)}91.53%{transform:rotate(90.1deg)}93.22%{transform:rotate(90.2deg)}94.92%{transform:rotate(90.1deg)}96.61%{transform:rotate(90deg)}98.31%{transform:rotate(89.8deg)}to{transform:rotate(90deg)}}@keyframes luzmo-fill-mask-2{0%{transform:rotate(180deg)}1.69%{transform:rotate(180deg)}3.39%{transform:rotate(180deg)}5.08%{transform:rotate(180deg)}6.78%{transform:rotate(180deg)}8.47%{transform:rotate(180deg)}10.17%{transform:rotate(179.2deg)}11.86%{transform:rotate(164deg)}13.56%{transform:rotate(151.8deg)}15.25%{transform:rotate(140.8deg)}16.95%{transform:rotate(130.3deg)}18.64%{transform:rotate(120.4deg)}20.34%{transform:rotate(110.8deg)}22.03%{transform:rotate(101.6deg)}23.73%{transform:rotate(93.5deg)}25.42%{transform:rotate(85.4deg)}27.12%{transform:rotate(78.1deg)}28.81%{transform:rotate(71.2deg)}30.51%{transform:rotate(89.1deg)}32.2%{transform:rotate(105.5deg)}33.9%{transform:rotate(121.3deg)}35.59%{transform:rotate(135.5deg)}37.29%{transform:rotate(148.4deg)}38.98%{transform:rotate(161deg)}40.68%{transform:rotate(173.5deg)}42.37%{transform:rotate(180deg)}44.07%{transform:rotate(180deg)}45.76%{transform:rotate(180deg)}47.46%{transform:rotate(180deg)}49.15%{transform:rotate(180deg)}50.85%{transform:rotate(180deg)}52.54%{transform:rotate(180deg)}54.24%{transform:rotate(180deg)}55.93%{transform:rotate(180deg)}57.63%{transform:rotate(180deg)}59.32%{transform:rotate(180deg)}61.02%{transform:rotate(180deg)}62.71%{transform:rotate(180deg)}64.41%{transform:rotate(180deg)}66.1%{transform:rotate(180deg)}67.8%{transform:rotate(180deg)}69.49%{transform:rotate(180deg)}71.19%{transform:rotate(180deg)}72.88%{transform:rotate(180deg)}74.58%{transform:rotate(180deg)}76.27%{transform:rotate(180deg)}77.97%{transform:rotate(180deg)}79.66%{transform:rotate(180deg)}81.36%{transform:rotate(180deg)}83.05%{transform:rotate(180deg)}84.75%{transform:rotate(180deg)}86.44%{transform:rotate(180deg)}88.14%{transform:rotate(180deg)}89.83%{transform:rotate(180deg)}91.53%{transform:rotate(180deg)}93.22%{transform:rotate(180deg)}94.92%{transform:rotate(180deg)}96.61%{transform:rotate(180deg)}98.31%{transform:rotate(180deg)}to{transform:rotate(180deg)}}@keyframes luzmo-fills-rotate{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}:host([size=s]){--progress-circle-size: 16px;--progress-circle-thickness: 2px}:host([size=l]){--progress-circle-size: 48px;--progress-circle-thickness: 3px}:host([size=xl]){--progress-circle-size: 64px;--progress-circle-thickness: 4px}:host{block-size:var(--luzmo-progress-circle-size, var(--parent-element-progress-circle-size));inline-size:var(--luzmo-progress-circle-size, var(--parent-element-progress-circle-size));--progress-circle-size: inherit;--parent-element-progress-circle-size: inherit;--parent-element-progress-circle-size: var(--progress-circle-size, 32px)}:host([size=s]){--parent-element-progress-circle-size: var(--progress-circle-size, 16px)}:host([size=l]){--parent-element-progress-circle-size: var(--progress-circle-size, 48px)}:host([size=xl]){--parent-element-progress-circle-size: var(--progress-circle-size, 64px)}slot{display:none}.track,.fill{block-size:var(--luzmo-progress-circle-size, var(--parent-element-progress-circle-size));border-radius:var(--luzmo-progress-circle-size, var(--parent-element-progress-circle-size));inline-size:var(--luzmo-progress-circle-size, var(--parent-element-progress-circle-size))}:host([indeterminate]) .fills,:host([indeterminate]) .fill-sub-mask1,:host([indeterminate]) .fill-sub-mask2{animation-duration:var(--luzmo-progress-circle-animation-duration, 1s)}";var d=Object.defineProperty,l=(i,r,o,a)=>{for(var e=void 0,n=i.length-1,m;n>=0;n--)(m=i[n])&&(e=m(r,o,e)||e);return e&&d(r,o,e),e};class s extends t.SizedMixin(t.LuzmoElement,{validSizes:["s","m","l","xl"]}){constructor(){super(...arguments),this.indeterminate=!1,this.label="",this.progress=0}static get styles(){return[t.r(g)]}makeRotation(r){return this.indeterminate?void 0:`transform: rotate(${r}deg);`}render(){const r=[this.makeRotation(-180+3.6*Math.min(this.progress,50)),this.makeRotation(-180+3.6*Math.max(this.progress-50,0))],o=["mask1","mask2"];return t.x`
|
21
|
-
<slot @slotchange=${this.handleSlotchange}></slot>
|
22
|
-
<div class="track"></div>
|
23
|
-
<div class="fills">
|
24
|
-
${o.map((a,e)=>t.x`
|
25
|
-
<div class="fill-${a}">
|
26
|
-
<div
|
27
|
-
class="fill-sub-${a}"
|
28
|
-
style=${t.o(r[e])}
|
29
|
-
>
|
30
|
-
<div class="fill"></div>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
`)}
|
34
|
-
</div>
|
35
|
-
`}handleSlotchange(){const r=c(this.label,this.slotEl);r&&(this.label=r)}firstUpdated(r){super.firstUpdated(r),this.hasAttribute("role")||this.setAttribute("role","progressbar")}updated(r){super.updated(r),!this.indeterminate&&r.has("progress")?this.setAttribute("aria-valuenow",""+this.progress):this.hasAttribute("aria-valuenow")&&this.removeAttribute("aria-valuenow"),r.has("label")&&(this.label.length>0?this.setAttribute("aria-label",this.label):r.get("label")===this.getAttribute("aria-label")&&this.removeAttribute("aria-label"))}}l([t.n({type:Boolean,reflect:!0})],s.prototype,"indeterminate");l([t.n({type:String})],s.prototype,"label");l([t.n({reflect:!0,attribute:"static-color"})],s.prototype,"staticColor");l([t.n({type:Number})],s.prototype,"progress");l([t.e("slot")],s.prototype,"slotEl");customElements.get("luzmo-progress-circle")||customElements.define("luzmo-progress-circle",s);exports.LuzmoProgressCircle=s;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|