bromcom-ui 2.7.38-rc.1 → 2.7.38-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-09823f39.entry.js +5 -0
- package/dist/bromcom-ui/{p-16c10cc7.js → p-09ceef30.js} +1 -1
- package/dist/bromcom-ui/{p-9e6e812b.entry.js → p-0a8b9f8a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7df747c7.entry.js → p-0b77585e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-20c45a95.entry.js → p-0f685aa9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e0cb6ac3.entry.js → p-14938158.entry.js} +1 -1
- package/dist/bromcom-ui/{p-04c8b756.js → p-16b50160.js} +1 -1
- package/dist/bromcom-ui/p-17f8d63f.entry.js +5 -0
- package/dist/bromcom-ui/p-1f16cdc9.entry.js +5 -0
- package/dist/bromcom-ui/{p-b1b449e5.entry.js → p-2183c4bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-13077a28.entry.js → p-22e08221.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6bc8c9a5.entry.js → p-2649e63a.entry.js} +1 -1
- package/dist/bromcom-ui/p-2c4a1ddb.entry.js +5 -0
- package/dist/bromcom-ui/p-2ec18765.entry.js +5 -0
- package/dist/bromcom-ui/p-308cb1ab.entry.js +5 -0
- package/dist/bromcom-ui/{p-0dff677e.entry.js → p-369d6e4f.entry.js} +1 -1
- package/dist/bromcom-ui/p-38cfe386.entry.js +5 -0
- package/dist/bromcom-ui/p-39ec9e1b.entry.js +5 -0
- package/dist/bromcom-ui/{p-4eb1b6e1.entry.js → p-3d4897d8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cb975855.entry.js → p-40df99e2.entry.js} +1 -1
- package/dist/bromcom-ui/p-42028d09.js +5 -0
- package/dist/bromcom-ui/p-4487e8c2.js +5 -0
- package/dist/bromcom-ui/{p-7f0e7aff.js → p-45f6c93b.js} +1 -1
- package/dist/bromcom-ui/p-48e9166c.js +5 -0
- package/dist/bromcom-ui/p-4a63c79f.entry.js +5 -0
- package/dist/bromcom-ui/{p-3fcb3478.entry.js → p-4e01d5a3.entry.js} +1 -1
- package/dist/bromcom-ui/p-55989d36.entry.js +5 -0
- package/dist/bromcom-ui/{p-45704915.js → p-56898932.js} +1 -1
- package/dist/bromcom-ui/p-5dd6e317.entry.js +5 -0
- package/dist/bromcom-ui/p-608875ab.entry.js +5 -0
- package/dist/bromcom-ui/p-634ea4b1.entry.js +5 -0
- package/dist/bromcom-ui/p-64843f47.entry.js +5 -0
- package/dist/bromcom-ui/{p-8065cf74.js → p-697b1557.js} +1 -1
- package/dist/bromcom-ui/{p-eaa34b84.entry.js → p-69cce4d0.entry.js} +1 -1
- package/dist/bromcom-ui/p-6b9c4f1e.entry.js +5 -0
- package/dist/bromcom-ui/{p-acb048b5.js → p-74595a06.js} +1 -1
- package/dist/bromcom-ui/{p-1a1ee7ac.entry.js → p-74fb9a64.entry.js} +1 -1
- package/dist/bromcom-ui/p-75094b74.entry.js +5 -0
- package/dist/bromcom-ui/{p-b95461ec.entry.js → p-7a3f7b13.entry.js} +1 -1
- package/dist/bromcom-ui/p-7b7ea587.js +5 -0
- package/dist/bromcom-ui/p-7d7fe382.entry.js +10 -0
- package/dist/bromcom-ui/p-87c2dcaa.js +5 -0
- package/dist/bromcom-ui/p-88773e6d.entry.js +5 -0
- package/dist/bromcom-ui/{p-9710630f.entry.js → p-88cf91cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0122ae3d.js → p-88f7d869.js} +1 -1
- package/dist/bromcom-ui/p-8a4785af.entry.js +5 -0
- package/dist/bromcom-ui/p-8b1d9c41.entry.js +5 -0
- package/dist/bromcom-ui/p-8c3c2133.entry.js +5 -0
- package/dist/bromcom-ui/{p-341f55bf.entry.js → p-8d1cd79f.entry.js} +1 -1
- package/dist/bromcom-ui/p-9098cdd8.entry.js +5 -0
- package/dist/bromcom-ui/{p-581f703b.entry.js → p-97df9122.entry.js} +1 -1
- package/dist/bromcom-ui/p-9827fddd.js +5 -0
- package/dist/bromcom-ui/{p-432ebc3f.entry.js → p-997359bc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0a46b931.entry.js → p-9a1dc17c.entry.js} +1 -1
- package/dist/bromcom-ui/p-9b34c5d2.entry.js +5 -0
- package/dist/bromcom-ui/{p-96287124.js → p-9bef5a59.js} +1 -1
- package/dist/bromcom-ui/{p-9086c5e5.entry.js → p-9e0f2680.entry.js} +1 -1
- package/dist/bromcom-ui/p-9e4d1db3.entry.js +5 -0
- package/dist/bromcom-ui/p-a153a0e9.entry.js +5 -0
- package/dist/bromcom-ui/p-a183a09f.entry.js +5 -0
- package/dist/bromcom-ui/{p-c9bd85e9.js → p-a429e85b.js} +1 -1
- package/dist/bromcom-ui/p-aa2f93ad.entry.js +5 -0
- package/dist/bromcom-ui/p-ac0db796.entry.js +5 -0
- package/dist/bromcom-ui/p-ad81c97f.entry.js +5 -0
- package/dist/bromcom-ui/p-b3384208.entry.js +5 -0
- package/dist/bromcom-ui/{p-6a0c96dc.entry.js → p-b4c3e427.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1fa6181a.entry.js → p-bbea0c45.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c546cfdf.entry.js → p-bdb012c3.entry.js} +1 -1
- package/dist/bromcom-ui/p-c0ab91d0.entry.js +5 -0
- package/dist/bromcom-ui/p-c1acc1cc.entry.js +5 -0
- package/dist/bromcom-ui/p-ca5be058.entry.js +5 -0
- package/dist/bromcom-ui/{p-ff737d82.entry.js → p-d8f67933.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b1b377e8.entry.js → p-dae1cc7b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eb3aa16b.entry.js → p-dc306bd8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-487f7b46.js → p-de954bc9.js} +1 -1
- package/dist/bromcom-ui/{p-5c20b83c.entry.js → p-dfe8e354.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1bb7803c.entry.js → p-e1027707.entry.js} +1 -1
- package/dist/bromcom-ui/p-e248a4ae.entry.js +5 -0
- package/dist/bromcom-ui/{p-529cece6.entry.js → p-e5d40472.entry.js} +1 -1
- package/dist/bromcom-ui/p-ea30eabb.entry.js +5 -0
- package/dist/bromcom-ui/p-ec10e108.entry.js +5 -0
- package/dist/bromcom-ui/p-ece1e5c5.entry.js +5 -0
- package/dist/bromcom-ui/{p-783cb2bb.entry.js → p-ed211d55.entry.js} +1 -1
- package/dist/bromcom-ui/{p-375429c3.entry.js → p-ed59e34f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df615728.entry.js → p-f06d89e1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f6685330.entry.js → p-f089027d.entry.js} +1 -1
- package/dist/bromcom-ui/p-f5d4c866.js +5 -0
- package/dist/bromcom-ui/p-fe4c492c.entry.js +5 -0
- package/dist/cjs/{bcm-f00ec62c.js → bcm-ab921827.js} +1 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +3 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +6 -6
- package/dist/cjs/bcm-attendance.cjs.entry.js +5 -5
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
- package/dist/cjs/bcm-box.cjs.entry.js +2 -2
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/bcm-button-group.cjs.entry.js +6 -6
- package/dist/cjs/bcm-button.cjs.entry.js +10 -10
- package/dist/cjs/bcm-card.cjs.entry.js +7 -7
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +8 -8
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +9 -9
- package/dist/cjs/bcm-chip.cjs.entry.js +19 -6
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
- package/dist/cjs/bcm-color-input.cjs.entry.js +80 -0
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +17939 -0
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date-picker.cjs.entry.js +6 -5
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +11 -10
- package/dist/cjs/bcm-default.cjs.entry.js +3 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +8 -8
- package/dist/cjs/bcm-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +6 -6
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-form-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form.cjs.entry.js +5 -5
- package/dist/cjs/bcm-icon_5.cjs.entry.js +378 -0
- package/dist/cjs/bcm-input.cjs.entry.js +38 -11
- package/dist/cjs/bcm-item.cjs.entry.js +5 -5
- package/dist/cjs/bcm-items.cjs.entry.js +5 -5
- package/dist/cjs/bcm-label_2.cjs.entry.js +18 -15
- package/dist/cjs/bcm-link.cjs.entry.js +5 -5
- package/dist/cjs/bcm-list.cjs.entry.js +50 -30
- package/dist/cjs/bcm-menu.cjs.entry.js +11 -11
- package/dist/cjs/bcm-message.cjs.entry.js +2 -2
- package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
- package/dist/cjs/bcm-notification.cjs.entry.js +2 -2
- package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +7 -7
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popover.cjs.entry.js +12 -12
- package/dist/cjs/bcm-progress.cjs.entry.js +5 -5
- package/dist/cjs/bcm-radio-group.cjs.entry.js +8 -8
- package/dist/cjs/bcm-radio.cjs.entry.js +7 -7
- package/dist/cjs/bcm-range.cjs.entry.js +5 -5
- package/dist/cjs/bcm-result.cjs.entry.js +2 -2
- package/dist/cjs/bcm-search.cjs.entry.js +17 -12
- package/dist/cjs/bcm-select-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select-option.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +8 -8
- package/dist/cjs/bcm-step.cjs.entry.js +8 -8
- package/dist/cjs/bcm-stepper.cjs.entry.js +25 -20
- package/dist/cjs/bcm-switch.cjs.entry.js +7 -7
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tabs.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tag.cjs.entry.js +5 -5
- package/dist/cjs/bcm-textarea.cjs.entry.js +7 -7
- package/dist/cjs/bcm-time-picker.cjs.entry.js +6 -5
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-timeline.cjs.entry.js +2 -2
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +2 -2
- package/dist/cjs/{caption-template-95c791a2.js → caption-template-de4a0064.js} +1 -1
- package/dist/cjs/{floating-ui-2a4a79ff.js → floating-ui-0ca84e74.js} +1 -1
- package/dist/cjs/{generate-e98dfd99.js → generate-026f1cd4.js} +94 -29
- package/dist/cjs/{index-1d2ce51d.js → index-56628fe5.js} +1 -1
- package/dist/cjs/{index-1fda1524.js → index-7e2a5376.js} +1 -1
- package/dist/cjs/input-template-30abc44b.js +92 -0
- package/dist/cjs/{is-load-decorator-77664890.js → is-load-decorator-c38598ab.js} +1 -1
- package/dist/cjs/{json-parse-decarator-98c9ac9a.js → json-parse-decarator-328728fe.js} +2 -2
- package/dist/cjs/{label-template-e56264b3.js → label-template-e83fc65c.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{number-helper-b80392ed.js → number-helper-4f9beb92.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +9 -9
- package/dist/cjs/old-bcm-popover.cjs.entry.js +4 -4
- package/dist/cjs/{popover-placement-ac98d407.js → popover-placement-5db8811b.js} +1 -1
- package/dist/cjs/{slot-template-a4505c70.js → slot-template-175c51fb.js} +2 -2
- package/dist/cjs/{stepper-states-bd774fce.js → stepper-states-ec02ac41.js} +8 -6
- package/dist/cjs/{string-helper-145cd64f.js → string-helper-087a8134.js} +1 -1
- package/dist/cjs/{tooltip-helper-1418bb15.js → tooltip-helper-6ab50ea3.js} +40 -26
- package/dist/cjs/{validators-5514189b.js → validators-6d18baa5.js} +1 -1
- package/dist/collection/collection-manifest.json +5 -1
- package/dist/collection/components/atoms/avatar/avatar.css +3 -1
- package/dist/collection/components/atoms/badge/badge.css +3 -1
- package/dist/collection/components/atoms/button/button.css +3 -1
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/chip/chip.css +3 -1
- package/dist/collection/components/atoms/chip/chip.js +61 -3
- package/dist/collection/components/atoms/label/label.css +3 -1
- package/dist/collection/components/atoms/link/link.css +3 -1
- package/dist/collection/components/atoms/link/link.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.css +7 -1
- package/dist/collection/components/molecules/card/card.css +3 -1
- package/dist/collection/components/molecules/checkbox/checkbox.css +10 -3
- package/dist/collection/components/molecules/checkbox/checkbox.js +1 -1
- package/dist/collection/components/molecules/color-input/color-input.css +127 -0
- package/dist/collection/components/molecules/color-input/color-input.js +218 -0
- package/dist/collection/components/molecules/colorful/colorful.css +1253 -0
- package/dist/collection/components/molecules/colorful/colorful.js +72 -0
- package/dist/collection/components/molecules/drawer/drawer.css +3 -1
- package/dist/collection/components/molecules/dropdown/dropdown.css +3 -1
- package/dist/collection/components/molecules/error-layout/error-layout.css +3 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +3 -1
- package/dist/collection/components/molecules/input/input.css +13 -6
- package/dist/collection/components/molecules/input/input.js +29 -2
- package/dist/collection/components/molecules/item/item.css +3 -1
- package/dist/collection/components/molecules/linked/linked.js +28 -28
- package/dist/collection/components/molecules/menu/menu.css +3 -1
- package/dist/collection/components/molecules/menu/menu.js +1 -1
- package/dist/collection/components/molecules/modal/modal.css +3 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +3 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +11 -11
- package/dist/collection/components/molecules/progress/progress.css +3 -1
- package/dist/collection/components/molecules/radio/group.css +6 -2
- package/dist/collection/components/molecules/radio/radio.css +10 -3
- package/dist/collection/components/molecules/range/range.css +3 -1
- package/dist/collection/components/molecules/search/search.css +13 -6
- package/dist/collection/components/molecules/search/search.js +1 -1
- package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
- package/dist/collection/components/molecules/states/search.states.js +12 -7
- package/dist/collection/components/molecules/states/stepper-states.js +6 -4
- package/dist/collection/components/molecules/stepper/step.js +3 -3
- package/dist/collection/components/molecules/stepper/stepper.css +5 -2
- package/dist/collection/components/molecules/stepper/stepper.js +35 -12
- package/dist/collection/components/molecules/switch/switch.css +9 -3
- package/dist/collection/components/molecules/switch/switch.js +1 -1
- package/dist/collection/components/molecules/tab-group/tab-group.js +105 -107
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +186 -0
- package/dist/collection/components/molecules/tab-group/tab-item.js +161 -0
- package/dist/collection/components/molecules/textarea/textarea.css +13 -6
- package/dist/collection/components/molecules/tooltip/tooltip.js +35 -9
- package/dist/collection/components/organism/date-picker/date-picker.js +20 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +9 -3
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +20 -1
- package/dist/collection/components/organism/form/form.js +1 -1
- package/dist/collection/components/organism/list/list.css +13 -4
- package/dist/collection/components/organism/list/list.js +8 -1
- package/dist/collection/components/organism/states/bcm-list2.states.js +1 -1
- package/dist/collection/components/organism/time-picker/time-picker.js +20 -1
- package/dist/collection/components/other/attendance/attendance.css +3 -1
- package/dist/collection/components/other/attendance/attendance.js +1 -1
- package/dist/collection/components/other_deprecated/old-input/old-input.css +9 -3
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +3 -1
- package/dist/collection/components/other_deprecated/select/select.js +1 -1
- package/dist/collection/components/other_deprecated/tabs/tab.css +3 -1
- package/dist/collection/components/other_deprecated/text/text.css +3 -1
- package/dist/collection/global/components/_checkbox.css +4 -1
- package/dist/collection/helper/generate.js +84 -19
- package/dist/collection/helper/tooltip-helper.js +37 -23
- package/dist/collection/models/bcm.js +1 -0
- package/dist/collection/stories/assets/button/1.svg +35 -0
- package/dist/collection/stories/assets/button/10.svg +24 -0
- package/dist/collection/stories/assets/button/11.svg +24 -0
- package/dist/collection/stories/assets/button/12.svg +24 -0
- package/dist/collection/stories/assets/button/2.svg +28 -0
- package/dist/collection/stories/assets/button/3.svg +41 -0
- package/dist/collection/stories/assets/button/4.svg +9 -0
- package/dist/collection/stories/assets/button/5.svg +65 -0
- package/dist/collection/stories/assets/button/6.svg +68 -0
- package/dist/collection/stories/assets/button/7.svg +203 -0
- package/dist/collection/stories/assets/button/8.svg +316 -0
- package/dist/collection/stories/assets/button/9.svg +9 -0
- package/dist/collection/templates/button-template.js +1 -1
- package/dist/collection/templates/input-template.js +30 -29
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +14 -2
- package/dist/collection/templates/step-template.js +2 -2
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bcm-attendance.js +2 -2
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-card.js +1 -1
- package/dist/components/bcm-chip.js +17 -4
- package/dist/components/bcm-color-input.d.ts +11 -0
- package/dist/components/bcm-color-input.js +134 -0
- package/dist/components/bcm-colorful.d.ts +11 -0
- package/dist/components/bcm-colorful.js +10 -0
- package/dist/components/bcm-date-picker.js +3 -1
- package/dist/components/bcm-drawer.js +1 -1
- package/dist/components/bcm-dropdown.js +1 -1
- package/dist/components/bcm-error-layout.js +1 -1
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-form.js +1 -1
- package/dist/components/bcm-input.js +1 -411
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-list.js +35 -15
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-popconfirm.js +1 -1
- package/dist/components/bcm-popover.js +4 -4
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +1 -1
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-select.js +1 -1
- package/dist/components/bcm-stepper.js +21 -15
- package/dist/components/bcm-switch.js +2 -2
- package/dist/components/bcm-tab-group.js +90 -104
- package/dist/components/bcm-tab-item-header.d.ts +11 -0
- package/dist/components/bcm-tab-item-header.js +102 -0
- package/dist/components/bcm-tab-item.d.ts +11 -0
- package/dist/components/bcm-tab-item.js +117 -0
- package/dist/components/bcm-tab.js +1 -1
- package/dist/components/bcm-textarea.js +1 -1
- package/dist/components/bcm-time-picker.js +3 -1
- package/dist/components/bcm.js +1 -0
- package/dist/components/button.js +3 -3
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/colorful.js +17768 -0
- package/dist/components/datetime-picker.js +4 -2
- package/dist/components/generate.js +81 -16
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +4 -0
- package/dist/components/input-template.js +45 -39
- package/dist/components/input.js +456 -0
- package/dist/components/label.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/linked.js +20 -20
- package/dist/components/menu.js +2 -2
- package/dist/components/old-input.js +1 -1
- package/dist/components/old-popover-box.js +1 -1
- package/dist/components/popconfirm-box.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/search.js +10 -5
- package/dist/components/skeleton.js +5 -5
- package/dist/components/step.js +9 -8
- package/dist/components/text.js +1 -1
- package/dist/components/tooltip-helper.js +35 -21
- package/dist/components/tooltip.js +7 -3
- package/dist/esm/{bcm-b8d8a236.js → bcm-9f50af9c.js} +1 -0
- package/dist/esm/bcm-accordion.entry.js +3 -3
- package/dist/esm/bcm-alert.entry.js +6 -6
- package/dist/esm/bcm-attendance.entry.js +5 -5
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +10 -10
- package/dist/esm/bcm-box.entry.js +2 -2
- package/dist/esm/bcm-breadcrumb.entry.js +3 -3
- package/dist/esm/bcm-button-group.entry.js +6 -6
- package/dist/esm/bcm-button.entry.js +10 -10
- package/dist/esm/bcm-card.entry.js +7 -7
- package/dist/esm/bcm-checkbox-group.entry.js +8 -8
- package/dist/esm/bcm-checkbox-lite_9.entry.js +5 -5
- package/dist/esm/bcm-checkbox_2.entry.js +9 -9
- package/dist/esm/bcm-chip.entry.js +19 -6
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +3 -3
- package/dist/esm/bcm-color-input.entry.js +76 -0
- package/dist/esm/bcm-colorful_2.entry.js +17934 -0
- package/dist/esm/bcm-colorpicker.entry.js +2 -2
- package/dist/esm/bcm-date-picker.entry.js +6 -5
- package/dist/esm/bcm-datetime-picker.entry.js +11 -10
- package/dist/esm/bcm-default.entry.js +3 -3
- package/dist/esm/bcm-drawer.entry.js +8 -8
- package/dist/esm/bcm-dropdown.entry.js +6 -6
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +6 -6
- package/dist/esm/bcm-form-2.entry.js +5 -5
- package/dist/esm/bcm-form-group.entry.js +2 -2
- package/dist/esm/bcm-form.entry.js +5 -5
- package/dist/esm/bcm-icon_5.entry.js +370 -0
- package/dist/esm/bcm-input.entry.js +38 -11
- package/dist/esm/bcm-item.entry.js +5 -5
- package/dist/esm/bcm-items.entry.js +5 -5
- package/dist/esm/bcm-label_2.entry.js +18 -15
- package/dist/esm/bcm-link.entry.js +5 -5
- package/dist/esm/bcm-list.entry.js +50 -30
- package/dist/esm/bcm-menu.entry.js +11 -11
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal.entry.js +7 -7
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-old-input.entry.js +4 -4
- package/dist/esm/bcm-old-tag_2.entry.js +2 -2
- package/dist/esm/bcm-popconfirm-box.entry.js +7 -7
- package/dist/esm/bcm-popconfirm.entry.js +5 -5
- package/dist/esm/bcm-popover.entry.js +12 -12
- package/dist/esm/bcm-progress.entry.js +5 -5
- package/dist/esm/bcm-radio-group.entry.js +8 -8
- package/dist/esm/bcm-radio.entry.js +7 -7
- package/dist/esm/bcm-range.entry.js +5 -5
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-search.entry.js +17 -12
- package/dist/esm/bcm-select-group.entry.js +1 -1
- package/dist/esm/bcm-select-option.entry.js +1 -1
- package/dist/esm/bcm-select.entry.js +5 -5
- package/dist/esm/bcm-skeleton.entry.js +8 -8
- package/dist/esm/bcm-step.entry.js +8 -8
- package/dist/esm/bcm-stepper.entry.js +25 -20
- package/dist/esm/bcm-switch.entry.js +7 -7
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +2 -2
- package/dist/esm/bcm-tabs-content.entry.js +2 -2
- package/dist/esm/bcm-tabs.entry.js +2 -2
- package/dist/esm/bcm-tag.entry.js +5 -5
- package/dist/esm/bcm-textarea.entry.js +7 -7
- package/dist/esm/bcm-time-picker.entry.js +6 -5
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +2 -2
- package/dist/esm/{caption-template-e7d51661.js → caption-template-389f5bd6.js} +1 -1
- package/dist/esm/{floating-ui-700d0b98.js → floating-ui-4a49ea46.js} +1 -1
- package/dist/esm/{generate-38707d04.js → generate-a6f82dcd.js} +94 -29
- package/dist/esm/{index-58077b32.js → index-6e2d80d7.js} +1 -1
- package/dist/esm/{index-6bdec00d.js → index-8b349654.js} +1 -1
- package/dist/esm/input-template-17bd1428.js +90 -0
- package/dist/esm/{is-load-decorator-d57b8f9e.js → is-load-decorator-66e19e04.js} +1 -1
- package/dist/esm/{json-parse-decarator-0e105c28.js → json-parse-decarator-cf4f1009.js} +2 -2
- package/dist/esm/{label-template-f352ef5b.js → label-template-eed2dd69.js} +3 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{number-helper-5268042c.js → number-helper-2200c17d.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +9 -9
- package/dist/esm/old-bcm-popover.entry.js +4 -4
- package/dist/esm/{popover-placement-9864294b.js → popover-placement-4baf5f2f.js} +1 -1
- package/dist/esm/{slot-template-aee2ff75.js → slot-template-64b41ee5.js} +2 -2
- package/dist/esm/{stepper-states-925a81ea.js → stepper-states-17a11daa.js} +8 -6
- package/dist/esm/{string-helper-74a1648f.js → string-helper-0fb7ff20.js} +1 -1
- package/dist/esm/{tooltip-helper-2c89e1cc.js → tooltip-helper-a49f9e67.js} +40 -26
- package/dist/esm/{validators-734a2c8e.js → validators-b0304de7.js} +1 -1
- package/dist/types/components/atoms/chip/chip.d.ts +6 -1
- package/dist/types/components/molecules/color-input/color-input.d.ts +20 -0
- package/dist/types/components/molecules/colorful/colorful.d.ts +8 -0
- package/dist/types/components/molecules/input/input.d.ts +3 -0
- package/dist/types/components/molecules/linked/linked.d.ts +2 -2
- package/dist/types/components/molecules/popover/popover.d.ts +3 -3
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/molecules/states/search.states.d.ts +1 -1
- package/dist/types/components/molecules/stepper/step.d.ts +1 -1
- package/dist/types/components/molecules/stepper/stepper.d.ts +1 -0
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +8 -5
- package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +13 -0
- package/dist/types/components/molecules/tab-group/tab-item.d.ts +17 -0
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +4 -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 +1 -0
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -0
- package/dist/types/components.d.ts +116 -3
- package/dist/types/helper/generate.d.ts +1 -0
- package/dist/types/helper/tooltip-helper.d.ts +4 -1
- package/dist/types/models/bcm.d.ts +2 -1
- package/dist/types/templates/input-template.d.ts +5 -3
- package/dist/types/templates/step-template.d.ts +1 -1
- package/package.json +106 -70
- package/dist/bromcom-ui/p-00dc3d2e.entry.js +0 -5
- package/dist/bromcom-ui/p-04b6abc3.js +0 -5
- package/dist/bromcom-ui/p-0612fbb0.entry.js +0 -5
- package/dist/bromcom-ui/p-08662565.entry.js +0 -5
- package/dist/bromcom-ui/p-0c343f1d.entry.js +0 -5
- package/dist/bromcom-ui/p-14afb435.entry.js +0 -5
- package/dist/bromcom-ui/p-161d83e1.entry.js +0 -5
- package/dist/bromcom-ui/p-26d5b24d.entry.js +0 -5
- package/dist/bromcom-ui/p-27085077.entry.js +0 -5
- package/dist/bromcom-ui/p-29f3c080.entry.js +0 -5
- package/dist/bromcom-ui/p-2a7f29b6.entry.js +0 -5
- package/dist/bromcom-ui/p-2c9f6e6a.entry.js +0 -5
- package/dist/bromcom-ui/p-35502aac.entry.js +0 -5
- package/dist/bromcom-ui/p-3d2cdbcc.entry.js +0 -5
- package/dist/bromcom-ui/p-4058bd89.js +0 -5
- package/dist/bromcom-ui/p-43c148a4.entry.js +0 -5
- package/dist/bromcom-ui/p-44dd9f7a.entry.js +0 -5
- package/dist/bromcom-ui/p-4f79155d.entry.js +0 -5
- package/dist/bromcom-ui/p-52707827.entry.js +0 -5
- package/dist/bromcom-ui/p-56a57960.entry.js +0 -5
- package/dist/bromcom-ui/p-5de35604.entry.js +0 -5
- package/dist/bromcom-ui/p-649f6d13.entry.js +0 -5
- package/dist/bromcom-ui/p-79719bd4.entry.js +0 -5
- package/dist/bromcom-ui/p-7f137af3.entry.js +0 -5
- package/dist/bromcom-ui/p-85688ecf.entry.js +0 -5
- package/dist/bromcom-ui/p-878e45a0.entry.js +0 -5
- package/dist/bromcom-ui/p-888b5c8c.entry.js +0 -5
- package/dist/bromcom-ui/p-9c6de630.js +0 -5
- package/dist/bromcom-ui/p-a0b83826.js +0 -5
- package/dist/bromcom-ui/p-a23d2359.entry.js +0 -5
- package/dist/bromcom-ui/p-a2d79502.entry.js +0 -5
- package/dist/bromcom-ui/p-a8abc160.entry.js +0 -5
- package/dist/bromcom-ui/p-a95d388e.js +0 -5
- package/dist/bromcom-ui/p-c09b0566.entry.js +0 -5
- package/dist/bromcom-ui/p-c7e3e6b0.entry.js +0 -5
- package/dist/bromcom-ui/p-cbfa56e8.entry.js +0 -5
- package/dist/bromcom-ui/p-d33c83e8.entry.js +0 -5
- package/dist/bromcom-ui/p-d4200c87.entry.js +0 -5
- package/dist/bromcom-ui/p-d5503ae8.entry.js +0 -5
- package/dist/bromcom-ui/p-d98d05a3.js +0 -5
- package/dist/bromcom-ui/p-d9acb076.entry.js +0 -5
- package/dist/bromcom-ui/p-e07222d9.entry.js +0 -5
- package/dist/bromcom-ui/p-e974df65.entry.js +0 -5
- package/dist/bromcom-ui/p-e987ebfa.entry.js +0 -5
- package/dist/bromcom-ui/p-f20c8e07.js +0 -5
- package/dist/cjs/bcm-icon.cjs.entry.js +0 -41
- package/dist/cjs/bcm-linked_2.cjs.entry.js +0 -239
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -172
- package/dist/cjs/input-template-00b50605.js +0 -86
- package/dist/esm/bcm-icon.entry.js +0 -37
- package/dist/esm/bcm-linked_2.entry.js +0 -234
- package/dist/esm/bcm-tab-group.entry.js +0 -168
- package/dist/esm/input-template-bd2265e4.js +0 -84
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/colorpicker.css +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/colorpicker.js +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/chess.png +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/color.svg +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/colors.svg +0 -0
- /package/dist/types/components/{organism → other_deprecated}/colorpicker/colorpicker.d.ts +0 -0
|
@@ -125,7 +125,9 @@
|
|
|
125
125
|
margin-right: 8px;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:root
|
|
128
|
+
:root,
|
|
129
|
+
::after,
|
|
130
|
+
::before {
|
|
129
131
|
--bcm-new-ds-color-inherit: inherit;
|
|
130
132
|
--bcm-new-ds-color-current: currentColor;
|
|
131
133
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -428,7 +430,9 @@
|
|
|
428
430
|
min-height: calc(14px + 8px);
|
|
429
431
|
}
|
|
430
432
|
|
|
431
|
-
:root
|
|
433
|
+
:root,
|
|
434
|
+
::after,
|
|
435
|
+
::before {
|
|
432
436
|
--bcm-new-ds-color-inherit: inherit;
|
|
433
437
|
--bcm-new-ds-color-current: currentColor;
|
|
434
438
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -776,7 +780,9 @@
|
|
|
776
780
|
margin: 0;
|
|
777
781
|
}
|
|
778
782
|
|
|
779
|
-
:root
|
|
783
|
+
:root,
|
|
784
|
+
::after,
|
|
785
|
+
::before {
|
|
780
786
|
--bcm-new-ds-color-inherit: inherit;
|
|
781
787
|
--bcm-new-ds-color-current: currentColor;
|
|
782
788
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -1065,7 +1071,7 @@
|
|
|
1065
1071
|
cursor: not-allowed;
|
|
1066
1072
|
}
|
|
1067
1073
|
.bcm-input__container.disabled .bcm-input-element {
|
|
1068
|
-
color: var(--bcm-new-ds-color-slate-
|
|
1074
|
+
color: var(--bcm-new-ds-color-slate-500);
|
|
1069
1075
|
}
|
|
1070
1076
|
.bcm-input__container.readonly {
|
|
1071
1077
|
background-color: var(--bcm-new-ds-color-slate-50);
|
|
@@ -1165,6 +1171,7 @@
|
|
|
1165
1171
|
}
|
|
1166
1172
|
.bcm-input__container .input-suffix:not(:empty) {
|
|
1167
1173
|
min-width: 24px;
|
|
1174
|
+
padding-right: 4px;
|
|
1168
1175
|
}
|
|
1169
1176
|
.bcm-input__container .input-prefix:not(:empty),
|
|
1170
1177
|
.bcm-input__container .input-suffix:not(:empty) {
|
|
@@ -1172,11 +1179,11 @@
|
|
|
1172
1179
|
align-items: center;
|
|
1173
1180
|
justify-content: center;
|
|
1174
1181
|
cursor: default;
|
|
1175
|
-
color:
|
|
1182
|
+
color: #64748a;
|
|
1176
1183
|
}
|
|
1177
1184
|
.bcm-input__container .input-prefix:not(:empty) .unit-prefix,
|
|
1178
1185
|
.bcm-input__container .input-suffix:not(:empty) .unit-prefix {
|
|
1179
|
-
color:
|
|
1186
|
+
color: #64748a;
|
|
1180
1187
|
}
|
|
1181
1188
|
.bcm-input__container .input-prefix-button:not(:empty),
|
|
1182
1189
|
.bcm-input__container .input-suffix-button:not(:empty) {
|
|
@@ -12,24 +12,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import { IsLoad } from
|
|
16
|
-
import { Generate, Tooltip } from
|
|
17
|
-
import { Bcm } from
|
|
18
|
-
import { Host, h } from
|
|
15
|
+
import { IsLoad } from "@bcm/decorator";
|
|
16
|
+
import { Generate, Tooltip } from "@bcm/helpers";
|
|
17
|
+
import { Bcm } from "@bcm/model";
|
|
18
|
+
import { Host, h } from "@stencil/core";
|
|
19
19
|
export class BcmTooltip {
|
|
20
20
|
constructor() {
|
|
21
21
|
this._id = Generate.UID();
|
|
22
|
-
this.message =
|
|
22
|
+
this.message = "";
|
|
23
23
|
this.placement = Bcm.Placement.top;
|
|
24
24
|
this.trigger = Bcm.TriggerType.click;
|
|
25
25
|
this.open = false;
|
|
26
|
-
this.color =
|
|
26
|
+
this.color = "slate";
|
|
27
|
+
this.size = Bcm.Size.medium;
|
|
27
28
|
this.tooltip = new Tooltip({
|
|
28
29
|
targetId: this._id,
|
|
29
30
|
message: this.message,
|
|
30
31
|
placement: this.placement,
|
|
31
32
|
color: this.color,
|
|
32
33
|
trigger: this.trigger,
|
|
34
|
+
size: this.size,
|
|
33
35
|
});
|
|
34
36
|
}
|
|
35
37
|
componentDidLoad() {
|
|
@@ -40,6 +42,7 @@ export class BcmTooltip {
|
|
|
40
42
|
this.tooltip.placement = this.placement;
|
|
41
43
|
this.tooltip.color = this.color;
|
|
42
44
|
this.tooltip.trigger = this.trigger;
|
|
45
|
+
this.tooltip.size = this.size;
|
|
43
46
|
this.tooltip.update();
|
|
44
47
|
}
|
|
45
48
|
async show() {
|
|
@@ -52,7 +55,7 @@ export class BcmTooltip {
|
|
|
52
55
|
this.tooltip.toggle();
|
|
53
56
|
}
|
|
54
57
|
render() {
|
|
55
|
-
return (h(Host, { "aria-describedby": "tooltip",
|
|
58
|
+
return (h(Host, { "aria-describedby": "tooltip", class: "tw-inline-flex tw-h-fit tw-w-fit" }, h("slot", null)));
|
|
56
59
|
}
|
|
57
60
|
static get is() { return "bcm-tooltip"; }
|
|
58
61
|
static get properties() {
|
|
@@ -91,7 +94,7 @@ export class BcmTooltip {
|
|
|
91
94
|
},
|
|
92
95
|
"attribute": "message",
|
|
93
96
|
"reflect": false,
|
|
94
|
-
"defaultValue": "
|
|
97
|
+
"defaultValue": "\"\""
|
|
95
98
|
},
|
|
96
99
|
"placement": {
|
|
97
100
|
"type": "string",
|
|
@@ -173,7 +176,30 @@ export class BcmTooltip {
|
|
|
173
176
|
},
|
|
174
177
|
"attribute": "color",
|
|
175
178
|
"reflect": false,
|
|
176
|
-
"defaultValue": "
|
|
179
|
+
"defaultValue": "\"slate\""
|
|
180
|
+
},
|
|
181
|
+
"size": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"mutable": false,
|
|
184
|
+
"complexType": {
|
|
185
|
+
"original": "SizeTypes",
|
|
186
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
187
|
+
"references": {
|
|
188
|
+
"SizeTypes": {
|
|
189
|
+
"location": "import",
|
|
190
|
+
"path": "@bcm/model"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [],
|
|
198
|
+
"text": ""
|
|
199
|
+
},
|
|
200
|
+
"attribute": "size",
|
|
201
|
+
"reflect": false,
|
|
202
|
+
"defaultValue": "Bcm.Size.medium"
|
|
177
203
|
}
|
|
178
204
|
};
|
|
179
205
|
}
|
|
@@ -42,6 +42,7 @@ export class BcmDatePicker {
|
|
|
42
42
|
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
43
43
|
this.placement = Bcm.Placement['bottom-start'];
|
|
44
44
|
this.linkedComponent = undefined;
|
|
45
|
+
this.clearable = false;
|
|
45
46
|
this.stateStartDate = null;
|
|
46
47
|
this.stateEndDate = null;
|
|
47
48
|
}
|
|
@@ -153,7 +154,7 @@ export class BcmDatePicker {
|
|
|
153
154
|
'full-width': this.fullWidth,
|
|
154
155
|
'linked-component': this.linkedComponent,
|
|
155
156
|
});
|
|
156
|
-
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, 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 })));
|
|
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 })));
|
|
157
158
|
}
|
|
158
159
|
static get is() { return "bcm-date-picker"; }
|
|
159
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -552,6 +553,24 @@ export class BcmDatePicker {
|
|
|
552
553
|
},
|
|
553
554
|
"attribute": "linked-component",
|
|
554
555
|
"reflect": false
|
|
556
|
+
},
|
|
557
|
+
"clearable": {
|
|
558
|
+
"type": "boolean",
|
|
559
|
+
"mutable": true,
|
|
560
|
+
"complexType": {
|
|
561
|
+
"original": "boolean",
|
|
562
|
+
"resolved": "boolean",
|
|
563
|
+
"references": {}
|
|
564
|
+
},
|
|
565
|
+
"required": false,
|
|
566
|
+
"optional": false,
|
|
567
|
+
"docs": {
|
|
568
|
+
"tags": [],
|
|
569
|
+
"text": ""
|
|
570
|
+
},
|
|
571
|
+
"attribute": "clearable",
|
|
572
|
+
"reflect": false,
|
|
573
|
+
"defaultValue": "false"
|
|
555
574
|
}
|
|
556
575
|
};
|
|
557
576
|
}
|
|
@@ -125,7 +125,9 @@
|
|
|
125
125
|
margin-right: 8px;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:root
|
|
128
|
+
:root,
|
|
129
|
+
::after,
|
|
130
|
+
::before {
|
|
129
131
|
--bcm-new-ds-color-inherit: inherit;
|
|
130
132
|
--bcm-new-ds-color-current: currentColor;
|
|
131
133
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -428,7 +430,9 @@
|
|
|
428
430
|
min-height: calc(14px + 8px);
|
|
429
431
|
}
|
|
430
432
|
|
|
431
|
-
:root
|
|
433
|
+
:root,
|
|
434
|
+
::after,
|
|
435
|
+
::before {
|
|
432
436
|
--bcm-new-ds-color-inherit: inherit;
|
|
433
437
|
--bcm-new-ds-color-current: currentColor;
|
|
434
438
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -776,7 +780,9 @@
|
|
|
776
780
|
margin: 0;
|
|
777
781
|
}
|
|
778
782
|
|
|
779
|
-
:root
|
|
783
|
+
:root,
|
|
784
|
+
::after,
|
|
785
|
+
::before {
|
|
780
786
|
--bcm-new-ds-color-inherit: inherit;
|
|
781
787
|
--bcm-new-ds-color-current: currentColor;
|
|
782
788
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -56,6 +56,7 @@ export class BcmDatetimePicker {
|
|
|
56
56
|
this.alignment = undefined;
|
|
57
57
|
this.placement = Bcm.Placement['bottom-start'];
|
|
58
58
|
this.linkedComponent = undefined;
|
|
59
|
+
this.clearable = false;
|
|
59
60
|
this.years = [];
|
|
60
61
|
this.hours = [];
|
|
61
62
|
this.minutes = [];
|
|
@@ -1355,7 +1356,7 @@ export class BcmDatetimePicker {
|
|
|
1355
1356
|
const clockIcon = `<svg style="fill: #595959; 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 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"/></svg>`;
|
|
1356
1357
|
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>`;
|
|
1357
1358
|
const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
|
|
1358
|
-
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:
|
|
1359
|
+
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),
|
|
1359
1360
|
// on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
|
|
1360
1361
|
noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("bcm-tooltip", { placement: "top", message: this.errorText, trigger: "hover" }, h("bcm-icon", {
|
|
1361
1362
|
// slot="suffix"
|
|
@@ -1811,6 +1812,24 @@ export class BcmDatetimePicker {
|
|
|
1811
1812
|
},
|
|
1812
1813
|
"attribute": "linked-component",
|
|
1813
1814
|
"reflect": false
|
|
1815
|
+
},
|
|
1816
|
+
"clearable": {
|
|
1817
|
+
"type": "boolean",
|
|
1818
|
+
"mutable": true,
|
|
1819
|
+
"complexType": {
|
|
1820
|
+
"original": "boolean",
|
|
1821
|
+
"resolved": "boolean",
|
|
1822
|
+
"references": {}
|
|
1823
|
+
},
|
|
1824
|
+
"required": false,
|
|
1825
|
+
"optional": false,
|
|
1826
|
+
"docs": {
|
|
1827
|
+
"tags": [],
|
|
1828
|
+
"text": ""
|
|
1829
|
+
},
|
|
1830
|
+
"attribute": "clearable",
|
|
1831
|
+
"reflect": false,
|
|
1832
|
+
"defaultValue": "false"
|
|
1814
1833
|
}
|
|
1815
1834
|
};
|
|
1816
1835
|
}
|
|
@@ -422,7 +422,7 @@ export class BcmForm {
|
|
|
422
422
|
}
|
|
423
423
|
render() {
|
|
424
424
|
const hostClasses = cs(this.hidden ? 'hidden' : null);
|
|
425
|
-
return (h(Host, { class: hostClasses
|
|
425
|
+
return (h(Host, { class: hostClasses }, h("form", { class: "bcm-form", autocomplete: this.autocomplete ? "on" : "off" }, h("slot", null))));
|
|
426
426
|
}
|
|
427
427
|
static get is() { return "bcm-form"; }
|
|
428
428
|
static get originalStyleUrls() {
|
|
@@ -126,7 +126,9 @@
|
|
|
126
126
|
margin-right: 8px;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
:root
|
|
129
|
+
:root,
|
|
130
|
+
::after,
|
|
131
|
+
::before {
|
|
130
132
|
--bcm-new-ds-color-inherit: inherit;
|
|
131
133
|
--bcm-new-ds-color-current: currentColor;
|
|
132
134
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -429,7 +431,9 @@
|
|
|
429
431
|
min-height: calc(14px + 8px);
|
|
430
432
|
}
|
|
431
433
|
|
|
432
|
-
:root
|
|
434
|
+
:root,
|
|
435
|
+
::after,
|
|
436
|
+
::before {
|
|
433
437
|
--bcm-new-ds-color-inherit: inherit;
|
|
434
438
|
--bcm-new-ds-color-current: currentColor;
|
|
435
439
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -777,7 +781,9 @@
|
|
|
777
781
|
margin: 0;
|
|
778
782
|
}
|
|
779
783
|
|
|
780
|
-
:root
|
|
784
|
+
:root,
|
|
785
|
+
::after,
|
|
786
|
+
::before {
|
|
781
787
|
--bcm-new-ds-color-inherit: inherit;
|
|
782
788
|
--bcm-new-ds-color-current: currentColor;
|
|
783
789
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -1031,7 +1037,9 @@
|
|
|
1031
1037
|
box-sizing: border-box;
|
|
1032
1038
|
}
|
|
1033
1039
|
|
|
1034
|
-
:root
|
|
1040
|
+
:root,
|
|
1041
|
+
::after,
|
|
1042
|
+
::before {
|
|
1035
1043
|
--bcm-new-ds-color-inherit: inherit;
|
|
1036
1044
|
--bcm-new-ds-color-current: currentColor;
|
|
1037
1045
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -1316,6 +1324,7 @@
|
|
|
1316
1324
|
appearance: none;
|
|
1317
1325
|
background-color: #fff;
|
|
1318
1326
|
margin: 0;
|
|
1327
|
+
display: none;
|
|
1319
1328
|
}
|
|
1320
1329
|
.bcm-checkbox__input {
|
|
1321
1330
|
display: flex;
|
|
@@ -110,7 +110,7 @@ export class BcmList {
|
|
|
110
110
|
this.markForCheck();
|
|
111
111
|
}
|
|
112
112
|
const checkElementWithDom = document.querySelectorAll(`#bcm-list-${this._id}`);
|
|
113
|
-
(checkElementWithDom === null || checkElementWithDom === void 0 ? void 0 : checkElementWithDom.length) >
|
|
113
|
+
(checkElementWithDom === null || checkElementWithDom === void 0 ? void 0 : checkElementWithDom.length) > 1 && checkElementWithDom.forEach((item, index) => index > 0 && item.remove());
|
|
114
114
|
}
|
|
115
115
|
componentWillRender() {
|
|
116
116
|
this.calculateLocation();
|
|
@@ -242,11 +242,18 @@ export class BcmList {
|
|
|
242
242
|
this.onSelectSearch();
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
245
|
+
this.listScrollToTop();
|
|
245
246
|
this.close.emit();
|
|
246
247
|
await delay(100);
|
|
247
248
|
this.unSelectOther();
|
|
248
249
|
}
|
|
249
250
|
}
|
|
251
|
+
listScrollToTop() {
|
|
252
|
+
const list = document.querySelector(`#bcm-list-${this._id}`);
|
|
253
|
+
if (list) {
|
|
254
|
+
list.querySelector('.scrolling').scrollTop = 0;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
250
257
|
async dataChanged(newValue, oldValue) {
|
|
251
258
|
if (!Validators.compareTwoArrayIsSame(newValue, oldValue)) {
|
|
252
259
|
await this.initState();
|
|
@@ -188,7 +188,7 @@ const findItem = (id, itemId, items) => {
|
|
|
188
188
|
if (dataSource) {
|
|
189
189
|
dataSource.forEach(item => {
|
|
190
190
|
if (itemId.includes(item.id)) {
|
|
191
|
-
checkedProcess(id, item);
|
|
191
|
+
checkedProcess(id, item, true);
|
|
192
192
|
if (item.parentId) {
|
|
193
193
|
indeterminateStatus(id, item.parentId);
|
|
194
194
|
}
|
|
@@ -37,6 +37,7 @@ export class BcmTimePicker {
|
|
|
37
37
|
this.alignment = undefined;
|
|
38
38
|
this.placement = Bcm.Placement['bottom-start'];
|
|
39
39
|
this.linkedComponent = undefined;
|
|
40
|
+
this.clearable = false;
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* @ComponentMethod
|
|
@@ -125,7 +126,7 @@ export class BcmTimePicker {
|
|
|
125
126
|
const hostClasses = cs(this.hidden ? 'hidden' : null, {
|
|
126
127
|
'full-width': this.fullWidth
|
|
127
128
|
});
|
|
128
|
-
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", 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 })));
|
|
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 })));
|
|
129
130
|
}
|
|
130
131
|
static get is() { return "bcm-time-picker"; }
|
|
131
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -448,6 +449,24 @@ export class BcmTimePicker {
|
|
|
448
449
|
},
|
|
449
450
|
"attribute": "linked-component",
|
|
450
451
|
"reflect": false
|
|
452
|
+
},
|
|
453
|
+
"clearable": {
|
|
454
|
+
"type": "boolean",
|
|
455
|
+
"mutable": true,
|
|
456
|
+
"complexType": {
|
|
457
|
+
"original": "boolean",
|
|
458
|
+
"resolved": "boolean",
|
|
459
|
+
"references": {}
|
|
460
|
+
},
|
|
461
|
+
"required": false,
|
|
462
|
+
"optional": false,
|
|
463
|
+
"docs": {
|
|
464
|
+
"tags": [],
|
|
465
|
+
"text": ""
|
|
466
|
+
},
|
|
467
|
+
"attribute": "clearable",
|
|
468
|
+
"reflect": false,
|
|
469
|
+
"defaultValue": "false"
|
|
451
470
|
}
|
|
452
471
|
};
|
|
453
472
|
}
|
|
@@ -23,7 +23,7 @@ export class BcmAttendance {
|
|
|
23
23
|
render() {
|
|
24
24
|
const { data } = this;
|
|
25
25
|
const classPrefix = 'bcm-attendance';
|
|
26
|
-
return (h(Host, { class: classPrefix
|
|
26
|
+
return (h(Host, { class: classPrefix }, h("span", { hidden: true }, h("slot", null)), data.map(item => {
|
|
27
27
|
var _a, _b;
|
|
28
28
|
return h("div", { class: `${classPrefix}__item` }, h("bcm-tooltip", { trigger: "hover", message: `${item.weekday || null} / AM` }, h("span", { class: `${classPrefix}__item-am ${classPrefix}__item-status-${(_a = item.am) !== null && _a !== void 0 ? _a : 'default'}` })), h("bcm-tooltip", { trigger: "hover", message: `${item.weekday || null} / PM` }, h("span", { class: `${classPrefix}__item-pm ${classPrefix}__item-status-${(_b = item.pm) !== null && _b !== void 0 ? _b : 'default'}` })));
|
|
29
29
|
})));
|
|
@@ -125,7 +125,9 @@
|
|
|
125
125
|
margin-right: 8px;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:root
|
|
128
|
+
:root,
|
|
129
|
+
::after,
|
|
130
|
+
::before {
|
|
129
131
|
--bcm-new-ds-color-inherit: inherit;
|
|
130
132
|
--bcm-new-ds-color-current: currentColor;
|
|
131
133
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -428,7 +430,9 @@
|
|
|
428
430
|
min-height: calc(14px + 8px);
|
|
429
431
|
}
|
|
430
432
|
|
|
431
|
-
:root
|
|
433
|
+
:root,
|
|
434
|
+
::after,
|
|
435
|
+
::before {
|
|
432
436
|
--bcm-new-ds-color-inherit: inherit;
|
|
433
437
|
--bcm-new-ds-color-current: currentColor;
|
|
434
438
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -776,7 +780,9 @@
|
|
|
776
780
|
margin: 0;
|
|
777
781
|
}
|
|
778
782
|
|
|
779
|
-
:root
|
|
783
|
+
:root,
|
|
784
|
+
::after,
|
|
785
|
+
::before {
|
|
780
786
|
--bcm-new-ds-color-inherit: inherit;
|
|
781
787
|
--bcm-new-ds-color-current: currentColor;
|
|
782
788
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -1175,7 +1175,7 @@ export class BcmSelect {
|
|
|
1175
1175
|
'overflow': 'hidden',
|
|
1176
1176
|
'display': 'block'
|
|
1177
1177
|
};
|
|
1178
|
-
return (h(Host, { class: hostClasses, onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur() }, h("div", { class: container }, label && h("bcm-label", { onClick: () => this.handleOpen(false), tooltip: this.tooltip, type: captionType, value: label, required: required }), h("div", { id: "selected-container", class: selected, onClick: (e) => this.handleOpen(e)
|
|
1178
|
+
return (h(Host, { class: hostClasses, onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur() }, h("div", { class: container }, label && h("bcm-label", { onClick: () => this.handleOpen(false), tooltip: this.tooltip, type: captionType, value: label, required: required }), h("div", { id: "selected-container", class: selected, onClick: (e) => this.handleOpen(e) }, h("span", { class: selectedText, title: this.selectText && (this.selectText) }, (this.selectText && (this.selectText)), ((!this.selectText && (this.onShowVisibleTags.length > 0 || this.onShowHiddenTags.length > 0)) && (h("span", { id: "tagcontainer", class: "tag-container" }, h("span", null, this.onShowVisibleTags.map((item) => (h("bcm-old-tag", { _internal_id: this._internal_id, customStyle: customStyleTag, onClick: () => this.handleClickTag(), type: "dissmisable", value: item[this.objectMapping['text']], title: item[this.objectMapping['text']], id: item[this.objectMapping['id']], class: "tag" })))), h("span", null, this.onShowHiddenTags.length > 0 && (h("bcm-old-tag", { _internal_id: this._internal_id, title: this.hiddenTagsString, customStyle: customStyleOtherTag, onClick: (e) => this.showHiddenTags(e), color: this.otherTagStatus ? 'prime-blue' : 'grey-9', type: "dissmisable", value: "+ " + this.onShowHiddenTags.length + " item" + (this.onShowHiddenTags.length > 1 ? 's' : '') + " selected", id: "other-tag" })))))), (!(this.selectText || this.onShowVisibleTags.length > 0 || this.onShowHiddenTags.length > 0) && placeholder && (h("span", { class: "placeholder" }, " ", placeholder, " ")))), h("div", { class: "buttons" }, clearable && value && (h("button", { class: "select-clear-button", onClick: (e) => this.clickClear(e) }, h("svg", { style: { "fill": "#595959", "width": "14px", "height": "14px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, h("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 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z" })))), h("span", { class: this.isOpen ? 'open' : 'close' }, h("svg", { style: { "fill": "#595959", "width": "14px", "height": "14px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" }, h("path", { d: "M168.5 164.2l148 146.8c4.7 4.7 4.7 12.3 0 17l-19.8 19.8c-4.7 4.7-12.3 4.7-17 0L160 229.3 40.3 347.8c-4.7 4.7-12.3 4.7-17 0L3.5 328c-4.7-4.7-4.7-12.3 0-17l148-146.8c4.7-4.7 12.3-4.7 17 0z" }))))), h("div", { class: menu, style: optionViewportStyle }, h("div", { class: optionsViewport })), !noCaption && (h("div", { class: "caption-area" }, captionType == "error"
|
|
1179
1179
|
? h("span", { class: captionClasses }, " ", captionError, " ")
|
|
1180
1180
|
: caption && h("span", { class: captionClasses }, " ", caption, " "))))));
|
|
1181
1181
|
}
|
|
@@ -123,7 +123,9 @@
|
|
|
123
123
|
margin-right: 8px;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
:root
|
|
126
|
+
:root,
|
|
127
|
+
::after,
|
|
128
|
+
::before {
|
|
127
129
|
--bcm-new-ds-color-inherit: inherit;
|
|
128
130
|
--bcm-new-ds-color-current: currentColor;
|
|
129
131
|
--bcm-new-ds-color-transparent: transparent;
|
|
@@ -408,6 +410,7 @@
|
|
|
408
410
|
appearance: none;
|
|
409
411
|
background-color: #fff;
|
|
410
412
|
margin: 0;
|
|
413
|
+
display: none;
|
|
411
414
|
}
|
|
412
415
|
.bcm-checkbox__input {
|
|
413
416
|
display: flex;
|