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
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { tv } from "tailwind-variants";
|
|
6
|
+
export const inputDropdownStyle = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: "tw-font-sans tw-flex tw-flex-col tw-items-start tw-justify-start tw-gap-2",
|
|
9
|
+
content: "tw-flex tw-flex-row tw-items-center tw-justify-start tw-gap-3",
|
|
10
|
+
inputArea: "tw-flex tw-flex-row tw-items-center tw-justify-start tw-gap-1 tw-box-content tw-border tw-border-solid tw-max-w-[100px] tw-uppercase tw-font-medium tw-text-center tw-border-gray-300 tw-rounded",
|
|
11
|
+
input: "tw-flex-1 tw-text-inherit tw-uppercase tw-font-semibold tw-text-center tw-border-none tw-bg-transparent tw-outline-none tw-w-full",
|
|
12
|
+
button: [
|
|
13
|
+
"input-dropdown-button tw-flex tw-flex-row tw-items-center tw-justify-center tw-gap-1 tw-rounded tw-outline-none tw-bg-slate-100",
|
|
14
|
+
"tw-border tw-border-solid tw-border-slate-300 tw-font-medium tw-text-slate-600",
|
|
15
|
+
"hover:tw-border-slate-400 hover:tw-bg-slate-200",
|
|
16
|
+
"tw-min-w-[32px]",
|
|
17
|
+
"tw-cursor-pointer",
|
|
18
|
+
"disabled:tw-cursor-not-allowed disabled:tw-text-slate-400 disabled:tw-pointer-events-none",
|
|
19
|
+
"readonly:tw-text-slate-700 readonly:tw-cursor-text",
|
|
20
|
+
],
|
|
21
|
+
menu: "tw-mt-1 tw-flex tw-flex-col tw-items-start tw-justify-center tw-gap-2 tw-overflow-auto tw-bg-white tw-p-3 tw-font-sans tw-text-3 tw-text-slate-700",
|
|
22
|
+
menuItem: "tw-flex tw-w-full tw-cursor-pointer tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-text-slate-700 hover:tw-bg-blue-100",
|
|
23
|
+
selectedItem: "tw-flex tw-w-full tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-text-slate-700 tw-bg-primary-200",
|
|
24
|
+
disabledItem: "tw-flex tw-w-full tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-cursor-not-allowed tw-text-slate-400 tw-bg-slate-100 hover:tw-bg-slate-100 tw-list-none",
|
|
25
|
+
commentArea: "tw-flex tw-h-fit tw-w-full tw-min-w-[288px] tw-flex-col tw-items-start tw-gap-3 tw-rounded tw-p-4 tw-shadow-2",
|
|
26
|
+
},
|
|
27
|
+
variants: {
|
|
28
|
+
size: {
|
|
29
|
+
small: {
|
|
30
|
+
button: "tw-h-[18px] tw-text-1 tw-leading-none",
|
|
31
|
+
},
|
|
32
|
+
medium: {
|
|
33
|
+
button: "tw-h-[24px] tw-text-2",
|
|
34
|
+
inputArea: "tw-p-0.5",
|
|
35
|
+
input: "tw-text-4",
|
|
36
|
+
},
|
|
37
|
+
large: {
|
|
38
|
+
button: "tw-h-[30px] tw-text-2",
|
|
39
|
+
inputArea: "tw-p-1",
|
|
40
|
+
input: "tw-text-6",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
invalid: {
|
|
44
|
+
true: {
|
|
45
|
+
inputArea: "tw-border-red-600 tw-bg-red-50",
|
|
46
|
+
input: "tw-text-red-500",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
true: {
|
|
51
|
+
base: "tw-opacity-50 tw-cursor-not-allowed",
|
|
52
|
+
input: "tw-cursor-not-allowed",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
hideComment: {
|
|
56
|
+
true: {
|
|
57
|
+
base: "tw-min-w-[98px]",
|
|
58
|
+
},
|
|
59
|
+
false: {
|
|
60
|
+
base: "tw-min-w-[128px] ",
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
label: {
|
|
64
|
+
true: "",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
defaultVariants: {
|
|
68
|
+
size: "medium",
|
|
69
|
+
invalid: false,
|
|
70
|
+
hideComment: false,
|
|
71
|
+
disabled: false,
|
|
72
|
+
},
|
|
73
|
+
});
|
|
@@ -22,7 +22,7 @@ export class BcmItems {
|
|
|
22
22
|
const item = element;
|
|
23
23
|
const textContent = (_a = item === null || item === void 0 ? void 0 : item.innerHTML) === null || _a === void 0 ? void 0 : _a.replace(/<bcm-item>.*<\/bcm-item>/g, '').replace(/<bcm-item .*>.*<\/bcm-item>/g, '').replace(/<!--(.|\s)*?-->/g, '').trim();
|
|
24
24
|
const checkAttr = (attr) => StringHelper.elementBooleanCheck(element.getAttribute(attr));
|
|
25
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ id: element.getAttribute('id') || Generate.UID(), text: element.getAttribute('text') || textContent }, (element.innerHTML.trim() && { isHtmlContent: element.textContent.length > 0 ? (element.innerHTML.trim()) : null })), (checkAttr('disabled') && { disabled: checkAttr('disabled') })), (checkAttr('selected') && { selected: checkAttr('selected') })), (checkAttr('checked') && { checked: checkAttr('checked') })), (checkAttr('readonly') && { readonly: checkAttr('readonly') })), (checkAttr('active') && { active: checkAttr('active') })), (checkAttr('icon') && { icon: element.getAttribute('icon') })), (checkAttr('link') && { link: element.getAttribute('link') }));
|
|
25
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ id: element.getAttribute('id') || Generate.UID(), text: element.getAttribute('text') || textContent }, (element.innerHTML.trim() && { isHtmlContent: element.textContent.length > 0 ? (element.innerHTML.trim()) : null })), (checkAttr('disabled') && { disabled: checkAttr('disabled') })), (checkAttr('selected') && { selected: checkAttr('selected') })), (checkAttr('hidden') && { hidden: checkAttr('hidden') })), (checkAttr('checked') && { checked: checkAttr('checked') })), (checkAttr('readonly') && { readonly: checkAttr('readonly') })), (checkAttr('active') && { active: checkAttr('active') })), (checkAttr('icon') && { icon: element.getAttribute('icon') })), (checkAttr('link') && { link: element.getAttribute('link') }));
|
|
26
26
|
}
|
|
27
27
|
nestedItems(element) {
|
|
28
28
|
return snq(() => Array.from(element === null || element === void 0 ? void 0 : element.children).map((child) => {
|
|
@@ -18,6 +18,9 @@ export class BcmLinked {
|
|
|
18
18
|
this.isOpen = false;
|
|
19
19
|
this.hideDelay = 500;
|
|
20
20
|
this.isMouseOverLink = false;
|
|
21
|
+
window.addEventListener("scroll", () => this.calculatePosition(), true);
|
|
22
|
+
window.addEventListener("wheel", () => this.calculatePosition(), true);
|
|
23
|
+
window.addEventListener("resize", () => this.calculatePosition(), true);
|
|
21
24
|
}
|
|
22
25
|
target() {
|
|
23
26
|
const target = document.querySelectorAll(`[id="${this.targetId}"]`);
|
|
@@ -31,6 +34,17 @@ export class BcmLinked {
|
|
|
31
34
|
return null;
|
|
32
35
|
}
|
|
33
36
|
}
|
|
37
|
+
detectClone() {
|
|
38
|
+
const linked = document.querySelectorAll(`[target-id="${this.targetId}"]`);
|
|
39
|
+
if (linked.length > 0) {
|
|
40
|
+
linked.forEach((item) => {
|
|
41
|
+
if (item.id !== this._id) {
|
|
42
|
+
console.warn(`[bcm-linked] - id="${this._id}" was removed from the dom because id="${this.targetId}" is duplicated.`);
|
|
43
|
+
item.remove();
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
34
48
|
dismissEvent() {
|
|
35
49
|
document.dispatchEvent(new CustomEvent("linked-data-dismiss", { detail: { id: this._id } }));
|
|
36
50
|
}
|
|
@@ -101,6 +115,7 @@ export class BcmLinked {
|
|
|
101
115
|
}
|
|
102
116
|
async show(wait = true) {
|
|
103
117
|
wait && (await delay(50));
|
|
118
|
+
this.detectClone();
|
|
104
119
|
const target = this.target();
|
|
105
120
|
if (target) {
|
|
106
121
|
const bcmOverlayContainer = document.querySelector("#bcm-overlay-container");
|
|
@@ -131,7 +146,7 @@ export class BcmLinked {
|
|
|
131
146
|
clickListener(e) {
|
|
132
147
|
if (!this.target())
|
|
133
148
|
return;
|
|
134
|
-
if (this.trigger === Bcm.TriggerType.hover)
|
|
149
|
+
if (this.trigger === Bcm.TriggerType.hover || this.trigger === Bcm.TriggerType.custom)
|
|
135
150
|
return;
|
|
136
151
|
const isTarget = Generate.findEventPath(e, this.target());
|
|
137
152
|
const isSelf = Generate.findEventPath(e, this.el);
|
|
@@ -152,15 +167,6 @@ export class BcmLinked {
|
|
|
152
167
|
isTarget && this.show(false);
|
|
153
168
|
}
|
|
154
169
|
}
|
|
155
|
-
resizeListener() {
|
|
156
|
-
this.calculatePosition();
|
|
157
|
-
}
|
|
158
|
-
scrollListener() {
|
|
159
|
-
this.calculatePosition();
|
|
160
|
-
}
|
|
161
|
-
wheelListener() {
|
|
162
|
-
this.calculatePosition();
|
|
163
|
-
}
|
|
164
170
|
listenMouseOver() {
|
|
165
171
|
var _a, _b;
|
|
166
172
|
this.el.addEventListener("mouseover", () => (this.isMouseOverLink = true));
|
|
@@ -234,7 +240,7 @@ export class BcmLinked {
|
|
|
234
240
|
"mutable": false,
|
|
235
241
|
"complexType": {
|
|
236
242
|
"original": "TrigglerTypes",
|
|
237
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
243
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
238
244
|
"references": {
|
|
239
245
|
"TrigglerTypes": {
|
|
240
246
|
"location": "import",
|
|
@@ -473,24 +479,6 @@ export class BcmLinked {
|
|
|
473
479
|
"target": "document",
|
|
474
480
|
"capture": true,
|
|
475
481
|
"passive": false
|
|
476
|
-
}, {
|
|
477
|
-
"name": "resize",
|
|
478
|
-
"method": "resizeListener",
|
|
479
|
-
"target": "window",
|
|
480
|
-
"capture": false,
|
|
481
|
-
"passive": true
|
|
482
|
-
}, {
|
|
483
|
-
"name": "scroll",
|
|
484
|
-
"method": "scrollListener",
|
|
485
|
-
"target": "window",
|
|
486
|
-
"capture": false,
|
|
487
|
-
"passive": true
|
|
488
|
-
}, {
|
|
489
|
-
"name": "wheel",
|
|
490
|
-
"method": "wheelListener",
|
|
491
|
-
"target": "window",
|
|
492
|
-
"capture": false,
|
|
493
|
-
"passive": true
|
|
494
482
|
}];
|
|
495
483
|
}
|
|
496
484
|
}
|
|
@@ -94,6 +94,7 @@ export class BcmMenu {
|
|
|
94
94
|
}
|
|
95
95
|
return (h("a", { id: 'bcm-menu__item-' + this._id + '-' + item.id, onMouseEnter: () => this.collapse && this.getTooltip(item.id, item.text).show(), onMouseLeave: () => this.collapse && this.getTooltip(item.id, item.text).hide(), key: index, href: !item.disabled ? item.link || 'javascript:void(0)' : 'javascript:void(0)', tabindex: item.disabled ? '-1' : '0', class: cs('bcm-menu__item', {
|
|
96
96
|
'bcm-menu__item--is-sub': subItems && item.isOpen,
|
|
97
|
+
'hidden tw-hidden': item.hidden,
|
|
97
98
|
}) }, h("span", { class: cs('bcm-menu__item-link', `bcm-menu__item-link--${this.mode}`, {
|
|
98
99
|
'bcm-menu__item-link--active': this.selectable && (this.activeItemId ? this.activeItemId === item.id : item.active),
|
|
99
100
|
'bcm-menu__item-link--disabled': item.disabled,
|
|
@@ -210,7 +210,7 @@ export class BcmPopconfirm {
|
|
|
210
210
|
"mutable": true,
|
|
211
211
|
"complexType": {
|
|
212
212
|
"original": "TrigglerTypes",
|
|
213
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
213
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
214
214
|
"references": {
|
|
215
215
|
"TrigglerTypes": {
|
|
216
216
|
"location": "import",
|
|
@@ -69,7 +69,7 @@ export class BcmPopover {
|
|
|
69
69
|
this.popover.toggle();
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, {
|
|
72
|
+
return (h(Host, { class: "tw-inline-flex tw-h-fit tw-w-fit", role: "tooltip", "aria-hidden": "true" }, h("slot", null)));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "bcm-popover"; }
|
|
75
75
|
static get properties() {
|
|
@@ -156,7 +156,7 @@ export class BcmPopover {
|
|
|
156
156
|
"mutable": false,
|
|
157
157
|
"complexType": {
|
|
158
158
|
"original": "TrigglerTypes",
|
|
159
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
159
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
160
160
|
"references": {
|
|
161
161
|
"TrigglerTypes": {
|
|
162
162
|
"location": "import",
|
|
@@ -178,7 +178,11 @@ export class BcmTabGroup {
|
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
180
|
const { color } = this;
|
|
181
|
-
|
|
181
|
+
const dc = Generate.getTwColor({
|
|
182
|
+
color: color,
|
|
183
|
+
tones: [500]
|
|
184
|
+
});
|
|
185
|
+
return (h(Host, { role: "tablist", "aria-label": "Tab Group", class: "tw-flex tw-w-full tw-flex-col tw-items-center tw-font-sans" }, h("div", { class: `tw-relative tw-flex tw-w-full tw-flex-row tw-items-end tw-justify-between`, id: "tab-header", style: dc }, h("div", { id: "ink-bar", class: `tw-bg-default-500 tw-absolute tw-bottom-0 tw-left-0 tw-mt-[-2px] tw-h-[2px] tw-rounded-sm tw-transition-transform` })), h("slot", null)));
|
|
182
186
|
}
|
|
183
187
|
static get is() { return "bcm-tab-group"; }
|
|
184
188
|
static get properties() {
|
|
@@ -23,33 +23,18 @@ export class BcmTabItemHeader {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const { color, size, active, disabled } = this;
|
|
26
|
-
let fontSize, padding, gap;
|
|
27
|
-
switch (size) {
|
|
28
|
-
case Bcm.Size.small:
|
|
29
|
-
fontSize = "2";
|
|
30
|
-
padding = "1";
|
|
31
|
-
gap = "2";
|
|
32
|
-
break;
|
|
33
|
-
case Bcm.Size.medium:
|
|
34
|
-
fontSize = "3";
|
|
35
|
-
padding = "2";
|
|
36
|
-
gap = "3";
|
|
37
|
-
break;
|
|
38
|
-
case Bcm.Size.large:
|
|
39
|
-
fontSize = "4";
|
|
40
|
-
padding = "3";
|
|
41
|
-
gap = "4";
|
|
42
|
-
break;
|
|
43
|
-
default:
|
|
44
|
-
fontSize = "3";
|
|
45
|
-
padding = "2";
|
|
46
|
-
gap = "3";
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
26
|
const disabledClass = "tw-cursor-not-allowed tw-text-gray-400 tw-opacity-50";
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
27
|
+
const dc = Generate.getTwColor({
|
|
28
|
+
color: color,
|
|
29
|
+
tones: [500, 600, 700, 800]
|
|
30
|
+
});
|
|
31
|
+
return (h(Host, { onClick: () => this.handleClick(), class: cs(`tw-flex tw-flex-1 tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-transition-font tw-focus:outline-none`, {
|
|
32
|
+
"tw-text-2 tw-py-1 tw-gap-2": size === Bcm.Size.small,
|
|
33
|
+
"tw-text-3 tw-py-2 tw-gap-3": size === Bcm.Size.medium,
|
|
34
|
+
"tw-text-4 tw-py-3 tw-gap-4": size === Bcm.Size.large,
|
|
35
|
+
}, disabled ? disabledClass : "tw-cursor-pointer", active
|
|
36
|
+
? `tw-text-default-500 enabled:hover:tw-text-default-600 enabled:active:tw-text-default-700 enabled:focus-visible:tw-text-default-800`
|
|
37
|
+
: "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:focus-visible:tw-text-slate-700 enabled:active:tw-text-slate-600"), style: dc }));
|
|
53
38
|
}
|
|
54
39
|
static get is() { return "bcm-tab-item-header"; }
|
|
55
40
|
static get properties() {
|
|
@@ -68,7 +68,7 @@ export class BcmTooltip {
|
|
|
68
68
|
this.tooltip.toggle();
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, {
|
|
71
|
+
return (h(Host, { class: "tw-inline-flex tw-h-fit tw-w-fit", role: "tooltip", "aria-hidden": "true" }, h("slot", null)));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "bcm-tooltip"; }
|
|
74
74
|
static get properties() {
|
|
@@ -137,7 +137,7 @@ export class BcmTooltip {
|
|
|
137
137
|
"mutable": false,
|
|
138
138
|
"complexType": {
|
|
139
139
|
"original": "TrigglerTypes",
|
|
140
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
140
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
141
141
|
"references": {
|
|
142
142
|
"TrigglerTypes": {
|
|
143
143
|
"location": "import",
|
|
@@ -34,6 +34,7 @@ export class BcmDatePicker {
|
|
|
34
34
|
this.placeholder = undefined;
|
|
35
35
|
this.disabledDates = '';
|
|
36
36
|
this.disabled = false;
|
|
37
|
+
this.noMargin = false;
|
|
37
38
|
this.noCaption = false;
|
|
38
39
|
this.caption = '';
|
|
39
40
|
this.captionError = undefined;
|
|
@@ -154,7 +155,7 @@ export class BcmDatePicker {
|
|
|
154
155
|
'full-width': this.fullWidth,
|
|
155
156
|
'linked-component': this.linkedComponent,
|
|
156
157
|
});
|
|
157
|
-
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
|
|
158
|
+
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
|
|
158
159
|
}
|
|
159
160
|
static get is() { return "bcm-date-picker"; }
|
|
160
161
|
static get encapsulation() { return "shadow"; }
|
|
@@ -408,6 +409,24 @@ export class BcmDatePicker {
|
|
|
408
409
|
"reflect": false,
|
|
409
410
|
"defaultValue": "false"
|
|
410
411
|
},
|
|
412
|
+
"noMargin": {
|
|
413
|
+
"type": "boolean",
|
|
414
|
+
"mutable": true,
|
|
415
|
+
"complexType": {
|
|
416
|
+
"original": "boolean",
|
|
417
|
+
"resolved": "boolean",
|
|
418
|
+
"references": {}
|
|
419
|
+
},
|
|
420
|
+
"required": false,
|
|
421
|
+
"optional": false,
|
|
422
|
+
"docs": {
|
|
423
|
+
"tags": [],
|
|
424
|
+
"text": ""
|
|
425
|
+
},
|
|
426
|
+
"attribute": "no-margin",
|
|
427
|
+
"reflect": false,
|
|
428
|
+
"defaultValue": "false"
|
|
429
|
+
},
|
|
411
430
|
"noCaption": {
|
|
412
431
|
"type": "boolean",
|
|
413
432
|
"mutable": true,
|
|
@@ -281,7 +281,8 @@
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
:host {
|
|
284
|
-
display: inline-
|
|
284
|
+
display: inline-flex;
|
|
285
|
+
flex-direction: column;
|
|
285
286
|
position: relative;
|
|
286
287
|
width: 100%;
|
|
287
288
|
max-width: 256px;
|
|
@@ -293,6 +294,10 @@
|
|
|
293
294
|
max-width: 100%;
|
|
294
295
|
}
|
|
295
296
|
|
|
297
|
+
:host(.no-margin) {
|
|
298
|
+
margin: 0;
|
|
299
|
+
}
|
|
300
|
+
|
|
296
301
|
:host(.hidden) {
|
|
297
302
|
display: none;
|
|
298
303
|
}
|
|
@@ -676,4 +681,11 @@
|
|
|
676
681
|
border-right: 0;
|
|
677
682
|
pointer-events: none;
|
|
678
683
|
box-sizing: border-box;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.picker-input-container {
|
|
687
|
+
display: flex;
|
|
688
|
+
flex-direction: column;
|
|
689
|
+
align-items: flex-start;
|
|
690
|
+
justify-content: stretch;
|
|
679
691
|
}
|
|
@@ -50,6 +50,7 @@ export class BcmDatetimePicker {
|
|
|
50
50
|
this.minYear = 1900;
|
|
51
51
|
this.maxYear = 2200;
|
|
52
52
|
this.noCaption = false;
|
|
53
|
+
this.noMargin = false;
|
|
53
54
|
this.captionError = undefined;
|
|
54
55
|
this.caption = '';
|
|
55
56
|
this.captionType = 'default';
|
|
@@ -969,6 +970,20 @@ export class BcmDatetimePicker {
|
|
|
969
970
|
this.setDataFromText(text);
|
|
970
971
|
return text;
|
|
971
972
|
}
|
|
973
|
+
parseDate(input) {
|
|
974
|
+
var parts = input.split('/');
|
|
975
|
+
var day = parseInt(parts[0], 10);
|
|
976
|
+
var month = parseInt(parts[1], 10) - 1;
|
|
977
|
+
var year = parseInt(parts[2], 10);
|
|
978
|
+
if (isNaN(day) || isNaN(month) || isNaN(year)) {
|
|
979
|
+
return 'invalid date';
|
|
980
|
+
}
|
|
981
|
+
var date = new Date(year, month, day);
|
|
982
|
+
if (date.getDate() !== day || date.getMonth() !== month || date.getFullYear() !== year) {
|
|
983
|
+
return 'invalid date';
|
|
984
|
+
}
|
|
985
|
+
return date;
|
|
986
|
+
}
|
|
972
987
|
/**
|
|
973
988
|
* @desc
|
|
974
989
|
* @param dateStr
|
|
@@ -981,7 +996,7 @@ export class BcmDatetimePicker {
|
|
|
981
996
|
const sectionTime = this.type === Types.datetime ? sections[1] : sections[0];
|
|
982
997
|
const date = new Date(sectionDate);
|
|
983
998
|
const date2 = new Date(sectionDate2);
|
|
984
|
-
const dateCheck = date.toString().toLowerCase() !== 'invalid date';
|
|
999
|
+
const dateCheck = date.toString().toLowerCase() !== 'invalid date' && this.parseDate(dateStr) !== 'invalid date';
|
|
985
1000
|
const dateCheck2 = date2.toString().toLowerCase() !== 'invalid date';
|
|
986
1001
|
const regDate = /^((0?[1-9]|1[0-2])(-|\/)(0?[1-9]|[12]\d|3[01])(-|\/)[12]\d{3})$/;
|
|
987
1002
|
const regDateCheck = regDate.test(sectionDate);
|
|
@@ -1349,6 +1364,7 @@ export class BcmDatetimePicker {
|
|
|
1349
1364
|
const hostClasses = cs(this.hidden ? 'hidden' : null, {
|
|
1350
1365
|
'full-width': this.fullWidth,
|
|
1351
1366
|
'linked-component': this.linkedComponent,
|
|
1367
|
+
'no-margin': this.noMargin,
|
|
1352
1368
|
});
|
|
1353
1369
|
const toggleClasses = cs('toggle', {
|
|
1354
1370
|
disabled: this.disabled
|
|
@@ -1357,7 +1373,7 @@ export class BcmDatetimePicker {
|
|
|
1357
1373
|
const calendarIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>`;
|
|
1358
1374
|
const errorIcon = `<svg style="fill: #ef4444; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm42-104c0 23.2-18.8 42-42 42s-42-18.8-42-42 18.8-42 42-42 42 18.8 42 42zm-81.4-211.4l6.8 136c.3 6.4 5.6 11.4 12 11.4h41.2c6.4 0 11.7-5.1 12-11.4l6.8-136c.3-6.9-5.1-12.6-12-12.6h-54.8c-6.9 0-12.4 5.7-12 12.6z"/></svg>`;
|
|
1359
1375
|
const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
|
|
1360
|
-
return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(), disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
|
|
1376
|
+
return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(), "no-margin": true, disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
|
|
1361
1377
|
// on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
|
|
1362
1378
|
noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("span", { id: "error-icon", class: toggleClasses, innerHTML: errorIcon, title: this.errorText }))), h("span", { slot: "suffix", onClick: () => this.openPicker() }, h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))), h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) }, h("div", { class: "modules" }, this.hasDateModule && (h("div", { class: "date-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("span", null), h("div", { class: "month-year" }, h("button", { onClick: () => this.getPrevMonth() }, h("bcm-icon", { icon: "far fa-chevron-left" })), h("div", { class: "month-year-wrapper" }, h("span", { class: "month" }, this.getMonthText()), ",", h("span", { class: "year" }, this.date.getFullYear())), h("button", { onClick: () => this.getNextMonth() }, h("bcm-icon", { icon: "far fa-chevron-right" }))), h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")), h("div", { class: "bcm-datetime-picker__content" }, h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) }, h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))), h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })), h("div", { class: "days" }, h("div", { class: "day-labels" }, h("span", null, "Mo"), h("span", null, "Tu"), h("span", null, "We"), h("span", null, "Th"), h("span", null, "Fr"), h("span", null, "Sa"), h("span", null, "Su")), h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
|
|
1363
1379
|
'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
|
|
@@ -1700,6 +1716,24 @@ export class BcmDatetimePicker {
|
|
|
1700
1716
|
"reflect": false,
|
|
1701
1717
|
"defaultValue": "false"
|
|
1702
1718
|
},
|
|
1719
|
+
"noMargin": {
|
|
1720
|
+
"type": "boolean",
|
|
1721
|
+
"mutable": true,
|
|
1722
|
+
"complexType": {
|
|
1723
|
+
"original": "boolean",
|
|
1724
|
+
"resolved": "boolean",
|
|
1725
|
+
"references": {}
|
|
1726
|
+
},
|
|
1727
|
+
"required": false,
|
|
1728
|
+
"optional": false,
|
|
1729
|
+
"docs": {
|
|
1730
|
+
"tags": [],
|
|
1731
|
+
"text": ""
|
|
1732
|
+
},
|
|
1733
|
+
"attribute": "no-margin",
|
|
1734
|
+
"reflect": false,
|
|
1735
|
+
"defaultValue": "false"
|
|
1736
|
+
},
|
|
1703
1737
|
"captionError": {
|
|
1704
1738
|
"type": "string",
|
|
1705
1739
|
"mutable": true,
|
|
@@ -14,12 +14,15 @@ export const BcmFormComponents = [
|
|
|
14
14
|
'BCM-FORM-GROUP',
|
|
15
15
|
'BCM-LIST',
|
|
16
16
|
'BCM-COLORPICKER',
|
|
17
|
+
'BCM-DATE',
|
|
17
18
|
'BCM-DATE-PICKER',
|
|
18
19
|
'BCM-TIME-PICKER',
|
|
19
20
|
'BCM-DATETIME-PICKER',
|
|
20
21
|
'BCM-SELECT',
|
|
21
22
|
'BCM-LISTBOX',
|
|
22
|
-
'BCM-CHIP-GROUP',
|
|
23
|
+
'BCM-CHIP-GROUP',
|
|
24
|
+
'BCM-INPUT-DROPDOWN'
|
|
25
|
+
//... to be added to v3
|
|
23
26
|
];
|
|
24
27
|
export const BcmFormGroupComponents = [
|
|
25
28
|
'BCM-FORM-GROUP',
|