bromcom-ui 2.7.37-rc.9 → 2.7.38-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/p-0122ae3d.js +6 -0
- package/dist/bromcom-ui/p-04c8b756.js +1 -1
- package/dist/bromcom-ui/p-0a29a882.entry.js +5 -0
- package/dist/bromcom-ui/p-0a46b931.entry.js +5 -0
- package/dist/bromcom-ui/{p-151d7bec.entry.js → p-0dff677e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2444a19c.js → p-0e8b8316.js} +1 -1
- package/dist/bromcom-ui/{p-ae327774.js → p-1192f094.js} +1 -1
- package/dist/bromcom-ui/p-13077a28.entry.js +5 -0
- package/dist/bromcom-ui/p-1978e4ae.entry.js +5 -0
- package/dist/bromcom-ui/p-1af75960.entry.js +5 -0
- package/dist/bromcom-ui/p-1c207a2d.entry.js +5 -0
- package/dist/bromcom-ui/{p-2b332236.entry.js → p-20c45a95.entry.js} +1 -1
- package/dist/bromcom-ui/p-24bfaf3c.entry.js +5 -0
- package/dist/bromcom-ui/{p-34b815f5.entry.js → p-2a7f29b6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b68fcefb.entry.js → p-2f4d6b32.entry.js} +1 -1
- package/dist/bromcom-ui/p-341f55bf.entry.js +5 -0
- package/dist/bromcom-ui/p-38e67de7.entry.js +5 -0
- package/dist/bromcom-ui/p-3b07a0b1.entry.js +5 -0
- package/dist/bromcom-ui/p-3b43ad99.entry.js +5 -0
- package/dist/bromcom-ui/p-3e6e1e62.entry.js +5 -0
- package/dist/bromcom-ui/p-41df4c5d.entry.js +5 -0
- package/dist/bromcom-ui/p-42d537ac.entry.js +5 -0
- package/dist/bromcom-ui/p-44dd9f7a.entry.js +5 -0
- package/dist/bromcom-ui/p-455f416f.entry.js +5 -0
- package/dist/bromcom-ui/{p-fe3e3210.js → p-45704915.js} +1 -1
- package/dist/bromcom-ui/p-487f7b46.js +5 -0
- package/dist/bromcom-ui/{p-b2693a0f.js → p-4db160cc.js} +1 -1
- package/dist/bromcom-ui/p-4eb1b6e1.entry.js +5 -0
- package/dist/bromcom-ui/{p-6f30d39e.entry.js → p-516b3b59.entry.js} +1 -1
- package/dist/bromcom-ui/p-52e9eb72.entry.js +5 -0
- package/dist/bromcom-ui/p-581f703b.entry.js +5 -0
- package/dist/bromcom-ui/p-59b121e1.entry.js +5 -0
- package/dist/bromcom-ui/{p-591b3100.entry.js → p-5c20b83c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b1e3b913.entry.js → p-5f002c1c.entry.js} +1 -1
- package/dist/bromcom-ui/p-62bb8bf1.entry.js +5 -0
- package/dist/bromcom-ui/{p-8255f60a.entry.js → p-6720d135.entry.js} +1 -1
- package/dist/bromcom-ui/p-68ab7a63.entry.js +5 -0
- package/dist/bromcom-ui/p-68f57e0b.entry.js +5 -0
- package/dist/bromcom-ui/p-6c92a756.entry.js +5 -0
- package/dist/bromcom-ui/p-6f1b3d34.entry.js +5 -0
- package/dist/bromcom-ui/p-758a20ad.entry.js +5 -0
- package/dist/bromcom-ui/p-765ee6c1.js +5 -0
- package/dist/{esm/bcm-dropdown.entry.js → bromcom-ui/p-77e0d2b5.entry.js} +1 -231
- package/dist/bromcom-ui/p-78cf8966.entry.js +5 -0
- package/dist/bromcom-ui/{p-78d48636.entry.js → p-7b5e88c5.entry.js} +1 -1
- package/dist/bromcom-ui/p-7b7f4c29.entry.js +5 -0
- package/dist/bromcom-ui/{p-0cd7e628.entry.js → p-7df747c7.entry.js} +1 -1
- package/dist/bromcom-ui/p-906848af.entry.js +5 -0
- package/dist/bromcom-ui/p-937e2bed.js +5 -0
- package/dist/bromcom-ui/{p-cd0490e2.js → p-96287124.js} +1 -1
- package/dist/bromcom-ui/{p-a0c10e3e.entry.js → p-96525d60.entry.js} +1 -1
- package/dist/bromcom-ui/p-980e5824.entry.js +5 -0
- package/dist/bromcom-ui/p-99bed73b.entry.js +5 -0
- package/dist/bromcom-ui/p-9c6de630.js +5 -0
- package/dist/bromcom-ui/p-a2710121.entry.js +5 -0
- package/dist/bromcom-ui/p-a95d388e.js +5 -0
- package/dist/bromcom-ui/{p-f9cb7ae4.js → p-acb048b5.js} +1 -1
- package/dist/bromcom-ui/p-b1b377e8.entry.js +5 -0
- package/dist/bromcom-ui/p-c3fc854c.entry.js +5 -0
- package/dist/bromcom-ui/p-c78bc99b.js +5 -0
- package/dist/bromcom-ui/p-c9bd85e9.js +1 -1
- package/dist/bromcom-ui/{p-f1b09912.entry.js → p-cf337431.entry.js} +1 -1
- package/dist/bromcom-ui/p-da7603b0.entry.js +5 -0
- package/dist/bromcom-ui/p-dcf02363.entry.js +5 -0
- package/dist/bromcom-ui/p-e0cb6ac3.entry.js +5 -0
- package/dist/bromcom-ui/p-e14fb705.entry.js +5 -0
- package/dist/bromcom-ui/p-e2fe4755.entry.js +5 -0
- package/dist/bromcom-ui/p-e48c96b5.entry.js +5 -0
- package/dist/bromcom-ui/{p-f33f5581.entry.js → p-e6d92da4.entry.js} +1 -1
- package/dist/bromcom-ui/p-eb3aa16b.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c60d68f.entry.js → p-eb639e76.entry.js} +1 -1
- package/dist/bromcom-ui/{p-993c912d.entry.js → p-f0b62f8e.entry.js} +1 -1
- package/dist/bromcom-ui/p-f495426e.entry.js +5 -0
- package/dist/bromcom-ui/{p-d9fb53c9.entry.js → p-f5ae5381.entry.js} +1 -1
- package/dist/bromcom-ui/p-f6685330.entry.js +5 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +3 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +9 -10
- package/dist/cjs/bcm-attendance.cjs.entry.js +3 -7
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -2
- package/dist/cjs/bcm-avatar_15.cjs.entry.js +1954 -0
- 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 +10 -8
- package/dist/cjs/bcm-card.cjs.entry.js +9 -7
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +17 -11
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +44 -21
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +18 -16
- package/dist/cjs/bcm-chip.cjs.entry.js +7 -3
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +8 -9
- package/dist/cjs/bcm-date-picker.cjs.entry.js +12 -5
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +19 -16
- package/dist/cjs/bcm-default.cjs.entry.js +3 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +10 -13
- package/dist/cjs/bcm-error-layout.cjs.entry.js +2 -2
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +6 -5
- package/dist/cjs/{bcm-2c51bf0c.js → bcm-f00ec62c.js} +4 -4
- package/dist/cjs/bcm-form-2.cjs.entry.js +8 -8
- package/dist/cjs/bcm-form-group.cjs.entry.js +3 -2
- package/dist/cjs/bcm-input.cjs.entry.js +35 -18
- package/dist/cjs/bcm-link.cjs.entry.js +8 -5
- package/dist/cjs/bcm-list.cjs.entry.js +45 -43
- package/dist/cjs/bcm-message.cjs.entry.js +2 -5
- package/dist/cjs/{bcm-label_2.cjs.entry.js → bcm-modal.cjs.entry.js} +101 -78
- package/dist/cjs/bcm-notification.cjs.entry.js +4 -2
- package/dist/cjs/bcm-old-input.cjs.entry.js +17 -4
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +4 -2
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +11 -6
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +7 -6
- package/dist/cjs/bcm-progress.cjs.entry.js +5 -5
- package/dist/cjs/bcm-radio-group.cjs.entry.js +19 -10
- package/dist/cjs/bcm-radio.cjs.entry.js +10 -9
- package/dist/cjs/bcm-range.cjs.entry.js +13 -7
- package/dist/cjs/bcm-result.cjs.entry.js +6 -2
- package/dist/cjs/bcm-search.cjs.entry.js +12 -16
- package/dist/cjs/bcm-select-group.cjs.entry.js +2 -1
- package/dist/cjs/bcm-select-option.cjs.entry.js +4 -1
- package/dist/cjs/bcm-select.cjs.entry.js +26 -15
- package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/bcm-step.cjs.entry.js +10 -9
- package/dist/cjs/bcm-stepper.cjs.entry.js +8 -12
- package/dist/cjs/bcm-tab-group.cjs.entry.js +9 -9
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab.cjs.entry.js +2 -5
- 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 -8
- package/dist/cjs/bcm-tag.cjs.entry.js +19 -16
- package/dist/cjs/bcm-textarea.cjs.entry.js +20 -10
- package/dist/cjs/bcm-time-picker.cjs.entry.js +12 -5
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -5
- package/dist/cjs/bcm-timeline.cjs.entry.js +3 -5
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{caption-template-954d34bc.js → caption-template-95c791a2.js} +1 -1
- package/dist/cjs/{floating-ui-dae608ba.js → floating-ui-2a4a79ff.js} +4 -3
- package/dist/cjs/{generate-73db206b.js → generate-0d51cba6.js} +14 -14
- package/dist/cjs/{index-f8547ecd.js → index-1d2ce51d.js} +1 -1
- package/dist/cjs/{index-9d98aa56.js → index-1fda1524.js} +473 -275
- package/dist/cjs/{input-template-c8ceb3ff.js → input-template-d7f600a5.js} +7 -7
- package/dist/cjs/{is-load-decorator-65755a67.js → is-load-decorator-77664890.js} +1 -1
- package/dist/cjs/{label-template-1ed6a569.js → label-template-e56264b3.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-2253d3ad.js → number-helper-1d113d3e.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +14 -8
- package/dist/cjs/old-bcm-popover.cjs.entry.js +9 -10
- package/dist/cjs/{popover-placement-87901bb3.js → popover-placement-ac98d407.js} +1 -1
- package/dist/cjs/{slot-template-2ff0d22a.js → slot-template-a4505c70.js} +2 -2
- package/dist/cjs/{stepper-states-c4dbafba.js → stepper-states-f66c2ae8.js} +2 -2
- package/dist/cjs/{string-helper-df40a475.js → string-helper-145cd64f.js} +2 -2
- package/dist/cjs/{tooltip-helper-88c00766.js → tooltip-helper-eff66c97.js} +37 -5
- package/dist/cjs/{validators-e5907199.js → validators-424a487a.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/atoms/avatar/avatar.js +197 -184
- package/dist/collection/components/atoms/badge/badge.js +174 -164
- package/dist/collection/components/atoms/box/box.js +8 -5
- package/dist/collection/components/atoms/button/button.js +392 -373
- package/dist/collection/components/atoms/chip/chip.js +143 -133
- package/dist/collection/components/atoms/divider/divider.js +61 -53
- package/dist/collection/components/atoms/icon/icon.js +57 -47
- package/dist/collection/components/atoms/label/label.js +192 -182
- package/dist/collection/components/atoms/link/link.js +138 -127
- package/dist/collection/components/atoms/tag/tag.js +286 -273
- package/dist/collection/components/atoms/typography/typography.js +8 -5
- package/dist/collection/components/molecules/accordion/accordion.js +72 -61
- package/dist/collection/components/molecules/alert/alert.js +218 -217
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +110 -104
- package/dist/collection/components/molecules/breadcrumb/types.js +0 -4
- package/dist/collection/components/molecules/button-group/button-group.js +159 -144
- package/dist/collection/components/molecules/card/card.js +83 -73
- package/dist/collection/components/molecules/checkbox/checkbox-lite.js +175 -176
- package/dist/collection/components/molecules/checkbox/checkbox.js +536 -524
- package/dist/collection/components/molecules/checkbox/group.js +589 -571
- package/dist/collection/components/molecules/drawer/drawer.js +193 -189
- package/dist/collection/components/molecules/dropdown/dropdown.js +610 -782
- package/dist/collection/components/molecules/empty/empty.js +32 -26
- package/dist/collection/components/molecules/error-layout/error-layout.js +126 -111
- package/dist/collection/components/molecules/error-layout/types.js +0 -4
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +212 -212
- package/dist/collection/components/molecules/input/input.js +891 -857
- package/dist/collection/components/molecules/item/item.js +95 -85
- package/dist/collection/components/molecules/items/items.js +46 -38
- package/dist/collection/components/molecules/linked/linked.js +285 -241
- package/dist/collection/components/molecules/menu/menu.js +368 -538
- package/dist/collection/components/molecules/message/message.js +149 -144
- package/dist/collection/components/molecules/modal/modal.js +261 -252
- package/dist/collection/components/molecules/notification/notification.js +167 -161
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +299 -285
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +293 -277
- package/dist/collection/components/molecules/popover/popover.js +190 -181
- package/dist/collection/components/molecules/progress/progress.js +255 -262
- package/dist/collection/components/molecules/radio/group.js +516 -494
- package/dist/collection/components/molecules/radio/radio.js +212 -207
- package/dist/collection/components/molecules/range/range.js +289 -285
- package/dist/collection/components/molecules/result/result.js +104 -97
- package/dist/collection/components/molecules/search/search.js +308 -295
- package/dist/collection/components/molecules/skeleton/skeleton.js +47 -52
- package/dist/collection/components/molecules/stepper/step.js +281 -271
- package/dist/collection/components/molecules/stepper/stepper.js +309 -300
- package/dist/collection/components/molecules/switch/switch.js +598 -583
- package/dist/collection/components/molecules/tab-group/tab-group.js +126 -120
- package/dist/collection/components/molecules/textarea/textarea.js +622 -597
- package/dist/collection/components/molecules/timeline/timeline-item.js +125 -120
- package/dist/collection/components/molecules/timeline/timeline.js +79 -71
- package/dist/collection/components/molecules/tooltip/tooltip.js +173 -164
- package/dist/collection/components/organism/autocomplete/autocomplete.js +260 -247
- package/dist/collection/components/organism/colorpicker/colorpicker.js +360 -368
- package/dist/collection/components/organism/date-picker/date-picker.js +626 -604
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +750 -775
- package/dist/collection/components/organism/form/form-group.js +108 -99
- package/dist/collection/components/organism/form/form.js +253 -238
- package/dist/collection/components/organism/form-2/form-2.js +164 -149
- package/dist/collection/components/organism/list/list.js +1133 -1128
- package/dist/collection/components/organism/time-picker/time-picker.js +502 -484
- package/dist/collection/components/other/attendance/attendance.js +60 -61
- package/dist/collection/components/other/data-table/table.js +40 -30
- package/dist/collection/components/other/default/default.js +40 -32
- package/dist/collection/components/other_deprecated/collapse/collapse.js +125 -119
- package/dist/collection/components/other_deprecated/collapse/group.js +90 -83
- package/dist/collection/components/other_deprecated/listbox/listbox-group.js +68 -68
- package/dist/collection/components/other_deprecated/listbox/listbox-item.js +500 -495
- package/dist/collection/components/other_deprecated/listbox/listbox.js +1067 -1071
- package/dist/collection/components/other_deprecated/old-input/old-input.js +786 -775
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +285 -267
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +214 -202
- package/dist/collection/components/other_deprecated/old-search/old-search.js +333 -314
- package/dist/collection/components/other_deprecated/old-tag/old-tag.js +247 -241
- package/dist/collection/components/other_deprecated/select/group.js +68 -67
- package/dist/collection/components/other_deprecated/select/option.js +120 -111
- package/dist/collection/components/other_deprecated/select/select-box.js +77 -71
- package/dist/collection/components/other_deprecated/select/select.js +1096 -1093
- package/dist/collection/components/other_deprecated/tabs/tab-pane.js +121 -111
- package/dist/collection/components/other_deprecated/tabs/tab.js +229 -226
- package/dist/collection/components/other_deprecated/tabs/tabs-content.js +108 -98
- package/dist/collection/components/other_deprecated/tabs/tabs.js +423 -411
- package/dist/collection/components/other_deprecated/text/text.js +125 -117
- package/dist/collection/components/other_deprecated/treeview/treeview-group.js +11 -7
- package/dist/collection/components/other_deprecated/treeview/treeview-item.js +651 -646
- package/dist/collection/components/other_deprecated/treeview/treeview.js +882 -874
- package/dist/collection/index.js +0 -4
- package/dist/collection/models/bcm-types.js +0 -4
- package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -4
- package/dist/collection/models/states/molecules/bcm-molecules-state.js +0 -4
- package/dist/collection/models/states/organisms/bcm-organisms-state.js +0 -4
- package/dist/collection/templates/button-template.js +1 -12
- package/dist/collection/templates/caption-template.js +3 -14
- package/dist/collection/templates/checkbox-template.js +1 -5
- package/dist/collection/templates/info-footer-template.js +1 -6
- package/dist/collection/templates/input-template.js +8 -29
- package/dist/collection/templates/label-template.js +1 -5
- package/dist/collection/templates/list-item-template.js +2 -9
- package/dist/collection/templates/list-template.js +1 -14
- package/dist/collection/templates/slot-template.js +1 -2
- package/dist/collection/templates/step-template.js +1 -5
- package/dist/collection/templates/tag-template.js +1 -10
- package/dist/collection/types/index.js +0 -4
- package/dist/collection/utils/floating-ui.js +2 -1
- package/dist/components/avatar.js +5 -0
- package/dist/components/badge.js +4 -0
- package/dist/components/bcm-alert.js +3 -4
- package/dist/components/bcm-attendance.js +0 -4
- package/dist/components/bcm-autocomplete.js +1 -0
- package/dist/components/bcm-breadcrumb.js +1 -0
- package/dist/components/bcm-button-group.js +2 -0
- package/dist/components/bcm-card.js +3 -1
- package/dist/components/bcm-checkbox-group.js +6 -0
- package/dist/components/bcm-chip.js +4 -0
- package/dist/components/bcm-colorpicker.js +6 -7
- package/dist/components/bcm-date-picker.js +7 -0
- package/dist/components/bcm-drawer.js +1 -4
- package/dist/components/bcm-dropdown.js +38 -167
- package/dist/components/bcm-expansion-panel.js +1 -0
- package/dist/components/bcm-form-2.js +2 -2
- package/dist/components/bcm-form-group.js +1 -0
- package/dist/components/bcm-form.js +1 -0
- package/dist/components/bcm-input.js +22 -5
- package/dist/components/bcm-item.js +1 -0
- package/dist/components/bcm-linked.js +1 -192
- package/dist/components/bcm-list.js +15 -12
- package/dist/components/bcm-message.js +0 -3
- package/dist/components/bcm-modal.js +2 -0
- package/dist/components/bcm-notification.js +2 -0
- package/dist/components/bcm-popconfirm.js +1 -0
- package/dist/components/bcm-radio-group.js +9 -0
- package/dist/components/bcm-range.js +6 -0
- package/dist/components/bcm-result.js +4 -0
- package/dist/components/bcm-select-group.js +1 -0
- package/dist/components/bcm-select-option.js +3 -0
- package/dist/components/bcm-select.js +22 -11
- package/dist/components/bcm-stepper.js +0 -4
- package/dist/components/bcm-switch.js +11 -1
- package/dist/components/bcm-tab-group.js +1 -1
- package/dist/components/bcm-tab.js +0 -3
- package/dist/components/bcm-tabs.js +0 -6
- package/dist/components/bcm-tag.js +3 -0
- package/dist/components/bcm-textarea.js +11 -1
- package/dist/components/bcm-time-picker.js +7 -0
- package/dist/components/bcm-timeline-item.js +1 -3
- package/dist/components/bcm-timeline.js +1 -3
- package/dist/components/button.js +6 -0
- package/dist/components/checkbox.js +6 -4
- package/dist/components/datetime-picker.js +9 -6
- package/dist/components/empty.js +1 -0
- package/dist/components/floating-ui.js +2 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/icon.js +1 -0
- package/dist/components/label.js +4 -1
- package/dist/components/link.js +3 -0
- package/dist/{esm/bcm-linked.entry.js → components/linked.js} +60 -22
- package/dist/components/listbox-group.js +1 -0
- package/dist/components/listbox-item.js +7 -0
- package/dist/components/listbox.js +16 -9
- package/dist/components/menu.js +11 -126
- package/dist/components/old-bcm-popover.js +3 -4
- package/dist/components/old-input.js +14 -1
- package/dist/components/old-popover-box.js +6 -0
- package/dist/components/old-tag.js +2 -0
- package/dist/components/popconfirm-box.js +5 -0
- package/dist/components/radio.js +3 -2
- package/dist/components/search.js +4 -8
- package/dist/components/step.js +5 -4
- package/dist/components/text.js +2 -0
- package/dist/components/treeview-item.js +5 -1
- package/dist/components/treeview.js +7 -4
- package/dist/esm/bcm-accordion.entry.js +3 -3
- package/dist/esm/bcm-alert.entry.js +7 -8
- package/dist/esm/bcm-attendance.entry.js +3 -7
- package/dist/esm/bcm-autocomplete.entry.js +3 -2
- package/dist/esm/bcm-avatar_15.entry.js +1936 -0
- package/dist/esm/bcm-b8d8a236.js +1 -1
- 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 +6 -4
- package/dist/esm/bcm-card.entry.js +7 -5
- package/dist/esm/bcm-checkbox-group.entry.js +13 -7
- package/dist/esm/bcm-checkbox-lite_9.entry.js +41 -18
- package/dist/esm/bcm-checkbox_2.entry.js +12 -10
- package/dist/esm/bcm-chip.entry.js +7 -3
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +3 -3
- package/dist/esm/bcm-colorpicker.entry.js +8 -9
- package/dist/esm/bcm-date-picker.entry.js +11 -4
- package/dist/esm/bcm-datetime-picker.entry.js +15 -12
- package/dist/esm/bcm-default.entry.js +3 -3
- package/dist/esm/bcm-drawer.entry.js +7 -10
- package/dist/esm/bcm-error-layout.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +4 -3
- package/dist/esm/bcm-form-2.entry.js +6 -6
- package/dist/esm/bcm-form-group.entry.js +3 -2
- package/dist/esm/bcm-input.entry.js +30 -13
- package/dist/esm/bcm-link.entry.js +6 -3
- package/dist/esm/bcm-list.entry.js +27 -25
- package/dist/esm/bcm-message.entry.js +2 -5
- package/dist/esm/{bcm-label_2.entry.js → bcm-modal.entry.js} +101 -77
- package/dist/esm/bcm-notification.entry.js +4 -2
- package/dist/esm/bcm-old-input.entry.js +17 -4
- package/dist/esm/bcm-old-tag_2.entry.js +4 -2
- package/dist/esm/bcm-popconfirm-box.entry.js +8 -3
- package/dist/esm/bcm-popconfirm.entry.js +5 -4
- package/dist/esm/bcm-progress.entry.js +4 -4
- package/dist/esm/bcm-radio-group.entry.js +15 -6
- package/dist/esm/bcm-radio.entry.js +8 -7
- package/dist/esm/bcm-range.entry.js +10 -4
- package/dist/esm/bcm-result.entry.js +6 -2
- package/dist/esm/bcm-search.entry.js +10 -14
- package/dist/esm/bcm-select-group.entry.js +2 -1
- package/dist/esm/bcm-select-option.entry.js +4 -1
- package/dist/esm/bcm-select.entry.js +24 -13
- package/dist/esm/bcm-skeleton.entry.js +3 -3
- package/dist/esm/bcm-step.entry.js +10 -9
- package/dist/esm/bcm-stepper.entry.js +6 -10
- package/dist/esm/bcm-tab-group.entry.js +5 -5
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +2 -5
- 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 -8
- package/dist/esm/bcm-tag.entry.js +8 -5
- package/dist/esm/bcm-textarea.entry.js +17 -7
- package/dist/esm/bcm-time-picker.entry.js +11 -4
- package/dist/esm/bcm-timeline-item.entry.js +3 -5
- package/dist/esm/bcm-timeline.entry.js +3 -5
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-d54ee0c3.js → caption-template-e7d51661.js} +1 -1
- package/dist/esm/{floating-ui-f03a96ce.js → floating-ui-700d0b98.js} +3 -2
- package/dist/esm/{generate-a7f3d168.js → generate-30f32431.js} +14 -14
- package/dist/esm/{index-2a3eeccc.js → index-58077b32.js} +473 -275
- package/dist/esm/{index-6e950253.js → index-6bdec00d.js} +1 -1
- package/dist/esm/{input-template-928c8d17.js → input-template-0131cb6b.js} +3 -3
- package/dist/esm/{is-load-decorator-b990575a.js → is-load-decorator-d57b8f9e.js} +1 -1
- package/dist/esm/{label-template-e3eebfbc.js → label-template-f352ef5b.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-f3b67bd2.js → number-helper-49efb3a0.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -5
- package/dist/esm/old-bcm-popover.entry.js +7 -8
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{slot-template-877c4e01.js → slot-template-aee2ff75.js} +1 -1
- package/dist/esm/{stepper-states-e2489128.js → stepper-states-204a065e.js} +2 -2
- package/dist/esm/string-helper-74a1648f.js +1 -1
- package/dist/esm/{tooltip-helper-99202557.js → tooltip-helper-968148fa.js} +36 -5
- package/dist/esm/{validators-0f31a959.js → validators-e1c02a1a.js} +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +2 -15
- package/dist/types/components/molecules/linked/linked.d.ts +3 -1
- package/dist/types/components/molecules/menu/menu.d.ts +1 -13
- package/dist/types/components.d.ts +12 -13
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/loader/package.json +1 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/assets +0 -0
- package/dist/bromcom-ui/p-0031ea84.entry.js +0 -5
- package/dist/bromcom-ui/p-00fb02e5.entry.js +0 -5
- package/dist/bromcom-ui/p-02892da0.entry.js +0 -5
- package/dist/bromcom-ui/p-046bc94c.entry.js +0 -5
- package/dist/bromcom-ui/p-0594c485.entry.js +0 -5
- package/dist/bromcom-ui/p-0ae411fe.entry.js +0 -5
- package/dist/bromcom-ui/p-0d37438e.entry.js +0 -5
- package/dist/bromcom-ui/p-10caf4ce.js +0 -6
- package/dist/bromcom-ui/p-12e845fb.entry.js +0 -5
- package/dist/bromcom-ui/p-1507f99a.entry.js +0 -5
- package/dist/bromcom-ui/p-1808adae.entry.js +0 -5
- package/dist/bromcom-ui/p-23de3629.entry.js +0 -5
- package/dist/bromcom-ui/p-2b91dab0.entry.js +0 -5
- package/dist/bromcom-ui/p-2cfa8d1a.js +0 -5
- package/dist/bromcom-ui/p-3057e85a.entry.js +0 -5
- package/dist/bromcom-ui/p-34c2069d.entry.js +0 -5
- package/dist/bromcom-ui/p-35be5c95.entry.js +0 -5
- package/dist/bromcom-ui/p-3b581c7d.entry.js +0 -5
- package/dist/bromcom-ui/p-3bcefb6e.entry.js +0 -5
- package/dist/bromcom-ui/p-3ee2e4fe.entry.js +0 -5
- package/dist/bromcom-ui/p-41cbecc7.entry.js +0 -5
- package/dist/bromcom-ui/p-42197730.entry.js +0 -5
- package/dist/bromcom-ui/p-44d68311.js +0 -5
- package/dist/bromcom-ui/p-4533663c.entry.js +0 -5
- package/dist/bromcom-ui/p-4be4c5bf.js +0 -5
- package/dist/bromcom-ui/p-4caf9f93.js +0 -5
- package/dist/bromcom-ui/p-4dbbb202.entry.js +0 -5
- package/dist/bromcom-ui/p-522c96a2.js +0 -5
- package/dist/bromcom-ui/p-5273d935.entry.js +0 -5
- package/dist/bromcom-ui/p-52ffb8e1.js +0 -5
- package/dist/bromcom-ui/p-5ad079a6.entry.js +0 -5
- package/dist/bromcom-ui/p-640244fa.entry.js +0 -5
- package/dist/bromcom-ui/p-6ad01d01.entry.js +0 -5
- package/dist/bromcom-ui/p-6c7eb43f.entry.js +0 -5
- package/dist/bromcom-ui/p-6e89ceb2.entry.js +0 -5
- package/dist/bromcom-ui/p-70b13097.entry.js +0 -5
- package/dist/bromcom-ui/p-721534bd.entry.js +0 -5
- package/dist/bromcom-ui/p-7385899c.js +0 -5
- package/dist/bromcom-ui/p-751c94dd.entry.js +0 -5
- package/dist/bromcom-ui/p-799a5570.entry.js +0 -5
- package/dist/bromcom-ui/p-7d76a273.entry.js +0 -5
- package/dist/bromcom-ui/p-7f065a45.entry.js +0 -5
- package/dist/bromcom-ui/p-8907162c.entry.js +0 -5
- package/dist/bromcom-ui/p-92fa0a00.entry.js +0 -5
- package/dist/bromcom-ui/p-99a2cb36.entry.js +0 -5
- package/dist/bromcom-ui/p-9e2b4b55.entry.js +0 -5
- package/dist/bromcom-ui/p-9efe118a.entry.js +0 -5
- package/dist/bromcom-ui/p-a0042349.entry.js +0 -5
- package/dist/bromcom-ui/p-a1c849e7.js +0 -5
- package/dist/bromcom-ui/p-a628aed8.entry.js +0 -5
- package/dist/bromcom-ui/p-a98aecdf.entry.js +0 -5
- package/dist/bromcom-ui/p-b088a98d.entry.js +0 -5
- package/dist/bromcom-ui/p-b4cbf3bd.entry.js +0 -5
- package/dist/bromcom-ui/p-b9983e4b.entry.js +0 -5
- package/dist/bromcom-ui/p-be39c24b.entry.js +0 -5
- package/dist/bromcom-ui/p-bf30bf7f.entry.js +0 -5
- package/dist/bromcom-ui/p-c0e8c481.entry.js +0 -5
- package/dist/bromcom-ui/p-dbb106a4.entry.js +0 -5
- package/dist/bromcom-ui/p-e467d49f.entry.js +0 -5
- package/dist/bromcom-ui/p-e50f0098.entry.js +0 -5
- package/dist/bromcom-ui/p-ebb01d57.entry.js +0 -5
- package/dist/bromcom-ui/p-f4936482.entry.js +0 -5
- package/dist/bromcom-ui/p-fa42b2de.entry.js +0 -5
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -156
- package/dist/cjs/bcm-button_3.cjs.entry.js +0 -530
- package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -239
- package/dist/cjs/bcm-form.cjs.entry.js +0 -486
- package/dist/cjs/bcm-item.cjs.entry.js +0 -83
- package/dist/cjs/bcm-items.cjs.entry.js +0 -61
- package/dist/cjs/bcm-linked.cjs.entry.js +0 -179
- package/dist/cjs/bcm-menu.cjs.entry.js +0 -248
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -183
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -139
- package/dist/cjs/bcm-text.cjs.entry.js +0 -60
- package/dist/cjs/json-parse-decarator-4d8d8097.js +0 -40
- package/dist/cjs/property-decorators-cb2155ed.js +0 -33
- package/dist/collection/assets +0 -0
- package/dist/components/property-decorators.js +0 -31
- package/dist/esm/bcm-avatar_2.entry.js +0 -151
- package/dist/esm/bcm-button_3.entry.js +0 -524
- package/dist/esm/bcm-form.entry.js +0 -482
- package/dist/esm/bcm-item.entry.js +0 -79
- package/dist/esm/bcm-items.entry.js +0 -57
- package/dist/esm/bcm-menu.entry.js +0 -244
- package/dist/esm/bcm-popover.entry.js +0 -179
- package/dist/esm/bcm-switch.entry.js +0 -135
- package/dist/esm/bcm-text.entry.js +0 -56
- package/dist/esm/json-parse-decarator-58394179.js +0 -38
- package/dist/esm/property-decorators-f3f1e7de.js +0 -31
|
@@ -4,11 +4,15 @@
|
|
|
4
4
|
*/
|
|
5
5
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
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
|
-
|
|
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;
|
|
9
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
14
|
};
|
|
11
|
-
import {
|
|
15
|
+
import { h, Host } from '@stencil/core';
|
|
12
16
|
import cs from 'classnames';
|
|
13
17
|
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
14
18
|
import { JsonParse } from '../../../decorators/json-parse-decarator';
|
|
@@ -16,6 +20,7 @@ import { Generate } from '../../../helper/generate';
|
|
|
16
20
|
import Bcm from '../../../models/bcm';
|
|
17
21
|
export class BcmDropdown {
|
|
18
22
|
constructor() {
|
|
23
|
+
this.isOpen = undefined;
|
|
19
24
|
this._id = Generate.UID();
|
|
20
25
|
this.menuId = Generate.UID();
|
|
21
26
|
this.hidden = false;
|
|
@@ -23,18 +28,25 @@ export class BcmDropdown {
|
|
|
23
28
|
this.size = Bcm.Size.medium;
|
|
24
29
|
this.disabled = false;
|
|
25
30
|
this.kind = Bcm.Kind.solid;
|
|
31
|
+
this.icon = undefined;
|
|
32
|
+
this.href = undefined;
|
|
33
|
+
this.target = undefined;
|
|
34
|
+
this.value = undefined;
|
|
26
35
|
this.noStyle = false;
|
|
27
36
|
this.dropdownIcon = 'fas fa-angle-down';
|
|
28
|
-
this.
|
|
37
|
+
this.linkedComponent = undefined;
|
|
29
38
|
this.loading = false;
|
|
39
|
+
this.variant = undefined;
|
|
30
40
|
this.dataDismiss = false;
|
|
31
41
|
this.fullWidth = false;
|
|
32
42
|
this.iconPosition = Bcm.IconPosition.prefix;
|
|
33
|
-
this.
|
|
43
|
+
this.placement = undefined;
|
|
44
|
+
this.height = undefined;
|
|
34
45
|
this.maxHeight = '500px';
|
|
35
46
|
this.minHeight = '50px';
|
|
36
47
|
this.stopDeepClean = false;
|
|
37
48
|
this.selectable = true;
|
|
49
|
+
this.color = undefined;
|
|
38
50
|
this.data = [];
|
|
39
51
|
}
|
|
40
52
|
async dataChanged(newValue) {
|
|
@@ -42,156 +54,25 @@ export class BcmDropdown {
|
|
|
42
54
|
this.data = newValue;
|
|
43
55
|
}
|
|
44
56
|
}
|
|
45
|
-
async
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// if (this.isOpen) {
|
|
52
|
-
// document.body.classList.add(disableScrollClass);
|
|
53
|
-
// } else {
|
|
54
|
-
// document.body.classList.remove(disableScrollClass);
|
|
55
|
-
// }
|
|
56
|
-
}
|
|
57
|
-
handleIsClickDismiss({ detail }) {
|
|
58
|
-
if (this.multiLevel) {
|
|
59
|
-
this.isOpen = detail;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
handleOnClick(event) {
|
|
63
|
-
if (this.linkedComponent)
|
|
64
|
-
return this.linkedComponentClick(event);
|
|
65
|
-
if (this.isOpen) {
|
|
66
|
-
const targetElement = this.linkedComponent ? document.getElementById(this.linkedComponent) : this.el;
|
|
67
|
-
const box = this.getPopoverBox();
|
|
68
|
-
if (box) {
|
|
69
|
-
const isClickBox = Generate.findEventPath(event, box);
|
|
70
|
-
const isClickThis = Generate.findEventPath(event, targetElement);
|
|
71
|
-
if (!isClickBox && !isClickThis) {
|
|
72
|
-
this.isOpen = false;
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
const isClickDismiss = Generate.findEventPathHasAttribute(event, 'data-dismiss');
|
|
76
|
-
if (isClickDismiss) {
|
|
77
|
-
this.isOpen = false;
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
handleWheel(event) {
|
|
84
|
-
if (this.isOpen) {
|
|
85
|
-
const box = this.getPopoverBox();
|
|
86
|
-
if (box) {
|
|
87
|
-
const isClickBox = Generate.findEventPath(event, box);
|
|
88
|
-
const isClickThis = Generate.findEventPath(event, this.el);
|
|
89
|
-
if (!isClickBox && !isClickThis) {
|
|
90
|
-
this.isOpen = false;
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
async setActive(id) {
|
|
97
|
-
if (id) {
|
|
98
|
-
const menu = document.getElementById(`${this.menuId}`);
|
|
99
|
-
if (menu) {
|
|
100
|
-
menu.setActive(id);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
57
|
+
async setActive(id = null) {
|
|
58
|
+
var _a, _b;
|
|
59
|
+
(_b = (_a = document
|
|
60
|
+
.getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll('bcm-menu')) === null || _b === void 0 ? void 0 : _b.forEach(item => {
|
|
61
|
+
item.setActive(id);
|
|
62
|
+
});
|
|
103
63
|
}
|
|
104
64
|
handleSlotItems({ detail }) {
|
|
105
65
|
this.data = detail;
|
|
106
66
|
}
|
|
107
|
-
// connectedCallback() {
|
|
108
|
-
// const disableScrollClass = `bcm-dropdown--disable-scroll-${this._id}`;
|
|
109
|
-
// const styleId = `bcm-dropdown-style-${this._id}`;
|
|
110
|
-
// let style = document.getElementById(styleId);
|
|
111
|
-
// if (!style) {
|
|
112
|
-
// style = document.createElement('style');
|
|
113
|
-
// style.id = styleId;
|
|
114
|
-
// style.innerHTML = `.${disableScrollClass} { overflow: hidden; }`;
|
|
115
|
-
// document.head.appendChild(style);
|
|
116
|
-
// }
|
|
117
|
-
// }
|
|
118
67
|
componentDidLoad() {
|
|
119
|
-
|
|
120
|
-
if (box) {
|
|
121
|
-
box.remove();
|
|
122
|
-
}
|
|
68
|
+
var _a;
|
|
123
69
|
const bcmContent = this.el.querySelector('bcm-content');
|
|
124
70
|
if (bcmContent) {
|
|
125
|
-
|
|
126
|
-
this.createBox();
|
|
127
|
-
this.isOpen = this.isOpen;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
disconnectedCallback() {
|
|
131
|
-
this.isOpen = false;
|
|
132
|
-
if (this.stopDeepClean)
|
|
133
|
-
return;
|
|
134
|
-
const box = this.getPopoverBox();
|
|
135
|
-
if (box) {
|
|
136
|
-
box.remove();
|
|
137
|
-
}
|
|
138
|
-
// const disableScrollClass = `bcm-dropdown--disable-scroll-${this._id}`;
|
|
139
|
-
// document.body.classList.remove(disableScrollClass);
|
|
140
|
-
}
|
|
141
|
-
createBox() {
|
|
142
|
-
const content = this.el.querySelector('bcm-content');
|
|
143
|
-
if (content) {
|
|
144
|
-
const targetElementId = this.linkedComponent ? this.linkedComponent : this._id;
|
|
145
|
-
let box = document.getElementById(`dropdown-box-${this._id}`);
|
|
146
|
-
if (!box) {
|
|
147
|
-
box = document.createElement('old-bcm-popover-box');
|
|
148
|
-
box.setAttribute('id', 'dropdown-box-' + this._id);
|
|
149
|
-
box.setAttribute('target-id', targetElementId);
|
|
150
|
-
box.setAttribute('placement', this.placement || 'bottom-start');
|
|
151
|
-
box.setAttribute('linked-component', targetElementId);
|
|
152
|
-
box.setAttribute('min-height', this.minHeight);
|
|
153
|
-
box.setAttribute('max-height', this.maxHeight);
|
|
154
|
-
box.setAttribute('height', this.height);
|
|
155
|
-
content.style.display = 'block';
|
|
156
|
-
content.removeAttribute('hidden');
|
|
157
|
-
box.appendChild(content);
|
|
158
|
-
document.body.appendChild(box);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
linkedComponentClick(event) {
|
|
163
|
-
const targetElement = document.getElementById(this.linkedComponent);
|
|
164
|
-
const box = document.querySelector(`bcm-popover-box[id="dropdown-box-${this._id}"]`);
|
|
165
|
-
const isClickBox = Generate.findEventPath(event, box);
|
|
166
|
-
const isClickThis = Generate.findEventPath(event, targetElement);
|
|
167
|
-
if (!isClickBox && !isClickThis) {
|
|
168
|
-
this.isOpen = false;
|
|
169
|
-
return;
|
|
170
|
-
}
|
|
171
|
-
if (isClickBox || isClickThis) {
|
|
172
|
-
this.createBox();
|
|
173
|
-
this.isOpen = true;
|
|
174
|
-
this.dropdownLinkedComponent.emit(true);
|
|
175
|
-
}
|
|
176
|
-
const isClickDismiss = Generate.findEventPathHasAttribute(event, 'data-dismiss');
|
|
177
|
-
if (isClickDismiss) {
|
|
178
|
-
this.isOpen = false;
|
|
179
|
-
this.dropdownLinkedComponent.emit(false);
|
|
180
|
-
return;
|
|
71
|
+
(_a = document.getElementById(this.menuId)) === null || _a === void 0 ? void 0 : _a.appendChild(bcmContent);
|
|
181
72
|
}
|
|
182
73
|
}
|
|
183
|
-
checkClick() {
|
|
184
|
-
if (this.getPopoverBox()) {
|
|
185
|
-
this.isOpen = !this.isOpen;
|
|
186
|
-
this.isOpen ? this.getPopoverBox().show() : this.getPopoverBox().hide();
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
getPopoverBox() {
|
|
190
|
-
this.createBox();
|
|
191
|
-
return document.querySelector(`old-bcm-popover-box[id="dropdown-box-${this._id}"]`);
|
|
192
|
-
}
|
|
193
74
|
render() {
|
|
194
|
-
const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth } = this;
|
|
75
|
+
const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth, isOpen } = this;
|
|
195
76
|
const hostClasses = cs('bcm-dropdown', 'bcm-dropdown__type-' + type, {
|
|
196
77
|
'full-width': fullWidth,
|
|
197
78
|
'no-style': this.noStyle,
|
|
@@ -199,659 +80,606 @@ export class BcmDropdown {
|
|
|
199
80
|
});
|
|
200
81
|
const attributes = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (disabled && { disabled })), (loading && { loading })), (kind && { kind })), (size && { size })), (variant && { variant })), (color && { color })), (this.menuId && { 'menu-id': this.menuId }));
|
|
201
82
|
const iconClasses = cs('bcm-dropdown__icon', {
|
|
202
|
-
'bcm-dropdown__icon--open':
|
|
83
|
+
'bcm-dropdown__icon--open': isOpen,
|
|
203
84
|
});
|
|
204
|
-
const dropdownIcon = (h("span", { class: iconClasses },
|
|
205
|
-
|
|
206
|
-
return (h(Host, { class: hostClasses, onClick: () => this.checkClick() },
|
|
207
|
-
h("span", { hidden: true },
|
|
208
|
-
h("slot", null)),
|
|
209
|
-
this.noStyle && h("slot", null),
|
|
210
|
-
!this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })),
|
|
211
|
-
h("slot", null),
|
|
212
|
-
type === 'dropdown' && dropdownIcon)),
|
|
213
|
-
!this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)),
|
|
214
|
-
this.data && this.data.length > 0 && (h("bcm-menu", { id: `${this.menuId}`, "linked-component": `${this._id}-button${type === 'split' ? '-split' : ''}`, data: this.data, "on-bcm-open": e => (this.isOpen = e.detail), "on-bcm-click": e => this.bcmClick.emit(e.detail), placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, selectable: this.selectable }))));
|
|
85
|
+
const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
86
|
+
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail) }))));
|
|
215
87
|
}
|
|
216
88
|
static get is() { return "bcm-dropdown"; }
|
|
217
|
-
static get originalStyleUrls() {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
"
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
"
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
89
|
+
static get originalStyleUrls() {
|
|
90
|
+
return {
|
|
91
|
+
"$": ["dropdown.scss"]
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
static get styleUrls() {
|
|
95
|
+
return {
|
|
96
|
+
"$": ["dropdown.css"]
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
static get properties() {
|
|
100
|
+
return {
|
|
101
|
+
"isOpen": {
|
|
102
|
+
"type": "boolean",
|
|
103
|
+
"mutable": true,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "boolean",
|
|
106
|
+
"resolved": "boolean",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": ""
|
|
114
|
+
},
|
|
115
|
+
"attribute": "open",
|
|
116
|
+
"reflect": false
|
|
117
|
+
},
|
|
118
|
+
"_id": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"mutable": true,
|
|
121
|
+
"complexType": {
|
|
122
|
+
"original": "string",
|
|
123
|
+
"resolved": "string",
|
|
124
|
+
"references": {}
|
|
125
|
+
},
|
|
126
|
+
"required": false,
|
|
127
|
+
"optional": false,
|
|
128
|
+
"docs": {
|
|
129
|
+
"tags": [],
|
|
130
|
+
"text": ""
|
|
131
|
+
},
|
|
132
|
+
"attribute": "id",
|
|
133
|
+
"reflect": true,
|
|
134
|
+
"defaultValue": "Generate.UID()"
|
|
135
|
+
},
|
|
136
|
+
"menuId": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "string",
|
|
141
|
+
"resolved": "string",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": ""
|
|
149
|
+
},
|
|
150
|
+
"attribute": "menu-id",
|
|
151
|
+
"reflect": true,
|
|
152
|
+
"defaultValue": "Generate.UID()"
|
|
153
|
+
},
|
|
154
|
+
"hidden": {
|
|
155
|
+
"type": "boolean",
|
|
156
|
+
"mutable": true,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "boolean",
|
|
159
|
+
"resolved": "boolean",
|
|
160
|
+
"references": {}
|
|
161
|
+
},
|
|
162
|
+
"required": false,
|
|
163
|
+
"optional": false,
|
|
164
|
+
"docs": {
|
|
165
|
+
"tags": [],
|
|
166
|
+
"text": ""
|
|
167
|
+
},
|
|
168
|
+
"attribute": "hidden",
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"defaultValue": "false"
|
|
171
|
+
},
|
|
172
|
+
"type": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": true,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "'dropdown' | 'split'",
|
|
177
|
+
"resolved": "\"dropdown\" | \"split\"",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": false,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [],
|
|
184
|
+
"text": ""
|
|
185
|
+
},
|
|
186
|
+
"attribute": "type",
|
|
187
|
+
"reflect": false,
|
|
188
|
+
"defaultValue": "'dropdown'"
|
|
189
|
+
},
|
|
190
|
+
"size": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"mutable": true,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "SizeTypes",
|
|
195
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
196
|
+
"references": {
|
|
197
|
+
"SizeTypes": {
|
|
198
|
+
"location": "import",
|
|
199
|
+
"path": "../../../models/bcm-types"
|
|
200
|
+
}
|
|
323
201
|
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": ""
|
|
208
|
+
},
|
|
209
|
+
"attribute": "size",
|
|
210
|
+
"reflect": false,
|
|
211
|
+
"defaultValue": "Bcm.Size.medium"
|
|
212
|
+
},
|
|
213
|
+
"disabled": {
|
|
214
|
+
"type": "boolean",
|
|
215
|
+
"mutable": true,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "boolean",
|
|
218
|
+
"resolved": "boolean",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": false,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": ""
|
|
226
|
+
},
|
|
227
|
+
"attribute": "disabled",
|
|
228
|
+
"reflect": false,
|
|
229
|
+
"defaultValue": "false"
|
|
230
|
+
},
|
|
231
|
+
"kind": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"mutable": true,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "KindTypes",
|
|
236
|
+
"resolved": "\"ghost\" | \"link\" | \"solid\"",
|
|
237
|
+
"references": {
|
|
238
|
+
"KindTypes": {
|
|
239
|
+
"location": "import",
|
|
240
|
+
"path": "../../../models/bcm-types"
|
|
241
|
+
}
|
|
364
242
|
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
"docs": {
|
|
527
|
-
"tags": [],
|
|
528
|
-
"text": ""
|
|
529
|
-
},
|
|
530
|
-
"attribute": "loading",
|
|
531
|
-
"reflect": false,
|
|
532
|
-
"defaultValue": "false"
|
|
533
|
-
},
|
|
534
|
-
"variant": {
|
|
535
|
-
"type": "string",
|
|
536
|
-
"mutable": true,
|
|
537
|
-
"complexType": {
|
|
538
|
-
"original": "VariantProp",
|
|
539
|
-
"resolved": "\"reset\" | \"submit\" | \"save\" | \"ok\" | \"new\" | \"add\" | \"create\" | \"apply\" | \"prev\" | \"next\" | \"send\" | \"delete\" | \"cancel\" | \"decline\" | \"close\" | \"archive\" | \"remove\" | \"edit\" | \"export\" | \"import\" | \"filter\" | \"update\" | \"download\"",
|
|
540
|
-
"references": {
|
|
541
|
-
"VariantProp": {
|
|
542
|
-
"location": "import",
|
|
543
|
-
"path": "../../atoms/button/types"
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": false,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": ""
|
|
249
|
+
},
|
|
250
|
+
"attribute": "kind",
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"defaultValue": "Bcm.Kind.solid"
|
|
253
|
+
},
|
|
254
|
+
"icon": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"mutable": true,
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "string",
|
|
259
|
+
"resolved": "string",
|
|
260
|
+
"references": {}
|
|
261
|
+
},
|
|
262
|
+
"required": false,
|
|
263
|
+
"optional": false,
|
|
264
|
+
"docs": {
|
|
265
|
+
"tags": [],
|
|
266
|
+
"text": ""
|
|
267
|
+
},
|
|
268
|
+
"attribute": "icon",
|
|
269
|
+
"reflect": false
|
|
270
|
+
},
|
|
271
|
+
"href": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"mutable": true,
|
|
274
|
+
"complexType": {
|
|
275
|
+
"original": "string",
|
|
276
|
+
"resolved": "string",
|
|
277
|
+
"references": {}
|
|
278
|
+
},
|
|
279
|
+
"required": false,
|
|
280
|
+
"optional": false,
|
|
281
|
+
"docs": {
|
|
282
|
+
"tags": [],
|
|
283
|
+
"text": ""
|
|
284
|
+
},
|
|
285
|
+
"attribute": "href",
|
|
286
|
+
"reflect": false
|
|
287
|
+
},
|
|
288
|
+
"target": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"mutable": true,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "string",
|
|
293
|
+
"resolved": "string",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": ""
|
|
301
|
+
},
|
|
302
|
+
"attribute": "target",
|
|
303
|
+
"reflect": false
|
|
304
|
+
},
|
|
305
|
+
"value": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"mutable": true,
|
|
308
|
+
"complexType": {
|
|
309
|
+
"original": "string",
|
|
310
|
+
"resolved": "string",
|
|
311
|
+
"references": {}
|
|
312
|
+
},
|
|
313
|
+
"required": false,
|
|
314
|
+
"optional": false,
|
|
315
|
+
"docs": {
|
|
316
|
+
"tags": [],
|
|
317
|
+
"text": ""
|
|
318
|
+
},
|
|
319
|
+
"attribute": "value",
|
|
320
|
+
"reflect": false
|
|
321
|
+
},
|
|
322
|
+
"noStyle": {
|
|
323
|
+
"type": "boolean",
|
|
324
|
+
"mutable": true,
|
|
325
|
+
"complexType": {
|
|
326
|
+
"original": "boolean",
|
|
327
|
+
"resolved": "boolean",
|
|
328
|
+
"references": {}
|
|
329
|
+
},
|
|
330
|
+
"required": false,
|
|
331
|
+
"optional": false,
|
|
332
|
+
"docs": {
|
|
333
|
+
"tags": [],
|
|
334
|
+
"text": ""
|
|
335
|
+
},
|
|
336
|
+
"attribute": "no-style",
|
|
337
|
+
"reflect": false,
|
|
338
|
+
"defaultValue": "false"
|
|
339
|
+
},
|
|
340
|
+
"dropdownIcon": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"mutable": true,
|
|
343
|
+
"complexType": {
|
|
344
|
+
"original": "string",
|
|
345
|
+
"resolved": "string",
|
|
346
|
+
"references": {}
|
|
347
|
+
},
|
|
348
|
+
"required": false,
|
|
349
|
+
"optional": false,
|
|
350
|
+
"docs": {
|
|
351
|
+
"tags": [],
|
|
352
|
+
"text": ""
|
|
353
|
+
},
|
|
354
|
+
"attribute": "dropdown-icon",
|
|
355
|
+
"reflect": false,
|
|
356
|
+
"defaultValue": "'fas fa-angle-down'"
|
|
357
|
+
},
|
|
358
|
+
"linkedComponent": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"mutable": true,
|
|
361
|
+
"complexType": {
|
|
362
|
+
"original": "string",
|
|
363
|
+
"resolved": "string",
|
|
364
|
+
"references": {}
|
|
365
|
+
},
|
|
366
|
+
"required": false,
|
|
367
|
+
"optional": false,
|
|
368
|
+
"docs": {
|
|
369
|
+
"tags": [],
|
|
370
|
+
"text": ""
|
|
371
|
+
},
|
|
372
|
+
"attribute": "linked-component",
|
|
373
|
+
"reflect": false
|
|
374
|
+
},
|
|
375
|
+
"loading": {
|
|
376
|
+
"type": "boolean",
|
|
377
|
+
"mutable": false,
|
|
378
|
+
"complexType": {
|
|
379
|
+
"original": "boolean",
|
|
380
|
+
"resolved": "boolean",
|
|
381
|
+
"references": {}
|
|
382
|
+
},
|
|
383
|
+
"required": false,
|
|
384
|
+
"optional": false,
|
|
385
|
+
"docs": {
|
|
386
|
+
"tags": [],
|
|
387
|
+
"text": ""
|
|
388
|
+
},
|
|
389
|
+
"attribute": "loading",
|
|
390
|
+
"reflect": false,
|
|
391
|
+
"defaultValue": "false"
|
|
392
|
+
},
|
|
393
|
+
"variant": {
|
|
394
|
+
"type": "string",
|
|
395
|
+
"mutable": false,
|
|
396
|
+
"complexType": {
|
|
397
|
+
"original": "VariantProp",
|
|
398
|
+
"resolved": "\"filter\" | \"remove\" | \"close\" | \"reset\" | \"submit\" | \"apply\" | \"download\" | \"save\" | \"ok\" | \"new\" | \"add\" | \"create\" | \"prev\" | \"next\" | \"send\" | \"delete\" | \"cancel\" | \"decline\" | \"archive\" | \"edit\" | \"export\" | \"import\" | \"update\"",
|
|
399
|
+
"references": {
|
|
400
|
+
"VariantProp": {
|
|
401
|
+
"location": "import",
|
|
402
|
+
"path": "../../atoms/button/types"
|
|
403
|
+
}
|
|
544
404
|
}
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
405
|
+
},
|
|
406
|
+
"required": false,
|
|
407
|
+
"optional": false,
|
|
408
|
+
"docs": {
|
|
409
|
+
"tags": [],
|
|
410
|
+
"text": ""
|
|
411
|
+
},
|
|
412
|
+
"attribute": "variant",
|
|
413
|
+
"reflect": false
|
|
414
|
+
},
|
|
415
|
+
"dataDismiss": {
|
|
416
|
+
"type": "boolean",
|
|
417
|
+
"mutable": false,
|
|
418
|
+
"complexType": {
|
|
419
|
+
"original": "boolean",
|
|
420
|
+
"resolved": "boolean",
|
|
421
|
+
"references": {}
|
|
422
|
+
},
|
|
423
|
+
"required": false,
|
|
424
|
+
"optional": false,
|
|
425
|
+
"docs": {
|
|
426
|
+
"tags": [],
|
|
427
|
+
"text": ""
|
|
428
|
+
},
|
|
429
|
+
"attribute": "data-dismiss",
|
|
430
|
+
"reflect": false,
|
|
431
|
+
"defaultValue": "false"
|
|
432
|
+
},
|
|
433
|
+
"fullWidth": {
|
|
434
|
+
"type": "boolean",
|
|
435
|
+
"mutable": false,
|
|
436
|
+
"complexType": {
|
|
437
|
+
"original": "boolean",
|
|
438
|
+
"resolved": "boolean",
|
|
439
|
+
"references": {}
|
|
440
|
+
},
|
|
441
|
+
"required": false,
|
|
442
|
+
"optional": false,
|
|
443
|
+
"docs": {
|
|
444
|
+
"tags": [],
|
|
445
|
+
"text": ""
|
|
446
|
+
},
|
|
447
|
+
"attribute": "full-width",
|
|
448
|
+
"reflect": false,
|
|
449
|
+
"defaultValue": "false"
|
|
450
|
+
},
|
|
451
|
+
"iconPosition": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"mutable": false,
|
|
454
|
+
"complexType": {
|
|
455
|
+
"original": "IconPositionTypes",
|
|
456
|
+
"resolved": "\"prefix\" | \"suffix\"",
|
|
457
|
+
"references": {
|
|
458
|
+
"IconPositionTypes": {
|
|
459
|
+
"location": "import",
|
|
460
|
+
"path": "../../../models/bcm-types"
|
|
461
|
+
}
|
|
602
462
|
}
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
463
|
+
},
|
|
464
|
+
"required": false,
|
|
465
|
+
"optional": false,
|
|
466
|
+
"docs": {
|
|
467
|
+
"tags": [],
|
|
468
|
+
"text": ""
|
|
469
|
+
},
|
|
470
|
+
"attribute": "icon-position",
|
|
471
|
+
"reflect": false,
|
|
472
|
+
"defaultValue": "Bcm.IconPosition.prefix"
|
|
473
|
+
},
|
|
474
|
+
"placement": {
|
|
475
|
+
"type": "string",
|
|
476
|
+
"mutable": false,
|
|
477
|
+
"complexType": {
|
|
478
|
+
"original": "PlacementTypes",
|
|
479
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
480
|
+
"references": {
|
|
481
|
+
"PlacementTypes": {
|
|
482
|
+
"location": "import",
|
|
483
|
+
"path": "../../../models/bcm-types"
|
|
484
|
+
}
|
|
625
485
|
}
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
"
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
"
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
"
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
"
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
"
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
"
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
"
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
"
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
"
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
"
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
"
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
"
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
"
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
"
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
"
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
"
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
"
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
"
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
"reflect": false,
|
|
760
|
-
"defaultValue": "[]"
|
|
761
|
-
}
|
|
762
|
-
}; }
|
|
763
|
-
static get events() { return [{
|
|
764
|
-
"method": "bcmClick",
|
|
765
|
-
"name": "bcm-click",
|
|
766
|
-
"bubbles": true,
|
|
767
|
-
"cancelable": true,
|
|
768
|
-
"composed": true,
|
|
769
|
-
"docs": {
|
|
770
|
-
"tags": [],
|
|
771
|
-
"text": ""
|
|
772
|
-
},
|
|
773
|
-
"complexType": {
|
|
774
|
-
"original": "any",
|
|
775
|
-
"resolved": "any",
|
|
776
|
-
"references": {}
|
|
777
|
-
}
|
|
778
|
-
}, {
|
|
779
|
-
"method": "dropdownLinkedComponent",
|
|
780
|
-
"name": "dropdown-linked-component",
|
|
781
|
-
"bubbles": true,
|
|
782
|
-
"cancelable": true,
|
|
783
|
-
"composed": true,
|
|
784
|
-
"docs": {
|
|
785
|
-
"tags": [],
|
|
786
|
-
"text": ""
|
|
787
|
-
},
|
|
788
|
-
"complexType": {
|
|
789
|
-
"original": "any",
|
|
790
|
-
"resolved": "any",
|
|
791
|
-
"references": {}
|
|
486
|
+
},
|
|
487
|
+
"required": false,
|
|
488
|
+
"optional": false,
|
|
489
|
+
"docs": {
|
|
490
|
+
"tags": [],
|
|
491
|
+
"text": ""
|
|
492
|
+
},
|
|
493
|
+
"attribute": "placement",
|
|
494
|
+
"reflect": false
|
|
495
|
+
},
|
|
496
|
+
"height": {
|
|
497
|
+
"type": "any",
|
|
498
|
+
"mutable": false,
|
|
499
|
+
"complexType": {
|
|
500
|
+
"original": "any",
|
|
501
|
+
"resolved": "any",
|
|
502
|
+
"references": {}
|
|
503
|
+
},
|
|
504
|
+
"required": false,
|
|
505
|
+
"optional": false,
|
|
506
|
+
"docs": {
|
|
507
|
+
"tags": [],
|
|
508
|
+
"text": ""
|
|
509
|
+
},
|
|
510
|
+
"attribute": "height",
|
|
511
|
+
"reflect": false
|
|
512
|
+
},
|
|
513
|
+
"maxHeight": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"mutable": false,
|
|
516
|
+
"complexType": {
|
|
517
|
+
"original": "string",
|
|
518
|
+
"resolved": "string",
|
|
519
|
+
"references": {}
|
|
520
|
+
},
|
|
521
|
+
"required": false,
|
|
522
|
+
"optional": false,
|
|
523
|
+
"docs": {
|
|
524
|
+
"tags": [],
|
|
525
|
+
"text": ""
|
|
526
|
+
},
|
|
527
|
+
"attribute": "max-height",
|
|
528
|
+
"reflect": false,
|
|
529
|
+
"defaultValue": "'500px'"
|
|
530
|
+
},
|
|
531
|
+
"minHeight": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"mutable": false,
|
|
534
|
+
"complexType": {
|
|
535
|
+
"original": "string",
|
|
536
|
+
"resolved": "string",
|
|
537
|
+
"references": {}
|
|
538
|
+
},
|
|
539
|
+
"required": false,
|
|
540
|
+
"optional": false,
|
|
541
|
+
"docs": {
|
|
542
|
+
"tags": [],
|
|
543
|
+
"text": ""
|
|
544
|
+
},
|
|
545
|
+
"attribute": "min-height",
|
|
546
|
+
"reflect": false,
|
|
547
|
+
"defaultValue": "'50px'"
|
|
548
|
+
},
|
|
549
|
+
"stopDeepClean": {
|
|
550
|
+
"type": "boolean",
|
|
551
|
+
"mutable": false,
|
|
552
|
+
"complexType": {
|
|
553
|
+
"original": "boolean",
|
|
554
|
+
"resolved": "boolean",
|
|
555
|
+
"references": {}
|
|
556
|
+
},
|
|
557
|
+
"required": false,
|
|
558
|
+
"optional": false,
|
|
559
|
+
"docs": {
|
|
560
|
+
"tags": [],
|
|
561
|
+
"text": ""
|
|
562
|
+
},
|
|
563
|
+
"attribute": "stop-deep-clean",
|
|
564
|
+
"reflect": false,
|
|
565
|
+
"defaultValue": "false"
|
|
566
|
+
},
|
|
567
|
+
"selectable": {
|
|
568
|
+
"type": "boolean",
|
|
569
|
+
"mutable": false,
|
|
570
|
+
"complexType": {
|
|
571
|
+
"original": "boolean",
|
|
572
|
+
"resolved": "boolean",
|
|
573
|
+
"references": {}
|
|
574
|
+
},
|
|
575
|
+
"required": false,
|
|
576
|
+
"optional": false,
|
|
577
|
+
"docs": {
|
|
578
|
+
"tags": [],
|
|
579
|
+
"text": ""
|
|
580
|
+
},
|
|
581
|
+
"attribute": "selectable",
|
|
582
|
+
"reflect": false,
|
|
583
|
+
"defaultValue": "true"
|
|
584
|
+
},
|
|
585
|
+
"color": {
|
|
586
|
+
"type": "any",
|
|
587
|
+
"mutable": false,
|
|
588
|
+
"complexType": {
|
|
589
|
+
"original": "any",
|
|
590
|
+
"resolved": "any",
|
|
591
|
+
"references": {}
|
|
592
|
+
},
|
|
593
|
+
"required": false,
|
|
594
|
+
"optional": false,
|
|
595
|
+
"docs": {
|
|
596
|
+
"tags": [],
|
|
597
|
+
"text": ""
|
|
598
|
+
},
|
|
599
|
+
"attribute": "color",
|
|
600
|
+
"reflect": false
|
|
601
|
+
},
|
|
602
|
+
"data": {
|
|
603
|
+
"type": "any",
|
|
604
|
+
"mutable": true,
|
|
605
|
+
"complexType": {
|
|
606
|
+
"original": "any",
|
|
607
|
+
"resolved": "any",
|
|
608
|
+
"references": {}
|
|
609
|
+
},
|
|
610
|
+
"required": false,
|
|
611
|
+
"optional": false,
|
|
612
|
+
"docs": {
|
|
613
|
+
"tags": [],
|
|
614
|
+
"text": ""
|
|
615
|
+
},
|
|
616
|
+
"attribute": "data",
|
|
617
|
+
"reflect": false,
|
|
618
|
+
"defaultValue": "[]"
|
|
792
619
|
}
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
"
|
|
798
|
-
"
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
"
|
|
803
|
-
"
|
|
804
|
-
|
|
805
|
-
}
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
static get events() {
|
|
623
|
+
return [{
|
|
624
|
+
"method": "bcmClick",
|
|
625
|
+
"name": "bcm-click",
|
|
626
|
+
"bubbles": true,
|
|
627
|
+
"cancelable": true,
|
|
628
|
+
"composed": true,
|
|
629
|
+
"docs": {
|
|
630
|
+
"tags": [],
|
|
631
|
+
"text": ""
|
|
806
632
|
},
|
|
807
|
-
"
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
633
|
+
"complexType": {
|
|
634
|
+
"original": "any",
|
|
635
|
+
"resolved": "any",
|
|
636
|
+
"references": {}
|
|
637
|
+
}
|
|
638
|
+
}];
|
|
639
|
+
}
|
|
640
|
+
static get methods() {
|
|
641
|
+
return {
|
|
642
|
+
"setActive": {
|
|
643
|
+
"complexType": {
|
|
644
|
+
"signature": "(id?: any) => Promise<void>",
|
|
645
|
+
"parameters": [{
|
|
646
|
+
"tags": [],
|
|
647
|
+
"text": ""
|
|
648
|
+
}],
|
|
649
|
+
"references": {
|
|
650
|
+
"Promise": {
|
|
651
|
+
"location": "global"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"return": "Promise<void>"
|
|
655
|
+
},
|
|
656
|
+
"docs": {
|
|
657
|
+
"text": "",
|
|
658
|
+
"tags": []
|
|
659
|
+
}
|
|
812
660
|
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
661
|
+
};
|
|
662
|
+
}
|
|
815
663
|
static get elementRef() { return "el"; }
|
|
816
|
-
static get watchers() {
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
"method": "handleOnClick",
|
|
832
|
-
"target": "window",
|
|
833
|
-
"capture": false,
|
|
834
|
-
"passive": false
|
|
835
|
-
}, {
|
|
836
|
-
"name": "wheel",
|
|
837
|
-
"method": "handleWheel",
|
|
838
|
-
"target": "document",
|
|
839
|
-
"capture": false,
|
|
840
|
-
"passive": false
|
|
841
|
-
}, {
|
|
842
|
-
"name": "bcm-items",
|
|
843
|
-
"method": "handleSlotItems",
|
|
844
|
-
"target": undefined,
|
|
845
|
-
"capture": false,
|
|
846
|
-
"passive": false
|
|
847
|
-
}]; }
|
|
664
|
+
static get watchers() {
|
|
665
|
+
return [{
|
|
666
|
+
"propName": "data",
|
|
667
|
+
"methodName": "dataChanged"
|
|
668
|
+
}];
|
|
669
|
+
}
|
|
670
|
+
static get listeners() {
|
|
671
|
+
return [{
|
|
672
|
+
"name": "bcm-items",
|
|
673
|
+
"method": "handleSlotItems",
|
|
674
|
+
"target": undefined,
|
|
675
|
+
"capture": false,
|
|
676
|
+
"passive": false
|
|
677
|
+
}];
|
|
678
|
+
}
|
|
848
679
|
}
|
|
849
680
|
__decorate([
|
|
850
681
|
IsLoad()
|
|
851
682
|
], BcmDropdown.prototype, "el", void 0);
|
|
852
|
-
__decorate([
|
|
853
|
-
JsonParse('data')
|
|
854
|
-
], BcmDropdown.prototype, "data", void 0);
|
|
855
683
|
__decorate([
|
|
856
684
|
JsonParse('data', true)
|
|
857
685
|
], BcmDropdown.prototype, "dataChanged", null);
|