bromcom-ui 2.8.0-rc.10-h → 2.8.0-rc.10
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/index.ts +1 -0
- package/dist/bromcom-ui/global/helper/toast.ts +136 -0
- package/dist/bromcom-ui/p-01832535.entry.js +5 -0
- package/dist/bromcom-ui/p-04aac882.js +5 -0
- package/dist/bromcom-ui/{p-00a0bbb0.entry.js → p-04d4c6e7.entry.js} +1 -1
- package/dist/bromcom-ui/p-08372949.entry.js +5 -0
- package/dist/bromcom-ui/{p-213fa01f.js → p-09d8a268.js} +1 -1
- package/dist/bromcom-ui/{p-3bf3f141.entry.js → p-0a16fcfa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-20ecbc71.entry.js → p-0b663779.entry.js} +1 -1
- package/dist/bromcom-ui/p-0d7fcdef.entry.js +5 -0
- package/dist/bromcom-ui/p-1351e665.entry.js +5 -0
- package/dist/bromcom-ui/{p-d5f9c429.entry.js → p-14a0a646.entry.js} +1 -1
- package/dist/bromcom-ui/p-16cb2d3d.entry.js +5 -0
- package/dist/bromcom-ui/p-175a2b31.entry.js +5 -0
- package/dist/bromcom-ui/p-21c41833.entry.js +5 -0
- package/dist/bromcom-ui/{p-19769caf.entry.js → p-221448f8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d02b6aa2.js → p-24aefda6.js} +1 -1
- package/dist/bromcom-ui/{p-fe8f6043.entry.js → p-31226526.entry.js} +1 -1
- package/dist/bromcom-ui/p-31d72d3e.entry.js +5 -0
- package/dist/bromcom-ui/p-36b364af.entry.js +5 -0
- package/dist/bromcom-ui/p-37e672f8.entry.js +5 -0
- package/dist/bromcom-ui/{p-4f77fafe.entry.js → p-39eda493.entry.js} +1 -1
- package/dist/bromcom-ui/p-3c1bd5fd.entry.js +5 -0
- package/dist/bromcom-ui/p-3fcbf33c.entry.js +10 -0
- package/dist/bromcom-ui/p-42645311.entry.js +5 -0
- package/dist/bromcom-ui/p-4701df7c.entry.js +5 -0
- package/dist/bromcom-ui/p-4aa0e6b1.js +5 -0
- package/dist/bromcom-ui/p-4fb0b07a.entry.js +5 -0
- package/dist/bromcom-ui/{p-d10a20eb.entry.js → p-4fcf03c1.entry.js} +1 -1
- package/dist/bromcom-ui/p-52953d34.entry.js +5 -0
- package/dist/bromcom-ui/{p-da1aa726.entry.js → p-533cb826.entry.js} +1 -1
- package/dist/bromcom-ui/p-5374828c.js +5 -0
- package/dist/bromcom-ui/p-5432f9e0.entry.js +5 -0
- package/dist/bromcom-ui/p-5a464d76.entry.js +5 -0
- package/dist/bromcom-ui/p-5c059eba.entry.js +5 -0
- package/dist/bromcom-ui/p-5c5db6d2.entry.js +5 -0
- package/dist/bromcom-ui/p-60aab0f0.entry.js +5 -0
- package/dist/bromcom-ui/{p-c89c3f46.entry.js → p-6b7a9d96.entry.js} +1 -1
- package/dist/bromcom-ui/p-6cc73d59.entry.js +5 -0
- package/dist/bromcom-ui/p-74540539.entry.js +5 -0
- package/dist/bromcom-ui/p-74970793.entry.js +5 -0
- package/dist/bromcom-ui/p-75887a27.entry.js +5 -0
- package/dist/bromcom-ui/{p-9d908441.js → p-76154996.js} +1 -1
- package/dist/bromcom-ui/p-774cc8c5.entry.js +5 -0
- package/dist/bromcom-ui/p-79fd816c.js +5 -0
- package/dist/bromcom-ui/p-7afeaca9.entry.js +5 -0
- package/dist/bromcom-ui/p-7f85ba54.entry.js +5 -0
- package/dist/bromcom-ui/p-82549604.entry.js +5 -0
- package/dist/bromcom-ui/p-843905c8.js +5 -0
- package/dist/bromcom-ui/p-8620b754.entry.js +5 -0
- package/dist/bromcom-ui/p-86dae775.entry.js +5 -0
- package/dist/bromcom-ui/p-88c0d54d.entry.js +5 -0
- package/dist/bromcom-ui/p-8c6057d0.entry.js +5 -0
- package/dist/bromcom-ui/{p-ea218e23.js → p-8d0ca8c2.js} +1 -1
- package/dist/bromcom-ui/{p-c7e245a3.entry.js → p-8e2540d8.entry.js} +1 -1
- package/dist/bromcom-ui/p-8fccd984.entry.js +5 -0
- package/dist/bromcom-ui/p-8fd8d750.entry.js +5 -0
- package/dist/bromcom-ui/p-91517b40.entry.js +5 -0
- package/dist/bromcom-ui/p-96d00dc7.entry.js +5 -0
- package/dist/bromcom-ui/{p-04e3d67d.entry.js → p-976f682f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-de1567c7.entry.js → p-97933e31.entry.js} +1 -1
- package/dist/bromcom-ui/p-9aa25453.entry.js +5 -0
- package/dist/bromcom-ui/p-9f6c06b3.entry.js +5 -0
- package/dist/bromcom-ui/{p-c9bd85e9.js → p-a429e85b.js} +1 -1
- package/dist/bromcom-ui/{p-19cd9e89.js → p-a51e8ad2.js} +1 -1
- package/dist/bromcom-ui/{p-4df600d5.js → p-a60a2dd0.js} +1 -1
- package/dist/bromcom-ui/p-a76148e1.entry.js +5 -0
- package/dist/bromcom-ui/p-a8ff8106.entry.js +5 -0
- package/dist/bromcom-ui/p-ab53518d.entry.js +5 -0
- package/dist/bromcom-ui/{p-e8d18848.js → p-b60bcecf.js} +1 -1
- package/dist/bromcom-ui/p-b6522bad.entry.js +5 -0
- package/dist/bromcom-ui/p-b93d2841.entry.js +5 -0
- package/dist/bromcom-ui/p-bb3ee847.entry.js +5 -0
- package/dist/bromcom-ui/p-bb5102ad.entry.js +5 -0
- package/dist/bromcom-ui/{p-33330368.entry.js → p-bc840f30.entry.js} +1 -1
- package/dist/bromcom-ui/p-bdae6fa2.entry.js +5 -0
- package/dist/bromcom-ui/p-be7a34ac.entry.js +5 -0
- package/dist/bromcom-ui/p-c23b6240.js +5 -0
- package/dist/bromcom-ui/p-c271533b.entry.js +5 -0
- package/dist/bromcom-ui/{p-ad9c9bdb.js → p-c834b5c2.js} +1 -1
- package/dist/bromcom-ui/{p-4371dc2d.entry.js → p-c85b8abc.entry.js} +1 -1
- package/dist/bromcom-ui/p-c8e13fd7.js +5 -0
- package/dist/bromcom-ui/{p-39b8a477.entry.js → p-d644b6d9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-35ea8fad.js → p-da1055cb.js} +1 -1
- package/dist/bromcom-ui/p-dafe02b6.entry.js +5 -0
- package/dist/bromcom-ui/{p-aaac4637.js → p-dbc4c30c.js} +1 -1
- package/dist/bromcom-ui/p-e0c548ea.entry.js +5 -0
- package/dist/bromcom-ui/{p-4f89942a.entry.js → p-e19e9dc1.entry.js} +1 -1
- package/dist/bromcom-ui/p-ec8cf4f0.entry.js +5 -0
- package/dist/bromcom-ui/p-ed026255.js +5 -0
- package/dist/bromcom-ui/p-eee421df.entry.js +5 -0
- package/dist/bromcom-ui/p-ef1b4760.entry.js +5 -0
- package/dist/bromcom-ui/p-f1c374c6.entry.js +5 -0
- package/dist/bromcom-ui/p-f4ce5b4e.entry.js +5 -0
- package/dist/bromcom-ui/{p-3f7e7354.entry.js → p-f8c20298.entry.js} +1 -1
- package/dist/bromcom-ui/p-f9f8c1c4.entry.js +5 -0
- package/dist/bromcom-ui/p-faed1c9e.entry.js +5 -0
- package/dist/bromcom-ui/p-fc784983.entry.js +5 -0
- package/dist/cjs/{bcm-2c51bf0c.js → bcm-634604e3.js} +1 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +5 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +7 -6
- package/dist/cjs/bcm-attendance.cjs.entry.js +7 -5
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +12 -11
- package/dist/cjs/bcm-box.cjs.entry.js +2 -2
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +4 -3
- package/dist/cjs/bcm-button-group.cjs.entry.js +7 -6
- package/dist/cjs/bcm-button_7.cjs.entry.js +1570 -0
- package/dist/cjs/bcm-card.cjs.entry.js +9 -8
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -5
- package/dist/cjs/bcm-chip.cjs.entry.js +7 -6
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +4 -3
- package/dist/cjs/bcm-color-input.cjs.entry.js +76 -0
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +17971 -0
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +11 -10
- package/dist/cjs/bcm-default.cjs.entry.js +5 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +10 -9
- package/dist/cjs/bcm-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +8 -7
- package/dist/cjs/bcm-form-2.cjs.entry.js +6 -5
- package/dist/cjs/bcm-form-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +73 -0
- package/dist/cjs/bcm-input.cjs.entry.js +41 -12
- package/dist/cjs/bcm-item.cjs.entry.js +7 -6
- package/dist/cjs/bcm-items.cjs.entry.js +6 -5
- package/dist/cjs/bcm-link.cjs.entry.js +5 -5
- package/dist/cjs/bcm-list.cjs.entry.js +33 -25
- package/dist/cjs/bcm-menu.cjs.entry.js +138 -0
- package/dist/cjs/bcm-message.cjs.entry.js +2 -2
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +50 -0
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +49 -0
- package/dist/cjs/bcm-modal-2.cjs.entry.js +172 -0
- package/dist/cjs/bcm-modal.cjs.entry.js +8 -7
- package/dist/cjs/bcm-notification.cjs.entry.js +2 -2
- package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
- 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 +6 -5
- package/dist/cjs/bcm-popover.cjs.entry.js +92 -42
- package/dist/cjs/bcm-progress.cjs.entry.js +7 -6
- package/dist/cjs/bcm-radio-group.cjs.entry.js +93 -210
- package/dist/cjs/bcm-radio.cjs.entry.js +37 -78
- package/dist/cjs/bcm-range.cjs.entry.js +6 -5
- package/dist/cjs/bcm-result.cjs.entry.js +2 -2
- package/dist/cjs/bcm-search.cjs.entry.js +21 -14
- 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 +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +10 -8
- package/dist/cjs/bcm-step.cjs.entry.js +6 -5
- package/dist/cjs/bcm-stepper.cjs.entry.js +42 -25
- package/dist/cjs/bcm-switch.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-group.cjs.entry.js +158 -114
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +87 -0
- package/dist/cjs/bcm-tab-item.cjs.entry.js +104 -0
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tabs.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tag.cjs.entry.js +7 -6
- package/dist/cjs/bcm-text.cjs.entry.js +8 -7
- package/dist/cjs/bcm-textarea.cjs.entry.js +10 -8
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-timeline.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +115 -0
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-typography.cjs.entry.js +35 -0
- package/dist/cjs/bromcom-ui.cjs.js +2 -2
- package/dist/cjs/{caption-template-1b6b0819.js → caption-template-8d099fd6.js} +1 -1
- package/dist/cjs/color-helper-d6d2028b.js +86 -0
- package/dist/cjs/{color-helper-d1cb7959.js → colors-e1d142ad.js} +4 -81
- package/dist/cjs/{floating-ui-ded9c11f.js → floating-ui-74eb26d6.js} +1 -1
- package/dist/cjs/{generate-24f01256.js → generate-d32dfcf9.js} +118 -16
- package/dist/cjs/{index-b6a28fdb.js → index-4506fcd7.js} +1 -1
- package/dist/cjs/{index-b4a2fb85.js → index-ddfd6d8f.js} +1 -1
- package/dist/cjs/input-template-272244eb.js +92 -0
- package/dist/cjs/{is-load-decorator-888172a8.js → is-load-decorator-137dded1.js} +1 -3
- package/dist/cjs/{json-parse-decarator-5049611b.js → json-parse-decarator-fe63bae0.js} +2 -2
- package/dist/cjs/{label-template-5d3d6f6c.js → label-template-cc69bc21.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{number-helper-5829e9a9.js → number-helper-8286f839.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +10 -9
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -4
- package/dist/cjs/{popover-placement-dd87671c.js → popover-placement-3c8f3a72.js} +1 -1
- package/dist/cjs/{slot-template-720b35b8.js → slot-template-3e59d7d8.js} +2 -2
- package/dist/cjs/{stepper-states-04642356.js → stepper-states-fd08aaf7.js} +3 -3
- package/dist/cjs/{string-helper-a54773f3.js → string-helper-45cffee0.js} +1 -1
- package/dist/cjs/tooltip-helper-ce53d70b.js +149 -0
- package/dist/cjs/{validators-07e09750.js → validators-53bfb47b.js} +1 -1
- package/dist/collection/collection-manifest.json +16 -5
- package/dist/collection/components/atoms/avatar/avatar.css +0 -250
- package/dist/collection/components/atoms/badge/badge.css +0 -250
- package/dist/collection/components/atoms/button/button.css +0 -250
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/chip/chip.css +0 -250
- package/dist/collection/components/atoms/chip/chip.js +1 -1
- package/dist/collection/components/atoms/label/label.css +0 -250
- package/dist/collection/components/atoms/link/link.css +0 -250
- package/dist/collection/components/atoms/link/link.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.css +0 -250
- package/dist/collection/components/molecules/card/card.css +0 -250
- package/dist/collection/components/molecules/checkbox/checkbox.css +1 -750
- package/dist/collection/components/molecules/checkbox/checkbox.js +1 -1
- package/dist/collection/components/molecules/color-input/color-input.js +206 -0
- package/dist/collection/components/molecules/colorful/colorful.css +497 -0
- package/dist/collection/components/molecules/colorful/colorful.js +72 -0
- package/dist/collection/components/molecules/drawer/drawer.css +0 -250
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -250
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -250
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -250
- package/dist/collection/components/molecules/input/input.css +3 -752
- package/dist/collection/components/molecules/input/input.js +31 -3
- package/dist/collection/components/molecules/item/item.css +0 -250
- package/dist/collection/components/molecules/linked/linked.js +87 -31
- package/dist/collection/components/molecules/menu/menu.css +0 -250
- package/dist/collection/components/molecules/menu/menu.js +1 -1
- package/dist/collection/components/molecules/modal/modal.css +0 -250
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -250
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +117 -12
- package/dist/collection/components/molecules/progress/progress.css +0 -250
- package/dist/collection/components/molecules/radio/{group.js → radio-group.js} +185 -247
- package/dist/collection/components/molecules/radio/radio.js +42 -132
- package/dist/collection/components/molecules/range/range.css +0 -250
- package/dist/collection/components/molecules/search/search.css +3 -752
- package/dist/collection/components/molecules/search/search.js +21 -2
- package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
- package/dist/collection/components/molecules/states/search.states.js +12 -7
- package/dist/collection/components/molecules/stepper/stepper.css +0 -250
- package/dist/collection/components/molecules/stepper/stepper.js +33 -26
- package/dist/collection/components/molecules/switch/switch.css +0 -750
- package/dist/collection/components/molecules/switch/switch.js +1 -1
- package/dist/collection/components/molecules/tab-group/tab-group.js +177 -114
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +186 -0
- package/dist/collection/components/molecules/tab-group/tab-item.js +161 -0
- package/dist/collection/components/molecules/textarea/textarea.css +3 -752
- package/dist/collection/components/molecules/textarea/textarea.js +2 -1
- package/dist/collection/components/molecules/tooltip/tooltip.js +143 -10
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -750
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/organism/form/form.js +1 -1
- package/dist/collection/components/organism/list/list.css +1 -1000
- package/dist/collection/components/organism/list/list.js +21 -2
- package/dist/collection/components/other/attendance/attendance.css +0 -250
- package/dist/collection/components/other/attendance/attendance.js +1 -1
- package/dist/collection/components/other/input-custom/input-custom.js +249 -0
- package/dist/collection/components/other/modal-2/modal-2-footer.js +54 -0
- package/dist/collection/components/other/modal-2/modal-2-header.js +53 -0
- package/dist/collection/components/other/modal-2/modal-2.js +450 -0
- 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 +365 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -750
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -250
- package/dist/collection/components/other_deprecated/select/select.js +1 -1
- package/dist/collection/components/other_deprecated/tabs/tab.css +0 -250
- package/dist/collection/components/other_deprecated/text/text.css +0 -250
- package/dist/collection/decorators/is-load-decorator.js +0 -2
- package/dist/collection/global/components/_checkbox.css +1 -250
- package/dist/collection/global/helper/index.js +5 -0
- package/dist/collection/global/helper/index.ts +1 -0
- package/dist/collection/global/helper/toast.js +114 -0
- package/dist/collection/global/helper/toast.ts +136 -0
- package/dist/collection/helper/generate.js +120 -19
- package/dist/collection/helper/popover-helper.js +57 -29
- package/dist/collection/helper/tooltip-helper.js +69 -26
- package/dist/collection/models/bcm.js +1 -0
- package/dist/collection/stories/assets/button/1.svg +35 -0
- package/dist/collection/stories/assets/button/10.svg +24 -0
- package/dist/collection/stories/assets/button/11.svg +24 -0
- package/dist/collection/stories/assets/button/12.svg +24 -0
- package/dist/collection/stories/assets/button/2.svg +28 -0
- package/dist/collection/stories/assets/button/3.svg +41 -0
- package/dist/collection/stories/assets/button/4.svg +9 -0
- package/dist/collection/stories/assets/button/5.svg +65 -0
- package/dist/collection/stories/assets/button/6.svg +68 -0
- package/dist/collection/stories/assets/button/7.svg +203 -0
- package/dist/collection/stories/assets/button/8.svg +316 -0
- package/dist/collection/stories/assets/button/9.svg +9 -0
- package/dist/collection/templates/button-template.js +1 -1
- package/dist/collection/templates/input-template.js +30 -29
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +10 -4
- package/dist/collection/templates/tag-template.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bcm-attendance.js +2 -2
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-card.js +1 -1
- package/dist/components/bcm-chip.js +2 -2
- package/dist/components/bcm-color-input.d.ts +11 -0
- package/dist/components/bcm-color-input.js +129 -0
- package/dist/components/bcm-colorful.d.ts +11 -0
- package/dist/components/bcm-colorful.js +10 -0
- package/dist/components/bcm-drawer.js +1 -1
- package/dist/components/bcm-dropdown.js +1 -1
- package/dist/components/bcm-error-layout.js +1 -1
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-form.js +1 -1
- package/dist/components/bcm-input-custom.d.ts +11 -0
- package/dist/components/bcm-input-custom.js +114 -0
- package/dist/components/bcm-input.js +1 -411
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-list.js +18 -10
- package/dist/components/bcm-modal-2-footer.d.ts +11 -0
- package/dist/components/bcm-modal-2-footer.js +60 -0
- package/dist/components/bcm-modal-2-header.d.ts +11 -0
- package/dist/components/bcm-modal-2-header.js +59 -0
- package/dist/components/bcm-modal-2.d.ts +11 -0
- package/dist/components/bcm-modal-2.js +207 -0
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-overlay.d.ts +11 -0
- package/dist/components/bcm-overlay.js +10 -0
- package/dist/components/bcm-popconfirm.js +1 -1
- package/dist/components/bcm-popover.js +86 -33
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +103 -228
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-scroll-area.d.ts +11 -0
- package/dist/components/bcm-scroll-area.js +10 -0
- package/dist/components/bcm-select.js +1 -1
- package/dist/components/bcm-stepper.js +34 -26
- package/dist/components/bcm-switch.js +2 -2
- package/dist/components/bcm-tab-group.js +154 -112
- package/dist/components/bcm-tab-item-header.d.ts +11 -0
- package/dist/components/bcm-tab-item-header.js +102 -0
- package/dist/components/bcm-tab-item.d.ts +11 -0
- package/dist/components/bcm-tab-item.js +117 -0
- package/dist/components/bcm-tab.js +2 -2
- package/dist/components/bcm-tabs-content.js +1 -1
- package/dist/components/bcm-tabs.js +1 -1
- package/dist/components/bcm-tag.js +1 -1
- package/dist/components/bcm-textarea.js +3 -2
- package/dist/components/bcm-toast.d.ts +11 -0
- package/dist/components/bcm-toast.js +140 -0
- package/dist/components/bcm.js +1 -0
- package/dist/components/button.js +3 -3
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/color-helper.js +8 -434
- package/dist/components/colorful.js +17768 -0
- package/dist/components/colors2.js +433 -0
- package/dist/components/datetime-picker.js +2 -2
- package/dist/components/generate.js +117 -16
- package/dist/components/index.d.ts +16 -5
- package/dist/components/index.js +11 -0
- package/dist/components/input-template.js +46 -53
- package/dist/components/input.js +457 -0
- package/dist/components/is-load-decorator.js +0 -2
- package/dist/components/label.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/linked.js +62 -29
- package/dist/components/menu.js +2 -2
- package/dist/components/old-input.js +1 -1
- package/dist/components/old-popover-box.js +1 -1
- package/dist/components/overlay.js +47 -0
- package/dist/components/popconfirm-box.js +1 -1
- package/dist/components/radio.js +38 -82
- package/dist/components/scroll-area.js +40 -0
- package/dist/components/search.js +13 -6
- package/dist/components/skeleton.js +5 -5
- package/dist/components/text.js +1 -1
- package/dist/components/tooltip-helper.js +68 -24
- package/dist/components/tooltip.js +35 -5
- package/dist/components/types.js +14 -27
- package/dist/components/types2.js +25 -25
- package/dist/components/types3.js +32 -0
- package/dist/esm/{bcm-b8d8a236.js → bcm-9f50af9c.js} +1 -0
- package/dist/esm/bcm-accordion.entry.js +5 -3
- package/dist/esm/bcm-alert.entry.js +7 -6
- package/dist/esm/bcm-attendance.entry.js +7 -5
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +12 -11
- package/dist/esm/bcm-box.entry.js +2 -2
- package/dist/esm/bcm-breadcrumb.entry.js +4 -3
- package/dist/esm/bcm-button-group.entry.js +7 -6
- package/dist/esm/bcm-button_7.entry.js +1560 -0
- package/dist/esm/bcm-card.entry.js +9 -8
- package/dist/esm/bcm-checkbox-lite_9.entry.js +6 -5
- package/dist/esm/bcm-chip.entry.js +7 -6
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +4 -3
- package/dist/esm/bcm-color-input.entry.js +72 -0
- package/dist/esm/bcm-colorful_2.entry.js +17966 -0
- package/dist/esm/bcm-colorpicker.entry.js +2 -2
- package/dist/esm/bcm-date-picker.entry.js +5 -4
- package/dist/esm/bcm-datetime-picker.entry.js +11 -10
- package/dist/esm/bcm-default.entry.js +5 -3
- package/dist/esm/bcm-drawer.entry.js +10 -9
- package/dist/esm/bcm-dropdown.entry.js +7 -6
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +8 -7
- package/dist/esm/bcm-form-2.entry.js +6 -5
- package/dist/esm/bcm-form-group.entry.js +2 -2
- package/dist/esm/bcm-input-custom.entry.js +69 -0
- package/dist/esm/bcm-input.entry.js +41 -12
- package/dist/esm/bcm-item.entry.js +7 -6
- package/dist/esm/bcm-items.entry.js +6 -5
- package/dist/esm/bcm-link.entry.js +5 -5
- package/dist/esm/bcm-list.entry.js +33 -25
- package/dist/esm/bcm-menu.entry.js +134 -0
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal-2-footer.entry.js +46 -0
- package/dist/esm/bcm-modal-2-header.entry.js +45 -0
- package/dist/esm/bcm-modal-2.entry.js +168 -0
- package/dist/esm/bcm-modal.entry.js +8 -7
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-old-input.entry.js +4 -4
- package/dist/esm/bcm-old-tag_2.entry.js +2 -2
- package/dist/esm/bcm-overlay_2.entry.js +43 -0
- package/dist/esm/bcm-popconfirm-box.entry.js +9 -8
- package/dist/esm/bcm-popconfirm.entry.js +6 -5
- package/dist/esm/bcm-popover.entry.js +92 -42
- package/dist/esm/bcm-progress.entry.js +7 -6
- package/dist/esm/bcm-radio-group.entry.js +89 -206
- package/dist/esm/bcm-radio.entry.js +36 -77
- package/dist/esm/bcm-range.entry.js +6 -5
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-search.entry.js +21 -14
- package/dist/esm/bcm-select-group.entry.js +1 -1
- package/dist/esm/bcm-select-option.entry.js +1 -1
- package/dist/esm/bcm-select.entry.js +5 -5
- package/dist/esm/bcm-skeleton.entry.js +10 -8
- package/dist/esm/bcm-step.entry.js +6 -5
- package/dist/esm/bcm-stepper.entry.js +40 -23
- package/dist/esm/bcm-switch.entry.js +8 -7
- package/dist/esm/bcm-tab-group.entry.js +156 -112
- package/dist/esm/bcm-tab-item-header.entry.js +83 -0
- package/dist/esm/bcm-tab-item.entry.js +100 -0
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +2 -2
- package/dist/esm/bcm-tabs-content.entry.js +2 -2
- package/dist/esm/bcm-tabs.entry.js +2 -2
- package/dist/esm/bcm-tag.entry.js +7 -6
- package/dist/esm/bcm-text.entry.js +8 -7
- package/dist/esm/bcm-textarea.entry.js +10 -8
- package/dist/esm/bcm-time-picker.entry.js +5 -4
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +111 -0
- 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-ced0e2ef.js → caption-template-da16ba7b.js} +1 -1
- package/dist/esm/color-helper-e8ce23d7.js +84 -0
- package/dist/esm/{color-helper-cb1cfc1e.js → colors-44c95e7e.js} +4 -81
- package/dist/esm/{floating-ui-54c1f339.js → floating-ui-e7341329.js} +1 -1
- package/dist/esm/{generate-ffcc7e3a.js → generate-c1a5001c.js} +118 -16
- package/dist/esm/{index-85cce099.js → index-39133086.js} +1 -1
- package/dist/esm/{index-0f68d8f0.js → index-93e36fdb.js} +1 -1
- package/dist/esm/input-template-61daf88f.js +90 -0
- package/dist/esm/{is-load-decorator-87c09179.js → is-load-decorator-bc14ec4b.js} +1 -3
- package/dist/esm/{json-parse-decarator-64166384.js → json-parse-decarator-f6c2451e.js} +2 -2
- package/dist/esm/{label-template-4f474794.js → label-template-d74fe788.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-8e72bacd.js → number-helper-72dfe745.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -9
- package/dist/esm/old-bcm-popover.entry.js +5 -4
- package/dist/esm/{popover-placement-0e158c8b.js → popover-placement-78f86f15.js} +1 -1
- package/dist/esm/{slot-template-97e4665e.js → slot-template-5b2db362.js} +2 -2
- package/dist/esm/{stepper-states-96090572.js → stepper-states-7876bdf9.js} +3 -3
- package/dist/esm/{string-helper-8793366d.js → string-helper-6bd24967.js} +1 -1
- package/dist/esm/tooltip-helper-45e5fc94.js +147 -0
- package/dist/esm/{validators-c7341d67.js → validators-5197f61b.js} +1 -1
- package/dist/types/components/molecules/color-input/color-input.d.ts +20 -0
- package/dist/types/components/molecules/colorful/colorful.d.ts +8 -0
- package/dist/types/components/molecules/input/input.d.ts +4 -1
- package/dist/types/components/molecules/linked/linked.d.ts +10 -3
- package/dist/types/components/molecules/popover/popover.d.ts +12 -3
- package/dist/types/components/molecules/radio/{group.d.ts → radio-group.d.ts} +22 -27
- package/dist/types/components/molecules/radio/radio.d.ts +5 -11
- package/dist/types/components/molecules/search/search.d.ts +1 -0
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/molecules/states/search.states.d.ts +1 -1
- package/dist/types/components/molecules/stepper/stepper.d.ts +2 -2
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +15 -6
- package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +13 -0
- package/dist/types/components/molecules/tab-group/tab-item.d.ts +17 -0
- package/dist/types/components/molecules/textarea/textarea.d.ts +1 -1
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +13 -3
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/other/input-custom/input-custom.d.ts +20 -0
- package/dist/types/components/other/modal-2/modal-2-footer.d.ts +7 -0
- package/dist/types/components/other/modal-2/modal-2-header.d.ts +7 -0
- package/dist/types/components/other/modal-2/modal-2.d.ts +33 -0
- 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/other/toast/toast.d.ts +25 -0
- package/dist/types/components.d.ts +339 -41
- package/dist/types/global/helper/index.d.ts +1 -0
- package/dist/types/global/helper/toast.d.ts +96 -0
- package/dist/types/helper/generate.d.ts +3 -0
- package/dist/types/helper/popover-helper.d.ts +13 -3
- package/dist/types/helper/tooltip-helper.d.ts +16 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/bcm.d.ts +2 -1
- package/dist/types/templates/input-template.d.ts +5 -3
- package/dist/types/templates/list-template.d.ts +1 -0
- package/helper/index.d.ts +2 -0
- package/helper/index.d.ts.map +1 -0
- package/helper/index.js +17 -0
- package/helper/toast.d.ts +97 -0
- package/helper/toast.d.ts.map +1 -0
- package/helper/toast.js +115 -0
- package/package.json +30 -19
- package/dist/bromcom-ui/p-0a9b2124.entry.js +0 -5
- package/dist/bromcom-ui/p-0e3e135f.entry.js +0 -5
- package/dist/bromcom-ui/p-0e77d1f3.entry.js +0 -5
- package/dist/bromcom-ui/p-0f9c9047.entry.js +0 -5
- package/dist/bromcom-ui/p-12da638d.entry.js +0 -5
- package/dist/bromcom-ui/p-14b1b4b2.entry.js +0 -5
- package/dist/bromcom-ui/p-1845582b.entry.js +0 -5
- package/dist/bromcom-ui/p-1c09af4f.js +0 -5
- package/dist/bromcom-ui/p-1de5af32.entry.js +0 -5
- package/dist/bromcom-ui/p-1f4d9b1f.entry.js +0 -5
- package/dist/bromcom-ui/p-231bff46.entry.js +0 -5
- package/dist/bromcom-ui/p-251629c7.entry.js +0 -5
- package/dist/bromcom-ui/p-38dc893a.entry.js +0 -5
- package/dist/bromcom-ui/p-3edd3360.js +0 -5
- package/dist/bromcom-ui/p-400ec1f7.entry.js +0 -5
- package/dist/bromcom-ui/p-4067c2e0.entry.js +0 -5
- package/dist/bromcom-ui/p-421cd232.js +0 -5
- package/dist/bromcom-ui/p-4260a393.entry.js +0 -5
- package/dist/bromcom-ui/p-44236a8b.entry.js +0 -5
- package/dist/bromcom-ui/p-46a546fb.entry.js +0 -5
- package/dist/bromcom-ui/p-4a9005ec.entry.js +0 -5
- package/dist/bromcom-ui/p-529c955c.js +0 -5
- package/dist/bromcom-ui/p-5546b28e.entry.js +0 -5
- package/dist/bromcom-ui/p-596611eb.entry.js +0 -5
- package/dist/bromcom-ui/p-63f90701.entry.js +0 -5
- package/dist/bromcom-ui/p-65c4ae21.entry.js +0 -5
- package/dist/bromcom-ui/p-685b892c.js +0 -5
- package/dist/bromcom-ui/p-6b748546.entry.js +0 -5
- package/dist/bromcom-ui/p-724f5a0b.entry.js +0 -5
- package/dist/bromcom-ui/p-78d82111.js +0 -5
- package/dist/bromcom-ui/p-7d3ed6cb.entry.js +0 -5
- package/dist/bromcom-ui/p-7dabd101.entry.js +0 -5
- package/dist/bromcom-ui/p-81b62ce8.entry.js +0 -5
- package/dist/bromcom-ui/p-88062515.entry.js +0 -5
- package/dist/bromcom-ui/p-961cab35.entry.js +0 -5
- package/dist/bromcom-ui/p-9aa699c1.entry.js +0 -5
- package/dist/bromcom-ui/p-9f95f24f.entry.js +0 -5
- package/dist/bromcom-ui/p-a051162a.entry.js +0 -5
- package/dist/bromcom-ui/p-a35fc9d4.entry.js +0 -5
- package/dist/bromcom-ui/p-b4a3871f.entry.js +0 -5
- package/dist/bromcom-ui/p-bb7760d7.entry.js +0 -5
- package/dist/bromcom-ui/p-bdeb220d.entry.js +0 -5
- package/dist/bromcom-ui/p-c09a1784.entry.js +0 -5
- package/dist/bromcom-ui/p-c0ba4ab5.entry.js +0 -5
- package/dist/bromcom-ui/p-c12555c7.entry.js +0 -5
- package/dist/bromcom-ui/p-c7bfb126.js +0 -5
- package/dist/bromcom-ui/p-d0bfb53b.entry.js +0 -5
- package/dist/bromcom-ui/p-d68d4ce0.entry.js +0 -5
- package/dist/bromcom-ui/p-d7f06284.entry.js +0 -5
- package/dist/bromcom-ui/p-dd1c6c24.entry.js +0 -5
- package/dist/bromcom-ui/p-e1a323b8.entry.js +0 -5
- package/dist/bromcom-ui/p-e5724ed4.entry.js +0 -5
- package/dist/bromcom-ui/p-e5fee9dc.entry.js +0 -5
- package/dist/bromcom-ui/p-e8359a46.entry.js +0 -5
- package/dist/bromcom-ui/p-e8436609.entry.js +0 -5
- package/dist/bromcom-ui/p-eb0ab3d9.entry.js +0 -5
- package/dist/bromcom-ui/p-f8864d6e.entry.js +0 -5
- package/dist/bromcom-ui/p-f8b43cb2.entry.js +0 -5
- package/dist/bromcom-ui/p-f8eb60b6.entry.js +0 -5
- package/dist/bromcom-ui/p-ffdc7a09.entry.js +0 -5
- package/dist/cjs/bcm-button.cjs.entry.js +0 -384
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -205
- package/dist/cjs/bcm-form.cjs.entry.js +0 -487
- package/dist/cjs/bcm-icon.cjs.entry.js +0 -41
- package/dist/cjs/bcm-label_2.cjs.entry.js +0 -122
- package/dist/cjs/bcm-linked_2.cjs.entry.js +0 -308
- package/dist/cjs/input-template-657a8fc1.js +0 -86
- package/dist/cjs/tooltip-helper-6c8bfde7.js +0 -105
- package/dist/collection/components/molecules/radio/group.css +0 -798
- package/dist/collection/components/molecules/radio/radio.css +0 -1280
- package/dist/collection/components/molecules/radio/types.js +0 -30
- package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
- package/dist/esm/bcm-button.entry.js +0 -380
- package/dist/esm/bcm-checkbox-group.entry.js +0 -411
- package/dist/esm/bcm-checkbox_2.entry.js +0 -200
- package/dist/esm/bcm-form.entry.js +0 -483
- package/dist/esm/bcm-icon.entry.js +0 -37
- package/dist/esm/bcm-label_2.entry.js +0 -117
- package/dist/esm/bcm-linked_2.entry.js +0 -303
- package/dist/esm/input-template-7aaafa99.js +0 -84
- package/dist/esm/tooltip-helper-f58d482d.js +0 -103
- package/dist/types/components/molecules/radio/types.d.ts +0 -29
- package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
- /package/dist/bromcom-ui/{p-5fd7a8b6.js → p-2e73d572.js} +0 -0
- /package/dist/cjs/{types-6eb7e028.js → types-7523fd99.js} +0 -0
- /package/dist/collection/components/{atoms → other}/box/box.js +0 -0
- /package/dist/collection/components/{atoms → other}/typography/typography.js +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/colorpicker.css +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/colorpicker.js +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/chess.png +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/color.svg +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/colors.svg +0 -0
- /package/dist/collection/components/{atoms → other_deprecated}/tag/tag.js +0 -0
- /package/dist/collection/components/{atoms → other_deprecated}/tag/types.js +0 -0
- /package/dist/esm/{types-bfc3bba1.js → types-9493a7ed.js} +0 -0
- /package/dist/types/components/{atoms → other}/box/box.d.ts +0 -0
- /package/dist/types/components/{atoms → other}/typography/typography.d.ts +0 -0
- /package/dist/types/components/{organism → other_deprecated}/colorpicker/colorpicker.d.ts +0 -0
- /package/dist/types/components/{atoms → other_deprecated}/tag/tag.d.ts +0 -0
- /package/dist/types/components/{atoms → other_deprecated}/tag/types.d.ts +0 -0
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
else
|
|
10
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
11
|
+
if (d = decorators[i])
|
|
12
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
|
+
};
|
|
15
|
+
import { IsLoad } from "@bcm/decorator";
|
|
16
|
+
import { Generate } from "@bcm/helpers";
|
|
17
|
+
import { Bcm } from "@bcm/model";
|
|
18
|
+
import { delay } from "@bcm/utils";
|
|
19
|
+
import { Host, h } from "@stencil/core";
|
|
20
|
+
import cs from "classnames";
|
|
21
|
+
export class BcmModal2 {
|
|
22
|
+
constructor() {
|
|
23
|
+
this._id = Generate.UID();
|
|
24
|
+
this.isShow = false;
|
|
25
|
+
this.center = false;
|
|
26
|
+
this.zIndex = "10400";
|
|
27
|
+
this.size = Bcm.Size.medium;
|
|
28
|
+
this.backdrop = true;
|
|
29
|
+
this.fullWidth = false;
|
|
30
|
+
this.fullScreen = false;
|
|
31
|
+
this.overflow = true;
|
|
32
|
+
this.isShowModal = false;
|
|
33
|
+
this.shake = false;
|
|
34
|
+
}
|
|
35
|
+
// Listen to the click event on the component and its children
|
|
36
|
+
handleClick(e) {
|
|
37
|
+
// Check if the click event is triggered on a child element with "data-dismiss" attribute
|
|
38
|
+
const dismiss = Generate.findEventPathHasAttribute(e, "data-dismiss");
|
|
39
|
+
// Check if the click event is triggered on the overlay element and backdrop is "static"
|
|
40
|
+
const target = e.target;
|
|
41
|
+
const isClickOverlay = target.attributes.getNamedItem("is-click-overlay");
|
|
42
|
+
if (isClickOverlay && this.backdrop === "static") {
|
|
43
|
+
// Shake the modal if the overlay is clicked and backdrop is "static"
|
|
44
|
+
this.shakeModal();
|
|
45
|
+
}
|
|
46
|
+
else if (dismiss || isClickOverlay) {
|
|
47
|
+
// Hide the modal if the "data-dismiss" element is clicked
|
|
48
|
+
this.hide();
|
|
49
|
+
e.preventDefault();
|
|
50
|
+
e.stopPropagation();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
// Listen to the keydown event on the document element
|
|
54
|
+
handleKeyDown(ev) {
|
|
55
|
+
// Get the top modal in the DOM with "is-show" attribute
|
|
56
|
+
const topModal = Array.from(document.querySelectorAll("bcm-modal-2[is-show]")).pop();
|
|
57
|
+
if (topModal !== this.el) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
if (ev.key === "Escape") {
|
|
61
|
+
if (this.backdrop === "static") {
|
|
62
|
+
// Shake the modal if the backdrop is "static" and Escape key is pressed
|
|
63
|
+
this.shakeModal();
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
// Hide the modal if Escape key is pressed
|
|
67
|
+
this.hide();
|
|
68
|
+
}
|
|
69
|
+
ev.preventDefault();
|
|
70
|
+
ev.stopPropagation();
|
|
71
|
+
ev.stopImmediatePropagation();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
// Shake the modal by toggling "shake" state
|
|
75
|
+
shakeModal() {
|
|
76
|
+
this.shake = true;
|
|
77
|
+
setTimeout(() => (this.shake = false), 300);
|
|
78
|
+
}
|
|
79
|
+
// Hide the modal by emitting "bcm-modal-before-close" event
|
|
80
|
+
async hide() {
|
|
81
|
+
this.modalBeforeClose.emit();
|
|
82
|
+
}
|
|
83
|
+
// Listen to "bcm-modal-before-close" event and hide the modal if defaultPrevented is not set
|
|
84
|
+
async hideModal(e) {
|
|
85
|
+
if (e.defaultPrevented) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (e.target === this.el) {
|
|
89
|
+
this.isShowModal = false;
|
|
90
|
+
await delay(150);
|
|
91
|
+
this.isShow = false;
|
|
92
|
+
this.modalClose.emit();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// Show the modal by emitting "bcm-modal-before-open" event
|
|
96
|
+
async show() {
|
|
97
|
+
this.modalBeforeOpen.emit();
|
|
98
|
+
}
|
|
99
|
+
// Listen to "bcm-modal-before-open" event and show the modal if defaultPrevented is not set
|
|
100
|
+
async showModal(e) {
|
|
101
|
+
if (e.defaultPrevented) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
if (e.target === this.el) {
|
|
105
|
+
this.isShow = true;
|
|
106
|
+
await delay(50);
|
|
107
|
+
this.isShowModal = true;
|
|
108
|
+
document.body.appendChild(this.el);
|
|
109
|
+
this.modalOpen.emit();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
// Get the width of the modal based on the size
|
|
113
|
+
getWidth(size) {
|
|
114
|
+
const sizes = {
|
|
115
|
+
small: "576px",
|
|
116
|
+
medium: "768px",
|
|
117
|
+
large: "992px",
|
|
118
|
+
xlarge: "1024px",
|
|
119
|
+
xxlarge: "1200px",
|
|
120
|
+
xxxlarge: "1700px",
|
|
121
|
+
};
|
|
122
|
+
return sizes[size] || size;
|
|
123
|
+
}
|
|
124
|
+
// Get the modal size
|
|
125
|
+
setSize() {
|
|
126
|
+
const { fullScreen, fullWidth, size, overflow } = this;
|
|
127
|
+
let minHeight = "auto";
|
|
128
|
+
let height = "auto";
|
|
129
|
+
let width = fullWidth ? "100%" : this.getWidth(size);
|
|
130
|
+
if (fullScreen) {
|
|
131
|
+
height = overflow ? "100vh" : "auto";
|
|
132
|
+
width = "100vw";
|
|
133
|
+
minHeight = "100vh";
|
|
134
|
+
}
|
|
135
|
+
return { width, minHeight, height };
|
|
136
|
+
}
|
|
137
|
+
render() {
|
|
138
|
+
return (h(Host, { class: { "tw-hidden": !this.isShow } }, h("bcm-overlay", { "z-index": +this.zIndex - 1, opacity: this.isShowModal ? "0.5" : "0" }), h("div", { class: cs("tw-fixed tw-inset-0", "tw-flex tw-h-full tw-w-full tw-items-start tw-justify-center", "tw-overflow-y-scroll tw-overscroll-contain tw-font-sans", this.center ? "tw-items-center" : ""), style: {
|
|
139
|
+
zIndex: this.zIndex,
|
|
140
|
+
}, "is-click-overlay": true }, h("div", { class: cs("tw-flex tw-w-full tw-flex-col", "tw-relative tw-z-modal tw-bg-white", "tw--translate-y-[20px] tw-transform tw-opacity-0 tw-transition tw-duration-300 tw-ease-in-out", this.fullScreen ? "" : `tw-m-4 tw-rounded-lg ${this.overflow ? "tw-max-h-[90vh]" : ""} `, this.shake ? "tw-animate-shake" : ""), style: Object.assign(Object.assign({}, this.setSize()), (this.isShowModal
|
|
141
|
+
? {
|
|
142
|
+
transform: "translateY(0)",
|
|
143
|
+
opacity: "1",
|
|
144
|
+
}
|
|
145
|
+
: {})) }, h("slot", { name: "header" }), h("bcm-scroll-area", { "is-disabled": !this.overflow }, h("slot", null)), h("slot", { name: "footer" })))));
|
|
146
|
+
}
|
|
147
|
+
static get is() { return "bcm-modal-2"; }
|
|
148
|
+
static get properties() {
|
|
149
|
+
return {
|
|
150
|
+
"_id": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"mutable": true,
|
|
153
|
+
"complexType": {
|
|
154
|
+
"original": "string",
|
|
155
|
+
"resolved": "string",
|
|
156
|
+
"references": {}
|
|
157
|
+
},
|
|
158
|
+
"required": false,
|
|
159
|
+
"optional": false,
|
|
160
|
+
"docs": {
|
|
161
|
+
"tags": [],
|
|
162
|
+
"text": ""
|
|
163
|
+
},
|
|
164
|
+
"attribute": "id",
|
|
165
|
+
"reflect": true,
|
|
166
|
+
"defaultValue": "Generate.UID()"
|
|
167
|
+
},
|
|
168
|
+
"isShow": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"mutable": true,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": ""
|
|
181
|
+
},
|
|
182
|
+
"attribute": "is-show",
|
|
183
|
+
"reflect": true,
|
|
184
|
+
"defaultValue": "false"
|
|
185
|
+
},
|
|
186
|
+
"center": {
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"mutable": false,
|
|
189
|
+
"complexType": {
|
|
190
|
+
"original": "boolean",
|
|
191
|
+
"resolved": "boolean",
|
|
192
|
+
"references": {}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [],
|
|
198
|
+
"text": ""
|
|
199
|
+
},
|
|
200
|
+
"attribute": "center",
|
|
201
|
+
"reflect": false,
|
|
202
|
+
"defaultValue": "false"
|
|
203
|
+
},
|
|
204
|
+
"zIndex": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"mutable": false,
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "string",
|
|
209
|
+
"resolved": "string",
|
|
210
|
+
"references": {}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": false,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": ""
|
|
217
|
+
},
|
|
218
|
+
"attribute": "z-index",
|
|
219
|
+
"reflect": false,
|
|
220
|
+
"defaultValue": "\"10400\""
|
|
221
|
+
},
|
|
222
|
+
"size": {
|
|
223
|
+
"type": "any",
|
|
224
|
+
"mutable": false,
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "any",
|
|
227
|
+
"resolved": "any",
|
|
228
|
+
"references": {}
|
|
229
|
+
},
|
|
230
|
+
"required": false,
|
|
231
|
+
"optional": false,
|
|
232
|
+
"docs": {
|
|
233
|
+
"tags": [],
|
|
234
|
+
"text": ""
|
|
235
|
+
},
|
|
236
|
+
"attribute": "size",
|
|
237
|
+
"reflect": false,
|
|
238
|
+
"defaultValue": "Bcm.Size.medium"
|
|
239
|
+
},
|
|
240
|
+
"backdrop": {
|
|
241
|
+
"type": "any",
|
|
242
|
+
"mutable": false,
|
|
243
|
+
"complexType": {
|
|
244
|
+
"original": "boolean | \"static\"",
|
|
245
|
+
"resolved": "\"static\" | boolean",
|
|
246
|
+
"references": {}
|
|
247
|
+
},
|
|
248
|
+
"required": false,
|
|
249
|
+
"optional": false,
|
|
250
|
+
"docs": {
|
|
251
|
+
"tags": [],
|
|
252
|
+
"text": ""
|
|
253
|
+
},
|
|
254
|
+
"attribute": "backdrop",
|
|
255
|
+
"reflect": false,
|
|
256
|
+
"defaultValue": "true"
|
|
257
|
+
},
|
|
258
|
+
"fullWidth": {
|
|
259
|
+
"type": "boolean",
|
|
260
|
+
"mutable": false,
|
|
261
|
+
"complexType": {
|
|
262
|
+
"original": "boolean",
|
|
263
|
+
"resolved": "boolean",
|
|
264
|
+
"references": {}
|
|
265
|
+
},
|
|
266
|
+
"required": false,
|
|
267
|
+
"optional": false,
|
|
268
|
+
"docs": {
|
|
269
|
+
"tags": [],
|
|
270
|
+
"text": ""
|
|
271
|
+
},
|
|
272
|
+
"attribute": "full-width",
|
|
273
|
+
"reflect": false,
|
|
274
|
+
"defaultValue": "false"
|
|
275
|
+
},
|
|
276
|
+
"fullScreen": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"mutable": false,
|
|
279
|
+
"complexType": {
|
|
280
|
+
"original": "boolean",
|
|
281
|
+
"resolved": "boolean",
|
|
282
|
+
"references": {}
|
|
283
|
+
},
|
|
284
|
+
"required": false,
|
|
285
|
+
"optional": false,
|
|
286
|
+
"docs": {
|
|
287
|
+
"tags": [],
|
|
288
|
+
"text": ""
|
|
289
|
+
},
|
|
290
|
+
"attribute": "full-screen",
|
|
291
|
+
"reflect": false,
|
|
292
|
+
"defaultValue": "false"
|
|
293
|
+
},
|
|
294
|
+
"overflow": {
|
|
295
|
+
"type": "boolean",
|
|
296
|
+
"mutable": false,
|
|
297
|
+
"complexType": {
|
|
298
|
+
"original": "boolean",
|
|
299
|
+
"resolved": "boolean",
|
|
300
|
+
"references": {}
|
|
301
|
+
},
|
|
302
|
+
"required": false,
|
|
303
|
+
"optional": false,
|
|
304
|
+
"docs": {
|
|
305
|
+
"tags": [],
|
|
306
|
+
"text": ""
|
|
307
|
+
},
|
|
308
|
+
"attribute": "overflow",
|
|
309
|
+
"reflect": false,
|
|
310
|
+
"defaultValue": "true"
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
static get states() {
|
|
315
|
+
return {
|
|
316
|
+
"isShowModal": {},
|
|
317
|
+
"shake": {}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
static get events() {
|
|
321
|
+
return [{
|
|
322
|
+
"method": "modalClose",
|
|
323
|
+
"name": "bcm-modal-close",
|
|
324
|
+
"bubbles": true,
|
|
325
|
+
"cancelable": true,
|
|
326
|
+
"composed": true,
|
|
327
|
+
"docs": {
|
|
328
|
+
"tags": [],
|
|
329
|
+
"text": ""
|
|
330
|
+
},
|
|
331
|
+
"complexType": {
|
|
332
|
+
"original": "any",
|
|
333
|
+
"resolved": "any",
|
|
334
|
+
"references": {}
|
|
335
|
+
}
|
|
336
|
+
}, {
|
|
337
|
+
"method": "modalOpen",
|
|
338
|
+
"name": "bcm-modal-open",
|
|
339
|
+
"bubbles": true,
|
|
340
|
+
"cancelable": true,
|
|
341
|
+
"composed": true,
|
|
342
|
+
"docs": {
|
|
343
|
+
"tags": [],
|
|
344
|
+
"text": ""
|
|
345
|
+
},
|
|
346
|
+
"complexType": {
|
|
347
|
+
"original": "any",
|
|
348
|
+
"resolved": "any",
|
|
349
|
+
"references": {}
|
|
350
|
+
}
|
|
351
|
+
}, {
|
|
352
|
+
"method": "modalBeforeClose",
|
|
353
|
+
"name": "bcm-modal-before-close",
|
|
354
|
+
"bubbles": true,
|
|
355
|
+
"cancelable": true,
|
|
356
|
+
"composed": true,
|
|
357
|
+
"docs": {
|
|
358
|
+
"tags": [],
|
|
359
|
+
"text": ""
|
|
360
|
+
},
|
|
361
|
+
"complexType": {
|
|
362
|
+
"original": "any",
|
|
363
|
+
"resolved": "any",
|
|
364
|
+
"references": {}
|
|
365
|
+
}
|
|
366
|
+
}, {
|
|
367
|
+
"method": "modalBeforeOpen",
|
|
368
|
+
"name": "bcm-modal-before-open",
|
|
369
|
+
"bubbles": true,
|
|
370
|
+
"cancelable": true,
|
|
371
|
+
"composed": true,
|
|
372
|
+
"docs": {
|
|
373
|
+
"tags": [],
|
|
374
|
+
"text": ""
|
|
375
|
+
},
|
|
376
|
+
"complexType": {
|
|
377
|
+
"original": "any",
|
|
378
|
+
"resolved": "any",
|
|
379
|
+
"references": {}
|
|
380
|
+
}
|
|
381
|
+
}];
|
|
382
|
+
}
|
|
383
|
+
static get methods() {
|
|
384
|
+
return {
|
|
385
|
+
"hide": {
|
|
386
|
+
"complexType": {
|
|
387
|
+
"signature": "() => Promise<void>",
|
|
388
|
+
"parameters": [],
|
|
389
|
+
"references": {
|
|
390
|
+
"Promise": {
|
|
391
|
+
"location": "global"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"return": "Promise<void>"
|
|
395
|
+
},
|
|
396
|
+
"docs": {
|
|
397
|
+
"text": "",
|
|
398
|
+
"tags": []
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"show": {
|
|
402
|
+
"complexType": {
|
|
403
|
+
"signature": "() => Promise<void>",
|
|
404
|
+
"parameters": [],
|
|
405
|
+
"references": {
|
|
406
|
+
"Promise": {
|
|
407
|
+
"location": "global"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"return": "Promise<void>"
|
|
411
|
+
},
|
|
412
|
+
"docs": {
|
|
413
|
+
"text": "",
|
|
414
|
+
"tags": []
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
static get elementRef() { return "el"; }
|
|
420
|
+
static get listeners() {
|
|
421
|
+
return [{
|
|
422
|
+
"name": "click",
|
|
423
|
+
"method": "handleClick",
|
|
424
|
+
"target": undefined,
|
|
425
|
+
"capture": false,
|
|
426
|
+
"passive": false
|
|
427
|
+
}, {
|
|
428
|
+
"name": "keydown",
|
|
429
|
+
"method": "handleKeyDown",
|
|
430
|
+
"target": "document",
|
|
431
|
+
"capture": false,
|
|
432
|
+
"passive": false
|
|
433
|
+
}, {
|
|
434
|
+
"name": "bcm-modal-before-close",
|
|
435
|
+
"method": "hideModal",
|
|
436
|
+
"target": undefined,
|
|
437
|
+
"capture": false,
|
|
438
|
+
"passive": false
|
|
439
|
+
}, {
|
|
440
|
+
"name": "bcm-modal-before-open",
|
|
441
|
+
"method": "showModal",
|
|
442
|
+
"target": undefined,
|
|
443
|
+
"capture": false,
|
|
444
|
+
"passive": false
|
|
445
|
+
}];
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
__decorate([
|
|
449
|
+
IsLoad()
|
|
450
|
+
], BcmModal2.prototype, "el", void 0);
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
import cs from "classnames";
|
|
7
|
+
import colors from "tailwindcss/colors";
|
|
8
|
+
export class BcmOverlay {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.center = false;
|
|
11
|
+
this.color = colors.black;
|
|
12
|
+
this.opacity = "0.5";
|
|
13
|
+
this.zIndex = "10400";
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (h(Host, { class: cs("tw-fixed tw-inset-0 tw-transition", {
|
|
17
|
+
"tw-flex tw-items-center tw-justify-center": this.center,
|
|
18
|
+
}), style: {
|
|
19
|
+
backgroundColor: `${this.color}`,
|
|
20
|
+
opacity: this.opacity,
|
|
21
|
+
zIndex: this.zIndex,
|
|
22
|
+
} }, h("slot", null)));
|
|
23
|
+
}
|
|
24
|
+
static get is() { return "bcm-overlay"; }
|
|
25
|
+
static get properties() {
|
|
26
|
+
return {
|
|
27
|
+
"center": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "boolean",
|
|
32
|
+
"resolved": "boolean",
|
|
33
|
+
"references": {}
|
|
34
|
+
},
|
|
35
|
+
"required": false,
|
|
36
|
+
"optional": false,
|
|
37
|
+
"docs": {
|
|
38
|
+
"tags": [],
|
|
39
|
+
"text": ""
|
|
40
|
+
},
|
|
41
|
+
"attribute": "center",
|
|
42
|
+
"reflect": false,
|
|
43
|
+
"defaultValue": "false"
|
|
44
|
+
},
|
|
45
|
+
"color": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "\"#000\"",
|
|
50
|
+
"resolved": "\"#000\"",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": ""
|
|
58
|
+
},
|
|
59
|
+
"attribute": "color",
|
|
60
|
+
"reflect": false,
|
|
61
|
+
"defaultValue": "colors.black"
|
|
62
|
+
},
|
|
63
|
+
"opacity": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"mutable": false,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "string",
|
|
68
|
+
"resolved": "string",
|
|
69
|
+
"references": {}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": false,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": ""
|
|
76
|
+
},
|
|
77
|
+
"attribute": "opacity",
|
|
78
|
+
"reflect": false,
|
|
79
|
+
"defaultValue": "\"0.5\""
|
|
80
|
+
},
|
|
81
|
+
"zIndex": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "string",
|
|
86
|
+
"resolved": "string",
|
|
87
|
+
"references": {}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": ""
|
|
94
|
+
},
|
|
95
|
+
"attribute": "z-index",
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"defaultValue": "\"10400\""
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
import cs from "classnames";
|
|
7
|
+
export class BcmScrollArea {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.width = "inherit";
|
|
10
|
+
this.height = "inherit";
|
|
11
|
+
this.isDisabled = false;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { class: cs("tw-block", {
|
|
15
|
+
"tw-overflow-y-scroll tw-overscroll-contain": !this.isDisabled,
|
|
16
|
+
}), style: { width: this.width, height: this.height } }, h("slot", null)));
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "bcm-scroll-area"; }
|
|
19
|
+
static get properties() {
|
|
20
|
+
return {
|
|
21
|
+
"width": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"mutable": false,
|
|
24
|
+
"complexType": {
|
|
25
|
+
"original": "string",
|
|
26
|
+
"resolved": "string",
|
|
27
|
+
"references": {}
|
|
28
|
+
},
|
|
29
|
+
"required": false,
|
|
30
|
+
"optional": false,
|
|
31
|
+
"docs": {
|
|
32
|
+
"tags": [],
|
|
33
|
+
"text": ""
|
|
34
|
+
},
|
|
35
|
+
"attribute": "width",
|
|
36
|
+
"reflect": false,
|
|
37
|
+
"defaultValue": "\"inherit\""
|
|
38
|
+
},
|
|
39
|
+
"height": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"mutable": false,
|
|
42
|
+
"complexType": {
|
|
43
|
+
"original": "string",
|
|
44
|
+
"resolved": "string",
|
|
45
|
+
"references": {}
|
|
46
|
+
},
|
|
47
|
+
"required": false,
|
|
48
|
+
"optional": false,
|
|
49
|
+
"docs": {
|
|
50
|
+
"tags": [],
|
|
51
|
+
"text": ""
|
|
52
|
+
},
|
|
53
|
+
"attribute": "height",
|
|
54
|
+
"reflect": false,
|
|
55
|
+
"defaultValue": "\"inherit\""
|
|
56
|
+
},
|
|
57
|
+
"isDisabled": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"mutable": false,
|
|
60
|
+
"complexType": {
|
|
61
|
+
"original": "boolean",
|
|
62
|
+
"resolved": "boolean",
|
|
63
|
+
"references": {}
|
|
64
|
+
},
|
|
65
|
+
"required": false,
|
|
66
|
+
"optional": false,
|
|
67
|
+
"docs": {
|
|
68
|
+
"tags": [],
|
|
69
|
+
"text": ""
|
|
70
|
+
},
|
|
71
|
+
"attribute": "is-disabled",
|
|
72
|
+
"reflect": false,
|
|
73
|
+
"defaultValue": "false"
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}
|