@luzmo/analytics-components-kit 1.0.1-alpha.3 → 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/LICENSE +18 -0
- package/components/area-chart-slots.config-BLxiYX05.cjs +20 -0
- package/components/area-chart-slots.config-C0c2ZzBh.js +52 -0
- package/components/async-directive-FGzMycjH-Bgeca09f.js +152 -0
- package/components/async-directive-FGzMycjH-CeG35vZ3.cjs +56 -0
- package/components/bar-chart-slots.config-GSSL7XVA.js +47 -0
- package/components/bar-chart-slots.config-Jx1PveTM.cjs +20 -0
- package/components/bar-chart.config-B57geUzJ.cjs +20 -0
- package/components/bar-chart.config-CQ6HAvs2.js +153 -0
- package/components/bar-chart.en-BqYbiHO3.cjs +20 -0
- package/components/bar-chart.en-FwT00qdU.js +69 -0
- package/components/bar-chart.fr-DGx9smEh.cjs +20 -0
- package/components/bar-chart.fr-DbxKiM0j.js +44 -0
- package/components/bar-chart.nl-BYzVExsz.cjs +20 -0
- package/components/bar-chart.nl-ahX1ARpH.js +44 -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/components/button-base-CDLQV7Vk-C_3zTrbV.js +161 -0
- package/components/checkbox-mixin-DXUIwtea-DNISZS47.cjs +45 -0
- package/components/checkbox-mixin-DXUIwtea-wiCZr_KI.js +88 -0
- package/components/column-chart.config-B57geUzJ.cjs +20 -0
- package/components/column-chart.config-C9hP0kX7.js +153 -0
- package/components/cs-DVZ0Tapy.js +89 -0
- package/components/cs-I9E81keK.cjs +20 -0
- package/components/da-DHy05oSR.js +97 -0
- package/components/da-QkdvupDg.cjs +20 -0
- package/components/de-Dn5mUzha.cjs +20 -0
- package/components/de-iM39JlAt.js +109 -0
- package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
- package/components/decompose-numeric-format-BuZcjH2k.js +39 -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/components/display-settings-datetime/index.cjs +20 -0
- package/components/display-settings-datetime/index.d.ts +7 -0
- package/components/display-settings-datetime/index.js +30 -0
- 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/components/display-settings-numeric/index.js +452 -0
- 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/components/display-settings-period-over-period/index.js +308 -0
- package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
- package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
- package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
- package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
- package/components/donut-chart.config-3DhKiSSM.js +177 -0
- package/components/donut-chart.config-DLWJUlHx.cjs +20 -0
- package/components/donut-chart.en-Blb9oSdU.cjs +20 -0
- package/components/donut-chart.en-CzjT4-XN.js +85 -0
- package/components/donut-chart.fr-BeTVa2wh.cjs +20 -0
- package/components/donut-chart.fr-DftPrKbG.js +39 -0
- package/components/donut-chart.nl-D9YGbOce.cjs +20 -0
- package/components/donut-chart.nl-NMatXfhK.js +39 -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/components/draggable-data-item-level/index.js +293 -0
- 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/components/en-BsAhbMzm.js +1979 -0
- package/components/en-CdROUdjt.cjs +202 -0
- package/components/en-GB-g8rSQSba.cjs +20 -0
- package/components/en-GB-qub-Kemt.js +28 -0
- package/components/es-CwyPlN5d.cjs +20 -0
- package/components/es-KhTq4jX8.js +305 -0
- package/components/fi-Dh_ebgpe.js +97 -0
- package/components/fi-rijeZE5V.cjs +20 -0
- package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
- package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
- package/components/fr-BcgE-6S_.cjs +20 -0
- package/components/fr-CU727YF1.js +305 -0
- package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
- package/components/get-css-variable-DLiZYZEi.cjs +24 -0
- package/components/he-Au3xg6lR.js +89 -0
- package/components/he-O6Ih8Bqh.cjs +20 -0
- package/components/hu-BnZ8y3xQ.cjs +20 -0
- package/components/hu-DNJ-P_MW.js +97 -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/imageobject.config-B7ld9bj3.cjs +20 -0
- package/components/imageobject.config-DZLp9Elq.js +127 -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/components/index-BD3VxQBH.js +44 -0
- package/components/index-BGaxFTL4.js +299 -0
- package/components/index-BRk42NQn.js +3171 -0
- 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/components/index-Cp-lHUlX.js +137 -0
- 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/components/index-DVaeDCbe.js +48 -0
- package/components/index-DskAouD-.js +317 -0
- package/components/index-DszPbTTD.js +810 -0
- package/components/index-EQldC-LR.js +175 -0
- 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/it-Bh5U73z6.js +305 -0
- package/components/it-PshtLMkq.cjs +20 -0
- package/components/ja-CCcHUL61.js +89 -0
- package/components/ja-KIS2HdaG.cjs +20 -0
- package/components/ko--l4qmjLV.cjs +20 -0
- package/components/ko-DhapsZMM.js +89 -0
- package/components/language-resolution-8yZa5r_P-CTSmbE1U.js +161 -0
- package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +52 -0
- package/components/line-chart.config-BZcvfO2c.cjs +20 -0
- package/components/line-chart.config-CIVN6uLI.js +115 -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/components/luzmo-icons-CZEpXpvy.js +613 -0
- package/components/mk-B9HPSuKa.js +97 -0
- package/components/mk-DZlj-edb.cjs +20 -0
- package/components/nl-BKlDqOXb.cjs +20 -0
- package/components/nl-BwSt5Bf4.js +109 -0
- package/components/no-D-DofYnx.js +109 -0
- package/components/no-D_SzxhTu.cjs +20 -0
- package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +221 -0
- package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +86 -0
- package/components/pl-D_L_0Boq.js +97 -0
- package/components/pl-PIK23rK_.cjs +20 -0
- package/components/popover-bg0EQQ8p-D4-hrhIx.js +86 -0
- package/components/popover-bg0EQQ8p-Dha09dhV.cjs +48 -0
- package/components/property-CD3dwBJC.js +1447 -0
- package/components/property-Su1Q6aME.cjs +124 -0
- package/components/pt-B0BBS5VB.js +89 -0
- package/components/pt-Dqlu4MS5.cjs +20 -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/ru-Vo-m3O_2.js +108 -0
- package/components/ru-zyNDTB04.cjs +20 -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/sv-1DPTltNQ.cjs +20 -0
- package/components/sv-CiozMaev.js +89 -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/components/textobject.config-C8opcGG4.js +52 -0
- package/components/textobject.config-DbAajFz8.cjs +20 -0
- package/components/tr-BkmWvOG2.cjs +20 -0
- package/components/tr-D_D4i5iv.js +109 -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/components/zh-CN-DTZ4OmdP.cjs +20 -0
- package/components/zh-CN-wsl7eFSd.js +89 -0
- package/components/zh-TW-DTZ4OmdP.cjs +20 -0
- package/components/zh-TW-wsl7eFSd.js +89 -0
- package/custom-elements.json +4228 -0
- package/index.d.ts +23 -0
- package/package.json +133 -14
- 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/37.js +0 -1
- package/lib/729.js +0 -1
- package/lib/common-31743c5a.js +0 -13
- package/lib/common-b02547a0.js +0 -1
- package/lib/common-b49d9a9d.js +0 -1
- package/lib/common-b5232813.js +0 -56
- package/lib/common-cefd4f4c.js +0 -1
- package/lib/common-d6cb565f.js +0 -1
- package/lib/common-fd868059.js +0 -1
- package/lib/common-fedaf338.js +0 -32
- package/lib/edit-option-picker/index.js +0 -314
- package/lib/edit-option-slider/index.js +0 -102
- package/lib/edit-option-toggle/index.js +0 -114
- package/lib/index.js +0 -346
- package/lib/vendors-93cc3efa.js +0 -1
- package/lib/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,7 @@
|
|
1
|
+
import { LuzmoDisplaySettingsBinning } from './display-settings-binning';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'luzmo-display-settings-binning': LuzmoDisplaySettingsBinning;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export { LuzmoDisplaySettingsBinning } from './display-settings-binning';
|
@@ -0,0 +1,137 @@
|
|
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 "../index-EQldC-LR.js";
|
21
|
+
import "../index-B5VaT0lQ.js";
|
22
|
+
import "../index-BC-nmKjU.js";
|
23
|
+
import "../index-DszPbTTD.js";
|
24
|
+
import { I as d, r as z, x as m, n as a } from "../property-CD3dwBJC.js";
|
25
|
+
import { m as g, d as b } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
|
26
|
+
import { C as p, h as f } from "../luzmo-icons-CZEpXpvy.js";
|
27
|
+
import { r as h } from "../state-B1a8XIDm.js";
|
28
|
+
import { e as v } from "../query-Ddbd72Um.js";
|
29
|
+
import { o as x } from "../if-defined-Ch2dtEOS.js";
|
30
|
+
const c = () => {
|
31
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
32
|
+
const e = document.createElement("style");
|
33
|
+
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(e);
|
34
|
+
}
|
35
|
+
};
|
36
|
+
c();
|
37
|
+
const y = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";
|
38
|
+
var w = Object.defineProperty, r = (e, l, t, s) => {
|
39
|
+
for (var o = void 0, i = e.length - 1, u; i >= 0; i--)
|
40
|
+
(u = e[i]) && (o = u(l, t, o) || o);
|
41
|
+
return o && w(l, t, o), o;
|
42
|
+
};
|
43
|
+
class n extends g(d, {
|
44
|
+
validSizes: Object.values(b)
|
45
|
+
}) {
|
46
|
+
constructor() {
|
47
|
+
super(...arguments), this.slotContent = {};
|
48
|
+
}
|
49
|
+
static get styles() {
|
50
|
+
return [z(y)];
|
51
|
+
}
|
52
|
+
willUpdate(l) {
|
53
|
+
var t, s, o, i;
|
54
|
+
l.has("slotContent") && (this._enabled = ((s = (t = this.slotContent) == null ? void 0 : t.bins) == null ? void 0 : s.enabled) ?? !1, this._binWidth = ((i = (o = this.slotContent) == null ? void 0 : o.bins) == null ? void 0 : i.number) ?? 10);
|
55
|
+
}
|
56
|
+
toggleBinning() {
|
57
|
+
this._enabled = !this._enabled, this.sendEvent();
|
58
|
+
}
|
59
|
+
setBinning() {
|
60
|
+
this._binWidth = this.binWidthElement.value, this.sendEvent();
|
61
|
+
}
|
62
|
+
sendEvent() {
|
63
|
+
const l = {
|
64
|
+
enabled: !!this._enabled,
|
65
|
+
number: this._binWidth ?? 10
|
66
|
+
};
|
67
|
+
this.dispatchEvent(
|
68
|
+
new CustomEvent("slot-content-changed", {
|
69
|
+
bubbles: !0,
|
70
|
+
composed: !0,
|
71
|
+
cancelable: !0,
|
72
|
+
detail: {
|
73
|
+
slotContent: {
|
74
|
+
...this.slotContent,
|
75
|
+
bins: l
|
76
|
+
}
|
77
|
+
}
|
78
|
+
})
|
79
|
+
);
|
80
|
+
}
|
81
|
+
renderBinWidth() {
|
82
|
+
return m`<div class="setting">
|
83
|
+
<luzmo-field-label for="bin-width">Bin width</luzmo-field-label>
|
84
|
+
<luzmo-number-field
|
85
|
+
id="bin-width"
|
86
|
+
min="0"
|
87
|
+
value=${this._binWidth ?? 10}
|
88
|
+
.size=${this.size}
|
89
|
+
@change=${this.setBinning}
|
90
|
+
></luzmo-number-field>
|
91
|
+
</div>`;
|
92
|
+
}
|
93
|
+
render() {
|
94
|
+
return m`<div class="settings-container">
|
95
|
+
<div class="settings-row">
|
96
|
+
<div class="setting">
|
97
|
+
<luzmo-field-label for="binning">Binning</luzmo-field-label>
|
98
|
+
<luzmo-action-button
|
99
|
+
id="binning"
|
100
|
+
toggles
|
101
|
+
emphasized
|
102
|
+
.size=${this.size}
|
103
|
+
?selected=${this._enabled}
|
104
|
+
class=${x(this._enabled ? "active" : "inactive")}
|
105
|
+
@click=${this.toggleBinning}
|
106
|
+
>
|
107
|
+
<luzmo-icon
|
108
|
+
slot="icon"
|
109
|
+
.icon=${this._enabled ? p : f}
|
110
|
+
></luzmo-icon>
|
111
|
+
${this._enabled ? "Enabled" : "Disabled"}
|
112
|
+
</luzmo-action-button>
|
113
|
+
</div>
|
114
|
+
${this._enabled ? this.renderBinWidth() : ""}
|
115
|
+
</div>
|
116
|
+
</div>`;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
r([
|
120
|
+
a({ type: String, reflect: !0 })
|
121
|
+
], n.prototype, "language");
|
122
|
+
r([
|
123
|
+
a()
|
124
|
+
], n.prototype, "slotContent");
|
125
|
+
r([
|
126
|
+
h()
|
127
|
+
], n.prototype, "_enabled");
|
128
|
+
r([
|
129
|
+
v("#bin-width")
|
130
|
+
], n.prototype, "binWidthElement");
|
131
|
+
customElements.get("luzmo-display-settings-binning") || customElements.define(
|
132
|
+
"luzmo-display-settings-binning",
|
133
|
+
n
|
134
|
+
);
|
135
|
+
export {
|
136
|
+
n as LuzmoDisplaySettingsBinning
|
137
|
+
};
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
2
|
+
import '@luzmo/lucero/action-group';
|
3
|
+
import '@luzmo/lucero/field-label';
|
4
|
+
import '@luzmo/lucero/icon';
|
5
|
+
import '@luzmo/lucero/number-field';
|
6
|
+
import '@luzmo/lucero/picker';
|
7
|
+
import '@luzmo/lucero/progress-circle';
|
8
|
+
import { ElementSize, LuzmoElement } from '@luzmo/lucero/utils';
|
9
|
+
import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
|
10
|
+
declare const LuzmoDisplaySettingsDatetime_base: typeof LuzmoElement & {
|
11
|
+
new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
|
12
|
+
prototype: import("@luzmo/lucero").SizedElementInterface;
|
13
|
+
};
|
14
|
+
/**
|
15
|
+
* @element luzmo-display-settings-datetime
|
16
|
+
* @fires slot-content-changed - Event that is fired when the slot content is changed
|
17
|
+
*/
|
18
|
+
export declare class LuzmoDisplaySettingsDatetime extends LuzmoDisplaySettingsDatetime_base {
|
19
|
+
static get styles(): CSSResultArray;
|
20
|
+
private _loadLocaleFormatsConfig;
|
21
|
+
/**
|
22
|
+
* The language of the settings interface
|
23
|
+
*/
|
24
|
+
language: string;
|
25
|
+
/**
|
26
|
+
* The language to use for locale-aware formatting
|
27
|
+
*/
|
28
|
+
contentLanguage: string;
|
29
|
+
size: ElementSize;
|
30
|
+
slotContent: any;
|
31
|
+
private _displayAsElement;
|
32
|
+
private _weekStartElement;
|
33
|
+
private _weekDayAndMonthInYearFormatElement;
|
34
|
+
private _monthNameFormatElement;
|
35
|
+
private _monthNameElement;
|
36
|
+
private _weekFormatElement;
|
37
|
+
private _dateFormatElement;
|
38
|
+
private _dateSeparatorElement;
|
39
|
+
private _weekDayElement;
|
40
|
+
private _format24hElement;
|
41
|
+
private _contentLanguageLoaded?;
|
42
|
+
private _localeFormats?;
|
43
|
+
private _format?;
|
44
|
+
private _currentSlotContent?;
|
45
|
+
private _dateLevel?;
|
46
|
+
private _displayAs?;
|
47
|
+
private _weekStart?;
|
48
|
+
private _weekDayAndMonthInYearFormat?;
|
49
|
+
private _monthNameFormat?;
|
50
|
+
private _monthName?;
|
51
|
+
private _weekFormat?;
|
52
|
+
private _dateFormat?;
|
53
|
+
private _dateSeparator?;
|
54
|
+
private _weekDay?;
|
55
|
+
private _24hFormat?;
|
56
|
+
private _parseSlotContent;
|
57
|
+
private _calculateFormat;
|
58
|
+
private _setWeekStartsOn;
|
59
|
+
private _setDisplayAs;
|
60
|
+
private _setWeekdayAndMonthInYearFormat;
|
61
|
+
private _setMonthNameFormat;
|
62
|
+
private _setMonthName;
|
63
|
+
private _setWeekFormat;
|
64
|
+
private _setDateFormat;
|
65
|
+
private _setDateSeparator;
|
66
|
+
private _set24hFormat;
|
67
|
+
private _setWeekday;
|
68
|
+
private _calculateSlotContent;
|
69
|
+
private _sendEvent;
|
70
|
+
protected willUpdate(changedProperties: PropertyValues): void;
|
71
|
+
private _renderDisplaySettings;
|
72
|
+
private _renderWeekDayAndMonthNameFormatSettings;
|
73
|
+
private _renderMonthNameFormatSettings;
|
74
|
+
private _renderWeekFormatSettings;
|
75
|
+
private _renderWeekStartsOnSettings;
|
76
|
+
private _renderMonthNameSettings;
|
77
|
+
private _renderDateFormatSettings;
|
78
|
+
private _renderSeparatorSettings;
|
79
|
+
private _render24hFormatSettings;
|
80
|
+
private _renderWeekdaySettings;
|
81
|
+
private _renderExampleFormat;
|
82
|
+
private _renderAllSettings;
|
83
|
+
protected render(): TemplateResult | TemplateResult<1> | undefined;
|
84
|
+
}
|
85
|
+
export {};
|
@@ -0,0 +1,20 @@
|
|
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("../en-CdROUdjt.cjs");exports.LuzmoDisplaySettingsDatetime=e.LuzmoDisplaySettingsDatetime;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { LuzmoDisplaySettingsDatetime } from './display-settings-datetime';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'luzmo-display-settings-datetime': LuzmoDisplaySettingsDatetime;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export { LuzmoDisplaySettingsDatetime } from './display-settings-datetime';
|
@@ -0,0 +1,30 @@
|
|
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 { L as u } from "../en-BsAhbMzm.js";
|
21
|
+
const l = () => {
|
22
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
23
|
+
const o = document.createElement("style");
|
24
|
+
o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
|
25
|
+
}
|
26
|
+
};
|
27
|
+
l();
|
28
|
+
export {
|
29
|
+
u as LuzmoDisplaySettingsDatetime
|
30
|
+
};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
2
|
+
import '@luzmo/lucero/field-label';
|
3
|
+
import '@luzmo/lucero/icon';
|
4
|
+
import { LuzmoElement } from '@luzmo/lucero/utils';
|
5
|
+
import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
|
6
|
+
declare const LuzmoDisplaySettingsGrandTotals_base: typeof LuzmoElement & {
|
7
|
+
new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
|
8
|
+
prototype: import("@luzmo/lucero").SizedElementInterface;
|
9
|
+
};
|
10
|
+
/**
|
11
|
+
* @element luzmo-display-settings-grand-totals
|
12
|
+
* @fires slot-content-changed - Event that is fired when the slot content is changed
|
13
|
+
*/
|
14
|
+
export declare class LuzmoDisplaySettingsGrandTotals extends LuzmoDisplaySettingsGrandTotals_base {
|
15
|
+
static get styles(): CSSResultArray;
|
16
|
+
/**
|
17
|
+
* The language used in the settings
|
18
|
+
*/
|
19
|
+
language?: string;
|
20
|
+
/**
|
21
|
+
* The slotContent that is passed to the settings
|
22
|
+
*/
|
23
|
+
slotContent: any;
|
24
|
+
private _enabled?;
|
25
|
+
protected willUpdate(changedProperties: PropertyValues): void;
|
26
|
+
private toggleGrandTotals;
|
27
|
+
private sendEvent;
|
28
|
+
protected render(): TemplateResult;
|
29
|
+
}
|
30
|
+
export {};
|
@@ -0,0 +1,41 @@
|
|
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"});require("../index-CtHO6VyI.cjs");require("../index-C_3Ak4MQ.cjs");require("../index-liTHhAef.cjs");const n=require("../property-Su1Q6aME.cjs"),d=require("../sized-mixin-PyCYpyQq-sKzDjc75.cjs"),g=require("../luzmo-icons-BrtBl3E5.cjs"),c=require("../state-ByiKNRhp.cjs"),u=require("../if-defined-DMSuo5Qx.cjs"),p=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";var m=Object.defineProperty,o=(l,t,s,h)=>{for(var e=void 0,i=l.length-1,r;i>=0;i--)(r=l[i])&&(e=r(t,s,e)||e);return e&&m(t,s,e),e};class a extends d.m(n.I,{validSizes:Object.values(d.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r(p)]}willUpdate(t){var s;t.has("slotContent")&&(this._enabled=((s=this.slotContent)==null?void 0:s.grandTotals)??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){const t={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:t}}}))}render(){return n.x`<div class="settings-container">
|
21
|
+
<div class="settings-row">
|
22
|
+
<div class="setting">
|
23
|
+
<luzmo-field-label for="grand-totals">Grand totals</luzmo-field-label>
|
24
|
+
<luzmo-action-button
|
25
|
+
id="grand-totals"
|
26
|
+
toggles
|
27
|
+
emphasized
|
28
|
+
.size=${this.size}
|
29
|
+
?selected=${this._enabled}
|
30
|
+
class=${u.o(this._enabled?"active":"inactive")}
|
31
|
+
@click=${this.toggleGrandTotals}
|
32
|
+
>
|
33
|
+
<luzmo-icon
|
34
|
+
slot="icon"
|
35
|
+
.icon=${this._enabled?g.C0:g.h0}
|
36
|
+
></luzmo-icon>
|
37
|
+
${this._enabled?"Enabled":"Disabled"}
|
38
|
+
</luzmo-action-button>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>`}}o([n.n({type:String,reflect:!0})],a.prototype,"language");o([n.n()],a.prototype,"slotContent");o([c.r()],a.prototype,"_enabled");customElements.get("luzmo-display-settings-grand-totals")||customElements.define("luzmo-display-settings-grand-totals",a);exports.LuzmoDisplaySettingsGrandTotals=a;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { LuzmoDisplaySettingsGrandTotals } from './display-settings-grand-totals';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'luzmo-display-settings-grand-totals': LuzmoDisplaySettingsGrandTotals;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export { LuzmoDisplaySettingsGrandTotals } from './display-settings-grand-totals';
|
@@ -0,0 +1,115 @@
|
|
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 "../index-EQldC-LR.js";
|
21
|
+
import "../index-B5VaT0lQ.js";
|
22
|
+
import "../index-BC-nmKjU.js";
|
23
|
+
import { I as m, r as c, x as d, n as i } from "../property-CD3dwBJC.js";
|
24
|
+
import { m as z, d as g } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
|
25
|
+
import { C as p, h as b } from "../luzmo-icons-CZEpXpvy.js";
|
26
|
+
import { r as f } from "../state-B1a8XIDm.js";
|
27
|
+
import { o as h } from "../if-defined-Ch2dtEOS.js";
|
28
|
+
const u = () => {
|
29
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
30
|
+
const o = document.createElement("style");
|
31
|
+
o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
|
32
|
+
}
|
33
|
+
};
|
34
|
+
u();
|
35
|
+
const v = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";
|
36
|
+
var x = Object.defineProperty, n = (o, l, r, y) => {
|
37
|
+
for (var e = void 0, s = o.length - 1, a; s >= 0; s--)
|
38
|
+
(a = o[s]) && (e = a(l, r, e) || e);
|
39
|
+
return e && x(l, r, e), e;
|
40
|
+
};
|
41
|
+
class t extends z(m, {
|
42
|
+
validSizes: Object.values(g)
|
43
|
+
}) {
|
44
|
+
constructor() {
|
45
|
+
super(...arguments), this.slotContent = {};
|
46
|
+
}
|
47
|
+
static get styles() {
|
48
|
+
return [c(v)];
|
49
|
+
}
|
50
|
+
willUpdate(l) {
|
51
|
+
var r;
|
52
|
+
l.has("slotContent") && (this._enabled = ((r = this.slotContent) == null ? void 0 : r.grandTotals) ?? !1);
|
53
|
+
}
|
54
|
+
toggleGrandTotals() {
|
55
|
+
this._enabled = !this._enabled, this.sendEvent();
|
56
|
+
}
|
57
|
+
sendEvent() {
|
58
|
+
const l = {
|
59
|
+
enabled: !!this._enabled
|
60
|
+
};
|
61
|
+
this.dispatchEvent(
|
62
|
+
new CustomEvent("slot-content-changed", {
|
63
|
+
bubbles: !0,
|
64
|
+
composed: !0,
|
65
|
+
cancelable: !0,
|
66
|
+
detail: {
|
67
|
+
slotContent: {
|
68
|
+
...this.slotContent,
|
69
|
+
grandTotals: l
|
70
|
+
}
|
71
|
+
}
|
72
|
+
})
|
73
|
+
);
|
74
|
+
}
|
75
|
+
render() {
|
76
|
+
return d`<div class="settings-container">
|
77
|
+
<div class="settings-row">
|
78
|
+
<div class="setting">
|
79
|
+
<luzmo-field-label for="grand-totals">Grand totals</luzmo-field-label>
|
80
|
+
<luzmo-action-button
|
81
|
+
id="grand-totals"
|
82
|
+
toggles
|
83
|
+
emphasized
|
84
|
+
.size=${this.size}
|
85
|
+
?selected=${this._enabled}
|
86
|
+
class=${h(this._enabled ? "active" : "inactive")}
|
87
|
+
@click=${this.toggleGrandTotals}
|
88
|
+
>
|
89
|
+
<luzmo-icon
|
90
|
+
slot="icon"
|
91
|
+
.icon=${this._enabled ? p : b}
|
92
|
+
></luzmo-icon>
|
93
|
+
${this._enabled ? "Enabled" : "Disabled"}
|
94
|
+
</luzmo-action-button>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
</div>`;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
n([
|
101
|
+
i({ type: String, reflect: !0 })
|
102
|
+
], t.prototype, "language");
|
103
|
+
n([
|
104
|
+
i()
|
105
|
+
], t.prototype, "slotContent");
|
106
|
+
n([
|
107
|
+
f()
|
108
|
+
], t.prototype, "_enabled");
|
109
|
+
customElements.get("luzmo-display-settings-grand-totals") || customElements.define(
|
110
|
+
"luzmo-display-settings-grand-totals",
|
111
|
+
t
|
112
|
+
);
|
113
|
+
export {
|
114
|
+
t as LuzmoDisplaySettingsGrandTotals
|
115
|
+
};
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
2
|
+
import '@luzmo/lucero/action-group';
|
3
|
+
import '@luzmo/lucero/field-label';
|
4
|
+
import '@luzmo/lucero/menu';
|
5
|
+
import '@luzmo/lucero/number-field';
|
6
|
+
import '@luzmo/lucero/picker';
|
7
|
+
import '@luzmo/lucero/popover';
|
8
|
+
import { LuzmoElement } from '@luzmo/lucero/utils';
|
9
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
10
|
+
declare const LuzmoDisplaySettingsNumeric_base: typeof LuzmoElement & {
|
11
|
+
new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
|
12
|
+
prototype: import("@luzmo/lucero").SizedElementInterface;
|
13
|
+
};
|
14
|
+
/**
|
15
|
+
* @element luzmo-display-settings-numeric
|
16
|
+
* @fires slot-content-changed - Event that is fired when the slot content is changed
|
17
|
+
*/
|
18
|
+
export declare class LuzmoDisplaySettingsNumeric extends LuzmoDisplaySettingsNumeric_base {
|
19
|
+
static get styles(): CSSResultArray;
|
20
|
+
/**
|
21
|
+
* The language used in the settings
|
22
|
+
*/
|
23
|
+
language?: string;
|
24
|
+
/**
|
25
|
+
* The slotContent that is passed to the settings
|
26
|
+
*/
|
27
|
+
slotContent: any;
|
28
|
+
/**
|
29
|
+
* The list of columns that can be used for the rate aggregation
|
30
|
+
*/
|
31
|
+
measureColumns: any[];
|
32
|
+
private _displayAs?;
|
33
|
+
private _displayMode?;
|
34
|
+
private _numericFormatGroup?;
|
35
|
+
private _precision?;
|
36
|
+
private _thousandSeparator?;
|
37
|
+
private _commaDecimals?;
|
38
|
+
private _isAuto?;
|
39
|
+
private _format?;
|
40
|
+
private _durationFormat?;
|
41
|
+
private _durationLevels;
|
42
|
+
private _maxDurationLevel?;
|
43
|
+
private _aggregationFunc?;
|
44
|
+
private _aggregationWeightColumn?;
|
45
|
+
private _displayAsElement;
|
46
|
+
private _precisionElement;
|
47
|
+
private _aggregationElement;
|
48
|
+
private _aggregationWeightElement;
|
49
|
+
private _durationLevelsElement;
|
50
|
+
private _durationFormatElement;
|
51
|
+
private _durationLevelsOverlay;
|
52
|
+
private _renderDurationLevelMenu;
|
53
|
+
private _sendEvent;
|
54
|
+
private _parseSavedNumericFormatSettings;
|
55
|
+
private _setNumericDisplayAs;
|
56
|
+
private _setNumericSeparators;
|
57
|
+
private _setPrecision;
|
58
|
+
private _setNumericFormat;
|
59
|
+
private _setAggregationFunc;
|
60
|
+
private _setAggregationWeight;
|
61
|
+
private _setDurationLevels;
|
62
|
+
private _setDurationFormat;
|
63
|
+
private _fillTimeDurationLevels;
|
64
|
+
protected willUpdate(changedProperties: Map<string, any>): void;
|
65
|
+
protected firstUpdated(): void;
|
66
|
+
private _renderDurationLevelsSettings;
|
67
|
+
private _renderDurationFormatSettings;
|
68
|
+
private _renderNumericDisplayAsSettings;
|
69
|
+
private _renderNumericFormatSettings;
|
70
|
+
private _renderAggregationSettings;
|
71
|
+
protected render(): TemplateResult;
|
72
|
+
}
|
73
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export type NumericSeparatorFormatLabels = 'Auto' | '1,000.00' | '1.000,00' | '1000.00' | '1000,00';
|
2
|
+
export type DurationFormat = 'time' | 'short' | 'long';
|
3
|
+
export type DisplayAsFormatLabel = 'general' | 'scientific' | 'percentage';
|
4
|
+
export declare const AGGREGATIONS: Record<string, string>;
|
5
|
+
export declare const DISPLAY_AS_LABELS: Record<DisplayAsFormatLabel, string>;
|
6
|
+
export declare const DURATION_FORMATS: Record<DurationFormat, string>;
|
7
|
+
export declare const NUMERIC_SEPARATOR_FORMATS: Record<NumericSeparatorFormatLabels, {
|
8
|
+
auto: boolean;
|
9
|
+
thousandSeparator?: ',' | '.';
|
10
|
+
decimalSeparator?: ',' | '.';
|
11
|
+
}>;
|
12
|
+
export declare const DURATION: {
|
13
|
+
levels: {
|
14
|
+
level: number;
|
15
|
+
label: string;
|
16
|
+
}[];
|
17
|
+
};
|