bromcom-ui 2.11.1-rc.8 → 2.11.1-rc.9-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-022a9123.entry.js +5 -0
- package/dist/bromcom-ui/{p-745e2913.entry.js → p-0a5d0dad.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0fc9f542.entry.js → p-0e530449.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fb529ec0.entry.js → p-1345d51b.entry.js} +1 -1
- package/dist/bromcom-ui/p-144bd7f3.entry.js +5 -0
- package/dist/bromcom-ui/{p-e037ee2b.js → p-170cf07d.js} +1 -1
- package/dist/bromcom-ui/{p-5f9b5e9a.entry.js → p-1a6a917c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4d7ea23c.entry.js → p-1b558b0f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5e4f84aa.entry.js → p-1f123f35.entry.js} +1 -1
- package/dist/bromcom-ui/p-1f4f8e4f.entry.js +5 -0
- package/dist/bromcom-ui/p-228c74e9.entry.js +5 -0
- package/dist/bromcom-ui/{p-18bc4e04.entry.js → p-270e1b24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1cac8ccc.js → p-2cd6cdee.js} +1 -1
- package/dist/bromcom-ui/{p-63138ee5.entry.js → p-32c55505.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cb190cbb.js → p-3616f96d.js} +1 -1
- package/dist/bromcom-ui/p-376a20ed.js +5 -0
- package/dist/bromcom-ui/{p-298c652a.entry.js → p-38686733.entry.js} +1 -1
- package/dist/bromcom-ui/{p-034bbcdd.js → p-3a43bf45.js} +1 -1
- package/dist/bromcom-ui/{p-4438d629.entry.js → p-4393b33e.entry.js} +1 -1
- package/dist/bromcom-ui/p-4a1c1566.entry.js +5 -0
- package/dist/bromcom-ui/p-52145717.js +5 -0
- package/dist/bromcom-ui/{p-6e7bb16f.entry.js → p-59f7fa84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4798d827.js → p-61753299.js} +1 -1
- package/dist/bromcom-ui/p-641d81c9.entry.js +5 -0
- package/dist/bromcom-ui/{p-e45c1546.js → p-6657830f.js} +1 -1
- package/dist/bromcom-ui/{p-3b079331.entry.js → p-67343ad8.entry.js} +1 -1
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/{p-197aba37.js → p-74e6d2b6.js} +1 -1
- package/dist/bromcom-ui/{p-1e8559ac.entry.js → p-77b1dbdd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-95a2c489.entry.js → p-77ef609e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d0e56a89.entry.js → p-79596f30.entry.js} +1 -1
- package/dist/bromcom-ui/{p-03337609.entry.js → p-7c5763cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/p-82fb073c.entry.js +5 -0
- package/dist/bromcom-ui/{p-8290f0dc.entry.js → p-847e7a75.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2f863d9.js → p-8b6d3a37.js} +1 -1
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/p-8da487f0.entry.js +5 -0
- package/dist/bromcom-ui/p-8e11a26b.entry.js +20 -0
- package/dist/bromcom-ui/{p-f9686cdb.entry.js → p-8eb45b0e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-991ffc23.entry.js → p-95104e4f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-468157a0.entry.js → p-9589f69c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c7e8dcf7.js → p-9610bd2d.js} +1 -1
- package/dist/bromcom-ui/p-974c5210.entry.js +5 -0
- package/dist/bromcom-ui/{p-78bdc41e.entry.js → p-9797db90.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8e5e362a.js → p-9850cbce.js} +1 -1
- package/dist/bromcom-ui/{p-0999d548.js → p-98cf4aa5.js} +1 -1
- package/dist/bromcom-ui/{p-0efc9196.entry.js → p-9b59c689.entry.js} +1 -1
- package/dist/bromcom-ui/{p-80eb3fdb.entry.js → p-9b8b692a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b5ed4d8.js → p-a0d6d680.js} +1 -1
- package/dist/bromcom-ui/p-a0f44b56.entry.js +5 -0
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/{p-e32ab4da.entry.js → p-a486613b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7a89243a.entry.js → p-a6aa173f.entry.js} +1 -1
- package/dist/bromcom-ui/p-ae57f046.entry.js +5 -0
- package/dist/bromcom-ui/{p-16e8e9ba.js → p-aed4d33b.js} +1 -1
- package/dist/bromcom-ui/{p-5b76a893.entry.js → p-b8e7d8ea.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1f99c170.entry.js → p-bafe6f14.entry.js} +1 -1
- package/dist/bromcom-ui/p-bb47062a.entry.js +5 -0
- package/dist/bromcom-ui/{p-fcc6f71e.js → p-beaec5b8.js} +1 -1
- package/dist/bromcom-ui/{p-0e362df2.entry.js → p-c00d26c1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-107f11df.entry.js → p-c1a992e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-48f5a3c9.entry.js → p-c49b6287.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f39d9d7c.entry.js → p-cb4c07af.entry.js} +1 -1
- package/dist/bromcom-ui/{p-64da3643.entry.js → p-d25d4c40.entry.js} +1 -1
- package/dist/bromcom-ui/{p-188b9079.entry.js → p-d59d9687.entry.js} +1 -1
- package/dist/bromcom-ui/p-dcb48e92.entry.js +5 -0
- package/dist/bromcom-ui/p-de0b0192.entry.js +5 -0
- package/dist/bromcom-ui/p-e0ab7b38.js +11 -0
- package/dist/bromcom-ui/{p-79572dc0.entry.js → p-e5212c52.entry.js} +1 -1
- package/dist/bromcom-ui/{p-181f2f4a.entry.js → p-e8eaa3bb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a496024a.entry.js → p-ec5fe536.entry.js} +1 -1
- package/dist/bromcom-ui/p-eca0acda.js +5 -0
- package/dist/bromcom-ui/{p-0c8f2481.entry.js → p-f2bc61dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-08159d00.entry.js → p-f9b59bcc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f9119bec.entry.js → p-fc787048.entry.js} +1 -1
- package/dist/cjs/{bcm-489c9b1a.js → bcm-1d1fcf21.js} +4 -4
- package/dist/cjs/bcm-accordion_45.cjs.entry.js +23947 -0
- package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-caption.cjs.entry.js +9 -9
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/{bcm-checkbox-lite_9.cjs.entry.js → bcm-checkbox-lite_8.cjs.entry.js} +6 -26
- package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/bcm-collapse.cjs.entry.js +62 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -10
- package/dist/cjs/bcm-link.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
- package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
- package/dist/cjs/bcm-number-input.cjs.entry.js +9 -9
- package/dist/cjs/bcm-old-input.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
- package/dist/cjs/bcm-range.cjs.entry.js +6 -6
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
- package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{caption-template-086e9cac.js → caption-template-85a18b6d.js} +2 -2
- package/dist/cjs/{floating-ui-21890d11.js → floating-ui-5b396838.js} +2 -2
- package/dist/cjs/{generate-06bf97b8.js → generate-cb6d728f.js} +1 -1
- package/dist/cjs/{global-74a88067.js → global-9a7fa11d.js} +1 -1
- package/dist/cjs/{label-template-94b3d775.js → label-template-e83447b5.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-362f0e03.js → number-helper-7cda3b8d.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/{package-92cfcafb.js → package-417ad2df.js} +1 -1
- package/dist/cjs/{popover-placement-e7d6eabd.js → popover-placement-02e6101b.js} +1 -1
- package/dist/cjs/{slot-template-c8e2816c.js → slot-template-df7b5b59.js} +1 -1
- package/dist/cjs/{string-helper-f9184277.js → string-helper-9cdfb273.js} +2 -2
- package/dist/cjs/{validators-07d7a0c9.js → validators-5201d427.js} +1 -1
- package/dist/collection/components/atoms/avatar/avatar.js +1 -1
- package/dist/collection/components/atoms/badge/badge.js +1 -1
- package/dist/collection/components/atoms/badge/badge.style.js +1 -1
- package/dist/collection/components/atoms/button/button.css +13 -13
- package/dist/collection/components/atoms/button/button.js +14 -14
- package/dist/collection/components/atoms/chip/chip.css +4 -4
- package/dist/collection/components/atoms/chip/chip.js +3 -3
- package/dist/collection/components/molecules/checkbox/group.css +2 -2
- package/dist/collection/components/molecules/checkbox/group.js +1 -1
- package/dist/collection/components/molecules/color-input/color-input.js +1 -1
- package/dist/collection/components/molecules/empty/empty.js +1 -1
- package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
- package/dist/collection/components/molecules/input/input.js +1 -1
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +4 -4
- package/dist/collection/components/molecules/radio/radio-group.js +1 -1
- package/dist/collection/components/molecules/radio/radio.js +1 -1
- package/dist/collection/components/molecules/range/range.js +1 -1
- package/dist/collection/components/molecules/switch/switch.css +2 -2
- package/dist/collection/components/molecules/tab-group/tab-group.js +2 -2
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +5 -5
- package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
- package/dist/collection/components/organism/list/list.js +2 -2
- package/dist/collection/components/other/attendance/attendance.js +1 -1
- package/dist/collection/stories/ui-library/components/date/argTypes_common.js +1 -0
- package/dist/collection/templates/button-template.js +1 -1
- package/dist/collection/templates/caption-template.js +2 -2
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +1 -1
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +3 -9
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +2 -2
- package/dist/components/bcm-attendance.js +1 -1
- package/dist/components/bcm-checkbox-group.js +2 -2
- package/dist/components/bcm-color-input.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-input-dropdown.js +1 -1
- package/dist/components/bcm-radio-group.js +1 -1
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-group.js +2 -2
- package/dist/components/bcm-tab-item-header.js +5 -5
- package/dist/components/button.js +16 -16
- package/dist/components/caption-template.js +2 -2
- package/dist/components/chip.js +4 -4
- package/dist/components/empty.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/input-template.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/list.js +6 -12
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-82aa9212.js} +1 -1
- package/dist/esm/bcm-a50d55ba.js +1 -1
- package/dist/esm/bcm-accordion_45.entry.js +23899 -0
- package/dist/esm/bcm-alert.entry.js +8 -8
- package/dist/esm/bcm-attendance-actions-comment.entry.js +12 -12
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +13 -13
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -6
- package/dist/esm/bcm-caption.entry.js +14 -14
- package/dist/esm/bcm-card.entry.js +10 -10
- package/dist/esm/{bcm-checkbox-lite_9.entry.js → bcm-checkbox-lite_8.entry.js} +10 -29
- package/dist/esm/bcm-chip-group.entry.js +15 -15
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +58 -0
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +9 -9
- package/dist/esm/bcm-datetime-picker.entry.js +13 -13
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-error-layout.entry.js +4 -4
- package/dist/esm/bcm-form-2.entry.js +8 -8
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +15 -15
- package/dist/esm/bcm-link.entry.js +4 -4
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
- package/dist/esm/bcm-modal-2-header.entry.js +11 -11
- package/dist/esm/bcm-modal-2.entry.js +13 -13
- package/dist/esm/bcm-modal.entry.js +9 -9
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +14 -14
- package/dist/esm/bcm-old-input.entry.js +5 -5
- package/dist/esm/bcm-old-tag_2.entry.js +4 -4
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-popover.entry.js +12 -12
- package/dist/esm/bcm-range.entry.js +9 -9
- 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 +11 -11
- 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 +12 -12
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tabs.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +9 -9
- package/dist/esm/bcm-time-picker.entry.js +9 -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 +9 -9
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-caa3bc94.js → caption-template-d7953d13.js} +4 -4
- package/dist/esm/{color-helper-c4fa9ebc.js → color-helper-3b528349.js} +2 -2
- package/dist/esm/{colors-e1c31f79.js → colors-c530a5b8.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/floating-ui-3f4394da.js +1 -1
- package/dist/esm/{generate-2696a8c2.js → generate-6502409d.js} +2 -2
- package/dist/esm/{global-61bfbbb2.js → global-030f848d.js} +2 -2
- package/dist/esm/{index-4614b7f0.js → index-0615c2b8.js} +1 -1
- package/dist/esm/{index-f38e3364.js → index-7e71bbc8.js} +1 -1
- package/dist/esm/{index-b84bc8c9.js → index-f549811f.js} +1 -1
- package/dist/esm/{is-load-decorator-b8ca22f2.js → is-load-decorator-8277e3b8.js} +1 -1
- package/dist/esm/{label-template-737576c4.js → label-template-a26f76c0.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{lodash-0a4396a7.js → lodash-4197be99.js} +1 -1
- package/dist/esm/{number-helper-738f0f80.js → number-helper-f5777f14.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +7 -7
- package/dist/esm/{package-131d6f3d.js → package-e3b09e0c.js} +1 -1
- package/dist/esm/{popover-placement-2f5939ea.js → popover-placement-d12fec40.js} +1 -1
- package/dist/esm/{slot-template-08ed1fe4.js → slot-template-2a19b2db.js} +2 -2
- package/dist/esm/{string-helper-85990695.js → string-helper-3592bdc2.js} +2 -2
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-0d91bd42.js → validators-f574d105.js} +1 -1
- package/dist/types/templates/list-template.d.ts +1 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-02209931.entry.js +0 -5
- package/dist/bromcom-ui/p-0267a472.entry.js +0 -5
- package/dist/bromcom-ui/p-04e5fdfe.entry.js +0 -5
- package/dist/bromcom-ui/p-0b28fa4e.entry.js +0 -5
- package/dist/bromcom-ui/p-1a33d7a3.entry.js +0 -5
- package/dist/bromcom-ui/p-2297ea95.entry.js +0 -5
- package/dist/bromcom-ui/p-2b3800d3.entry.js +0 -5
- package/dist/bromcom-ui/p-2e1a70ec.entry.js +0 -5
- package/dist/bromcom-ui/p-3089e9c7.js +0 -5
- package/dist/bromcom-ui/p-3182df7e.js +0 -10
- package/dist/bromcom-ui/p-32a2509b.entry.js +0 -5
- package/dist/bromcom-ui/p-339aca62.entry.js +0 -5
- package/dist/bromcom-ui/p-393f0e15.entry.js +0 -5
- package/dist/bromcom-ui/p-3f0b84a6.entry.js +0 -5
- package/dist/bromcom-ui/p-3f9f5a13.entry.js +0 -5
- package/dist/bromcom-ui/p-4213ba24.js +0 -5
- package/dist/bromcom-ui/p-45a9f416.entry.js +0 -5
- package/dist/bromcom-ui/p-4aa5350f.entry.js +0 -5
- package/dist/bromcom-ui/p-4ad0e51a.entry.js +0 -5
- package/dist/bromcom-ui/p-4d8067b9.entry.js +0 -5
- package/dist/bromcom-ui/p-5199f537.entry.js +0 -5
- package/dist/bromcom-ui/p-52722917.entry.js +0 -5
- package/dist/bromcom-ui/p-5362c0b3.js +0 -5
- package/dist/bromcom-ui/p-57bbbd50.entry.js +0 -5
- package/dist/bromcom-ui/p-5ea9881d.entry.js +0 -5
- package/dist/bromcom-ui/p-6bdc5130.entry.js +0 -5
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +0 -5
- package/dist/bromcom-ui/p-70259bf1.entry.js +0 -5
- package/dist/bromcom-ui/p-734c3522.entry.js +0 -5
- package/dist/bromcom-ui/p-7380fb38.entry.js +0 -5
- package/dist/bromcom-ui/p-76c877e3.entry.js +0 -5
- package/dist/bromcom-ui/p-76edf59f.js +0 -7
- package/dist/bromcom-ui/p-77035c08.entry.js +0 -5
- package/dist/bromcom-ui/p-77b99601.entry.js +0 -5
- package/dist/bromcom-ui/p-7e3209a0.js +0 -14
- package/dist/bromcom-ui/p-7fcb7aec.entry.js +0 -5
- package/dist/bromcom-ui/p-88b59874.entry.js +0 -5
- package/dist/bromcom-ui/p-8ec1a890.js +0 -5
- package/dist/bromcom-ui/p-98a4c883.entry.js +0 -5
- package/dist/bromcom-ui/p-9da2b0d5.entry.js +0 -5
- package/dist/bromcom-ui/p-9e4cb37f.entry.js +0 -5
- package/dist/bromcom-ui/p-a387fa95.entry.js +0 -5
- package/dist/bromcom-ui/p-a436ed99.entry.js +0 -5
- package/dist/bromcom-ui/p-a9aaa5c1.entry.js +0 -5
- package/dist/bromcom-ui/p-bb37a2e6.entry.js +0 -5
- package/dist/bromcom-ui/p-be6595a2.entry.js +0 -5
- package/dist/bromcom-ui/p-bed627ab.js +0 -11
- package/dist/bromcom-ui/p-c4df05e3.entry.js +0 -5
- package/dist/bromcom-ui/p-d7309e81.entry.js +0 -5
- package/dist/bromcom-ui/p-d88a206a.entry.js +0 -5
- package/dist/bromcom-ui/p-dbde1ce5.entry.js +0 -5
- package/dist/bromcom-ui/p-dc6a4f29.entry.js +0 -5
- package/dist/bromcom-ui/p-e3c66141.js +0 -5
- package/dist/bromcom-ui/p-e55dc873.js +0 -5
- package/dist/bromcom-ui/p-e8075d25.entry.js +0 -5
- package/dist/bromcom-ui/p-e8ef1d0d.js +0 -5
- package/dist/bromcom-ui/p-f27a5636.entry.js +0 -5
- package/dist/bromcom-ui/p-f2850f20.entry.js +0 -5
- package/dist/bromcom-ui/p-f2d598d5.entry.js +0 -5
- package/dist/bromcom-ui/p-f6c83f16.entry.js +0 -5
- package/dist/bromcom-ui/p-fedb8902.entry.js +0 -5
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -74
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -35
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -210
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -92
- package/dist/cjs/bcm-button_2.cjs.entry.js +0 -419
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
- package/dist/cjs/bcm-chip.cjs.entry.js +0 -91
- package/dist/cjs/bcm-color-input.cjs.entry.js +0 -77
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +0 -251
- package/dist/cjs/bcm-date.cjs.entry.js +0 -182
- package/dist/cjs/bcm-drawer.cjs.entry.js +0 -96
- package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -119
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -116
- package/dist/cjs/bcm-form.cjs.entry.js +0 -492
- package/dist/cjs/bcm-icon.cjs.entry.js +0 -39
- package/dist/cjs/bcm-input_2.cjs.entry.js +0 -550
- package/dist/cjs/bcm-item.cjs.entry.js +0 -72
- package/dist/cjs/bcm-items.cjs.entry.js +0 -49
- package/dist/cjs/bcm-label_2.cjs.entry.js +0 -135
- package/dist/cjs/bcm-list_3.cjs.entry.js +0 -2563
- package/dist/cjs/bcm-menu.cjs.entry.js +0 -151
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -115
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -101
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -162
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -161
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -65
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -9391
- package/dist/cjs/bcm-shortcut.cjs.entry.js +0 -65
- package/dist/cjs/bcm-step.cjs.entry.js +0 -89
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -240
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -210
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +0 -59
- package/dist/cjs/bcm-tab-item.cjs.entry.js +0 -91
- package/dist/cjs/bcm-text.cjs.entry.js +0 -49
- package/dist/cjs/index-3d67f613.js +0 -1610
- package/dist/cjs/index-e05a7c6f.js +0 -545
- package/dist/cjs/input-template-106fdeb9.js +0 -92
- package/dist/cjs/json-parse-decarator-6cbdad46.js +0 -40
- package/dist/cjs/moment-d06b012f.js +0 -4601
- package/dist/cjs/stepper-states-5c4f767b.js +0 -85
- package/dist/cjs/tooltip-helper-9f0c156a.js +0 -158
- package/dist/esm/bcm-accordion.entry.js +0 -70
- package/dist/esm/bcm-attendance-actions.entry.js +0 -326
- package/dist/esm/bcm-attendance.entry.js +0 -31
- package/dist/esm/bcm-avatar_2.entry.js +0 -205
- package/dist/esm/bcm-button-group.entry.js +0 -88
- package/dist/esm/bcm-button_2.entry.js +0 -414
- package/dist/esm/bcm-checkbox-group.entry.js +0 -411
- package/dist/esm/bcm-checkbox_2.entry.js +0 -189
- package/dist/esm/bcm-chip.entry.js +0 -87
- package/dist/esm/bcm-color-input.entry.js +0 -73
- package/dist/esm/bcm-colorful_2.entry.js +0 -246
- package/dist/esm/bcm-date.entry.js +0 -178
- package/dist/esm/bcm-drawer.entry.js +0 -92
- package/dist/esm/bcm-dropdown.entry.js +0 -115
- package/dist/esm/bcm-expansion-panel.entry.js +0 -112
- package/dist/esm/bcm-form.entry.js +0 -488
- package/dist/esm/bcm-icon.entry.js +0 -35
- package/dist/esm/bcm-input_2.entry.js +0 -545
- package/dist/esm/bcm-item.entry.js +0 -68
- package/dist/esm/bcm-items.entry.js +0 -45
- package/dist/esm/bcm-label_2.entry.js +0 -130
- package/dist/esm/bcm-list_3.entry.js +0 -2557
- package/dist/esm/bcm-menu.entry.js +0 -147
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -111
- package/dist/esm/bcm-popconfirm.entry.js +0 -97
- package/dist/esm/bcm-progress.entry.js +0 -158
- package/dist/esm/bcm-radio-group.entry.js +0 -157
- package/dist/esm/bcm-radio.entry.js +0 -61
- package/dist/esm/bcm-rc-picker.entry.js +0 -9387
- package/dist/esm/bcm-shortcut.entry.js +0 -61
- package/dist/esm/bcm-step.entry.js +0 -85
- package/dist/esm/bcm-stepper.entry.js +0 -236
- package/dist/esm/bcm-switch.entry.js +0 -147
- package/dist/esm/bcm-tab-group.entry.js +0 -206
- package/dist/esm/bcm-tab-item-header.entry.js +0 -55
- package/dist/esm/bcm-tab-item.entry.js +0 -87
- package/dist/esm/bcm-text.entry.js +0 -45
- package/dist/esm/index-a6d9d0af.js +0 -541
- package/dist/esm/index-c4568336.js +0 -1594
- package/dist/esm/input-template-b2e1b39d.js +0 -90
- package/dist/esm/json-parse-decarator-44a00bc5.js +0 -38
- package/dist/esm/moment-15cd9198.js +0 -4598
- package/dist/esm/stepper-states-66f07873.js +0 -83
- package/dist/esm/tooltip-helper-4b501ffa.js +0 -156
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import './color-helper-c4fa9ebc.js';
|
|
7
|
-
import './datetime-helper-df25808a.js';
|
|
8
|
-
import { G as Generate } from './generate-2696a8c2.js';
|
|
9
|
-
import './number-helper-738f0f80.js';
|
|
10
|
-
import './string-helper-85990695.js';
|
|
11
|
-
import './validators-0d91bd42.js';
|
|
12
|
-
import './element-dragger-7ea06c76.js';
|
|
13
|
-
import { a as Bcm } from './bcm-a50d55ba.js';
|
|
14
|
-
import { c as classnames } from './index-b84bc8c9.js';
|
|
15
|
-
import './colors-1d7854ea.js';
|
|
16
|
-
import './utils-b3338faf.js';
|
|
17
|
-
import './colors-e1c31f79.js';
|
|
18
|
-
import './_commonjsHelpers-be0d4ec8.js';
|
|
19
|
-
import './package-131d6f3d.js';
|
|
20
|
-
|
|
21
|
-
const drawerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-drawer{user-select:none;position:absolute;width:100vw;height:100vh;top:-100%;left:-100%;overflow:hidden;visibility:hidden}.bcm-drawer--open{visibility:visible;top:0;left:0}.bcm-drawer__content{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;user-select:text;position:fixed;width:100%;height:100%;background-color:#f1f5f9;z-index:10350;transition:transform 0.2s ease-in-out;transform:translateX(-100%);visibility:hidden;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.bcm-drawer__content-body{padding:0 24px 24px 24px}.bcm-drawer__content.full-width{max-width:100%}.bcm-drawer__content-header{padding:24px 24px 0 24px;display:flex;justify-content:space-between;align-items:flex-start;color:var(--bcm-color-grey-8);margin-bottom:8px}.bcm-drawer__content-header-close{padding:4px 8px;margin-right:-4px;margin-top:-4px;color:var(--bcm-color-grey-7)}.bcm-drawer__content-header-close:hover{cursor:pointer;color:var(--bcm-color-grey-8)}.bcm-drawer__content-footer{padding:12px 24px}.bcm-drawer__content--position-left,.bcm-drawer__content--position-right{max-width:500px}.bcm-drawer__content--position-left.full-width,.bcm-drawer__content--position-right.full-width{max-width:100%}.bcm-drawer__content--position-top,.bcm-drawer__content--position-bottom{max-height:500px}.bcm-drawer__content--position-top.full-width,.bcm-drawer__content--position-bottom.full-width{max-height:100%}.bcm-drawer__content--position-left{transform:translateX(-100%);top:0;left:0}.bcm-drawer__content--position-top{transform:translateY(-100%);top:0;left:0}.bcm-drawer__content--position-right{transform:translateX(100%);top:0;right:0}.bcm-drawer__content--position-bottom{transform:translateY(100%);bottom:0;left:0}.bcm-drawer__content--open{transform:translateX(0);visibility:visible}.bcm-drawer__content--close{visibility:visible}.bcm-drawer__overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);z-index:10349;visibility:hidden;opacity:0;transition:opacity 0.3s ease-in-out}.bcm-drawer__overlay--close{opacity:0;visibility:visible;transform:translateX(-100%)}.bcm-drawer__overlay--open{opacity:1;visibility:visible;transform:translateX(0)}";
|
|
22
|
-
|
|
23
|
-
const BcmDrawer = class {
|
|
24
|
-
constructor(hostRef) {
|
|
25
|
-
registerInstance(this, hostRef);
|
|
26
|
-
this.bcmBeforeOpen = createEvent(this, "bcm-before-open", 7);
|
|
27
|
-
this.bcmBeforeClose = createEvent(this, "bcm-before-close", 7);
|
|
28
|
-
this._id = Generate.UID();
|
|
29
|
-
this._title = undefined;
|
|
30
|
-
this.position = Bcm.Position.right;
|
|
31
|
-
this.fullWidth = false;
|
|
32
|
-
this._open = false;
|
|
33
|
-
this._close = false;
|
|
34
|
-
}
|
|
35
|
-
async show() {
|
|
36
|
-
this.bcmBeforeOpen.emit(true);
|
|
37
|
-
}
|
|
38
|
-
async hide() {
|
|
39
|
-
this.bcmBeforeClose.emit(true);
|
|
40
|
-
this._close = true;
|
|
41
|
-
}
|
|
42
|
-
_beforeOpen(event) {
|
|
43
|
-
var _a;
|
|
44
|
-
event && ((_a = event.target) === null || _a === void 0 ? void 0 : _a.id) == this._id && (this._open = true);
|
|
45
|
-
}
|
|
46
|
-
_beforeClose(event) {
|
|
47
|
-
var _a;
|
|
48
|
-
event && ((_a = event.target) === null || _a === void 0 ? void 0 : _a.id) == this._id && (this._open = false);
|
|
49
|
-
}
|
|
50
|
-
_openHandler() {
|
|
51
|
-
if (this._open) {
|
|
52
|
-
document.body.classList.add('bcm-disable-scroll');
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
document.body.classList.remove('bcm-disable-scroll');
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
keyboardNavigation(e) {
|
|
59
|
-
const keyCode = e.keyCode || 0;
|
|
60
|
-
if (keyCode == Bcm.KeyCode.escape) {
|
|
61
|
-
e.preventDefault();
|
|
62
|
-
this.hide();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
disconnectedCallback() {
|
|
66
|
-
this._open = false;
|
|
67
|
-
document.body.classList.remove('bcm-disable-scroll');
|
|
68
|
-
this.el.remove();
|
|
69
|
-
}
|
|
70
|
-
render() {
|
|
71
|
-
const hostClasses = classnames('bcm-drawer', {
|
|
72
|
-
'bcm-drawer--open': this._open,
|
|
73
|
-
});
|
|
74
|
-
const contentClasses = classnames('bcm-drawer__content', `bcm-drawer__content--position-${this.position}`, {
|
|
75
|
-
'bcm-drawer__content--open': this._open,
|
|
76
|
-
'bcm-drawer__content--close': this._close,
|
|
77
|
-
'full-width': this.fullWidth,
|
|
78
|
-
});
|
|
79
|
-
const overlay = classnames('bcm-drawer__overlay', {
|
|
80
|
-
'bcm-drawer__overlay--open': this._open,
|
|
81
|
-
'bcm-drawer__overlay--close': this._close,
|
|
82
|
-
});
|
|
83
|
-
return (h(Host, { class: hostClasses }, h("div", { class: overlay, onClick: () => this.hide() }), h("div", { class: contentClasses }, h("div", { class: "bcm-drawer__content-header" }, h("bcm-text", { class: "bcm-drawer__content-header-title", "font-size": "6", weight: "600", color: "slate-800" }, this._title, " ", h("slot", { name: "header" })), h("div", { class: "bcm-drawer__content-header-close size-4", onClick: () => this.hide() }, h("bcm-icon", { icon: "fal fa-times" }))), h("div", { style: { 'overflow': 'auto', 'flex': '1' } }, h("div", { class: "bcm-drawer__content-body" }, h("slot", null))), h("div", { class: "bcm-drawer__content-footer" }, h("slot", { name: "footer" })))));
|
|
84
|
-
}
|
|
85
|
-
get el() { return getElement(this); }
|
|
86
|
-
static get watchers() { return {
|
|
87
|
-
"_open": ["_openHandler"]
|
|
88
|
-
}; }
|
|
89
|
-
};
|
|
90
|
-
BcmDrawer.style = drawerCss;
|
|
91
|
-
|
|
92
|
-
export { BcmDrawer as bcm_drawer };
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { c as classnames } from './index-b84bc8c9.js';
|
|
7
|
-
import { I as IsLoad } from './is-load-decorator-b8ca22f2.js';
|
|
8
|
-
import { J as JsonParse } from './json-parse-decarator-44a00bc5.js';
|
|
9
|
-
import { G as Generate } from './generate-2696a8c2.js';
|
|
10
|
-
import { B as Bcm } from './bcm-a50d55ba.js';
|
|
11
|
-
import './_commonjsHelpers-be0d4ec8.js';
|
|
12
|
-
import './package-131d6f3d.js';
|
|
13
|
-
import './colors-e1c31f79.js';
|
|
14
|
-
|
|
15
|
-
const dropdownCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-dropdown{width:fit-content;display:inline-flex;flex-direction:row}.bcm-dropdown.hidden{display:none}.bcm-dropdown.no-style{cursor:pointer}.bcm-dropdown.full-width{width:100%}.bcm-dropdown.full-width .bcm-button__container-text{flex:1;justify-content:space-between}.bcm-dropdown__type-split .main-button .bcm-button__container{border-top-right-radius:0;border-bottom-right-radius:0}.bcm-dropdown__type-split .split-button .bcm-button__container{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px;min-width:auto}.bcm-dropdown__icon{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;transform:rotate(0deg);transition:transform 0.2s ease;padding-top:2px}.bcm-dropdown__icon--open{transform:rotate(180deg)}";
|
|
16
|
-
|
|
17
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
20
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else
|
|
22
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
23
|
-
if (d = decorators[i])
|
|
24
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
25
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26
|
-
};
|
|
27
|
-
const BcmDropdown = class {
|
|
28
|
-
constructor(hostRef) {
|
|
29
|
-
registerInstance(this, hostRef);
|
|
30
|
-
this.bcmClick = createEvent(this, "bcm-click", 7);
|
|
31
|
-
this.bcmDropdownChange = createEvent(this, "bcm-dropdown-change", 7);
|
|
32
|
-
this.isOpen = undefined;
|
|
33
|
-
this._id = Generate.UID();
|
|
34
|
-
this.menuId = Generate.UID();
|
|
35
|
-
this.hidden = false;
|
|
36
|
-
this.type = 'dropdown';
|
|
37
|
-
this.size = Bcm.Size.medium;
|
|
38
|
-
this.disabled = false;
|
|
39
|
-
this.kind = Bcm.Kind.solid;
|
|
40
|
-
this.icon = undefined;
|
|
41
|
-
this.href = undefined;
|
|
42
|
-
this.target = undefined;
|
|
43
|
-
this.value = undefined;
|
|
44
|
-
this.noStyle = false;
|
|
45
|
-
this.dropdownIcon = 'fas fa-angle-down';
|
|
46
|
-
this.linkedComponent = undefined;
|
|
47
|
-
this.loading = false;
|
|
48
|
-
this.variant = undefined;
|
|
49
|
-
this.dataDismiss = false;
|
|
50
|
-
this.fullWidth = false;
|
|
51
|
-
this.iconPosition = Bcm.IconPosition.prefix;
|
|
52
|
-
this.placement = undefined;
|
|
53
|
-
this.height = undefined;
|
|
54
|
-
this.maxHeight = '500px';
|
|
55
|
-
this.minHeight = '50px';
|
|
56
|
-
this.stopDeepClean = false;
|
|
57
|
-
this.selectable = true;
|
|
58
|
-
this.gap = '4px';
|
|
59
|
-
this.color = undefined;
|
|
60
|
-
this.activeItem = null;
|
|
61
|
-
this.data = [];
|
|
62
|
-
}
|
|
63
|
-
async dataChanged(newValue) {
|
|
64
|
-
if (newValue) {
|
|
65
|
-
this.data = newValue;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
async setActive(id = null) {
|
|
69
|
-
var _a, _b;
|
|
70
|
-
(_b = (_a = document
|
|
71
|
-
.getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll('bcm-menu')) === null || _b === void 0 ? void 0 : _b.forEach(item => {
|
|
72
|
-
item.setActive(id);
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
async getActive() {
|
|
76
|
-
return this.activeItem;
|
|
77
|
-
}
|
|
78
|
-
handleSlotItems({ detail }) {
|
|
79
|
-
this.data = detail;
|
|
80
|
-
}
|
|
81
|
-
setActiveAttribute(e) {
|
|
82
|
-
if (e.detail) {
|
|
83
|
-
this.bcmDropdownChange.emit(e.detail);
|
|
84
|
-
this.activeItem = e.detail;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
;
|
|
88
|
-
render() {
|
|
89
|
-
const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth, isOpen } = this;
|
|
90
|
-
const hostClasses = classnames('bcm-dropdown', 'bcm-dropdown__type-' + type, {
|
|
91
|
-
'full-width': fullWidth,
|
|
92
|
-
'no-style': this.noStyle,
|
|
93
|
-
'hidden': this.hidden || this.linkedComponent,
|
|
94
|
-
});
|
|
95
|
-
const attributes = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (disabled && { disabled })), (loading && { loading })), (kind && { kind })), (size && { size })), (variant && { variant })), (color && { color })), (this.menuId && { 'menu-id': this.menuId }));
|
|
96
|
-
const iconClasses = classnames('bcm-dropdown__icon', {
|
|
97
|
-
'bcm-dropdown__icon--open': isOpen,
|
|
98
|
-
});
|
|
99
|
-
const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
100
|
-
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }), h("slot", { name: "content" }))));
|
|
101
|
-
}
|
|
102
|
-
get el() { return getElement(this); }
|
|
103
|
-
static get watchers() { return {
|
|
104
|
-
"data": ["dataChanged"]
|
|
105
|
-
}; }
|
|
106
|
-
};
|
|
107
|
-
__decorate([
|
|
108
|
-
IsLoad()
|
|
109
|
-
], BcmDropdown.prototype, "el", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
JsonParse('data', true)
|
|
112
|
-
], BcmDropdown.prototype, "dataChanged", null);
|
|
113
|
-
BcmDropdown.style = dropdownCss;
|
|
114
|
-
|
|
115
|
-
export { BcmDropdown as bcm_dropdown };
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { G as Generate } from './generate-2696a8c2.js';
|
|
7
|
-
import { c as classnames } from './index-b84bc8c9.js';
|
|
8
|
-
import { S as StringHelper } from './string-helper-85990695.js';
|
|
9
|
-
import { C as ColorHelper } from './color-helper-c4fa9ebc.js';
|
|
10
|
-
import './package-131d6f3d.js';
|
|
11
|
-
import './colors-e1c31f79.js';
|
|
12
|
-
import './_commonjsHelpers-be0d4ec8.js';
|
|
13
|
-
import './bcm-a50d55ba.js';
|
|
14
|
-
import './colors-1d7854ea.js';
|
|
15
|
-
import './utils-b3338faf.js';
|
|
16
|
-
|
|
17
|
-
const expansionPanelCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-expansion-panel{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;border:1px solid var(--bcm-new-ds-color-slate-300);box-sizing:border-box}.bcm-expansion-panel+.bcm-expansion-panel{margin-top:4px}.bcm-expansion-panel__header{display:flex;align-items:center;justify-content:flex-start;user-select:none;min-height:50px;border-radius:8px;padding:4px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-expansion-panel__header-content{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px}.bcm-expansion-panel__header:hover{cursor:pointer}.bcm-expansion-panel__header-title{order:1;user-select:none;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:4px}.bcm-expansion-panel__header-title-description{margin-left:calc(4px / 2);color:var(--bcm-new-ds-color-slate-500);font-size:12px;line-height:calc(12px + 8px)}.bcm-expansion-panel__header-tooltip{line-height:1;color:var(--bcm-new-ds-color-slate-800)}.bcm-expansion-panel__header-toggle{height:100%;order:0;width:20px;display:flex;align-items:center;justify-content:center;transform:rotate(0deg);transition:transform 0.2s ease-in-out;font-size:12px}.bcm-expansion-panel__header-extra{display:none}.bcm-expansion-panel__header-extra:not(:empty){cursor:default;display:flex;align-items:center;order:5;line-height:1;padding:0 8px}.bcm-expansion-panel__header-extra .bcm-expansion-panel__extra-content{display:flex;align-items:center}.bcm-expansion-panel__body{display:none;padding:12px 24px}.bcm-expansion-panel--icon-right .bcm-expansion-panel__header{justify-content:space-between;padding-left:24px}.bcm-expansion-panel--icon-right .bcm-expansion-panel__header-toggle{order:6}.bcm-expansion-panel--invalid .bcm-expansion-panel__header-toggle,.bcm-expansion-panel--invalid .bcm-expansion-panel__header-content{color:var(--bcm-new-ds-color-red-500)}.bcm-expansion-panel--expanded{border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-expansion-panel--expanded .bcm-expansion-panel__header{border-radius:8px 8px 0 0}.bcm-expansion-panel--expanded .bcm-expansion-panel__header-toggle{transform:rotate(180deg)}.bcm-expansion-panel--expanded .bcm-expansion-panel__body{display:block}";
|
|
18
|
-
|
|
19
|
-
const BcmExpansionPanel = class {
|
|
20
|
-
constructor(hostRef) {
|
|
21
|
-
registerInstance(this, hostRef);
|
|
22
|
-
this.bcmOpen = createEvent(this, "bcm-open", 7);
|
|
23
|
-
this.bcmClose = createEvent(this, "bcm-close", 7);
|
|
24
|
-
this.bcmExtra = createEvent(this, "bcm-extra", 7);
|
|
25
|
-
this._id = Generate.UID();
|
|
26
|
-
this.expanded = false;
|
|
27
|
-
this.disabled = false;
|
|
28
|
-
this.hidden = false;
|
|
29
|
-
this.valid = true;
|
|
30
|
-
this.hideToggle = false;
|
|
31
|
-
this.expandIconPosition = 'right';
|
|
32
|
-
this.headerColor = 'white';
|
|
33
|
-
this.tooltip = undefined;
|
|
34
|
-
this.tooltipDefaultValue = {
|
|
35
|
-
message: '',
|
|
36
|
-
placement: 'top',
|
|
37
|
-
trigger: 'hover',
|
|
38
|
-
icon: 'fas fa-question-circle',
|
|
39
|
-
color: 'grey-8',
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
componentWillRender() {
|
|
43
|
-
this.restoreSlots();
|
|
44
|
-
}
|
|
45
|
-
componentDidLoad() {
|
|
46
|
-
this.checkExpanded();
|
|
47
|
-
}
|
|
48
|
-
createTooltip() {
|
|
49
|
-
let tool;
|
|
50
|
-
if (this.tooltip) {
|
|
51
|
-
const { tooltip } = this;
|
|
52
|
-
try {
|
|
53
|
-
tool = JSON.parse(tooltip);
|
|
54
|
-
tool = Object.assign(Object.assign({}, this.tooltipDefaultValue), tool);
|
|
55
|
-
}
|
|
56
|
-
catch (error) {
|
|
57
|
-
tool = Object.assign(Object.assign({}, this.tooltipDefaultValue), { message: tooltip });
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return tool;
|
|
61
|
-
}
|
|
62
|
-
checkExpanded() {
|
|
63
|
-
this.expanded = !!this.el['expanded'];
|
|
64
|
-
}
|
|
65
|
-
restoreSlots() {
|
|
66
|
-
const slots = this.el.querySelectorAll('bcm-expansion-panel-header, bcm-expansion-panel-description, bcm-expansion-panel-extra');
|
|
67
|
-
if (slots) {
|
|
68
|
-
slots.forEach(element => {
|
|
69
|
-
let slotName = StringHelper.lowercase(StringHelper.split(element.nodeName, '-').pop());
|
|
70
|
-
element.slot = slotName;
|
|
71
|
-
element.classList.add(`bcm-expansion-panel__${slotName}-content`);
|
|
72
|
-
let color = element.getAttribute('color');
|
|
73
|
-
if (color) {
|
|
74
|
-
color = color == 'white' ? color : color + '-50';
|
|
75
|
-
this.headerColor = color;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
toggle() {
|
|
81
|
-
if (this.disabled) {
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
this.expanded = !this.expanded;
|
|
85
|
-
if (this.expanded) {
|
|
86
|
-
this.bcmOpen.emit(this._id);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
this.bcmClose.emit(this._id);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
clickExtra(e) {
|
|
93
|
-
e.stopPropagation();
|
|
94
|
-
this.bcmExtra.emit(e);
|
|
95
|
-
}
|
|
96
|
-
render() {
|
|
97
|
-
const { _id, expanded, disabled, hidden, hideToggle, tooltip, valid } = this;
|
|
98
|
-
const { message, placement, icon, trigger, color } = tooltip ? this.createTooltip() : {};
|
|
99
|
-
const hostClasses = classnames('bcm-expansion-panel', valid ? 'bcm-expansion-panel--valid' : 'bcm-expansion-panel--invalid', {
|
|
100
|
-
'bcm-expansion-panel--expanded': expanded,
|
|
101
|
-
'bcm-expansion-panel--disabled': disabled,
|
|
102
|
-
'bcm-expansion-panel--hide-toggle': hideToggle,
|
|
103
|
-
'bcm-expansion-panel--icon-right': this.expandIconPosition === 'right',
|
|
104
|
-
hidden,
|
|
105
|
-
});
|
|
106
|
-
return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "far fa-chevron-down" })))), h("div", { class: "bcm-expansion-panel__body", id: _id + '-body' }, h("slot", null))));
|
|
107
|
-
}
|
|
108
|
-
get el() { return getElement(this); }
|
|
109
|
-
};
|
|
110
|
-
BcmExpansionPanel.style = expansionPanelCss;
|
|
111
|
-
|
|
112
|
-
export { BcmExpansionPanel as bcm_expansion_panel };
|