bromcom-ui 2.8.0-rc.9 → 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-287c4271.js +5 -0
- 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-0716606a.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-e8a668b7.js → p-69b5544d.js} +1 -1
- 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-8c77e8a8.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 +7 -6
- 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-b39bfd65.js → generate-59e65204.js} +17 -55
- package/dist/cjs/icon-template-9d3d546d.js +15 -0
- package/dist/cjs/{input-template-7c7cfb83.js → input-template-2d413cf8.js} +5 -3
- package/dist/cjs/{json-parse-decarator-3b0b8500.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-538d8ba5.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-c3879175.js → tooltip-helper-e85cd3f8.js} +7 -7
- package/dist/cjs/{validators-7e8e9603.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/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 +2 -2
- 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 +10 -9
- 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-5f415340.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-5d9e6648.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-94b458ca.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-cdcb2700.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-0ef7bf68.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-b7db775c.js → tooltip-helper-6ed9a1a0.js} +9 -9
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-10185191.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/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-01107ccf.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-106ac30f.entry.js +0 -5
- package/dist/bromcom-ui/p-11645edd.entry.js +0 -5
- package/dist/bromcom-ui/p-14ec06cb.entry.js +0 -5
- package/dist/bromcom-ui/p-16e7c6fb.entry.js +0 -5
- package/dist/bromcom-ui/p-1cb948c7.entry.js +0 -5
- package/dist/bromcom-ui/p-1cfafa49.entry.js +0 -5
- package/dist/bromcom-ui/p-24aefda6.js +0 -5
- package/dist/bromcom-ui/p-28a43882.entry.js +0 -5
- package/dist/bromcom-ui/p-290b295e.entry.js +0 -5
- package/dist/bromcom-ui/p-31226526.entry.js +0 -5
- package/dist/bromcom-ui/p-3126bfd0.entry.js +0 -5
- package/dist/bromcom-ui/p-34d91cc3.entry.js +0 -5
- package/dist/bromcom-ui/p-3c651065.entry.js +0 -5
- package/dist/bromcom-ui/p-41bf36cc.entry.js +0 -5
- package/dist/bromcom-ui/p-4639e2e7.entry.js +0 -5
- package/dist/bromcom-ui/p-47857754.entry.js +0 -5
- package/dist/bromcom-ui/p-4e214c36.entry.js +0 -5
- package/dist/bromcom-ui/p-533cb826.entry.js +0 -5
- package/dist/bromcom-ui/p-584db3af.entry.js +0 -5
- package/dist/bromcom-ui/p-58651d85.entry.js +0 -5
- package/dist/bromcom-ui/p-58ed1d0b.entry.js +0 -5
- package/dist/bromcom-ui/p-5b549e78.entry.js +0 -5
- package/dist/bromcom-ui/p-61da178c.entry.js +0 -5
- package/dist/bromcom-ui/p-64067354.entry.js +0 -5
- package/dist/bromcom-ui/p-6814967d.entry.js +0 -5
- package/dist/bromcom-ui/p-692a0269.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-722b4241.entry.js +0 -5
- package/dist/bromcom-ui/p-740d46f0.entry.js +0 -5
- package/dist/bromcom-ui/p-76358e74.js +0 -5
- package/dist/bromcom-ui/p-77756f31.entry.js +0 -5
- package/dist/bromcom-ui/p-79fd816c.js +0 -5
- package/dist/bromcom-ui/p-7bdda715.entry.js +0 -5
- package/dist/bromcom-ui/p-7f658fed.entry.js +0 -5
- package/dist/bromcom-ui/p-8515ecef.entry.js +0 -5
- package/dist/bromcom-ui/p-88503d48.entry.js +0 -5
- package/dist/bromcom-ui/p-88ace511.entry.js +0 -5
- package/dist/bromcom-ui/p-88f5facd.entry.js +0 -5
- package/dist/bromcom-ui/p-89edeb2b.entry.js +0 -5
- package/dist/bromcom-ui/p-8f88c3b5.js +0 -5
- package/dist/bromcom-ui/p-93ff886a.entry.js +0 -5
- package/dist/bromcom-ui/p-94958b01.entry.js +0 -5
- package/dist/bromcom-ui/p-97933e31.entry.js +0 -5
- package/dist/bromcom-ui/p-9874bde7.entry.js +0 -5
- package/dist/bromcom-ui/p-9bb6ed5b.entry.js +0 -5
- package/dist/bromcom-ui/p-a14ba057.js +0 -5
- package/dist/bromcom-ui/p-a3f1abc7.entry.js +0 -10
- package/dist/bromcom-ui/p-a429e85b.js +0 -5
- package/dist/bromcom-ui/p-a7d1a083.entry.js +0 -5
- package/dist/bromcom-ui/p-aad63720.entry.js +0 -5
- package/dist/bromcom-ui/p-b0098cb3.entry.js +0 -5
- package/dist/bromcom-ui/p-b60bcecf.js +0 -5
- package/dist/bromcom-ui/p-bc840f30.entry.js +0 -5
- package/dist/bromcom-ui/p-c004ac8e.entry.js +0 -5
- package/dist/bromcom-ui/p-c3feb3ff.entry.js +0 -5
- package/dist/bromcom-ui/p-c6974976.entry.js +0 -5
- package/dist/bromcom-ui/p-c82ad9af.entry.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-d1752924.entry.js +0 -5
- package/dist/bromcom-ui/p-d644b6d9.entry.js +0 -5
- package/dist/bromcom-ui/p-d98eb190.entry.js +0 -5
- package/dist/bromcom-ui/p-da40b2f9.entry.js +0 -5
- package/dist/bromcom-ui/p-dd913770.js +0 -5
- package/dist/bromcom-ui/p-de311d1e.entry.js +0 -5
- package/dist/bromcom-ui/p-e19e9dc1.entry.js +0 -5
- package/dist/bromcom-ui/p-e7558537.entry.js +0 -5
- package/dist/bromcom-ui/p-f529ded0.entry.js +0 -5
- package/dist/bromcom-ui/p-f8c20298.entry.js +0 -5
- package/dist/bromcom-ui/p-fafcca5f.entry.js +0 -5
- package/dist/bromcom-ui/p-fb79631d.entry.js +0 -5
- package/dist/bromcom-ui/p-fbe878ff.entry.js +0 -5
- package/dist/bromcom-ui/p-fd739176.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-6fb59969.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,164 +12,134 @@ 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
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
15
|
+
// import { ColorHelper } from "@bcm/helpers";
|
|
16
|
+
import { IsLoad } from "@bcm/decorator";
|
|
17
|
+
import { Generate } from "@bcm/helpers";
|
|
18
|
+
import { Host, h } from "@stencil/core";
|
|
19
|
+
import cs from "classnames";
|
|
20
|
+
import Bcm from "../../../models/bcm";
|
|
21
|
+
import { IconTemplate } from "../../../templates/icon-template";
|
|
22
|
+
import { variantOptions } from "./types";
|
|
23
23
|
export class BcmButton {
|
|
24
24
|
constructor() {
|
|
25
|
-
|
|
26
|
-
this.
|
|
25
|
+
// isLink returns true if the button should be rendered as a link
|
|
26
|
+
this.isLink = () => !!this.href;
|
|
27
27
|
this.type = Bcm.ButtonType.button;
|
|
28
|
+
this.form = undefined;
|
|
29
|
+
this.formAction = undefined;
|
|
30
|
+
this.formMethod = undefined;
|
|
31
|
+
this.formEnctype = undefined;
|
|
32
|
+
this.formTarget = undefined;
|
|
33
|
+
this.formNoValidate = undefined;
|
|
34
|
+
this.href = undefined;
|
|
35
|
+
this.target = Bcm.Target["_blank"];
|
|
36
|
+
this.rel = "noreferrer noopener";
|
|
37
|
+
this.download = undefined;
|
|
38
|
+
this._id = Generate.UID();
|
|
39
|
+
this.value = undefined;
|
|
40
|
+
this.name = undefined;
|
|
41
|
+
this.variant = undefined;
|
|
42
|
+
this.dataDismiss = false;
|
|
43
|
+
this.color = undefined;
|
|
44
|
+
this.checked = false;
|
|
28
45
|
this.size = Bcm.Size.medium;
|
|
29
46
|
this.disabled = false;
|
|
30
|
-
this.kind =
|
|
47
|
+
this.kind = undefined;
|
|
31
48
|
this.outline = false;
|
|
49
|
+
this.filled = true;
|
|
32
50
|
this.icon = undefined;
|
|
33
|
-
this.href = undefined;
|
|
34
|
-
this.target = undefined;
|
|
35
|
-
this.value = undefined;
|
|
36
51
|
this.loading = false;
|
|
37
|
-
this.
|
|
38
|
-
this.dataDismiss = false;
|
|
52
|
+
this.text = undefined;
|
|
39
53
|
this.fullWidth = false;
|
|
40
54
|
this.iconPosition = Bcm.IconPosition.prefix;
|
|
41
|
-
this.color = undefined;
|
|
42
|
-
this.checked = false;
|
|
43
|
-
}
|
|
44
|
-
handleOnClick(e) {
|
|
45
|
-
if (this.disabled) {
|
|
46
|
-
e.preventDefault();
|
|
47
|
-
e.stopPropagation();
|
|
48
|
-
return false;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
componentWillRender() {
|
|
52
|
-
const { size, kind, icon, iconPosition, disabled, outline, href, type, target, loading, variant, fullWidth, hidden, value } = this;
|
|
53
|
-
buttonState.setValue({
|
|
54
|
-
id: this._id,
|
|
55
|
-
size,
|
|
56
|
-
type,
|
|
57
|
-
kind,
|
|
58
|
-
icon,
|
|
59
|
-
iconPosition,
|
|
60
|
-
disabled,
|
|
61
|
-
outline,
|
|
62
|
-
href,
|
|
63
|
-
target,
|
|
64
|
-
loading,
|
|
65
|
-
variant,
|
|
66
|
-
fullWidth,
|
|
67
|
-
hidden,
|
|
68
|
-
value,
|
|
69
|
-
isIconOnly: !!(this.isHaveChildNodes() && this.icon),
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
getStateData() {
|
|
73
|
-
return buttonState.getValue(this._id);
|
|
74
|
-
}
|
|
75
|
-
isHaveChildNodes() {
|
|
76
|
-
const childNodes = Array.from(this.el.childNodes);
|
|
77
|
-
return childNodes.find(node => node.nodeType === Node.TEXT_NODE) === undefined;
|
|
78
|
-
}
|
|
79
|
-
setColor(color = this.color) {
|
|
80
|
-
if (!color)
|
|
81
|
-
return;
|
|
82
|
-
const { kind } = this;
|
|
83
|
-
const prefix = `--bcm-button-${kind}`;
|
|
84
|
-
if (kind === 'solid') {
|
|
85
|
-
return {
|
|
86
|
-
[`${prefix}-color-default`]: ColorHelper.dsColor('white'),
|
|
87
|
-
[`${prefix}-color-hover`]: ColorHelper.dsColor('white'),
|
|
88
|
-
[`${prefix}-color-focus-visible`]: ColorHelper.dsColor('white'),
|
|
89
|
-
[`${prefix}-color-active`]: ColorHelper.dsColor('white'),
|
|
90
|
-
[`${prefix}-color-disabled`]: ColorHelper.dsColor('white'),
|
|
91
|
-
[`${prefix}-background-color-default`]: ColorHelper.dsColor(color + '-500'),
|
|
92
|
-
[`${prefix}-background-color-hover`]: ColorHelper.dsColor(color + '-600'),
|
|
93
|
-
[`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor(color + '-700'),
|
|
94
|
-
[`${prefix}-background-color-active`]: ColorHelper.dsColor(color + '-800'),
|
|
95
|
-
[`${prefix}-background-color-disabled`]: ColorHelper.dsColor('slate-400'),
|
|
96
|
-
[`${prefix}-border-default`]: ColorHelper.dsColor(color + '-500'),
|
|
97
|
-
[`${prefix}-border-hover`]: ColorHelper.dsColor(color + '-600'),
|
|
98
|
-
[`${prefix}-border-focus-visible`]: ColorHelper.dsColor(color + '-700'),
|
|
99
|
-
[`${prefix}-border-active`]: ColorHelper.dsColor(color + '-800'),
|
|
100
|
-
[`${prefix}-border-disabled`]: ColorHelper.dsColor('slate-400')
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
else if (kind == 'link') {
|
|
104
|
-
return {
|
|
105
|
-
[`${prefix}-color-default`]: ColorHelper.dsColor(color + '-500'),
|
|
106
|
-
[`${prefix}-color-hover`]: ColorHelper.dsColor(color + '-600'),
|
|
107
|
-
[`${prefix}-color-focus-visible`]: ColorHelper.dsColor(color + '-800'),
|
|
108
|
-
[`${prefix}-color-active`]: ColorHelper.dsColor(color + '-700'),
|
|
109
|
-
[`${prefix}-color-disabled`]: ColorHelper.dsColor('slate-400'),
|
|
110
|
-
[`${prefix}-background-color-default`]: ColorHelper.dsColor('transparent'),
|
|
111
|
-
[`${prefix}-background-color-hover`]: ColorHelper.dsColor('transparent'),
|
|
112
|
-
[`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor('slate-50'),
|
|
113
|
-
[`${prefix}-background-color-active`]: ColorHelper.dsColor('slate-50'),
|
|
114
|
-
[`${prefix}-background-color-disabled`]: ColorHelper.dsColor('transparent'),
|
|
115
|
-
[`${prefix}-border-default`]: ColorHelper.dsColor('transparent'),
|
|
116
|
-
[`${prefix}-border-hover`]: ColorHelper.dsColor('transparent'),
|
|
117
|
-
[`${prefix}-border-focus-visible`]: ColorHelper.dsColor('slate-50'),
|
|
118
|
-
[`${prefix}-border-active`]: ColorHelper.dsColor('slate-50'),
|
|
119
|
-
[`${prefix}-border-disabled`]: ColorHelper.dsColor('transparent')
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
else if (kind == 'ghost') {
|
|
123
|
-
return {
|
|
124
|
-
[`${prefix}-color-default`]: ColorHelper.dsColor(color + '-600'),
|
|
125
|
-
[`${prefix}-color-hover`]: ColorHelper.dsColor(color + '-600'),
|
|
126
|
-
[`${prefix}-color-focus-visible`]: ColorHelper.dsColor(color + '-600'),
|
|
127
|
-
[`${prefix}-color-active`]: ColorHelper.dsColor(color + '-600'),
|
|
128
|
-
[`${prefix}-color-disabled`]: ColorHelper.dsColor(color + '-300'),
|
|
129
|
-
[`${prefix}-background-color-default`]: ColorHelper.dsColor(color + '-100'),
|
|
130
|
-
[`${prefix}-background-color-hover`]: ColorHelper.dsColor(color + '-200'),
|
|
131
|
-
[`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor(color + '-400'),
|
|
132
|
-
[`${prefix}-background-color-active`]: ColorHelper.dsColor(color + '-300'),
|
|
133
|
-
[`${prefix}-background-color-disabled`]: ColorHelper.dsColor(color + '-50'),
|
|
134
|
-
[`${prefix}-border-default`]: ColorHelper.dsColor(color + '-300'),
|
|
135
|
-
[`${prefix}-border-hover`]: ColorHelper.dsColor(color + '-400'),
|
|
136
|
-
[`${prefix}-border-focus-visible`]: ColorHelper.dsColor(color + '-600'),
|
|
137
|
-
[`${prefix}-border-active`]: ColorHelper.dsColor(color + '-500'),
|
|
138
|
-
[`${prefix}-border-disabled`]: ColorHelper.dsColor(color + '-200'),
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
return;
|
|
142
55
|
}
|
|
143
56
|
render() {
|
|
144
|
-
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"
|
|
57
|
+
/* style definitions */
|
|
58
|
+
const { color, kind, size, variant, fullWidth, outline } = this;
|
|
59
|
+
/* Common Attributes */
|
|
60
|
+
const { _id, value, name, dataDismiss, disabled, loading, icon, iconPosition, text } = this;
|
|
61
|
+
/* Button Attributes */
|
|
62
|
+
const { type, form, formAction, formMethod, formEnctype, formTarget, formNoValidate, checked } = this;
|
|
63
|
+
/* Link Attributes */
|
|
64
|
+
const { href, target, rel, download } = this;
|
|
65
|
+
/* Tag */
|
|
66
|
+
const Tag = this.isLink() ? "a" : "button";
|
|
67
|
+
const buttonAttributes = {
|
|
68
|
+
"type": type,
|
|
69
|
+
"form": form,
|
|
70
|
+
"formaction": formAction,
|
|
71
|
+
"formmethod": formMethod,
|
|
72
|
+
"formenctype": formEnctype,
|
|
73
|
+
"formtarget": formTarget,
|
|
74
|
+
"formnovalidate": formNoValidate,
|
|
75
|
+
"value": value,
|
|
76
|
+
"name": name,
|
|
77
|
+
"data-dismiss": dataDismiss,
|
|
78
|
+
"data-checked": checked,
|
|
161
79
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
80
|
+
const linkAttributes = {
|
|
81
|
+
href: href,
|
|
82
|
+
target: target,
|
|
83
|
+
rel: rel,
|
|
84
|
+
download: download,
|
|
166
85
|
};
|
|
86
|
+
const commonAttributes = Object.assign({ "disabled": disabled, "aria-disabled": disabled, "tabindex": disabled && -1 }, (!disabled && {
|
|
87
|
+
onClick: e => {
|
|
88
|
+
this.bcmButtonClick.emit(e);
|
|
89
|
+
this.bcmClick.emit(e);
|
|
90
|
+
},
|
|
91
|
+
}));
|
|
92
|
+
const buttonKind = kind || (outline ? Bcm.Kind.ghost : Bcm.Kind.solid);
|
|
93
|
+
/** Variant:
|
|
94
|
+
* The variant prop determines the button's appearance.
|
|
95
|
+
* If the variant prop is not set, the button will render in the default style.
|
|
96
|
+
* Props is always a priority.
|
|
97
|
+
*/
|
|
98
|
+
const variantExists = variant && variantOptions[variant];
|
|
99
|
+
const buttonText = text || (variantExists && variantOptions[variant].text);
|
|
100
|
+
const buttonIcon = icon || (variantExists && variantOptions[variant].icon);
|
|
101
|
+
const buttonIconPosition = iconPosition || (variantExists && variantOptions[variant].iconPosition);
|
|
102
|
+
/* if kind is ghost, color is overridden. */
|
|
103
|
+
const buttonColor = buttonKind != "ghost" && (color || (variantExists && variantOptions[variant].color));
|
|
104
|
+
return (h(Host, { class: cs("tw-preflight", "bcm-ui-element bcm-ui-action bcm-button tw-relative tw-inline-flex tw-w-auto", {
|
|
105
|
+
"tw-w-full": fullWidth,
|
|
106
|
+
"tw-cursor-not-allowed": disabled,
|
|
107
|
+
"tw-pointer-events-none": disabled || loading,
|
|
108
|
+
}) }, h(Tag, Object.assign({ id: _id + "-button", class: cs("bcm-ui-element-button", buttonKind, size, {
|
|
109
|
+
"colored": buttonColor,
|
|
110
|
+
"disabled": disabled,
|
|
111
|
+
"tw-w-full": fullWidth,
|
|
112
|
+
}), style: Object.assign({}, Generate.getTwColor({ color: buttonColor })) }, commonAttributes, (this.isLink() ? linkAttributes : buttonAttributes)), buttonIcon && h(IconTemplate, { icon: buttonIcon, className: cs(buttonIconPosition === Bcm.IconPosition.prefix ? "tw-order-first" : "tw-order-last") }), h("slot", null, buttonText), loading && (h("div", { class: "tw-absolute tw-inset-0 tw-flex tw-items-center tw-justify-center tw-rounded-md tw-bg-inherit" }, h("i", { class: "far fa-spinner-third fa-spin" }))))));
|
|
167
113
|
}
|
|
114
|
+
static get is() { return "bcm-button"; }
|
|
168
115
|
static get properties() {
|
|
169
116
|
return {
|
|
170
|
-
"
|
|
117
|
+
"type": {
|
|
171
118
|
"type": "string",
|
|
172
|
-
"mutable":
|
|
119
|
+
"mutable": false,
|
|
120
|
+
"complexType": {
|
|
121
|
+
"original": "ButtonTypes",
|
|
122
|
+
"resolved": "\"button\" | \"reset\" | \"submit\"",
|
|
123
|
+
"references": {
|
|
124
|
+
"ButtonTypes": {
|
|
125
|
+
"location": "import",
|
|
126
|
+
"path": "@bcm/model"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": ""
|
|
135
|
+
},
|
|
136
|
+
"attribute": "type",
|
|
137
|
+
"reflect": false,
|
|
138
|
+
"defaultValue": "Bcm.ButtonType.button"
|
|
139
|
+
},
|
|
140
|
+
"form": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
173
143
|
"complexType": {
|
|
174
144
|
"original": "string",
|
|
175
145
|
"resolved": "string",
|
|
@@ -181,16 +151,15 @@ export class BcmButton {
|
|
|
181
151
|
"tags": [],
|
|
182
152
|
"text": ""
|
|
183
153
|
},
|
|
184
|
-
"attribute": "
|
|
185
|
-
"reflect":
|
|
186
|
-
"defaultValue": "Generate.UID()"
|
|
154
|
+
"attribute": "form",
|
|
155
|
+
"reflect": false
|
|
187
156
|
},
|
|
188
|
-
"
|
|
189
|
-
"type": "
|
|
190
|
-
"mutable":
|
|
157
|
+
"formAction": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"mutable": false,
|
|
191
160
|
"complexType": {
|
|
192
|
-
"original": "
|
|
193
|
-
"resolved": "
|
|
161
|
+
"original": "string",
|
|
162
|
+
"resolved": "string",
|
|
194
163
|
"references": {}
|
|
195
164
|
},
|
|
196
165
|
"required": false,
|
|
@@ -199,22 +168,16 @@ export class BcmButton {
|
|
|
199
168
|
"tags": [],
|
|
200
169
|
"text": ""
|
|
201
170
|
},
|
|
202
|
-
"attribute": "
|
|
203
|
-
"reflect":
|
|
204
|
-
"defaultValue": "false"
|
|
171
|
+
"attribute": "formaction",
|
|
172
|
+
"reflect": false
|
|
205
173
|
},
|
|
206
|
-
"
|
|
174
|
+
"formMethod": {
|
|
207
175
|
"type": "string",
|
|
208
|
-
"mutable":
|
|
176
|
+
"mutable": false,
|
|
209
177
|
"complexType": {
|
|
210
|
-
"original": "
|
|
211
|
-
"resolved": "\"
|
|
212
|
-
"references": {
|
|
213
|
-
"ButtonTypes": {
|
|
214
|
-
"location": "import",
|
|
215
|
-
"path": "../../../models/bcm-types"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
178
|
+
"original": "\"post\" | \"get\"",
|
|
179
|
+
"resolved": "\"get\" | \"post\"",
|
|
180
|
+
"references": {}
|
|
218
181
|
},
|
|
219
182
|
"required": false,
|
|
220
183
|
"optional": false,
|
|
@@ -222,22 +185,16 @@ export class BcmButton {
|
|
|
222
185
|
"tags": [],
|
|
223
186
|
"text": ""
|
|
224
187
|
},
|
|
225
|
-
"attribute": "
|
|
226
|
-
"reflect": false
|
|
227
|
-
"defaultValue": "Bcm.ButtonType.button"
|
|
188
|
+
"attribute": "formmethod",
|
|
189
|
+
"reflect": false
|
|
228
190
|
},
|
|
229
|
-
"
|
|
191
|
+
"formEnctype": {
|
|
230
192
|
"type": "string",
|
|
231
|
-
"mutable":
|
|
193
|
+
"mutable": false,
|
|
232
194
|
"complexType": {
|
|
233
|
-
"original": "
|
|
234
|
-
"resolved": "\"
|
|
235
|
-
"references": {
|
|
236
|
-
"SizeTypes": {
|
|
237
|
-
"location": "import",
|
|
238
|
-
"path": "../../../models/bcm-types"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
195
|
+
"original": "\"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\"",
|
|
196
|
+
"resolved": "\"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\"",
|
|
197
|
+
"references": {}
|
|
241
198
|
},
|
|
242
199
|
"required": false,
|
|
243
200
|
"optional": false,
|
|
@@ -245,13 +202,29 @@ export class BcmButton {
|
|
|
245
202
|
"tags": [],
|
|
246
203
|
"text": ""
|
|
247
204
|
},
|
|
248
|
-
"attribute": "
|
|
249
|
-
"reflect": false
|
|
250
|
-
"defaultValue": "Bcm.Size.medium"
|
|
205
|
+
"attribute": "formenctype",
|
|
206
|
+
"reflect": false
|
|
251
207
|
},
|
|
252
|
-
"
|
|
208
|
+
"formTarget": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"mutable": false,
|
|
211
|
+
"complexType": {
|
|
212
|
+
"original": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\" | string",
|
|
213
|
+
"resolved": "string",
|
|
214
|
+
"references": {}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": false,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": ""
|
|
221
|
+
},
|
|
222
|
+
"attribute": "formtarget",
|
|
223
|
+
"reflect": false
|
|
224
|
+
},
|
|
225
|
+
"formNoValidate": {
|
|
253
226
|
"type": "boolean",
|
|
254
|
-
"mutable":
|
|
227
|
+
"mutable": false,
|
|
255
228
|
"complexType": {
|
|
256
229
|
"original": "boolean",
|
|
257
230
|
"resolved": "boolean",
|
|
@@ -263,22 +236,16 @@ export class BcmButton {
|
|
|
263
236
|
"tags": [],
|
|
264
237
|
"text": ""
|
|
265
238
|
},
|
|
266
|
-
"attribute": "
|
|
267
|
-
"reflect":
|
|
268
|
-
"defaultValue": "false"
|
|
239
|
+
"attribute": "formnovalidate",
|
|
240
|
+
"reflect": false
|
|
269
241
|
},
|
|
270
|
-
"
|
|
242
|
+
"href": {
|
|
271
243
|
"type": "string",
|
|
272
|
-
"mutable":
|
|
244
|
+
"mutable": false,
|
|
273
245
|
"complexType": {
|
|
274
|
-
"original": "
|
|
275
|
-
"resolved": "
|
|
276
|
-
"references": {
|
|
277
|
-
"KindTypes": {
|
|
278
|
-
"location": "import",
|
|
279
|
-
"path": "../../../models/bcm-types"
|
|
280
|
-
}
|
|
281
|
-
}
|
|
246
|
+
"original": "string",
|
|
247
|
+
"resolved": "string",
|
|
248
|
+
"references": {}
|
|
282
249
|
},
|
|
283
250
|
"required": false,
|
|
284
251
|
"optional": false,
|
|
@@ -286,17 +253,21 @@ export class BcmButton {
|
|
|
286
253
|
"tags": [],
|
|
287
254
|
"text": ""
|
|
288
255
|
},
|
|
289
|
-
"attribute": "
|
|
290
|
-
"reflect": false
|
|
291
|
-
"defaultValue": "Bcm.Kind.solid"
|
|
256
|
+
"attribute": "href",
|
|
257
|
+
"reflect": false
|
|
292
258
|
},
|
|
293
|
-
"
|
|
294
|
-
"type": "
|
|
295
|
-
"mutable":
|
|
259
|
+
"target": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"mutable": false,
|
|
296
262
|
"complexType": {
|
|
297
|
-
"original": "
|
|
298
|
-
"resolved": "
|
|
299
|
-
"references": {
|
|
263
|
+
"original": "TargetTypes",
|
|
264
|
+
"resolved": "\"blank\" | \"parent\" | \"self\" | \"top\"",
|
|
265
|
+
"references": {
|
|
266
|
+
"TargetTypes": {
|
|
267
|
+
"location": "import",
|
|
268
|
+
"path": "@bcm/model"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
300
271
|
},
|
|
301
272
|
"required": false,
|
|
302
273
|
"optional": false,
|
|
@@ -304,13 +275,13 @@ export class BcmButton {
|
|
|
304
275
|
"tags": [],
|
|
305
276
|
"text": ""
|
|
306
277
|
},
|
|
307
|
-
"attribute": "
|
|
278
|
+
"attribute": "target",
|
|
308
279
|
"reflect": false,
|
|
309
|
-
"defaultValue": "
|
|
280
|
+
"defaultValue": "Bcm.Target[\"_blank\"]"
|
|
310
281
|
},
|
|
311
|
-
"
|
|
282
|
+
"rel": {
|
|
312
283
|
"type": "string",
|
|
313
|
-
"mutable":
|
|
284
|
+
"mutable": false,
|
|
314
285
|
"complexType": {
|
|
315
286
|
"original": "string",
|
|
316
287
|
"resolved": "string",
|
|
@@ -322,29 +293,30 @@ export class BcmButton {
|
|
|
322
293
|
"tags": [],
|
|
323
294
|
"text": ""
|
|
324
295
|
},
|
|
325
|
-
"attribute": "
|
|
326
|
-
"reflect": false
|
|
296
|
+
"attribute": "rel",
|
|
297
|
+
"reflect": false,
|
|
298
|
+
"defaultValue": "\"noreferrer noopener\""
|
|
327
299
|
},
|
|
328
|
-
"
|
|
300
|
+
"download": {
|
|
329
301
|
"type": "string",
|
|
330
|
-
"mutable":
|
|
302
|
+
"mutable": false,
|
|
331
303
|
"complexType": {
|
|
332
304
|
"original": "string",
|
|
333
305
|
"resolved": "string",
|
|
334
306
|
"references": {}
|
|
335
307
|
},
|
|
336
308
|
"required": false,
|
|
337
|
-
"optional":
|
|
309
|
+
"optional": true,
|
|
338
310
|
"docs": {
|
|
339
311
|
"tags": [],
|
|
340
312
|
"text": ""
|
|
341
313
|
},
|
|
342
|
-
"attribute": "
|
|
314
|
+
"attribute": "download",
|
|
343
315
|
"reflect": false
|
|
344
316
|
},
|
|
345
|
-
"
|
|
317
|
+
"_id": {
|
|
346
318
|
"type": "string",
|
|
347
|
-
"mutable":
|
|
319
|
+
"mutable": false,
|
|
348
320
|
"complexType": {
|
|
349
321
|
"original": "string",
|
|
350
322
|
"resolved": "string",
|
|
@@ -356,12 +328,13 @@ export class BcmButton {
|
|
|
356
328
|
"tags": [],
|
|
357
329
|
"text": ""
|
|
358
330
|
},
|
|
359
|
-
"attribute": "
|
|
360
|
-
"reflect":
|
|
331
|
+
"attribute": "id",
|
|
332
|
+
"reflect": true,
|
|
333
|
+
"defaultValue": "Generate.UID()"
|
|
361
334
|
},
|
|
362
335
|
"value": {
|
|
363
336
|
"type": "string",
|
|
364
|
-
"mutable":
|
|
337
|
+
"mutable": false,
|
|
365
338
|
"complexType": {
|
|
366
339
|
"original": "string",
|
|
367
340
|
"resolved": "string",
|
|
@@ -376,12 +349,12 @@ export class BcmButton {
|
|
|
376
349
|
"attribute": "value",
|
|
377
350
|
"reflect": false
|
|
378
351
|
},
|
|
379
|
-
"
|
|
380
|
-
"type": "
|
|
381
|
-
"mutable":
|
|
352
|
+
"name": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"mutable": false,
|
|
382
355
|
"complexType": {
|
|
383
|
-
"original": "
|
|
384
|
-
"resolved": "
|
|
356
|
+
"original": "string",
|
|
357
|
+
"resolved": "string",
|
|
385
358
|
"references": {}
|
|
386
359
|
},
|
|
387
360
|
"required": false,
|
|
@@ -390,16 +363,15 @@ export class BcmButton {
|
|
|
390
363
|
"tags": [],
|
|
391
364
|
"text": ""
|
|
392
365
|
},
|
|
393
|
-
"attribute": "
|
|
394
|
-
"reflect": false
|
|
395
|
-
"defaultValue": "false"
|
|
366
|
+
"attribute": "name",
|
|
367
|
+
"reflect": false
|
|
396
368
|
},
|
|
397
369
|
"variant": {
|
|
398
370
|
"type": "string",
|
|
399
|
-
"mutable":
|
|
371
|
+
"mutable": false,
|
|
400
372
|
"complexType": {
|
|
401
373
|
"original": "VariantProp",
|
|
402
|
-
"resolved": "\"filter\" | \"remove\" | \"cancel\" | \"close\" | \"reset\" | \"submit\" | \"apply\" | \"download\" | \"save\" | \"ok\" | \"new\" | \"add\" | \"create\" | \"
|
|
374
|
+
"resolved": "\"filter\" | \"remove\" | \"cancel\" | \"close\" | \"reset\" | \"submit\" | \"apply\" | \"download\" | \"save\" | \"ok\" | \"new\" | \"add\" | \"create\" | \"send\" | \"delete\" | \"decline\" | \"archive\" | \"prev\" | \"next\" | \"edit\" | \"export\" | \"import\" | \"update\"",
|
|
403
375
|
"references": {
|
|
404
376
|
"VariantProp": {
|
|
405
377
|
"location": "import",
|
|
@@ -418,7 +390,7 @@ export class BcmButton {
|
|
|
418
390
|
},
|
|
419
391
|
"dataDismiss": {
|
|
420
392
|
"type": "boolean",
|
|
421
|
-
"mutable":
|
|
393
|
+
"mutable": false,
|
|
422
394
|
"complexType": {
|
|
423
395
|
"original": "boolean",
|
|
424
396
|
"resolved": "boolean",
|
|
@@ -434,9 +406,26 @@ export class BcmButton {
|
|
|
434
406
|
"reflect": false,
|
|
435
407
|
"defaultValue": "false"
|
|
436
408
|
},
|
|
437
|
-
"
|
|
409
|
+
"color": {
|
|
410
|
+
"type": "any",
|
|
411
|
+
"mutable": false,
|
|
412
|
+
"complexType": {
|
|
413
|
+
"original": "any",
|
|
414
|
+
"resolved": "any",
|
|
415
|
+
"references": {}
|
|
416
|
+
},
|
|
417
|
+
"required": false,
|
|
418
|
+
"optional": false,
|
|
419
|
+
"docs": {
|
|
420
|
+
"tags": [],
|
|
421
|
+
"text": ""
|
|
422
|
+
},
|
|
423
|
+
"attribute": "color",
|
|
424
|
+
"reflect": false
|
|
425
|
+
},
|
|
426
|
+
"checked": {
|
|
438
427
|
"type": "boolean",
|
|
439
|
-
"mutable":
|
|
428
|
+
"mutable": false,
|
|
440
429
|
"complexType": {
|
|
441
430
|
"original": "boolean",
|
|
442
431
|
"resolved": "boolean",
|
|
@@ -448,20 +437,20 @@ export class BcmButton {
|
|
|
448
437
|
"tags": [],
|
|
449
438
|
"text": ""
|
|
450
439
|
},
|
|
451
|
-
"attribute": "
|
|
440
|
+
"attribute": "checked",
|
|
452
441
|
"reflect": false,
|
|
453
442
|
"defaultValue": "false"
|
|
454
443
|
},
|
|
455
|
-
"
|
|
444
|
+
"size": {
|
|
456
445
|
"type": "string",
|
|
457
|
-
"mutable":
|
|
446
|
+
"mutable": false,
|
|
458
447
|
"complexType": {
|
|
459
|
-
"original": "
|
|
460
|
-
"resolved": "\"
|
|
448
|
+
"original": "SizeTypes",
|
|
449
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
461
450
|
"references": {
|
|
462
|
-
"
|
|
451
|
+
"SizeTypes": {
|
|
463
452
|
"location": "import",
|
|
464
|
-
"path": "
|
|
453
|
+
"path": "@bcm/model"
|
|
465
454
|
}
|
|
466
455
|
}
|
|
467
456
|
},
|
|
@@ -471,16 +460,16 @@ export class BcmButton {
|
|
|
471
460
|
"tags": [],
|
|
472
461
|
"text": ""
|
|
473
462
|
},
|
|
474
|
-
"attribute": "
|
|
463
|
+
"attribute": "size",
|
|
475
464
|
"reflect": false,
|
|
476
|
-
"defaultValue": "Bcm.
|
|
465
|
+
"defaultValue": "Bcm.Size.medium"
|
|
477
466
|
},
|
|
478
|
-
"
|
|
479
|
-
"type": "
|
|
480
|
-
"mutable":
|
|
467
|
+
"disabled": {
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"mutable": false,
|
|
481
470
|
"complexType": {
|
|
482
|
-
"original": "
|
|
483
|
-
"resolved": "
|
|
471
|
+
"original": "boolean",
|
|
472
|
+
"resolved": "boolean",
|
|
484
473
|
"references": {}
|
|
485
474
|
},
|
|
486
475
|
"required": false,
|
|
@@ -489,12 +478,30 @@ export class BcmButton {
|
|
|
489
478
|
"tags": [],
|
|
490
479
|
"text": ""
|
|
491
480
|
},
|
|
492
|
-
"attribute": "
|
|
481
|
+
"attribute": "disabled",
|
|
482
|
+
"reflect": false,
|
|
483
|
+
"defaultValue": "false"
|
|
484
|
+
},
|
|
485
|
+
"kind": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"mutable": false,
|
|
488
|
+
"complexType": {
|
|
489
|
+
"original": "\"solid\" | \"ghost\"",
|
|
490
|
+
"resolved": "\"ghost\" | \"solid\"",
|
|
491
|
+
"references": {}
|
|
492
|
+
},
|
|
493
|
+
"required": false,
|
|
494
|
+
"optional": false,
|
|
495
|
+
"docs": {
|
|
496
|
+
"tags": [],
|
|
497
|
+
"text": ""
|
|
498
|
+
},
|
|
499
|
+
"attribute": "kind",
|
|
493
500
|
"reflect": false
|
|
494
501
|
},
|
|
495
|
-
"
|
|
502
|
+
"outline": {
|
|
496
503
|
"type": "boolean",
|
|
497
|
-
"mutable":
|
|
504
|
+
"mutable": false,
|
|
498
505
|
"complexType": {
|
|
499
506
|
"original": "boolean",
|
|
500
507
|
"resolved": "boolean",
|
|
@@ -506,14 +513,140 @@ export class BcmButton {
|
|
|
506
513
|
"tags": [],
|
|
507
514
|
"text": ""
|
|
508
515
|
},
|
|
509
|
-
"attribute": "
|
|
516
|
+
"attribute": "outline",
|
|
517
|
+
"reflect": false,
|
|
518
|
+
"defaultValue": "false"
|
|
519
|
+
},
|
|
520
|
+
"filled": {
|
|
521
|
+
"type": "boolean",
|
|
522
|
+
"mutable": false,
|
|
523
|
+
"complexType": {
|
|
524
|
+
"original": "boolean",
|
|
525
|
+
"resolved": "boolean",
|
|
526
|
+
"references": {}
|
|
527
|
+
},
|
|
528
|
+
"required": false,
|
|
529
|
+
"optional": false,
|
|
530
|
+
"docs": {
|
|
531
|
+
"tags": [],
|
|
532
|
+
"text": ""
|
|
533
|
+
},
|
|
534
|
+
"attribute": "filled",
|
|
535
|
+
"reflect": false,
|
|
536
|
+
"defaultValue": "true"
|
|
537
|
+
},
|
|
538
|
+
"icon": {
|
|
539
|
+
"type": "string",
|
|
540
|
+
"mutable": false,
|
|
541
|
+
"complexType": {
|
|
542
|
+
"original": "string",
|
|
543
|
+
"resolved": "string",
|
|
544
|
+
"references": {}
|
|
545
|
+
},
|
|
546
|
+
"required": false,
|
|
547
|
+
"optional": false,
|
|
548
|
+
"docs": {
|
|
549
|
+
"tags": [],
|
|
550
|
+
"text": ""
|
|
551
|
+
},
|
|
552
|
+
"attribute": "icon",
|
|
553
|
+
"reflect": false
|
|
554
|
+
},
|
|
555
|
+
"loading": {
|
|
556
|
+
"type": "boolean",
|
|
557
|
+
"mutable": false,
|
|
558
|
+
"complexType": {
|
|
559
|
+
"original": "boolean",
|
|
560
|
+
"resolved": "boolean",
|
|
561
|
+
"references": {}
|
|
562
|
+
},
|
|
563
|
+
"required": false,
|
|
564
|
+
"optional": false,
|
|
565
|
+
"docs": {
|
|
566
|
+
"tags": [],
|
|
567
|
+
"text": ""
|
|
568
|
+
},
|
|
569
|
+
"attribute": "loading",
|
|
510
570
|
"reflect": false,
|
|
511
571
|
"defaultValue": "false"
|
|
572
|
+
},
|
|
573
|
+
"text": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"mutable": false,
|
|
576
|
+
"complexType": {
|
|
577
|
+
"original": "string",
|
|
578
|
+
"resolved": "string",
|
|
579
|
+
"references": {}
|
|
580
|
+
},
|
|
581
|
+
"required": false,
|
|
582
|
+
"optional": false,
|
|
583
|
+
"docs": {
|
|
584
|
+
"tags": [],
|
|
585
|
+
"text": ""
|
|
586
|
+
},
|
|
587
|
+
"attribute": "text",
|
|
588
|
+
"reflect": false
|
|
589
|
+
},
|
|
590
|
+
"fullWidth": {
|
|
591
|
+
"type": "boolean",
|
|
592
|
+
"mutable": false,
|
|
593
|
+
"complexType": {
|
|
594
|
+
"original": "boolean",
|
|
595
|
+
"resolved": "boolean",
|
|
596
|
+
"references": {}
|
|
597
|
+
},
|
|
598
|
+
"required": false,
|
|
599
|
+
"optional": false,
|
|
600
|
+
"docs": {
|
|
601
|
+
"tags": [],
|
|
602
|
+
"text": ""
|
|
603
|
+
},
|
|
604
|
+
"attribute": "full-width",
|
|
605
|
+
"reflect": false,
|
|
606
|
+
"defaultValue": "false"
|
|
607
|
+
},
|
|
608
|
+
"iconPosition": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"mutable": false,
|
|
611
|
+
"complexType": {
|
|
612
|
+
"original": "IconPositionTypes",
|
|
613
|
+
"resolved": "\"prefix\" | \"suffix\"",
|
|
614
|
+
"references": {
|
|
615
|
+
"IconPositionTypes": {
|
|
616
|
+
"location": "import",
|
|
617
|
+
"path": "@bcm/model"
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"required": false,
|
|
622
|
+
"optional": false,
|
|
623
|
+
"docs": {
|
|
624
|
+
"tags": [],
|
|
625
|
+
"text": ""
|
|
626
|
+
},
|
|
627
|
+
"attribute": "icon-position",
|
|
628
|
+
"reflect": false,
|
|
629
|
+
"defaultValue": "Bcm.IconPosition.prefix"
|
|
512
630
|
}
|
|
513
631
|
};
|
|
514
632
|
}
|
|
515
633
|
static get events() {
|
|
516
634
|
return [{
|
|
635
|
+
"method": "bcmButtonClick",
|
|
636
|
+
"name": "bcm-button-click",
|
|
637
|
+
"bubbles": true,
|
|
638
|
+
"cancelable": true,
|
|
639
|
+
"composed": true,
|
|
640
|
+
"docs": {
|
|
641
|
+
"tags": [],
|
|
642
|
+
"text": "This is the button click event."
|
|
643
|
+
},
|
|
644
|
+
"complexType": {
|
|
645
|
+
"original": "any",
|
|
646
|
+
"resolved": "any",
|
|
647
|
+
"references": {}
|
|
648
|
+
}
|
|
649
|
+
}, {
|
|
517
650
|
"method": "bcmClick",
|
|
518
651
|
"name": "bcm-click",
|
|
519
652
|
"bubbles": true,
|
|
@@ -521,7 +654,7 @@ export class BcmButton {
|
|
|
521
654
|
"composed": true,
|
|
522
655
|
"docs": {
|
|
523
656
|
"tags": [],
|
|
524
|
-
"text": ""
|
|
657
|
+
"text": "This is the click event."
|
|
525
658
|
},
|
|
526
659
|
"complexType": {
|
|
527
660
|
"original": "any",
|
|
@@ -531,15 +664,6 @@ export class BcmButton {
|
|
|
531
664
|
}];
|
|
532
665
|
}
|
|
533
666
|
static get elementRef() { return "el"; }
|
|
534
|
-
static get listeners() {
|
|
535
|
-
return [{
|
|
536
|
-
"name": "click",
|
|
537
|
-
"method": "handleOnClick",
|
|
538
|
-
"target": undefined,
|
|
539
|
-
"capture": true,
|
|
540
|
-
"passive": false
|
|
541
|
-
}];
|
|
542
|
-
}
|
|
543
667
|
}
|
|
544
668
|
__decorate([
|
|
545
669
|
IsLoad()
|