bromcom-ui 2.9.0-rc.2 → 2.9.0-rc.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/global/global.js +19 -5
- package/dist/bromcom-ui/global/helper/toast.ts +2 -0
- package/dist/bromcom-ui/{p-4eb98beb.entry.js → p-027fcca4.entry.js} +1 -1
- package/dist/bromcom-ui/p-03a43724.entry.js +5 -0
- package/dist/bromcom-ui/p-05b33e0a.entry.js +5 -0
- package/dist/bromcom-ui/p-08c75801.js +5 -0
- package/dist/bromcom-ui/p-1289ca7c.entry.js +5 -0
- package/dist/bromcom-ui/{p-4cd8a7c8.entry.js → p-14cafd64.entry.js} +1 -1
- package/dist/bromcom-ui/p-15ac2f9b.entry.js +5 -0
- package/dist/bromcom-ui/p-15f4b17b.js +5 -0
- package/dist/bromcom-ui/p-170cf07d.js +6 -0
- package/dist/bromcom-ui/p-1bc0cea5.entry.js +5 -0
- package/dist/bromcom-ui/p-1c344eb6.js +5 -0
- package/dist/bromcom-ui/{p-e4477593.entry.js → p-1c801d0c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-48f85544.entry.js → p-1c9314bd.entry.js} +1 -1
- package/dist/bromcom-ui/p-1f431229.entry.js +5 -0
- package/dist/bromcom-ui/{p-8ded5483.entry.js → p-228c74e9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ee8aa496.js → p-23b91029.js} +1 -1
- package/dist/bromcom-ui/p-24ae2291.entry.js +5 -0
- package/dist/bromcom-ui/p-2621356f.entry.js +5 -0
- package/dist/bromcom-ui/{p-68abefd2.entry.js → p-26290ed5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-240151d4.entry.js → p-2aaeb247.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dbc4c30c.js → p-2c5a0863.js} +1 -1
- package/dist/bromcom-ui/{p-9e58b42a.js → p-2e003abd.js} +1 -1
- package/dist/bromcom-ui/p-3432a82d.js +19 -0
- package/dist/bromcom-ui/p-42c4f7ba.entry.js +5 -0
- package/dist/bromcom-ui/{p-30788121.entry.js → p-430c0a24.entry.js} +1 -1
- package/dist/bromcom-ui/p-4605fc71.entry.js +5 -0
- package/dist/bromcom-ui/p-4b963ea9.entry.js +5 -0
- package/dist/bromcom-ui/p-4e7dc8c5.entry.js +5 -0
- package/dist/bromcom-ui/p-4fc4adf7.entry.js +5 -0
- package/dist/bromcom-ui/p-50623c4a.entry.js +5 -0
- package/dist/bromcom-ui/p-562262b5.entry.js +5 -0
- package/dist/bromcom-ui/{p-dc2c4b14.entry.js → p-5699f67d.entry.js} +1 -1
- package/dist/bromcom-ui/p-5871767a.entry.js +5 -0
- package/dist/bromcom-ui/{p-03eaa3e0.entry.js → p-5afb94fb.entry.js} +1 -1
- package/dist/bromcom-ui/p-5b0c89b9.js +5 -0
- package/dist/bromcom-ui/p-5b5aa96d.js +5 -0
- package/dist/bromcom-ui/{p-795bdb81.entry.js → p-5c1ee978.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ea466da.entry.js +5 -0
- package/dist/bromcom-ui/p-6037f210.entry.js +5 -0
- package/dist/bromcom-ui/p-61b74ccf.entry.js +5 -0
- package/dist/bromcom-ui/p-61db1f1f.js +5 -0
- package/dist/bromcom-ui/{p-89e1d8c5.entry.js → p-626b805d.entry.js} +1 -1
- package/dist/bromcom-ui/p-62a4589f.entry.js +5 -0
- package/dist/bromcom-ui/{p-f81dfa79.entry.js → p-62c15599.entry.js} +1 -1
- package/dist/bromcom-ui/{p-476474f5.js → p-641cd771.js} +1 -1
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/p-65a4b1e3.js +5 -0
- package/dist/bromcom-ui/{p-03134b6f.entry.js → p-67343ad8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bd51d347.entry.js → p-69260d36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4aa0e6b1.js → p-6edf985f.js} +1 -1
- package/dist/bromcom-ui/p-72372580.entry.js +5 -0
- package/dist/bromcom-ui/{p-3cde7f38.js → p-74e6d2b6.js} +1 -1
- package/dist/bromcom-ui/{p-d995750a.entry.js → p-7c5763cc.entry.js} +1 -1
- package/dist/bromcom-ui/p-7cb30513.js +5 -0
- package/dist/bromcom-ui/p-7ceea271.entry.js +5 -0
- package/dist/bromcom-ui/{p-81eeccfa.entry.js → p-7d18ce0e.entry.js} +1 -1
- package/dist/bromcom-ui/p-7d700834.entry.js +5 -0
- package/dist/bromcom-ui/{p-d832cf50.entry.js → p-80ee3d97.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c3f145fe.entry.js → p-83d1fd59.entry.js} +1 -1
- package/dist/bromcom-ui/p-8520b17f.entry.js +5 -0
- package/dist/bromcom-ui/{p-1bd9bd4d.entry.js → p-856d05cb.entry.js} +1 -1
- package/dist/bromcom-ui/p-85a95c62.entry.js +5 -0
- package/dist/bromcom-ui/p-85eedabc.js +5 -0
- package/dist/bromcom-ui/p-89779d2b.entry.js +5 -0
- package/dist/bromcom-ui/{p-932f2502.entry.js → p-9473c602.entry.js} +1 -1
- package/dist/bromcom-ui/p-9850cbce.js +5 -0
- package/dist/bromcom-ui/{p-1647559e.entry.js → p-99824717.entry.js} +1 -1
- package/dist/bromcom-ui/p-9c43f91b.entry.js +5 -0
- package/dist/bromcom-ui/{p-b60bcecf.js → p-a1b1750c.js} +1 -1
- package/dist/bromcom-ui/{p-7c6e3ae5.entry.js → p-a664cc20.entry.js} +1 -1
- package/dist/bromcom-ui/p-a9eb0321.js +315 -0
- package/dist/bromcom-ui/p-ac77ad0b.entry.js +5 -0
- package/dist/bromcom-ui/{p-ea4d8a18.entry.js → p-ae57f046.entry.js} +1 -1
- package/dist/bromcom-ui/p-b1f32d16.entry.js +5 -0
- package/dist/bromcom-ui/p-b2cabcb8.entry.js +7 -0
- package/dist/bromcom-ui/p-b81e8f91.js +5 -0
- package/dist/bromcom-ui/{p-f4538abb.entry.js → p-ba9eff2a.entry.js} +1 -1
- package/dist/bromcom-ui/p-be19827b.entry.js +5 -0
- package/dist/bromcom-ui/{p-c9d687bb.entry.js → p-be1a3642.entry.js} +1 -1
- package/dist/bromcom-ui/p-bfb1129e.entry.js +5 -0
- package/dist/bromcom-ui/p-c09188a5.entry.js +5 -0
- package/dist/bromcom-ui/{p-dc9466d6.entry.js → p-c1a992e7.entry.js} +1 -1
- package/dist/bromcom-ui/p-c5647ba3.entry.js +5 -0
- package/dist/bromcom-ui/p-ca8f539d.entry.js +5 -0
- package/dist/bromcom-ui/p-ccf0872d.js +5 -0
- package/dist/bromcom-ui/{p-8d0ca8c2.js → p-d153c7fc.js} +1 -1
- package/dist/bromcom-ui/{p-7ddaedb7.entry.js → p-d551a51d.entry.js} +1 -1
- package/dist/bromcom-ui/p-d8cca259.entry.js +5 -0
- package/dist/bromcom-ui/p-dadc4391.entry.js +5 -0
- package/dist/bromcom-ui/p-daf17207.entry.js +5 -0
- package/dist/bromcom-ui/{p-5648b456.entry.js → p-e688b044.entry.js} +1 -1
- package/dist/bromcom-ui/p-eacf5375.entry.js +5 -0
- package/dist/bromcom-ui/{p-6ca980dd.entry.js → p-ece578ef.entry.js} +1 -1
- package/dist/bromcom-ui/p-edeb7592.js +5 -0
- package/dist/bromcom-ui/p-ee5cd93c.entry.js +5 -0
- package/dist/bromcom-ui/p-f47f9452.entry.js +5 -0
- package/dist/bromcom-ui/{p-84e8e5ee.entry.js → p-f53de6bd.entry.js} +1 -1
- package/dist/bromcom-ui/p-f711588b.js +5 -0
- package/dist/bromcom-ui/{p-f619f9f9.entry.js → p-fff1a0f9.entry.js} +1 -1
- package/dist/bromcom-ui/{assets/icon → static}/message-bot.svg +2 -2
- package/dist/cjs/{_commonjsHelpers-bd20f4c0.js → _commonjsHelpers-ed84c3ca.js} +16 -0
- package/dist/cjs/{bcm-ab921827.js → bcm-7f703055.js} +33 -31
- package/dist/cjs/bcm-accordion.cjs.entry.js +5 -4
- package/dist/cjs/bcm-alert.cjs.entry.js +9 -8
- package/dist/cjs/bcm-attendance.cjs.entry.js +5 -4
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
- package/dist/cjs/bcm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/bcm-button-group.cjs.entry.js +11 -10
- package/dist/cjs/{bcm-avatar_15.cjs.entry.js → bcm-button_15.cjs.entry.js} +17123 -5494
- package/dist/cjs/bcm-card.cjs.entry.js +10 -9
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +15 -14
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +10 -9
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +18 -17
- package/dist/cjs/bcm-chip-group.cjs.entry.js +128 -0
- package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +6 -5
- package/dist/cjs/bcm-color-input.cjs.entry.js +10 -10
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-default.cjs.entry.js +5 -4
- package/dist/cjs/bcm-drawer.cjs.entry.js +13 -13
- package/dist/cjs/bcm-dropdown.cjs.entry.js +12 -11
- package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -8
- package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -5
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +309 -0
- package/dist/cjs/bcm-item.cjs.entry.js +9 -8
- package/dist/cjs/bcm-items.cjs.entry.js +8 -7
- package/dist/cjs/bcm-link.cjs.entry.js +6 -6
- package/dist/cjs/bcm-list_3.cjs.entry.js +2504 -0
- package/dist/cjs/bcm-menu.cjs.entry.js +15 -14
- package/dist/cjs/bcm-message.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -11
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -10
- package/dist/cjs/bcm-modal-2.cjs.entry.js +12 -12
- package/dist/cjs/bcm-modal.cjs.entry.js +11 -10
- package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +10 -9
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +9 -8
- package/dist/cjs/bcm-popover.cjs.entry.js +27 -23
- package/dist/cjs/bcm-progress.cjs.entry.js +9 -8
- package/dist/cjs/bcm-radio-group.cjs.entry.js +17 -17
- package/dist/cjs/bcm-radio.cjs.entry.js +18 -18
- package/dist/cjs/bcm-range.cjs.entry.js +10 -9
- package/dist/cjs/bcm-result.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select-option.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +5 -4
- package/dist/cjs/bcm-step.cjs.entry.js +8 -7
- package/dist/cjs/bcm-stepper.cjs.entry.js +15 -15
- package/dist/cjs/bcm-switch.cjs.entry.js +15 -14
- package/dist/cjs/bcm-tab-group.cjs.entry.js +16 -12
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +23 -38
- package/dist/cjs/bcm-tab-item.cjs.entry.js +10 -10
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +7648 -38
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +19 -18
- package/dist/cjs/bcm-text.cjs.entry.js +8 -8
- package/dist/cjs/bcm-textarea.cjs.entry.js +13 -12
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
- package/dist/cjs/bcm-toast.cjs.entry.js +38 -18
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +5 -3
- package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
- package/dist/cjs/{color-helper-d6d2028b.js → color-helper-c3a819ea.js} +28 -2
- package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
- package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-b441ea7c.js} +2 -2
- package/dist/cjs/{generate-7a3874e6.js → generate-e4ab2b4f.js} +57 -8
- package/dist/cjs/global-daef09f5.js +27 -0
- package/dist/cjs/index-5279dea2.js +2571 -0
- package/dist/cjs/index-7eed931f.js +2146 -0
- package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
- package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
- package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
- package/dist/cjs/{input-template-e084bbd6.js → input-template-df664530.js} +8 -8
- package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-15036f37.js} +3 -2
- package/dist/cjs/{json-parse-decarator-4109072c.js → json-parse-decarator-6fc25e8b.js} +2 -2
- package/dist/cjs/{label-template-4d5f99a5.js → label-template-80235581.js} +5 -5
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/{number-helper-74aaf353.js → number-helper-503ec94b.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -10
- package/dist/cjs/old-bcm-popover.cjs.entry.js +9 -8
- package/dist/cjs/package-f2f16e36.js +9 -0
- package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-f20020a6.js} +1 -1
- package/dist/cjs/{slot-template-d70ea082.js → slot-template-873b0cd5.js} +2 -2
- package/dist/cjs/{stepper-states-200cd290.js → stepper-states-7cd499d8.js} +3 -3
- package/dist/cjs/{string-helper-d681e5c7.js → string-helper-fda7cbba.js} +5 -5
- package/dist/cjs/{tooltip-helper-78dc5455.js → tooltip-helper-84c3e624.js} +22 -15
- package/dist/cjs/{validators-bb44ca0c.js → validators-9f203109.js} +6 -1
- package/dist/cjs/watermark-2c23c8f1.js +47499 -0
- package/dist/collection/assets/csv.svg +9 -0
- package/dist/collection/assets/excel.svg +9 -0
- package/dist/collection/assets/pdf.svg +9 -0
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/atoms/avatar/avatar.js +94 -81
- package/dist/collection/components/atoms/avatar/avatar.style.js +42 -0
- package/dist/collection/components/atoms/badge/badge.js +30 -90
- package/dist/collection/components/atoms/badge/badge.style.js +51 -0
- package/dist/collection/components/atoms/button/button.css +55 -0
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/icon/icon.js +4 -3
- package/dist/collection/{assets/icon → components/atoms/icon/static}/message-bot.svg +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.js +1 -1
- package/dist/collection/components/molecules/input/input.js +4 -6
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +291 -0
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +751 -0
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.style.js +73 -0
- package/dist/collection/components/molecules/items/items.js +1 -1
- package/dist/collection/components/molecules/linked/linked.js +17 -29
- package/dist/collection/components/molecules/menu/menu.js +1 -0
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +2 -2
- package/dist/collection/components/molecules/tab-group/tab-group.js +5 -1
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +11 -26
- package/dist/collection/components/molecules/tooltip/tooltip.js +2 -2
- package/dist/collection/components/organism/date-picker/date-picker.css +1 -1
- package/dist/collection/components/organism/date-picker/date-picker.js +20 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +13 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +36 -2
- package/dist/collection/components/organism/form/form.js +1 -0
- package/dist/collection/components/organism/form-2/bcm-form-components.js +4 -1
- package/dist/collection/components/organism/list/list.css +1 -1
- package/dist/collection/components/organism/list/list.js +63 -22
- package/dist/collection/components/organism/time-picker/time-picker.css +1 -1
- package/dist/collection/components/organism/time-picker/time-picker.js +20 -1
- package/dist/collection/components/other/toast/toast.js +48 -11
- package/dist/collection/components/other/typography/typography.js +1 -1
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +1 -1
- package/dist/collection/components/third-parts/rc-picker/date.js +862 -0
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +1009 -0
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +550 -0
- package/dist/collection/components/third-parts/table/table-definations.js +42 -0
- package/dist/collection/components/third-parts/table/table.css +136 -0
- package/dist/collection/components/third-parts/table/table.js +288 -0
- package/dist/collection/decorators/bcm-decorator.js +28 -0
- package/dist/collection/decorators/event-decorator.js +31 -0
- package/dist/collection/decorators/index.js +1 -0
- package/dist/collection/decorators/is-load-decorator.js +2 -1
- package/dist/collection/global/global.js +19 -5
- package/dist/collection/global/helper/toast.js +1 -0
- package/dist/collection/global/helper/toast.ts +2 -0
- package/dist/collection/helper/color-helper.js +27 -1
- package/dist/collection/helper/generate.js +54 -4
- package/dist/collection/helper/popover-helper.js +13 -9
- package/dist/collection/helper/string-helper.js +2 -2
- package/dist/collection/helper/tooltip-helper.js +12 -4
- package/dist/collection/models/bcm.js +29 -27
- package/dist/collection/templates/index.js +2 -0
- package/dist/collection/templates/toolbar-hamburger-template.js +14 -0
- package/dist/collection/templates/toolbar-template.js +15 -0
- package/dist/components/_commonjsHelpers.js +16 -1
- package/dist/components/avatar.js +93 -52
- package/dist/components/badge.js +77 -45
- package/dist/components/bcm-chip-group.js +14 -8
- package/dist/components/bcm-date-picker.js +4 -2
- package/dist/components/bcm-date.d.ts +11 -0
- package/dist/components/bcm-date.js +232 -0
- package/dist/components/bcm-form-2.js +4 -1
- package/dist/components/bcm-form.js +1 -0
- package/dist/components/bcm-input-dropdown.d.ts +11 -0
- package/dist/components/bcm-input-dropdown.js +395 -0
- package/dist/components/bcm-items.js +1 -1
- package/dist/components/bcm-popover.js +14 -10
- package/dist/components/bcm-rc-picker.d.ts +11 -0
- package/dist/components/bcm-rc-picker.js +10 -0
- package/dist/components/bcm-tab-group.js +5 -1
- package/dist/components/bcm-tab-item-header.js +11 -26
- package/dist/components/bcm-table.js +55128 -41
- package/dist/components/bcm-textarea.js +1 -214
- package/dist/components/bcm-time-picker.js +4 -2
- package/dist/components/bcm-toast.js +30 -10
- package/dist/components/bcm.js +29 -27
- package/dist/components/button.js +1 -1
- package/dist/components/chip.js +12 -6
- package/dist/components/color-helper.js +27 -1
- package/dist/components/colors2.js +1 -1
- package/dist/components/datetime-picker.js +20 -3
- package/dist/components/generate.js +57 -7
- package/dist/components/icon.js +4 -3
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +17 -3
- package/dist/components/index3.js +5 -1
- package/dist/components/index5.js +2569 -0
- package/dist/components/input.js +4 -6
- package/dist/components/is-load-decorator.js +2 -1
- package/dist/components/linked.js +17 -11
- package/dist/components/list.js +22 -8
- package/dist/components/menu.js +1 -0
- package/dist/components/raf.js +1594 -0
- package/dist/components/rc-overflow.js +32 -1557
- package/dist/components/rc-picker.js +14030 -0
- package/dist/components/string-helper.js +2 -2
- package/dist/components/textarea.js +220 -0
- package/dist/components/tooltip-helper.js +12 -4
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.js +1 -1
- package/dist/esm/{_commonjsHelpers-3016b722.js → _commonjsHelpers-7002e5de.js} +16 -1
- package/dist/esm/bcm-accordion.entry.js +5 -4
- package/dist/esm/bcm-alert.entry.js +9 -8
- package/dist/esm/bcm-attendance.entry.js +5 -4
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-avatar_2.entry.js +204 -0
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -5
- package/dist/esm/bcm-button-group.entry.js +8 -7
- package/dist/esm/{bcm-avatar_15.entry.js → bcm-button_15.entry.js} +17114 -5485
- package/dist/esm/bcm-card.entry.js +10 -9
- package/dist/esm/bcm-checkbox-group.entry.js +12 -11
- package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -6
- package/dist/esm/bcm-checkbox_2.entry.js +13 -12
- package/dist/esm/bcm-chip-group.entry.js +124 -0
- package/dist/esm/bcm-chip.entry.js +87 -0
- package/dist/esm/bcm-collapse-group.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +6 -5
- package/dist/esm/bcm-color-input.entry.js +10 -10
- package/dist/esm/bcm-colorpicker.entry.js +3 -3
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/{bcm-9f50af9c.js → bcm-d45dc47d.js} +30 -28
- package/dist/esm/bcm-default.entry.js +5 -4
- package/dist/esm/bcm-drawer.entry.js +11 -11
- package/dist/esm/bcm-dropdown.entry.js +9 -8
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +9 -8
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +6 -5
- package/dist/esm/bcm-input-dropdown.entry.js +305 -0
- package/dist/esm/bcm-item.entry.js +8 -7
- package/dist/esm/bcm-items.entry.js +8 -7
- package/dist/esm/bcm-link.entry.js +4 -4
- package/dist/esm/bcm-list_3.entry.js +2498 -0
- package/dist/esm/bcm-menu.entry.js +15 -14
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
- package/dist/esm/bcm-modal-2-header.entry.js +10 -10
- package/dist/esm/bcm-modal-2.entry.js +11 -11
- package/dist/esm/bcm-modal.entry.js +9 -8
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-old-tag_2.entry.js +3 -3
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +10 -9
- package/dist/esm/bcm-popconfirm.entry.js +7 -6
- package/dist/esm/bcm-popover.entry.js +25 -21
- package/dist/esm/bcm-progress.entry.js +8 -7
- package/dist/esm/bcm-radio-group.entry.js +13 -13
- package/dist/esm/bcm-radio.entry.js +11 -11
- package/dist/esm/bcm-range.entry.js +7 -6
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-select.entry.js +5 -5
- package/dist/esm/bcm-skeleton.entry.js +5 -4
- package/dist/esm/bcm-step.entry.js +8 -7
- package/dist/esm/bcm-stepper.entry.js +13 -13
- package/dist/esm/bcm-switch.entry.js +9 -8
- package/dist/esm/bcm-tab-group.entry.js +15 -11
- package/dist/esm/bcm-tab-item-header.entry.js +22 -37
- package/dist/esm/bcm-tab-item.entry.js +10 -10
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +7649 -39
- package/dist/esm/bcm-tabs-content.entry.js +3 -3
- package/dist/esm/bcm-tabs.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +8 -7
- package/dist/esm/bcm-text.entry.js +8 -8
- package/dist/esm/bcm-textarea.entry.js +10 -9
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +37 -17
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +6 -4
- package/dist/esm/{caption-template-34a1cb44.js → caption-template-d47f338f.js} +2 -2
- package/dist/esm/{color-helper-e8ce23d7.js → color-helper-845ba523.js} +28 -2
- package/dist/esm/{colors-44c95e7e.js → colors-ebea297f.js} +1 -1
- package/dist/esm/{floating-ui-e7341329.js → floating-ui-8a0c54d6.js} +1 -1
- package/dist/esm/{generate-1d92d93f.js → generate-57891049.js} +56 -7
- package/dist/esm/global-8776af02.js +25 -0
- package/dist/esm/{index-ed9652af.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-348b16ad.js → index-0615c2b8.js} +3 -1
- package/dist/esm/index-3bc8c6e3.js +2569 -0
- package/dist/esm/{index-0052017c.js → index-7e71bbc8.js} +1 -1
- package/dist/esm/index-e4b6a4ce.js +2127 -0
- package/dist/esm/{input-template-56856d9f.js → input-template-4fa1fd77.js} +4 -4
- package/dist/esm/{is-load-decorator-07d3502a.js → is-load-decorator-8277e3b8.js} +3 -2
- package/dist/esm/{json-parse-decarator-e7df9b9c.js → json-parse-decarator-7b5467e6.js} +2 -2
- package/dist/esm/{label-template-98dafeb3.js → label-template-946d4062.js} +4 -4
- package/dist/esm/loader.js +6 -4
- package/dist/esm/{number-helper-81eade81.js → number-helper-be8c3021.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -10
- package/dist/esm/old-bcm-popover.entry.js +7 -6
- package/dist/esm/package-9a6c49c8.js +7 -0
- package/dist/esm/{popover-placement-78f86f15.js → popover-placement-be68c848.js} +1 -1
- package/dist/esm/{slot-template-672e941d.js → slot-template-fcc7846e.js} +2 -2
- package/dist/esm/{stepper-states-0f148601.js → stepper-states-a8cd98ea.js} +3 -3
- package/dist/esm/{string-helper-6bd24967.js → string-helper-b0e05041.js} +4 -4
- package/dist/esm/{tooltip-helper-4ca9442e.js → tooltip-helper-4a1a3abe.js} +19 -12
- package/dist/esm/{validators-7e3c0c33.js → validators-37ce5ff0.js} +6 -2
- package/dist/esm/watermark-f2c6a1f9.js +47477 -0
- package/dist/types/components/atoms/avatar/avatar.d.ts +6 -10
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +181 -0
- package/dist/types/components/atoms/badge/badge.d.ts +3 -7
- package/dist/types/components/atoms/badge/badge.style.d.ts +174 -0
- package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +51 -0
- package/dist/types/components/molecules/input-dropdown/input-dropdown.style.d.ts +307 -0
- package/dist/types/components/molecules/linked/linked.d.ts +2 -3
- package/dist/types/components/organism/date-picker/date-picker.d.ts +1 -0
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +2 -0
- package/dist/types/components/organism/list/list.d.ts +4 -0
- package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -0
- package/dist/types/components/other/toast/toast.d.ts +2 -0
- package/dist/types/components/third-parts/rc-picker/date.d.ts +175 -0
- package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +47 -0
- package/dist/types/components/third-parts/table/table-definations.d.ts +28 -0
- package/dist/types/components/third-parts/table/table.d.ts +37 -0
- package/dist/types/components.d.ts +255 -16
- package/dist/types/decorators/bcm-decorator.d.ts +2 -0
- package/dist/types/decorators/event-decorator.d.ts +2 -0
- package/dist/types/decorators/index.d.ts +1 -0
- package/dist/types/global/helper/toast.d.ts +2 -0
- package/dist/types/helper/color-helper.d.ts +22 -2
- package/dist/types/helper/generate.d.ts +21 -1
- package/dist/types/helper/popover-helper.d.ts +0 -5
- package/dist/types/helper/tooltip-helper.d.ts +0 -1
- package/dist/types/models/bcm.d.ts +256 -236
- package/dist/types/templates/index.d.ts +2 -0
- package/dist/types/templates/toolbar-hamburger-template.d.ts +12 -0
- package/dist/types/templates/toolbar-template.d.ts +13 -0
- package/helper/toast.d.ts +2 -0
- package/helper/toast.d.ts.map +1 -1
- package/helper/toast.js +1 -0
- package/package.json +15 -6
- package/dist/bromcom-ui/p-013cab7e.entry.js +0 -5
- package/dist/bromcom-ui/p-086b7209.entry.js +0 -5
- package/dist/bromcom-ui/p-09fb72c8.entry.js +0 -19
- package/dist/bromcom-ui/p-10c75cb9.entry.js +0 -5
- package/dist/bromcom-ui/p-1246d793.entry.js +0 -5
- package/dist/bromcom-ui/p-1992f372.entry.js +0 -5
- package/dist/bromcom-ui/p-21fbc7e9.entry.js +0 -5
- package/dist/bromcom-ui/p-254c9a65.entry.js +0 -5
- package/dist/bromcom-ui/p-2640e867.entry.js +0 -5
- package/dist/bromcom-ui/p-2c95ea4e.entry.js +0 -5
- package/dist/bromcom-ui/p-2d90806c.entry.js +0 -5
- package/dist/bromcom-ui/p-2fc1a879.js +0 -5
- package/dist/bromcom-ui/p-30a3320f.entry.js +0 -5
- package/dist/bromcom-ui/p-3be85482.entry.js +0 -5
- package/dist/bromcom-ui/p-4d80d43d.entry.js +0 -5
- package/dist/bromcom-ui/p-4f8b00bc.entry.js +0 -5
- package/dist/bromcom-ui/p-4fb382d4.entry.js +0 -5
- package/dist/bromcom-ui/p-4ffd862d.entry.js +0 -5
- package/dist/bromcom-ui/p-54c0916c.js +0 -5
- package/dist/bromcom-ui/p-5a666fa2.entry.js +0 -5
- package/dist/bromcom-ui/p-60d506ec.entry.js +0 -5
- package/dist/bromcom-ui/p-626a65e9.js +0 -5
- package/dist/bromcom-ui/p-6ae7abc5.entry.js +0 -5
- package/dist/bromcom-ui/p-6d7fe687.js +0 -6
- package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
- package/dist/bromcom-ui/p-74b2d896.js +0 -5
- package/dist/bromcom-ui/p-75985eee.entry.js +0 -5
- package/dist/bromcom-ui/p-772a214f.js +0 -5
- package/dist/bromcom-ui/p-7d9ac287.entry.js +0 -5
- package/dist/bromcom-ui/p-843905c8.js +0 -5
- package/dist/bromcom-ui/p-8b85e07e.entry.js +0 -5
- package/dist/bromcom-ui/p-8c9d109c.entry.js +0 -5
- package/dist/bromcom-ui/p-8df71f89.js +0 -5
- package/dist/bromcom-ui/p-92030c09.entry.js +0 -5
- package/dist/bromcom-ui/p-a24f0a35.js +0 -5
- package/dist/bromcom-ui/p-a429e85b.js +0 -5
- package/dist/bromcom-ui/p-a56e8c98.js +0 -5
- package/dist/bromcom-ui/p-a9ae49af.entry.js +0 -5
- package/dist/bromcom-ui/p-af79c33b.entry.js +0 -5
- package/dist/bromcom-ui/p-b838f085.entry.js +0 -5
- package/dist/bromcom-ui/p-bca6437e.entry.js +0 -5
- package/dist/bromcom-ui/p-c43622d4.entry.js +0 -5
- package/dist/bromcom-ui/p-c49d038e.js +0 -5
- package/dist/bromcom-ui/p-c773080c.entry.js +0 -5
- package/dist/bromcom-ui/p-cacd60e0.entry.js +0 -5
- package/dist/bromcom-ui/p-d50efcac.entry.js +0 -5
- package/dist/bromcom-ui/p-d65a1e21.js +0 -11
- package/dist/bromcom-ui/p-d6953024.js +0 -5
- package/dist/bromcom-ui/p-d9211598.entry.js +0 -5
- package/dist/bromcom-ui/p-dc0cd6dc.entry.js +0 -5
- package/dist/bromcom-ui/p-e4045493.entry.js +0 -5
- package/dist/bromcom-ui/p-e8578e1b.entry.js +0 -5
- package/dist/bromcom-ui/p-f316a3df.entry.js +0 -5
- package/dist/bromcom-ui/p-f4defa95.entry.js +0 -5
- package/dist/bromcom-ui/p-fc0e0762.entry.js +0 -5
- package/dist/bromcom-ui/p-ff4fb57e.entry.js +0 -5
- package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -180
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1434
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -208
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
- package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -148
- package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
- package/dist/cjs/global-b0d21446.js +0 -15
- package/dist/collection/components/atoms/avatar/avatar.css +0 -198
- package/dist/collection/components/atoms/badge/badge.css +0 -231
- package/dist/collection/components/other/data-table/table.css +0 -130
- package/dist/collection/components/other/data-table/table.js +0 -88
- package/dist/esm/bcm-date-picker.entry.js +0 -176
- package/dist/esm/bcm-datetime-picker.entry.js +0 -1430
- package/dist/esm/bcm-form-2.entry.js +0 -204
- package/dist/esm/bcm-old-input.entry.js +0 -393
- package/dist/esm/bcm-time-picker.entry.js +0 -144
- package/dist/esm/datetime-helper-df25808a.js +0 -9
- package/dist/esm/global-4fad925b.js +0 -13
- package/dist/types/components/other/data-table/table.d.ts +0 -8
|
@@ -15,7 +15,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
15
15
|
import { IsLoad, JsonParse } from "@bcm/decorator";
|
|
16
16
|
import { Generate, NumberHelper, StringHelper, Validators } from "@bcm/helpers";
|
|
17
17
|
import { Bcm } from "@bcm/model";
|
|
18
|
-
import { CaptionTemplate,
|
|
18
|
+
import { CaptionTemplate, ListTemplate } from "@bcm/template";
|
|
19
19
|
import { delay, getPlacement, setPosition } from "@bcm/utils";
|
|
20
20
|
import { Host, h } from "@stencil/core";
|
|
21
21
|
import cs from "classnames";
|
|
@@ -47,6 +47,7 @@ export class BcmList {
|
|
|
47
47
|
this.maxHeight = "500px";
|
|
48
48
|
this.minHeight = "150px";
|
|
49
49
|
this.width = "256px";
|
|
50
|
+
this.tooltip = undefined;
|
|
50
51
|
this.infoFooter = false;
|
|
51
52
|
this.variableText = "item";
|
|
52
53
|
this.template = undefined;
|
|
@@ -54,6 +55,7 @@ export class BcmList {
|
|
|
54
55
|
this.keyControl = false;
|
|
55
56
|
this.checkAll = true;
|
|
56
57
|
this.stopDeepClean = false;
|
|
58
|
+
this.openIntersecting = false;
|
|
57
59
|
this.linkedComponent = undefined;
|
|
58
60
|
this.isOpen = false;
|
|
59
61
|
this.calculatedViewport = false;
|
|
@@ -96,7 +98,11 @@ export class BcmList {
|
|
|
96
98
|
indeterminate: "uncheck",
|
|
97
99
|
};
|
|
98
100
|
this.placement = Bcm.Placement["bottom-start"];
|
|
101
|
+
this.disableChangeEvent = false;
|
|
99
102
|
this.data = [];
|
|
103
|
+
window.addEventListener("scroll", this.handleWheel.bind(this), true);
|
|
104
|
+
window.addEventListener("wheel", this.handleWheel.bind(this), true);
|
|
105
|
+
window.addEventListener("resize", this.handleResize.bind(this), true);
|
|
100
106
|
}
|
|
101
107
|
connectedCallback() {
|
|
102
108
|
if (this.height != "256px") {
|
|
@@ -173,12 +179,12 @@ export class BcmList {
|
|
|
173
179
|
if (this.checkboxes) {
|
|
174
180
|
if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
|
|
175
181
|
this.bcmChecklist.emit(this.value);
|
|
176
|
-
this.change.emit(this.value);
|
|
182
|
+
!this.disableChangeEvent && this.change.emit(this.value);
|
|
177
183
|
}
|
|
178
184
|
}
|
|
179
185
|
else {
|
|
180
186
|
if ((newVal === null || newVal === void 0 ? void 0 : newVal.id) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.id)) {
|
|
181
|
-
this.change.emit(this.value);
|
|
187
|
+
!this.disableChangeEvent && this.change.emit(this.value);
|
|
182
188
|
}
|
|
183
189
|
}
|
|
184
190
|
}
|
|
@@ -743,7 +749,7 @@ export class BcmList {
|
|
|
743
749
|
"--height": openedType ? "100%" : this.height,
|
|
744
750
|
"--max-height": openedType ? "inherit" : this.maxHeight,
|
|
745
751
|
"--min-height": openedType ? "inherit" : this.minHeight,
|
|
746
|
-
} }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h(
|
|
752
|
+
} }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h("bcm-label", { tooltip: this.tooltip, size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: cs("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: cs("bcm-list__input-buttons", {
|
|
747
753
|
disabled: disabled,
|
|
748
754
|
}) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
749
755
|
}
|
|
@@ -1127,6 +1133,23 @@ export class BcmList {
|
|
|
1127
1133
|
"reflect": false,
|
|
1128
1134
|
"defaultValue": "\"256px\""
|
|
1129
1135
|
},
|
|
1136
|
+
"tooltip": {
|
|
1137
|
+
"type": "string",
|
|
1138
|
+
"mutable": true,
|
|
1139
|
+
"complexType": {
|
|
1140
|
+
"original": "string",
|
|
1141
|
+
"resolved": "string",
|
|
1142
|
+
"references": {}
|
|
1143
|
+
},
|
|
1144
|
+
"required": false,
|
|
1145
|
+
"optional": false,
|
|
1146
|
+
"docs": {
|
|
1147
|
+
"tags": [],
|
|
1148
|
+
"text": ""
|
|
1149
|
+
},
|
|
1150
|
+
"attribute": "tooltip",
|
|
1151
|
+
"reflect": false
|
|
1152
|
+
},
|
|
1130
1153
|
"infoFooter": {
|
|
1131
1154
|
"type": "boolean",
|
|
1132
1155
|
"mutable": true,
|
|
@@ -1252,6 +1275,24 @@ export class BcmList {
|
|
|
1252
1275
|
"reflect": false,
|
|
1253
1276
|
"defaultValue": "false"
|
|
1254
1277
|
},
|
|
1278
|
+
"openIntersecting": {
|
|
1279
|
+
"type": "boolean",
|
|
1280
|
+
"mutable": false,
|
|
1281
|
+
"complexType": {
|
|
1282
|
+
"original": "boolean",
|
|
1283
|
+
"resolved": "boolean",
|
|
1284
|
+
"references": {}
|
|
1285
|
+
},
|
|
1286
|
+
"required": false,
|
|
1287
|
+
"optional": false,
|
|
1288
|
+
"docs": {
|
|
1289
|
+
"tags": [],
|
|
1290
|
+
"text": ""
|
|
1291
|
+
},
|
|
1292
|
+
"attribute": "open-intersecting",
|
|
1293
|
+
"reflect": false,
|
|
1294
|
+
"defaultValue": "false"
|
|
1295
|
+
},
|
|
1255
1296
|
"linkedComponent": {
|
|
1256
1297
|
"type": "string",
|
|
1257
1298
|
"mutable": true,
|
|
@@ -1492,6 +1533,24 @@ export class BcmList {
|
|
|
1492
1533
|
"reflect": false,
|
|
1493
1534
|
"defaultValue": "Bcm.Placement[\"bottom-start\"]"
|
|
1494
1535
|
},
|
|
1536
|
+
"disableChangeEvent": {
|
|
1537
|
+
"type": "boolean",
|
|
1538
|
+
"mutable": false,
|
|
1539
|
+
"complexType": {
|
|
1540
|
+
"original": "boolean",
|
|
1541
|
+
"resolved": "boolean",
|
|
1542
|
+
"references": {}
|
|
1543
|
+
},
|
|
1544
|
+
"required": false,
|
|
1545
|
+
"optional": false,
|
|
1546
|
+
"docs": {
|
|
1547
|
+
"tags": [],
|
|
1548
|
+
"text": ""
|
|
1549
|
+
},
|
|
1550
|
+
"attribute": "disable-change-event",
|
|
1551
|
+
"reflect": false,
|
|
1552
|
+
"defaultValue": "false"
|
|
1553
|
+
},
|
|
1495
1554
|
"data": {
|
|
1496
1555
|
"type": "any",
|
|
1497
1556
|
"mutable": true,
|
|
@@ -1849,24 +1908,6 @@ export class BcmList {
|
|
|
1849
1908
|
"target": undefined,
|
|
1850
1909
|
"capture": false,
|
|
1851
1910
|
"passive": false
|
|
1852
|
-
}, {
|
|
1853
|
-
"name": "resize",
|
|
1854
|
-
"method": "handleResize",
|
|
1855
|
-
"target": "window",
|
|
1856
|
-
"capture": false,
|
|
1857
|
-
"passive": true
|
|
1858
|
-
}, {
|
|
1859
|
-
"name": "scroll",
|
|
1860
|
-
"method": "handleWheel",
|
|
1861
|
-
"target": "document",
|
|
1862
|
-
"capture": true,
|
|
1863
|
-
"passive": true
|
|
1864
|
-
}, {
|
|
1865
|
-
"name": "wheel",
|
|
1866
|
-
"method": "handleWheel",
|
|
1867
|
-
"target": "document",
|
|
1868
|
-
"capture": false,
|
|
1869
|
-
"passive": false
|
|
1870
1911
|
}, {
|
|
1871
1912
|
"name": "bcm-select-other-tag",
|
|
1872
1913
|
"method": "handleSelectOtherTag",
|
|
@@ -30,6 +30,7 @@ export class BcmTimePicker {
|
|
|
30
30
|
this.label = undefined;
|
|
31
31
|
this.placeholder = undefined;
|
|
32
32
|
this.disabled = false;
|
|
33
|
+
this.noMargin = false;
|
|
33
34
|
this.noCaption = false;
|
|
34
35
|
this.caption = '';
|
|
35
36
|
this.captionError = undefined;
|
|
@@ -126,7 +127,7 @@ export class BcmTimePicker {
|
|
|
126
127
|
const hostClasses = cs(this.hidden ? 'hidden' : null, {
|
|
127
128
|
'full-width': this.fullWidth
|
|
128
129
|
});
|
|
129
|
-
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
|
|
130
|
+
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
|
|
130
131
|
}
|
|
131
132
|
static get is() { return "bcm-time-picker"; }
|
|
132
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -322,6 +323,24 @@ export class BcmTimePicker {
|
|
|
322
323
|
"reflect": false,
|
|
323
324
|
"defaultValue": "false"
|
|
324
325
|
},
|
|
326
|
+
"noMargin": {
|
|
327
|
+
"type": "boolean",
|
|
328
|
+
"mutable": true,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "boolean",
|
|
331
|
+
"resolved": "boolean",
|
|
332
|
+
"references": {}
|
|
333
|
+
},
|
|
334
|
+
"required": false,
|
|
335
|
+
"optional": false,
|
|
336
|
+
"docs": {
|
|
337
|
+
"tags": [],
|
|
338
|
+
"text": ""
|
|
339
|
+
},
|
|
340
|
+
"attribute": "no-margin",
|
|
341
|
+
"reflect": false,
|
|
342
|
+
"defaultValue": "false"
|
|
343
|
+
},
|
|
325
344
|
"noCaption": {
|
|
326
345
|
"type": "boolean",
|
|
327
346
|
"mutable": true,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
6
|
import cs from "classnames";
|
|
7
7
|
import { Generate } from "../../../helper/generate";
|
|
8
8
|
import { StringHelper } from "../../../helper/string-helper";
|
|
@@ -19,13 +19,15 @@ export class BcmToast {
|
|
|
19
19
|
this.messageIcon = undefined;
|
|
20
20
|
this.viewButton = false;
|
|
21
21
|
this.closeButton = true;
|
|
22
|
+
this.removeAfterClose = true;
|
|
22
23
|
this.visible = false;
|
|
23
24
|
this.visibleContainer = false;
|
|
24
25
|
}
|
|
25
26
|
async show() {
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
28
|
-
|
|
27
|
+
const toast = document.getElementById(this._id + "-container");
|
|
28
|
+
if (toast) {
|
|
29
|
+
const container = this.createContainer(this.position);
|
|
30
|
+
container.appendChild(toast);
|
|
29
31
|
}
|
|
30
32
|
this.visible = true;
|
|
31
33
|
await delay(50);
|
|
@@ -43,6 +45,10 @@ export class BcmToast {
|
|
|
43
45
|
this.bcmToastClose.emit();
|
|
44
46
|
await delay(100);
|
|
45
47
|
this.visible = false;
|
|
48
|
+
if (this.removeAfterClose) {
|
|
49
|
+
await delay(100);
|
|
50
|
+
this.el.remove();
|
|
51
|
+
}
|
|
46
52
|
}
|
|
47
53
|
handleMouseEnter() {
|
|
48
54
|
clearTimeout(this.timer);
|
|
@@ -52,17 +58,30 @@ export class BcmToast {
|
|
|
52
58
|
this.timer = setTimeout(() => this.hide(), 1000);
|
|
53
59
|
}
|
|
54
60
|
}
|
|
61
|
+
createContainer(position) {
|
|
62
|
+
const containerId = "bcm-toast-container-" + position;
|
|
63
|
+
let container = document.getElementById(containerId);
|
|
64
|
+
if (!container) {
|
|
65
|
+
container = document.createElement("div");
|
|
66
|
+
container.id = containerId;
|
|
67
|
+
const classlist = cs("tw-pointer-events-none tw-overflow-hidden tw-z-50", "tw-fixed tw-flex", "tw-p-4 tw-gap-4", {
|
|
68
|
+
"tw-flex-col-reverse tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === Bcm.Placement.top,
|
|
69
|
+
"tw-flex-col tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === Bcm.Placement.bottom,
|
|
70
|
+
"tw-flex-col-reverse tw-top-4 tw-left-4": this.position === Bcm.Placement["top-start"],
|
|
71
|
+
"tw-flex-col-reverse tw-top-4 tw-right-4": this.position === Bcm.Placement["top-end"],
|
|
72
|
+
"tw-flex-col tw-bottom-4 tw-left-4": this.position === Bcm.Placement["bottom-start"],
|
|
73
|
+
"tw-flex-col tw-bottom-4 tw-right-4": this.position === Bcm.Placement["bottom-end"],
|
|
74
|
+
});
|
|
75
|
+
container.classList.add(...classlist.split(" "));
|
|
76
|
+
document.body.appendChild(container);
|
|
77
|
+
}
|
|
78
|
+
return container;
|
|
79
|
+
}
|
|
55
80
|
render() {
|
|
56
81
|
return (h(Host, { class: "tw-hidden" }, h("div", { class: cs({ "tw-hidden": !this.visible }), id: this._id + "-container", onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("div", { class: cs("tw-pointer-events-auto tw-transform tw-transition tw-duration-300 tw-ease-in-out", "tw-flex tw-min-w-[256px] tw-max-w-[420px] tw-flex-col tw-gap-2 tw-rounded-lg tw-border tw-font-sans tw-font-normal tw-shadow-2", "tw-border-gray-300 tw-bg-white tw-text-slate-600", {
|
|
57
82
|
"tw-p-4": !this.description,
|
|
58
83
|
"tw-p-6": this.description,
|
|
59
|
-
}, "tw-
|
|
60
|
-
"tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === Bcm.Placement.top,
|
|
61
|
-
"tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === Bcm.Placement.bottom,
|
|
62
|
-
"tw-top-4 tw-left-4": this.position === Bcm.Placement["top-start"],
|
|
63
|
-
"tw-top-4 tw-right-4": this.position === Bcm.Placement["top-end"],
|
|
64
|
-
"tw-bottom-4 tw-left-4": this.position === Bcm.Placement["bottom-start"],
|
|
65
|
-
"tw-bottom-4 tw-right-4": this.position === Bcm.Placement["bottom-end"],
|
|
84
|
+
}, "tw-transform tw-transition tw-duration-300 tw-ease-in-out ", {
|
|
66
85
|
"tw-translate-y-0 tw-opacity-100 ": this.visibleContainer,
|
|
67
86
|
"tw-opacity-0": !this.visibleContainer,
|
|
68
87
|
"tw-translate-y-[-100%]": !this.visibleContainer && this.position.split("-")[0] === "top",
|
|
@@ -251,6 +270,24 @@ export class BcmToast {
|
|
|
251
270
|
"attribute": "close-button",
|
|
252
271
|
"reflect": false,
|
|
253
272
|
"defaultValue": "true"
|
|
273
|
+
},
|
|
274
|
+
"removeAfterClose": {
|
|
275
|
+
"type": "boolean",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "boolean",
|
|
279
|
+
"resolved": "boolean",
|
|
280
|
+
"references": {}
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": false,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [],
|
|
286
|
+
"text": ""
|
|
287
|
+
},
|
|
288
|
+
"attribute": "remove-after-close",
|
|
289
|
+
"reflect": false,
|
|
290
|
+
"defaultValue": "true"
|
|
254
291
|
}
|
|
255
292
|
};
|
|
256
293
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { h, Host } from '@stencil/core';
|
|
6
6
|
export class BcmTypography {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host,
|
|
8
|
+
return (h(Host, { class: "bcm-ui-element bcm-ui-content-display" }, h("slot", null)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "bcm-typography"; }
|
|
11
11
|
static get elementRef() { return "el"; }
|
|
@@ -166,7 +166,7 @@ export class OldBcmPopover {
|
|
|
166
166
|
"mutable": true,
|
|
167
167
|
"complexType": {
|
|
168
168
|
"original": "TrigglerTypes",
|
|
169
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
169
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
170
170
|
"references": {
|
|
171
171
|
"TrigglerTypes": {
|
|
172
172
|
"location": "import",
|