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
|
@@ -10,8 +10,8 @@ import { G as Generate } from './generate.js';
|
|
|
10
10
|
import { B as Bcm } from './bcm.js';
|
|
11
11
|
import { d as defineCustomElement$5 } from './button.js';
|
|
12
12
|
import { d as defineCustomElement$4 } from './icon.js';
|
|
13
|
-
import { d as defineCustomElement$3 } from './
|
|
14
|
-
import { d as defineCustomElement$2 } from './
|
|
13
|
+
import { d as defineCustomElement$3 } from './linked.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './menu.js';
|
|
15
15
|
|
|
16
16
|
const dropdownCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-dropdown{width:fit-content;display:inline-flex;flex-direction:row}.bcm-dropdown.hidden{display:none}.bcm-dropdown.no-style{cursor:pointer}.bcm-dropdown.full-width{width:100%}.bcm-dropdown.full-width .bcm-button__container-text{flex:1;justify-content:space-between}.bcm-dropdown__type-split .main-button .bcm-button__container{border-top-right-radius:0;border-bottom-right-radius:0}.bcm-dropdown__type-split .split-button .bcm-button__container{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px;min-width:auto}.bcm-dropdown__icon{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;transform:rotate(0deg);transition:transform 0.2s ease}.bcm-dropdown__icon--open{transform:rotate(180deg)}";
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
30
30
|
super();
|
|
31
31
|
this.__registerHost();
|
|
32
32
|
this.bcmClick = createEvent(this, "bcm-click", 7);
|
|
33
|
-
this.
|
|
33
|
+
this.isOpen = undefined;
|
|
34
34
|
this._id = Generate.UID();
|
|
35
35
|
this.menuId = Generate.UID();
|
|
36
36
|
this.hidden = false;
|
|
@@ -38,18 +38,25 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
38
38
|
this.size = Bcm.Size.medium;
|
|
39
39
|
this.disabled = false;
|
|
40
40
|
this.kind = Bcm.Kind.solid;
|
|
41
|
+
this.icon = undefined;
|
|
42
|
+
this.href = undefined;
|
|
43
|
+
this.target = undefined;
|
|
44
|
+
this.value = undefined;
|
|
41
45
|
this.noStyle = false;
|
|
42
46
|
this.dropdownIcon = 'fas fa-angle-down';
|
|
43
|
-
this.
|
|
47
|
+
this.linkedComponent = undefined;
|
|
44
48
|
this.loading = false;
|
|
49
|
+
this.variant = undefined;
|
|
45
50
|
this.dataDismiss = false;
|
|
46
51
|
this.fullWidth = false;
|
|
47
52
|
this.iconPosition = Bcm.IconPosition.prefix;
|
|
48
|
-
this.
|
|
53
|
+
this.placement = undefined;
|
|
54
|
+
this.height = undefined;
|
|
49
55
|
this.maxHeight = '500px';
|
|
50
56
|
this.minHeight = '50px';
|
|
51
57
|
this.stopDeepClean = false;
|
|
52
58
|
this.selectable = true;
|
|
59
|
+
this.color = undefined;
|
|
53
60
|
this.data = [];
|
|
54
61
|
}
|
|
55
62
|
async dataChanged(newValue) {
|
|
@@ -57,156 +64,25 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
57
64
|
this.data = newValue;
|
|
58
65
|
}
|
|
59
66
|
}
|
|
60
|
-
async
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
// if (this.isOpen) {
|
|
67
|
-
// document.body.classList.add(disableScrollClass);
|
|
68
|
-
// } else {
|
|
69
|
-
// document.body.classList.remove(disableScrollClass);
|
|
70
|
-
// }
|
|
71
|
-
}
|
|
72
|
-
handleIsClickDismiss({ detail }) {
|
|
73
|
-
if (this.multiLevel) {
|
|
74
|
-
this.isOpen = detail;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
handleOnClick(event) {
|
|
78
|
-
if (this.linkedComponent)
|
|
79
|
-
return this.linkedComponentClick(event);
|
|
80
|
-
if (this.isOpen) {
|
|
81
|
-
const targetElement = this.linkedComponent ? document.getElementById(this.linkedComponent) : this.el;
|
|
82
|
-
const box = this.getPopoverBox();
|
|
83
|
-
if (box) {
|
|
84
|
-
const isClickBox = Generate.findEventPath(event, box);
|
|
85
|
-
const isClickThis = Generate.findEventPath(event, targetElement);
|
|
86
|
-
if (!isClickBox && !isClickThis) {
|
|
87
|
-
this.isOpen = false;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const isClickDismiss = Generate.findEventPathHasAttribute(event, 'data-dismiss');
|
|
91
|
-
if (isClickDismiss) {
|
|
92
|
-
this.isOpen = false;
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
handleWheel(event) {
|
|
99
|
-
if (this.isOpen) {
|
|
100
|
-
const box = this.getPopoverBox();
|
|
101
|
-
if (box) {
|
|
102
|
-
const isClickBox = Generate.findEventPath(event, box);
|
|
103
|
-
const isClickThis = Generate.findEventPath(event, this.el);
|
|
104
|
-
if (!isClickBox && !isClickThis) {
|
|
105
|
-
this.isOpen = false;
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
async setActive(id) {
|
|
112
|
-
if (id) {
|
|
113
|
-
const menu = document.getElementById(`${this.menuId}`);
|
|
114
|
-
if (menu) {
|
|
115
|
-
menu.setActive(id);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
67
|
+
async setActive(id = null) {
|
|
68
|
+
var _a, _b;
|
|
69
|
+
(_b = (_a = document
|
|
70
|
+
.getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll('bcm-menu')) === null || _b === void 0 ? void 0 : _b.forEach(item => {
|
|
71
|
+
item.setActive(id);
|
|
72
|
+
});
|
|
118
73
|
}
|
|
119
74
|
handleSlotItems({ detail }) {
|
|
120
75
|
this.data = detail;
|
|
121
76
|
}
|
|
122
|
-
// connectedCallback() {
|
|
123
|
-
// const disableScrollClass = `bcm-dropdown--disable-scroll-${this._id}`;
|
|
124
|
-
// const styleId = `bcm-dropdown-style-${this._id}`;
|
|
125
|
-
// let style = document.getElementById(styleId);
|
|
126
|
-
// if (!style) {
|
|
127
|
-
// style = document.createElement('style');
|
|
128
|
-
// style.id = styleId;
|
|
129
|
-
// style.innerHTML = `.${disableScrollClass} { overflow: hidden; }`;
|
|
130
|
-
// document.head.appendChild(style);
|
|
131
|
-
// }
|
|
132
|
-
// }
|
|
133
77
|
componentDidLoad() {
|
|
134
|
-
|
|
135
|
-
if (box) {
|
|
136
|
-
box.remove();
|
|
137
|
-
}
|
|
78
|
+
var _a;
|
|
138
79
|
const bcmContent = this.el.querySelector('bcm-content');
|
|
139
80
|
if (bcmContent) {
|
|
140
|
-
|
|
141
|
-
this.createBox();
|
|
142
|
-
this.isOpen = this.isOpen;
|
|
81
|
+
(_a = document.getElementById(this.menuId)) === null || _a === void 0 ? void 0 : _a.appendChild(bcmContent);
|
|
143
82
|
}
|
|
144
83
|
}
|
|
145
|
-
disconnectedCallback() {
|
|
146
|
-
this.isOpen = false;
|
|
147
|
-
if (this.stopDeepClean)
|
|
148
|
-
return;
|
|
149
|
-
const box = this.getPopoverBox();
|
|
150
|
-
if (box) {
|
|
151
|
-
box.remove();
|
|
152
|
-
}
|
|
153
|
-
// const disableScrollClass = `bcm-dropdown--disable-scroll-${this._id}`;
|
|
154
|
-
// document.body.classList.remove(disableScrollClass);
|
|
155
|
-
}
|
|
156
|
-
createBox() {
|
|
157
|
-
const content = this.el.querySelector('bcm-content');
|
|
158
|
-
if (content) {
|
|
159
|
-
const targetElementId = this.linkedComponent ? this.linkedComponent : this._id;
|
|
160
|
-
let box = document.getElementById(`dropdown-box-${this._id}`);
|
|
161
|
-
if (!box) {
|
|
162
|
-
box = document.createElement('old-bcm-popover-box');
|
|
163
|
-
box.setAttribute('id', 'dropdown-box-' + this._id);
|
|
164
|
-
box.setAttribute('target-id', targetElementId);
|
|
165
|
-
box.setAttribute('placement', this.placement || 'bottom-start');
|
|
166
|
-
box.setAttribute('linked-component', targetElementId);
|
|
167
|
-
box.setAttribute('min-height', this.minHeight);
|
|
168
|
-
box.setAttribute('max-height', this.maxHeight);
|
|
169
|
-
box.setAttribute('height', this.height);
|
|
170
|
-
content.style.display = 'block';
|
|
171
|
-
content.removeAttribute('hidden');
|
|
172
|
-
box.appendChild(content);
|
|
173
|
-
document.body.appendChild(box);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
linkedComponentClick(event) {
|
|
178
|
-
const targetElement = document.getElementById(this.linkedComponent);
|
|
179
|
-
const box = document.querySelector(`bcm-popover-box[id="dropdown-box-${this._id}"]`);
|
|
180
|
-
const isClickBox = Generate.findEventPath(event, box);
|
|
181
|
-
const isClickThis = Generate.findEventPath(event, targetElement);
|
|
182
|
-
if (!isClickBox && !isClickThis) {
|
|
183
|
-
this.isOpen = false;
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
if (isClickBox || isClickThis) {
|
|
187
|
-
this.createBox();
|
|
188
|
-
this.isOpen = true;
|
|
189
|
-
this.dropdownLinkedComponent.emit(true);
|
|
190
|
-
}
|
|
191
|
-
const isClickDismiss = Generate.findEventPathHasAttribute(event, 'data-dismiss');
|
|
192
|
-
if (isClickDismiss) {
|
|
193
|
-
this.isOpen = false;
|
|
194
|
-
this.dropdownLinkedComponent.emit(false);
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
checkClick() {
|
|
199
|
-
if (this.getPopoverBox()) {
|
|
200
|
-
this.isOpen = !this.isOpen;
|
|
201
|
-
this.isOpen ? this.getPopoverBox().show() : this.getPopoverBox().hide();
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
getPopoverBox() {
|
|
205
|
-
this.createBox();
|
|
206
|
-
return document.querySelector(`old-bcm-popover-box[id="dropdown-box-${this._id}"]`);
|
|
207
|
-
}
|
|
208
84
|
render() {
|
|
209
|
-
const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth } = this;
|
|
85
|
+
const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth, isOpen } = this;
|
|
210
86
|
const hostClasses = classnames('bcm-dropdown', 'bcm-dropdown__type-' + type, {
|
|
211
87
|
'full-width': fullWidth,
|
|
212
88
|
'no-style': this.noStyle,
|
|
@@ -214,15 +90,14 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
214
90
|
});
|
|
215
91
|
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 }));
|
|
216
92
|
const iconClasses = classnames('bcm-dropdown__icon', {
|
|
217
|
-
'bcm-dropdown__icon--open':
|
|
93
|
+
'bcm-dropdown__icon--open': isOpen,
|
|
218
94
|
});
|
|
219
95
|
const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
220
|
-
return (h(Host, { class: hostClasses
|
|
96
|
+
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) }))));
|
|
221
97
|
}
|
|
222
98
|
get el() { return this; }
|
|
223
99
|
static get watchers() { return {
|
|
224
|
-
"data": ["dataChanged"]
|
|
225
|
-
"isOpen": ["isOpenChanged"]
|
|
100
|
+
"data": ["dataChanged"]
|
|
226
101
|
}; }
|
|
227
102
|
static get style() { return dropdownCss; }
|
|
228
103
|
}, [4, "bcm-dropdown", {
|
|
@@ -241,28 +116,24 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
241
116
|
"noStyle": [1028, "no-style"],
|
|
242
117
|
"dropdownIcon": [1025, "dropdown-icon"],
|
|
243
118
|
"linkedComponent": [1025, "linked-component"],
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"minHeight": [1025, "min-height"],
|
|
119
|
+
"loading": [4],
|
|
120
|
+
"variant": [1],
|
|
121
|
+
"dataDismiss": [4, "data-dismiss"],
|
|
122
|
+
"fullWidth": [4, "full-width"],
|
|
123
|
+
"iconPosition": [1, "icon-position"],
|
|
124
|
+
"placement": [1],
|
|
125
|
+
"height": [8],
|
|
126
|
+
"maxHeight": [1, "max-height"],
|
|
127
|
+
"minHeight": [1, "min-height"],
|
|
254
128
|
"stopDeepClean": [4, "stop-deep-clean"],
|
|
255
129
|
"selectable": [4],
|
|
256
|
-
"color": [
|
|
130
|
+
"color": [8],
|
|
257
131
|
"data": [1032],
|
|
258
132
|
"setActive": [64]
|
|
259
|
-
}, [[
|
|
133
|
+
}, [[0, "bcm-items", "handleSlotItems"]]]);
|
|
260
134
|
__decorate([
|
|
261
135
|
IsLoad()
|
|
262
136
|
], BcmDropdown$1.prototype, "el", void 0);
|
|
263
|
-
__decorate([
|
|
264
|
-
JsonParse('data')
|
|
265
|
-
], BcmDropdown$1.prototype, "data", void 0);
|
|
266
137
|
__decorate([
|
|
267
138
|
JsonParse('data', true)
|
|
268
139
|
], BcmDropdown$1.prototype, "dataChanged", null);
|
|
@@ -270,7 +141,7 @@ function defineCustomElement$1() {
|
|
|
270
141
|
if (typeof customElements === "undefined") {
|
|
271
142
|
return;
|
|
272
143
|
}
|
|
273
|
-
const components = ["bcm-dropdown", "bcm-button", "bcm-icon", "bcm-
|
|
144
|
+
const components = ["bcm-dropdown", "bcm-button", "bcm-icon", "bcm-linked", "bcm-menu"];
|
|
274
145
|
components.forEach(tagName => { switch (tagName) {
|
|
275
146
|
case "bcm-dropdown":
|
|
276
147
|
if (!customElements.get(tagName)) {
|
|
@@ -287,12 +158,12 @@ function defineCustomElement$1() {
|
|
|
287
158
|
defineCustomElement$4();
|
|
288
159
|
}
|
|
289
160
|
break;
|
|
290
|
-
case "bcm-
|
|
161
|
+
case "bcm-linked":
|
|
291
162
|
if (!customElements.get(tagName)) {
|
|
292
163
|
defineCustomElement$3();
|
|
293
164
|
}
|
|
294
165
|
break;
|
|
295
|
-
case "
|
|
166
|
+
case "bcm-menu":
|
|
296
167
|
if (!customElements.get(tagName)) {
|
|
297
168
|
defineCustomElement$2();
|
|
298
169
|
}
|
|
@@ -38,6 +38,7 @@ const BcmExpansionPanel$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
38
38
|
this.hideToggle = false;
|
|
39
39
|
this.expandIconPosition = 'right';
|
|
40
40
|
this.headerColor = 'white';
|
|
41
|
+
this.tooltip = undefined;
|
|
41
42
|
this.tooltipDefaultValue = {
|
|
42
43
|
message: '',
|
|
43
44
|
placement: 'top',
|
|
@@ -44,11 +44,11 @@ const BcmForm2$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
44
44
|
super();
|
|
45
45
|
this.__registerHost();
|
|
46
46
|
this.bcmForm = createEvent(this, "bcm-form", 7);
|
|
47
|
-
this._id = Generate.UID();
|
|
48
|
-
this.validation = false;
|
|
49
47
|
this.isLoad = false;
|
|
50
48
|
this.formData = {};
|
|
51
49
|
this.formObj = new Map();
|
|
50
|
+
this._id = Generate.UID();
|
|
51
|
+
this.validation = false;
|
|
52
52
|
}
|
|
53
53
|
componentDidLoad() {
|
|
54
54
|
this.isLoad = true;
|
|
@@ -38,32 +38,49 @@ const BcmInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
38
38
|
this.clear = createEvent(this, "bcm-clear", 7);
|
|
39
39
|
this.change = createEvent(this, "bcm-change", 7);
|
|
40
40
|
this.input = createEvent(this, "bcm-input", 7);
|
|
41
|
-
|
|
41
|
+
this.isBlur = false;
|
|
42
42
|
this._id = Generate.UID();
|
|
43
43
|
this._internal_id = Generate.UID();
|
|
44
44
|
this.value = '';
|
|
45
45
|
this.size = Bcm.Size.medium;
|
|
46
|
+
this.label = undefined;
|
|
47
|
+
this.pattern = undefined;
|
|
48
|
+
this.tooltip = undefined;
|
|
49
|
+
this.placeholder = undefined;
|
|
46
50
|
this.disabled = false;
|
|
47
51
|
this.readonly = false;
|
|
48
52
|
this.clearable = false;
|
|
49
53
|
this.autocomplete = false;
|
|
54
|
+
this.name = undefined;
|
|
50
55
|
this.type = Bcm.InputType.text;
|
|
51
56
|
this.hidden = false;
|
|
52
57
|
this.required = false;
|
|
53
58
|
this.fullWidth = false;
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
59
|
+
this.noDefaultIcon = undefined;
|
|
60
|
+
this.disableWatchValue = false // datetimepicker
|
|
61
|
+
;
|
|
62
|
+
this.passwordToggle = false // type password
|
|
63
|
+
;
|
|
56
64
|
this.maxLength = null;
|
|
57
65
|
this.unitPrefix = null;
|
|
66
|
+
this.unit = undefined;
|
|
58
67
|
this.decimal = true;
|
|
68
|
+
this.min = undefined;
|
|
69
|
+
this.max = undefined;
|
|
70
|
+
this.step = undefined;
|
|
71
|
+
this.caption = undefined;
|
|
59
72
|
this.noCaption = false;
|
|
60
73
|
this.captionType = Bcm.Status.default;
|
|
61
|
-
|
|
74
|
+
this.captionError = undefined;
|
|
75
|
+
this.customErrorMessage = undefined;
|
|
76
|
+
this._prefix = undefined;
|
|
77
|
+
this._suffix = undefined;
|
|
78
|
+
this.captionCache = undefined;
|
|
79
|
+
this.captionTypeCache = undefined;
|
|
62
80
|
this.inValid = false;
|
|
63
81
|
this.valueCache = '';
|
|
64
82
|
this.focused = false;
|
|
65
83
|
this.isPasswordVisible = false;
|
|
66
|
-
this.isBlur = false;
|
|
67
84
|
}
|
|
68
85
|
connectedCallback() {
|
|
69
86
|
this.valueCache = this.value;
|
|
@@ -2,198 +2,7 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import { a as Bcm } from './bcm.js';
|
|
7
|
-
import './element-dragger.js';
|
|
8
|
-
import './string-helper.js';
|
|
9
|
-
import { d as delay } from './utils.js';
|
|
10
|
-
import { F as FloatingUI } from './floating-ui.js';
|
|
11
|
-
import './color-helper.js';
|
|
12
|
-
import './validators.js';
|
|
13
|
-
import { G as Generate } from './generate.js';
|
|
14
|
-
import './number-helper.js';
|
|
15
|
-
import { I as IsLoad } from './is-load-decorator.js';
|
|
16
|
-
|
|
17
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
20
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else
|
|
22
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
23
|
-
if (d = decorators[i])
|
|
24
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
25
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26
|
-
};
|
|
27
|
-
const BcmLinked$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
28
|
-
constructor() {
|
|
29
|
-
super();
|
|
30
|
-
this.__registerHost();
|
|
31
|
-
this._id = Generate.UID();
|
|
32
|
-
this.placement = Bcm.Placement['bottom-start'];
|
|
33
|
-
this.trigger = Bcm.TriggerType.click;
|
|
34
|
-
this.targetId = '';
|
|
35
|
-
this.minHeight = '50px';
|
|
36
|
-
this.isOpen = false;
|
|
37
|
-
}
|
|
38
|
-
target() {
|
|
39
|
-
const target = document.querySelectorAll(`[id="${this.targetId}"]`);
|
|
40
|
-
if (target.length > 0) {
|
|
41
|
-
target.length > 1 && console.warn(`[bcm-linked] - Target id "${this.targetId}" is duplicated`);
|
|
42
|
-
return target[0];
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
// console.warn(`[bcm-linked] - id="${this._id}" was removed from the dom because id="${this.targetId}" could not be found.`);
|
|
46
|
-
this.el.remove();
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
dismissEvent() {
|
|
51
|
-
document.dispatchEvent(new CustomEvent('linked-data-dismiss', { detail: { id: this._id } }));
|
|
52
|
-
}
|
|
53
|
-
checkDataDismiss(e) {
|
|
54
|
-
Generate.findEventPathHasAttribute(e, 'data-dismiss') && this.dismissEvent();
|
|
55
|
-
}
|
|
56
|
-
hideChildLinked() {
|
|
57
|
-
this.el.querySelectorAll('[is-linked][linked-is-open]').forEach(item => {
|
|
58
|
-
var _a;
|
|
59
|
-
(_a = document.querySelector(`#${item.getAttribute('is-linked')}[is-open]`)) === null || _a === void 0 ? void 0 : _a.hide(false);
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
calculatePosition() {
|
|
63
|
-
const el = this.el;
|
|
64
|
-
if (el && this.target()) {
|
|
65
|
-
if (this.isOpen) {
|
|
66
|
-
FloatingUI({
|
|
67
|
-
ref: this.target(),
|
|
68
|
-
floating: el,
|
|
69
|
-
placement: this.placement,
|
|
70
|
-
offset: 4,
|
|
71
|
-
autoHidden: el.getAttribute('main-linked') === 'true' ? false : true,
|
|
72
|
-
autoSize: true,
|
|
73
|
-
style: {
|
|
74
|
-
height: this.height,
|
|
75
|
-
maxHeight: this.maxHeight,
|
|
76
|
-
minHeight: this.minHeight,
|
|
77
|
-
},
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
el.style.visibility = 'hidden';
|
|
82
|
-
el.style.opacity = '0';
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
init() {
|
|
87
|
-
const target = this.target();
|
|
88
|
-
if (target) {
|
|
89
|
-
target.setAttribute('is-linked', this.el.id);
|
|
90
|
-
if (!Generate.getAncestor(target, 'bcm-linked')) {
|
|
91
|
-
this.el.setAttribute('main-linked', 'true');
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
this.el.removeAttribute('main-linked');
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
componentDidLoad() {
|
|
99
|
-
this.init();
|
|
100
|
-
document.body.appendChild(this.el);
|
|
101
|
-
}
|
|
102
|
-
onLinkedDataDismis() {
|
|
103
|
-
this.hide(false);
|
|
104
|
-
}
|
|
105
|
-
onBcmFloatingIsHide(e) {
|
|
106
|
-
if (e.detail.id === this._id) {
|
|
107
|
-
this.hide(false);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
async show(wait = true) {
|
|
111
|
-
wait && (await delay(50));
|
|
112
|
-
const target = this.target();
|
|
113
|
-
if (target) {
|
|
114
|
-
document.body.appendChild(this.el);
|
|
115
|
-
target.setAttribute('linked-is-open', 'true');
|
|
116
|
-
this.isOpen = true;
|
|
117
|
-
this.calculatePosition();
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
this.hide(false);
|
|
121
|
-
}
|
|
122
|
-
return this.isOpen;
|
|
123
|
-
}
|
|
124
|
-
async hide(wait = true) {
|
|
125
|
-
wait && (await delay(50));
|
|
126
|
-
const target = this.target();
|
|
127
|
-
if (target) {
|
|
128
|
-
target.removeAttribute('linked-is-open');
|
|
129
|
-
this.hideChildLinked();
|
|
130
|
-
this.isOpen = false;
|
|
131
|
-
}
|
|
132
|
-
return this.isOpen;
|
|
133
|
-
}
|
|
134
|
-
async toggle(wait = true) {
|
|
135
|
-
return this.isOpen ? await this.hide(wait) : await this.show(wait);
|
|
136
|
-
}
|
|
137
|
-
clickListener(e) {
|
|
138
|
-
if (!this.target())
|
|
139
|
-
return;
|
|
140
|
-
const isTarget = Generate.findEventPath(e, this.target());
|
|
141
|
-
if (this.isOpen) {
|
|
142
|
-
isTarget && this.hide(false);
|
|
143
|
-
const isSelf = Generate.findEventPath(e, this.el);
|
|
144
|
-
const isLinked = Generate.findEventPathWithNodeName(e, 'BCM-LINKED');
|
|
145
|
-
isSelf && this.checkDataDismiss(e);
|
|
146
|
-
if (this.el.getAttribute('main-linked') === 'true' && !isTarget && !isSelf && !isLinked) {
|
|
147
|
-
this.dismissEvent();
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
isTarget && this.show(false);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
resizeListener() {
|
|
155
|
-
this.calculatePosition();
|
|
156
|
-
}
|
|
157
|
-
scrollListener() {
|
|
158
|
-
this.calculatePosition();
|
|
159
|
-
}
|
|
160
|
-
wheelListener() {
|
|
161
|
-
this.calculatePosition();
|
|
162
|
-
}
|
|
163
|
-
render() {
|
|
164
|
-
const openStyle = this.isOpen ? { visibility: 'visible', opacity: '1' } : { visibility: 'hidden', opacity: '0' };
|
|
165
|
-
return (h(Host, { class: "tw-block tw-opacity-0 tw-invisible tw-top-0 tw-left-0 tw-rounded tw-bg-white tw-z-tooltip tw-transition-opacity tw-duration-100 tw-shadow tw-overscroll-contain tw-scroll-smooth tw-absolute", style: Object.assign(Object.assign({}, openStyle), { overflow: 'auto' }) }, h("slot", null)));
|
|
166
|
-
}
|
|
167
|
-
get el() { return this; }
|
|
168
|
-
}, [4, "bcm-linked", {
|
|
169
|
-
"_id": [513, "id"],
|
|
170
|
-
"placement": [1],
|
|
171
|
-
"trigger": [1],
|
|
172
|
-
"targetId": [1, "target-id"],
|
|
173
|
-
"height": [1],
|
|
174
|
-
"maxHeight": [1, "max-height"],
|
|
175
|
-
"minHeight": [1, "min-height"],
|
|
176
|
-
"isOpen": [1540, "is-open"],
|
|
177
|
-
"show": [64],
|
|
178
|
-
"hide": [64],
|
|
179
|
-
"toggle": [64]
|
|
180
|
-
}, [[4, "linked-data-dismiss", "onLinkedDataDismis"], [4, "bcm-floating-is-hide", "onBcmFloatingIsHide"], [8, "click", "clickListener"], [9, "resize", "resizeListener"], [9, "scroll", "scrollListener"], [9, "wheel", "wheelListener"]]]);
|
|
181
|
-
__decorate([
|
|
182
|
-
IsLoad()
|
|
183
|
-
], BcmLinked$1.prototype, "el", void 0);
|
|
184
|
-
function defineCustomElement$1() {
|
|
185
|
-
if (typeof customElements === "undefined") {
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
const components = ["bcm-linked"];
|
|
189
|
-
components.forEach(tagName => { switch (tagName) {
|
|
190
|
-
case "bcm-linked":
|
|
191
|
-
if (!customElements.get(tagName)) {
|
|
192
|
-
customElements.define(tagName, BcmLinked$1);
|
|
193
|
-
}
|
|
194
|
-
break;
|
|
195
|
-
} });
|
|
196
|
-
}
|
|
5
|
+
import { B as BcmLinked$1, d as defineCustomElement$1 } from './linked.js';
|
|
197
6
|
|
|
198
7
|
const BcmLinked = BcmLinked$1;
|
|
199
8
|
const defineCustomElement = defineCustomElement$1;
|