bromcom-ui 2.9.0-rc.14 → 2.9.0-rc.16
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-6e592196.entry.js → p-00f70814.entry.js} +1 -1
- package/dist/bromcom-ui/p-030f76e1.entry.js +5 -0
- package/dist/bromcom-ui/p-0720cb6f.js +5 -0
- package/dist/bromcom-ui/{p-4798d827.js → p-07c3eb8e.js} +1 -1
- package/dist/bromcom-ui/p-08f8f54b.entry.js +5 -0
- package/dist/bromcom-ui/{p-74d95615.js → p-0c82b9dd.js} +1 -1
- package/dist/bromcom-ui/p-11bbdf4e.entry.js +5 -0
- package/dist/bromcom-ui/{p-fd37157c.entry.js → p-1842c0ae.entry.js} +1 -1
- package/dist/bromcom-ui/p-1c67fb2c.entry.js +5 -0
- 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-a42921be.entry.js → p-2062bcad.entry.js} +1 -1
- package/dist/bromcom-ui/p-227574bd.entry.js +5 -0
- package/dist/bromcom-ui/{p-1e439cb9.entry.js → p-29e0998f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7f1612df.entry.js → p-2aaeb247.entry.js} +1 -1
- package/dist/bromcom-ui/{p-43a16ce4.js → p-2c5a0863.js} +1 -1
- package/dist/bromcom-ui/p-33e572c7.entry.js +5 -0
- package/dist/bromcom-ui/p-3432a82d.js +19 -0
- package/dist/bromcom-ui/{p-1cadeabe.entry.js → p-3932096b.entry.js} +1 -1
- package/dist/bromcom-ui/p-46169c1c.entry.js +5 -0
- package/dist/bromcom-ui/{p-9314d7ed.entry.js → p-46207bba.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b5754c6.entry.js → p-4676e8f0.entry.js} +1 -1
- package/dist/bromcom-ui/p-49283813.entry.js +5 -0
- package/dist/bromcom-ui/{p-123d6355.entry.js → p-4e79863b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5f9c9549.entry.js → p-5017ff5e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f6648bd1.js → p-512cb112.js} +1 -1
- package/dist/bromcom-ui/p-5436ea4f.entry.js +5 -0
- package/dist/bromcom-ui/{p-8fcf6a44.js → p-550a0676.js} +1 -1
- package/dist/bromcom-ui/{p-7b486021.entry.js → p-5699f67d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-37488f1a.entry.js → p-5871767a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8d7c1af0.entry.js → p-5a8e767a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8c111486.entry.js → p-60bb78b8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3078fcd2.entry.js → p-626b805d.entry.js} +1 -1
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/{p-d421811f.entry.js → p-657d2834.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ebe49b26.entry.js → p-660a8daa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-01416407.entry.js → p-69260d36.entry.js} +1 -1
- package/dist/bromcom-ui/p-6a45c5a6.js +5 -0
- package/dist/bromcom-ui/{p-034bbcdd.js → p-6edf985f.js} +1 -1
- package/dist/bromcom-ui/{p-1359971c.entry.js → p-7585daca.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0332d483.js → p-78baef69.js} +1 -1
- package/dist/bromcom-ui/{p-c17a1c9c.entry.js → p-7ab25e89.entry.js} +1 -1
- package/dist/bromcom-ui/p-7c8623d0.entry.js +5 -0
- package/dist/bromcom-ui/p-7cb30513.js +5 -0
- package/dist/bromcom-ui/{p-28f78dd4.entry.js → p-7d18ce0e.entry.js} +1 -1
- package/dist/bromcom-ui/p-7f7ba6ac.entry.js +13 -0
- package/dist/bromcom-ui/p-83f4cf84.entry.js +5 -0
- package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/{p-dbbe85a2.entry.js → p-86cd7eac.entry.js} +1 -1
- package/dist/bromcom-ui/p-89bea864.entry.js +5 -0
- package/dist/bromcom-ui/{p-6a7e07a9.entry.js → p-8be78066.entry.js} +1 -1
- package/dist/bromcom-ui/{p-461a8ad1.js → p-8c4d1c0d.js} +1 -1
- package/dist/bromcom-ui/{p-d28142f9.entry.js → p-8d288e04.entry.js} +1 -1
- package/dist/bromcom-ui/p-8ecd7dc7.entry.js +5 -0
- package/dist/bromcom-ui/{p-6b7f2b84.entry.js → p-8efaea12.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a2ab6adb.entry.js → p-8f9077af.entry.js} +1 -1
- package/dist/bromcom-ui/{p-88c10970.entry.js → p-90914449.entry.js} +1 -1
- package/dist/bromcom-ui/p-9850cbce.js +5 -0
- package/dist/bromcom-ui/{p-02ad5557.entry.js → p-9e9fbc23.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dc8305dc.js → p-a1b1750c.js} +1 -1
- package/dist/bromcom-ui/{p-4e33341b.entry.js → p-a664cc20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6ab403d2.entry.js → p-b4ab469f.entry.js} +1 -1
- package/dist/bromcom-ui/p-b5500fbe.entry.js +5 -0
- package/dist/bromcom-ui/{p-d8cadf00.entry.js → p-b609b1ff.entry.js} +1 -1
- 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-e7728eb8.entry.js → p-c9124af7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9d12a9da.entry.js → p-c9c7067e.entry.js} +1 -1
- package/dist/bromcom-ui/p-ccf0872d.js +5 -0
- package/dist/bromcom-ui/p-cf3cf447.entry.js +5 -0
- package/dist/bromcom-ui/{p-91246af3.js → p-d153c7fc.js} +1 -1
- package/dist/bromcom-ui/p-d245e0a0.js +5 -0
- package/dist/bromcom-ui/{p-00c15b34.entry.js → p-d35d3363.entry.js} +1 -1
- package/dist/bromcom-ui/p-d380e82d.entry.js +5 -0
- package/dist/bromcom-ui/{p-8a117641.entry.js → p-d492f0ff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-84e87c10.entry.js → p-d4a47122.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4df7fdfe.entry.js → p-d50e62e3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8c3535b6.entry.js → p-d551a51d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-774708c3.js → p-d6e1a945.js} +1 -1
- package/dist/bromcom-ui/p-d7c46622.entry.js +5 -0
- package/dist/bromcom-ui/p-df191eb4.entry.js +5 -0
- package/dist/bromcom-ui/{p-395c780d.entry.js → p-df2eb6bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-12a73bfa.entry.js → p-e10682a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3006537d.entry.js → p-e4486524.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e096c551.entry.js → p-e8f4e425.entry.js} +1 -1
- package/dist/bromcom-ui/p-eb62dda7.entry.js +5 -0
- package/dist/bromcom-ui/{p-3960cae8.entry.js → p-ece578ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dec4ea67.entry.js → p-f644d1b8.entry.js} +1 -1
- package/dist/bromcom-ui/p-f711588b.js +5 -0
- package/dist/bromcom-ui/p-ff9a9423.entry.js +5 -0
- package/dist/bromcom-ui/{p-b284e383.entry.js → p-fff1a0f9.entry.js} +1 -1
- package/dist/cjs/{bcm-03727f3b.js → bcm-7f703055.js} +28 -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} +16738 -892
- 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-b441ea7c.js} +1 -1
- package/dist/cjs/{generate-3ece348b.js → generate-91a65294.js} +1 -1
- package/dist/cjs/{global-6ab24771.js → global-b209d1e4.js} +1 -1
- package/dist/cjs/{index-e05a7c6f.js → index-7eed931f.js} +1625 -24
- package/dist/cjs/{input-template-dba31783.js → input-template-dc157fc2.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-32a5151e.js} +1 -1
- package/dist/cjs/{label-template-15c3c0ed.js → label-template-80235581.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-f80c6c41.js → number-helper-c44b719b.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-acdd89a1.js} +1 -1
- package/dist/cjs/{popover-placement-8866eab1.js → popover-placement-f20020a6.js} +1 -1
- package/dist/cjs/{slot-template-de6a91b1.js → slot-template-873b0cd5.js} +1 -1
- package/dist/cjs/{stepper-states-310b6127.js → stepper-states-c188e535.js} +1 -1
- package/dist/cjs/{string-helper-9b392049.js → string-helper-fda7cbba.js} +1 -1
- package/dist/cjs/{tooltip-helper-1a672e09.js → tooltip-helper-a3643a7d.js} +6 -7
- package/dist/cjs/{validators-c318271a.js → validators-74e507fb.js} +6 -1
- package/dist/collection/components/atoms/button/button.css +55 -0
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.js +1 -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 +28 -27
- package/dist/components/bcm-date.js +54 -12
- package/dist/components/bcm.js +28 -27
- package/dist/components/button.js +1 -1
- 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-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} +16738 -897
- 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-ac17222c.js → bcm-d45dc47d.js} +28 -27
- 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-8a0c54d6.js} +1 -1
- package/dist/esm/{generate-87200d1c.js → generate-77508025.js} +2 -2
- package/dist/esm/{global-50960b0d.js → global-473e45f0.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-83fefdcc.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-7221b8e2.js} +1 -1
- package/dist/esm/{label-template-62e49c38.js → label-template-946d4062.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-d3485207.js → number-helper-9ffb551c.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-a7b14d41.js} +1 -1
- package/dist/esm/{popover-placement-7cce412f.js → popover-placement-be68c848.js} +1 -1
- package/dist/esm/{slot-template-7447145d.js → slot-template-fcc7846e.js} +1 -1
- package/dist/esm/{stepper-states-8ed538e6.js → stepper-states-d032d06a.js} +1 -1
- package/dist/esm/{string-helper-5ef67a66.js → string-helper-b0e05041.js} +2 -2
- package/dist/esm/{tooltip-helper-c8970f99.js → tooltip-helper-04d51591.js} +7 -8
- package/dist/esm/{validators-3438f640.js → validators-39c53eb5.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 +247 -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-23c35e1b.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
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,h as t,H as a,g as i}from"./p-170cf07d.js";import{G as n}from"./p-
|
|
5
|
+
import{r as e,h as t,H as a,g as i}from"./p-170cf07d.js";import{G as n}from"./p-0720cb6f.js";import"./p-78baef69.js";import"./p-6edf985f.js";import"./p-85eedabc.js";const r=class{constructor(t){e(this,t),this._id=n.UID(),this.data=[]}render(){const{data:e}=this,i="bcm-attendance";return t(a,{class:i},t("span",{hidden:!0},t("slot",null)),e.map((e=>{var a,n;return t("div",{class:`${i}__item`},t("bcm-tooltip",{trigger:"hover",message:`${e.weekday||null} / AM`},t("span",{class:`${i}__item-am ${i}__item-status-${null!==(a=e.am)&&void 0!==a?a:"default"}`})),t("bcm-tooltip",{trigger:"hover",message:`${e.weekday||null} / PM`},t("span",{class:`${i}__item-pm ${i}__item-status-${null!==(n=e.pm)&&void 0!==n?n:"default"}`})))})))}get el(){return i(this)}};r.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .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}*{box-sizing:border-box}.bcm-attendance{width:fit-content;display:inline-flex;align-items:center;flex-direction:row;gap:4px}.bcm-attendance__item{display:flex;flex-direction:row;align-items:center;gap:1px}.bcm-attendance__item-am,.bcm-attendance__item-pm{display:block;width:calc( calc( 12px + 1px ) / 2 );height:calc( 12px + 1px );background-color:var(--bcm-new-ds-color-blue-500)}.bcm-attendance__item-am:hover,.bcm-attendance__item-pm:hover{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-attendance__item-am{border-top-left-radius:100px;border-bottom-left-radius:100px}.bcm-attendance__item-pm{border-top-right-radius:100px;border-bottom-right-radius:100px}.bcm-attendance__item-status-present{background-color:var(--bcm-new-ds-color-emerald-500)}.bcm-attendance__item-status-present:hover{background-color:var(--bcm-new-ds-color-emerald-600)}.bcm-attendance__item-status-late{background-color:var(--bcm-new-ds-color-amber-500)}.bcm-attendance__item-status-late:hover{background-color:var(--bcm-new-ds-color-amber-600)}.bcm-attendance__item-status-absent{background-color:var(--bcm-new-ds-color-red-500)}.bcm-attendance__item-status-absent:hover{background-color:var(--bcm-new-ds-color-red-600)}.bcm-attendance__item-status-default{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-attendance__item-status-default:hover{background-color:var(--bcm-new-ds-color-slate-400)}';export{r as bcm_attendance}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as i,c as e,h as t,H as c,g as s}from"./p-170cf07d.js";import{c as n}from"./p-bed627ab.js";import{I as a}from"./p-3ade1099.js";import{G as o}from"./p-b27f3556.js";import{B as l}from"./p-23c35e1b.js";import{C as r}from"./p-e1877ee9.js";import{d as h}from"./p-3c7a0345.js";import"./p-e45c1546.js";import"./p-0332d483.js";import"./p-034bbcdd.js";const m=class{constructor(t){i(this,t),this.change=e(this,"bcm-change",7),this.focus=e(this,"bcm-focus",7),this.blur=e(this,"bcm-blur",7),this._id=o.UID(),this._internal_id=o.UID(),this.checked=!1,this.hidden=!1,this.value=!1,this.name=void 0,this.disabled=!1,this.required=!1,this.size=l.Size.medium,this.readonly=!1,this.activeIcon=void 0,this.activeText=void 0,this.inactiveIcon=void 0,this.inactiveText=void 0,this.pending=!1,this.label=void 0,this.labelPosition="top",this.tooltip=void 0,this.caption=void 0,this.noCaption=!1,this.captionError=void 0,this.captionType=l.Status.default,this.captionCache=void 0,this.captionTypeCache=void 0}connectedCallback(){this.captionCache=this.caption,this.captionTypeCache=this.captionType,this.value=this.checked}handleChange(){this.checked=this.inputElement.checked,this.value=this.checked,this.change.emit(this.checked)}componentWillRender(){this.pending&&(this.disabled=!0)}async onBcmFocus(){this.el.focus()}async onBcmBlur(){this.el.blur()}async set(i){"boolean"==typeof i&&await this.check(i)}async check(i=!0){this.inputElement.checked=i,this.handleChange()}async get(){return this.checked||!1}async setClear(){return 1==this.inputElement.checked&&(this.inputElement.checked=!1,this.checked=this.inputElement.checked,this.value=this.checked,this.change.emit(this.checked)),await h(10),Promise.resolve()}async resetCaption(){return await h(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await h(10),Promise.resolve()}handleKeyUp(i){if(i.keyCode==l.KeyCode.space||i.keyCode==l.KeyCode.enter)return this.disabled||this.readonly||(this.inputElement.checked=!this.inputElement.checked,this.handleChange()),i.stopPropagation(),i.preventDefault(),!1}render(){const{hidden:i,_internal_id:e,checked:s,size:a,activeIcon:o,inactiveIcon:h,activeText:m,inactiveText:p,pending:b,disabled:g,readonly:d,label:x,required:_,noCaption:w,captionType:f,captionError:u,caption:z}=this,v=n("bcm-switch__toggle","bcm-switch__size-"+a,{"switch-checked":s,disabled:g,readonly:d}),y=n("bcm-switch","bcm-switch__size-"+a,{hidden:i,checked:s,disabled:g,readonly:d}),k=n("bcm-switch__label","input-size-"+l.Size[a]),j=n("bcm-switch__container",`bcm-switch__container--${this.labelPosition}`),I=i=>a!=l.Size.small&&(m||p)&&t("span",{class:i+"-text"},"active"==i?m:p),C=i=>a!=l.Size.small&&(o||h)&&t("bcm-icon",{icon:"active"==i?o:h,class:" icon-"+i});return t(c,{tabindex:"0",onFocus:()=>this.focus.emit(this.el),onBlur:()=>this.blur.emit(this.el),class:y},t("span",{hidden:!0},t("slot",null)),t("div",{class:j},x&&t("bcm-label",{htmlFor:e,tooltip:this.tooltip,type:f,value:x,required:_}),t("input",{id:e,onChange:()=>this.handleChange(),ref:i=>this.inputElement=i,checked:s,type:"checkbox",class:"switch",disabled:g||d}),t("label",{htmlFor:e,class:k},I("inactive"),t("div",{class:v},C("active"),t("span",{class:"handle"},b&&t("span",{class:"switch-spinner"})),C("inactive")),I("active"))),t(r,{noCaption:w,captionType:f,captionError:u,caption:z}))}get el(){return s(this)}};(function(i,e,t,c){var s,n=arguments.length,a=n<3?e:null===c?c=Object.getOwnPropertyDescriptor(e,t):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,e,t,c);else for(var o=i.length-1;o>=0;o--)(s=i[o])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);n>3&&a&&Object.defineProperty(e,t,a)})([a()],m.prototype,"el",void 0),m.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .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}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-switch{display:inline-flex;user-select:none;flex-direction:column;margin-bottom:8px}.bcm-switch__container{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.bcm-switch__container--left,.bcm-switch__container--right{align-items:center}.bcm-switch__container--left .bcm-label__text,.bcm-switch__container--right .bcm-label__text{margin:0}.bcm-switch__container--left{flex-direction:row}.bcm-switch__container--left .bcm-label__text{margin-right:4px}.bcm-switch__container--right{flex-direction:row-reverse}.bcm-switch__container--right .bcm-label__text{margin-left:4px}.bcm-switch:focus-visible{outline:none}.bcm-switch:focus-visible .bcm-switch__toggle{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-switch:focus-visible .bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch:hover{outline:none}.bcm-switch:hover .bcm-switch__toggle .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch:hover .bcm-switch__toggle.switch-checked .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch *{box-sizing:border-box}.bcm-switch.hidden{display:none}.bcm-switch input{display:none}.bcm-switch.disabled .bcm-switch__toggle{cursor:not-allowed;opacity:40%}.bcm-switch.readonly .bcm-switch__toggle{cursor:default;opacity:80%}.bcm-switch__label{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-flex;align-items:center;margin:0}.bcm-switch__label .active-text{color:var(--bcm-new-ds-color-blue-500);margin:0 0 0 4px}.bcm-switch__label .inactive-text{color:var(--bcm-new-ds-color-slate-500);margin:0 4px 0 0}.bcm-switch__toggle{display:flex;justify-content:space-between;align-items:center;border-radius:16px;background-color:var(--bcm-new-ds-color-slate-300);position:relative;cursor:pointer}.bcm-switch__toggle .handle{padding:1px;position:absolute;background-color:var(--bcm-new-ds-color-slate-50);display:inline-flex;align-items:center;justify-content:center;border-radius:16px;transition:left 0.2s ease-in-out, width 0.2s ease-in-out;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-switch__toggle .icon-active{opacity:0;margin-left:2px}.bcm-switch__toggle .icon-inactive{opacity:1;margin-right:2px}.bcm-switch__toggle.bcm-switch__size-small{width:32px;min-width:32px;height:16px;padding:4px}.bcm-switch__toggle.bcm-switch__size-small .handle{width:12px;height:12px;left:2px}.bcm-switch__toggle.bcm-switch__size-small.switch-checked .handle{left:18px}.bcm-switch__toggle.bcm-switch__size-small:active:not(.disabled):not(.readonly) .handle{width:16px}.bcm-switch__toggle.bcm-switch__size-small:active.switch-checked:not(.disabled):not(.readonly) .handle{left:12px}.bcm-switch__toggle.bcm-switch__size-small .switch-spinner{box-sizing:border-box;display:inline-flex;width:9px;height:9px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-medium{width:36px;min-width:36px;height:18px;padding:4px}.bcm-switch__toggle.bcm-switch__size-medium .handle{width:14px;height:14px;left:2px}.bcm-switch__toggle.bcm-switch__size-medium.switch-checked .handle{left:20px}.bcm-switch__toggle.bcm-switch__size-medium:active:not(.disabled):not(.readonly) .handle{width:18px}.bcm-switch__toggle.bcm-switch__size-medium:active.switch-checked:not(.disabled):not(.readonly) .handle{left:14px}.bcm-switch__toggle.bcm-switch__size-medium .switch-spinner{box-sizing:border-box;display:inline-flex;width:11px;height:11px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-large{width:40px;min-width:40px;height:20px;padding:4px}.bcm-switch__toggle.bcm-switch__size-large .handle{width:16px;height:16px;left:2px}.bcm-switch__toggle.bcm-switch__size-large.switch-checked .handle{left:22px}.bcm-switch__toggle.bcm-switch__size-large:active:not(.disabled):not(.readonly) .handle{width:20px}.bcm-switch__toggle.bcm-switch__size-large:active.switch-checked:not(.disabled):not(.readonly) .handle{left:16px}.bcm-switch__toggle.bcm-switch__size-large .switch-spinner{box-sizing:border-box;display:inline-flex;width:13px;height:13px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-500)}.bcm-switch__toggle.switch-checked .icon-active{color:var(--bcm-new-ds-color-slate-100);opacity:1}.bcm-switch__toggle.switch-checked .icon-inactive{opacity:0}.bcm-switch__toggle.switch-checked .switch-spinner{border-top-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch__size-small .bcm-switch__label,.bcm-switch__size-small .bcm-label__text{font-size:12px}.bcm-switch__size-small .bcm-switch__toggle{font-size:8px}.bcm-switch__size-medium .bcm-switch__label,.bcm-switch__size-medium .bcm-label__text{font-size:13px}.bcm-switch__size-medium .bcm-switch__toggle{font-size:9px}.bcm-switch__size-large .bcm-switch__label,.bcm-switch__size-large .bcm-label__text{font-size:16px}.bcm-switch__size-large .bcm-switch__toggle{font-size:12px}@keyframes switch-spinner{to{transform:rotate(360deg)}}';export{m as bcm_switch}
|
|
5
|
+
import{r as i,c as e,h as t,H as c,g as s}from"./p-170cf07d.js";import{c as n}from"./p-64fad38b.js";import{I as a}from"./p-9850cbce.js";import{G as o}from"./p-0720cb6f.js";import{B as l}from"./p-f711588b.js";import{C as r}from"./p-b81e8f91.js";import{d as h}from"./p-3c7a0345.js";import"./p-85eedabc.js";import"./p-78baef69.js";import"./p-6edf985f.js";const m=class{constructor(t){i(this,t),this.change=e(this,"bcm-change",7),this.focus=e(this,"bcm-focus",7),this.blur=e(this,"bcm-blur",7),this._id=o.UID(),this._internal_id=o.UID(),this.checked=!1,this.hidden=!1,this.value=!1,this.name=void 0,this.disabled=!1,this.required=!1,this.size=l.Size.medium,this.readonly=!1,this.activeIcon=void 0,this.activeText=void 0,this.inactiveIcon=void 0,this.inactiveText=void 0,this.pending=!1,this.label=void 0,this.labelPosition="top",this.tooltip=void 0,this.caption=void 0,this.noCaption=!1,this.captionError=void 0,this.captionType=l.Status.default,this.captionCache=void 0,this.captionTypeCache=void 0}connectedCallback(){this.captionCache=this.caption,this.captionTypeCache=this.captionType,this.value=this.checked}handleChange(){this.checked=this.inputElement.checked,this.value=this.checked,this.change.emit(this.checked)}componentWillRender(){this.pending&&(this.disabled=!0)}async onBcmFocus(){this.el.focus()}async onBcmBlur(){this.el.blur()}async set(i){"boolean"==typeof i&&await this.check(i)}async check(i=!0){this.inputElement.checked=i,this.handleChange()}async get(){return this.checked||!1}async setClear(){return 1==this.inputElement.checked&&(this.inputElement.checked=!1,this.checked=this.inputElement.checked,this.value=this.checked,this.change.emit(this.checked)),await h(10),Promise.resolve()}async resetCaption(){return await h(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await h(10),Promise.resolve()}handleKeyUp(i){if(i.keyCode==l.KeyCode.space||i.keyCode==l.KeyCode.enter)return this.disabled||this.readonly||(this.inputElement.checked=!this.inputElement.checked,this.handleChange()),i.stopPropagation(),i.preventDefault(),!1}render(){const{hidden:i,_internal_id:e,checked:s,size:a,activeIcon:o,inactiveIcon:h,activeText:m,inactiveText:p,pending:b,disabled:g,readonly:d,label:x,required:_,noCaption:w,captionType:f,captionError:u,caption:z}=this,v=n("bcm-switch__toggle","bcm-switch__size-"+a,{"switch-checked":s,disabled:g,readonly:d}),y=n("bcm-switch","bcm-switch__size-"+a,{hidden:i,checked:s,disabled:g,readonly:d}),k=n("bcm-switch__label","input-size-"+l.Size[a]),j=n("bcm-switch__container",`bcm-switch__container--${this.labelPosition}`),I=i=>a!=l.Size.small&&(m||p)&&t("span",{class:i+"-text"},"active"==i?m:p),C=i=>a!=l.Size.small&&(o||h)&&t("bcm-icon",{icon:"active"==i?o:h,class:" icon-"+i});return t(c,{tabindex:"0",onFocus:()=>this.focus.emit(this.el),onBlur:()=>this.blur.emit(this.el),class:y},t("span",{hidden:!0},t("slot",null)),t("div",{class:j},x&&t("bcm-label",{htmlFor:e,tooltip:this.tooltip,type:f,value:x,required:_}),t("input",{id:e,onChange:()=>this.handleChange(),ref:i=>this.inputElement=i,checked:s,type:"checkbox",class:"switch",disabled:g||d}),t("label",{htmlFor:e,class:k},I("inactive"),t("div",{class:v},C("active"),t("span",{class:"handle"},b&&t("span",{class:"switch-spinner"})),C("inactive")),I("active"))),t(r,{noCaption:w,captionType:f,captionError:u,caption:z}))}get el(){return s(this)}};(function(i,e,t,c){var s,n=arguments.length,a=n<3?e:null===c?c=Object.getOwnPropertyDescriptor(e,t):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,e,t,c);else for(var o=i.length-1;o>=0;o--)(s=i[o])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);n>3&&a&&Object.defineProperty(e,t,a)})([a()],m.prototype,"el",void 0),m.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .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}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-switch{display:inline-flex;user-select:none;flex-direction:column;margin-bottom:8px}.bcm-switch__container{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.bcm-switch__container--left,.bcm-switch__container--right{align-items:center}.bcm-switch__container--left .bcm-label__text,.bcm-switch__container--right .bcm-label__text{margin:0}.bcm-switch__container--left{flex-direction:row}.bcm-switch__container--left .bcm-label__text{margin-right:4px}.bcm-switch__container--right{flex-direction:row-reverse}.bcm-switch__container--right .bcm-label__text{margin-left:4px}.bcm-switch:focus-visible{outline:none}.bcm-switch:focus-visible .bcm-switch__toggle{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-switch:focus-visible .bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch:hover{outline:none}.bcm-switch:hover .bcm-switch__toggle .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch:hover .bcm-switch__toggle.switch-checked .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch *{box-sizing:border-box}.bcm-switch.hidden{display:none}.bcm-switch input{display:none}.bcm-switch.disabled .bcm-switch__toggle{cursor:not-allowed;opacity:40%}.bcm-switch.readonly .bcm-switch__toggle{cursor:default;opacity:80%}.bcm-switch__label{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-flex;align-items:center;margin:0}.bcm-switch__label .active-text{color:var(--bcm-new-ds-color-blue-500);margin:0 0 0 4px}.bcm-switch__label .inactive-text{color:var(--bcm-new-ds-color-slate-500);margin:0 4px 0 0}.bcm-switch__toggle{display:flex;justify-content:space-between;align-items:center;border-radius:16px;background-color:var(--bcm-new-ds-color-slate-300);position:relative;cursor:pointer}.bcm-switch__toggle .handle{padding:1px;position:absolute;background-color:var(--bcm-new-ds-color-slate-50);display:inline-flex;align-items:center;justify-content:center;border-radius:16px;transition:left 0.2s ease-in-out, width 0.2s ease-in-out;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-switch__toggle .icon-active{opacity:0;margin-left:2px}.bcm-switch__toggle .icon-inactive{opacity:1;margin-right:2px}.bcm-switch__toggle.bcm-switch__size-small{width:32px;min-width:32px;height:16px;padding:4px}.bcm-switch__toggle.bcm-switch__size-small .handle{width:12px;height:12px;left:2px}.bcm-switch__toggle.bcm-switch__size-small.switch-checked .handle{left:18px}.bcm-switch__toggle.bcm-switch__size-small:active:not(.disabled):not(.readonly) .handle{width:16px}.bcm-switch__toggle.bcm-switch__size-small:active.switch-checked:not(.disabled):not(.readonly) .handle{left:12px}.bcm-switch__toggle.bcm-switch__size-small .switch-spinner{box-sizing:border-box;display:inline-flex;width:9px;height:9px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-medium{width:36px;min-width:36px;height:18px;padding:4px}.bcm-switch__toggle.bcm-switch__size-medium .handle{width:14px;height:14px;left:2px}.bcm-switch__toggle.bcm-switch__size-medium.switch-checked .handle{left:20px}.bcm-switch__toggle.bcm-switch__size-medium:active:not(.disabled):not(.readonly) .handle{width:18px}.bcm-switch__toggle.bcm-switch__size-medium:active.switch-checked:not(.disabled):not(.readonly) .handle{left:14px}.bcm-switch__toggle.bcm-switch__size-medium .switch-spinner{box-sizing:border-box;display:inline-flex;width:11px;height:11px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-large{width:40px;min-width:40px;height:20px;padding:4px}.bcm-switch__toggle.bcm-switch__size-large .handle{width:16px;height:16px;left:2px}.bcm-switch__toggle.bcm-switch__size-large.switch-checked .handle{left:22px}.bcm-switch__toggle.bcm-switch__size-large:active:not(.disabled):not(.readonly) .handle{width:20px}.bcm-switch__toggle.bcm-switch__size-large:active.switch-checked:not(.disabled):not(.readonly) .handle{left:16px}.bcm-switch__toggle.bcm-switch__size-large .switch-spinner{box-sizing:border-box;display:inline-flex;width:13px;height:13px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-500)}.bcm-switch__toggle.switch-checked .icon-active{color:var(--bcm-new-ds-color-slate-100);opacity:1}.bcm-switch__toggle.switch-checked .icon-inactive{opacity:0}.bcm-switch__toggle.switch-checked .switch-spinner{border-top-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch__size-small .bcm-switch__label,.bcm-switch__size-small .bcm-label__text{font-size:12px}.bcm-switch__size-small .bcm-switch__toggle{font-size:8px}.bcm-switch__size-medium .bcm-switch__label,.bcm-switch__size-medium .bcm-label__text{font-size:13px}.bcm-switch__size-medium .bcm-switch__toggle{font-size:9px}.bcm-switch__size-large .bcm-switch__label,.bcm-switch__size-large .bcm-label__text{font-size:16px}.bcm-switch__size-large .bcm-switch__toggle{font-size:12px}@keyframes switch-spinner{to{transform:rotate(360deg)}}';export{m as bcm_switch}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,h as i,H as e,g as s}from"./p-170cf07d.js";import"./p-07c3eb8e.js";import"./p-d245e0a0.js";import{G as r}from"./p-0720cb6f.js";import"./p-8c4d1c0d.js";import"./p-d153c7fc.js";import"./p-5ae0a59b.js";import"./p-f711588b.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-6edf985f.js";import"./p-85eedabc.js";import"./p-78baef69.js";const o=class{constructor(i){t(this,i),this._id=r.UID(),this.active=!1,this.disabled=!1,this.index=void 0}componentWillLoad(){this.indexControl()}componentDidRender(){this.headerMove()}getHeaderItem(){const t=this.el.querySelector("bcm-tab-item-header");return t&&(t.setAttribute("index",`${this.index}`),t.setAttribute("active",`${this.active}`),t.setAttribute("disabled",`${this.disabled}`),t.setAttribute("tab-id",`${this._id}`),t.style.order=`${this.index}`),t}getParentTabGroup(){return r.findParentElement(this.el,"bcm-tab-group")}getFindHeaderItem(){var t,i;return null===(i=null===(t=this.getParentTabGroup())||void 0===t?void 0:t.querySelector("#tab-header"))||void 0===i?void 0:i.querySelector(`bcm-tab-item-header[tab-id="${this._id}"]`)}headerMove(){var t,i,e,s;this.getHeaderItem()&&(null===(t=this.getFindHeaderItem())||void 0===t||t.remove(),null===(e=null===(i=this.getParentTabGroup())||void 0===i?void 0:i.querySelector("#tab-header"))||void 0===e||e.appendChild(this.getHeaderItem()),null===(s=this.el.parentElement)||void 0===s||s.refresh())}indexControl(){var t;this.index||null===(t=r.findParentElement(this.el,"bcm-tab-group"))||void 0===t||t.querySelectorAll("bcm-tab-item").forEach(((t,i)=>{t===this.el&&t.setAttribute("index",`${i+1}`)}))}componentDidLoad(){new MutationObserver((()=>{this.headerMove()})).observe(this.el,{childList:!0,subtree:!0})}render(){return i(e,{id:this._id,role:"tabpanel","aria-labelledby":`tab-${this._id}`,"aria-hidden":`${!this.active}`,class:{"tw-block":this.active,"tw-hidden":!this.active,"tw-opacity-50":this.disabled,"tw-w-full":!0}},i("slot",null))}get el(){return s(this)}};export{o as bcm_tab_item}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import{h as m}from"./p-170cf07d.js";import{c as r}from"./p-64fad38b.js";import{B as e}from"./p-f711588b.js";import{S as o}from"./p-ccf0872d.js";const t=({required:t,value:s,size:l,form:a,htmlFor:c,type:f})=>{const p=r("bcm-label__text","bcm-label__text-"+(f=f||e.Status.default),"bcm-label__size-"+(l=l||"medium"));return m("label",{form:a,htmlFor:c,class:p}," ",m(o,{value:s})," ",t&&"*")};export{t as L}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,h as i,H as t}from"./p-170cf07d.js";import{c as p}from"./p-
|
|
5
|
+
import{r as e,h as i,H as t}from"./p-170cf07d.js";import{c as p}from"./p-64fad38b.js";import"./p-85eedabc.js";const s=class{constructor(i){e(this,i),this.heading=void 0,this.visible=!0,this.hidden=!1}render(){const e=p("group",{visible:this.visible}),s=p(this.hidden?"hidden":null);return i(t,{class:s},i("div",{class:e},i("span",{class:"group-title size-1"}," ",this.heading," "),i("slot",null)))}};s.style='@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:block}:host(.hidden){display:none}.group{display:none}.group.visible{display:block}.group-title{color:var(--bcm-color-grey-7);padding:4px 8px;display:block}';export{s as bcm_select_group}
|