bromcom-ui 2.9.0-rc.14 → 2.9.0-rc.15
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.esm.js +1 -1
- package/dist/bromcom-ui/p-01557c50.entry.js +5 -0
- package/dist/bromcom-ui/p-041126d7.entry.js +5 -0
- package/dist/bromcom-ui/{p-4798d827.js → p-07c3eb8e.js} +1 -1
- package/dist/bromcom-ui/{p-6a7e07a9.entry.js → p-10f6df36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ba3c6657.entry.js → p-1c801d0c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df185078.entry.js → p-1c9314bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a117641.entry.js → p-1f5d0561.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3006537d.entry.js → p-245a569e.entry.js} +1 -1
- package/dist/bromcom-ui/p-250ab35e.entry.js +13 -0
- package/dist/bromcom-ui/{p-7f1612df.entry.js → p-2aaeb247.entry.js} +1 -1
- package/dist/bromcom-ui/p-2dd61eee.entry.js +5 -0
- package/dist/bromcom-ui/{p-c17a1c9c.entry.js → p-2e480f64.entry.js} +1 -1
- package/dist/bromcom-ui/p-33602526.entry.js +5 -0
- package/dist/bromcom-ui/p-3432a82d.js +19 -0
- package/dist/bromcom-ui/{p-8d7c1af0.entry.js → p-3a992769.entry.js} +1 -1
- package/dist/bromcom-ui/{p-37488f1a.entry.js → p-3b9a3c38.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4df7fdfe.entry.js → p-438e38a8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9314d7ed.entry.js → p-46207bba.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b5754c6.entry.js → p-4961dc1f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d421811f.entry.js → p-4b0275bf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-123d6355.entry.js → p-4e79863b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e592196.entry.js → p-560ce7f5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7b486021.entry.js → p-5699f67d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-91246af3.js → p-5855a3ac.js} +1 -1
- package/dist/bromcom-ui/{p-dec4ea67.entry.js → p-5ea0ebfd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8fcf6a44.js → p-5ee90aab.js} +1 -1
- package/dist/bromcom-ui/p-5f0daba7.entry.js +5 -0
- package/dist/bromcom-ui/p-61193b4a.js +5 -0
- package/dist/bromcom-ui/{p-e7728eb8.entry.js → p-616eb967.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3078fcd2.entry.js → p-626b805d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f6648bd1.js → p-63e7f7ca.js} +1 -1
- package/dist/bromcom-ui/p-64a2dd84.entry.js +5 -0
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/p-689cff39.entry.js +5 -0
- package/dist/bromcom-ui/{p-01416407.entry.js → p-69260d36.entry.js} +1 -1
- package/dist/bromcom-ui/p-6bd58eb2.entry.js +5 -0
- package/dist/bromcom-ui/{p-034bbcdd.js → p-6edf985f.js} +1 -1
- package/dist/bromcom-ui/p-71a5cbd0.entry.js +5 -0
- package/dist/bromcom-ui/{p-e096c551.entry.js → p-7441ea36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-43a16ce4.js → p-74f28bd6.js} +1 -1
- package/dist/bromcom-ui/p-75668f78.entry.js +5 -0
- package/dist/bromcom-ui/{p-28f78dd4.entry.js → p-7d18ce0e.entry.js} +1 -1
- package/dist/bromcom-ui/p-7e289ea9.entry.js +5 -0
- package/dist/bromcom-ui/p-84f08fc7.entry.js +5 -0
- package/dist/bromcom-ui/{p-a42921be.entry.js → p-854d7f14.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/p-89155301.entry.js +5 -0
- package/dist/bromcom-ui/{p-02ad5557.entry.js → p-8994c73d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-12a73bfa.entry.js → p-8adc3340.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fd37157c.entry.js → p-9215fe3e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-395c780d.entry.js → p-921e14a0.entry.js} +1 -1
- package/dist/bromcom-ui/p-9850cbce.js +5 -0
- package/dist/bromcom-ui/p-986da63d.entry.js +5 -0
- package/dist/bromcom-ui/p-98fddc9a.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c111486.entry.js → p-9b786a19.entry.js} +1 -1
- package/dist/bromcom-ui/p-9d4504f2.js +5 -0
- package/dist/bromcom-ui/{p-00c15b34.entry.js → p-a107ad5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-88c10970.entry.js → p-a389094e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4e33341b.entry.js → p-a664cc20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d28142f9.entry.js → p-a7d791f3.entry.js} +1 -1
- package/dist/bromcom-ui/p-aa7af475.entry.js +5 -0
- package/dist/bromcom-ui/{p-1359971c.entry.js → p-acae5107.entry.js} +1 -1
- package/dist/bromcom-ui/p-adf9975b.js +5 -0
- package/dist/bromcom-ui/p-af3a04fa.entry.js +5 -0
- package/dist/bromcom-ui/p-b0c257dc.entry.js +5 -0
- package/dist/bromcom-ui/{p-1cadeabe.entry.js → p-b10f0360.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a2ab6adb.entry.js → p-b3ed20fd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6ab403d2.entry.js → p-b4ab469f.entry.js} +1 -1
- package/dist/bromcom-ui/p-b4dedf15.js +5 -0
- package/dist/bromcom-ui/p-b81e8f91.js +5 -0
- package/dist/bromcom-ui/{p-3a06c6b1.entry.js → p-ba9eff2a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ebe49b26.entry.js → p-bb43edd6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0332d483.js → p-bb4c1bd7.js} +1 -1
- package/dist/bromcom-ui/p-c1863294.entry.js +5 -0
- package/dist/bromcom-ui/p-c778dc08.js +5 -0
- package/dist/bromcom-ui/{p-9d12a9da.entry.js → p-c9c7067e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dbbe85a2.entry.js → p-d3c73f06.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8c3535b6.entry.js → p-d551a51d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b7f2b84.entry.js → p-da961102.entry.js} +1 -1
- package/dist/bromcom-ui/{p-461a8ad1.js → p-dc408605.js} +1 -1
- package/dist/bromcom-ui/{p-dc8305dc.js → p-df49c771.js} +1 -1
- package/dist/bromcom-ui/p-e161ca50.entry.js +5 -0
- package/dist/bromcom-ui/{p-5f9c9549.entry.js → p-e906f698.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3960cae8.entry.js → p-ece578ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1e439cb9.entry.js → p-ed0327fa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-74d95615.js → p-f4c1f369.js} +1 -1
- package/dist/bromcom-ui/{p-774708c3.js → p-f6aefdd0.js} +1 -1
- package/dist/bromcom-ui/{p-d8cadf00.entry.js → p-f96a3dfc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-84e87c10.entry.js → p-fbd1bec7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b284e383.entry.js → p-fff1a0f9.entry.js} +1 -1
- package/dist/cjs/{bcm-03727f3b.js → bcm-2f1e54ba.js} +27 -27
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +6 -7
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +4 -4
- package/dist/cjs/{bcm-button_9.cjs.entry.js → bcm-button_14.cjs.entry.js} +16737 -891
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +7 -7
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -3
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/bcm-chip-group.cjs.entry.js +8 -9
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +6 -7
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +6 -7
- package/dist/cjs/bcm-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
- package/dist/cjs/bcm-form.cjs.entry.js +3 -3
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +309 -0
- package/dist/cjs/bcm-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-items.cjs.entry.js +4 -4
- package/dist/cjs/bcm-link.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list_3.cjs.entry.js +28 -29
- package/dist/cjs/bcm-menu.cjs.entry.js +9 -10
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -7
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -7
- package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -7
- package/dist/cjs/bcm-modal.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -3
- package/dist/cjs/bcm-popover.cjs.entry.js +7 -8
- package/dist/cjs/bcm-progress.cjs.entry.js +3 -3
- package/dist/cjs/bcm-radio-group.cjs.entry.js +7 -8
- package/dist/cjs/bcm-radio.cjs.entry.js +6 -7
- package/dist/cjs/bcm-range.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +7 -8
- package/dist/cjs/bcm-switch.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tab-group.cjs.entry.js +6 -7
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +6 -7
- package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -7
- package/dist/cjs/bcm-table.cjs.entry.js +6 -7
- package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
- package/dist/cjs/bcm-text.cjs.entry.js +3 -3
- package/dist/cjs/bcm-textarea.cjs.entry.js +163 -0
- package/dist/cjs/bcm-toast.cjs.entry.js +4 -4
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{floating-ui-baa45717.js → floating-ui-b8cf8165.js} +1 -1
- package/dist/cjs/{generate-3ece348b.js → generate-a8f024e6.js} +1 -1
- package/dist/cjs/{global-6ab24771.js → global-a2abdfa3.js} +1 -1
- package/dist/cjs/{index-e05a7c6f.js → index-7eed931f.js} +1625 -24
- package/dist/cjs/{input-template-dba31783.js → input-template-b7d69c48.js} +2 -2
- package/dist/cjs/{is-load-decorator-7575fbd2.js → is-load-decorator-15036f37.js} +2 -1
- package/dist/cjs/{json-parse-decarator-1987a7bd.js → json-parse-decarator-4ca20ea1.js} +1 -1
- package/dist/cjs/{label-template-15c3c0ed.js → label-template-7549bfd3.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-f80c6c41.js → number-helper-10130b47.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
- package/dist/cjs/{package-338cedd9.js → package-e4999946.js} +1 -1
- package/dist/cjs/{popover-placement-8866eab1.js → popover-placement-e2d2de50.js} +1 -1
- package/dist/cjs/{slot-template-de6a91b1.js → slot-template-c6d74441.js} +1 -1
- package/dist/cjs/{stepper-states-310b6127.js → stepper-states-1fc0765b.js} +1 -1
- package/dist/cjs/{string-helper-9b392049.js → string-helper-77273186.js} +1 -1
- package/dist/cjs/{tooltip-helper-1a672e09.js → tooltip-helper-57810baa.js} +6 -7
- package/dist/cjs/{validators-c318271a.js → validators-b6b4447d.js} +6 -1
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +16 -14
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/organism/list/list.js +19 -0
- package/dist/collection/components/third-parts/rc-picker/date.js +163 -19
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +912 -366
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +210 -33
- package/dist/collection/decorators/is-load-decorator.js +2 -1
- package/dist/collection/models/bcm.js +27 -27
- package/dist/components/bcm-date.js +54 -12
- package/dist/components/bcm.js +27 -27
- package/dist/components/datetime-picker.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/is-load-decorator.js +2 -1
- package/dist/components/list.js +2 -0
- package/dist/components/rc-picker.js +64 -29
- package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/{bcm-ac17222c.js → bcm-40f18097.js} +27 -27
- package/dist/esm/bcm-accordion.entry.js +4 -4
- package/dist/esm/bcm-alert.entry.js +7 -7
- package/dist/esm/bcm-attendance.entry.js +4 -4
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +9 -10
- package/dist/esm/bcm-breadcrumb.entry.js +5 -5
- package/dist/esm/bcm-button-group.entry.js +7 -7
- package/dist/esm/{bcm-button_9.entry.js → bcm-button_14.entry.js} +16737 -896
- package/dist/esm/bcm-card.entry.js +9 -9
- package/dist/esm/bcm-checkbox-group.entry.js +10 -10
- package/dist/esm/bcm-checkbox-lite_9.entry.js +6 -6
- package/dist/esm/bcm-checkbox_2.entry.js +11 -11
- package/dist/esm/bcm-chip-group.entry.js +13 -14
- package/dist/esm/bcm-chip.entry.js +6 -6
- package/dist/esm/bcm-collapse.entry.js +5 -5
- package/dist/esm/bcm-color-input.entry.js +9 -10
- package/dist/esm/bcm-colorpicker.entry.js +2 -2
- package/dist/esm/bcm-default.entry.js +4 -4
- package/dist/esm/bcm-drawer.entry.js +10 -11
- package/dist/esm/bcm-dropdown.entry.js +8 -8
- package/dist/esm/bcm-error-layout.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +8 -8
- package/dist/esm/bcm-form.entry.js +5 -5
- package/dist/esm/bcm-input-custom.entry.js +5 -5
- package/dist/esm/bcm-input-dropdown.entry.js +305 -0
- package/dist/esm/bcm-item.entry.js +7 -7
- package/dist/esm/bcm-items.entry.js +6 -6
- package/dist/esm/bcm-link.entry.js +3 -3
- package/dist/esm/bcm-list_3.entry.js +19 -20
- package/dist/esm/bcm-menu.entry.js +13 -14
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal-2-footer.entry.js +10 -11
- package/dist/esm/bcm-modal-2-header.entry.js +9 -10
- package/dist/esm/bcm-modal-2.entry.js +10 -11
- package/dist/esm/bcm-modal.entry.js +8 -8
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-old-tag_2.entry.js +2 -2
- package/dist/esm/bcm-overlay_2.entry.js +3 -3
- package/dist/esm/bcm-popconfirm-box.entry.js +9 -9
- package/dist/esm/bcm-popconfirm.entry.js +6 -6
- package/dist/esm/bcm-popover.entry.js +10 -11
- package/dist/esm/bcm-progress.entry.js +7 -7
- package/dist/esm/bcm-radio-group.entry.js +12 -13
- package/dist/esm/bcm-radio.entry.js +10 -11
- package/dist/esm/bcm-range.entry.js +6 -6
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-select-group.entry.js +2 -2
- package/dist/esm/bcm-select-option.entry.js +2 -2
- package/dist/esm/bcm-select.entry.js +4 -4
- package/dist/esm/bcm-skeleton.entry.js +4 -4
- package/dist/esm/bcm-step.entry.js +6 -6
- package/dist/esm/bcm-stepper.entry.js +11 -12
- package/dist/esm/bcm-switch.entry.js +8 -8
- package/dist/esm/bcm-tab-group.entry.js +9 -10
- package/dist/esm/bcm-tab-item-header.entry.js +10 -11
- package/dist/esm/bcm-tab-item.entry.js +9 -10
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +2 -2
- package/dist/esm/bcm-table.entry.js +10 -11
- package/dist/esm/bcm-tabs-content.entry.js +2 -2
- package/dist/esm/bcm-tabs.entry.js +2 -2
- package/dist/esm/bcm-tag.entry.js +7 -7
- package/dist/esm/bcm-text.entry.js +7 -7
- package/dist/esm/bcm-textarea.entry.js +159 -0
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +7 -7
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-e973a48c.js → caption-template-d47f338f.js} +1 -1
- package/dist/esm/{color-helper-c4fa9ebc.js → color-helper-71b610e7.js} +1 -1
- package/dist/esm/{colors-e1c31f79.js → colors-ebea297f.js} +1 -1
- package/dist/esm/{floating-ui-54c52eaa.js → floating-ui-fa2d9209.js} +1 -1
- package/dist/esm/{generate-87200d1c.js → generate-ad35cf8e.js} +2 -2
- package/dist/esm/{global-50960b0d.js → global-4ab30789.js} +1 -1
- package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-a6d9d0af.js → index-e4b6a4ce.js} +1612 -26
- package/dist/esm/{input-template-ab70223f.js → input-template-25434b4d.js} +3 -3
- package/dist/esm/{is-load-decorator-6784aa87.js → is-load-decorator-8277e3b8.js} +2 -1
- package/dist/esm/{json-parse-decarator-a56bad01.js → json-parse-decarator-6ef9274a.js} +1 -1
- package/dist/esm/{label-template-62e49c38.js → label-template-9cddb5ed.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-d3485207.js → number-helper-32d36561.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -10
- package/dist/esm/old-bcm-popover.entry.js +6 -6
- package/dist/esm/{package-e0503891.js → package-a8541483.js} +1 -1
- package/dist/esm/{popover-placement-7cce412f.js → popover-placement-bc0c4fdf.js} +1 -1
- package/dist/esm/{slot-template-7447145d.js → slot-template-d37d0312.js} +1 -1
- package/dist/esm/{stepper-states-8ed538e6.js → stepper-states-bc4dc077.js} +1 -1
- package/dist/esm/{string-helper-5ef67a66.js → string-helper-5a67b5cc.js} +2 -2
- package/dist/esm/{tooltip-helper-c8970f99.js → tooltip-helper-4624c4e4.js} +7 -8
- package/dist/esm/{validators-3438f640.js → validators-5606ad07.js} +6 -2
- package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +5 -17
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/third-parts/rc-picker/date.d.ts +16 -2
- package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +10 -2
- package/dist/types/components.d.ts +41 -12
- package/dist/types/models/bcm.d.ts +246 -235
- package/package.json +1 -1
- package/dist/bromcom-ui/p-013e2754.entry.js +0 -5
- package/dist/bromcom-ui/p-109e236f.entry.js +0 -5
- package/dist/bromcom-ui/p-18cec6df.js +0 -5
- package/dist/bromcom-ui/p-1b6cf687.entry.js +0 -5
- package/dist/bromcom-ui/p-3182df7e.js +0 -10
- package/dist/bromcom-ui/p-36086f27.entry.js +0 -5
- package/dist/bromcom-ui/p-36e8b68d.entry.js +0 -5
- package/dist/bromcom-ui/p-3ade1099.js +0 -5
- package/dist/bromcom-ui/p-3d135c37.entry.js +0 -5
- package/dist/bromcom-ui/p-43a6794f.entry.js +0 -5
- package/dist/bromcom-ui/p-44ca28fa.entry.js +0 -5
- package/dist/bromcom-ui/p-489cf42b.entry.js +0 -5
- package/dist/bromcom-ui/p-49f37d54.js +0 -5
- package/dist/bromcom-ui/p-4a6505b5.entry.js +0 -5
- package/dist/bromcom-ui/p-51ea1c7b.entry.js +0 -5
- package/dist/bromcom-ui/p-59749f31.entry.js +0 -5
- package/dist/bromcom-ui/p-5bc314e4.entry.js +0 -5
- package/dist/bromcom-ui/p-626a65e9.js +0 -5
- package/dist/bromcom-ui/p-6ed4b153.entry.js +0 -5
- package/dist/bromcom-ui/p-73c223c8.entry.js +0 -5
- package/dist/bromcom-ui/p-7853a51e.entry.js +0 -5
- package/dist/bromcom-ui/p-7e3209a0.js +0 -14
- package/dist/bromcom-ui/p-88485410.entry.js +0 -5
- package/dist/bromcom-ui/p-891889f6.entry.js +0 -5
- package/dist/bromcom-ui/p-89f1571f.entry.js +0 -5
- package/dist/bromcom-ui/p-95fa989d.entry.js +0 -5
- package/dist/bromcom-ui/p-a7ed0981.entry.js +0 -5
- package/dist/bromcom-ui/p-b27f3556.js +0 -5
- package/dist/bromcom-ui/p-b48b8c98.entry.js +0 -5
- package/dist/bromcom-ui/p-b712ba6c.js +0 -5
- package/dist/bromcom-ui/p-b82685e4.js +0 -12
- package/dist/bromcom-ui/p-bb9aa7d4.entry.js +0 -5
- package/dist/bromcom-ui/p-bed627ab.js +0 -11
- package/dist/bromcom-ui/p-d3d07c8c.js +0 -5
- package/dist/bromcom-ui/p-e1877ee9.js +0 -5
- package/dist/bromcom-ui/p-ebf322d6.entry.js +0 -5
- package/dist/bromcom-ui/p-f659324d.entry.js +0 -5
- package/dist/bromcom-ui/p-fdcde7e8.entry.js +0 -5
- package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -182
- package/dist/cjs/bcm-date.cjs.entry.js +0 -124
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1451
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -212
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -8150
- package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -150
- package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
- package/dist/cjs/index-c08b35b2.js +0 -1610
- package/dist/cjs/moment-c1a71617.js +0 -5689
- package/dist/esm/bcm-date-picker.entry.js +0 -178
- package/dist/esm/bcm-date.entry.js +0 -120
- package/dist/esm/bcm-datetime-picker.entry.js +0 -1447
- package/dist/esm/bcm-form-2.entry.js +0 -208
- package/dist/esm/bcm-old-input.entry.js +0 -393
- package/dist/esm/bcm-rc-picker.entry.js +0 -8146
- package/dist/esm/bcm-time-picker.entry.js +0 -146
- package/dist/esm/datetime-helper-df25808a.js +0 -9
- package/dist/esm/index-c4568336.js +0 -1594
- package/dist/esm/moment-24231dde.js +0 -5686
- /package/dist/bromcom-ui/{p-23c35e1b.js → p-65c5eac0.js} +0 -0
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Bcm } from "@bcm/model";
|
|
1
6
|
import moment from "moment";
|
|
2
7
|
import Picker from "rc-picker";
|
|
3
8
|
import momentGenerateConfig from "rc-picker/lib/generate/moment";
|
|
4
9
|
import enUS from "rc-picker/lib/locale/en_US";
|
|
10
|
+
import cs from "classnames";
|
|
5
11
|
import React from "react";
|
|
6
12
|
import ReactDOM from "react-dom";
|
|
7
13
|
export class BcmRcPicker {
|
|
@@ -10,9 +16,16 @@ export class BcmRcPicker {
|
|
|
10
16
|
this.type = "date";
|
|
11
17
|
this.format = undefined;
|
|
12
18
|
this.placeholder = undefined;
|
|
19
|
+
this.size = Bcm.Size.medium;
|
|
13
20
|
this.showTime = undefined;
|
|
14
21
|
this.showToday = undefined;
|
|
15
22
|
this.showNow = undefined;
|
|
23
|
+
this.showHour = undefined;
|
|
24
|
+
this.showMinute = undefined;
|
|
25
|
+
this.showSecond = undefined;
|
|
26
|
+
this.use12Hours = undefined;
|
|
27
|
+
this.error = undefined;
|
|
28
|
+
this.disabled = undefined;
|
|
16
29
|
this.clearable = false;
|
|
17
30
|
this.defaultValue = undefined;
|
|
18
31
|
this.newValue = undefined;
|
|
@@ -24,57 +37,79 @@ export class BcmRcPicker {
|
|
|
24
37
|
this.setValue(newValue);
|
|
25
38
|
this.bcmRCPickerChange.emit(newValue ? moment(newValue) : null);
|
|
26
39
|
}
|
|
27
|
-
|
|
28
|
-
if (
|
|
29
|
-
this.newValue = moment(
|
|
40
|
+
async set(value) {
|
|
41
|
+
if (value && value != "invalid date") {
|
|
42
|
+
this.newValue = moment(value);
|
|
43
|
+
this.handleChange(moment(value));
|
|
30
44
|
}
|
|
31
45
|
}
|
|
32
46
|
componentDidRender() {
|
|
33
47
|
// const onSelect = (newValue: Moment) => {
|
|
34
48
|
// // console.log("Select:", newValue);
|
|
35
49
|
// };
|
|
36
|
-
const props = Object.assign(Object.assign(Object.assign({}, (this.format && { format: this.format })), (this.clearable && { allowClear: this.clearable })), (this.placeholder && { placeholder: this.placeholder }));
|
|
50
|
+
const props = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (this.format && { format: this.format })), (this.clearable && { allowClear: this.clearable })), (this.placeholder && { placeholder: this.placeholder })), (this.error && { error: this.error })), (this.disabled && { disabled: this.disabled }));
|
|
37
51
|
const options = {
|
|
38
52
|
time: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
// showTime: this.showTime,
|
|
54
|
+
// showToday: this.showToday,
|
|
55
|
+
showNow: this.showNow,
|
|
56
|
+
showHour: this.showHour,
|
|
57
|
+
showMinute: this.showMinute,
|
|
58
|
+
showSecond: this.showSecond,
|
|
59
|
+
use12Hours: this.use12Hours,
|
|
60
|
+
format: this.format,
|
|
45
61
|
hourStep: 1,
|
|
46
|
-
minuteStep:
|
|
62
|
+
minuteStep: 1,
|
|
47
63
|
secondStep: 1,
|
|
48
64
|
hideDisabledOptions: false,
|
|
49
|
-
defaultValue: moment("08:00", "HH:mm"),
|
|
65
|
+
// defaultValue: moment("08:00", "HH:mm"),
|
|
50
66
|
disabledTime: () => ({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
67
|
+
// disabledHours: () => [0, 1, 2, 3, 4, 5, 6, 7, 13, 18, 19, 20, 21, 22, 23],
|
|
68
|
+
// disabledMinutes: () => [1, 2, 3],
|
|
69
|
+
// disabledSeconds: () => [1, 2, 3],
|
|
54
70
|
}),
|
|
55
71
|
active: true,
|
|
56
72
|
},
|
|
57
73
|
date: {
|
|
58
|
-
format:
|
|
74
|
+
format: this.format,
|
|
75
|
+
showToday: this.showToday,
|
|
59
76
|
},
|
|
60
77
|
datetime: {
|
|
61
78
|
showTime: true,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
79
|
+
showNow: this.showNow,
|
|
80
|
+
showHour: this.showHour,
|
|
81
|
+
showMinute: this.showMinute,
|
|
82
|
+
showSecond: this.showSecond,
|
|
83
|
+
use12Hours: this.use12Hours,
|
|
84
|
+
format: this.format,
|
|
85
|
+
showToday: this.showToday,
|
|
67
86
|
},
|
|
68
87
|
};
|
|
69
88
|
const sharedProps = Object.assign(Object.assign(Object.assign(Object.assign({ generateConfig: momentGenerateConfig, value: this.newValue,
|
|
70
|
-
// onSelect,
|
|
71
|
-
onChange: (newValue) => this.handleChange(newValue) }, props), { picker: this.type
|
|
72
|
-
|
|
89
|
+
// onSelect: (newValue: Moment) => this.handleChange(newValue),
|
|
90
|
+
onChange: (newValue) => this.handleChange(newValue) }, props), { picker: this.type,
|
|
91
|
+
// presets: [
|
|
92
|
+
// {
|
|
93
|
+
// label: "Hello World!",
|
|
94
|
+
// value: moment(),
|
|
95
|
+
// },
|
|
96
|
+
// {
|
|
97
|
+
// label: "Now",
|
|
98
|
+
// value: () => moment(),
|
|
99
|
+
// },
|
|
100
|
+
// ]
|
|
101
|
+
// showTime: true,
|
|
102
|
+
// showSecond: false,
|
|
103
|
+
prefixCls: "bcm-date", suffixIcon: " " }), options[this.type]), { autofocus: true });
|
|
104
|
+
ReactDOM.render(React.createElement(Picker, Object.assign(Object.assign({}, sharedProps), { locale: enUS, className: cs("bcm-date--" + this.type, {
|
|
105
|
+
[`bcm-date--${this.size}`]: this.size,
|
|
106
|
+
[`bcm-date--error`]: this.error,
|
|
107
|
+
}) })), this.el);
|
|
73
108
|
}
|
|
74
109
|
static get is() { return "bcm-rc-picker"; }
|
|
75
110
|
static get originalStyleUrls() {
|
|
76
111
|
return {
|
|
77
|
-
"$": ["rc-picker.
|
|
112
|
+
"$": ["rc-picker.scss"]
|
|
78
113
|
};
|
|
79
114
|
}
|
|
80
115
|
static get styleUrls() {
|
|
@@ -105,8 +140,8 @@ export class BcmRcPicker {
|
|
|
105
140
|
"type": "string",
|
|
106
141
|
"mutable": false,
|
|
107
142
|
"complexType": {
|
|
108
|
-
"original": "\"time\" | \"date\" | \"week\" | \"month\" | \"year\"",
|
|
109
|
-
"resolved": "\"date\" | \"month\" | \"time\" | \"week\" | \"year\"",
|
|
143
|
+
"original": "\"time\" | \"date\" | \"week\" | \"month\" | \"year\" | \"datetime\"",
|
|
144
|
+
"resolved": "\"date\" | \"datetime\" | \"month\" | \"time\" | \"week\" | \"year\"",
|
|
110
145
|
"references": {}
|
|
111
146
|
},
|
|
112
147
|
"required": false,
|
|
@@ -153,6 +188,29 @@ export class BcmRcPicker {
|
|
|
153
188
|
"attribute": "placeholder",
|
|
154
189
|
"reflect": false
|
|
155
190
|
},
|
|
191
|
+
"size": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"mutable": false,
|
|
194
|
+
"complexType": {
|
|
195
|
+
"original": "SizeTypes",
|
|
196
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
197
|
+
"references": {
|
|
198
|
+
"SizeTypes": {
|
|
199
|
+
"location": "import",
|
|
200
|
+
"path": "@bcm/model"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [],
|
|
208
|
+
"text": ""
|
|
209
|
+
},
|
|
210
|
+
"attribute": "size",
|
|
211
|
+
"reflect": true,
|
|
212
|
+
"defaultValue": "Bcm.Size.medium"
|
|
213
|
+
},
|
|
156
214
|
"showTime": {
|
|
157
215
|
"type": "any",
|
|
158
216
|
"mutable": false,
|
|
@@ -204,6 +262,108 @@ export class BcmRcPicker {
|
|
|
204
262
|
"attribute": "show-now",
|
|
205
263
|
"reflect": false
|
|
206
264
|
},
|
|
265
|
+
"showHour": {
|
|
266
|
+
"type": "any",
|
|
267
|
+
"mutable": false,
|
|
268
|
+
"complexType": {
|
|
269
|
+
"original": "any",
|
|
270
|
+
"resolved": "any",
|
|
271
|
+
"references": {}
|
|
272
|
+
},
|
|
273
|
+
"required": false,
|
|
274
|
+
"optional": false,
|
|
275
|
+
"docs": {
|
|
276
|
+
"tags": [],
|
|
277
|
+
"text": ""
|
|
278
|
+
},
|
|
279
|
+
"attribute": "show-hour",
|
|
280
|
+
"reflect": false
|
|
281
|
+
},
|
|
282
|
+
"showMinute": {
|
|
283
|
+
"type": "any",
|
|
284
|
+
"mutable": false,
|
|
285
|
+
"complexType": {
|
|
286
|
+
"original": "any",
|
|
287
|
+
"resolved": "any",
|
|
288
|
+
"references": {}
|
|
289
|
+
},
|
|
290
|
+
"required": false,
|
|
291
|
+
"optional": false,
|
|
292
|
+
"docs": {
|
|
293
|
+
"tags": [],
|
|
294
|
+
"text": ""
|
|
295
|
+
},
|
|
296
|
+
"attribute": "show-minute",
|
|
297
|
+
"reflect": false
|
|
298
|
+
},
|
|
299
|
+
"showSecond": {
|
|
300
|
+
"type": "any",
|
|
301
|
+
"mutable": false,
|
|
302
|
+
"complexType": {
|
|
303
|
+
"original": "any",
|
|
304
|
+
"resolved": "any",
|
|
305
|
+
"references": {}
|
|
306
|
+
},
|
|
307
|
+
"required": false,
|
|
308
|
+
"optional": false,
|
|
309
|
+
"docs": {
|
|
310
|
+
"tags": [],
|
|
311
|
+
"text": ""
|
|
312
|
+
},
|
|
313
|
+
"attribute": "show-second",
|
|
314
|
+
"reflect": false
|
|
315
|
+
},
|
|
316
|
+
"use12Hours": {
|
|
317
|
+
"type": "any",
|
|
318
|
+
"mutable": false,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "any",
|
|
321
|
+
"resolved": "any",
|
|
322
|
+
"references": {}
|
|
323
|
+
},
|
|
324
|
+
"required": false,
|
|
325
|
+
"optional": false,
|
|
326
|
+
"docs": {
|
|
327
|
+
"tags": [],
|
|
328
|
+
"text": ""
|
|
329
|
+
},
|
|
330
|
+
"attribute": "use-1-2-hours",
|
|
331
|
+
"reflect": false
|
|
332
|
+
},
|
|
333
|
+
"error": {
|
|
334
|
+
"type": "any",
|
|
335
|
+
"mutable": false,
|
|
336
|
+
"complexType": {
|
|
337
|
+
"original": "any",
|
|
338
|
+
"resolved": "any",
|
|
339
|
+
"references": {}
|
|
340
|
+
},
|
|
341
|
+
"required": false,
|
|
342
|
+
"optional": false,
|
|
343
|
+
"docs": {
|
|
344
|
+
"tags": [],
|
|
345
|
+
"text": ""
|
|
346
|
+
},
|
|
347
|
+
"attribute": "error",
|
|
348
|
+
"reflect": false
|
|
349
|
+
},
|
|
350
|
+
"disabled": {
|
|
351
|
+
"type": "any",
|
|
352
|
+
"mutable": false,
|
|
353
|
+
"complexType": {
|
|
354
|
+
"original": "any",
|
|
355
|
+
"resolved": "any",
|
|
356
|
+
"references": {}
|
|
357
|
+
},
|
|
358
|
+
"required": false,
|
|
359
|
+
"optional": false,
|
|
360
|
+
"docs": {
|
|
361
|
+
"tags": [],
|
|
362
|
+
"text": ""
|
|
363
|
+
},
|
|
364
|
+
"attribute": "disabled",
|
|
365
|
+
"reflect": false
|
|
366
|
+
},
|
|
207
367
|
"clearable": {
|
|
208
368
|
"type": "boolean",
|
|
209
369
|
"mutable": false,
|
|
@@ -248,11 +408,28 @@ export class BcmRcPicker {
|
|
|
248
408
|
}
|
|
249
409
|
}];
|
|
250
410
|
}
|
|
251
|
-
static get
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
411
|
+
static get methods() {
|
|
412
|
+
return {
|
|
413
|
+
"set": {
|
|
414
|
+
"complexType": {
|
|
415
|
+
"signature": "(value: any) => Promise<void>",
|
|
416
|
+
"parameters": [{
|
|
417
|
+
"tags": [],
|
|
418
|
+
"text": ""
|
|
419
|
+
}],
|
|
420
|
+
"references": {
|
|
421
|
+
"Promise": {
|
|
422
|
+
"location": "global"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"return": "Promise<void>"
|
|
426
|
+
},
|
|
427
|
+
"docs": {
|
|
428
|
+
"text": "",
|
|
429
|
+
"tags": []
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
};
|
|
257
433
|
}
|
|
434
|
+
static get elementRef() { return "el"; }
|
|
258
435
|
}
|
|
@@ -8,8 +8,9 @@ export function IsLoad() {
|
|
|
8
8
|
const { componentDidLoad } = proto;
|
|
9
9
|
proto.componentDidLoad = function () {
|
|
10
10
|
const host = getElement(this);
|
|
11
|
+
const { openIntersecting } = host;
|
|
11
12
|
initProps(host);
|
|
12
|
-
registerAttrReflect(host);
|
|
13
|
+
openIntersecting && registerAttrReflect(host);
|
|
13
14
|
return componentDidLoad && componentDidLoad.call(this);
|
|
14
15
|
};
|
|
15
16
|
};
|
|
@@ -395,33 +395,33 @@ export var Bcm;
|
|
|
395
395
|
KeyCode[KeyCode["a"] = 65] = "a";
|
|
396
396
|
})(KeyCode = Bcm.KeyCode || (Bcm.KeyCode = {}));
|
|
397
397
|
Bcm.FormErrorMessages = {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
398
|
+
"email": "Please enter a valid email address",
|
|
399
|
+
"password": "Please enter a valid password",
|
|
400
|
+
"url": "Please enter a valid URL",
|
|
401
|
+
"phone": "Please enter a valid phone number",
|
|
402
|
+
"search": "Please enter a valid search term",
|
|
403
|
+
"number": "Please enter a valid number",
|
|
404
|
+
"text": "Please enter a valid text",
|
|
405
|
+
"required": "This field is required",
|
|
406
|
+
"minlength": "This field must be at least {0} characters long",
|
|
407
|
+
"maxlength": "This field must be at most {0} characters long",
|
|
408
|
+
"min": "This field must be at least {0}",
|
|
409
|
+
"max": "This field must be at most {0}",
|
|
410
|
+
"between": "This field must be between {0} and {1}",
|
|
411
|
+
"pattern": "Please use a valid format",
|
|
412
|
+
"date": "Please enter a valid date",
|
|
413
|
+
"time": "Please enter a valid time",
|
|
414
|
+
"datetime": "Please enter a valid date and time",
|
|
415
|
+
"datetime-local": "Please enter a valid date and time",
|
|
416
|
+
"month": "Please enter a valid month",
|
|
417
|
+
"week": "Please enter a valid week",
|
|
418
|
+
"color": "Please enter a valid color",
|
|
419
|
+
"file": "Please enter a valid file",
|
|
420
|
+
"range": "Please enter a valid range",
|
|
421
|
+
"radio": "Please select a valid option",
|
|
422
|
+
"checkbox": "Please select a valid option",
|
|
423
|
+
"select": "Please select a valid option",
|
|
424
|
+
"multiple": "Please select a valid option",
|
|
425
425
|
};
|
|
426
426
|
let IndeterminateType;
|
|
427
427
|
(function (IndeterminateType) {
|
|
@@ -37,21 +37,44 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
37
|
this.value = this.getValueObject(e.detail);
|
|
38
38
|
this.change.emit(this.value);
|
|
39
39
|
};
|
|
40
|
+
// type a göre format belirleme işlemi
|
|
41
|
+
this.getFormat = () => {
|
|
42
|
+
if (!this.format) {
|
|
43
|
+
switch (this.type) {
|
|
44
|
+
case "time":
|
|
45
|
+
return this.showSecond ? "HH:mm:ss" : this.showMinute ? "HH:mm" : "HH";
|
|
46
|
+
case "date":
|
|
47
|
+
return "DD/MM/YYYY";
|
|
48
|
+
case "datetime":
|
|
49
|
+
return this.showSecond ? "DD/MM/YYYY HH:mm:ss" : this.showMinute ? "DD/MM/YYYY HH:mm" : "DD/MM/YYYY HH";
|
|
50
|
+
case "week":
|
|
51
|
+
return "YYYY-wo";
|
|
52
|
+
case "month":
|
|
53
|
+
return "MM/YYYY";
|
|
54
|
+
case "year":
|
|
55
|
+
return "YYYY";
|
|
56
|
+
default:
|
|
57
|
+
return "DD/MM/YYYY";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return this.format;
|
|
61
|
+
};
|
|
40
62
|
this.getValueObject = (value) => {
|
|
41
63
|
if (value && hooks(value).isValid()) {
|
|
42
|
-
return {
|
|
43
|
-
isValid: hooks(value).isValid(),
|
|
44
|
-
date: hooks(value).toDate(),
|
|
45
|
-
timestamp: hooks(value).valueOf(),
|
|
46
|
-
dateObject: {
|
|
64
|
+
return Object.assign({ isValid: hooks(value).isValid(), date: hooks(value).toDate(), timestamp: hooks(value).valueOf(), dateObject: {
|
|
47
65
|
year: hooks(value).year(),
|
|
48
66
|
day: hooks(value).date(),
|
|
49
67
|
month: hooks(value).month(),
|
|
50
68
|
dayOfWeek: hooks(value).day(),
|
|
51
69
|
monthFirstDay: hooks(value).startOf("month").day(),
|
|
70
|
+
}, value: hooks(value).format(this.getFormat()) }, this.type === "time" && {
|
|
71
|
+
time: hooks(value).format(this.getFormat()),
|
|
72
|
+
timeObject: {
|
|
73
|
+
hour: hooks(value).hour(),
|
|
74
|
+
minute: hooks(value).minute(),
|
|
75
|
+
second: hooks(value).second(),
|
|
52
76
|
},
|
|
53
|
-
|
|
54
|
-
};
|
|
77
|
+
});
|
|
55
78
|
}
|
|
56
79
|
else {
|
|
57
80
|
return null;
|
|
@@ -66,15 +89,21 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
66
89
|
this.fullWidth = false;
|
|
67
90
|
this.required = false;
|
|
68
91
|
this.clearable = false;
|
|
92
|
+
this.noMargin = false;
|
|
69
93
|
this.caption = undefined;
|
|
70
94
|
this.noCaption = false;
|
|
71
95
|
this.captionType = Bcm.Status.default;
|
|
72
96
|
this.captionError = undefined;
|
|
73
|
-
this.type =
|
|
74
|
-
this.format =
|
|
97
|
+
this.type = "date";
|
|
98
|
+
this.format = undefined;
|
|
75
99
|
this.showTime = false;
|
|
76
100
|
this.showToday = true;
|
|
77
101
|
this.showNow = true;
|
|
102
|
+
this.showHour = true;
|
|
103
|
+
this.showMinute = true;
|
|
104
|
+
this.showSecond = false;
|
|
105
|
+
this.use12Hours = false;
|
|
106
|
+
this.disabled = false;
|
|
78
107
|
}
|
|
79
108
|
async getValue() {
|
|
80
109
|
var _a;
|
|
@@ -85,7 +114,8 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
85
114
|
return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
|
|
86
115
|
}
|
|
87
116
|
async set(value) {
|
|
88
|
-
this.value = value;
|
|
117
|
+
// this.value = value;
|
|
118
|
+
this.getPickerElement().set(value);
|
|
89
119
|
}
|
|
90
120
|
async setClear() {
|
|
91
121
|
this.value = null;
|
|
@@ -101,9 +131,15 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
101
131
|
var _a;
|
|
102
132
|
return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.isValid) || false;
|
|
103
133
|
}
|
|
134
|
+
getPickerElement() {
|
|
135
|
+
return this.el.querySelector("bcm-rc-picker");
|
|
136
|
+
}
|
|
104
137
|
render() {
|
|
105
138
|
const { label, size, captionType, required, _id } = this;
|
|
106
|
-
return (h(Host, { class: classnames("bcm-ui-element bcm-ui-
|
|
139
|
+
return (h(Host, { class: classnames("bcm-ui-element bcm-ui-input", "tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col", {
|
|
140
|
+
"tw-max-w-[256px]": !this.fullWidth,
|
|
141
|
+
"tw-mb-2": !this.noMargin,
|
|
142
|
+
}) }, label && h(LabelTemplate, { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", onBcmRCPickerChange: e => this.onChange(e), type: this.type, format: this.getFormat(), clearable: this.clearable, val: this.value, class: classnames("w-full tw-flex"), size: size, placeholder: this.placeholder, showTime: this.showTime, showToday: this.showToday, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, error: this.captionType === "error", disabled: this.disabled }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
107
143
|
}
|
|
108
144
|
get el() { return this; }
|
|
109
145
|
}, [0, "bcm-date", {
|
|
@@ -116,15 +152,21 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
116
152
|
"fullWidth": [4, "full-width"],
|
|
117
153
|
"required": [4],
|
|
118
154
|
"clearable": [4],
|
|
155
|
+
"noMargin": [4, "no-margin"],
|
|
119
156
|
"caption": [1],
|
|
120
157
|
"noCaption": [4, "no-caption"],
|
|
121
158
|
"captionType": [1025, "caption-type"],
|
|
122
159
|
"captionError": [1025, "caption-error"],
|
|
123
160
|
"type": [1],
|
|
124
|
-
"format": [
|
|
161
|
+
"format": [8],
|
|
125
162
|
"showTime": [4, "show-time"],
|
|
126
163
|
"showToday": [4, "show-today"],
|
|
127
164
|
"showNow": [4, "show-now"],
|
|
165
|
+
"showHour": [4, "show-hour"],
|
|
166
|
+
"showMinute": [4, "show-minute"],
|
|
167
|
+
"showSecond": [4, "show-second"],
|
|
168
|
+
"use12Hours": [4, "use-1-2-hours"],
|
|
169
|
+
"disabled": [4],
|
|
128
170
|
"getValue": [64],
|
|
129
171
|
"get": [64],
|
|
130
172
|
"set": [64],
|
package/dist/components/bcm.js
CHANGED
|
@@ -378,33 +378,33 @@ var Bcm;
|
|
|
378
378
|
KeyCode[KeyCode["a"] = 65] = "a";
|
|
379
379
|
})(Bcm.KeyCode || (Bcm.KeyCode = {}));
|
|
380
380
|
Bcm.FormErrorMessages = {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
381
|
+
"email": "Please enter a valid email address",
|
|
382
|
+
"password": "Please enter a valid password",
|
|
383
|
+
"url": "Please enter a valid URL",
|
|
384
|
+
"phone": "Please enter a valid phone number",
|
|
385
|
+
"search": "Please enter a valid search term",
|
|
386
|
+
"number": "Please enter a valid number",
|
|
387
|
+
"text": "Please enter a valid text",
|
|
388
|
+
"required": "This field is required",
|
|
389
|
+
"minlength": "This field must be at least {0} characters long",
|
|
390
|
+
"maxlength": "This field must be at most {0} characters long",
|
|
391
|
+
"min": "This field must be at least {0}",
|
|
392
|
+
"max": "This field must be at most {0}",
|
|
393
|
+
"between": "This field must be between {0} and {1}",
|
|
394
|
+
"pattern": "Please use a valid format",
|
|
395
|
+
"date": "Please enter a valid date",
|
|
396
|
+
"time": "Please enter a valid time",
|
|
397
|
+
"datetime": "Please enter a valid date and time",
|
|
398
|
+
"datetime-local": "Please enter a valid date and time",
|
|
399
|
+
"month": "Please enter a valid month",
|
|
400
|
+
"week": "Please enter a valid week",
|
|
401
|
+
"color": "Please enter a valid color",
|
|
402
|
+
"file": "Please enter a valid file",
|
|
403
|
+
"range": "Please enter a valid range",
|
|
404
|
+
"radio": "Please select a valid option",
|
|
405
|
+
"checkbox": "Please select a valid option",
|
|
406
|
+
"select": "Please select a valid option",
|
|
407
|
+
"multiple": "Please select a valid option",
|
|
408
408
|
};
|
|
409
409
|
(function (IndeterminateType) {
|
|
410
410
|
IndeterminateType["uncheck"] = "uncheck";
|
|
@@ -1419,7 +1419,7 @@ const BcmDatetimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
1419
1419
|
const calendarIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>`;
|
|
1420
1420
|
const errorIcon = `<svg style="fill: #ef4444; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm42-104c0 23.2-18.8 42-42 42s-42-18.8-42-42 18.8-42 42-42 42 18.8 42 42zm-81.4-211.4l6.8 136c.3 6.4 5.6 11.4 12 11.4h41.2c6.4 0 11.7-5.1 12-11.4l6.8-136c.3-6.9-5.1-12.6-12-12.6h-54.8c-6.9 0-12.4 5.7-12 12.6z"/></svg>`;
|
|
1421
1421
|
const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
|
|
1422
|
-
return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(),
|
|
1422
|
+
return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(), "no-margin": true, disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
|
|
1423
1423
|
// on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
|
|
1424
1424
|
noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("span", { id: "error-icon", class: toggleClasses, innerHTML: errorIcon, title: this.errorText }))), h("span", { slot: "suffix", onClick: () => this.openPicker() }, h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))), h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) }, h("div", { class: "modules" }, this.hasDateModule && (h("div", { class: "date-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("span", null), h("div", { class: "month-year" }, h("button", { onClick: () => this.getPrevMonth() }, h("bcm-icon", { icon: "far fa-chevron-left" })), h("div", { class: "month-year-wrapper" }, h("span", { class: "month" }, this.getMonthText()), ",", h("span", { class: "year" }, this.date.getFullYear())), h("button", { onClick: () => this.getNextMonth() }, h("bcm-icon", { icon: "far fa-chevron-right" }))), h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")), h("div", { class: "bcm-datetime-picker__content" }, h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) }, h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))), h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })), h("div", { class: "days" }, h("div", { class: "day-labels" }, h("span", null, "Mo"), h("span", null, "Tu"), h("span", null, "We"), h("span", null, "Th"), h("span", null, "Fr"), h("span", null, "Sa"), h("span", null, "Su")), h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
|
|
1425
1425
|
'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
|
|
@@ -9,8 +9,9 @@ function IsLoad() {
|
|
|
9
9
|
const { componentDidLoad } = proto;
|
|
10
10
|
proto.componentDidLoad = function () {
|
|
11
11
|
const host = getElement(this);
|
|
12
|
+
const { openIntersecting } = host;
|
|
12
13
|
initProps(host);
|
|
13
|
-
registerAttrReflect(host);
|
|
14
|
+
openIntersecting && registerAttrReflect(host);
|
|
14
15
|
return componentDidLoad && componentDidLoad.call(this);
|
|
15
16
|
};
|
|
16
17
|
};
|
package/dist/components/list.js
CHANGED
|
@@ -890,6 +890,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
890
890
|
this.keyControl = false;
|
|
891
891
|
this.checkAll = true;
|
|
892
892
|
this.stopDeepClean = false;
|
|
893
|
+
this.openIntersecting = false;
|
|
893
894
|
this.linkedComponent = undefined;
|
|
894
895
|
this.isOpen = false;
|
|
895
896
|
this.calculatedViewport = false;
|
|
@@ -1621,6 +1622,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
1621
1622
|
"keyControl": [1028, "key-control"],
|
|
1622
1623
|
"checkAll": [1028, "check-all"],
|
|
1623
1624
|
"stopDeepClean": [4, "stop-deep-clean"],
|
|
1625
|
+
"openIntersecting": [4, "open-intersecting"],
|
|
1624
1626
|
"linkedComponent": [1025, "linked-component"],
|
|
1625
1627
|
"placeholder": [1025],
|
|
1626
1628
|
"searchPlaceholder": [1025, "search-placeholder"],
|