bromcom-ui 2.7.38-rc.5 → 2.7.38-rc.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/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-0552d776.entry.js +5 -0
- package/dist/bromcom-ui/{p-eaa34b84.entry.js → p-1978e4ae.entry.js} +1 -1
- package/dist/bromcom-ui/p-202a35f5.entry.js +5 -0
- package/dist/bromcom-ui/p-206ba944.entry.js +5 -0
- package/dist/bromcom-ui/{p-c29da4ac.entry.js → p-247dc023.entry.js} +1 -1
- package/dist/bromcom-ui/{p-98bc5080.entry.js → p-29f102ca.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7d44d970.entry.js → p-32fd7928.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51b7b796.entry.js → p-34ddda2c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2535fab3.entry.js → p-3889671a.entry.js} +1 -1
- package/dist/bromcom-ui/p-395c5af8.entry.js +5 -0
- package/dist/bromcom-ui/p-3b1c383d.entry.js +5 -0
- package/dist/bromcom-ui/p-3eb552e1.entry.js +5 -0
- package/dist/bromcom-ui/{p-569a770d.js → p-3f4cb185.js} +1 -1
- package/dist/bromcom-ui/p-4bebc821.entry.js +5 -0
- package/dist/bromcom-ui/p-5d49b575.entry.js +5 -0
- package/dist/bromcom-ui/{p-0da4b4f6.entry.js → p-66e177fa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-375429c3.entry.js → p-6720d135.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a24e8548.entry.js → p-746b8d13.entry.js} +1 -1
- package/dist/bromcom-ui/p-76cc282d.entry.js +5 -0
- package/dist/bromcom-ui/p-7887788c.entry.js +5 -0
- package/dist/bromcom-ui/{p-9086c5e5.entry.js → p-78cf8966.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cb975855.entry.js → p-7b5e88c5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32f45464.js → p-7c8b3850.js} +1 -1
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/p-80da815b.entry.js +5 -0
- package/dist/bromcom-ui/{p-faf0477b.entry.js → p-832d5db2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-18b8a781.entry.js → p-8419365d.entry.js} +1 -1
- package/dist/bromcom-ui/p-842a7205.entry.js +5 -0
- package/dist/bromcom-ui/{p-e6a8de73.entry.js → p-861bbeb4.entry.js} +1 -1
- package/dist/bromcom-ui/p-87a2ca93.entry.js +5 -0
- package/dist/bromcom-ui/{p-fef7d1c2.js → p-8add2f07.js} +1 -1
- package/dist/bromcom-ui/p-8afdd032.entry.js +5 -0
- package/dist/bromcom-ui/p-8b6c9b3f.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/p-902e5178.entry.js +5 -0
- package/dist/bromcom-ui/{p-c64aa680.js → p-9893a7e0.js} +1 -1
- package/dist/bromcom-ui/{p-20a0dd5e.js → p-9a333950.js} +1 -1
- package/dist/bromcom-ui/{p-10a311a3.entry.js → p-9c3491c8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0dff677e.entry.js → p-9df55487.entry.js} +1 -1
- package/dist/bromcom-ui/p-a262d557.entry.js +5 -0
- package/dist/bromcom-ui/{p-a8d1397d.js → p-a3ffcb0d.js} +1 -1
- package/dist/bromcom-ui/{p-8079d3c3.entry.js → p-a633eb0f.entry.js} +1 -1
- package/dist/bromcom-ui/p-a8abc160.entry.js +5 -0
- package/dist/bromcom-ui/p-b0ee4b82.entry.js +5 -0
- package/dist/bromcom-ui/p-b1014f04.entry.js +5 -0
- package/dist/bromcom-ui/{p-cd228a80.entry.js → p-bd07fa7e.entry.js} +1 -1
- package/dist/bromcom-ui/p-bde3280f.entry.js +5 -0
- package/dist/bromcom-ui/p-c5e3161a.entry.js +5 -0
- package/dist/bromcom-ui/p-c600dbc4.entry.js +5 -0
- package/dist/bromcom-ui/{p-a69c178b.entry.js → p-cadb3b85.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b99d105e.js → p-d62b511d.js} +1 -1
- package/dist/bromcom-ui/p-d82bfe4d.entry.js +5 -0
- package/dist/bromcom-ui/{p-9e6e812b.entry.js → p-da7603b0.entry.js} +1 -1
- package/dist/bromcom-ui/p-e2c4df6f.entry.js +5 -0
- package/dist/bromcom-ui/p-e377c5aa.entry.js +5 -0
- package/dist/bromcom-ui/p-e3d42795.entry.js +5 -0
- package/dist/bromcom-ui/{p-1a1ee7ac.entry.js → p-e48c96b5.entry.js} +1 -1
- package/dist/bromcom-ui/p-ea31a4c1.entry.js +5 -0
- package/dist/bromcom-ui/p-ea341359.entry.js +5 -0
- package/dist/bromcom-ui/{p-06d5b45b.js → p-eb0ca642.js} +1 -1
- package/dist/bromcom-ui/{p-c80351a4.entry.js → p-ecaf2ad8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b47a1f56.entry.js → p-f31ef56a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6bc8c9a5.entry.js → p-f5ae5381.entry.js} +1 -1
- package/dist/bromcom-ui/p-f62f236c.entry.js +5 -0
- package/dist/bromcom-ui/p-f8813732.entry.js +5 -0
- package/dist/bromcom-ui/p-f9508d68.entry.js +5 -0
- package/dist/bromcom-ui/p-fbb2529c.entry.js +5 -0
- package/dist/bromcom-ui/p-fc093746.entry.js +5 -0
- package/dist/bromcom-ui/{p-b1b449e5.entry.js → p-fc1ef08f.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button.cjs.entry.js +2 -2
- package/dist/cjs/bcm-card.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-chip.cjs.entry.js +17 -4
- package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +179 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1436 -0
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-icon.cjs.entry.js +41 -0
- package/dist/cjs/bcm-input.cjs.entry.js +5 -5
- package/dist/cjs/bcm-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-items.cjs.entry.js +1 -1
- package/dist/{bromcom-ui/p-b7d57364.entry.js → cjs/bcm-label_2.cjs.entry.js} +118 -1
- package/dist/cjs/bcm-link.cjs.entry.js +1 -1
- package/dist/cjs/bcm-linked_2.cjs.entry.js +25 -25
- package/dist/cjs/bcm-list.cjs.entry.js +14 -8
- package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
- package/dist/cjs/bcm-old-input.cjs.entry.js +411 -0
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
- package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
- package/dist/cjs/bcm-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-radio.cjs.entry.js +2 -2
- package/dist/cjs/bcm-range.cjs.entry.js +2 -2
- package/dist/cjs/bcm-search.cjs.entry.js +3 -3
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-step.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +3 -3
- package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab-group.cjs.entry.js +47 -47
- package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-text.cjs.entry.js +1 -1
- package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +147 -0
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-444f78d8.js → generate-30477ea5.js} +1 -1
- package/dist/cjs/{input-template-1c41f731.js → input-template-03566262.js} +1 -1
- package/dist/cjs/{json-parse-decarator-1df79b49.js → json-parse-decarator-cd45d5f3.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-61ad541b.js → number-helper-c595fb51.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{stepper-states-b820e69c.js → stepper-states-dbd85ea1.js} +1 -1
- package/dist/cjs/{tooltip-helper-22b169c4.js → tooltip-helper-57c183c2.js} +3 -3
- package/dist/cjs/{validators-3a5d3be9.js → validators-6a70f5f8.js} +1 -1
- package/dist/collection/components/atoms/avatar/avatar.css +3 -1
- package/dist/collection/components/atoms/badge/badge.css +3 -1
- package/dist/collection/components/atoms/button/button.css +3 -1
- package/dist/collection/components/atoms/chip/chip.css +3 -1
- package/dist/collection/components/atoms/chip/chip.js +61 -3
- package/dist/collection/components/atoms/label/label.css +3 -1
- package/dist/collection/components/atoms/link/link.css +3 -1
- package/dist/collection/components/molecules/button-group/button-group.css +7 -1
- package/dist/collection/components/molecules/card/card.css +3 -1
- package/dist/collection/components/molecules/checkbox/checkbox.css +9 -3
- package/dist/collection/components/molecules/drawer/drawer.css +3 -1
- package/dist/collection/components/molecules/dropdown/dropdown.css +3 -1
- package/dist/collection/components/molecules/error-layout/error-layout.css +3 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +3 -1
- package/dist/collection/components/molecules/input/input.css +9 -3
- package/dist/collection/components/molecules/item/item.css +3 -1
- package/dist/collection/components/molecules/linked/linked.js +28 -28
- package/dist/collection/components/molecules/menu/menu.css +3 -1
- package/dist/collection/components/molecules/modal/modal.css +3 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +3 -1
- package/dist/collection/components/molecules/popover/popover.js +11 -11
- package/dist/collection/components/molecules/progress/progress.css +3 -1
- package/dist/collection/components/molecules/radio/group.css +6 -2
- package/dist/collection/components/molecules/radio/radio.css +9 -3
- package/dist/collection/components/molecules/range/range.css +3 -1
- package/dist/collection/components/molecules/search/search.css +9 -3
- package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
- package/dist/collection/components/molecules/stepper/stepper.css +5 -2
- package/dist/collection/components/molecules/switch/switch.css +9 -3
- package/dist/collection/components/molecules/tab-group/tab-group.js +52 -52
- package/dist/collection/components/molecules/textarea/textarea.css +9 -3
- package/dist/collection/components/molecules/tooltip/tooltip.js +9 -9
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +9 -3
- package/dist/collection/components/organism/list/list.css +12 -4
- package/dist/collection/components/other/attendance/attendance.css +3 -1
- package/dist/collection/components/other_deprecated/old-input/old-input.css +9 -3
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +3 -1
- package/dist/collection/components/other_deprecated/tabs/tab.css +3 -1
- package/dist/collection/components/other_deprecated/text/text.css +3 -1
- package/dist/collection/global/components/_checkbox.css +3 -1
- package/dist/collection/templates/list-template.js +8 -2
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bcm-attendance.js +1 -1
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-card.js +1 -1
- package/dist/components/bcm-chip.js +17 -4
- package/dist/components/bcm-drawer.js +1 -1
- package/dist/components/bcm-dropdown.js +1 -1
- package/dist/components/bcm-error-layout.js +1 -1
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-input.js +1 -1
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-list.js +9 -3
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-popover.js +4 -4
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +1 -1
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-stepper.js +1 -1
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-group.js +46 -46
- package/dist/components/bcm-tab.js +1 -1
- package/dist/components/bcm-textarea.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/datetime-picker.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/linked.js +20 -20
- package/dist/components/menu.js +1 -1
- package/dist/components/old-input.js +1 -1
- package/dist/components/old-popover-box.js +1 -1
- package/dist/components/popconfirm-box.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/skeleton.js +5 -5
- package/dist/components/text.js +1 -1
- package/dist/components/tooltip.js +3 -3
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-alert.entry.js +1 -1
- package/dist/esm/bcm-attendance.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +8 -8
- package/dist/esm/bcm-breadcrumb.entry.js +1 -1
- package/dist/esm/bcm-button-group.entry.js +2 -2
- package/dist/esm/bcm-button.entry.js +4 -4
- package/dist/esm/bcm-card.entry.js +4 -4
- package/dist/esm/bcm-checkbox-group.entry.js +2 -2
- package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
- package/dist/esm/bcm-checkbox_2.entry.js +4 -4
- package/dist/esm/bcm-chip.entry.js +20 -7
- package/dist/esm/bcm-collapse-group.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +1 -1
- package/dist/esm/bcm-colorpicker.entry.js +2 -2
- package/dist/esm/bcm-date-picker.entry.js +175 -0
- package/dist/esm/bcm-datetime-picker.entry.js +1432 -0
- package/dist/esm/bcm-default.entry.js +1 -1
- package/dist/esm/bcm-drawer.entry.js +7 -7
- package/dist/esm/bcm-dropdown.entry.js +3 -3
- package/dist/esm/bcm-error-layout.entry.js +1 -1
- package/dist/esm/bcm-expansion-panel.entry.js +4 -4
- package/dist/esm/bcm-form-2.entry.js +1 -1
- package/dist/esm/bcm-form.entry.js +1 -1
- package/dist/esm/bcm-icon.entry.js +37 -0
- package/dist/esm/bcm-input.entry.js +6 -6
- package/dist/esm/bcm-item.entry.js +4 -4
- package/dist/esm/bcm-items.entry.js +1 -1
- package/dist/esm/bcm-label_2.entry.js +117 -0
- package/dist/esm/bcm-link.entry.js +1 -1
- package/dist/esm/bcm-linked_2.entry.js +28 -28
- package/dist/esm/bcm-list.entry.js +17 -11
- package/dist/esm/bcm-modal.entry.js +2 -2
- package/dist/esm/bcm-old-input.entry.js +407 -0
- package/dist/esm/bcm-old-tag_2.entry.js +1 -1
- package/dist/esm/bcm-popconfirm-box.entry.js +4 -4
- package/dist/esm/bcm-popconfirm.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +10 -10
- package/dist/esm/bcm-progress.entry.js +4 -4
- package/dist/esm/bcm-radio-group.entry.js +3 -3
- package/dist/esm/bcm-radio.entry.js +4 -4
- package/dist/esm/bcm-range.entry.js +3 -3
- package/dist/esm/bcm-search.entry.js +4 -4
- package/dist/esm/bcm-select.entry.js +1 -1
- package/dist/esm/bcm-skeleton.entry.js +6 -6
- package/dist/esm/bcm-step.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +4 -4
- package/dist/esm/bcm-switch.entry.js +3 -3
- package/dist/esm/bcm-tab-group.entry.js +47 -47
- package/dist/esm/bcm-tab.entry.js +1 -1
- package/dist/esm/bcm-table.entry.js +1 -1
- package/dist/esm/bcm-tabs-content.entry.js +1 -1
- package/dist/esm/bcm-tabs.entry.js +1 -1
- package/dist/esm/bcm-tag.entry.js +3 -3
- package/dist/esm/bcm-text.entry.js +3 -3
- package/dist/esm/bcm-textarea.entry.js +4 -4
- package/dist/esm/bcm-time-picker.entry.js +143 -0
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{color-helper-b5e9aa56.js → color-helper-7e202fd8.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/{generate-3650d0a8.js → generate-e8056697.js} +1 -1
- package/dist/esm/{input-template-0a009dc3.js → input-template-ad71e08b.js} +1 -1
- package/dist/esm/{json-parse-decarator-8a38db81.js → json-parse-decarator-03fe6dfa.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-ad46adfd.js → number-helper-a38db352.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +5 -5
- package/dist/esm/old-bcm-popover.entry.js +1 -1
- package/dist/esm/{stepper-states-808a6dce.js → stepper-states-9ba4f442.js} +1 -1
- package/dist/esm/{tooltip-helper-fe6a79f6.js → tooltip-helper-1f693a3d.js} +5 -5
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-18fc528d.js → validators-66052fb7.js} +1 -1
- package/dist/types/components/atoms/chip/chip.d.ts +6 -1
- package/dist/types/components/molecules/linked/linked.d.ts +2 -2
- package/dist/types/components/molecules/popover/popover.d.ts +3 -3
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +2 -2
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +3 -3
- package/dist/types/components.d.ts +7 -0
- package/package.json +103 -70
- package/dist/bromcom-ui/p-02df0e61.entry.js +0 -5
- package/dist/bromcom-ui/p-09a7cbd8.entry.js +0 -5
- package/dist/bromcom-ui/p-0e47fd55.entry.js +0 -5
- package/dist/bromcom-ui/p-17c906e2.entry.js +0 -5
- package/dist/bromcom-ui/p-20ee086e.entry.js +0 -5
- package/dist/bromcom-ui/p-245639aa.entry.js +0 -5
- package/dist/bromcom-ui/p-2a7f29b6.entry.js +0 -5
- package/dist/bromcom-ui/p-2c31ab48.entry.js +0 -5
- package/dist/bromcom-ui/p-4416fc0a.entry.js +0 -5
- package/dist/bromcom-ui/p-46bc2218.entry.js +0 -5
- package/dist/bromcom-ui/p-5c8da4ba.entry.js +0 -5
- package/dist/bromcom-ui/p-910f82d6.entry.js +0 -5
- package/dist/bromcom-ui/p-975d3153.entry.js +0 -5
- package/dist/bromcom-ui/p-9d791103.entry.js +0 -5
- package/dist/bromcom-ui/p-9fd54986.entry.js +0 -5
- package/dist/bromcom-ui/p-a65d4efc.entry.js +0 -5
- package/dist/bromcom-ui/p-afdbe4b8.entry.js +0 -5
- package/dist/bromcom-ui/p-b00dce70.entry.js +0 -5
- package/dist/bromcom-ui/p-b1435ced.entry.js +0 -5
- package/dist/bromcom-ui/p-b42ba972.entry.js +0 -5
- package/dist/bromcom-ui/p-b8ac51ee.entry.js +0 -5
- package/dist/bromcom-ui/p-c0367eac.entry.js +0 -5
- package/dist/bromcom-ui/p-c59b1d70.entry.js +0 -5
- package/dist/bromcom-ui/p-dbb1b1c8.entry.js +0 -5
- package/dist/bromcom-ui/p-e92ea676.entry.js +0 -5
- package/dist/bromcom-ui/p-f25e022d.entry.js +0 -5
- package/dist/bromcom-ui/p-f8debd1c.entry.js +0 -5
- package/dist/bromcom-ui/p-fd1b7034.entry.js +0 -5
- package/dist/cjs/bcm-date-picker_7.cjs.entry.js +0 -2257
- package/dist/esm/bcm-date-picker_7.entry.js +0 -2247
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-58077b32.js';
|
|
6
|
+
import { c as classnames } from './index-ba2edd32.js';
|
|
7
|
+
import { I as IsLoad } from './is-load-decorator-d57b8f9e.js';
|
|
8
|
+
import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
|
|
9
|
+
import { G as Generate } from './generate-e8056697.js';
|
|
10
|
+
import { B as Bcm } from './bcm-b8d8a236.js';
|
|
11
|
+
import { d as delay } from './utils-57652744.js';
|
|
12
|
+
import './_commonjsHelpers-3016b722.js';
|
|
13
|
+
|
|
14
|
+
const datePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-block;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
15
|
+
|
|
16
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
19
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else
|
|
21
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
22
|
+
if (d = decorators[i])
|
|
23
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
const BcmDatePicker = class {
|
|
27
|
+
constructor(hostRef) {
|
|
28
|
+
registerInstance(this, hostRef);
|
|
29
|
+
this._id = Generate.UID();
|
|
30
|
+
this.date = new Date();
|
|
31
|
+
this.value = undefined;
|
|
32
|
+
this.endDate = null;
|
|
33
|
+
this.range = false;
|
|
34
|
+
this.hidden = false;
|
|
35
|
+
this.name = undefined;
|
|
36
|
+
this.fullWidth = false;
|
|
37
|
+
this.required = false;
|
|
38
|
+
this.label = undefined;
|
|
39
|
+
this.placeholder = undefined;
|
|
40
|
+
this.disabledDates = '';
|
|
41
|
+
this.disabled = false;
|
|
42
|
+
this.noCaption = false;
|
|
43
|
+
this.caption = '';
|
|
44
|
+
this.captionError = undefined;
|
|
45
|
+
this.captionType = 'default';
|
|
46
|
+
this.alignment = undefined;
|
|
47
|
+
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
48
|
+
this.placement = Bcm.Placement['bottom-start'];
|
|
49
|
+
this.linkedComponent = undefined;
|
|
50
|
+
this.clearable = false;
|
|
51
|
+
this.stateStartDate = null;
|
|
52
|
+
this.stateEndDate = null;
|
|
53
|
+
}
|
|
54
|
+
handleStartDateChange() {
|
|
55
|
+
this.handleDate();
|
|
56
|
+
}
|
|
57
|
+
handleEndDateChange() {
|
|
58
|
+
this.handleDate();
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @desc
|
|
62
|
+
*/
|
|
63
|
+
handlePickerLoad() {
|
|
64
|
+
this.value = this.picker.value;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @desc
|
|
68
|
+
* @param event
|
|
69
|
+
*/
|
|
70
|
+
handlePickerChange(event) {
|
|
71
|
+
this.value = event.detail;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @desc
|
|
75
|
+
* @param value
|
|
76
|
+
*/
|
|
77
|
+
async set(value) {
|
|
78
|
+
return this.picker.set(value);
|
|
79
|
+
}
|
|
80
|
+
async get() {
|
|
81
|
+
var _a;
|
|
82
|
+
return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* @desc
|
|
86
|
+
* @param disabled
|
|
87
|
+
*/
|
|
88
|
+
async setDisabled(disabled) {
|
|
89
|
+
this.disabled = disabled;
|
|
90
|
+
}
|
|
91
|
+
async setClear() {
|
|
92
|
+
await this.picker.setClear();
|
|
93
|
+
await delay(10);
|
|
94
|
+
return Promise.resolve();
|
|
95
|
+
}
|
|
96
|
+
async setStartDate(dateOrTime) {
|
|
97
|
+
if (dateOrTime) {
|
|
98
|
+
dateOrTime = DateTimeHelper.convertTimeStampToDate(new Date(dateOrTime).getTime());
|
|
99
|
+
this.stateStartDate = dateOrTime;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.setClear();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
async setEndDate(dateOrTime) {
|
|
106
|
+
if (dateOrTime) {
|
|
107
|
+
dateOrTime = DateTimeHelper.convertTimeStampToDate(new Date(dateOrTime).getTime());
|
|
108
|
+
this.stateEndDate = dateOrTime;
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
this.setClear();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/* mp --- */
|
|
115
|
+
handleDate() {
|
|
116
|
+
if (this.range) {
|
|
117
|
+
if (this.stateStartDate && this.stateEndDate) {
|
|
118
|
+
this.set(this.stateStartDate + '-' + this.stateEndDate);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
this.set(this.stateStartDate);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @desc
|
|
127
|
+
*/
|
|
128
|
+
async getInput() {
|
|
129
|
+
return await this.picker.getInput();
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @desc
|
|
133
|
+
*/
|
|
134
|
+
async open() {
|
|
135
|
+
return await this.picker.open();
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @desc
|
|
139
|
+
*/
|
|
140
|
+
async getValue() {
|
|
141
|
+
return this.value;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @desc
|
|
145
|
+
*/
|
|
146
|
+
async isValid() {
|
|
147
|
+
return await this.picker.isValid();
|
|
148
|
+
}
|
|
149
|
+
async resetCaption() {
|
|
150
|
+
await delay(10);
|
|
151
|
+
await this.picker.resetCaption();
|
|
152
|
+
this.captionType = 'default';
|
|
153
|
+
this.captionError = null;
|
|
154
|
+
await delay(10);
|
|
155
|
+
return Promise.resolve();
|
|
156
|
+
}
|
|
157
|
+
render() {
|
|
158
|
+
const hostClasses = classnames(this.hidden ? 'hidden' : null, {
|
|
159
|
+
'full-width': this.fullWidth,
|
|
160
|
+
'linked-component': this.linkedComponent,
|
|
161
|
+
});
|
|
162
|
+
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
|
|
163
|
+
}
|
|
164
|
+
get el() { return getElement(this); }
|
|
165
|
+
static get watchers() { return {
|
|
166
|
+
"stateStartDate": ["handleStartDateChange"],
|
|
167
|
+
"stateEndDate": ["handleEndDateChange"]
|
|
168
|
+
}; }
|
|
169
|
+
};
|
|
170
|
+
__decorate([
|
|
171
|
+
IsLoad()
|
|
172
|
+
], BcmDatePicker.prototype, "el", void 0);
|
|
173
|
+
BcmDatePicker.style = datePickerCss;
|
|
174
|
+
|
|
175
|
+
export { BcmDatePicker as bcm_date_picker };
|