bromcom-ui 2.12.4-rc.0 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-2a15a39d.entry.js → p-03337609.entry.js} +1 -1
- package/dist/bromcom-ui/{p-652c1d30.entry.js → p-14b04371.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32a5791b.entry.js → p-19ed830b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-55a44163.entry.js → p-1a7e1a74.entry.js} +1 -1
- package/dist/bromcom-ui/{p-63646141.entry.js → p-1fbec9e4.entry.js} +1 -1
- package/dist/bromcom-ui/p-217934a4.entry.js +5 -0
- package/dist/bromcom-ui/p-22e3161d.entry.js +5 -0
- package/dist/bromcom-ui/{p-b1754fc5.entry.js → p-2a0b6273.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fcc6f71e.js → p-2d0ff35e.js} +1 -1
- package/dist/bromcom-ui/p-367bc8e0.js +5 -0
- package/dist/bromcom-ui/{p-b689c630.entry.js → p-369948e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fcbd8a75.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4211b6bb.entry.js → p-46628fcd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-49c6a7eb.entry.js → p-485ed6c1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8129ed3a.js → p-499d8454.js} +1 -1
- package/dist/bromcom-ui/{p-b1382dbd.entry.js → p-4a71c61a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3182df7e.js → p-4d2bf0e7.js} +1 -1
- package/dist/bromcom-ui/{p-1fb713c8.entry.js → p-51ba3626.entry.js} +1 -1
- package/dist/bromcom-ui/p-556010cb.js +5 -0
- package/dist/bromcom-ui/{p-a4f0590d.entry.js → p-583982a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d4c75e60.entry.js → p-5bf051b9.entry.js} +1 -1
- package/dist/bromcom-ui/p-5c4939a7.js +5 -0
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/p-6f224017.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-6f2e4c9b.js} +1 -1
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-6f861fed.js} +1 -1
- package/dist/bromcom-ui/{p-9eb250d4.entry.js → p-7416d1f6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d1298c40.js → p-7b21fcb9.js} +1 -1
- package/dist/bromcom-ui/p-815f884d.entry.js +5 -0
- package/dist/bromcom-ui/p-8363990a.entry.js +5 -0
- package/dist/bromcom-ui/p-8457670e.entry.js +5 -0
- package/dist/bromcom-ui/{p-f82db5dd.js → p-858cee66.js} +1 -1
- package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/{p-65783175.js → p-8e5e362a.js} +1 -1
- package/dist/bromcom-ui/{p-34b9cf32.entry.js → p-9015080d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-40a29024.entry.js → p-9d41ff2a.entry.js} +1 -1
- package/dist/bromcom-ui/p-a080c8ea.entry.js +5 -0
- package/dist/bromcom-ui/p-a141b2bc.entry.js +5 -0
- package/dist/bromcom-ui/{p-4680865d.js → p-a2df6c19.js} +1 -1
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/{p-c097f624.entry.js → p-a6b4a46d.entry.js} +1 -1
- package/dist/bromcom-ui/p-a6b696de.js +5 -0
- package/dist/bromcom-ui/p-acfceb2b.entry.js +5 -0
- package/dist/bromcom-ui/{p-c0aa5289.entry.js → p-b46e368e.entry.js} +1 -1
- package/dist/bromcom-ui/p-b85227c8.entry.js +5 -0
- package/dist/bromcom-ui/p-c47463b1.entry.js +5 -0
- package/dist/bromcom-ui/{p-defdd05b.entry.js → p-c4bf7f7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-826a85ed.entry.js → p-c5bb29d0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c3b74f76.entry.js → p-cc70861b.entry.js} +1 -1
- package/dist/bromcom-ui/p-ce452032.entry.js +16 -0
- package/dist/bromcom-ui/{p-b4b9ca15.entry.js → p-d0e56f5f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-aa6887d7.js → p-d4e4aeee.js} +1 -1
- package/dist/bromcom-ui/{p-6b5ed4d8.js → p-d65bc842.js} +1 -1
- package/dist/bromcom-ui/p-dc73abe2.js +5 -0
- package/dist/bromcom-ui/p-dcd69786.entry.js +5 -0
- package/dist/bromcom-ui/{p-50a1591e.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/{p-874053cc.entry.js → p-e7c31126.entry.js} +1 -1
- package/dist/bromcom-ui/p-e9a43560.js +5 -0
- package/dist/bromcom-ui/p-ea24a822.entry.js +5 -0
- package/dist/bromcom-ui/{p-f815dc7a.entry.js → p-fdd4cabe.entry.js} +1 -1
- package/dist/cjs/{bcm-489c9b1a.js → bcm-1d1fcf21.js} +4 -4
- package/dist/cjs/bcm-accordion_68.cjs.entry.js +47182 -0
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-caption.cjs.entry.js +9 -9
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-input-2.cjs.entry.js +9 -9
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
- package/dist/cjs/bcm-number-input.cjs.entry.js +9 -9
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
- package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-toast.cjs.entry.js +18 -18
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-f8a78504.js} +9 -9
- package/dist/cjs/{floating-ui-21890d11.js → floating-ui-5b396838.js} +2 -2
- package/dist/cjs/{generate-b55bc9ac.js → generate-a25d8fc8.js} +1 -1
- package/dist/cjs/{global-ae5a410a.js → global-08c079a8.js} +1 -1
- package/dist/cjs/{input.style-b5676e6a.js → input.style-bee84fb0.js} +1 -1
- package/dist/cjs/{label-template-6da4808b.js → label-template-fc301e0c.js} +6 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-4a5c0bb5.js → number-helper-3a56812f.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/{package-1757d4e0.js → package-6afe17f3.js} +1 -1
- package/dist/cjs/{popover-placement-e7d6eabd.js → popover-placement-02e6101b.js} +1 -1
- package/dist/cjs/{slot-template-c8e2816c.js → slot-template-df7b5b59.js} +1 -1
- package/dist/cjs/{string-helper-f9184277.js → string-helper-9cdfb273.js} +2 -2
- package/dist/cjs/{validators-51a16def.js → validators-78797513.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/avatar/avatar.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar.style.js +4 -4
- package/dist/collection/components/atoms/badge/badge.style.js +8 -8
- package/dist/collection/components/atoms/button/button.css +90 -92
- package/dist/collection/components/atoms/button/button.js +45 -46
- package/dist/collection/components/atoms/chip/chip.css +27 -29
- package/dist/collection/components/atoms/chip/chip.js +10 -11
- package/dist/collection/components/atoms/divider/divider.css +4 -4
- package/dist/collection/components/atoms/link/link.css +10 -11
- package/dist/collection/components/molecules/accordion/accordion.css +23 -0
- package/dist/collection/components/molecules/accordion/accordion.js +1 -1
- package/dist/collection/components/molecules/alert/alert.css +28 -24
- package/dist/collection/components/molecules/alert/alert.js +26 -36
- package/dist/collection/components/molecules/button-group/button-group.css +15 -23
- package/dist/collection/components/molecules/checkbox/checkbox.css +15 -15
- package/dist/collection/components/molecules/checkbox/checkbox.js +8 -9
- package/dist/collection/components/molecules/color-input/color-input.js +1 -1
- package/dist/collection/components/molecules/empty/empty.js +1 -1
- package/dist/collection/components/molecules/error-layout/error-layout.css +13 -15
- package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +25 -22
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
- package/dist/collection/components/molecules/input/input.css +21 -13
- package/dist/collection/components/molecules/input/input.style.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +29 -23
- package/dist/collection/components/molecules/modal/modal.css +42 -35
- package/dist/collection/components/molecules/modal/modal.js +1 -1
- package/dist/collection/components/molecules/radio/radio.js +10 -10
- package/dist/collection/components/molecules/range/range.css +5 -8
- package/dist/collection/components/molecules/search/search.css +21 -13
- package/dist/collection/components/molecules/stepper/stepper.css +6 -5
- package/dist/collection/components/molecules/switch/switch.css +22 -21
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +6 -6
- package/dist/collection/components/molecules/textarea/textarea.css +21 -13
- package/dist/collection/components/organism/list/list.css +44 -44
- package/dist/collection/components/organism/list/list.js +19 -73
- package/dist/collection/components/other/shortcut/shortcut.js +4 -4
- package/dist/collection/components/other/toast/toast.js +7 -7
- package/dist/collection/components/third-parts/colorful/colorful.css +21 -13
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +13 -9
- package/dist/collection/global/components/_checkbox.css +15 -15
- package/dist/collection/helper/popover-helper.js +5 -5
- package/dist/collection/helper/tooltip-helper.js +6 -6
- package/dist/collection/templates/caption-template.js +9 -9
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +4 -4
- package/dist/collection/templates/step-template.js +4 -4
- package/dist/components/avatar.js +6 -6
- package/dist/components/badge.js +9 -9
- package/dist/components/bcm-accordion.js +2 -2
- package/dist/components/bcm-alert.js +28 -41
- package/dist/components/bcm-attendance-actions-comment.js +1 -1
- package/dist/components/bcm-attendance-actions-dropdown.js +1 -1
- package/dist/components/bcm-attendance-actions.js +1 -1
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-checkbox-group.js +1 -1
- package/dist/components/bcm-color-input.js +1 -1
- package/dist/components/bcm-error-layout.js +2 -2
- package/dist/components/bcm-expansion-panel.js +2 -2
- package/dist/components/bcm-input-2.js +1 -1
- package/dist/components/bcm-input-dropdown.js +1 -1
- package/dist/components/bcm-modal.js +2 -2
- package/dist/components/bcm-popover.js +5 -5
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-shortcut.js +4 -4
- package/dist/components/bcm-stepper.js +6 -6
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-item-header.js +6 -6
- package/dist/components/bcm-toast.js +7 -7
- package/dist/components/button.js +47 -48
- package/dist/components/caption-template.js +9 -9
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +9 -10
- package/dist/components/chip.js +11 -12
- package/dist/components/colorful.js +1 -1
- package/dist/components/divider.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/index4.js +2549 -171
- package/dist/components/index5.js +171 -2549
- package/dist/components/input-template.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input.style.js +2 -2
- package/dist/components/label.js +4 -4
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +21 -58
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +10 -10
- package/dist/components/rc-picker.js +1 -1
- package/dist/components/search.js +2 -2
- package/dist/components/skeleton.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/tooltip-helper.js +6 -6
- package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/bcm-a50d55ba.js +1 -1
- package/dist/esm/bcm-accordion_68.entry.js +47111 -0
- package/dist/esm/bcm-attendance-actions-comment.entry.js +12 -12
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +13 -13
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -6
- package/dist/esm/bcm-caption.entry.js +14 -14
- package/dist/esm/bcm-card.entry.js +10 -10
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +9 -9
- package/dist/esm/bcm-datetime-picker.entry.js +13 -13
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-form-2.entry.js +8 -8
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-2.entry.js +11 -11
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +14 -14
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
- package/dist/esm/bcm-modal-2-header.entry.js +11 -11
- package/dist/esm/bcm-modal-2.entry.js +13 -13
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +15 -15
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-react-number.entry.js +3 -3
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-skeleton.entry.js +11 -11
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +12 -12
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +9 -9
- package/dist/esm/bcm-time-picker.entry.js +9 -9
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +16 -16
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-9d0ea503.js → caption-template-16dd9444.js} +11 -11
- package/dist/esm/{color-helper-e74656af.js → color-helper-ba15b0d8.js} +2 -2
- package/dist/esm/{colors-df32bb43.js → colors-ed4e7579.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-b75266e6.js} +1 -1
- package/dist/esm/floating-ui-3f4394da.js +1 -1
- package/dist/esm/{generate-27c06421.js → generate-a4b85775.js} +2 -2
- package/dist/esm/{global-0dac0bf2.js → global-1baa11cd.js} +2 -2
- package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-a6d9d0af.js → index-0d3a56ec.js} +1 -1
- package/dist/esm/{index-b3026131.js → index-4614b7f0.js} +1 -1
- package/dist/esm/{input.style-e855c0f3.js → input.style-0ddc0073.js} +1 -1
- package/dist/esm/{is-load-decorator-613d613a.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{label-template-8c5948ab.js → label-template-4c3797f4.js} +7 -7
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{number-helper-94a51ec2.js → number-helper-872d5482.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +7 -7
- package/dist/esm/{package-34090aad.js → package-1d6f13ed.js} +1 -1
- package/dist/esm/{popover-placement-2f5939ea.js → popover-placement-2bf3a181.js} +1 -1
- package/dist/esm/{slot-template-f85d540c.js → slot-template-e0202c5a.js} +2 -2
- package/dist/esm/{string-helper-85990695.js → string-helper-69203215.js} +2 -2
- package/dist/esm/{utils-b3338faf.js → utils-7727d09e.js} +1 -1
- package/dist/esm/{validators-7e605ca5.js → validators-e9800e9a.js} +1 -1
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +21 -21
- package/dist/types/components/molecules/alert/alert.d.ts +1 -3
- package/dist/types/components/organism/list/list.d.ts +0 -4
- package/dist/types/components.d.ts +0 -4
- package/package.json +1 -1
- package/dist/bromcom-ui/p-0089f9c5.entry.js +0 -5
- package/dist/bromcom-ui/p-03cc10f8.entry.js +0 -5
- package/dist/bromcom-ui/p-075dd6ba.entry.js +0 -5
- package/dist/bromcom-ui/p-07971537.entry.js +0 -5
- package/dist/bromcom-ui/p-0d952c81.js +0 -5
- package/dist/bromcom-ui/p-0e97b110.js +0 -5
- package/dist/bromcom-ui/p-12687eaa.entry.js +0 -5
- package/dist/bromcom-ui/p-1441edac.entry.js +0 -5
- package/dist/bromcom-ui/p-17bc7e7e.entry.js +0 -5
- package/dist/bromcom-ui/p-1ac9eb84.entry.js +0 -5
- package/dist/bromcom-ui/p-1bf1e8ad.entry.js +0 -5
- package/dist/bromcom-ui/p-1c8ed0b3.entry.js +0 -5
- package/dist/bromcom-ui/p-1d663e83.entry.js +0 -5
- package/dist/bromcom-ui/p-21b4ca2e.entry.js +0 -5
- package/dist/bromcom-ui/p-2ebe3b67.entry.js +0 -5
- package/dist/bromcom-ui/p-30a11f2e.entry.js +0 -5
- package/dist/bromcom-ui/p-30cc83af.js +0 -5
- package/dist/bromcom-ui/p-33d204f1.entry.js +0 -5
- package/dist/bromcom-ui/p-348e74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-379b00d6.js +0 -5
- package/dist/bromcom-ui/p-38a52254.js +0 -5
- package/dist/bromcom-ui/p-3e12382d.js +0 -5
- package/dist/bromcom-ui/p-4b5c5f62.entry.js +0 -5
- package/dist/bromcom-ui/p-4c2e776d.entry.js +0 -5
- package/dist/bromcom-ui/p-4c9c2159.entry.js +0 -5
- package/dist/bromcom-ui/p-56b45430.entry.js +0 -5
- package/dist/bromcom-ui/p-646c8ea2.entry.js +0 -5
- package/dist/bromcom-ui/p-69e3b4f9.entry.js +0 -5
- package/dist/bromcom-ui/p-6b3bf457.entry.js +0 -5
- package/dist/bromcom-ui/p-6fa98b12.entry.js +0 -5
- package/dist/bromcom-ui/p-7247ac65.entry.js +0 -5
- package/dist/bromcom-ui/p-7505325c.entry.js +0 -5
- package/dist/bromcom-ui/p-76edf59f.js +0 -7
- package/dist/bromcom-ui/p-7ae23e76.entry.js +0 -5
- package/dist/bromcom-ui/p-7b6d3a77.entry.js +0 -5
- package/dist/bromcom-ui/p-7dd0467a.entry.js +0 -5
- package/dist/bromcom-ui/p-815f1132.entry.js +0 -5
- package/dist/bromcom-ui/p-852fd092.entry.js +0 -5
- package/dist/bromcom-ui/p-85aa9dfd.entry.js +0 -5
- package/dist/bromcom-ui/p-8baa08ea.entry.js +0 -5
- package/dist/bromcom-ui/p-8c7e1bea.entry.js +0 -5
- package/dist/bromcom-ui/p-8dda8873.js +0 -14
- package/dist/bromcom-ui/p-8ee40a96.js +0 -5
- package/dist/bromcom-ui/p-90b5befd.entry.js +0 -5
- package/dist/bromcom-ui/p-935f57ad.entry.js +0 -5
- package/dist/bromcom-ui/p-9402a607.entry.js +0 -5
- package/dist/bromcom-ui/p-9695f7c9.js +0 -5
- package/dist/bromcom-ui/p-97bc1843.entry.js +0 -5
- package/dist/bromcom-ui/p-9b080d5d.entry.js +0 -5
- package/dist/bromcom-ui/p-9b8e6484.entry.js +0 -5
- package/dist/bromcom-ui/p-9d1e255a.js +0 -5
- package/dist/bromcom-ui/p-9db3dcfa.entry.js +0 -5
- package/dist/bromcom-ui/p-ac949369.entry.js +0 -5
- package/dist/bromcom-ui/p-ad295560.entry.js +0 -5
- package/dist/bromcom-ui/p-b3faa68b.js +0 -5
- package/dist/bromcom-ui/p-b5bdc541.entry.js +0 -5
- package/dist/bromcom-ui/p-b716412b.entry.js +0 -5
- package/dist/bromcom-ui/p-bed627ab.js +0 -11
- package/dist/bromcom-ui/p-bfdf9447.entry.js +0 -5
- package/dist/bromcom-ui/p-c621138a.entry.js +0 -5
- package/dist/bromcom-ui/p-c9d35a7a.entry.js +0 -5
- package/dist/bromcom-ui/p-d0833fd3.entry.js +0 -5
- package/dist/bromcom-ui/p-d1dbebf6.entry.js +0 -5
- package/dist/bromcom-ui/p-d2f863d9.js +0 -5
- package/dist/bromcom-ui/p-d6c99f1f.entry.js +0 -5
- package/dist/bromcom-ui/p-daa32fc1.js +0 -5
- package/dist/bromcom-ui/p-dc3275aa.entry.js +0 -5
- package/dist/bromcom-ui/p-dccb9b5f.entry.js +0 -5
- package/dist/bromcom-ui/p-de1f21b5.entry.js +0 -5
- package/dist/bromcom-ui/p-de23b7bf.entry.js +0 -5
- package/dist/bromcom-ui/p-e3f8efa5.entry.js +0 -5
- package/dist/bromcom-ui/p-ee1b4a47.entry.js +0 -5
- package/dist/bromcom-ui/p-f0469946.entry.js +0 -5
- package/dist/bromcom-ui/p-f2fc3d54.entry.js +0 -5
- package/dist/bromcom-ui/p-f3c9ad5e.entry.js +0 -5
- package/dist/bromcom-ui/p-f6f37125.entry.js +0 -5
- package/dist/bromcom-ui/p-f86515f0.entry.js +0 -5
- package/dist/bromcom-ui/p-f908af03.entry.js +0 -5
- package/dist/bromcom-ui/p-f9c32e82.entry.js +0 -5
- package/dist/bromcom-ui/p-fd0c42ae.entry.js +0 -5
- package/dist/cjs/Overflow-ebad34dd.js +0 -2292
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -74
- package/dist/cjs/bcm-alert.cjs.entry.js +0 -99
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -35
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -210
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -92
- package/dist/cjs/bcm-button.cjs.entry.js +0 -372
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2529
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
- package/dist/cjs/bcm-chip-group.cjs.entry.js +0 -128
- package/dist/cjs/bcm-chip.cjs.entry.js +0 -91
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -43
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -62
- package/dist/cjs/bcm-color-input.cjs.entry.js +0 -77
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +0 -251
- package/dist/cjs/bcm-date.cjs.entry.js +0 -182
- package/dist/cjs/bcm-drawer.cjs.entry.js +0 -96
- package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -119
- package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -64
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -116
- package/dist/cjs/bcm-form.cjs.entry.js +0 -492
- package/dist/cjs/bcm-icon_6.cjs.entry.js +0 -2152
- package/dist/cjs/bcm-input_2.cjs.entry.js +0 -550
- package/dist/cjs/bcm-item.cjs.entry.js +0 -72
- package/dist/cjs/bcm-items.cjs.entry.js +0 -49
- package/dist/cjs/bcm-link.cjs.entry.js +0 -51
- package/dist/cjs/bcm-menu.cjs.entry.js +0 -151
- package/dist/cjs/bcm-modal.cjs.entry.js +0 -157
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -145
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -115
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -101
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -230
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -162
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -161
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -65
- package/dist/cjs/bcm-range.cjs.entry.js +0 -183
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -10235
- package/dist/cjs/bcm-select.cjs.entry.js +0 -1195
- package/dist/cjs/bcm-shortcut.cjs.entry.js +0 -65
- package/dist/cjs/bcm-step.cjs.entry.js +0 -89
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -240
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -210
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +0 -60
- package/dist/cjs/bcm-tab-item.cjs.entry.js +0 -91
- package/dist/cjs/bcm-tab.cjs.entry.js +0 -72
- package/dist/cjs/bcm-tabs.cjs.entry.js +0 -370
- package/dist/cjs/bcm-text.cjs.entry.js +0 -49
- package/dist/cjs/index-d321de96.js +0 -193
- package/dist/cjs/input-template-4f41f5f2.js +0 -92
- package/dist/cjs/json-parse-decarator-ca73e0ee.js +0 -40
- package/dist/cjs/lodash-917168d7.js +0 -17199
- package/dist/cjs/moment-d06b012f.js +0 -4601
- package/dist/cjs/stepper-states-969da6c3.js +0 -85
- package/dist/cjs/tooltip-helper-a45a6cd4.js +0 -158
- package/dist/esm/Overflow-65c2db90.js +0 -2275
- package/dist/esm/bcm-accordion.entry.js +0 -70
- package/dist/esm/bcm-alert.entry.js +0 -95
- package/dist/esm/bcm-attendance-actions.entry.js +0 -326
- package/dist/esm/bcm-attendance.entry.js +0 -31
- package/dist/esm/bcm-avatar_2.entry.js +0 -205
- package/dist/esm/bcm-button-group.entry.js +0 -88
- package/dist/esm/bcm-button.entry.js +0 -368
- package/dist/esm/bcm-checkbox-group.entry.js +0 -411
- package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2517
- package/dist/esm/bcm-checkbox_2.entry.js +0 -189
- package/dist/esm/bcm-chip-group.entry.js +0 -124
- package/dist/esm/bcm-chip.entry.js +0 -87
- package/dist/esm/bcm-collapse-group.entry.js +0 -39
- package/dist/esm/bcm-collapse.entry.js +0 -58
- package/dist/esm/bcm-color-input.entry.js +0 -73
- package/dist/esm/bcm-colorful_2.entry.js +0 -246
- package/dist/esm/bcm-date.entry.js +0 -178
- package/dist/esm/bcm-drawer.entry.js +0 -92
- package/dist/esm/bcm-dropdown.entry.js +0 -115
- package/dist/esm/bcm-error-layout.entry.js +0 -60
- package/dist/esm/bcm-expansion-panel.entry.js +0 -112
- package/dist/esm/bcm-form.entry.js +0 -488
- package/dist/esm/bcm-icon_6.entry.js +0 -2143
- package/dist/esm/bcm-input_2.entry.js +0 -545
- package/dist/esm/bcm-item.entry.js +0 -68
- package/dist/esm/bcm-items.entry.js +0 -45
- package/dist/esm/bcm-link.entry.js +0 -47
- package/dist/esm/bcm-menu.entry.js +0 -147
- package/dist/esm/bcm-modal.entry.js +0 -153
- package/dist/esm/bcm-old-input.entry.js +0 -393
- package/dist/esm/bcm-old-tag_2.entry.js +0 -140
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -111
- package/dist/esm/bcm-popconfirm.entry.js +0 -97
- package/dist/esm/bcm-popover.entry.js +0 -226
- package/dist/esm/bcm-progress.entry.js +0 -158
- package/dist/esm/bcm-radio-group.entry.js +0 -157
- package/dist/esm/bcm-radio.entry.js +0 -61
- package/dist/esm/bcm-range.entry.js +0 -179
- package/dist/esm/bcm-rc-picker.entry.js +0 -10231
- package/dist/esm/bcm-select.entry.js +0 -1191
- package/dist/esm/bcm-shortcut.entry.js +0 -61
- package/dist/esm/bcm-step.entry.js +0 -85
- package/dist/esm/bcm-stepper.entry.js +0 -236
- package/dist/esm/bcm-switch.entry.js +0 -147
- package/dist/esm/bcm-tab-group.entry.js +0 -206
- package/dist/esm/bcm-tab-item-header.entry.js +0 -56
- package/dist/esm/bcm-tab-item.entry.js +0 -87
- package/dist/esm/bcm-tab.entry.js +0 -68
- package/dist/esm/bcm-tabs.entry.js +0 -366
- package/dist/esm/bcm-text.entry.js +0 -45
- package/dist/esm/index-91dbe540.js +0 -191
- package/dist/esm/input-template-4d3a4e34.js +0 -90
- package/dist/esm/json-parse-decarator-1f7310a8.js +0 -38
- package/dist/esm/lodash-0a4396a7.js +0 -17197
- package/dist/esm/moment-15cd9198.js +0 -4598
- package/dist/esm/stepper-states-b1aa55b0.js +0 -83
- package/dist/esm/tooltip-helper-112e52a6.js +0 -156
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-c591ecec.js');
|
|
10
|
-
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const captionTemplate = require('./caption-template-85a18b6d.js');
|
|
12
|
-
const generate = require('./generate-b55bc9ac.js');
|
|
13
|
-
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
14
|
-
const bcm = require('./bcm-489c9b1a.js');
|
|
15
|
-
const utils = require('./utils-fc077139.js');
|
|
16
|
-
const colorHelper = require('./color-helper-dc98a2ca.js');
|
|
17
|
-
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
18
|
-
require('./_commonjsHelpers-ed84c3ca.js');
|
|
19
|
-
require('./package-1757d4e0.js');
|
|
20
|
-
require('./colors-250d0982.js');
|
|
21
|
-
require('./string-helper-f9184277.js');
|
|
22
|
-
require('./colors-56282b00.js');
|
|
23
|
-
|
|
24
|
-
const checkboxCss = "@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}.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-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
25
|
-
|
|
26
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
-
else
|
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
-
if (d = decorators[i])
|
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
-
};
|
|
36
|
-
const BcmCheckbox = class {
|
|
37
|
-
constructor(hostRef) {
|
|
38
|
-
index.registerInstance(this, hostRef);
|
|
39
|
-
this.blur = index.createEvent(this, "bcm-blur", 7);
|
|
40
|
-
this.focus = index.createEvent(this, "bcm-focus", 7);
|
|
41
|
-
this.change = index.createEvent(this, "bcm-change", 7);
|
|
42
|
-
this.changeCheckbox = index.createEvent(this, "bcm-change-checkbox", 7);
|
|
43
|
-
this._id = generate.Generate.UID();
|
|
44
|
-
this.inGroup = false;
|
|
45
|
-
this.value = false;
|
|
46
|
-
this.checked = false;
|
|
47
|
-
this.name = undefined;
|
|
48
|
-
this.disabled = false;
|
|
49
|
-
this.hidden = false;
|
|
50
|
-
this.required = false;
|
|
51
|
-
this.label = undefined;
|
|
52
|
-
this.readonly = false;
|
|
53
|
-
this.size = bcm.Bcm.Size.medium;
|
|
54
|
-
this.indeterminate = null;
|
|
55
|
-
this.color = "blue";
|
|
56
|
-
this.caption = undefined;
|
|
57
|
-
this.noCaption = false;
|
|
58
|
-
this.captionError = undefined;
|
|
59
|
-
this.captionType = bcm.Bcm.Status.default;
|
|
60
|
-
this.captionCache = undefined;
|
|
61
|
-
this.captionTypeCache = undefined;
|
|
62
|
-
}
|
|
63
|
-
connectedCallback() {
|
|
64
|
-
this.captionCache = this.caption;
|
|
65
|
-
this.captionTypeCache = this.captionType;
|
|
66
|
-
this.value = this.checked;
|
|
67
|
-
}
|
|
68
|
-
componentDidRender() {
|
|
69
|
-
this.inputElement.checked = this.checked;
|
|
70
|
-
}
|
|
71
|
-
async onBcmFocus() {
|
|
72
|
-
this.el.focus();
|
|
73
|
-
}
|
|
74
|
-
async onBcmBlur() {
|
|
75
|
-
this.el.blur();
|
|
76
|
-
}
|
|
77
|
-
async setClear() {
|
|
78
|
-
this.check(false);
|
|
79
|
-
this.handleChange();
|
|
80
|
-
await utils.delay(10);
|
|
81
|
-
return Promise.resolve();
|
|
82
|
-
}
|
|
83
|
-
async resetCaption() {
|
|
84
|
-
await utils.delay(10);
|
|
85
|
-
this.caption = this.captionCache;
|
|
86
|
-
this.captionType = this.captionTypeCache;
|
|
87
|
-
this.captionError = null;
|
|
88
|
-
await utils.delay(10);
|
|
89
|
-
return Promise.resolve();
|
|
90
|
-
}
|
|
91
|
-
handleChange() {
|
|
92
|
-
this.checked = this.inputElement.checked;
|
|
93
|
-
this.value = this.checked;
|
|
94
|
-
if (!this.indeterminate) {
|
|
95
|
-
this.changeCheckbox.emit();
|
|
96
|
-
this.change.emit({
|
|
97
|
-
name: this.name,
|
|
98
|
-
value: this.checked
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
watchIndeterminate(newValue, oldValue) {
|
|
103
|
-
if (newValue != oldValue) {
|
|
104
|
-
this.inputElement.checked = this.indeterminate == bcm.Bcm.IndeterminateType.determinate ? true : false;
|
|
105
|
-
this.handleChange();
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
async set(data) {
|
|
109
|
-
if (typeof data === 'boolean') {
|
|
110
|
-
await this.check(data);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
async get() {
|
|
114
|
-
return this.checked || false;
|
|
115
|
-
}
|
|
116
|
-
async check(uncheck = true) {
|
|
117
|
-
this.inputElement.checked = uncheck;
|
|
118
|
-
this.handleChange();
|
|
119
|
-
}
|
|
120
|
-
handleKeyUp(ev) {
|
|
121
|
-
if (ev.keyCode == bcm.Bcm.KeyCode.space || ev.keyCode == bcm.Bcm.KeyCode.enter) {
|
|
122
|
-
if (!this.disabled && !this.readonly) {
|
|
123
|
-
this.inputElement.checked = !this.inputElement.checked;
|
|
124
|
-
this.handleChange();
|
|
125
|
-
}
|
|
126
|
-
ev.stopPropagation();
|
|
127
|
-
ev.preventDefault();
|
|
128
|
-
return false;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
watchChecked() {
|
|
132
|
-
if (this.checked) {
|
|
133
|
-
this.resetCaption();
|
|
134
|
-
}
|
|
135
|
-
this.value = this.checked;
|
|
136
|
-
}
|
|
137
|
-
setColor(color = this.color) {
|
|
138
|
-
if (!color)
|
|
139
|
-
return;
|
|
140
|
-
const prefix = `--bcm-checkbox`;
|
|
141
|
-
return {
|
|
142
|
-
[`${prefix}-primary-color-default`]: colorHelper.ColorHelper.dsColor(color + '-500'),
|
|
143
|
-
[`${prefix}-primary-color-hover`]: colorHelper.ColorHelper.dsColor(color + '-600'),
|
|
144
|
-
[`${prefix}-primary-color-focus-visible`]: colorHelper.ColorHelper.dsColor(color + '-800'),
|
|
145
|
-
[`${prefix}-primary-color-active`]: colorHelper.ColorHelper.dsColor(color + '-700'),
|
|
146
|
-
// [`${prefix}-primary-color-disabled`]: ColorHelper.dsColor(color + '-300'),
|
|
147
|
-
[`${prefix}-secondary-color-default`]: colorHelper.ColorHelper.dsColor('white'),
|
|
148
|
-
[`${prefix}-secondary-color-hover`]: colorHelper.ColorHelper.dsColor('slate-50'),
|
|
149
|
-
[`${prefix}-secondary-color-focus-visible`]: colorHelper.ColorHelper.dsColor('slate-50'),
|
|
150
|
-
[`${prefix}-secondary-color-active`]: colorHelper.ColorHelper.dsColor('slate-50'),
|
|
151
|
-
// [`${prefix}-secondary-color-disabled`]: ColorHelper.dsColor('slate-200')
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
render() {
|
|
155
|
-
const { label, _id, indeterminate, hidden, disabled, checked, readonly, required, caption, captionError, captionType, noCaption, size } = this;
|
|
156
|
-
//////
|
|
157
|
-
const bcmCheckboxClass = index$1.classnames('bcm-checkbox', `bcm-checkbox-size-${size}`, {
|
|
158
|
-
'error': captionType == bcm.Bcm.Status.error,
|
|
159
|
-
hidden,
|
|
160
|
-
checked,
|
|
161
|
-
disabled,
|
|
162
|
-
required,
|
|
163
|
-
readonly,
|
|
164
|
-
});
|
|
165
|
-
const bcmCheckboxIconClass = index$1.classnames('bcm-checkbox__label-icon', 'bcm-checkbox__label-icon-lite', 'bcm-checkbox__label-icon-' + indeterminate, {
|
|
166
|
-
'bcm-checkbox__label-icon-checked': checked,
|
|
167
|
-
});
|
|
168
|
-
const bcmCheckboxLabelClass = index$1.classnames('bcm-checkbox__label');
|
|
169
|
-
const bcmCheckboxInputClass = index$1.classnames('bcm-checkbox__input');
|
|
170
|
-
return (index.h(index.Host, { tabindex: "0", onFocus: () => this.focus.emit(this.el), onBlur: () => this.blur.emit(this.el), style: this.setColor(this.color), class: bcmCheckboxClass, disabled: disabled }, index.h("span", { hidden: true }, index.h("slot", null)), label && index.h("bcm-label", { htmlFor: `input-${_id}`, type: captionType, value: label, required: required }), index.h("div", { class: bcmCheckboxInputClass }, index.h("input", { id: `input-${_id}`, type: "checkbox", checked: checked, disabled: disabled, required: required, readonly: readonly, onChange: () => { !disabled && !readonly && (this.handleChange()); }, ref: el => (this.inputElement = el) }), index.h("label", { class: bcmCheckboxLabelClass, htmlFor: `input-${_id}` }, index.h("span", { class: bcmCheckboxIconClass }, index.h("bcm-icon", { icon: "far fa-check" })), index.h(slotTemplate.SlotTemplate, { className: "slot" }))), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
171
|
-
}
|
|
172
|
-
get el() { return index.getElement(this); }
|
|
173
|
-
static get watchers() { return {
|
|
174
|
-
"indeterminate": ["watchIndeterminate"],
|
|
175
|
-
"checked": ["watchChecked"]
|
|
176
|
-
}; }
|
|
177
|
-
};
|
|
178
|
-
__decorate([
|
|
179
|
-
isLoadDecorator.IsLoad()
|
|
180
|
-
], BcmCheckbox.prototype, "el", void 0);
|
|
181
|
-
BcmCheckbox.style = checkboxCss;
|
|
182
|
-
|
|
183
|
-
const BcmTypography = class {
|
|
184
|
-
constructor(hostRef) {
|
|
185
|
-
index.registerInstance(this, hostRef);
|
|
186
|
-
}
|
|
187
|
-
render() {
|
|
188
|
-
return (index.h(index.Host, { class: "bcm-ui-element bcm-ui-content-display" }, index.h("slot", null)));
|
|
189
|
-
}
|
|
190
|
-
get el() { return index.getElement(this); }
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
exports.bcm_checkbox = BcmCheckbox;
|
|
194
|
-
exports.bcm_typography = BcmTypography;
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-c591ecec.js');
|
|
10
|
-
require('./color-helper-dc98a2ca.js');
|
|
11
|
-
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-b55bc9ac.js');
|
|
13
|
-
require('./number-helper-4a5c0bb5.js');
|
|
14
|
-
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-51a16def.js');
|
|
16
|
-
require('./element-dragger-a8562f82.js');
|
|
17
|
-
const bcm = require('./bcm-489c9b1a.js');
|
|
18
|
-
const captionTemplate = require('./caption-template-85a18b6d.js');
|
|
19
|
-
const index$1 = require('./index-95ae50d0.js');
|
|
20
|
-
require('./types-cc4adee7.js');
|
|
21
|
-
const labelTemplate = require('./label-template-6da4808b.js');
|
|
22
|
-
require('./types-7523fd99.js');
|
|
23
|
-
require('./colors-56282b00.js');
|
|
24
|
-
require('./utils-fc077139.js');
|
|
25
|
-
require('./colors-250d0982.js');
|
|
26
|
-
require('./_commonjsHelpers-ed84c3ca.js');
|
|
27
|
-
require('./package-1757d4e0.js');
|
|
28
|
-
|
|
29
|
-
const chipGroupCss = "@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}.bcm-chip-group .bcm-chip{cursor:pointer}";
|
|
30
|
-
|
|
31
|
-
const BcmChipGroup = class {
|
|
32
|
-
constructor(hostRef) {
|
|
33
|
-
index.registerInstance(this, hostRef);
|
|
34
|
-
this.change = index.createEvent(this, "bcm-change", 7);
|
|
35
|
-
this._id = generate.Generate.UID();
|
|
36
|
-
this.name = undefined;
|
|
37
|
-
this.value = undefined;
|
|
38
|
-
this.required = false;
|
|
39
|
-
this.size = "medium";
|
|
40
|
-
this.label = undefined;
|
|
41
|
-
this.caption = undefined;
|
|
42
|
-
this.noCaption = false;
|
|
43
|
-
this.captionType = bcm.Bcm$1.Status.default;
|
|
44
|
-
this.captionError = undefined;
|
|
45
|
-
}
|
|
46
|
-
handleSelectItem(e) {
|
|
47
|
-
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
48
|
-
if (target instanceof HTMLElement) {
|
|
49
|
-
const data = e.detail;
|
|
50
|
-
const chipItem = document.createElement("bcm-chip");
|
|
51
|
-
// chipItem.setAttribute("type", "dismissable");
|
|
52
|
-
chipItem.setAttribute("value", data.id);
|
|
53
|
-
chipItem.innerHTML = data.text;
|
|
54
|
-
target.parentNode.insertBefore(chipItem, target);
|
|
55
|
-
this.setSelect(data.id);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
handleDismiss(e) {
|
|
59
|
-
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
60
|
-
if (target instanceof HTMLElement) {
|
|
61
|
-
target.remove();
|
|
62
|
-
this.setSelect();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
handleSelect(e) {
|
|
66
|
-
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
67
|
-
if (target instanceof HTMLElement) {
|
|
68
|
-
if (target.type === "addable") {
|
|
69
|
-
this.showListComponent(target.id);
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
this.setSelect(target.value);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
showListComponent(id) {
|
|
77
|
-
const listComponent = document.getElementById(id + "-list");
|
|
78
|
-
if (listComponent) {
|
|
79
|
-
listComponent.show();
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
getSlots() {
|
|
83
|
-
return this.el.querySelectorAll("bcm-chip");
|
|
84
|
-
}
|
|
85
|
-
setSelect(val = this.value, noEvent = false) {
|
|
86
|
-
const slots = this.getSlots();
|
|
87
|
-
if ((slots === null || slots === void 0 ? void 0 : slots.length) === 0)
|
|
88
|
-
return;
|
|
89
|
-
const slotArray = Array.from(slots);
|
|
90
|
-
const selectedSlot = slotArray.find(slot => slot.value === val);
|
|
91
|
-
if (!selectedSlot) {
|
|
92
|
-
this.value = slotArray[0].value;
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
this.value = val;
|
|
96
|
-
}
|
|
97
|
-
slotArray.forEach(slot => {
|
|
98
|
-
slot.selected = slot.value === this.value;
|
|
99
|
-
});
|
|
100
|
-
if (!noEvent) {
|
|
101
|
-
this.change.emit(this.value);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
setAttr() {
|
|
105
|
-
const slots = this.getSlots();
|
|
106
|
-
if ((slots === null || slots === void 0 ? void 0 : slots.length) === 0)
|
|
107
|
-
return;
|
|
108
|
-
const slotArray = Array.from(slots);
|
|
109
|
-
slotArray.forEach(slot => {
|
|
110
|
-
slot.setAttribute("size", this.size);
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
componentWillLoad() {
|
|
114
|
-
this.setSelect();
|
|
115
|
-
}
|
|
116
|
-
componentDidRender() {
|
|
117
|
-
this.setAttr();
|
|
118
|
-
}
|
|
119
|
-
render() {
|
|
120
|
-
const { label, required, noCaption, captionType, captionError, caption } = this;
|
|
121
|
-
const hostClasses = index$1.classnames("bcm-chip-group");
|
|
122
|
-
return (index.h(index.Host, { class: hostClasses }, label && (index.h("div", null, index.h(labelTemplate.LabelTemplate, { type: captionType, value: label, required: required }))), index.h("div", { class: "tw-flex tw-flex-wrap tw-gap-1" }, index.h("slot", null)), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
123
|
-
}
|
|
124
|
-
get el() { return index.getElement(this); }
|
|
125
|
-
};
|
|
126
|
-
BcmChipGroup.style = chipGroupCss;
|
|
127
|
-
|
|
128
|
-
exports.bcm_chip_group = BcmChipGroup;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-c591ecec.js');
|
|
10
|
-
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const colorHelper = require('./color-helper-dc98a2ca.js');
|
|
12
|
-
const generate = require('./generate-b55bc9ac.js');
|
|
13
|
-
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./colors-56282b00.js');
|
|
15
|
-
require('./utils-fc077139.js');
|
|
16
|
-
require('./colors-250d0982.js');
|
|
17
|
-
require('./package-1757d4e0.js');
|
|
18
|
-
|
|
19
|
-
const chipCss = "@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-chip{--bcm-chip-color:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-hover:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-focus:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-active:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color:var(--bcm-new-ds-color-slate-100);--bcm-chip-background-color-hover:var(--bcm-new-ds-color-slate-200);--bcm-chip-background-color-focus:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-active:var(--bcm-new-ds-color-slate-400);--bcm-chip-background-color-disabled:var(--bcm-new-ds-color-slate-100);display:inline-flex;justify-content:center;align-items:center;width:fit-content;height:fit-content;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;padding:0 8px;gap:4px;color:var(--bcm-chip-color);background-color:var(--bcm-chip-background-color);border-radius:100px;transition:background-color 0.1s ease-in-out;outline:none}.bcm-chip:not(.bcm-chip--disabled):hover{background-color:var(--bcm-chip-background-color-hover)}.bcm-chip:not(.bcm-chip--disabled):focus{background-color:var(--bcm-chip-background-color-focus);color:var(--bcm-chip-color-focus)}.bcm-chip:not(.bcm-chip--disabled):active{background-color:var(--bcm-chip-background-color-active);color:var(--bcm-chip-color-active)}.bcm-chip--disabled{color:var(--bcm-chip-color-disabled);background-color:var(--bcm-chip-background-color-disabled)}.bcm-chip--avatar{padding-left:2px}.bcm-chip__type-dismissable-icon:hover{cursor:pointer;color:var(--bcm-chip-color-active)}.bcm-chip__size-small{font-size:10px;line-height:calc(10px + 8px)}.bcm-chip__size-small .bcm-avatar{width:14px;height:14px}.bcm-chip__size-small .bcm-chip--selected-icon{width:8px}.bcm-chip__size-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-chip__size-medium .bcm-avatar{width:16px;height:16px}.bcm-chip__size-medium .bcm-chip--selected-icon{width:10px}.bcm-chip__size-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-chip__size-large .bcm-avatar{width:18px;height:18px}.bcm-chip__size-large .bcm-chip--selected-icon{width:12px}";
|
|
20
|
-
|
|
21
|
-
const BcmChip = class {
|
|
22
|
-
constructor(hostRef) {
|
|
23
|
-
index.registerInstance(this, hostRef);
|
|
24
|
-
this.bcmChipDismiss = index.createEvent(this, "bcm-chip-dismiss", 7);
|
|
25
|
-
this.bcmChipSelect = index.createEvent(this, "bcm-chip-select", 7);
|
|
26
|
-
this.bcmChipAddable = index.createEvent(this, "bcm-chip-addable", 7);
|
|
27
|
-
this.bcmChipSelectItem = index.createEvent(this, "bcm-chip-select-item", 7);
|
|
28
|
-
this._id = generate.Generate.UID();
|
|
29
|
-
this.type = "default";
|
|
30
|
-
this.size = "medium";
|
|
31
|
-
this.avatar = undefined;
|
|
32
|
-
this.icon = undefined;
|
|
33
|
-
this.disabled = undefined;
|
|
34
|
-
this.color = undefined;
|
|
35
|
-
this.selected = false;
|
|
36
|
-
this.value = undefined;
|
|
37
|
-
this.data = [];
|
|
38
|
-
}
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
setColor() {
|
|
41
|
-
if (!this.color && !this.selected)
|
|
42
|
-
return;
|
|
43
|
-
const color = this.selected ? "indigo" : this.color; // Important: Find a solution for this in V3! ( selected ? this.color : "indigo" )
|
|
44
|
-
return {
|
|
45
|
-
"--bcm-chip-color": colorHelper.ColorHelper.dsColor(color + "-700"),
|
|
46
|
-
"--bcm-chip-color-hover": colorHelper.ColorHelper.dsColor(color + "-700"),
|
|
47
|
-
"--bcm-chip-color-focus": colorHelper.ColorHelper.dsColor(color + "-700"),
|
|
48
|
-
"--bcm-chip-color-active": colorHelper.ColorHelper.dsColor(color + "-700"),
|
|
49
|
-
"--bcm-chip-color-disabled": colorHelper.ColorHelper.dsColor("slate" + "-300"),
|
|
50
|
-
"--bcm-chip-background-color": colorHelper.ColorHelper.dsColor(color + "-100"),
|
|
51
|
-
"--bcm-chip-background-color-hover": colorHelper.ColorHelper.dsColor(color + "-200"),
|
|
52
|
-
"--bcm-chip-background-color-focus": colorHelper.ColorHelper.dsColor(color + "-300"),
|
|
53
|
-
"--bcm-chip-background-color-active": colorHelper.ColorHelper.dsColor(color + "-200"),
|
|
54
|
-
"--bcm-chip-background-color-disabled": colorHelper.ColorHelper.dsColor("slate" + "-100"),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
handleDismiss(e) {
|
|
58
|
-
e.stopPropagation();
|
|
59
|
-
e.preventDefault();
|
|
60
|
-
this.bcmChipDismiss.emit(this.el);
|
|
61
|
-
}
|
|
62
|
-
handleAddable(e) {
|
|
63
|
-
e.stopPropagation();
|
|
64
|
-
e.preventDefault();
|
|
65
|
-
this.bcmChipAddable.emit(this.el);
|
|
66
|
-
}
|
|
67
|
-
listSelectedItems(e) {
|
|
68
|
-
// To be added to v3
|
|
69
|
-
e.stopPropagation();
|
|
70
|
-
e.preventDefault();
|
|
71
|
-
if (e.detail) {
|
|
72
|
-
this.bcmChipSelectItem.emit(e.detail);
|
|
73
|
-
e.target.setClear();
|
|
74
|
-
this.data = this.data.filter(item => item.id !== e.detail.id);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
render() {
|
|
78
|
-
const { type, size, avatar, disabled, color } = this;
|
|
79
|
-
const hostClasses = index$1.classnames("bcm-chip", `bcm-chip__type-${type}`, `bcm-chip__size-${size}`, {
|
|
80
|
-
"bcm-chip--disabled": disabled,
|
|
81
|
-
"bcm-chip--avatar": avatar,
|
|
82
|
-
});
|
|
83
|
-
return (index.h(index.Host, { class: hostClasses, tabindex: "0", disabled: disabled, style: this.setColor(), onClick: e => this.bcmChipSelect.emit(e) }, index.h("div", { class: index$1.classnames(this.selected ? "bcm-chip--selected-icon" : "tw-hidden tw-w-0") }, index.h("bcm-icon", { icon: "fal fa-check" })), avatar && index.h("bcm-avatar", Object.assign({ size: size }, (color && { color }), (avatar && { image: avatar }))), type === "addable" && (index.h("span", { class: "bcm-chip__left" }, index.h("bcm-icon", { onClick: e => this.handleAddable(e), icon: "far fa-plus" }))), index.h("slot", null), type === "dismissable" && (index.h("span", { class: "bcm-chip__type-dismissable-icon" }, index.h("bcm-icon", { onClick: e => this.handleDismiss(e), icon: "fal fa-times" }))), this.data &&
|
|
84
|
-
this.data.length > 0 && ( // To be added to v3
|
|
85
|
-
index.h("bcm-list", { "onBcm-change": e => this.listSelectedItems(e), id: this._id + "-list", data: this.data, linkedComponent: this._id, searchable: true, highlight: true }))));
|
|
86
|
-
}
|
|
87
|
-
get el() { return index.getElement(this); }
|
|
88
|
-
};
|
|
89
|
-
BcmChip.style = chipCss;
|
|
90
|
-
|
|
91
|
-
exports.bcm_chip = BcmChip;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-c591ecec.js');
|
|
10
|
-
const utils = require('./utils-fc077139.js');
|
|
11
|
-
|
|
12
|
-
const BcmCollapseGroup = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
index.registerInstance(this, hostRef);
|
|
15
|
-
this.borderless = false;
|
|
16
|
-
this.open = false;
|
|
17
|
-
this.multiple = false;
|
|
18
|
-
this.hidden = false;
|
|
19
|
-
}
|
|
20
|
-
handleOpen({ target, detail }) {
|
|
21
|
-
if (!this.multiple && this.el === target.parentElement) {
|
|
22
|
-
this.qs().forEach(child => {
|
|
23
|
-
child.open = child.id === detail;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
componentDidLoad() {
|
|
28
|
-
this.qs().forEach((child, index) => {
|
|
29
|
-
!child.borderless && (child.borderless = this.borderless);
|
|
30
|
-
this.qs().length == index + 1 && (child.noBorder = true);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
qs() {
|
|
34
|
-
return utils.getChildElements(this.el, 'bcm-collapse');
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
const { hidden } = this;
|
|
38
|
-
return (index.h(index.Host, { class: { hidden } }, index.h("slot", null)));
|
|
39
|
-
}
|
|
40
|
-
get el() { return index.getElement(this); }
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
exports.bcm_collapse_group = BcmCollapseGroup;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-c591ecec.js');
|
|
10
|
-
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const lodash = require('./lodash-917168d7.js');
|
|
12
|
-
const generate = require('./generate-b55bc9ac.js');
|
|
13
|
-
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./package-1757d4e0.js');
|
|
15
|
-
require('./colors-250d0982.js');
|
|
16
|
-
|
|
17
|
-
const collapseCss = "@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}.bcm-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8);margin-top:-1px}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}.bcm-collapse--no-padding .bcm-collapse__body{padding:0}";
|
|
18
|
-
|
|
19
|
-
const BcmCollapse = class {
|
|
20
|
-
constructor(hostRef) {
|
|
21
|
-
index.registerInstance(this, hostRef);
|
|
22
|
-
this.bcmCollapseOpen = index.createEvent(this, "bcm-collapse-open", 7);
|
|
23
|
-
this._id = generate.Generate.UID();
|
|
24
|
-
this.borderless = false;
|
|
25
|
-
this.open = false;
|
|
26
|
-
this.noBorder = false;
|
|
27
|
-
this.noPadding = false;
|
|
28
|
-
this.hidden = false;
|
|
29
|
-
}
|
|
30
|
-
componentDidRender() {
|
|
31
|
-
this.open && this.bcmCollapseOpen.emit(this._id);
|
|
32
|
-
}
|
|
33
|
-
componentDidLoad() {
|
|
34
|
-
this.checkSlotEmpty();
|
|
35
|
-
}
|
|
36
|
-
checkSlotEmpty() {
|
|
37
|
-
var _a;
|
|
38
|
-
const textContent = (_a = this.el.querySelector('[slot="body"]')) === null || _a === void 0 ? void 0 : _a.textContent;
|
|
39
|
-
if (lodash.lodash.trim(textContent) !== "") {
|
|
40
|
-
this.el.removeAttribute("data-slot-empty");
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
this.el.setAttribute("data-slot-empty", "true");
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
const { hidden, borderless, open, noBorder, _id, noPadding } = this;
|
|
48
|
-
const classes = index$1.classnames("bcm-collapse", {
|
|
49
|
-
"bcm-collapse--borderless": borderless,
|
|
50
|
-
"bcm-collapse--open": open,
|
|
51
|
-
"bcm-collapse--no-border": noBorder,
|
|
52
|
-
"bcm-collapse--no-padding": noPadding,
|
|
53
|
-
});
|
|
54
|
-
const caretDown = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/></svg>';
|
|
55
|
-
const caretRight = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"/></svg>';
|
|
56
|
-
return (index.h(index.Host, { class: { hidden }, id: _id }, index.h("details", { class: classes, open: open }, index.h("summary", { class: "bcm-collapse__header size-2", onClick: () => (this.open = !open) }, index.h("span", { class: "collapse-icon", innerHTML: open ? caretDown : caretRight }), index.h("slot", { name: "title" })), index.h("div", { class: "bcm-collapse__body" }, index.h("slot", { name: "body", onSlotchange: () => this.checkSlotEmpty() })))));
|
|
57
|
-
}
|
|
58
|
-
get el() { return index.getElement(this); }
|
|
59
|
-
};
|
|
60
|
-
BcmCollapse.style = collapseCss;
|
|
61
|
-
|
|
62
|
-
exports.bcm_collapse = BcmCollapse;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-c591ecec.js');
|
|
10
|
-
require('./color-helper-dc98a2ca.js');
|
|
11
|
-
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-b55bc9ac.js');
|
|
13
|
-
require('./number-helper-4a5c0bb5.js');
|
|
14
|
-
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-51a16def.js');
|
|
16
|
-
require('./element-dragger-a8562f82.js');
|
|
17
|
-
require('./bcm-489c9b1a.js');
|
|
18
|
-
require('./colors-56282b00.js');
|
|
19
|
-
require('./utils-fc077139.js');
|
|
20
|
-
require('./colors-250d0982.js');
|
|
21
|
-
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
-
require('./package-1757d4e0.js');
|
|
23
|
-
|
|
24
|
-
const BcmColorInput = class {
|
|
25
|
-
constructor(hostRef) {
|
|
26
|
-
index.registerInstance(this, hostRef);
|
|
27
|
-
this._id = generate.Generate.UID();
|
|
28
|
-
this.label = "";
|
|
29
|
-
this.placeholder = "";
|
|
30
|
-
this.value = "";
|
|
31
|
-
this.required = false;
|
|
32
|
-
this.disabled = false;
|
|
33
|
-
this.readonly = false;
|
|
34
|
-
this.fullWidth = false;
|
|
35
|
-
}
|
|
36
|
-
handleChange(color) {
|
|
37
|
-
this.value = color;
|
|
38
|
-
this.getInputElement().setValue(color);
|
|
39
|
-
index.forceUpdate(this.el);
|
|
40
|
-
}
|
|
41
|
-
getInputElement() {
|
|
42
|
-
return this.el.querySelector(`bcm-input`);
|
|
43
|
-
}
|
|
44
|
-
getPickerElement() {
|
|
45
|
-
return document.querySelector("#" + this._id + "-picker");
|
|
46
|
-
}
|
|
47
|
-
handleInputChanged(e) {
|
|
48
|
-
this.getPickerElement().color = e.detail;
|
|
49
|
-
}
|
|
50
|
-
eyeDropper() {
|
|
51
|
-
const eyeDropper = new window.EyeDropper();
|
|
52
|
-
eyeDropper
|
|
53
|
-
.open()
|
|
54
|
-
.then((color) => {
|
|
55
|
-
this.handleChange(color.sRGBHex);
|
|
56
|
-
})
|
|
57
|
-
.catch((error) => {
|
|
58
|
-
if (error.name === "NotAllowedError") {
|
|
59
|
-
console.log("Permission to access sensor was denied.");
|
|
60
|
-
}
|
|
61
|
-
else if (error.name === "NotSupportedError") {
|
|
62
|
-
console.log("Sensor not supported.");
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
isEyeDropperSupported() {
|
|
67
|
-
return typeof window !== "undefined" && "EyeDropper" in window;
|
|
68
|
-
}
|
|
69
|
-
render() {
|
|
70
|
-
return (index.h(index.Host, { class: "tw-block" }, index.h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e), value: this.value }, index.h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-gray-100", style: {
|
|
71
|
-
backgroundColor: this.value,
|
|
72
|
-
} }), this.isEyeDropperSupported() && index.h("i", { slot: "suffix", class: "far fa-eye-dropper", onClick: () => this.eyeDropper() })), index.h("bcm-linked", { targetId: this._id + "-color-container" }, index.h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.handleChange(e.detail) }))));
|
|
73
|
-
}
|
|
74
|
-
get el() { return index.getElement(this); }
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
exports.bcm_color_input = BcmColorInput;
|