bromcom-ui 2.8.0-rc.10-e → 2.8.0-rc.10-f
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-00081c8f.entry.js +5 -0
- package/dist/bromcom-ui/{p-979c517d.entry.js → p-00a0bbb0.entry.js} +1 -1
- package/dist/bromcom-ui/p-0244ec6a.entry.js +5 -0
- package/dist/bromcom-ui/{p-0d3a847b.entry.js → p-05851404.entry.js} +1 -1
- package/dist/bromcom-ui/p-08841042.entry.js +5 -0
- package/dist/bromcom-ui/{p-0b06a718.entry.js → p-10f8e27d.entry.js} +1 -1
- package/dist/bromcom-ui/p-12bdaed1.entry.js +5 -0
- package/dist/bromcom-ui/p-1748fa48.entry.js +5 -0
- package/dist/bromcom-ui/{p-230b4d0b.entry.js → p-19769caf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eb6f8ddf.js → p-1c09af4f.js} +1 -1
- package/dist/bromcom-ui/p-1d0bf823.entry.js +5 -0
- package/dist/bromcom-ui/{p-38dc893a.entry.js → p-2a01c091.entry.js} +1 -1
- package/dist/bromcom-ui/{p-98cb5854.entry.js → p-39b8a477.entry.js} +1 -1
- package/dist/bromcom-ui/{p-64d74851.entry.js → p-3bf3f141.entry.js} +1 -1
- package/dist/bromcom-ui/p-3fc76873.entry.js +5 -0
- package/dist/bromcom-ui/p-40d09bfc.entry.js +5 -0
- package/dist/bromcom-ui/p-40ed6269.entry.js +5 -0
- package/dist/bromcom-ui/p-4af70ae2.entry.js +5 -0
- package/dist/bromcom-ui/{p-fd3a7ac3.entry.js → p-4b76af90.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ac746e1f.entry.js → p-4f77fafe.entry.js} +1 -1
- package/dist/bromcom-ui/p-58efe9aa.entry.js +5 -0
- package/dist/bromcom-ui/p-59c7e787.entry.js +5 -0
- package/dist/bromcom-ui/{p-bdca15df.entry.js → p-625da564.entry.js} +1 -1
- package/dist/bromcom-ui/p-6612ed29.entry.js +5 -0
- package/dist/bromcom-ui/p-67667db7.entry.js +5 -0
- package/dist/bromcom-ui/p-68870edd.entry.js +5 -0
- package/dist/bromcom-ui/{p-47d31034.js → p-6ee5b075.js} +1 -1
- package/dist/bromcom-ui/{p-2251de8e.entry.js → p-7093021e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c8ca32d0.js → p-76b12489.js} +1 -1
- package/dist/bromcom-ui/p-79e7cb18.entry.js +5 -0
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/p-8383a0df.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/{p-4737685a.entry.js → p-8d00f15c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-95115abd.entry.js → p-8e85c2be.entry.js} +1 -1
- package/dist/bromcom-ui/p-9486d6a0.entry.js +5 -0
- package/dist/bromcom-ui/{p-5e9f06c4.entry.js → p-96a6ea7b.entry.js} +1 -1
- package/dist/bromcom-ui/p-993b7cc2.entry.js +5 -0
- package/dist/bromcom-ui/{p-182f2e54.js → p-9c761970.js} +1 -1
- package/dist/bromcom-ui/p-9d177c47.entry.js +5 -0
- package/dist/bromcom-ui/p-a0d8a598.entry.js +5 -0
- package/dist/bromcom-ui/p-a5bc6810.entry.js +5 -0
- package/dist/bromcom-ui/p-a8e3e1b5.js +5 -0
- package/dist/bromcom-ui/p-ad191dd1.entry.js +5 -0
- package/dist/bromcom-ui/p-af43509f.entry.js +5 -0
- package/dist/bromcom-ui/p-b465caeb.js +5 -0
- package/dist/bromcom-ui/p-bafdd186.entry.js +5 -0
- package/dist/bromcom-ui/{p-61050b86.entry.js → p-be390f36.entry.js} +1 -1
- package/dist/bromcom-ui/p-bf793f02.entry.js +5 -0
- package/dist/bromcom-ui/p-c09a1784.entry.js +5 -0
- package/dist/bromcom-ui/{p-a5c337be.entry.js → p-c282ccd5.entry.js} +1 -1
- package/dist/bromcom-ui/p-c526e41e.entry.js +5 -0
- package/dist/bromcom-ui/{p-f9aec5ea.entry.js → p-c7e245a3.entry.js} +1 -1
- package/dist/bromcom-ui/p-ce7c926c.entry.js +5 -0
- package/dist/bromcom-ui/{p-9431336c.entry.js → p-ce86d569.entry.js} +1 -1
- package/dist/bromcom-ui/{p-abff8ac0.js → p-d0750f4d.js} +1 -1
- package/dist/bromcom-ui/{p-88097c57.entry.js → p-d091119c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-493db9b2.entry.js → p-d3492737.entry.js} +1 -1
- package/dist/bromcom-ui/{p-07f866f0.entry.js → p-d5f9c429.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ee9eec69.entry.js → p-dc16be5b.entry.js} +1 -1
- package/dist/bromcom-ui/p-e4924a0c.entry.js +5 -0
- package/dist/bromcom-ui/{p-e9a4fe7f.js → p-ea722b84.js} +1 -1
- package/dist/bromcom-ui/p-eb0ab3d9.entry.js +5 -0
- package/dist/bromcom-ui/p-ec8f3c78.entry.js +5 -0
- package/dist/bromcom-ui/p-ec920bc7.entry.js +5 -0
- package/dist/bromcom-ui/{p-3d554134.entry.js → p-f0ff7f44.entry.js} +1 -1
- package/dist/bromcom-ui/p-fa8efda9.entry.js +5 -0
- package/dist/bromcom-ui/p-fd21becc.entry.js +5 -0
- package/dist/bromcom-ui/p-fd931091.entry.js +5 -0
- 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-59cf94ef.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-73f0e7fa.js → generate-43262f69.js} +1 -1
- package/dist/cjs/{input-template-80bdebb9.js → input-template-82b06cc3.js} +1 -1
- package/dist/cjs/{json-parse-decarator-5ddb904f.js → json-parse-decarator-9bc2ee93.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-9ec79895.js → number-helper-fa69ea24.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-4dd53227.js → stepper-states-d7f6c19a.js} +1 -1
- package/dist/cjs/{tooltip-helper-7a083cfa.js → tooltip-helper-9f6a9b2d.js} +3 -3
- package/dist/cjs/{validators-749ec256.js → validators-97891f43.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-99e2372d.js → color-helper-cb1cfc1e.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/{generate-8c14a484.js → generate-b0bd116a.js} +1 -1
- package/dist/esm/{input-template-b410853d.js → input-template-46ef248f.js} +1 -1
- package/dist/esm/{json-parse-decarator-46d7fb30.js → json-parse-decarator-012a2b54.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-a73a8afd.js → number-helper-c6129a13.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-72315d1c.js → stepper-states-4e165709.js} +1 -1
- package/dist/esm/{tooltip-helper-03815ca5.js → tooltip-helper-8bae18d3.js} +5 -5
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-17c10ac3.js → validators-ae61406d.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-08766a3b.entry.js +0 -5
- package/dist/bromcom-ui/p-099b2c87.entry.js +0 -5
- package/dist/bromcom-ui/p-1ac26471.entry.js +0 -5
- package/dist/bromcom-ui/p-261210e9.entry.js +0 -5
- package/dist/bromcom-ui/p-26d5447f.entry.js +0 -5
- package/dist/bromcom-ui/p-29c28298.entry.js +0 -5
- package/dist/bromcom-ui/p-302dae1e.entry.js +0 -5
- package/dist/bromcom-ui/p-4b38917f.entry.js +0 -5
- package/dist/bromcom-ui/p-534adb40.entry.js +0 -5
- package/dist/bromcom-ui/p-55ad940b.entry.js +0 -5
- package/dist/bromcom-ui/p-571ba4fb.entry.js +0 -5
- package/dist/bromcom-ui/p-58fb96e0.entry.js +0 -5
- package/dist/bromcom-ui/p-64c899bf.entry.js +0 -5
- package/dist/bromcom-ui/p-64f16fde.entry.js +0 -5
- package/dist/bromcom-ui/p-65c4ae21.entry.js +0 -5
- package/dist/bromcom-ui/p-6876480b.entry.js +0 -5
- package/dist/bromcom-ui/p-6e7db831.js +0 -5
- package/dist/bromcom-ui/p-7e6e2600.entry.js +0 -5
- package/dist/bromcom-ui/p-7e8d8402.entry.js +0 -5
- package/dist/bromcom-ui/p-7edd1119.entry.js +0 -5
- package/dist/bromcom-ui/p-8dbccc6c.entry.js +0 -5
- package/dist/bromcom-ui/p-b4297fa5.entry.js +0 -5
- package/dist/bromcom-ui/p-bc2ceb90.entry.js +0 -5
- package/dist/bromcom-ui/p-bcec1564.entry.js +0 -5
- package/dist/bromcom-ui/p-c0ba4ab5.entry.js +0 -5
- package/dist/bromcom-ui/p-c44fa1a6.js +0 -5
- package/dist/bromcom-ui/p-ca6248ed.entry.js +0 -5
- package/dist/bromcom-ui/p-d8215408.entry.js +0 -5
- package/dist/bromcom-ui/p-d8d34ab0.entry.js +0 -5
- package/dist/bromcom-ui/p-da93061e.entry.js +0 -5
- package/dist/bromcom-ui/p-e16dc0df.entry.js +0 -5
- package/dist/bromcom-ui/p-f6c08ac8.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-85cce099.js';
|
|
6
|
+
import { c as classnames } from './index-ed9652af.js';
|
|
7
|
+
import { I as IsLoad } from './is-load-decorator-87c09179.js';
|
|
8
|
+
import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
|
|
9
|
+
import { G as Generate } from './generate-b0bd116a.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 };
|