bromcom-ui 2.8.0-rc.8 → 3.0.0-rc.0
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/global/helper/toast.ts +2 -2
- package/dist/bromcom-ui/p-00f07dc3.entry.js +5 -0
- package/dist/bromcom-ui/p-0279271c.entry.js +5 -0
- package/dist/bromcom-ui/p-05b4cd11.entry.js +5 -0
- package/dist/bromcom-ui/p-105de77c.entry.js +5 -0
- package/dist/bromcom-ui/p-10bf821f.js +5 -0
- package/dist/bromcom-ui/p-1442fe54.entry.js +5 -0
- package/dist/bromcom-ui/p-17afa7f6.entry.js +5 -0
- package/dist/bromcom-ui/p-19a8ae51.entry.js +5 -0
- package/dist/bromcom-ui/p-215d04da.entry.js +5 -0
- package/dist/bromcom-ui/{p-04d4c6e7.entry.js → p-24ba554d.entry.js} +1 -1
- package/dist/bromcom-ui/p-24f3a77e.entry.js +5 -0
- package/dist/bromcom-ui/p-276547d8.entry.js +5 -0
- package/dist/bromcom-ui/{p-0111d5cd.js → p-287c4271.js} +1 -1
- package/dist/bromcom-ui/p-28c49c8f.entry.js +5 -0
- package/dist/bromcom-ui/p-2efa36f1.entry.js +5 -0
- package/dist/bromcom-ui/p-30431c71.entry.js +5 -0
- package/dist/bromcom-ui/p-31a0e7ba.entry.js +5 -0
- package/dist/bromcom-ui/p-32354ea1.js +5 -0
- package/dist/bromcom-ui/p-37ef1da1.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
- package/dist/bromcom-ui/{p-a60a2dd0.js → p-3cde7f38.js} +1 -1
- package/dist/bromcom-ui/p-3f170366.entry.js +5 -0
- package/dist/bromcom-ui/p-41fc7f04.entry.js +5 -0
- package/dist/bromcom-ui/{p-14a0a646.entry.js → p-46c96fed.entry.js} +1 -1
- package/dist/bromcom-ui/p-4e55fc9e.js +5 -0
- package/dist/bromcom-ui/p-5145a391.entry.js +5 -0
- package/dist/bromcom-ui/{p-e5372f21.js → p-52ad7164.js} +1 -1
- package/dist/bromcom-ui/p-53fbc706.entry.js +5 -0
- package/dist/bromcom-ui/{p-c23b6240.js → p-54c0916c.js} +1 -1
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
- package/dist/bromcom-ui/p-5bebc25f.entry.js +5 -0
- package/dist/bromcom-ui/p-5bffe176.entry.js +5 -0
- package/dist/bromcom-ui/p-5c46d081.entry.js +5 -0
- package/dist/bromcom-ui/p-5e9262f1.entry.js +5 -0
- package/dist/bromcom-ui/p-62c1fa8c.entry.js +5 -0
- package/dist/bromcom-ui/{p-8e2540d8.entry.js → p-630cbe30.entry.js} +1 -1
- package/dist/bromcom-ui/p-6554c2d3.entry.js +5 -0
- package/dist/bromcom-ui/p-67408ca5.entry.js +5 -0
- package/dist/bromcom-ui/p-6835650f.entry.js +5 -0
- package/dist/bromcom-ui/p-69b5544d.js +5 -0
- package/dist/bromcom-ui/p-6a353bb6.js +5 -0
- package/dist/bromcom-ui/{p-da1055cb.js → p-6d7fe687.js} +1 -1
- package/dist/bromcom-ui/p-7000163b.entry.js +5 -0
- package/dist/bromcom-ui/p-7240b562.entry.js +5 -0
- package/dist/bromcom-ui/p-75b85862.entry.js +5 -0
- package/dist/bromcom-ui/p-77ed76f5.entry.js +5 -0
- package/dist/bromcom-ui/{p-dbc4c30c.js → p-78ce966b.js} +1 -1
- package/dist/bromcom-ui/p-79fe882b.entry.js +5 -0
- package/dist/bromcom-ui/p-7bcbb142.entry.js +5 -0
- package/dist/bromcom-ui/p-7e978e98.entry.js +5 -0
- package/dist/bromcom-ui/p-81623cde.entry.js +5 -0
- package/dist/bromcom-ui/{p-976f682f.entry.js → p-8206f068.entry.js} +1 -1
- package/dist/bromcom-ui/p-821f3fb6.entry.js +5 -0
- package/dist/bromcom-ui/p-8431b63c.js +5 -0
- package/dist/bromcom-ui/p-8a5fe91c.entry.js +5 -0
- package/dist/bromcom-ui/p-8cbef7a6.entry.js +5 -0
- package/dist/bromcom-ui/p-8ef8b497.entry.js +5 -0
- package/dist/bromcom-ui/p-90b4c7c9.entry.js +5 -0
- package/dist/bromcom-ui/p-937d971a.entry.js +5 -0
- package/dist/bromcom-ui/p-978011dd.js +5 -0
- package/dist/bromcom-ui/p-98ea4ff6.js +5 -0
- package/dist/bromcom-ui/p-98ff24c9.entry.js +5 -0
- package/dist/bromcom-ui/p-9b8d1b13.entry.js +5 -0
- package/dist/bromcom-ui/p-9f6b4476.js +5 -0
- package/dist/bromcom-ui/p-a57afe94.entry.js +5 -0
- package/dist/bromcom-ui/p-a70f02c2.entry.js +5 -0
- package/dist/bromcom-ui/p-a831bd5d.js +5 -0
- package/dist/bromcom-ui/p-abf80382.entry.js +5 -0
- package/dist/bromcom-ui/p-ad3ac171.entry.js +5 -0
- package/dist/bromcom-ui/p-b030b897.entry.js +5 -0
- package/dist/bromcom-ui/p-b5ae4583.entry.js +5 -0
- package/dist/bromcom-ui/p-b78fb80e.entry.js +5 -0
- package/dist/bromcom-ui/p-b9f08edd.entry.js +5 -0
- package/dist/bromcom-ui/p-ba3faef7.entry.js +5 -0
- package/dist/bromcom-ui/{p-f607d7d7.js → p-bd0d939f.js} +1 -1
- package/dist/bromcom-ui/p-bd6be9db.entry.js +5 -0
- package/dist/bromcom-ui/p-c2ae2973.js +5 -0
- package/dist/bromcom-ui/p-c2e3346a.entry.js +5 -0
- package/dist/bromcom-ui/p-c7410110.entry.js +5 -0
- package/dist/bromcom-ui/p-cace6ebd.js +5 -0
- package/dist/bromcom-ui/{p-221448f8.entry.js → p-cfce9a65.entry.js} +1 -1
- package/dist/bromcom-ui/p-d24db173.entry.js +5 -0
- package/dist/bromcom-ui/p-d472ca66.entry.js +5 -0
- package/dist/bromcom-ui/p-d55299d2.entry.js +5 -0
- package/dist/bromcom-ui/p-d55de67d.entry.js +5 -0
- package/dist/bromcom-ui/p-d6ea0ab5.entry.js +5 -0
- package/dist/bromcom-ui/p-d82b164a.js +5 -0
- package/dist/bromcom-ui/p-d9dfd77d.entry.js +10 -0
- package/dist/bromcom-ui/{p-1e264881.entry.js → p-dc8c9f18.entry.js} +1 -1
- package/dist/bromcom-ui/{p-39eda493.entry.js → p-df67e1ec.entry.js} +1 -1
- package/dist/bromcom-ui/p-df79894d.entry.js +5 -0
- package/dist/bromcom-ui/{p-8d0ca8c2.js → p-dfbc34e2.js} +1 -1
- package/dist/bromcom-ui/{p-4fcf03c1.entry.js → p-ea4d8a18.entry.js} +1 -1
- package/dist/bromcom-ui/p-f68b9e28.entry.js +5 -0
- package/dist/bromcom-ui/p-f68c2cdc.entry.js +5 -0
- package/dist/bromcom-ui/p-f9e4fae2.entry.js +5 -0
- package/dist/bromcom-ui/p-fa5daf9b.entry.js +5 -0
- package/dist/bromcom-ui/p-fed9ee6b.entry.js +5 -0
- package/dist/bromcom-ui/p-ff560908.entry.js +5 -0
- package/dist/bromcom-ui/p-ffe65dfc.entry.js +5 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +4 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +54 -75
- package/dist/cjs/bcm-attendance.cjs.entry.js +31 -9
- package/dist/cjs/bcm-avatar_6.cjs.entry.js +751 -0
- package/dist/cjs/bcm-badge.cjs.entry.js +83 -0
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +4 -3
- package/dist/cjs/bcm-button-group.cjs.entry.js +22 -19
- package/dist/cjs/bcm-button.cjs.entry.js +202 -316
- package/dist/cjs/bcm-card.cjs.entry.js +8 -7
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +213 -345
- package/dist/cjs/bcm-checkbox.cjs.entry.js +174 -0
- package/dist/cjs/bcm-chip.cjs.entry.js +24 -33
- package/dist/cjs/bcm-collapse.cjs.entry.js +4 -3
- package/dist/cjs/bcm-color-input.cjs.entry.js +8 -7
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +11 -10
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
- package/dist/cjs/bcm-default.cjs.entry.js +4 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +24 -26
- package/dist/cjs/bcm-dropdown.cjs.entry.js +22 -25
- package/dist/cjs/{bcm-634604e3.js → bcm-e4cbab88.js} +6 -0
- package/dist/cjs/bcm-error-layout.cjs.entry.js +12 -35
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +7 -6
- package/dist/cjs/bcm-form.cjs.entry.js +137 -419
- package/dist/cjs/bcm-icon.cjs.entry.js +10 -6
- package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -2
- package/dist/cjs/bcm-input.cjs.entry.js +10 -9
- package/dist/cjs/bcm-item.cjs.entry.js +6 -5
- package/dist/cjs/bcm-items.cjs.entry.js +6 -5
- package/dist/cjs/bcm-label_2.cjs.entry.js +14 -19
- package/dist/cjs/bcm-link.cjs.entry.js +37 -23
- package/dist/cjs/bcm-list.cjs.entry.js +26 -26
- package/dist/cjs/{bcm-checkbox-lite_9.cjs.entry.js → bcm-listbox_4.cjs.entry.js} +10 -652
- package/dist/cjs/bcm-menu.cjs.entry.js +11 -10
- package/dist/cjs/bcm-modal-footer.cjs.entry.js +51 -0
- package/dist/cjs/bcm-modal-header.cjs.entry.js +50 -0
- package/dist/cjs/bcm-modal.cjs.entry.js +119 -90
- package/dist/cjs/bcm-old-form-group.cjs.entry.js +46 -0
- package/dist/cjs/bcm-old-input.cjs.entry.js +2 -2
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +48 -0
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +9 -8
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -4
- package/dist/cjs/bcm-popover.cjs.entry.js +9 -8
- package/dist/cjs/bcm-progress.cjs.entry.js +7 -6
- package/dist/cjs/bcm-radio-group.cjs.entry.js +10 -9
- package/dist/cjs/bcm-radio.cjs.entry.js +9 -8
- package/dist/cjs/bcm-range.cjs.entry.js +5 -4
- package/dist/cjs/bcm-result.cjs.entry.js +48 -45
- package/dist/cjs/bcm-search.cjs.entry.js +14 -13
- package/dist/cjs/bcm-select-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select-option.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select.cjs.entry.js +3 -3
- package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -2
- package/dist/cjs/bcm-step.cjs.entry.js +4 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +17 -16
- package/dist/cjs/bcm-switch.cjs.entry.js +8 -6
- package/dist/cjs/bcm-tab-group.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-item.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
- package/dist/cjs/bcm-table.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tabs.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tag.cjs.entry.js +5 -4
- package/dist/cjs/bcm-text.cjs.entry.js +6 -6
- package/dist/cjs/bcm-textarea.cjs.entry.js +9 -7
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-timeline.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +6 -5
- package/dist/cjs/bcm-typography.cjs.entry.js +35 -0
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/caption-template-3cfa638c.js +32 -0
- package/dist/cjs/{color-helper-0097a7c2.js → color-helper-8c8675e5.js} +8 -8
- package/dist/cjs/{colors-43b24668.js → colors-f0a07cbe.js} +17 -11
- package/dist/cjs/{floating-ui-74eb26d6.js → floating-ui-54bb620a.js} +67 -78
- package/dist/cjs/{generate-2f652f99.js → generate-59e65204.js} +17 -55
- package/dist/cjs/icon-template-9d3d546d.js +15 -0
- package/dist/cjs/{input-template-b531038e.js → input-template-2d413cf8.js} +5 -3
- package/dist/cjs/{json-parse-decarator-26187e13.js → json-parse-decarator-d31c2be8.js} +5 -5
- package/dist/cjs/label-template-2db9d086.js +24 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/number-helper-07df86a9.js +20 -0
- package/dist/cjs/old-bcm-form.cjs.entry.js +487 -0
- package/dist/cjs/{popover-placement-3c8f3a72.js → popover-placement-07720aeb.js} +1 -1
- package/dist/cjs/{slot-template-3e59d7d8.js → slot-template-b36cf392.js} +1 -1
- package/dist/cjs/snq.es5-da53ce70.js +20 -0
- package/dist/cjs/{stepper-states-17fb63ee.js → stepper-states-741ebc34.js} +4 -3
- package/dist/cjs/{string-helper-45cffee0.js → string-helper-8893dc39.js} +1 -1
- package/dist/cjs/{tooltip-helper-c64743ba.js → tooltip-helper-e85cd3f8.js} +7 -7
- package/dist/cjs/{validators-cadebc98.js → validators-cd7d5c69.js} +2 -2
- package/dist/collection/collection-manifest.json +8 -9
- package/dist/collection/components/atoms/avatar/avatar.js +59 -57
- package/dist/collection/components/atoms/badge/badge.js +48 -97
- package/dist/collection/components/atoms/button/button.js +381 -257
- package/dist/collection/components/atoms/button/types.js +110 -143
- package/dist/collection/components/atoms/chip/chip.js +40 -57
- package/dist/collection/components/atoms/divider/divider.js +12 -21
- package/dist/collection/components/atoms/icon/icon.js +5 -34
- package/dist/collection/components/atoms/label/label.js +17 -30
- package/dist/collection/components/atoms/link/link.js +99 -47
- package/dist/collection/components/molecules/accordion/accordion.css +0 -11
- package/dist/collection/components/molecules/alert/alert.js +156 -136
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +0 -11
- package/dist/collection/components/molecules/button-group/button-group.js +49 -36
- package/dist/collection/components/molecules/card/card.css +0 -263
- package/dist/collection/components/molecules/checkbox/{group.js → checkbox-group.js} +405 -314
- package/dist/collection/components/molecules/checkbox/checkbox.js +40 -54
- package/dist/collection/components/molecules/colorful/colorful.css +39 -882
- package/dist/collection/components/molecules/drawer/drawer.js +40 -32
- package/dist/collection/components/molecules/dropdown/dropdown.js +40 -51
- package/dist/collection/components/molecules/empty/empty.js +61 -4
- package/dist/collection/components/molecules/error-layout/error-layout.js +40 -79
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -263
- package/dist/collection/components/molecules/input/input.css +38 -881
- package/dist/collection/components/molecules/item/item.css +0 -263
- package/dist/collection/components/molecules/linked/linked.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +0 -263
- package/dist/collection/components/molecules/modal/modal-footer.js +54 -0
- package/dist/collection/components/molecules/modal/modal-header.js +53 -0
- package/dist/collection/components/molecules/modal/modal.js +192 -129
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -263
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +1 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -11
- package/dist/collection/components/molecules/progress/progress.css +10 -273
- package/dist/collection/components/molecules/progress/progress.js +1 -1
- package/dist/collection/components/molecules/radio/radio-group.js +1 -1
- package/dist/collection/components/molecules/radio/radio.js +1 -1
- package/dist/collection/components/molecules/range/range.css +0 -263
- package/dist/collection/components/molecules/result/result.js +121 -71
- package/dist/collection/components/molecules/search/search.css +38 -881
- package/dist/collection/components/molecules/stepper/stepper.css +75 -306
- package/dist/collection/components/molecules/stepper/stepper.js +1 -1
- package/dist/collection/components/molecules/switch/switch.css +14 -867
- package/dist/collection/components/molecules/switch/switch.js +2 -1
- package/dist/collection/components/molecules/textarea/textarea.css +38 -881
- package/dist/collection/components/molecules/textarea/textarea.js +2 -1
- package/dist/collection/components/molecules/timeline/timeline-item.css +1 -12
- package/dist/collection/components/molecules/timeline/timeline.css +0 -11
- package/dist/collection/components/organism/date-picker/date-picker.css +0 -11
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -856
- package/dist/collection/components/organism/form/form.js +133 -494
- package/dist/collection/components/organism/list/list.css +0 -1108
- package/dist/collection/components/organism/time-picker/time-picker.css +0 -11
- package/dist/collection/components/other/attendance/attendance.js +78 -24
- package/dist/collection/components/other/data-table/table.css +0 -11
- package/dist/collection/components/other/default/default.css +0 -11
- package/dist/collection/components/other/overlay/overlay.js +101 -0
- package/dist/collection/components/other/scroll-area/scroll-area.js +77 -0
- package/dist/collection/components/other/toast/toast.js +1 -1
- package/dist/collection/components/other/typography/typography.js +1 -1
- package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -11
- package/dist/collection/components/other_deprecated/colorpicker/colorpicker.css +0 -11
- package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -11
- package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -11
- package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -11
- package/dist/collection/components/{organism/form-2/form-2.css → other_deprecated/old-form/old-form-group.css} +4 -11
- package/dist/collection/components/{organism/form/form-group.js → other_deprecated/old-form/old-form-group.js} +5 -5
- package/dist/collection/components/{organism/form/form.css → other_deprecated/old-form/old-form.css} +0 -11
- package/dist/collection/components/other_deprecated/old-form/old-form.js +695 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -864
- package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -11
- package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -19
- package/dist/collection/components/other_deprecated/select/group.css +0 -11
- package/dist/collection/components/other_deprecated/select/option.css +0 -11
- package/dist/collection/components/other_deprecated/select/select-box.css +0 -11
- package/dist/collection/components/other_deprecated/select/select.css +5 -16
- package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -11
- package/dist/collection/components/other_deprecated/tabs/tab.css +5 -268
- package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -11
- package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -11
- package/dist/collection/components/other_deprecated/text/text.css +0 -263
- package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -11
- package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -11
- package/dist/collection/global/components/_checkbox.css +0 -263
- package/dist/collection/global/helper/toast.ts +2 -2
- package/dist/collection/helper/generate.js +13 -20
- package/dist/collection/models/bcm.js +8 -0
- package/dist/collection/templates/caption-template.js +15 -11
- package/dist/collection/templates/icon-template.js +4 -19
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +5 -3
- package/dist/collection/templates/step-template.js +1 -1
- package/dist/components/avatar.js +56 -55
- package/dist/components/badge.js +43 -49
- package/dist/components/bcm-accordion.js +1 -1
- package/dist/components/bcm-alert.js +58 -87
- package/dist/components/bcm-attendance.js +29 -10
- package/dist/components/bcm-breadcrumb.js +1 -1
- package/dist/components/bcm-button-group.js +27 -23
- package/dist/components/bcm-card.js +1 -1
- package/dist/components/bcm-checkbox-group.js +229 -363
- package/dist/components/bcm-chip.js +29 -47
- package/dist/components/bcm-collapse.js +1 -1
- package/dist/components/bcm-color-input.js +1 -2
- package/dist/components/bcm-colorpicker.js +1 -1
- package/dist/components/bcm-date-picker.js +3 -3
- package/dist/components/bcm-default.js +1 -1
- package/dist/components/bcm-drawer.js +23 -26
- package/dist/components/bcm-dropdown.js +18 -22
- package/dist/components/bcm-error-layout.js +15 -40
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-form.js +140 -427
- package/dist/components/bcm-item.js +2 -2
- package/dist/components/bcm-items.js +2 -1
- package/dist/components/bcm-list.js +5 -6
- package/dist/components/{bcm-form-group.d.ts → bcm-modal-footer.d.ts} +4 -4
- package/dist/components/{typography.js → bcm-modal-footer.js} +23 -9
- package/dist/components/bcm-modal-header.d.ts +11 -0
- package/dist/components/bcm-modal-header.js +58 -0
- package/dist/components/bcm-modal.js +1 -162
- package/dist/components/{bcm-notification.d.ts → bcm-old-form-group.d.ts} +4 -4
- package/dist/components/bcm-old-form-group.js +66 -0
- package/dist/components/{bcm-message.d.ts → bcm-overlay.d.ts} +4 -4
- package/dist/components/bcm-overlay.js +10 -0
- package/dist/components/bcm-popconfirm.js +2 -2
- package/dist/components/bcm-popover.js +2 -3
- package/dist/components/bcm-progress.js +3 -3
- package/dist/components/bcm-radio-group.js +3 -5
- package/dist/components/bcm-range.js +2 -2
- package/dist/components/bcm-result.js +66 -57
- package/dist/components/{old-bcm-popover.d.ts → bcm-scroll-area.d.ts} +4 -4
- package/dist/components/bcm-scroll-area.js +10 -0
- package/dist/components/bcm-select-group.js +1 -1
- package/dist/components/bcm-select-option.js +1 -1
- package/dist/components/bcm-select.js +39 -45
- package/dist/components/bcm-stepper.js +8 -9
- package/dist/components/bcm-switch.js +4 -3
- package/dist/components/bcm-tab-group.js +2 -3
- package/dist/components/bcm-tab-item-header.js +2 -3
- package/dist/components/bcm-tab-item.js +1 -2
- package/dist/components/bcm-tab-pane.js +1 -1
- package/dist/components/bcm-tab.js +2 -2
- package/dist/components/bcm-table.js +1 -1
- package/dist/components/bcm-tabs-content.js +2 -2
- package/dist/components/bcm-tabs.js +2 -2
- package/dist/components/bcm-tag.js +2 -2
- package/dist/components/bcm-textarea.js +4 -3
- package/dist/components/bcm-time-picker.js +2 -2
- package/dist/components/bcm-timeline-item.js +1 -1
- package/dist/components/bcm-timeline.js +1 -1
- package/dist/components/bcm-toast.js +2 -2
- package/dist/components/bcm-typography.js +39 -1
- package/dist/components/bcm.js +7 -1
- package/dist/components/button.js +227 -333
- package/dist/components/caption-template.js +15 -17
- package/dist/components/checkbox-lite.js +2 -2
- package/dist/components/checkbox.js +36 -43
- package/dist/components/color-helper.js +8 -8
- package/dist/components/colorful.js +1 -1
- package/dist/components/colors2.js +17 -11
- package/dist/components/datetime-picker.js +3 -4
- package/dist/components/divider.js +8 -10
- package/dist/components/element-dragger.js +30 -1
- package/dist/components/empty.js +11 -9
- package/dist/components/floating-ui.js +67 -78
- package/dist/components/generate.js +17 -54
- package/dist/components/icon-template.js +13 -0
- package/dist/components/icon.js +9 -9
- package/dist/components/index.d.ts +7 -8
- package/dist/components/index.js +6 -7
- package/dist/components/input-template.js +4 -2
- package/dist/components/input.js +3 -3
- package/dist/components/json-parse-decarator.js +1 -1
- package/dist/components/label-template.js +7 -6
- package/dist/components/label.js +13 -19
- package/dist/components/link.js +40 -35
- package/dist/components/linked.js +3 -4
- package/dist/components/listbox-group.js +1 -1
- package/dist/components/listbox-item.js +1 -1
- package/dist/components/listbox.js +33 -39
- package/dist/components/menu.js +2 -3
- package/dist/components/modal.js +202 -0
- package/dist/components/number-helper.js +1 -1
- package/dist/components/{bcm-form-2.d.ts → old-bcm-form.d.ts} +4 -4
- package/dist/components/old-bcm-form.js +511 -0
- package/dist/components/old-input.js +1 -1
- package/dist/components/old-search.js +1 -1
- package/dist/components/old-tag.js +1 -1
- package/dist/components/overlay.js +47 -0
- package/dist/components/popconfirm-box.js +2 -2
- package/dist/components/radio.js +3 -4
- package/dist/components/scroll-area.js +40 -0
- package/dist/components/search.js +4 -3
- package/dist/components/select-box.js +35 -41
- package/dist/components/snq.es5.js +18 -0
- package/dist/components/step.js +2 -1
- package/dist/components/string-helper.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/tooltip-helper.js +1 -2
- package/dist/components/tooltip.js +2 -3
- package/dist/components/treeview-item.js +1 -1
- package/dist/components/treeview.js +21 -27
- package/dist/components/types.js +28 -1
- package/dist/components/types2.js +25 -25
- package/dist/esm/{bcm-9f50af9c.js → bcm-a29f0eef.js} +6 -0
- package/dist/esm/bcm-accordion.entry.js +6 -5
- package/dist/esm/bcm-alert.entry.js +52 -73
- package/dist/esm/bcm-attendance.entry.js +33 -11
- package/dist/esm/bcm-avatar_6.entry.js +742 -0
- package/dist/esm/bcm-badge.entry.js +79 -0
- package/dist/esm/bcm-box.entry.js +2 -2
- package/dist/esm/bcm-breadcrumb.entry.js +6 -5
- package/dist/esm/bcm-button-group.entry.js +23 -20
- package/dist/esm/bcm-button.entry.js +204 -318
- package/dist/esm/bcm-card.entry.js +11 -10
- package/dist/esm/bcm-checkbox-group.entry.js +207 -339
- package/dist/esm/bcm-checkbox.entry.js +170 -0
- package/dist/esm/bcm-chip.entry.js +27 -36
- package/dist/esm/bcm-collapse-group.entry.js +3 -3
- package/dist/esm/bcm-collapse.entry.js +6 -5
- package/dist/esm/bcm-color-input.entry.js +11 -10
- package/dist/esm/bcm-colorful_2.entry.js +15 -14
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-date-picker.entry.js +8 -7
- package/dist/esm/bcm-datetime-picker.entry.js +12 -12
- package/dist/esm/bcm-default.entry.js +6 -5
- package/dist/esm/bcm-drawer.entry.js +28 -30
- package/dist/esm/bcm-dropdown.entry.js +24 -27
- package/dist/esm/bcm-error-layout.entry.js +13 -36
- package/dist/esm/bcm-expansion-panel.entry.js +10 -9
- package/dist/esm/bcm-form.entry.js +139 -421
- package/dist/esm/bcm-icon.entry.js +12 -8
- package/dist/esm/bcm-input-custom.entry.js +5 -4
- package/dist/esm/bcm-input.entry.js +13 -12
- package/dist/esm/bcm-item.entry.js +9 -8
- package/dist/esm/bcm-items.entry.js +7 -6
- package/dist/esm/bcm-label_2.entry.js +18 -23
- package/dist/esm/bcm-link.entry.js +37 -23
- package/dist/esm/bcm-list.entry.js +20 -20
- package/dist/esm/{bcm-checkbox-lite_9.entry.js → bcm-listbox_4.entry.js} +13 -650
- package/dist/esm/bcm-menu.entry.js +15 -14
- package/dist/esm/bcm-modal-footer.entry.js +47 -0
- package/dist/esm/bcm-modal-header.entry.js +46 -0
- package/dist/esm/bcm-modal.entry.js +119 -90
- package/dist/esm/bcm-old-form-group.entry.js +42 -0
- package/dist/esm/bcm-old-input.entry.js +5 -5
- package/dist/esm/bcm-old-tag_2.entry.js +5 -5
- package/dist/esm/bcm-overlay_2.entry.js +43 -0
- package/dist/esm/bcm-popconfirm-box.entry.js +12 -11
- package/dist/esm/bcm-popconfirm.entry.js +7 -6
- package/dist/esm/bcm-popover.entry.js +13 -12
- package/dist/esm/bcm-progress.entry.js +10 -9
- package/dist/esm/bcm-radio-group.entry.js +14 -13
- package/dist/esm/bcm-radio.entry.js +12 -11
- package/dist/esm/bcm-range.entry.js +8 -7
- package/dist/esm/bcm-result.entry.js +49 -46
- package/dist/esm/bcm-search.entry.js +11 -10
- 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 +6 -6
- package/dist/esm/bcm-skeleton.entry.js +5 -4
- package/dist/esm/bcm-step.entry.js +7 -6
- package/dist/esm/bcm-stepper.entry.js +19 -18
- package/dist/esm/bcm-switch.entry.js +11 -9
- package/dist/esm/bcm-tab-group.entry.js +12 -11
- package/dist/esm/bcm-tab-item-header.entry.js +12 -11
- package/dist/esm/bcm-tab-item.entry.js +12 -11
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +4 -4
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tabs.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +8 -7
- package/dist/esm/bcm-text.entry.js +9 -9
- package/dist/esm/bcm-textarea.entry.js +12 -10
- package/dist/esm/bcm-time-picker.entry.js +8 -7
- 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 +9 -8
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bcm-typography.entry.js +31 -0
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/caption-template-62c75b98.js +30 -0
- package/dist/esm/{color-helper-4fa5dd0d.js → color-helper-85f2eddb.js} +9 -9
- package/dist/esm/{colors-fa05fe33.js → colors-e780e48d.js} +17 -11
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
- package/dist/esm/{floating-ui-e7341329.js → floating-ui-065b36f9.js} +67 -78
- package/dist/esm/{generate-508e45d7.js → generate-7be7919a.js} +17 -54
- package/dist/esm/icon-template-0f1f5828.js +13 -0
- package/dist/esm/{index-93e36fdb.js → index-0052017c.js} +1 -1
- package/dist/esm/{index-39133086.js → index-348b16ad.js} +1 -1
- package/dist/esm/{input-template-04e8c524.js → input-template-5ed08d5c.js} +5 -3
- package/dist/esm/{is-load-decorator-bc14ec4b.js → is-load-decorator-07d3502a.js} +1 -1
- package/dist/esm/{json-parse-decarator-0159345f.js → json-parse-decarator-fa15277b.js} +2 -2
- package/dist/esm/label-template-253d4ed9.js +22 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-b9dc0cca.js → number-helper-cc915c62.js} +1 -1
- package/dist/esm/old-bcm-form.entry.js +483 -0
- package/dist/esm/{popover-placement-78f86f15.js → popover-placement-3ba8a0d9.js} +1 -1
- package/dist/esm/{slot-template-5b2db362.js → slot-template-94ad4a24.js} +2 -2
- package/dist/esm/snq.es5-d6023241.js +18 -0
- package/dist/esm/{stepper-states-3bdf94bf.js → stepper-states-4db164ca.js} +4 -3
- package/dist/esm/{string-helper-6bd24967.js → string-helper-8e053b44.js} +1 -1
- package/dist/esm/{tooltip-helper-c3251673.js → tooltip-helper-6ed9a1a0.js} +9 -9
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-89c43bb2.js → validators-37bd26a4.js} +1 -1
- package/dist/types/components/atoms/avatar/avatar.d.ts +3 -7
- package/dist/types/components/atoms/badge/badge.d.ts +4 -8
- package/dist/types/components/atoms/button/button.d.ts +50 -20
- package/dist/types/components/atoms/button/types.d.ts +16 -16
- package/dist/types/components/atoms/chip/chip.d.ts +5 -16
- package/dist/types/components/atoms/divider/divider.d.ts +3 -2
- package/dist/types/components/atoms/icon/icon.d.ts +0 -1
- package/dist/types/components/atoms/label/label.d.ts +2 -3
- package/dist/types/components/atoms/link/link.d.ts +8 -4
- package/dist/types/components/molecules/alert/alert.d.ts +16 -15
- package/dist/types/components/molecules/button-group/button-group.d.ts +4 -3
- package/dist/types/components/molecules/checkbox/checkbox-group.d.ts +61 -0
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +1 -4
- package/dist/types/components/molecules/drawer/drawer.d.ts +3 -2
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +6 -6
- package/dist/types/components/molecules/empty/empty.d.ts +6 -2
- package/dist/types/components/molecules/error-layout/error-layout.d.ts +5 -19
- package/dist/types/components/molecules/modal/modal-footer.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal-header.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal.d.ts +23 -16
- package/dist/types/components/molecules/result/result.d.ts +12 -10
- package/dist/types/components/molecules/textarea/textarea.d.ts +1 -1
- package/dist/types/components/organism/form/form.d.ts +17 -26
- package/dist/types/components/other/attendance/attendance.d.ts +11 -2
- package/dist/types/components/other/overlay/overlay.d.ts +8 -0
- package/dist/types/components/other/scroll-area/scroll-area.d.ts +7 -0
- package/dist/types/components/{organism/form/form-group.d.ts → other_deprecated/old-form/old-form-group.d.ts} +1 -1
- package/dist/types/components/other_deprecated/old-form/old-form.d.ts +34 -0
- package/dist/types/components.d.ts +287 -370
- package/dist/types/global/helper/toast.d.ts +2 -2
- package/dist/types/helper/generate.d.ts +1 -4
- package/dist/types/models/bcm-types.d.ts +1 -0
- package/dist/types/models/bcm.d.ts +6 -0
- package/dist/types/templates/caption-template.d.ts +1 -1
- package/dist/types/templates/icon-template.d.ts +2 -2
- package/helper/toast.d.ts +2 -2
- package/helper/toast.d.ts.map +1 -1
- package/package.json +7 -29
- package/dist/bromcom-ui/p-0474d8a8.entry.js +0 -5
- package/dist/bromcom-ui/p-0557b296.entry.js +0 -5
- package/dist/bromcom-ui/p-0a16fcfa.entry.js +0 -5
- package/dist/bromcom-ui/p-0b663779.entry.js +0 -5
- package/dist/bromcom-ui/p-11930706.entry.js +0 -5
- package/dist/bromcom-ui/p-18af92a9.entry.js +0 -5
- package/dist/bromcom-ui/p-198d17cf.entry.js +0 -5
- package/dist/bromcom-ui/p-19b258fa.entry.js +0 -5
- package/dist/bromcom-ui/p-19c2c7ec.entry.js +0 -5
- package/dist/bromcom-ui/p-24aefda6.js +0 -5
- package/dist/bromcom-ui/p-2722b2c7.entry.js +0 -5
- package/dist/bromcom-ui/p-29829587.entry.js +0 -5
- package/dist/bromcom-ui/p-2ea1274e.entry.js +0 -5
- package/dist/bromcom-ui/p-31226526.entry.js +0 -5
- package/dist/bromcom-ui/p-3bb63b25.entry.js +0 -5
- package/dist/bromcom-ui/p-3cbddb46.entry.js +0 -5
- package/dist/bromcom-ui/p-428a472e.entry.js +0 -5
- package/dist/bromcom-ui/p-44f2ea48.entry.js +0 -5
- package/dist/bromcom-ui/p-493fc64a.js +0 -5
- package/dist/bromcom-ui/p-533cb826.entry.js +0 -5
- package/dist/bromcom-ui/p-551bd870.entry.js +0 -5
- package/dist/bromcom-ui/p-58651d85.entry.js +0 -5
- package/dist/bromcom-ui/p-67a1b9fb.entry.js +0 -5
- package/dist/bromcom-ui/p-692a0269.js +0 -5
- package/dist/bromcom-ui/p-6af68be0.entry.js +0 -5
- package/dist/bromcom-ui/p-6b7a9d96.entry.js +0 -5
- package/dist/bromcom-ui/p-6cc73d59.entry.js +0 -5
- package/dist/bromcom-ui/p-6e0345b0.entry.js +0 -5
- package/dist/bromcom-ui/p-6e920b36.entry.js +0 -5
- package/dist/bromcom-ui/p-720059b9.entry.js +0 -5
- package/dist/bromcom-ui/p-73dd9b71.entry.js +0 -5
- package/dist/bromcom-ui/p-757f7936.entry.js +0 -5
- package/dist/bromcom-ui/p-76358e74.js +0 -5
- package/dist/bromcom-ui/p-766e3781.entry.js +0 -10
- package/dist/bromcom-ui/p-78522f83.entry.js +0 -5
- package/dist/bromcom-ui/p-79fd816c.js +0 -5
- package/dist/bromcom-ui/p-7a37fc46.entry.js +0 -5
- package/dist/bromcom-ui/p-7aca0f4e.entry.js +0 -5
- package/dist/bromcom-ui/p-7d25efd3.entry.js +0 -5
- package/dist/bromcom-ui/p-7eccf8ee.entry.js +0 -5
- package/dist/bromcom-ui/p-81eb449f.entry.js +0 -5
- package/dist/bromcom-ui/p-88ace511.entry.js +0 -5
- package/dist/bromcom-ui/p-9189c392.entry.js +0 -5
- package/dist/bromcom-ui/p-97933e31.entry.js +0 -5
- package/dist/bromcom-ui/p-9c629169.entry.js +0 -5
- package/dist/bromcom-ui/p-9c72f6f1.entry.js +0 -5
- package/dist/bromcom-ui/p-a429e85b.js +0 -5
- package/dist/bromcom-ui/p-a5b58ffc.entry.js +0 -5
- package/dist/bromcom-ui/p-ab0954e5.js +0 -5
- package/dist/bromcom-ui/p-b0525d89.entry.js +0 -5
- package/dist/bromcom-ui/p-b60bcecf.js +0 -5
- package/dist/bromcom-ui/p-ba35487f.entry.js +0 -5
- package/dist/bromcom-ui/p-bc840f30.entry.js +0 -5
- package/dist/bromcom-ui/p-c6515acd.js +0 -5
- package/dist/bromcom-ui/p-c85b8abc.entry.js +0 -5
- package/dist/bromcom-ui/p-c85d5bb2.entry.js +0 -5
- package/dist/bromcom-ui/p-c8e13fd7.js +0 -5
- package/dist/bromcom-ui/p-cd4b11f9.entry.js +0 -5
- package/dist/bromcom-ui/p-d21f0839.entry.js +0 -5
- package/dist/bromcom-ui/p-d644b6d9.entry.js +0 -5
- package/dist/bromcom-ui/p-d93dc796.entry.js +0 -5
- package/dist/bromcom-ui/p-deecea68.entry.js +0 -5
- package/dist/bromcom-ui/p-e19e9dc1.entry.js +0 -5
- package/dist/bromcom-ui/p-e6ca16b0.entry.js +0 -5
- package/dist/bromcom-ui/p-e84f277e.entry.js +0 -5
- package/dist/bromcom-ui/p-e8c5da52.js +0 -5
- package/dist/bromcom-ui/p-eb44664d.entry.js +0 -5
- package/dist/bromcom-ui/p-f280a1e6.entry.js +0 -5
- package/dist/bromcom-ui/p-f2edbbc1.entry.js +0 -5
- package/dist/bromcom-ui/p-f529ded0.entry.js +0 -5
- package/dist/bromcom-ui/p-f6732a5f.entry.js +0 -5
- package/dist/bromcom-ui/p-f74e5ed7.entry.js +0 -5
- package/dist/bromcom-ui/p-f8c20298.entry.js +0 -5
- package/dist/bromcom-ui/p-f995e773.entry.js +0 -5
- package/dist/bromcom-ui/p-f9d6fa4d.entry.js +0 -5
- package/dist/bromcom-ui/p-fafa77b7.entry.js +0 -5
- package/dist/bromcom-ui/p-fba7e2c7.entry.js +0 -5
- package/dist/bromcom-ui/p-fe382dcc.entry.js +0 -5
- package/dist/bromcom-ui/p-fed31df8.entry.js +0 -5
- package/dist/bromcom-ui/p-ff1acc28.entry.js +0 -5
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -156
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -166
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -206
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -207
- package/dist/cjs/bcm-form-group.cjs.entry.js +0 -46
- package/dist/cjs/bcm-message.cjs.entry.js +0 -96
- package/dist/cjs/bcm-notification.cjs.entry.js +0 -105
- package/dist/cjs/caption-template-8d099fd6.js +0 -34
- package/dist/cjs/label-template-cc69bc21.js +0 -23
- package/dist/cjs/number-helper-d866e132.js +0 -20
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +0 -168
- package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
- package/dist/collection/components/atoms/avatar/avatar.css +0 -450
- package/dist/collection/components/atoms/badge/badge.css +0 -483
- package/dist/collection/components/atoms/button/button.css +0 -654
- package/dist/collection/components/atoms/chip/chip.css +0 -455
- package/dist/collection/components/atoms/divider/divider.css +0 -142
- package/dist/collection/components/atoms/icon/icon.css +0 -127
- package/dist/collection/components/atoms/label/label.css +0 -410
- package/dist/collection/components/atoms/link/link.css +0 -421
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/external-source/bcm-toast-helper.js +0 -20
- package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +0 -20
- package/dist/collection/components/molecules/alert/alert.css +0 -191
- package/dist/collection/components/molecules/alert/types.js +0 -23
- package/dist/collection/components/molecules/button-group/button-group.css +0 -429
- package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1287
- package/dist/collection/components/molecules/checkbox/group.css +0 -156
- package/dist/collection/components/molecules/drawer/drawer.css +0 -504
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -421
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -398
- package/dist/collection/components/molecules/error-layout/types.js +0 -1
- package/dist/collection/components/molecules/message/message.css +0 -165
- package/dist/collection/components/molecules/message/message.js +0 -227
- package/dist/collection/components/molecules/message/types.js +0 -14
- package/dist/collection/components/molecules/modal/modal.css +0 -528
- package/dist/collection/components/molecules/notification/notification.css +0 -183
- package/dist/collection/components/molecules/notification/notification.js +0 -250
- package/dist/collection/components/molecules/notification/types.js +0 -15
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/states/alert.states.js +0 -25
- package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
- package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
- package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -412
- package/dist/collection/components/organism/form/form-group.css +0 -131
- package/dist/collection/components/organism/form-2/form-2.js +0 -344
- package/dist/collection/components/other/attendance/attendance.css +0 -435
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -584
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -440
- package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -308
- package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -1
- package/dist/components/bcm-autocomplete.d.ts +0 -11
- package/dist/components/bcm-autocomplete.js +0 -294
- package/dist/components/bcm-form-2.js +0 -226
- package/dist/components/bcm-form-group.js +0 -66
- package/dist/components/bcm-message.js +0 -123
- package/dist/components/bcm-notification.js +0 -138
- package/dist/components/old-bcm-popover-box.d.ts +0 -11
- package/dist/components/old-bcm-popover-box.js +0 -10
- package/dist/components/old-bcm-popover.js +0 -131
- package/dist/components/old-popover-box.js +0 -190
- package/dist/components/types3.js +0 -32
- package/dist/components/validators.js +0 -35
- package/dist/esm/bcm-autocomplete.entry.js +0 -152
- package/dist/esm/bcm-avatar_2.entry.js +0 -161
- package/dist/esm/bcm-checkbox_2.entry.js +0 -201
- package/dist/esm/bcm-form-2.entry.js +0 -203
- package/dist/esm/bcm-form-group.entry.js +0 -42
- package/dist/esm/bcm-message.entry.js +0 -92
- package/dist/esm/bcm-notification.entry.js +0 -101
- package/dist/esm/caption-template-da16ba7b.js +0 -32
- package/dist/esm/label-template-d74fe788.js +0 -21
- package/dist/esm/old-bcm-popover-box.entry.js +0 -164
- package/dist/esm/old-bcm-popover.entry.js +0 -100
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/external-source/bcm-toast-helper.d.ts +0 -12
- package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +0 -12
- package/dist/types/components/molecules/alert/types.d.ts +0 -25
- package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
- package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
- package/dist/types/components/molecules/message/message.d.ts +0 -32
- package/dist/types/components/molecules/message/types.d.ts +0 -13
- package/dist/types/components/molecules/notification/notification.d.ts +0 -42
- package/dist/types/components/molecules/notification/types.d.ts +0 -14
- package/dist/types/components/molecules/result/types.d.ts +0 -19
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
- package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
- package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
- package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -26
- package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
- package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
- /package/dist/collection/components/organism/{form-2 → form}/bcm-form-components.js +0 -0
- /package/dist/types/components/organism/{form-2 → form}/bcm-form-components.d.ts +0 -0
|
@@ -12,17 +12,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import { IsLoad } from
|
|
16
|
-
import { Generate } from
|
|
17
|
-
import { Bcm } from
|
|
18
|
-
import {
|
|
19
|
-
import cs from
|
|
15
|
+
import { IsLoad } from "@bcm/decorator";
|
|
16
|
+
import { Generate } from "@bcm/helpers";
|
|
17
|
+
import { Bcm } from "@bcm/model";
|
|
18
|
+
import { Host, h } from "@stencil/core";
|
|
19
|
+
import cs from "classnames";
|
|
20
20
|
export class BcmDrawer {
|
|
21
21
|
constructor() {
|
|
22
22
|
this._id = Generate.UID();
|
|
23
23
|
this._title = undefined;
|
|
24
24
|
this.position = Bcm.Position.right;
|
|
25
25
|
this.fullWidth = false;
|
|
26
|
+
this.zIndex = "10350";
|
|
26
27
|
this._open = false;
|
|
27
28
|
this._close = false;
|
|
28
29
|
}
|
|
@@ -43,10 +44,10 @@ export class BcmDrawer {
|
|
|
43
44
|
}
|
|
44
45
|
_openHandler() {
|
|
45
46
|
if (this._open) {
|
|
46
|
-
document.body.classList.add(
|
|
47
|
+
document.body.classList.add("bcm-disable-scroll");
|
|
47
48
|
}
|
|
48
49
|
else {
|
|
49
|
-
document.body.classList.remove(
|
|
50
|
+
document.body.classList.remove("bcm-disable-scroll");
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
keyboardNavigation(e) {
|
|
@@ -58,40 +59,29 @@ export class BcmDrawer {
|
|
|
58
59
|
}
|
|
59
60
|
disconnectedCallback() {
|
|
60
61
|
this._open = false;
|
|
61
|
-
document.body.classList.remove(
|
|
62
|
+
document.body.classList.remove("bcm-disable-scroll");
|
|
62
63
|
this.el.remove();
|
|
63
64
|
}
|
|
64
65
|
render() {
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
return (h(Host, { class: hostClasses }, h("div", { class: overlay, onClick: () => this.hide() }), h("div", { class: contentClasses }, h("div", { class: "bcm-drawer__content-header" }, h("bcm-text", { class: "bcm-drawer__content-header-title", "font-size": "6", weight: "600", color: "slate-800" }, this._title, " ", h("slot", { name: "header" })), h("div", { class: "bcm-drawer__content-header-close size-4", onClick: () => this.hide() }, h("bcm-icon", { icon: "fal fa-times" }))), h("div", { style: { 'overflow': 'auto', 'flex': '1' } }, h("div", { class: "bcm-drawer__content-body" }, h("slot", null))), h("div", { class: "bcm-drawer__content-footer" }, h("slot", { name: "footer" })))));
|
|
66
|
+
const { _title, position, fullWidth, zIndex, _open } = this;
|
|
67
|
+
return (h(Host, { class: cs("bcm-ui-element bcm-navigation bcm-drawer", "tw-absolute -tw-left-full -tw-top-full tw-h-screen tw-w-screen tw-select-none tw-overflow-hidden", {
|
|
68
|
+
"tw-invisible": !_open,
|
|
69
|
+
"tw-visible": _open,
|
|
70
|
+
}) }, h("bcm-overlay", { "z-index": +zIndex - 1, opacity: _open ? "0.5" : "0", onClick: () => this.hide() }), h("section", { class: cs("tw-fixed tw-z-drawer tw-flex tw-h-full tw-select-text tw-flex-col tw-items-stretch tw-justify-start tw-overflow-hidden tw-bg-slate-100 tw-transition tw-delay-100 tw-duration-200 tw-ease-in-out ", {
|
|
71
|
+
"tw-min-w-[500px]": !fullWidth,
|
|
72
|
+
"tw-w-full": fullWidth,
|
|
73
|
+
"tw-right-0 tw-top-0 tw-translate-x-full": position == Bcm.Position.right,
|
|
74
|
+
"tw-left-0 tw-top-0 -tw-translate-x-full": position == Bcm.Position.left,
|
|
75
|
+
"tw-bottom-0 tw-left-0 tw-max-h-[500px] tw-w-full tw-translate-y-full": position == Bcm.Position.bottom,
|
|
76
|
+
"tw-left-0 tw-top-0 tw-max-h-[500px] tw-w-full -tw-translate-y-full": position == Bcm.Position.top,
|
|
77
|
+
}), style: Object.assign(Object.assign({}, (_open && { transform: "translateX(0)" })), { zIndex }) }, h("header", { class: "tw-mb-2 tw-flex tw-flex-row tw-items-center tw-justify-between tw-px-6 tw-pb-0 tw-pt-6" }, h("bcm-text", { "font-size": "6", weight: "600", color: "slate-800" }, _title, " ", h("slot", { name: "header" })), h("div", { class: "-tw-mr-1 -tw-mt-1 tw-cursor-pointer tw-px-1 tw-py-2 tw-text-size-7 tw-text-slate-500 hover:tw-text-slate-800", onClick: () => this.hide() }, h("i", { class: "fal fa-times" }))), h("div", { class: "tw-flex-1 tw-overflow-auto" }, h("div", { class: "tw-px-6 tw-pb-6 tw-pt-0" }, h("slot", null))), h("footer", { class: " tw-px-6 tw-py-3" }, h("slot", { name: "footer" })))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "bcm-drawer"; }
|
|
80
|
-
static get originalStyleUrls() {
|
|
81
|
-
return {
|
|
82
|
-
"$": ["drawer.scss"]
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
static get styleUrls() {
|
|
86
|
-
return {
|
|
87
|
-
"$": ["drawer.css"]
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
80
|
static get properties() {
|
|
91
81
|
return {
|
|
92
82
|
"_id": {
|
|
93
83
|
"type": "string",
|
|
94
|
-
"mutable":
|
|
84
|
+
"mutable": false,
|
|
95
85
|
"complexType": {
|
|
96
86
|
"original": "string",
|
|
97
87
|
"resolved": "string",
|
|
@@ -164,6 +154,24 @@ export class BcmDrawer {
|
|
|
164
154
|
"attribute": "full-width",
|
|
165
155
|
"reflect": false,
|
|
166
156
|
"defaultValue": "false"
|
|
157
|
+
},
|
|
158
|
+
"zIndex": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"mutable": false,
|
|
161
|
+
"complexType": {
|
|
162
|
+
"original": "string",
|
|
163
|
+
"resolved": "string",
|
|
164
|
+
"references": {}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": false,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": ""
|
|
171
|
+
},
|
|
172
|
+
"attribute": "z-index",
|
|
173
|
+
"reflect": false,
|
|
174
|
+
"defaultValue": "\"10350\""
|
|
167
175
|
}
|
|
168
176
|
};
|
|
169
177
|
}
|
|
@@ -12,19 +12,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import { h, Host } from
|
|
16
|
-
import cs from
|
|
17
|
-
import { IsLoad } from
|
|
18
|
-
import { JsonParse } from
|
|
19
|
-
import { Generate } from
|
|
20
|
-
import Bcm from
|
|
15
|
+
import { h, Host } from "@stencil/core";
|
|
16
|
+
import cs from "classnames";
|
|
17
|
+
import { IsLoad } from "../../../decorators/is-load-decorator";
|
|
18
|
+
import { JsonParse } from "../../../decorators/json-parse-decarator";
|
|
19
|
+
import { Generate } from "../../../helper/generate";
|
|
20
|
+
import Bcm from "../../../models/bcm";
|
|
21
21
|
export class BcmDropdown {
|
|
22
22
|
constructor() {
|
|
23
23
|
this.isOpen = undefined;
|
|
24
24
|
this._id = Generate.UID();
|
|
25
25
|
this.menuId = Generate.UID();
|
|
26
26
|
this.hidden = false;
|
|
27
|
-
this.type =
|
|
27
|
+
this.type = "dropdown";
|
|
28
28
|
this.size = Bcm.Size.medium;
|
|
29
29
|
this.disabled = false;
|
|
30
30
|
this.kind = Bcm.Kind.solid;
|
|
@@ -33,7 +33,7 @@ export class BcmDropdown {
|
|
|
33
33
|
this.target = undefined;
|
|
34
34
|
this.value = undefined;
|
|
35
35
|
this.noStyle = false;
|
|
36
|
-
this.dropdownIcon =
|
|
36
|
+
this.dropdownIcon = "fas fa-angle-down";
|
|
37
37
|
this.linkedComponent = undefined;
|
|
38
38
|
this.loading = false;
|
|
39
39
|
this.variant = undefined;
|
|
@@ -42,8 +42,8 @@ export class BcmDropdown {
|
|
|
42
42
|
this.iconPosition = Bcm.IconPosition.prefix;
|
|
43
43
|
this.placement = undefined;
|
|
44
44
|
this.height = undefined;
|
|
45
|
-
this.maxHeight =
|
|
46
|
-
this.minHeight =
|
|
45
|
+
this.maxHeight = "500px";
|
|
46
|
+
this.minHeight = "50px";
|
|
47
47
|
this.stopDeepClean = false;
|
|
48
48
|
this.selectable = true;
|
|
49
49
|
this.color = undefined;
|
|
@@ -57,7 +57,7 @@ export class BcmDropdown {
|
|
|
57
57
|
async setActive(id = null) {
|
|
58
58
|
var _a, _b;
|
|
59
59
|
(_b = (_a = document
|
|
60
|
-
.getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll(
|
|
60
|
+
.getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll("bcm-menu")) === null || _b === void 0 ? void 0 : _b.forEach(item => {
|
|
61
61
|
item.setActive(id);
|
|
62
62
|
});
|
|
63
63
|
}
|
|
@@ -66,36 +66,25 @@ export class BcmDropdown {
|
|
|
66
66
|
}
|
|
67
67
|
componentDidLoad() {
|
|
68
68
|
var _a;
|
|
69
|
-
const bcmContent = this.el.querySelector(
|
|
69
|
+
const bcmContent = this.el.querySelector("bcm-content");
|
|
70
70
|
if (bcmContent) {
|
|
71
71
|
(_a = document.getElementById(this.menuId)) === null || _a === void 0 ? void 0 : _a.appendChild(bcmContent);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth, isOpen } = this;
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail) }))));
|
|
76
|
+
const attributes = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (disabled && { disabled })), (loading && { loading })), (kind && { kind })), (size && { size })), (variant && { variant })), (color && { color })), (this.menuId && { "menu-id": this.menuId }));
|
|
77
|
+
const DropdownIcon = () => (h("span", { class: cs("tw-flex tw-items-center tw-justify-center tw-transition-transform tw-duration-200", {
|
|
78
|
+
"tw-rotate-180": isOpen,
|
|
79
|
+
}) }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
80
|
+
return (h(Host, { class: cs("tw-preflight", "bcm-ui-element bcm-ui-action bcm-dropdown", "type-" + type, {
|
|
81
|
+
"tw-w-full": fullWidth,
|
|
82
|
+
"tw-pointer-events-none tw-cursor-not-allowed": disabled,
|
|
83
|
+
"no-style": this.noStyle,
|
|
84
|
+
"tw-hidden": this.hidden || this.linkedComponent,
|
|
85
|
+
}) }, this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === "split" && { href }), (target && type === "split" && { target }), (fullWidth && { fullWidth })), h("slot", null), type === "dropdown" && h(DropdownIcon, null))), !this.noStyle && type === "split" && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), h(DropdownIcon, null))), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === "split" ? "-split" : ""}`, placement: this.placement || (type === "dropdown" ? "bottom-start" : "bottom-end"), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail) }))));
|
|
87
86
|
}
|
|
88
87
|
static get is() { return "bcm-dropdown"; }
|
|
89
|
-
static get originalStyleUrls() {
|
|
90
|
-
return {
|
|
91
|
-
"$": ["dropdown.scss"]
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
static get styleUrls() {
|
|
95
|
-
return {
|
|
96
|
-
"$": ["dropdown.css"]
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
88
|
static get properties() {
|
|
100
89
|
return {
|
|
101
90
|
"isOpen": {
|
|
@@ -173,7 +162,7 @@ export class BcmDropdown {
|
|
|
173
162
|
"type": "string",
|
|
174
163
|
"mutable": true,
|
|
175
164
|
"complexType": {
|
|
176
|
-
"original": "
|
|
165
|
+
"original": "\"dropdown\" | \"split\"",
|
|
177
166
|
"resolved": "\"dropdown\" | \"split\"",
|
|
178
167
|
"references": {}
|
|
179
168
|
},
|
|
@@ -185,7 +174,7 @@ export class BcmDropdown {
|
|
|
185
174
|
},
|
|
186
175
|
"attribute": "type",
|
|
187
176
|
"reflect": false,
|
|
188
|
-
"defaultValue": "
|
|
177
|
+
"defaultValue": "\"dropdown\""
|
|
189
178
|
},
|
|
190
179
|
"size": {
|
|
191
180
|
"type": "string",
|
|
@@ -232,14 +221,9 @@ export class BcmDropdown {
|
|
|
232
221
|
"type": "string",
|
|
233
222
|
"mutable": true,
|
|
234
223
|
"complexType": {
|
|
235
|
-
"original": "
|
|
236
|
-
"resolved": "\"ghost\" | \"
|
|
237
|
-
"references": {
|
|
238
|
-
"KindTypes": {
|
|
239
|
-
"location": "import",
|
|
240
|
-
"path": "../../../models/bcm-types"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
224
|
+
"original": "\"solid\" | \"ghost\"",
|
|
225
|
+
"resolved": "\"ghost\" | \"solid\"",
|
|
226
|
+
"references": {}
|
|
243
227
|
},
|
|
244
228
|
"required": false,
|
|
245
229
|
"optional": false,
|
|
@@ -289,9 +273,14 @@ export class BcmDropdown {
|
|
|
289
273
|
"type": "string",
|
|
290
274
|
"mutable": true,
|
|
291
275
|
"complexType": {
|
|
292
|
-
"original": "
|
|
293
|
-
"resolved": "
|
|
294
|
-
"references": {
|
|
276
|
+
"original": "TargetTypes",
|
|
277
|
+
"resolved": "\"blank\" | \"parent\" | \"self\" | \"top\"",
|
|
278
|
+
"references": {
|
|
279
|
+
"TargetTypes": {
|
|
280
|
+
"location": "import",
|
|
281
|
+
"path": "../../../models/bcm-types"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
295
284
|
},
|
|
296
285
|
"required": false,
|
|
297
286
|
"optional": false,
|
|
@@ -353,7 +342,7 @@ export class BcmDropdown {
|
|
|
353
342
|
},
|
|
354
343
|
"attribute": "dropdown-icon",
|
|
355
344
|
"reflect": false,
|
|
356
|
-
"defaultValue": "
|
|
345
|
+
"defaultValue": "\"fas fa-angle-down\""
|
|
357
346
|
},
|
|
358
347
|
"linkedComponent": {
|
|
359
348
|
"type": "string",
|
|
@@ -395,7 +384,7 @@ export class BcmDropdown {
|
|
|
395
384
|
"mutable": false,
|
|
396
385
|
"complexType": {
|
|
397
386
|
"original": "VariantProp",
|
|
398
|
-
"resolved": "\"filter\" | \"remove\" | \"cancel\" | \"close\" | \"reset\" | \"submit\" | \"apply\" | \"download\" | \"save\" | \"ok\" | \"new\" | \"add\" | \"create\" | \"
|
|
387
|
+
"resolved": "\"filter\" | \"remove\" | \"cancel\" | \"close\" | \"reset\" | \"submit\" | \"apply\" | \"download\" | \"save\" | \"ok\" | \"new\" | \"add\" | \"create\" | \"send\" | \"delete\" | \"decline\" | \"archive\" | \"prev\" | \"next\" | \"edit\" | \"export\" | \"import\" | \"update\"",
|
|
399
388
|
"references": {
|
|
400
389
|
"VariantProp": {
|
|
401
390
|
"location": "import",
|
|
@@ -526,7 +515,7 @@ export class BcmDropdown {
|
|
|
526
515
|
},
|
|
527
516
|
"attribute": "max-height",
|
|
528
517
|
"reflect": false,
|
|
529
|
-
"defaultValue": "
|
|
518
|
+
"defaultValue": "\"500px\""
|
|
530
519
|
},
|
|
531
520
|
"minHeight": {
|
|
532
521
|
"type": "string",
|
|
@@ -544,7 +533,7 @@ export class BcmDropdown {
|
|
|
544
533
|
},
|
|
545
534
|
"attribute": "min-height",
|
|
546
535
|
"reflect": false,
|
|
547
|
-
"defaultValue": "
|
|
536
|
+
"defaultValue": "\"50px\""
|
|
548
537
|
},
|
|
549
538
|
"stopDeepClean": {
|
|
550
539
|
"type": "boolean",
|
|
@@ -681,5 +670,5 @@ __decorate([
|
|
|
681
670
|
IsLoad()
|
|
682
671
|
], BcmDropdown.prototype, "el", void 0);
|
|
683
672
|
__decorate([
|
|
684
|
-
JsonParse(
|
|
673
|
+
JsonParse("data", true)
|
|
685
674
|
], BcmDropdown.prototype, "dataChanged", null);
|
|
@@ -12,19 +12,24 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { IsLoad } from "@bcm/decorator";
|
|
16
|
+
import { Host, h } from "@stencil/core";
|
|
17
|
+
import { Generate } from "../../../helper/generate";
|
|
17
18
|
export class BcmEmpty {
|
|
18
19
|
constructor() {
|
|
20
|
+
this._id = Generate.UID();
|
|
21
|
+
this.headerText = undefined;
|
|
19
22
|
this.icon = undefined;
|
|
23
|
+
this.description = undefined;
|
|
20
24
|
}
|
|
21
25
|
render() {
|
|
22
|
-
|
|
26
|
+
const { icon, headerText, description } = this;
|
|
27
|
+
return (h(Host, { class: "bcm-ui-element bcm-ui-feedback bcm-empty tw-flex tw-h-full tw-w-full tw-flex-col tw-items-center tw-justify-center tw-gap-3 tw-text-center" }, icon && h("i", { class: icon }), !icon && (h("svg", { width: "105", height: "99", viewBox: "0 0 105 99", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M44.8676 98.6269C69.2871 98.6269 89.083 94.928 89.083 90.3652C89.083 85.8024 69.2871 82.1035 44.8676 82.1035C20.4481 82.1035 0.652176 85.8024 0.652176 90.3652C0.652176 94.928 20.4481 98.6269 44.8676 98.6269Z", fill: "#FEF3C7" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M80.2396 66.0939L64.6363 46.8906C63.8876 45.9867 62.7933 45.4396 61.6409 45.4396H28.093C26.9413 45.4396 25.847 45.9867 25.0983 46.8906L9.49566 66.0939V76.1263H80.2402V66.0939H80.2396Z", fill: "#FDE68A" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M22.7152 20.6543H67.0193C67.7112 20.6543 68.3748 20.9292 68.864 21.4184C69.3532 21.9076 69.628 22.5712 69.628 23.263V84.1396C69.628 84.8314 69.3532 85.495 68.864 85.9842C68.3748 86.4734 67.7112 86.7483 67.0193 86.7483H22.7152C22.0233 86.7483 21.3598 86.4734 20.8706 85.9842C20.3814 85.495 20.1065 84.8314 20.1065 84.1396V23.263C20.1065 22.5712 20.3814 21.9076 20.8706 21.4184C21.3598 20.9292 22.0233 20.6543 22.7152 20.6543V20.6543Z", fill: "#FEF3C7" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M28.4857 27.1454H61.2489C61.5948 27.1454 61.9266 27.2829 62.1712 27.5275C62.4158 27.7721 62.5533 28.1038 62.5533 28.4498V44.7261C62.5533 45.072 62.4158 45.4038 62.1712 45.6484C61.9266 45.893 61.5948 46.0304 61.2489 46.0304H28.4857C28.1397 46.0304 27.808 45.893 27.5633 45.6484C27.3187 45.4038 27.1813 45.072 27.1813 44.7261V28.4498C27.1813 28.1038 27.3187 27.7721 27.5633 27.5275C27.808 27.2829 28.1397 27.1454 28.4857 27.1454V27.1454ZM28.6565 53.1111H61.078C61.4693 53.1111 61.8445 53.2665 62.1212 53.5432C62.3978 53.8198 62.5533 54.1951 62.5533 54.5863C62.5533 54.9776 62.3978 55.3528 62.1212 55.6294C61.8445 55.9061 61.4693 56.0615 61.078 56.0615H28.6565C28.2653 56.0615 27.89 55.9061 27.6134 55.6294C27.3367 55.3528 27.1813 54.9776 27.1813 54.5863C27.1813 54.1951 27.3367 53.8198 27.6134 53.5432C27.89 53.2665 28.2653 53.1111 28.6565 53.1111V53.1111ZM28.6565 60.7826H61.078C61.4694 60.7826 61.8447 60.9381 62.1214 61.2148C62.3981 61.4915 62.5536 61.8668 62.5536 62.2582C62.5536 62.6495 62.3981 63.0248 62.1214 63.3015C61.8447 63.5782 61.4694 63.7337 61.078 63.7337H28.6565C28.2652 63.7337 27.8899 63.5782 27.6132 63.3015C27.3364 63.0248 27.181 62.6495 27.181 62.2582C27.181 61.8668 27.3364 61.4915 27.6132 61.2148C27.8899 60.9381 28.2652 60.7826 28.6565 60.7826V60.7826ZM80.0954 89.1535C79.59 91.1563 77.8148 92.6491 75.703 92.6491H14.0315C11.9198 92.6491 10.1446 91.1556 9.63979 89.1535C9.54351 88.7718 9.49488 88.3797 9.495 87.9861V66.0946H26.6589C28.5548 66.0946 30.0828 67.6911 30.0828 69.6293V69.6554C30.0828 71.593 31.6285 73.1576 33.5244 73.1576H56.2102C58.1061 73.1576 59.6517 71.5787 59.6517 69.6404V69.6326C59.6517 67.6943 61.1798 66.0939 63.0757 66.0939H80.2396V87.9867C80.2396 88.3891 80.1894 88.7798 80.0954 89.1535V89.1535Z", fill: "#FBBF24" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M82.2528 21.7122L77.7985 23.4404C77.6841 23.4849 77.5594 23.4962 77.4388 23.473C77.3183 23.4498 77.2067 23.393 77.117 23.3092C77.0272 23.2254 76.963 23.118 76.9316 22.9993C76.9002 22.8806 76.903 22.7555 76.9396 22.6383L78.2028 18.5902C76.5143 16.6702 75.523 14.3289 75.523 11.8024C75.523 5.28391 82.1217 0 90.2622 0C98.4006 0 105 5.28391 105 11.8024C105 18.3209 98.4013 23.6048 90.2615 23.6048C87.3085 23.6048 84.5589 22.9096 82.2528 21.7122Z", fill: "#FDE68A" }), h("path", { d: "M96.0678 13.9337C97.094 13.9337 97.9259 13.1117 97.9259 12.0978C97.9259 11.0839 97.094 10.262 96.0678 10.262C95.0417 10.262 94.2098 11.0839 94.2098 12.0978C94.2098 13.1117 95.0417 13.9337 96.0678 13.9337Z", fill: "white" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M86.3139 13.7041H82.5978L84.4878 10.4915L86.3139 13.7041ZM88.6363 10.4915H91.8874V13.7041H88.6363V10.4915Z", fill: "white" }))), h("section", null, headerText && h("div", { class: "tw-text-size-5 tw-font-medium tw-text-slate-700" }, " ", headerText, " "), description && h("div", { class: "tw-text-size-4 tw-font-normal tw-text-slate-600" }, " ", description, " ")), h("section", { class: "tw-px-3 tw-py-1" }, h("slot", { name: "actions" }))));
|
|
23
28
|
}
|
|
24
29
|
static get is() { return "bcm-empty"; }
|
|
25
30
|
static get properties() {
|
|
26
31
|
return {
|
|
27
|
-
"
|
|
32
|
+
"_id": {
|
|
28
33
|
"type": "string",
|
|
29
34
|
"mutable": false,
|
|
30
35
|
"complexType": {
|
|
@@ -38,8 +43,60 @@ export class BcmEmpty {
|
|
|
38
43
|
"tags": [],
|
|
39
44
|
"text": ""
|
|
40
45
|
},
|
|
46
|
+
"attribute": "id",
|
|
47
|
+
"reflect": true,
|
|
48
|
+
"defaultValue": "Generate.UID()"
|
|
49
|
+
},
|
|
50
|
+
"headerText": {
|
|
51
|
+
"type": "any",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "any",
|
|
55
|
+
"resolved": "any",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": ""
|
|
63
|
+
},
|
|
64
|
+
"attribute": "header-text",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
67
|
+
"icon": {
|
|
68
|
+
"type": "any",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "any",
|
|
72
|
+
"resolved": "any",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": false,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": ""
|
|
80
|
+
},
|
|
41
81
|
"attribute": "icon",
|
|
42
82
|
"reflect": false
|
|
83
|
+
},
|
|
84
|
+
"description": {
|
|
85
|
+
"type": "any",
|
|
86
|
+
"mutable": false,
|
|
87
|
+
"complexType": {
|
|
88
|
+
"original": "any",
|
|
89
|
+
"resolved": "any",
|
|
90
|
+
"references": {}
|
|
91
|
+
},
|
|
92
|
+
"required": false,
|
|
93
|
+
"optional": false,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": ""
|
|
97
|
+
},
|
|
98
|
+
"attribute": "description",
|
|
99
|
+
"reflect": false
|
|
43
100
|
}
|
|
44
101
|
};
|
|
45
102
|
}
|
|
@@ -12,37 +12,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
15
|
+
import { IsLoad } from "@bcm/decorator";
|
|
16
|
+
import { Bcm } from "@bcm/model";
|
|
17
|
+
import { Host, h } from "@stencil/core";
|
|
18
|
+
import cs from "classnames";
|
|
18
19
|
export class BcmErrorLayout {
|
|
19
20
|
constructor() {
|
|
20
|
-
this.size = 'medium';
|
|
21
21
|
this.hidden = false;
|
|
22
22
|
this.items = [];
|
|
23
|
-
this.
|
|
24
|
-
}
|
|
25
|
-
connectedCallback() { }
|
|
26
|
-
disconnectedCallback() { }
|
|
27
|
-
componentWillLoad() {
|
|
28
|
-
this.parseItems(this.items);
|
|
29
|
-
}
|
|
30
|
-
componentDidLoad() { }
|
|
31
|
-
componentWillRender() { }
|
|
32
|
-
componentDidRender() { }
|
|
33
|
-
componentWillUpdate() { }
|
|
34
|
-
componentDidUpdate() { }
|
|
35
|
-
/**
|
|
36
|
-
* @desc
|
|
37
|
-
* @param newValue
|
|
38
|
-
* @returns {void}
|
|
39
|
-
*/
|
|
40
|
-
parseItems(newValue) {
|
|
41
|
-
if (newValue) {
|
|
42
|
-
typeof newValue == 'string'
|
|
43
|
-
? this.itemsProp = JSON.parse(newValue)
|
|
44
|
-
: this.itemsProp = newValue;
|
|
45
|
-
}
|
|
23
|
+
this.size = Bcm.Size.medium;
|
|
46
24
|
}
|
|
47
25
|
async set(val) {
|
|
48
26
|
this.items = val;
|
|
@@ -51,51 +29,22 @@ export class BcmErrorLayout {
|
|
|
51
29
|
this.items = [];
|
|
52
30
|
}
|
|
53
31
|
render() {
|
|
54
|
-
const {
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
|
|
32
|
+
const { items, hidden } = this;
|
|
33
|
+
const data = typeof items == "string" ? JSON.parse(items) : items;
|
|
34
|
+
return (h(Host, { class: cs("bcm-ui-element bcm-ui-feedback bcm-error-layout", "tw-flex tw-flex-col tw-items-start tw-justify-start", "tw-rounded-lg tw-border-2 tw-border-solid tw-border-red-200 tw-bg-red-100 tw-p-3 tw-font-medium tw-text-red-400", {
|
|
35
|
+
"tw-text-size-2": this.size == Bcm.Size.small,
|
|
36
|
+
"tw-text-size-3": this.size == Bcm.Size.medium,
|
|
37
|
+
"tw-text-size-4": this.size == Bcm.Size.large,
|
|
38
|
+
}, {
|
|
39
|
+
"tw-hidden": hidden,
|
|
40
|
+
}) }, (data === null || data === void 0 ? void 0 : data.length) > 0 && (data === null || data === void 0 ? void 0 : data.map(item => h("li", null, item, " ")))));
|
|
58
41
|
}
|
|
59
42
|
static get is() { return "bcm-error-layout"; }
|
|
60
|
-
static get encapsulation() { return "shadow"; }
|
|
61
|
-
static get originalStyleUrls() {
|
|
62
|
-
return {
|
|
63
|
-
"$": ["error-layout.scss"]
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
static get styleUrls() {
|
|
67
|
-
return {
|
|
68
|
-
"$": ["error-layout.css"]
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
43
|
static get properties() {
|
|
72
44
|
return {
|
|
73
|
-
"size": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"mutable": true,
|
|
76
|
-
"complexType": {
|
|
77
|
-
"original": "SizeProp",
|
|
78
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
79
|
-
"references": {
|
|
80
|
-
"SizeProp": {
|
|
81
|
-
"location": "import",
|
|
82
|
-
"path": "./types"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"required": false,
|
|
87
|
-
"optional": false,
|
|
88
|
-
"docs": {
|
|
89
|
-
"tags": [],
|
|
90
|
-
"text": ""
|
|
91
|
-
},
|
|
92
|
-
"attribute": "size",
|
|
93
|
-
"reflect": false,
|
|
94
|
-
"defaultValue": "'medium'"
|
|
95
|
-
},
|
|
96
45
|
"hidden": {
|
|
97
46
|
"type": "boolean",
|
|
98
|
-
"mutable":
|
|
47
|
+
"mutable": false,
|
|
99
48
|
"complexType": {
|
|
100
49
|
"original": "boolean",
|
|
101
50
|
"resolved": "boolean",
|
|
@@ -115,8 +64,8 @@ export class BcmErrorLayout {
|
|
|
115
64
|
"type": "string",
|
|
116
65
|
"mutable": true,
|
|
117
66
|
"complexType": {
|
|
118
|
-
"original": "Array<
|
|
119
|
-
"resolved": "
|
|
67
|
+
"original": "Array<string> | string",
|
|
68
|
+
"resolved": "string | string[]",
|
|
120
69
|
"references": {
|
|
121
70
|
"Array": {
|
|
122
71
|
"location": "global"
|
|
@@ -132,14 +81,32 @@ export class BcmErrorLayout {
|
|
|
132
81
|
"attribute": "items",
|
|
133
82
|
"reflect": false,
|
|
134
83
|
"defaultValue": "[]"
|
|
84
|
+
},
|
|
85
|
+
"size": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"mutable": false,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "SizeTypes",
|
|
90
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
91
|
+
"references": {
|
|
92
|
+
"SizeTypes": {
|
|
93
|
+
"location": "import",
|
|
94
|
+
"path": "@bcm/model"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": ""
|
|
103
|
+
},
|
|
104
|
+
"attribute": "size",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "Bcm.Size.medium"
|
|
135
107
|
}
|
|
136
108
|
};
|
|
137
109
|
}
|
|
138
|
-
static get states() {
|
|
139
|
-
return {
|
|
140
|
-
"itemsProp": {}
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
110
|
static get methods() {
|
|
144
111
|
return {
|
|
145
112
|
"set": {
|
|
@@ -180,12 +147,6 @@ export class BcmErrorLayout {
|
|
|
180
147
|
};
|
|
181
148
|
}
|
|
182
149
|
static get elementRef() { return "el"; }
|
|
183
|
-
static get watchers() {
|
|
184
|
-
return [{
|
|
185
|
-
"propName": "items",
|
|
186
|
-
"methodName": "parseItems"
|
|
187
|
-
}];
|
|
188
|
-
}
|
|
189
150
|
}
|
|
190
151
|
__decorate([
|
|
191
152
|
IsLoad()
|