bromcom-ui 2.9.0-rc.0 → 2.9.0-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/global/global.js +19 -5
- package/dist/bromcom-ui/{p-bc840f30.entry.js → p-01416407.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4aa0e6b1.js → p-034bbcdd.js} +1 -1
- package/dist/bromcom-ui/p-0523863a.entry.js +5 -0
- package/dist/bromcom-ui/p-07ff085d.entry.js +5 -0
- package/dist/bromcom-ui/p-0e99fd08.entry.js +5 -0
- package/dist/bromcom-ui/{p-f937f362.entry.js → p-123d6355.entry.js} +1 -1
- package/dist/bromcom-ui/p-1286e447.entry.js +5 -0
- package/dist/bromcom-ui/p-14c7e2a8.js +297 -0
- package/dist/bromcom-ui/{p-e0f440b4.js → p-167e1654.js} +1 -1
- package/dist/bromcom-ui/p-170cf07d.js +6 -0
- package/dist/bromcom-ui/{p-b94fa326.js → p-1b94d494.js} +1 -1
- package/dist/bromcom-ui/{p-5618ee1e.entry.js → p-1b96dbbf.entry.js} +1 -1
- package/dist/bromcom-ui/p-1c17fbd6.entry.js +5 -0
- package/dist/bromcom-ui/p-1df4d111.entry.js +5 -0
- package/dist/bromcom-ui/p-21cd7ad3.entry.js +5 -0
- package/dist/bromcom-ui/{p-037a40a6.entry.js → p-228c74e9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a429e85b.js → p-23c35e1b.js} +1 -1
- package/dist/bromcom-ui/p-280736e0.entry.js +5 -0
- package/dist/bromcom-ui/{p-f8c20298.entry.js → p-28f78dd4.entry.js} +1 -1
- package/dist/bromcom-ui/p-2a9053d8.js +5 -0
- package/dist/bromcom-ui/p-2b3610b4.entry.js +5 -0
- package/dist/bromcom-ui/p-2baa0a6b.entry.js +5 -0
- package/dist/bromcom-ui/p-2c43873c.entry.js +5 -0
- package/dist/bromcom-ui/p-2d2ff5fc.entry.js +5 -0
- package/dist/bromcom-ui/p-2d4a0a66.entry.js +5 -0
- package/dist/bromcom-ui/p-2e080bdf.entry.js +5 -0
- package/dist/bromcom-ui/p-2e506b7c.entry.js +5 -0
- package/dist/bromcom-ui/p-2f4c8c67.entry.js +5 -0
- package/dist/bromcom-ui/p-2f81dd36.entry.js +5 -0
- package/dist/bromcom-ui/{p-c80ab24a.entry.js → p-3078fcd2.entry.js} +1 -1
- package/dist/bromcom-ui/p-30abd87e.entry.js +5 -0
- package/dist/bromcom-ui/p-30b43b3a.entry.js +5 -0
- package/dist/bromcom-ui/p-3182df7e.js +10 -0
- package/dist/bromcom-ui/p-324b9364.js +5 -0
- package/dist/bromcom-ui/p-37488f1a.entry.js +5 -0
- package/dist/bromcom-ui/p-37c48622.entry.js +5 -0
- package/dist/bromcom-ui/{p-05b0bdce.entry.js → p-3960cae8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-63b14659.entry.js → p-3a06c6b1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c23b6240.js → p-3ade1099.js} +1 -1
- package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
- package/dist/bromcom-ui/{p-494ebf69.entry.js → p-3d730230.entry.js} +1 -1
- package/dist/bromcom-ui/p-412732f4.js +5 -0
- package/dist/bromcom-ui/p-42616ae0.entry.js +5 -0
- package/dist/bromcom-ui/{p-d8cc24f0.entry.js → p-44ca28fa.entry.js} +1 -1
- package/dist/bromcom-ui/p-4798d827.js +5 -0
- package/dist/bromcom-ui/p-48b925ad.js +5 -0
- package/dist/bromcom-ui/{p-842a5926.entry.js → p-4e33341b.entry.js} +1 -1
- package/dist/bromcom-ui/p-4fc0c9db.entry.js +5 -0
- package/dist/bromcom-ui/p-52c6d2e5.entry.js +5 -0
- package/dist/bromcom-ui/p-535eae03.entry.js +5 -0
- package/dist/bromcom-ui/p-53d6a137.entry.js +5 -0
- package/dist/bromcom-ui/p-5559362d.entry.js +5 -0
- package/dist/bromcom-ui/p-5600c817.js +5 -0
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
- package/dist/bromcom-ui/{p-87df3ffb.js → p-5caf6360.js} +1 -1
- package/dist/bromcom-ui/p-637fb9e8.entry.js +5 -0
- package/dist/bromcom-ui/{p-f82afa9d.entry.js → p-67343ad8.entry.js} +1 -1
- package/dist/bromcom-ui/p-6909817b.entry.js +5 -0
- package/dist/bromcom-ui/p-6a7c6ef2.entry.js +5 -0
- package/dist/bromcom-ui/{p-8f78fe1c.entry.js → p-6ab403d2.entry.js} +1 -1
- package/dist/bromcom-ui/p-74dc0103.entry.js +5 -0
- package/dist/bromcom-ui/{p-a60a2dd0.js → p-74e6d2b6.js} +1 -1
- package/dist/bromcom-ui/p-778529e9.entry.js +5 -0
- package/dist/bromcom-ui/{p-5c059eba.entry.js → p-7b486021.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f7e29f3e.entry.js → p-7c5763cc.entry.js} +1 -1
- package/dist/bromcom-ui/p-7e3209a0.js +14 -0
- package/dist/bromcom-ui/{p-961dc8e1.entry.js → p-7f1612df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-53820462.entry.js → p-8c3535b6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-76cb3798.entry.js → p-9314d7ed.entry.js} +1 -1
- package/dist/bromcom-ui/p-95fa989d.entry.js +5 -0
- package/dist/bromcom-ui/p-9c6f8cf6.entry.js +5 -0
- package/dist/bromcom-ui/{p-23309057.entry.js → p-9d12a9da.entry.js} +1 -1
- package/dist/bromcom-ui/p-9dec497d.entry.js +5 -0
- package/dist/bromcom-ui/p-a1412b63.js +5 -0
- package/dist/bromcom-ui/p-a54a47ed.entry.js +5 -0
- package/dist/bromcom-ui/{p-4fcf03c1.entry.js → p-ae57f046.entry.js} +1 -1
- package/dist/bromcom-ui/p-af4c2c90.entry.js +5 -0
- package/dist/bromcom-ui/p-b1613d12.entry.js +5 -0
- package/dist/bromcom-ui/{p-d69fb13b.entry.js → p-b284e383.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f902b559.js → p-b426546b.js} +1 -1
- package/dist/bromcom-ui/p-b82685e4.js +12 -0
- package/dist/bromcom-ui/{p-7d662231.entry.js → p-ba3c6657.entry.js} +1 -1
- package/dist/bromcom-ui/p-bed627ab.js +11 -0
- package/dist/bromcom-ui/p-c537f73b.entry.js +5 -0
- package/dist/bromcom-ui/p-cca6e9c5.js +5 -0
- package/dist/bromcom-ui/{p-f3ed187a.entry.js → p-cea71a01.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8d0ca8c2.js → p-cff8ef93.js} +1 -1
- package/dist/bromcom-ui/p-d2ff474a.entry.js +5 -0
- package/dist/bromcom-ui/p-d479398d.entry.js +5 -0
- package/dist/bromcom-ui/p-d9f26a59.entry.js +5 -0
- package/dist/bromcom-ui/{p-b60bcecf.js → p-dc8305dc.js} +1 -1
- package/dist/bromcom-ui/p-dc97634a.entry.js +5 -0
- package/dist/bromcom-ui/p-dd65dec9.entry.js +5 -0
- package/dist/bromcom-ui/{p-2afef4b5.entry.js → p-df185078.entry.js} +1 -1
- package/dist/bromcom-ui/p-e0271c48.entry.js +5 -0
- package/dist/bromcom-ui/{p-dbc4c30c.js → p-e1689f47.js} +1 -1
- package/dist/bromcom-ui/{p-c8e13fd7.js → p-e1877ee9.js} +1 -1
- package/dist/bromcom-ui/p-e304d0f8.entry.js +5 -0
- package/dist/bromcom-ui/p-e3a66478.entry.js +5 -0
- package/dist/bromcom-ui/p-e45c1546.js +5 -0
- package/dist/bromcom-ui/p-e4bc863b.entry.js +5 -0
- package/dist/bromcom-ui/p-edcc8c69.entry.js +5 -0
- package/dist/bromcom-ui/p-eed0258a.entry.js +5 -0
- package/dist/bromcom-ui/p-f3424c60.entry.js +5 -0
- package/dist/bromcom-ui/p-f521cbb4.entry.js +5 -0
- package/dist/bromcom-ui/p-fd03e308.entry.js +5 -0
- package/dist/bromcom-ui/p-fd87349e.entry.js +5 -0
- package/dist/bromcom-ui/p-fd93d2a4.entry.js +5 -0
- package/dist/bromcom-ui/p-fe83aac0.entry.js +5 -0
- package/dist/bromcom-ui/static/message-bot.svg +10 -0
- package/dist/cjs/{_commonjsHelpers-bd20f4c0.js → _commonjsHelpers-ed84c3ca.js} +16 -0
- package/dist/cjs/ag-grid-enterprise.auto.esm-cf48f6b2.js +111638 -0
- package/dist/cjs/{bcm-ab921827.js → bcm-03727f3b.js} +5 -4
- package/dist/cjs/bcm-accordion.cjs.entry.js +5 -4
- package/dist/cjs/bcm-alert.cjs.entry.js +9 -8
- package/dist/cjs/bcm-attendance.cjs.entry.js +5 -4
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +2770 -0
- package/dist/cjs/bcm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/bcm-button-group.cjs.entry.js +11 -10
- package/dist/cjs/{bcm-avatar_15.cjs.entry.js → bcm-button_8.cjs.entry.js} +430 -5442
- package/dist/cjs/bcm-card.cjs.entry.js +10 -9
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +15 -14
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +10 -9
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +18 -17
- package/dist/cjs/bcm-chip-group.cjs.entry.js +129 -0
- package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +6 -5
- package/dist/cjs/bcm-color-input.cjs.entry.js +10 -9
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +9 -8
- package/dist/cjs/bcm-date.cjs.entry.js +124 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +29 -14
- package/dist/cjs/bcm-default.cjs.entry.js +5 -4
- package/dist/cjs/bcm-drawer.cjs.entry.js +13 -12
- package/dist/cjs/bcm-dropdown.cjs.entry.js +12 -11
- package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -8
- package/dist/cjs/bcm-form-2.cjs.entry.js +13 -9
- package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form.cjs.entry.js +489 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -5
- package/dist/cjs/bcm-item.cjs.entry.js +9 -8
- package/dist/cjs/bcm-items.cjs.entry.js +8 -7
- package/dist/cjs/bcm-link.cjs.entry.js +6 -6
- package/dist/cjs/bcm-list_3.cjs.entry.js +2502 -0
- package/dist/cjs/bcm-menu.cjs.entry.js +15 -13
- package/dist/cjs/bcm-message.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -10
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -9
- package/dist/cjs/bcm-modal-2.cjs.entry.js +12 -11
- package/dist/cjs/bcm-modal.cjs.entry.js +11 -10
- package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
- package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +10 -9
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +9 -8
- package/dist/cjs/bcm-popover.cjs.entry.js +27 -22
- package/dist/cjs/bcm-progress.cjs.entry.js +9 -8
- package/dist/cjs/bcm-radio-group.cjs.entry.js +17 -16
- package/dist/cjs/bcm-radio.cjs.entry.js +18 -17
- package/dist/cjs/bcm-range.cjs.entry.js +10 -9
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +8150 -0
- package/dist/cjs/bcm-result.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select-option.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +5 -4
- package/dist/cjs/bcm-step.cjs.entry.js +8 -7
- package/dist/cjs/bcm-stepper.cjs.entry.js +15 -14
- package/dist/cjs/bcm-switch.cjs.entry.js +15 -14
- package/dist/cjs/bcm-tab-group.cjs.entry.js +16 -11
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +23 -37
- package/dist/cjs/bcm-tab-item.cjs.entry.js +10 -9
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +236 -38
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +19 -18
- package/dist/cjs/bcm-text.cjs.entry.js +8 -8
- package/dist/cjs/bcm-textarea.cjs.entry.js +13 -12
- package/dist/cjs/bcm-time-picker.cjs.entry.js +9 -8
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
- package/dist/cjs/bcm-toast.cjs.entry.js +15 -14
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +5 -3
- package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
- package/dist/cjs/{color-helper-d6d2028b.js → color-helper-c3a819ea.js} +28 -2
- package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
- package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-baa45717.js} +2 -2
- package/dist/cjs/{generate-21143214.js → generate-225c30c9.js} +57 -8
- package/dist/cjs/global-d30014b0.js +27 -0
- package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
- package/dist/cjs/index-c08b35b2.js +1610 -0
- package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
- package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
- package/dist/cjs/index-e05a7c6f.js +545 -0
- package/dist/cjs/{input-template-1441e468.js → input-template-27576361.js} +8 -8
- package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-7575fbd2.js} +1 -1
- package/dist/cjs/{json-parse-decarator-8dbf0b0e.js → json-parse-decarator-c7dda47d.js} +2 -2
- package/dist/cjs/{label-template-4d5f99a5.js → label-template-8d34230f.js} +5 -5
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/moment-c1a71617.js +5689 -0
- package/dist/cjs/{number-helper-08a7ff70.js → number-helper-2b3bd61e.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -10
- package/dist/cjs/old-bcm-popover.cjs.entry.js +9 -8
- package/dist/cjs/package-e7a4d8ef.js +9 -0
- package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-86ece590.js} +1 -1
- package/dist/cjs/{slot-template-d70ea082.js → slot-template-758beb71.js} +2 -2
- package/dist/cjs/{stepper-states-9b6818aa.js → stepper-states-b56fbad9.js} +3 -3
- package/dist/cjs/{string-helper-d681e5c7.js → string-helper-b89a9828.js} +3 -3
- package/dist/cjs/{tooltip-helper-235b26ea.js → tooltip-helper-85b4c726.js} +22 -14
- package/dist/cjs/{validators-6a0077a8.js → validators-9e7f7995.js} +1 -1
- package/dist/collection/assets/csv.svg +9 -0
- package/dist/collection/assets/excel.svg +9 -0
- package/dist/collection/assets/pdf.svg +9 -0
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/atoms/avatar/avatar.js +94 -81
- package/dist/collection/components/atoms/avatar/avatar.style.js +42 -0
- package/dist/collection/components/atoms/badge/badge.js +30 -90
- package/dist/collection/components/atoms/badge/badge.style.js +48 -0
- package/dist/collection/components/{other/data-table/table.css → atoms/chip/chip-group.css} +2 -5
- package/dist/collection/components/atoms/chip/chip-group.js +50 -6
- package/dist/collection/components/atoms/chip/chip.css +9 -0
- package/dist/collection/components/atoms/chip/chip.js +3 -1
- package/dist/collection/components/atoms/icon/icon.js +15 -3
- package/dist/collection/components/atoms/icon/static/message-bot.svg +10 -0
- package/dist/collection/components/molecules/input/input.js +4 -4
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +284 -0
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +698 -0
- package/dist/collection/components/molecules/items/items.js +1 -1
- package/dist/collection/components/molecules/linked/linked.js +14 -2
- package/dist/collection/components/molecules/menu/menu.js +1 -0
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +2 -2
- package/dist/collection/components/molecules/tab-group/tab-group.js +5 -1
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +11 -26
- package/dist/collection/components/molecules/tooltip/tooltip.js +2 -2
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +15 -1
- package/dist/collection/components/organism/form/form.js +1 -0
- package/dist/collection/components/organism/form-2/bcm-form-components.js +4 -1
- package/dist/collection/components/other/typography/typography.js +1 -1
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +1 -1
- package/dist/collection/components/third-parts/rc-picker/date.js +572 -0
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +366 -0
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +258 -0
- package/dist/collection/components/third-parts/table/table-definations.js +42 -0
- package/dist/collection/components/third-parts/table/table.css +7169 -0
- package/dist/collection/components/third-parts/table/table.js +284 -0
- package/dist/collection/decorators/bcm-decorator.js +28 -0
- package/dist/collection/decorators/index.js +1 -0
- package/dist/collection/global/global.js +19 -5
- package/dist/collection/helper/color-helper.js +27 -1
- package/dist/collection/helper/generate.js +54 -4
- package/dist/collection/helper/popover-helper.js +13 -9
- package/dist/collection/helper/tooltip-helper.js +12 -4
- package/dist/collection/models/bcm.js +1 -0
- package/dist/collection/templates/index.js +2 -0
- package/dist/collection/templates/toolbar-hamburger-template.js +14 -0
- package/dist/collection/templates/toolbar-template.js +15 -0
- package/dist/components/_commonjsHelpers.js +16 -1
- package/dist/components/avatar.js +93 -53
- package/dist/components/badge.js +2638 -46
- package/dist/components/bcm-chip-group.js +26 -6
- package/dist/components/bcm-date.d.ts +11 -0
- package/dist/components/bcm-date.js +161 -0
- package/dist/components/bcm-form-2.js +4 -1
- package/dist/components/bcm-form.js +1 -0
- package/dist/components/bcm-input-dropdown.d.ts +11 -0
- package/dist/components/bcm-input-dropdown.js +330 -0
- package/dist/components/bcm-items.js +1 -1
- package/dist/components/bcm-popover.js +14 -10
- package/dist/components/bcm-rc-picker.d.ts +11 -0
- package/dist/components/bcm-rc-picker.js +10 -0
- package/dist/components/bcm-tab-group.js +5 -1
- package/dist/components/bcm-tab-item-header.js +11 -26
- package/dist/components/bcm-table.js +111873 -41
- package/dist/components/bcm.js +1 -0
- package/dist/components/chip.js +4 -2
- package/dist/components/color-helper.js +27 -1
- package/dist/components/colors2.js +1 -1
- package/dist/components/datetime-picker.js +15 -1
- package/dist/components/generate.js +57 -7
- package/dist/components/icon.js +15 -3
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +17 -3
- package/dist/components/index3.js +5 -1
- package/dist/components/input.js +4 -4
- package/dist/components/linked.js +13 -1
- package/dist/components/menu.js +1 -0
- package/dist/components/raf.js +1594 -0
- package/dist/components/rc-overflow.js +32 -1557
- package/dist/components/rc-picker.js +13851 -0
- package/dist/components/tooltip-helper.js +12 -4
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.js +1 -1
- package/dist/esm/{_commonjsHelpers-3016b722.js → _commonjsHelpers-be0d4ec8.js} +16 -1
- package/dist/esm/ag-grid-enterprise.auto.esm-9c29ba78.js +111635 -0
- package/dist/esm/{bcm-9f50af9c.js → bcm-ac17222c.js} +2 -1
- package/dist/esm/bcm-accordion.entry.js +5 -4
- package/dist/esm/bcm-alert.entry.js +9 -8
- package/dist/esm/bcm-attendance.entry.js +5 -4
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-avatar_2.entry.js +2765 -0
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -5
- package/dist/esm/bcm-button-group.entry.js +8 -7
- package/dist/esm/{bcm-avatar_15.entry.js → bcm-button_8.entry.js} +434 -5439
- package/dist/esm/bcm-card.entry.js +11 -10
- package/dist/esm/bcm-checkbox-group.entry.js +13 -12
- package/dist/esm/bcm-checkbox-lite_9.entry.js +8 -7
- package/dist/esm/bcm-checkbox_2.entry.js +14 -13
- package/dist/esm/bcm-chip-group.entry.js +125 -0
- package/dist/esm/bcm-chip.entry.js +87 -0
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +6 -5
- package/dist/esm/bcm-color-input.entry.js +12 -11
- 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 -8
- package/dist/esm/bcm-date.entry.js +120 -0
- package/dist/esm/bcm-datetime-picker.entry.js +29 -14
- package/dist/esm/bcm-default.entry.js +5 -4
- package/dist/esm/bcm-drawer.entry.js +13 -12
- package/dist/esm/bcm-dropdown.entry.js +9 -8
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +10 -9
- package/dist/esm/bcm-form-2.entry.js +12 -8
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-form.entry.js +485 -0
- package/dist/esm/bcm-input-custom.entry.js +6 -5
- package/dist/esm/bcm-item.entry.js +9 -8
- package/dist/esm/bcm-items.entry.js +8 -7
- package/dist/esm/bcm-link.entry.js +4 -4
- package/dist/esm/bcm-list_3.entry.js +2496 -0
- package/dist/esm/bcm-menu.entry.js +17 -15
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +13 -12
- package/dist/esm/bcm-modal-2-header.entry.js +12 -11
- package/dist/esm/bcm-modal-2.entry.js +13 -12
- package/dist/esm/bcm-modal.entry.js +9 -8
- package/dist/esm/bcm-notification.entry.js +3 -3
- 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-popconfirm-box.entry.js +11 -10
- package/dist/esm/bcm-popconfirm.entry.js +7 -6
- package/dist/esm/bcm-popover.entry.js +27 -22
- package/dist/esm/bcm-progress.entry.js +9 -8
- package/dist/esm/bcm-radio-group.entry.js +15 -14
- package/dist/esm/bcm-radio.entry.js +13 -12
- package/dist/esm/bcm-range.entry.js +8 -7
- package/dist/esm/bcm-rc-picker.entry.js +8146 -0
- 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 +6 -6
- package/dist/esm/bcm-skeleton.entry.js +5 -4
- package/dist/esm/bcm-step.entry.js +8 -7
- package/dist/esm/bcm-stepper.entry.js +15 -14
- package/dist/esm/bcm-switch.entry.js +10 -9
- package/dist/esm/bcm-tab-group.entry.js +17 -12
- package/dist/esm/bcm-tab-item-header.entry.js +24 -38
- package/dist/esm/bcm-tab-item.entry.js +12 -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 +236 -38
- 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 -8
- package/dist/esm/bcm-text.entry.js +9 -9
- package/dist/esm/bcm-textarea.entry.js +11 -10
- package/dist/esm/bcm-time-picker.entry.js +9 -8
- 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 -8
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +6 -4
- package/dist/esm/{caption-template-da16ba7b.js → caption-template-e973a48c.js} +2 -2
- package/dist/esm/{color-helper-e8ce23d7.js → color-helper-c4fa9ebc.js} +29 -3
- package/dist/esm/{colors-44c95e7e.js → colors-e1c31f79.js} +1 -1
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
- package/dist/esm/{floating-ui-e7341329.js → floating-ui-54c52eaa.js} +1 -1
- package/dist/esm/{generate-a39b1045.js → generate-93b8bdf9.js} +56 -7
- package/dist/esm/global-d82f2bc7.js +25 -0
- package/dist/esm/{index-39133086.js → index-0615c2b8.js} +3 -1
- package/dist/esm/{index-93e36fdb.js → index-7e71bbc8.js} +1 -1
- package/dist/esm/index-a6d9d0af.js +541 -0
- package/dist/esm/{index-ed9652af.js → index-b84bc8c9.js} +1 -1
- package/dist/esm/index-c4568336.js +1594 -0
- package/dist/esm/{input-template-e1df6efd.js → input-template-f7c67bc9.js} +4 -4
- package/dist/esm/{is-load-decorator-bc14ec4b.js → is-load-decorator-6784aa87.js} +1 -1
- package/dist/esm/{json-parse-decarator-b1ceb8c8.js → json-parse-decarator-1e5367cd.js} +2 -2
- package/dist/esm/{label-template-d74fe788.js → label-template-f156f33f.js} +4 -4
- package/dist/esm/loader.js +6 -4
- package/dist/esm/moment-24231dde.js +5686 -0
- package/dist/esm/{number-helper-fa8e8000.js → number-helper-ff29314e.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +13 -12
- package/dist/esm/old-bcm-popover.entry.js +7 -6
- package/dist/esm/package-64966ec6.js +7 -0
- package/dist/esm/{popover-placement-78f86f15.js → popover-placement-018109c4.js} +1 -1
- package/dist/esm/{slot-template-5b2db362.js → slot-template-46035685.js} +2 -2
- package/dist/esm/{stepper-states-44849ee8.js → stepper-states-7c75d904.js} +3 -3
- package/dist/esm/{string-helper-6bd24967.js → string-helper-4a28f775.js} +2 -2
- package/dist/esm/{tooltip-helper-10b64c23.js → tooltip-helper-6154996e.js} +21 -13
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-dd70be40.js → validators-2956054d.js} +1 -1
- package/dist/types/components/atoms/avatar/avatar.d.ts +6 -10
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +181 -0
- package/dist/types/components/atoms/badge/badge.d.ts +3 -7
- package/dist/types/components/atoms/badge/badge.style.d.ts +153 -0
- package/dist/types/components/atoms/chip/chip-group.d.ts +4 -0
- package/dist/types/components/atoms/icon/icon.d.ts +1 -0
- package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +55 -0
- package/dist/types/components/molecules/linked/linked.d.ts +1 -0
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +1 -0
- package/dist/types/components/third-parts/rc-picker/date.d.ts +46 -0
- package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +20 -0
- package/dist/types/components/third-parts/table/table-definations.d.ts +28 -0
- package/dist/types/components/third-parts/table/table.d.ts +37 -0
- package/dist/types/components.d.ts +183 -16
- package/dist/types/decorators/bcm-decorator.d.ts +2 -0
- package/dist/types/decorators/index.d.ts +1 -0
- package/dist/types/helper/color-helper.d.ts +22 -2
- package/dist/types/helper/generate.d.ts +21 -1
- package/dist/types/helper/popover-helper.d.ts +0 -5
- package/dist/types/helper/tooltip-helper.d.ts +0 -1
- package/dist/types/models/bcm.d.ts +9 -1
- package/dist/types/templates/index.d.ts +2 -0
- package/dist/types/templates/toolbar-hamburger-template.d.ts +12 -0
- package/dist/types/templates/toolbar-template.d.ts +13 -0
- package/package.json +14 -7
- package/dist/bromcom-ui/p-02afc93f.entry.js +0 -5
- package/dist/bromcom-ui/p-0906c9b4.entry.js +0 -5
- package/dist/bromcom-ui/p-0d4a552d.entry.js +0 -5
- package/dist/bromcom-ui/p-0ee4e283.entry.js +0 -5
- package/dist/bromcom-ui/p-0fdbbbe8.entry.js +0 -5
- package/dist/bromcom-ui/p-14378828.entry.js +0 -5
- package/dist/bromcom-ui/p-15fa3329.entry.js +0 -5
- package/dist/bromcom-ui/p-1c5a2111.entry.js +0 -5
- package/dist/bromcom-ui/p-20ac20d4.entry.js +0 -5
- package/dist/bromcom-ui/p-236def30.entry.js +0 -5
- package/dist/bromcom-ui/p-24a733ff.entry.js +0 -5
- package/dist/bromcom-ui/p-24aefda6.js +0 -5
- package/dist/bromcom-ui/p-2cb4a196.entry.js +0 -5
- package/dist/bromcom-ui/p-2ea24a6e.js +0 -5
- package/dist/bromcom-ui/p-334e3147.entry.js +0 -5
- package/dist/bromcom-ui/p-344a4674.entry.js +0 -5
- package/dist/bromcom-ui/p-3ad545f0.entry.js +0 -5
- package/dist/bromcom-ui/p-40a5e4fc.entry.js +0 -5
- package/dist/bromcom-ui/p-440afdfa.entry.js +0 -5
- package/dist/bromcom-ui/p-4b34b3f9.entry.js +0 -5
- package/dist/bromcom-ui/p-55001c80.entry.js +0 -5
- package/dist/bromcom-ui/p-56896e3a.entry.js +0 -5
- package/dist/bromcom-ui/p-5f288af5.entry.js +0 -5
- package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
- package/dist/bromcom-ui/p-70b428e8.entry.js +0 -5
- package/dist/bromcom-ui/p-72b7fda0.entry.js +0 -5
- package/dist/bromcom-ui/p-7658ec26.entry.js +0 -5
- package/dist/bromcom-ui/p-772a214f.js +0 -5
- package/dist/bromcom-ui/p-79fd816c.js +0 -5
- package/dist/bromcom-ui/p-80a43b79.js +0 -5
- package/dist/bromcom-ui/p-843905c8.js +0 -5
- package/dist/bromcom-ui/p-8864e6af.entry.js +0 -5
- package/dist/bromcom-ui/p-89b21290.entry.js +0 -5
- package/dist/bromcom-ui/p-89f7a5c7.entry.js +0 -5
- package/dist/bromcom-ui/p-9b10d955.entry.js +0 -5
- package/dist/bromcom-ui/p-9c7e9b5d.entry.js +0 -5
- package/dist/bromcom-ui/p-9eb2a75d.entry.js +0 -5
- package/dist/bromcom-ui/p-a0a3fd94.entry.js +0 -5
- package/dist/bromcom-ui/p-a2046742.entry.js +0 -5
- package/dist/bromcom-ui/p-a49ded35.entry.js +0 -5
- package/dist/bromcom-ui/p-a97ee69d.entry.js +0 -19
- package/dist/bromcom-ui/p-ab55def1.entry.js +0 -5
- package/dist/bromcom-ui/p-be6d0712.entry.js +0 -5
- package/dist/bromcom-ui/p-c9b10de5.entry.js +0 -5
- package/dist/bromcom-ui/p-cad8f786.entry.js +0 -5
- package/dist/bromcom-ui/p-cf7af1fc.entry.js +0 -5
- package/dist/bromcom-ui/p-d011a407.entry.js +0 -5
- package/dist/bromcom-ui/p-d1598dd5.entry.js +0 -5
- package/dist/bromcom-ui/p-d3cb8d25.js +0 -5
- package/dist/bromcom-ui/p-d65a1e21.js +0 -11
- package/dist/bromcom-ui/p-da1055cb.js +0 -6
- package/dist/bromcom-ui/p-dc19c6f4.entry.js +0 -5
- package/dist/bromcom-ui/p-dcb2ae7f.entry.js +0 -5
- package/dist/bromcom-ui/p-dce2079e.entry.js +0 -5
- package/dist/bromcom-ui/p-e008411a.entry.js +0 -5
- package/dist/bromcom-ui/p-e3cafc0d.entry.js +0 -5
- package/dist/bromcom-ui/p-e606c42b.entry.js +0 -5
- package/dist/bromcom-ui/p-e66821e5.entry.js +0 -5
- package/dist/bromcom-ui/p-e6ce5ec8.entry.js +0 -5
- package/dist/cjs/global-b0d21446.js +0 -15
- package/dist/collection/components/atoms/avatar/avatar.css +0 -198
- package/dist/collection/components/atoms/badge/badge.css +0 -231
- package/dist/collection/components/other/data-table/table.js +0 -88
- package/dist/esm/global-4fad925b.js +0 -13
- package/dist/types/components/other/data-table/table.d.ts +0 -8
|
@@ -6,17 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const colorHelper = require('./color-helper-
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const stringHelper = require('./string-helper-
|
|
14
|
-
const slotTemplate = require('./slot-template-
|
|
15
|
-
require('./_commonjsHelpers-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
+
const generate = require('./generate-225c30c9.js');
|
|
13
|
+
const stringHelper = require('./string-helper-b89a9828.js');
|
|
14
|
+
const slotTemplate = require('./slot-template-758beb71.js');
|
|
15
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
16
|
require('./colors-56282b00.js');
|
|
17
17
|
require('./utils-fc077139.js');
|
|
18
|
-
require('./colors-
|
|
19
|
-
require('./
|
|
18
|
+
require('./colors-078851ec.js');
|
|
19
|
+
require('./package-e7a4d8ef.js');
|
|
20
|
+
require('./bcm-03727f3b.js');
|
|
20
21
|
|
|
21
22
|
const cardCss = "@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-card{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;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1);box-sizing:border-box}.bcm-card__header,.bcm-card__body,.bcm-card__footer{display:block;width:100%}.bcm-card__header{border-radius:8px 8px 0 0;padding:12px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-card__body{padding:12px 24px}.bcm-card__footer{padding:12px 24px;border-radius:0 0 8px 8px}";
|
|
22
23
|
|
|
@@ -6,18 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const index$2 = require('./index-
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
const bcm = require('./bcm-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$2 = require('./index-95ae50d0.js');
|
|
11
|
+
const generate = require('./generate-225c30c9.js');
|
|
12
|
+
const bcm = require('./bcm-03727f3b.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
|
-
const index$1 = require('./index-
|
|
15
|
-
const labelTemplate = require('./label-template-
|
|
16
|
-
const isLoadDecorator = require('./is-load-decorator-
|
|
17
|
-
require('./_commonjsHelpers-
|
|
18
|
-
require('./
|
|
19
|
-
require('./
|
|
20
|
-
require('./
|
|
14
|
+
const index$1 = require('./index-d321de96.js');
|
|
15
|
+
const labelTemplate = require('./label-template-8d34230f.js');
|
|
16
|
+
const isLoadDecorator = require('./is-load-decorator-7575fbd2.js');
|
|
17
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
18
|
+
require('./package-e7a4d8ef.js');
|
|
19
|
+
require('./colors-078851ec.js');
|
|
20
|
+
require('./slot-template-758beb71.js');
|
|
21
|
+
require('./string-helper-b89a9828.js');
|
|
21
22
|
|
|
22
23
|
const CheckboxGroupTemplate = ({ customStyle, groupContainerClasses, onBcmSelect, items }) => {
|
|
23
24
|
return (index.h("div", { class: groupContainerClasses, style: customStyle }, items.childs && items.childs.map((checkbox) => {
|
|
@@ -236,7 +237,7 @@ const BcmCheckboxGroup = class {
|
|
|
236
237
|
this.change = index.createEvent(this, "bcm-change", 7);
|
|
237
238
|
this.groupCheckedList = index.createEvent(this, "bcm-group-checked-list", 7);
|
|
238
239
|
this._id = generate.Generate.UID();
|
|
239
|
-
this.direction = bcm.Bcm
|
|
240
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
240
241
|
this.items = [];
|
|
241
242
|
this.indeterminate = false;
|
|
242
243
|
this.name = undefined;
|
|
@@ -251,10 +252,10 @@ const BcmCheckboxGroup = class {
|
|
|
251
252
|
this.fullWidth = false;
|
|
252
253
|
this.optionType = 'default';
|
|
253
254
|
this.buttonStyle = 'solid';
|
|
254
|
-
this.size = bcm.Bcm
|
|
255
|
+
this.size = bcm.Bcm.Size.medium;
|
|
255
256
|
this.caption = undefined;
|
|
256
257
|
this.noCaption = false;
|
|
257
|
-
this.captionType = bcm.Bcm
|
|
258
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
258
259
|
this.tick = {};
|
|
259
260
|
}
|
|
260
261
|
componentDidLoad() {
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
const bcm = require('./bcm-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const generate = require('./generate-225c30c9.js');
|
|
12
|
+
const bcm = require('./bcm-03727f3b.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
|
-
require('./_commonjsHelpers-
|
|
15
|
-
require('./
|
|
14
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
+
require('./package-e7a4d8ef.js');
|
|
16
|
+
require('./colors-078851ec.js');
|
|
16
17
|
|
|
17
18
|
const checkboxCss = "@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-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
18
19
|
|
|
@@ -26,7 +27,7 @@ const BcmCheckboxLite = class {
|
|
|
26
27
|
this.hidden = false;
|
|
27
28
|
this.required = false;
|
|
28
29
|
this.readOnly = false;
|
|
29
|
-
this.captionType = bcm.Bcm
|
|
30
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
30
31
|
}
|
|
31
32
|
render() {
|
|
32
33
|
const { disabled, checked, readOnly, required, indeterminate, hidden, captionType, _id } = this;
|
|
@@ -54,7 +55,7 @@ const BcmCheckboxLite = class {
|
|
|
54
55
|
// 'bcm-checkbox__label'
|
|
55
56
|
// )
|
|
56
57
|
const bcmCheckboxClass = index$1.classnames('bcm-checkbox', `bcm-checkbox-size-medium`, {
|
|
57
|
-
'error': captionType == bcm.Bcm
|
|
58
|
+
'error': captionType == bcm.Bcm.Status.error,
|
|
58
59
|
hidden,
|
|
59
60
|
checked,
|
|
60
61
|
disabled,
|
|
@@ -84,7 +85,7 @@ const BcmDivider = class {
|
|
|
84
85
|
constructor(hostRef) {
|
|
85
86
|
index.registerInstance(this, hostRef);
|
|
86
87
|
this.hidden = false;
|
|
87
|
-
this.direction = bcm.Bcm
|
|
88
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
88
89
|
}
|
|
89
90
|
render() {
|
|
90
91
|
const { hidden, direction } = this;
|
|
@@ -6,18 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const captionTemplate = require('./caption-template-
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const slotTemplate = require('./slot-template-
|
|
14
|
-
const bcm = require('./bcm-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
12
|
+
const generate = require('./generate-225c30c9.js');
|
|
13
|
+
const slotTemplate = require('./slot-template-758beb71.js');
|
|
14
|
+
const bcm = require('./bcm-03727f3b.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
|
-
const colorHelper = require('./color-helper-
|
|
17
|
-
const isLoadDecorator = require('./is-load-decorator-
|
|
18
|
-
require('./_commonjsHelpers-
|
|
19
|
-
require('./
|
|
20
|
-
require('./
|
|
16
|
+
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
17
|
+
const isLoadDecorator = require('./is-load-decorator-7575fbd2.js');
|
|
18
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
19
|
+
require('./package-e7a4d8ef.js');
|
|
20
|
+
require('./colors-078851ec.js');
|
|
21
|
+
require('./string-helper-b89a9828.js');
|
|
21
22
|
require('./colors-56282b00.js');
|
|
22
23
|
|
|
23
24
|
const checkboxCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
@@ -49,13 +50,13 @@ const BcmCheckbox = class {
|
|
|
49
50
|
this.required = false;
|
|
50
51
|
this.label = undefined;
|
|
51
52
|
this.readonly = false;
|
|
52
|
-
this.size = bcm.Bcm
|
|
53
|
+
this.size = bcm.Bcm.Size.medium;
|
|
53
54
|
this.indeterminate = null;
|
|
54
55
|
this.color = "blue";
|
|
55
56
|
this.caption = undefined;
|
|
56
57
|
this.noCaption = false;
|
|
57
58
|
this.captionError = undefined;
|
|
58
|
-
this.captionType = bcm.Bcm
|
|
59
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
59
60
|
this.captionCache = undefined;
|
|
60
61
|
this.captionTypeCache = undefined;
|
|
61
62
|
}
|
|
@@ -100,7 +101,7 @@ const BcmCheckbox = class {
|
|
|
100
101
|
}
|
|
101
102
|
watchIndeterminate(newValue, oldValue) {
|
|
102
103
|
if (newValue != oldValue) {
|
|
103
|
-
this.inputElement.checked = this.indeterminate == bcm.Bcm
|
|
104
|
+
this.inputElement.checked = this.indeterminate == bcm.Bcm.IndeterminateType.determinate ? true : false;
|
|
104
105
|
this.handleChange();
|
|
105
106
|
}
|
|
106
107
|
}
|
|
@@ -117,7 +118,7 @@ const BcmCheckbox = class {
|
|
|
117
118
|
this.handleChange();
|
|
118
119
|
}
|
|
119
120
|
handleKeyUp(ev) {
|
|
120
|
-
if (ev.keyCode == bcm.Bcm
|
|
121
|
+
if (ev.keyCode == bcm.Bcm.KeyCode.space || ev.keyCode == bcm.Bcm.KeyCode.enter) {
|
|
121
122
|
if (!this.disabled && !this.readonly) {
|
|
122
123
|
this.inputElement.checked = !this.inputElement.checked;
|
|
123
124
|
this.handleChange();
|
|
@@ -154,7 +155,7 @@ const BcmCheckbox = class {
|
|
|
154
155
|
const { label, _id, indeterminate, hidden, disabled, checked, readonly, required, caption, captionError, captionType, noCaption, size } = this;
|
|
155
156
|
//////
|
|
156
157
|
const bcmCheckboxClass = index$1.classnames('bcm-checkbox', `bcm-checkbox-size-${size}`, {
|
|
157
|
-
'error': captionType == bcm.Bcm
|
|
158
|
+
'error': captionType == bcm.Bcm.Status.error,
|
|
158
159
|
hidden,
|
|
159
160
|
checked,
|
|
160
161
|
disabled,
|
|
@@ -184,7 +185,7 @@ const BcmTypography = class {
|
|
|
184
185
|
index.registerInstance(this, hostRef);
|
|
185
186
|
}
|
|
186
187
|
render() {
|
|
187
|
-
return (index.h(index.Host,
|
|
188
|
+
return (index.h(index.Host, { class: "bcm-ui-element bcm-ui-content-display" }, index.h("slot", null)));
|
|
188
189
|
}
|
|
189
190
|
get el() { return index.getElement(this); }
|
|
190
191
|
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-225c30c9.js');
|
|
13
|
+
require('./number-helper-2b3bd61e.js');
|
|
14
|
+
require('./string-helper-b89a9828.js');
|
|
15
|
+
require('./validators-9e7f7995.js');
|
|
16
|
+
require('./element-dragger-a8562f82.js');
|
|
17
|
+
const bcm = require('./bcm-03727f3b.js');
|
|
18
|
+
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
19
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
20
|
+
require('./types-cc4adee7.js');
|
|
21
|
+
const labelTemplate = require('./label-template-8d34230f.js');
|
|
22
|
+
require('./types-7523fd99.js');
|
|
23
|
+
require('./colors-56282b00.js');
|
|
24
|
+
require('./utils-fc077139.js');
|
|
25
|
+
require('./colors-078851ec.js');
|
|
26
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
27
|
+
require('./package-e7a4d8ef.js');
|
|
28
|
+
require('./slot-template-758beb71.js');
|
|
29
|
+
|
|
30
|
+
const chipGroupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.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}.bcm-chip-group .bcm-chip{cursor:pointer}";
|
|
31
|
+
|
|
32
|
+
const BcmChipGroup = class {
|
|
33
|
+
constructor(hostRef) {
|
|
34
|
+
index.registerInstance(this, hostRef);
|
|
35
|
+
this.change = index.createEvent(this, "bcm-change", 7);
|
|
36
|
+
this._id = generate.Generate.UID();
|
|
37
|
+
this.name = undefined;
|
|
38
|
+
this.value = undefined;
|
|
39
|
+
this.required = false;
|
|
40
|
+
this.size = "medium";
|
|
41
|
+
this.label = undefined;
|
|
42
|
+
this.caption = undefined;
|
|
43
|
+
this.noCaption = false;
|
|
44
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
45
|
+
this.captionError = undefined;
|
|
46
|
+
}
|
|
47
|
+
handleSelectItem(e) {
|
|
48
|
+
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
49
|
+
if (target instanceof HTMLElement) {
|
|
50
|
+
const data = e.detail;
|
|
51
|
+
const chipItem = document.createElement("bcm-chip");
|
|
52
|
+
// chipItem.setAttribute("type", "dismissable");
|
|
53
|
+
chipItem.setAttribute("value", data.id);
|
|
54
|
+
chipItem.innerHTML = data.text;
|
|
55
|
+
target.parentNode.insertBefore(chipItem, target);
|
|
56
|
+
this.setSelect(data.id);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
handleDismiss(e) {
|
|
60
|
+
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
61
|
+
if (target instanceof HTMLElement) {
|
|
62
|
+
target.remove();
|
|
63
|
+
this.setSelect();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
handleSelect(e) {
|
|
67
|
+
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
68
|
+
if (target instanceof HTMLElement) {
|
|
69
|
+
if (target.type === "addable") {
|
|
70
|
+
this.showListComponent(target.id);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.setSelect(target.value);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
showListComponent(id) {
|
|
78
|
+
const listComponent = document.getElementById(id + "-list");
|
|
79
|
+
if (listComponent) {
|
|
80
|
+
listComponent.show();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
getSlots() {
|
|
84
|
+
return this.el.querySelectorAll("bcm-chip");
|
|
85
|
+
}
|
|
86
|
+
setSelect(val = this.value, noEvent = false) {
|
|
87
|
+
const slots = this.getSlots();
|
|
88
|
+
if ((slots === null || slots === void 0 ? void 0 : slots.length) === 0)
|
|
89
|
+
return;
|
|
90
|
+
const slotArray = Array.from(slots);
|
|
91
|
+
const selectedSlot = slotArray.find(slot => slot.value === val);
|
|
92
|
+
if (!selectedSlot) {
|
|
93
|
+
this.value = slotArray[0].value;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
this.value = val;
|
|
97
|
+
}
|
|
98
|
+
slotArray.forEach(slot => {
|
|
99
|
+
slot.selected = slot.value === this.value;
|
|
100
|
+
});
|
|
101
|
+
if (!noEvent) {
|
|
102
|
+
this.change.emit(this.value);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
setAttr() {
|
|
106
|
+
const slots = this.getSlots();
|
|
107
|
+
if ((slots === null || slots === void 0 ? void 0 : slots.length) === 0)
|
|
108
|
+
return;
|
|
109
|
+
const slotArray = Array.from(slots);
|
|
110
|
+
slotArray.forEach(slot => {
|
|
111
|
+
slot.setAttribute("size", this.size);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
componentWillLoad() {
|
|
115
|
+
this.setSelect();
|
|
116
|
+
}
|
|
117
|
+
componentDidRender() {
|
|
118
|
+
this.setAttr();
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
const { label, required, noCaption, captionType, captionError, caption } = this;
|
|
122
|
+
const hostClasses = index$1.classnames("bcm-chip-group");
|
|
123
|
+
return (index.h(index.Host, { class: hostClasses }, label && (index.h("div", null, index.h(labelTemplate.LabelTemplate, { type: captionType, value: label, required: required }))), index.h("div", { class: "tw-flex tw-flex-wrap tw-gap-1" }, index.h("slot", null)), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
124
|
+
}
|
|
125
|
+
get el() { return index.getElement(this); }
|
|
126
|
+
};
|
|
127
|
+
BcmChipGroup.style = chipGroupCss;
|
|
128
|
+
|
|
129
|
+
exports.bcm_chip_group = BcmChipGroup;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
+
const generate = require('./generate-225c30c9.js');
|
|
13
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
+
require('./colors-56282b00.js');
|
|
15
|
+
require('./utils-fc077139.js');
|
|
16
|
+
require('./colors-078851ec.js');
|
|
17
|
+
require('./package-e7a4d8ef.js');
|
|
18
|
+
|
|
19
|
+
const chipCss = "@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-chip{--bcm-chip-color:var(--bcm-new-ds-color-slate-500);--bcm-chip-color-hover:var(--bcm-new-ds-color-slate-500);--bcm-chip-color-focus:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-active:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color:var(--bcm-new-ds-color-slate-200);--bcm-chip-background-color-hover:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-focus:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-active:var(--bcm-new-ds-color-slate-400);--bcm-chip-background-color-disabled:var(--bcm-new-ds-color-slate-100);display:inline-flex;justify-content:center;align-items:center;width:fit-content;height:fit-content;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;padding:0 8px;gap:4px;color:var(--bcm-chip-color);background-color:var(--bcm-chip-background-color);border-radius:100px;transition:background-color 0.1s ease-in-out;outline:none}.bcm-chip:not(.bcm-chip--disabled):hover{background-color:var(--bcm-chip-background-color-hover)}.bcm-chip:not(.bcm-chip--disabled):focus{background-color:var(--bcm-chip-background-color-focus);color:var(--bcm-chip-color-focus)}.bcm-chip:not(.bcm-chip--disabled):active{background-color:var(--bcm-chip-background-color-active);color:var(--bcm-chip-color-active)}.bcm-chip--disabled{color:var(--bcm-chip-color-disabled);background-color:var(--bcm-chip-background-color-disabled)}.bcm-chip--avatar{padding-left:2px}.bcm-chip__type-dismissable-icon:hover{cursor:pointer;color:var(--bcm-chip-color-active)}.bcm-chip__size-small{font-size:10px;line-height:calc(10px + 8px)}.bcm-chip__size-small .bcm-avatar{width:14px;height:14px}.bcm-chip__size-small .bcm-chip--selected-icon{width:8px}.bcm-chip__size-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-chip__size-medium .bcm-avatar{width:16px;height:16px}.bcm-chip__size-medium .bcm-chip--selected-icon{width:10px}.bcm-chip__size-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-chip__size-large .bcm-avatar{width:18px;height:18px}.bcm-chip__size-large .bcm-chip--selected-icon{width:12px}";
|
|
20
|
+
|
|
21
|
+
const BcmChip = class {
|
|
22
|
+
constructor(hostRef) {
|
|
23
|
+
index.registerInstance(this, hostRef);
|
|
24
|
+
this.bcmChipDismiss = index.createEvent(this, "bcm-chip-dismiss", 7);
|
|
25
|
+
this.bcmChipSelect = index.createEvent(this, "bcm-chip-select", 7);
|
|
26
|
+
this.bcmChipAddable = index.createEvent(this, "bcm-chip-addable", 7);
|
|
27
|
+
this.bcmChipSelectItem = index.createEvent(this, "bcm-chip-select-item", 7);
|
|
28
|
+
this._id = generate.Generate.UID();
|
|
29
|
+
this.type = "default";
|
|
30
|
+
this.size = "medium";
|
|
31
|
+
this.avatar = undefined;
|
|
32
|
+
this.icon = undefined;
|
|
33
|
+
this.disabled = undefined;
|
|
34
|
+
this.color = undefined;
|
|
35
|
+
this.selected = false;
|
|
36
|
+
this.value = undefined;
|
|
37
|
+
this.data = [];
|
|
38
|
+
}
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
setColor() {
|
|
41
|
+
if (!this.color && !this.selected)
|
|
42
|
+
return;
|
|
43
|
+
const color = this.selected ? "indigo" : this.color; // Important: Find a solution for this in V3! ( selected ? this.color : "indigo" )
|
|
44
|
+
return {
|
|
45
|
+
"--bcm-chip-color": colorHelper.ColorHelper.dsColor(color + "-500"),
|
|
46
|
+
"--bcm-chip-color-hover": colorHelper.ColorHelper.dsColor(color + "-500"),
|
|
47
|
+
"--bcm-chip-color-focus": colorHelper.ColorHelper.dsColor(color + "-600"),
|
|
48
|
+
"--bcm-chip-color-active": colorHelper.ColorHelper.dsColor(color + "-700"),
|
|
49
|
+
"--bcm-chip-color-disabled": colorHelper.ColorHelper.dsColor("slate" + "-300"),
|
|
50
|
+
"--bcm-chip-background-color": colorHelper.ColorHelper.dsColor(color + "-100"),
|
|
51
|
+
"--bcm-chip-background-color-hover": colorHelper.ColorHelper.dsColor(color + "-200"),
|
|
52
|
+
"--bcm-chip-background-color-focus": colorHelper.ColorHelper.dsColor(color + "-300"),
|
|
53
|
+
"--bcm-chip-background-color-active": colorHelper.ColorHelper.dsColor(color + "-200"),
|
|
54
|
+
"--bcm-chip-background-color-disabled": colorHelper.ColorHelper.dsColor("slate" + "-100"),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
handleDismiss(e) {
|
|
58
|
+
e.stopPropagation();
|
|
59
|
+
e.preventDefault();
|
|
60
|
+
this.bcmChipDismiss.emit(this.el);
|
|
61
|
+
}
|
|
62
|
+
handleAddable(e) {
|
|
63
|
+
e.stopPropagation();
|
|
64
|
+
e.preventDefault();
|
|
65
|
+
this.bcmChipAddable.emit(this.el);
|
|
66
|
+
}
|
|
67
|
+
listSelectedItems(e) {
|
|
68
|
+
// To be added to v3
|
|
69
|
+
e.stopPropagation();
|
|
70
|
+
e.preventDefault();
|
|
71
|
+
if (e.detail) {
|
|
72
|
+
this.bcmChipSelectItem.emit(e.detail);
|
|
73
|
+
e.target.setClear();
|
|
74
|
+
this.data = this.data.filter(item => item.id !== e.detail.id);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
const { type, size, avatar, disabled, color } = this;
|
|
79
|
+
const hostClasses = index$1.classnames("bcm-chip", `bcm-chip__type-${type}`, `bcm-chip__size-${size}`, {
|
|
80
|
+
"bcm-chip--disabled": disabled,
|
|
81
|
+
"bcm-chip--avatar": avatar,
|
|
82
|
+
});
|
|
83
|
+
return (index.h(index.Host, { class: hostClasses, tabindex: "0", disabled: disabled, style: this.setColor(), onClick: e => this.bcmChipSelect.emit(e) }, index.h("div", { class: index$1.classnames(this.selected ? "bcm-chip--selected-icon" : "tw-hidden tw-w-0") }, index.h("bcm-icon", { icon: "fal fa-check" })), avatar && index.h("bcm-avatar", Object.assign({ size: size }, (color && { color }), (avatar && { image: avatar }))), type === "addable" && (index.h("span", { class: "bcm-chip__left" }, index.h("bcm-icon", { onClick: e => this.handleAddable(e), icon: "far fa-plus" }))), index.h("slot", null), type === "dismissable" && (index.h("span", { class: "bcm-chip__type-dismissable-icon" }, index.h("bcm-icon", { onClick: e => this.handleDismiss(e), icon: "fal fa-times" }))), this.data &&
|
|
84
|
+
this.data.length > 0 && ( // To be added to v3
|
|
85
|
+
index.h("bcm-list", { "onBcm-change": e => this.listSelectedItems(e), id: this._id + "-list", data: this.data, linkedComponent: this._id, searchable: true, highlight: true }))));
|
|
86
|
+
}
|
|
87
|
+
get el() { return index.getElement(this); }
|
|
88
|
+
};
|
|
89
|
+
BcmChip.style = chipCss;
|
|
90
|
+
|
|
91
|
+
exports.bcm_chip = BcmChip;
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
require('./_commonjsHelpers-
|
|
13
|
-
require('./
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const generate = require('./generate-225c30c9.js');
|
|
12
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
|
+
require('./package-e7a4d8ef.js');
|
|
14
|
+
require('./colors-078851ec.js');
|
|
14
15
|
|
|
15
16
|
const collapseCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.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}.bcm-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8)}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}";
|
|
16
17
|
|
|
@@ -6,19 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
require('./color-helper-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
15
|
-
require('./validators-
|
|
12
|
+
const generate = require('./generate-225c30c9.js');
|
|
13
|
+
require('./number-helper-2b3bd61e.js');
|
|
14
|
+
require('./string-helper-b89a9828.js');
|
|
15
|
+
require('./validators-9e7f7995.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
|
-
require('./bcm-
|
|
17
|
+
require('./bcm-03727f3b.js');
|
|
18
18
|
require('./colors-56282b00.js');
|
|
19
19
|
require('./utils-fc077139.js');
|
|
20
|
-
require('./colors-
|
|
21
|
-
require('./_commonjsHelpers-
|
|
20
|
+
require('./colors-078851ec.js');
|
|
21
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
+
require('./package-e7a4d8ef.js');
|
|
22
23
|
|
|
23
24
|
const BcmColorInput = class {
|
|
24
25
|
constructor(hostRef) {
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
10
|
const elementDragger = require('./element-dragger-a8562f82.js');
|
|
11
|
-
const index$1 = require('./index-
|
|
11
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
12
12
|
require('./utils-fc077139.js');
|
|
13
|
-
require('./_commonjsHelpers-
|
|
13
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
|
|
15
15
|
const colorpickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.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}:host{position:relative;margin:0 0 8px 0}.color-picker{position:relative;width:200px}.color-picker.open .picker{opacity:1;visibility:visible;transform:scale(1) translateY(56px)}.picker{width:300px;position:absolute;top:0;z-index:1;background-color:#ffffff;border:1px solid #F6F6F6;box-shadow:0px 3px 3.6px 0.4px rgba(0, 0, 0, 0.15);opacity:0;visibility:hidden;transition:transform 0.2s ease, opacity 0.3s ease;transform:scale(0.8) translateY(-100px)}.label{display:flex;flex-direction:column;color:var(--bcm-color-grey-9);margin-bottom:4px}.caption-area{min-height:20px}.input-caption{display:block}.input{display:flex;cursor:pointer;border:1px solid var(--bcm-color-grey-5);border-radius:2px}.color{position:relative;width:100%;height:166px;user-select:none}.color img{width:100%;height:100%;user-select:none;pointer-events:none}.color-indicator{position:absolute;top:0;left:0;width:17px;height:17px;border:1px solid rgba(255, 255, 255, 0.82);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.25);transform:translate(0, 0);border-radius:100px;user-select:none;box-sizing:border-box;pointer-events:none}.colors{position:relative;width:100%;height:16px;margin-top:8px}.colors img{width:100%;user-select:none;pointer-events:none}.colors-holder{position:absolute;top:50%;left:0;width:100%;height:8px;overflow:hidden;transform:translateY(-50%);border-radius:8px;user-select:none}.colors-indicator{position:absolute;top:50%;left:0;width:17px;height:17px;border:2px solid rgba(255, 255, 255, 0.82);box-shadow:0px 1px 4px rgba(0, 0, 0, 0.25);transform:translateY(-50%);border-radius:100px;user-select:none;box-sizing:border-box;pointer-events:none}.transparency{position:relative;width:100%;height:16px;margin-top:8px}.transparency-holder{position:absolute;top:50%;left:0;width:100%;height:8px;overflow:hidden;transform:translateY(-50%);border-radius:8px;background:transparent none repeat center center/20px}.transparency-indicator{position:absolute;top:50%;left:0;width:17px;height:17px;border:2px solid rgba(255, 255, 255, 0.82);box-shadow:0px 1px 4px rgba(0, 0, 0, 0.25);transform:translateY(-50%);border-radius:100px;user-select:none;box-sizing:border-box}.colors-transparency{padding:16px}.active-color{display:flex;align-items:center;width:100%;height:30px}.active-color .color-thumb{width:100%;height:100%;background-color:transparent;border-radius:1px 0 0 1px}.active-color .color-text{font-size:14px;color:#656565;margin-left:8px}.icon{display:flex;align-items:center;justify-content:center;cursor:pointer;width:30px;color:var(--bcm-color-grey-6)}.color-input{border:none;width:100%;padding:10px;outline:none;-webkit-tap-highlight-color:transparent}";
|
|
16
16
|
|
|
@@ -6,15 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const isLoadDecorator = require('./is-load-decorator-
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const isLoadDecorator = require('./is-load-decorator-7575fbd2.js');
|
|
12
12
|
const datetimeHelper = require('./datetime-helper-eaf4fadb.js');
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
const bcm = require('./bcm-
|
|
13
|
+
const generate = require('./generate-225c30c9.js');
|
|
14
|
+
const bcm = require('./bcm-03727f3b.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
|
-
require('./_commonjsHelpers-
|
|
17
|
-
require('./
|
|
16
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
|
+
require('./package-e7a4d8ef.js');
|
|
18
|
+
require('./colors-078851ec.js');
|
|
18
19
|
|
|
19
20
|
const datePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.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}:host{display:inline-block;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
20
21
|
|
|
@@ -50,7 +51,7 @@ const BcmDatePicker = class {
|
|
|
50
51
|
this.captionType = 'default';
|
|
51
52
|
this.alignment = undefined;
|
|
52
53
|
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
53
|
-
this.placement = bcm.Bcm
|
|
54
|
+
this.placement = bcm.Bcm.Placement['bottom-start'];
|
|
54
55
|
this.linkedComponent = undefined;
|
|
55
56
|
this.clearable = false;
|
|
56
57
|
this.stateStartDate = null;
|