@luzmo/analytics-components-kit 1.0.1-alpha.4 → 1.0.1-alpha.6
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-DWRUSKKF-C2JoUGYR.cjs +56 -0
- package/components/async-directive-DWRUSKKF-CNTJHpgh.js +152 -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/{lib/button-base-CtfPWS-P.js → components/button-base-B7v4eeRh-B4fczZlv.js} +55 -36
- package/components/button-base-B7v4eeRh-CjngVDsD.cjs +43 -0
- package/components/checkbox-mixin-BFGTmw17-BR4ufh0S.js +88 -0
- package/components/checkbox-mixin-BFGTmw17-lIHmn1jk.cjs +45 -0
- package/components/directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs +80 -0
- package/components/directive-helpers-nlQRAaQt-arNFWD5u.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 +136 -0
- package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
- package/{lib/en-GB-BqYHIX1v.cjs → 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/components/display-settings-grand-totals/index.cjs +41 -0
- 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} +116 -106
- 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} +113 -132
- 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} +143 -242
- 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-Ck3NFAli.cjs +53 -0
- package/components/edit-option-base-w3UBiCoU.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/droppable-slot/index.cjs → components/en-BvtH5B9A.cjs} +1 -1
- package/{lib/index-D_KYpfBM.js → components/en-CN4CDOzo.js} +2 -3
- package/{lib/en-GB-CYx--4nh.js → components/en-GB-BMvD7axC.js} +1 -1
- package/{lib/index-0314DjEl.cjs → components/en-GB-DrOGXwdM.cjs} +1 -1
- package/{lib/draggable-data-item/index.cjs → components/en-US-BvtH5B9A.cjs} +1 -1
- package/components/en-US-CN4CDOzo.js +23 -0
- 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-BSAr_4u4-CNmaFBUP.cjs +60 -0
- package/components/if-defined-BSAr_4u4-CVDyXUmc.js +95 -0
- package/components/if-defined-_S7apvH1.js +29 -0
- package/components/if-defined-aQZR75uI.cjs +24 -0
- package/components/index-B0ZqIWfU.cjs +39 -0
- package/components/index-BEi8DTwW.cjs +36 -0
- package/components/index-Bti4K2L2.cjs +67 -0
- package/components/index-BuW8doNV.js +299 -0
- package/components/index-BxFGd_xp.cjs +36 -0
- package/components/index-ByfMhxDr.cjs +36 -0
- package/{lib/progress-circle/index.js → components/index-C44nA7Wn.js} +53 -20
- package/components/index-CHLcEawI.js +77 -0
- package/components/index-CKbGBBId.cjs +54 -0
- package/components/index-CMvLpPKD-CgGXdNKs.js +935 -0
- package/components/index-CMvLpPKD-DoxJRhRP.cjs +95 -0
- package/components/index-CQjWiSIp.cjs +202 -0
- package/components/index-C_Cxv6xn.js +164 -0
- package/components/index-C_xCeCrL.cjs +185 -0
- package/components/index-CdHFj3ra.cjs +59 -0
- package/components/index-Ci0Pe5UA.js +317 -0
- package/components/index-DC2Pby0z.cjs +95 -0
- package/components/index-DDleIdd8.cjs +192 -0
- package/components/index-DLrQ4hc5.cjs +42 -0
- package/components/index-DMbzEC_s.js +104 -0
- package/{lib/index-B9h2L_hV.js → components/index-DUlH3hbL.js} +1233 -1110
- package/{lib/en-CIeY2T5K.js → components/index-DeyQ1JGg.js} +439 -447
- package/components/index-DiSrnT1e.js +77 -0
- package/{lib/picker/index.js → components/index-Dkom_Qy5.js} +22 -6
- package/components/index-DxXcY78P.cjs +36 -0
- package/components/index-EkTLplXl.cjs +95 -0
- package/{lib/droppable-slot/index.js → components/index-FSUV_4nO.js} +18 -4
- package/components/index-Pmv-d4iw.js +744 -0
- package/{lib/index-CBCm4_7S.js → components/index-aLxc3xA_.js} +400 -459
- package/{lib/index-Bd4cKS9O.js → components/index-dJXOanPE.js} +67 -47
- package/components/index-f8GtjOLn.cjs +57 -0
- package/components/index-fbS4OrPM.js +145 -0
- package/components/index.cjs +20 -0
- package/components/index.js +74 -0
- package/components/language-resolution-8yZa5r_P-CLZhU076.js +161 -0
- package/components/language-resolution-8yZa5r_P-CpbzT4ej.cjs +52 -0
- package/components/localize-B6AsX_Zv.js +52 -0
- package/components/localize-DbobqcKs.cjs +20 -0
- package/components/observe-slot-text-ggb4kKgY-DqsddtTd.cjs +86 -0
- package/components/observe-slot-text-ggb4kKgY-yUxhPbbJ.js +221 -0
- package/{lib/popover-Bwnkg-5-.js → components/popover-DlkzrLpl-DFIvgCjc.js} +25 -6
- package/components/popover-DlkzrLpl-TYw7ejnD.cjs +48 -0
- package/components/property-CXJD1jOW.js +1480 -0
- package/components/property-ChsOQ1Yj.cjs +112 -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-BxMraZLS-Dc6r-Wg4.js +82 -0
- package/components/sized-mixin-BxMraZLS-w9I35lP7.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-DLrsMPet.cjs +24 -0
- package/components/state-DwFtyqCc.js +31 -0
- package/components/task-CgK9ztaw.cjs +24 -0
- package/components/task-DYLITx7R.js +120 -0
- package/components/text-field-CvKSS59x-BzSqtt2_.js +412 -0
- package/components/text-field-CvKSS59x-D0MM0fDH.cjs +131 -0
- package/components/utils.cjs +20 -0
- package/components/utils.js +20 -0
- 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-BDXFsKUM.cjs +0 -146
- package/lib/index-BmAD29P2.js +0 -106
- package/lib/index-Bo1DpZ-1.cjs +0 -58
- package/lib/index-C4ePDYEC.cjs +0 -41
- 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-DdtjeKYI.js +0 -928
- 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,56 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
"use strict";const u=require("./directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs");/*! * Lucero - The design system for Luzmo.
|
21
|
+
*
|
22
|
+
* Copyright © 2025 Luzmo
|
23
|
+
* All rights reserved.
|
24
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
25
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
26
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
27
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
|
+
* SOFTWARE.
|
36
|
+
* */function c(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgent):!1}function a(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):!1}function h(){return a(/^Mac/)}function $(){return a(/^iPhone/)}function d(){return a(/^iPad/)||h()&&navigator.maxTouchPoints>1}function A(){return $()||d()}function _(){return c(/Chrome/)}function w(){return c(/AppleWebKit/)&&!_()}function v(){return c(/Android/)}/*! * Lucero - The design system for Luzmo.
|
37
|
+
*
|
38
|
+
* Copyright © 2025 Luzmo
|
39
|
+
* All rights reserved.
|
40
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
41
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
42
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
43
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
44
|
+
*
|
45
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
46
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
47
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
48
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
49
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
51
|
+
* SOFTWARE.
|
52
|
+
* *//**
|
53
|
+
* @license
|
54
|
+
* Copyright 2017 Google LLC
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
56
|
+
*/const o=(t,i)=>{var n;const e=t._$AN;if(e===void 0)return!1;for(const s of e)(n=s._$AO)==null||n.call(s,i,!1),o(s,i);return!0},l=t=>{let i,n;do{if((i=t._$AM)===void 0)break;n=i._$AN,n.delete(t),t=i}while((n==null?void 0:n.size)===0)},f=t=>{for(let i;i=t._$AM;t=i){let n=i._$AN;if(n===void 0)i._$AN=n=new Set;else if(n.has(t))break;n.add(t),g(i)}};function C(t){this._$AN!==void 0?(l(this),this._$AM=t,f(this)):this._$AM=t}function p(t,i=!1,n=0){const e=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(i)if(Array.isArray(e))for(let r=n;r<e.length;r++)o(e[r],!1),l(e[r]);else e!=null&&(o(e,!1),l(e));else o(this,t)}const g=t=>{t.type==u.s.CHILD&&(t._$AP??(t._$AP=p),t._$AQ??(t._$AQ=C))};class N extends u.${constructor(){super(...arguments),this._$AN=void 0}_$AT(i,n,e){super._$AT(i,n,e),f(this),this.isConnected=i._$AU}_$AO(i,n=!0){var e,s;i!==this.isConnected&&(this.isConnected=i,i?(e=this.reconnected)==null||e.call(this):(s=this.disconnected)==null||s.call(this)),n&&(o(this,i),l(this))}setValue(i){if(u.r(this._$Ct))this._$Ct._$AI(i,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=i,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}exports.C=N;exports.a=A;exports.c=w;exports.o=$;exports.w=v;
|
@@ -0,0 +1,152 @@
|
|
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 { $, r as f, s as h } from "./directive-helpers-nlQRAaQt-arNFWD5u.js";
|
21
|
+
/*! * Lucero - The design system for Luzmo.
|
22
|
+
*
|
23
|
+
* Copyright © 2025 Luzmo
|
24
|
+
* All rights reserved.
|
25
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
26
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
27
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
28
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
29
|
+
*
|
30
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
31
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
32
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
33
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
34
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
35
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
36
|
+
* SOFTWARE.
|
37
|
+
* */
|
38
|
+
function u(t) {
|
39
|
+
return typeof window < "u" && window.navigator != null ? t.test(window.navigator.userAgent) : !1;
|
40
|
+
}
|
41
|
+
function a(t) {
|
42
|
+
return typeof window < "u" && window.navigator != null ? (
|
43
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
44
|
+
t.test(window.navigator.platform)
|
45
|
+
) : !1;
|
46
|
+
}
|
47
|
+
function d() {
|
48
|
+
return a(/^Mac/);
|
49
|
+
}
|
50
|
+
function A() {
|
51
|
+
return a(/^iPhone/);
|
52
|
+
}
|
53
|
+
function _() {
|
54
|
+
return a(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
55
|
+
d() && navigator.maxTouchPoints > 1;
|
56
|
+
}
|
57
|
+
function N() {
|
58
|
+
return A() || _();
|
59
|
+
}
|
60
|
+
function w() {
|
61
|
+
return u(/Chrome/);
|
62
|
+
}
|
63
|
+
function m() {
|
64
|
+
return u(/AppleWebKit/) && !w();
|
65
|
+
}
|
66
|
+
function y() {
|
67
|
+
return u(/Android/);
|
68
|
+
}
|
69
|
+
/*! * Lucero - The design system for Luzmo.
|
70
|
+
*
|
71
|
+
* Copyright © 2025 Luzmo
|
72
|
+
* All rights reserved.
|
73
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
74
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
75
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
76
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
77
|
+
*
|
78
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
79
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
80
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
81
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
82
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
83
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
84
|
+
* SOFTWARE.
|
85
|
+
* */
|
86
|
+
/**
|
87
|
+
* @license
|
88
|
+
* Copyright 2017 Google LLC
|
89
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
90
|
+
*/
|
91
|
+
const o = (t, i) => {
|
92
|
+
var n;
|
93
|
+
const s = t._$AN;
|
94
|
+
if (s === void 0) return !1;
|
95
|
+
for (const e of s) (n = e._$AO) == null || n.call(e, i, !1), o(e, i);
|
96
|
+
return !0;
|
97
|
+
}, l = (t) => {
|
98
|
+
let i, n;
|
99
|
+
do {
|
100
|
+
if ((i = t._$AM) === void 0) break;
|
101
|
+
n = i._$AN, n.delete(t), t = i;
|
102
|
+
} while ((n == null ? void 0 : n.size) === 0);
|
103
|
+
}, c = (t) => {
|
104
|
+
for (let i; i = t._$AM; t = i) {
|
105
|
+
let n = i._$AN;
|
106
|
+
if (n === void 0) i._$AN = n = /* @__PURE__ */ new Set();
|
107
|
+
else if (n.has(t)) break;
|
108
|
+
n.add(t), p(i);
|
109
|
+
}
|
110
|
+
};
|
111
|
+
function v(t) {
|
112
|
+
this._$AN !== void 0 ? (l(this), this._$AM = t, c(this)) : this._$AM = t;
|
113
|
+
}
|
114
|
+
function C(t, i = !1, n = 0) {
|
115
|
+
const s = this._$AH, e = this._$AN;
|
116
|
+
if (e !== void 0 && e.size !== 0) if (i) if (Array.isArray(s)) for (let r = n; r < s.length; r++) o(s[r], !1), l(s[r]);
|
117
|
+
else s != null && (o(s, !1), l(s));
|
118
|
+
else o(this, t);
|
119
|
+
}
|
120
|
+
const p = (t) => {
|
121
|
+
t.type == h.CHILD && (t._$AP ?? (t._$AP = C), t._$AQ ?? (t._$AQ = v));
|
122
|
+
};
|
123
|
+
class M extends $ {
|
124
|
+
constructor() {
|
125
|
+
super(...arguments), this._$AN = void 0;
|
126
|
+
}
|
127
|
+
_$AT(i, n, s) {
|
128
|
+
super._$AT(i, n, s), c(this), this.isConnected = i._$AU;
|
129
|
+
}
|
130
|
+
_$AO(i, n = !0) {
|
131
|
+
var s, e;
|
132
|
+
i !== this.isConnected && (this.isConnected = i, i ? (s = this.reconnected) == null || s.call(this) : (e = this.disconnected) == null || e.call(this)), n && (o(this, i), l(this));
|
133
|
+
}
|
134
|
+
setValue(i) {
|
135
|
+
if (f(this._$Ct)) this._$Ct._$AI(i, this);
|
136
|
+
else {
|
137
|
+
const n = [...this._$Ct._$AH];
|
138
|
+
n[this._$Ci] = i, this._$Ct._$AI(n, this, 0);
|
139
|
+
}
|
140
|
+
}
|
141
|
+
disconnected() {
|
142
|
+
}
|
143
|
+
reconnected() {
|
144
|
+
}
|
145
|
+
}
|
146
|
+
export {
|
147
|
+
M as C,
|
148
|
+
N as a,
|
149
|
+
m as c,
|
150
|
+
A as o,
|
151
|
+
y as w
|
152
|
+
};
|
@@ -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";/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2017 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/const o=(r,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(r,t,e),e);exports.e=o;
|
@@ -0,0 +1,40 @@
|
|
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";/*! * Lucero - The design system for Luzmo.
|
21
|
+
*
|
22
|
+
* Copyright © 2025 Luzmo
|
23
|
+
* All rights reserved.
|
24
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
25
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
26
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
27
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
|
+
* SOFTWARE.
|
36
|
+
* *//**
|
37
|
+
* @license
|
38
|
+
* Copyright 2017 Google LLC
|
39
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
40
|
+
*/const r=(o,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(o,t,e),e);exports.o=r;
|
@@ -0,0 +1,45 @@
|
|
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
|
+
/*! * Lucero - The design system for Luzmo.
|
21
|
+
*
|
22
|
+
* Copyright © 2025 Luzmo
|
23
|
+
* All rights reserved.
|
24
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
25
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
26
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
27
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
|
+
* SOFTWARE.
|
36
|
+
* */
|
37
|
+
/**
|
38
|
+
* @license
|
39
|
+
* Copyright 2017 Google LLC
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
41
|
+
*/
|
42
|
+
const r = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
|
43
|
+
export {
|
44
|
+
r as o
|
45
|
+
};
|
@@ -0,0 +1,28 @@
|
|
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
|
+
/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2017 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/
|
25
|
+
const o = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
|
26
|
+
export {
|
27
|
+
o as e
|
28
|
+
};
|
@@ -17,25 +17,44 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import {
|
23
|
-
|
24
|
-
|
20
|
+
import { h as c, H as i, r as u, R as h } from "./property-CXJD1jOW.js";
|
21
|
+
import { d as p } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
22
|
+
import { y as d, b } from "./observe-slot-text-ggb4kKgY-yUxhPbbJ.js";
|
23
|
+
/*! * Lucero - The design system for Luzmo.
|
24
|
+
*
|
25
|
+
* Copyright © 2025 Luzmo
|
26
|
+
* All rights reserved.
|
27
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
28
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
29
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
30
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
31
|
+
*
|
32
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
33
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
34
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
35
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
36
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
37
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
38
|
+
* SOFTWARE.
|
39
|
+
* */
|
40
|
+
const m = ":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";
|
41
|
+
var y = Object.defineProperty, o = (r, t, e, v) => {
|
25
42
|
for (var s = void 0, n = r.length - 1, l; n >= 0; n--)
|
26
|
-
(l = r[n]) && (s = l(
|
27
|
-
return s &&
|
43
|
+
(l = r[n]) && (s = l(t, e, s) || s);
|
44
|
+
return s && y(t, e, s), s;
|
28
45
|
};
|
29
|
-
class a extends
|
30
|
-
|
31
|
-
|
46
|
+
class a extends d(
|
47
|
+
b(u),
|
48
|
+
"",
|
49
|
+
["luzmo-overlay,luzmo-tooltip"]
|
50
|
+
) {
|
32
51
|
constructor() {
|
33
52
|
super(), this.active = !1, this.type = "button", this.proxyFocus = this.proxyFocus.bind(this), this.addEventListener("click", this.handleClickCapture, {
|
34
53
|
capture: !0
|
35
54
|
});
|
36
55
|
}
|
37
56
|
static get styles() {
|
38
|
-
return [
|
57
|
+
return [c(m)];
|
39
58
|
}
|
40
59
|
get focusElement() {
|
41
60
|
return this;
|
@@ -53,23 +72,23 @@ class a extends u(p(c), "", [
|
|
53
72
|
`
|
54
73
|
];
|
55
74
|
}
|
56
|
-
handleClickCapture(
|
75
|
+
handleClickCapture(t) {
|
57
76
|
if (this.disabled)
|
58
|
-
return
|
77
|
+
return t.preventDefault(), t.stopImmediatePropagation(), t.stopPropagation(), !1;
|
59
78
|
this.shouldProxyClick();
|
60
79
|
}
|
61
80
|
proxyFocus() {
|
62
81
|
this.focus();
|
63
82
|
}
|
64
83
|
shouldProxyClick() {
|
65
|
-
let
|
84
|
+
let t = !1;
|
66
85
|
if (this.anchorElement)
|
67
|
-
this.anchorElement.click(),
|
86
|
+
this.anchorElement.click(), t = !0;
|
68
87
|
else if (this.type !== "button") {
|
69
|
-
const
|
70
|
-
|
88
|
+
const e = document.createElement("button");
|
89
|
+
e.type = this.type, this.insertAdjacentElement("afterend", e), e.click(), e.remove(), t = !0;
|
71
90
|
}
|
72
|
-
return
|
91
|
+
return t;
|
73
92
|
}
|
74
93
|
renderAnchor() {
|
75
94
|
return i`
|
@@ -87,18 +106,18 @@ class a extends u(p(c), "", [
|
|
87
106
|
render() {
|
88
107
|
return this.href && this.href.length > 0 ? this.renderAnchor() : this.renderButton();
|
89
108
|
}
|
90
|
-
handleKeydown(
|
91
|
-
const { code:
|
92
|
-
switch (
|
109
|
+
handleKeydown(t) {
|
110
|
+
const { code: e } = t;
|
111
|
+
switch (e) {
|
93
112
|
case "Space": {
|
94
|
-
|
113
|
+
t.preventDefault(), this.href === void 0 && (this.addEventListener("keyup", this.handleKeyup), this.active = !0);
|
95
114
|
break;
|
96
115
|
}
|
97
116
|
}
|
98
117
|
}
|
99
|
-
handleKeypress(
|
100
|
-
const { code:
|
101
|
-
switch (
|
118
|
+
handleKeypress(t) {
|
119
|
+
const { code: e } = t;
|
120
|
+
switch (e) {
|
102
121
|
case "Enter":
|
103
122
|
case "NumpadEnter": {
|
104
123
|
this.click();
|
@@ -106,9 +125,9 @@ class a extends u(p(c), "", [
|
|
106
125
|
}
|
107
126
|
}
|
108
127
|
}
|
109
|
-
handleKeyup(
|
110
|
-
const { code:
|
111
|
-
switch (
|
128
|
+
handleKeyup(t) {
|
129
|
+
const { code: e } = t;
|
130
|
+
switch (e) {
|
112
131
|
case "Space": {
|
113
132
|
this.removeEventListener("keyup", this.handleKeyup), this.active = !1, this.click();
|
114
133
|
break;
|
@@ -118,14 +137,14 @@ class a extends u(p(c), "", [
|
|
118
137
|
manageAnchor() {
|
119
138
|
this.href && this.href.length > 0 ? (!this.hasAttribute("role") || this.getAttribute("role") === "button") && this.setAttribute("role", "link") : (!this.hasAttribute("role") || this.getAttribute("role") === "link") && this.setAttribute("role", "button");
|
120
139
|
}
|
121
|
-
firstUpdated(
|
122
|
-
super.firstUpdated(
|
140
|
+
firstUpdated(t) {
|
141
|
+
super.firstUpdated(t), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "0"), t.has("label") && (this.label ? this.setAttribute("aria-label", this.label) : this.removeAttribute("aria-label")), this.manageAnchor(), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("keypress", this.handleKeypress);
|
123
142
|
}
|
124
|
-
updated(
|
125
|
-
super.updated(
|
143
|
+
updated(t) {
|
144
|
+
super.updated(t), t.has("href") && this.manageAnchor(), this.anchorElement && (this.anchorElement.addEventListener("focus", this.proxyFocus), this.anchorElement.tabIndex = -1);
|
126
145
|
}
|
127
|
-
update(
|
128
|
-
super.update(
|
146
|
+
update(t) {
|
147
|
+
super.update(t), t.has("label") && (this.label ? this.setAttribute("aria-label", this.label) : this.removeAttribute("aria-label"));
|
129
148
|
}
|
130
149
|
}
|
131
150
|
o([
|
@@ -135,8 +154,8 @@ o([
|
|
135
154
|
h({ type: String })
|
136
155
|
], a.prototype, "type");
|
137
156
|
o([
|
138
|
-
|
157
|
+
p(".anchor")
|
139
158
|
], a.prototype, "anchorElement");
|
140
159
|
export {
|
141
|
-
a
|
160
|
+
a
|
142
161
|
};
|
@@ -0,0 +1,43 @@
|
|
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("./property-ChsOQ1Yj.cjs"),c=require("./if-defined-BSAr_4u4-CNmaFBUP.cjs"),h=require("./observe-slot-text-ggb4kKgY-DqsddtTd.cjs");/*! * Lucero - The design system for Luzmo.
|
21
|
+
*
|
22
|
+
* Copyright © 2025 Luzmo
|
23
|
+
* All rights reserved.
|
24
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
25
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
26
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
27
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
|
+
* SOFTWARE.
|
36
|
+
* */const u=":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";var p=Object.defineProperty,a=(n,t,e,d)=>{for(var i=void 0,o=n.length-1,l;o>=0;o--)(l=n[o])&&(i=l(t,e,i)||i);return i&&p(t,e,i),i};class r extends h.y(h.b(s.r),"",["luzmo-overlay,luzmo-tooltip"]){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[s.ht(u)]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[s.Ht` <slot name="icon" ?icon-only=${!this.hasLabel}></slot> `,s.Ht`
|
37
|
+
<span id="label">
|
38
|
+
<slot @slotchange=${this.manageTextObservedSlot}></slot>
|
39
|
+
</span>
|
40
|
+
`]}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let t=!1;if(this.anchorElement)this.anchorElement.click(),t=!0;else if(this.type!=="button"){const e=document.createElement("button");e.type=this.type,this.insertAdjacentElement("afterend",e),e.click(),e.remove(),t=!0}return t}renderAnchor(){return s.Ht`
|
41
|
+
${this.buttonContent}
|
42
|
+
${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
|
43
|
+
`}renderButton(){return s.Ht` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(t){const{code:e}=t;switch(e){case"Space":{t.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(t){const{code:e}=t;switch(e){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(t){const{code:e}=t;switch(e){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),t.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(t){super.updated(t),t.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(t){super.update(t),t.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}a([s.Rt({type:Boolean,reflect:!0})],r.prototype,"active");a([s.Rt({type:String})],r.prototype,"type");a([c.d(".anchor")],r.prototype,"anchorElement");exports.a=r;
|
@@ -0,0 +1,88 @@
|
|
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 { R as i, H as d } from "./property-CXJD1jOW.js";
|
21
|
+
import { d as a, m as p } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
22
|
+
/*! * Lucero - The design system for Luzmo.
|
23
|
+
*
|
24
|
+
* Copyright © 2025 Luzmo
|
25
|
+
* All rights reserved.
|
26
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
27
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
28
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
29
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
30
|
+
*
|
31
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
32
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
33
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
34
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
35
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
36
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
37
|
+
* SOFTWARE.
|
38
|
+
* */
|
39
|
+
var l = Object.defineProperty, c = (n, e, r, o) => {
|
40
|
+
for (var t = void 0, h = n.length - 1, s; h >= 0; h--)
|
41
|
+
(s = n[h]) && (t = s(e, r, t) || t);
|
42
|
+
return t && l(e, r, t), t;
|
43
|
+
};
|
44
|
+
function k(n) {
|
45
|
+
class e extends n {
|
46
|
+
constructor() {
|
47
|
+
super(...arguments), this.checked = !1, this.readonly = !1;
|
48
|
+
}
|
49
|
+
handleChange() {
|
50
|
+
if (this.readonly) {
|
51
|
+
this.inputElement.checked = this.checked;
|
52
|
+
return;
|
53
|
+
}
|
54
|
+
this.checked = this.inputElement.checked;
|
55
|
+
const o = new CustomEvent("change", {
|
56
|
+
bubbles: !0,
|
57
|
+
cancelable: !0,
|
58
|
+
composed: !0,
|
59
|
+
detail: this.checked
|
60
|
+
});
|
61
|
+
this.dispatchEvent(o) || (this.checked = !this.inputElement.checked, this.inputElement.checked = this.checked);
|
62
|
+
}
|
63
|
+
render() {
|
64
|
+
return d`
|
65
|
+
<input
|
66
|
+
id="input"
|
67
|
+
name=${p(this.name || void 0)}
|
68
|
+
type="checkbox"
|
69
|
+
.checked=${this.checked}
|
70
|
+
?disabled=${this.readonly}
|
71
|
+
@change=${this.handleChange}
|
72
|
+
/>
|
73
|
+
`;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
return c([
|
77
|
+
i({ type: Boolean, reflect: !0 })
|
78
|
+
], e.prototype, "checked"), c([
|
79
|
+
i({ type: String, reflect: !0 })
|
80
|
+
], e.prototype, "name"), c([
|
81
|
+
i({ type: Boolean, reflect: !0 })
|
82
|
+
], e.prototype, "readonly"), c([
|
83
|
+
a("#input")
|
84
|
+
], e.prototype, "inputElement"), e;
|
85
|
+
}
|
86
|
+
export {
|
87
|
+
k
|
88
|
+
};
|