bromcom-ui 2.9.0-rc.8 → 2.9.0-rc.9
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 +6 -0
- package/dist/bromcom-ui/{p-bd51d347.entry.js → p-01416407.entry.js} +1 -1
- package/dist/bromcom-ui/{p-499bb928.entry.js → p-0261a41f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4aa0e6b1.js → p-034bbcdd.js} +1 -1
- package/dist/bromcom-ui/{p-fb4b5224.entry.js → p-041d35e1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-73ca7c0a.entry.js → p-0b390d63.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5c3e9ac9.entry.js → p-123d6355.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0cb5a92d.entry.js → p-13c84181.entry.js} +1 -1
- package/dist/bromcom-ui/p-14c7e2a8.js +297 -0
- package/dist/bromcom-ui/p-170cf07d.js +6 -0
- package/dist/bromcom-ui/{p-1be22601.entry.js → p-173a5459.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8ded5483.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-45767d1d.entry.js → p-27089653.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f58c1fbe.entry.js → p-27c24ba2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-81eeccfa.entry.js → p-28f78dd4.entry.js} +1 -1
- package/dist/bromcom-ui/p-2a9053d8.js +5 -0
- package/dist/bromcom-ui/{p-af0a447d.entry.js → p-2ad0514a.entry.js} +1 -1
- package/dist/bromcom-ui/p-2d4a0a66.entry.js +5 -0
- package/dist/bromcom-ui/{p-89e1d8c5.entry.js → p-3078fcd2.entry.js} +1 -1
- package/dist/bromcom-ui/p-3182df7e.js +10 -0
- package/dist/bromcom-ui/{p-2a7bdc8b.entry.js → p-33cb3b7a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-65f01d32.entry.js → p-3788e33d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a82f2b2a.entry.js → p-39342bfb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6ca980dd.entry.js → p-3960cae8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f4538abb.entry.js → p-3a06c6b1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-54c0916c.js → p-3ade1099.js} +1 -1
- package/dist/bromcom-ui/{p-e5a0d8f6.entry.js → p-3bcaa275.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ebee9f45.entry.js → p-3d730230.entry.js} +1 -1
- package/dist/bromcom-ui/p-3f67e615.js +5 -0
- package/dist/bromcom-ui/{p-0f52bab9.entry.js → p-41143361.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b1c83bb8.entry.js → p-44ca28fa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b4ac5904.js → p-477c5bae.js} +1 -1
- package/dist/bromcom-ui/{p-2fc584c4.js → p-4798d827.js} +1 -1
- package/dist/bromcom-ui/{p-d389b202.entry.js → p-485d801c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c6e3ae5.entry.js → p-4e33341b.entry.js} +1 -1
- package/dist/bromcom-ui/p-52989d8c.entry.js +5 -0
- package/dist/bromcom-ui/{p-4484ed7d.entry.js → p-55309a20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d0bb9a84.entry.js → p-55b60edb.entry.js} +1 -1
- package/dist/bromcom-ui/p-5600c817.js +5 -0
- package/dist/bromcom-ui/{p-9fe802bc.entry.js → p-620aa5b0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-065e0f32.entry.js → p-626c26aa.entry.js} +1 -1
- package/dist/bromcom-ui/p-62ea396b.entry.js +5 -0
- package/dist/bromcom-ui/{p-235023cc.entry.js → p-667876ac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-03134b6f.entry.js → p-67343ad8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fdc3e5b8.entry.js → p-68bf022e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f331e009.entry.js → p-6ab403d2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-24f0e23a.entry.js → p-6cc47ae0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c799b397.entry.js → p-6f375d08.entry.js} +1 -1
- package/dist/bromcom-ui/{p-908b1b5d.js → p-7236f21c.js} +1 -1
- package/dist/bromcom-ui/{p-3cde7f38.js → p-74e6d2b6.js} +1 -1
- package/dist/bromcom-ui/{p-dc2c4b14.entry.js → p-7b486021.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d995750a.entry.js → p-7c5763cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2caa75a4.entry.js → p-7cb2df5d.entry.js} +1 -1
- package/dist/bromcom-ui/p-7e3209a0.js +14 -0
- package/dist/bromcom-ui/{p-240151d4.entry.js → p-7f1612df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4fd78dbb.entry.js → p-7f22af84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8fcb5846.js → p-81d6b4a9.js} +1 -1
- package/dist/bromcom-ui/{p-ec36d0c0.entry.js → p-81f7a8cf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ec6b45ba.entry.js → p-833b0234.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32028f4f.entry.js → p-875dcc4e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d7f10f7f.js → p-8b7f2c93.js} +1 -1
- package/dist/bromcom-ui/{p-7ddaedb7.entry.js → p-8c3535b6.entry.js} +1 -1
- package/dist/bromcom-ui/p-9166c160.entry.js +5 -0
- package/dist/bromcom-ui/{p-6c3e9e10.entry.js → p-9314d7ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a9692ed3.entry.js → p-9682f59f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8bcfe3b3.entry.js → p-9d12a9da.entry.js} +1 -1
- package/dist/bromcom-ui/p-a231503d.js +5 -0
- package/dist/bromcom-ui/{p-5d89f348.entry.js → p-a2f55c7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-503feae9.entry.js → p-a3837b59.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61c4745d.entry.js → p-a7bc8330.entry.js} +1 -1
- package/dist/bromcom-ui/p-a9842acd.entry.js +5 -0
- package/dist/bromcom-ui/{p-ea4d8a18.entry.js → p-ae57f046.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f619f9f9.entry.js → p-b284e383.entry.js} +1 -1
- package/dist/bromcom-ui/p-b82685e4.js +12 -0
- package/dist/bromcom-ui/{p-e4477593.entry.js → p-ba3c6657.entry.js} +1 -1
- package/dist/bromcom-ui/p-ba7e96a8.entry.js +5 -0
- package/dist/bromcom-ui/p-ba89b896.entry.js +5 -0
- package/dist/bromcom-ui/p-bed627ab.js +11 -0
- package/dist/bromcom-ui/{p-c42dffea.entry.js → p-c05f56ab.entry.js} +1 -1
- package/dist/bromcom-ui/p-c0d7b05e.js +5 -0
- package/dist/bromcom-ui/{p-6aeaef2a.entry.js → p-c5c61430.entry.js} +1 -1
- package/dist/bromcom-ui/p-c7757dd5.entry.js +5 -0
- package/dist/bromcom-ui/{p-6bcaf906.entry.js → p-c82fc2b1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c75519d5.js → p-c87ea210.js} +1 -1
- package/dist/bromcom-ui/{p-1b1f4b44.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-d0b993c1.entry.js +5 -0
- package/dist/bromcom-ui/{p-7f529bbe.entry.js → p-d20f131e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f5bed571.entry.js → p-d88bc175.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ff48f5b2.entry.js → p-da4bd91f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b60bcecf.js → p-dc8305dc.js} +1 -1
- package/dist/bromcom-ui/p-de6dcf0d.entry.js +5 -0
- package/dist/bromcom-ui/{p-48f85544.entry.js → p-df185078.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dbc4c30c.js → p-e1689f47.js} +1 -1
- package/dist/bromcom-ui/p-e1877ee9.js +5 -0
- package/dist/bromcom-ui/p-e45c1546.js +5 -0
- package/dist/bromcom-ui/p-e705fda8.entry.js +5 -0
- package/dist/bromcom-ui/{p-4f8b00bc.entry.js → p-ec04b3a4.entry.js} +1 -1
- package/dist/bromcom-ui/p-f3fb3196.entry.js +5 -0
- package/dist/bromcom-ui/{p-2acd6bee.entry.js → p-f6e549ce.entry.js} +1 -1
- 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-accordion.cjs.entry.js +5 -5
- package/dist/cjs/bcm-alert.cjs.entry.js +9 -9
- package/dist/cjs/bcm-attendance.cjs.entry.js +5 -5
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/bcm-avatar.cjs.entry.js +10 -10
- package/dist/cjs/bcm-badge_15.cjs.entry.js +17 -17
- package/dist/cjs/bcm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -6
- package/dist/cjs/bcm-button-group.cjs.entry.js +8 -8
- package/dist/cjs/bcm-card.cjs.entry.js +10 -10
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +12 -12
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +7 -7
- package/dist/cjs/bcm-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/bcm-chip-group.cjs.entry.js +14 -14
- package/dist/cjs/bcm-chip.cjs.entry.js +7 -7
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +6 -6
- package/dist/cjs/bcm-color-input.cjs.entry.js +10 -10
- package/dist/cjs/{bcm-colorful.cjs.entry.js → bcm-colorful_2.cjs.entry.js} +363 -3
- 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 +8 -8
- package/dist/cjs/bcm-date.cjs.entry.js +124 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +12 -12
- package/dist/cjs/bcm-default.cjs.entry.js +5 -5
- package/dist/cjs/bcm-drawer.cjs.entry.js +11 -11
- package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -9
- package/dist/cjs/{bcm-ab921827.js → bcm-fd724fe9.js} +1 -0
- package/dist/cjs/bcm-form-2.cjs.entry.js +12 -9
- package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form.cjs.entry.js +7 -6
- package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -6
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +218 -0
- package/dist/cjs/bcm-label.cjs.entry.js +10 -10
- package/dist/cjs/bcm-link.cjs.entry.js +4 -4
- package/dist/cjs/bcm-list_3.cjs.entry.js +147 -1671
- package/dist/cjs/bcm-message.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -11
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -10
- package/dist/cjs/bcm-modal-2.cjs.entry.js +11 -11
- package/dist/cjs/bcm-modal.cjs.entry.js +9 -9
- 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 -10
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +7 -7
- package/dist/cjs/bcm-progress.cjs.entry.js +8 -8
- package/dist/cjs/bcm-radio-group.cjs.entry.js +13 -13
- package/dist/cjs/bcm-radio.cjs.entry.js +11 -11
- package/dist/cjs/bcm-range.cjs.entry.js +7 -7
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +8120 -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 -5
- package/dist/cjs/bcm-step.cjs.entry.js +8 -8
- package/dist/cjs/bcm-stepper.cjs.entry.js +13 -13
- package/dist/cjs/bcm-switch.cjs.entry.js +9 -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 +8 -8
- package/dist/cjs/bcm-textarea.cjs.entry.js +10 -10
- package/dist/cjs/bcm-time-picker.cjs.entry.js +8 -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 +8 -8
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +5 -4
- package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
- package/dist/cjs/{color-helper-7ab15732.js → color-helper-c3a819ea.js} +1 -1
- package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
- package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-5f42f872.js} +1 -1
- package/dist/cjs/{generate-cae9c0fb.js → generate-7e161828.js} +2 -2
- package/dist/cjs/{global-3ce50f9f.js → global-01094a23.js} +6 -1
- package/dist/cjs/index-3d67f613.js +1610 -0
- package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
- package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
- package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
- package/dist/cjs/{index-906fb4e5.js → index-e05a7c6f.js} +6 -1
- package/dist/cjs/{input-template-a7f8f2e9.js → input-template-c8d5ae30.js} +4 -4
- package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-7575fbd2.js} +1 -1
- package/dist/cjs/{json-parse-decarator-34a3d26e.js → json-parse-decarator-d9d1452c.js} +2 -2
- package/dist/cjs/{label-template-4d5f99a5.js → label-template-8738acbd.js} +4 -4
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/moment-c1a71617.js +5689 -0
- package/dist/cjs/{number-helper-101d8aa8.js → number-helper-c26ca8a7.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -11
- package/dist/cjs/old-bcm-popover.cjs.entry.js +7 -7
- package/dist/cjs/{package-ed8b3296.js → package-016f287a.js} +1 -1
- package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-2161105e.js} +1 -1
- package/dist/cjs/{slot-template-d70ea082.js → slot-template-bc4e1c50.js} +2 -2
- package/dist/cjs/{stepper-states-308c8d3e.js → stepper-states-2a864ea5.js} +3 -3
- package/dist/cjs/{string-helper-d681e5c7.js → string-helper-c432b17c.js} +2 -2
- package/dist/cjs/{validators-26badb68.js → validators-5ca90062.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/{other/data-table/table.css → molecules/input-dropdown/input-dropdown.css} +4 -5
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +664 -0
- package/dist/collection/components/molecules/linked/linked.js +2 -2
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +1 -1
- package/dist/collection/components/molecules/tooltip/tooltip.js +1 -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_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 +228 -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/global/global.js +6 -0
- 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/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 +296 -0
- package/dist/components/bcm-rc-picker.d.ts +11 -0
- package/dist/components/bcm-rc-picker.js +10 -0
- package/dist/components/bcm-table.js +111873 -41
- package/dist/components/bcm.js +1 -0
- package/dist/components/colors2.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +9 -1
- package/dist/components/index3.js +5 -1
- package/dist/components/linked.js +1 -1
- package/dist/components/raf.js +1594 -0
- package/dist/components/rc-overflow.js +32 -1557
- package/dist/components/rc-picker.js +13821 -0
- 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} +1 -0
- package/dist/esm/bcm-accordion.entry.js +5 -5
- package/dist/esm/bcm-alert.entry.js +9 -9
- package/dist/esm/bcm-attendance.entry.js +5 -5
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-avatar.entry.js +10 -10
- package/dist/esm/bcm-badge_15.entry.js +17 -17
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -6
- package/dist/esm/bcm-button-group.entry.js +8 -8
- package/dist/esm/bcm-card.entry.js +10 -10
- package/dist/esm/bcm-checkbox-group.entry.js +12 -12
- package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -7
- package/dist/esm/bcm-checkbox.entry.js +12 -12
- package/dist/esm/bcm-chip-group.entry.js +14 -14
- package/dist/esm/bcm-chip.entry.js +7 -7
- package/dist/esm/bcm-collapse-group.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +6 -6
- package/dist/esm/bcm-color-input.entry.js +10 -10
- package/dist/esm/{bcm-colorful.entry.js → bcm-colorful_2.entry.js} +363 -4
- package/dist/esm/bcm-colorpicker.entry.js +3 -3
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +8 -8
- package/dist/esm/bcm-date.entry.js +120 -0
- package/dist/esm/bcm-datetime-picker.entry.js +12 -12
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-drawer.entry.js +11 -11
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +9 -9
- package/dist/esm/bcm-form-2.entry.js +12 -9
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-form.entry.js +7 -6
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +214 -0
- package/dist/esm/bcm-label.entry.js +10 -10
- package/dist/esm/bcm-link.entry.js +4 -4
- package/dist/esm/bcm-list_3.entry.js +85 -1609
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
- package/dist/esm/bcm-modal-2-header.entry.js +10 -10
- package/dist/esm/bcm-modal-2.entry.js +11 -11
- package/dist/esm/bcm-modal.entry.js +9 -9
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-old-input.entry.js +4 -4
- package/dist/esm/bcm-old-tag_2.entry.js +3 -3
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
- package/dist/esm/bcm-popconfirm.entry.js +7 -7
- package/dist/esm/bcm-progress.entry.js +8 -8
- package/dist/esm/bcm-radio-group.entry.js +13 -13
- package/dist/esm/bcm-radio.entry.js +11 -11
- package/dist/esm/bcm-range.entry.js +7 -7
- package/dist/esm/bcm-rc-picker.entry.js +8116 -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 +5 -5
- package/dist/esm/bcm-skeleton.entry.js +5 -5
- package/dist/esm/bcm-step.entry.js +8 -8
- package/dist/esm/bcm-stepper.entry.js +13 -13
- package/dist/esm/bcm-switch.entry.js +9 -9
- 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 +3 -3
- package/dist/esm/bcm-tabs.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +8 -8
- package/dist/esm/bcm-textarea.entry.js +10 -10
- package/dist/esm/bcm-time-picker.entry.js +8 -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 +8 -8
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +6 -5
- package/dist/esm/{caption-template-34a1cb44.js → caption-template-e973a48c.js} +2 -2
- package/dist/esm/{color-helper-116755ed.js → color-helper-c4fa9ebc.js} +1 -1
- package/dist/esm/{colors-44c95e7e.js → colors-e1c31f79.js} +1 -1
- package/dist/esm/{floating-ui-e7341329.js → floating-ui-54c52eaa.js} +1 -1
- package/dist/esm/{generate-e008f24f.js → generate-903ca965.js} +2 -2
- package/dist/esm/{global-9c04f017.js → global-9b1304a4.js} +6 -1
- package/dist/esm/{index-348b16ad.js → index-0615c2b8.js} +3 -1
- package/dist/esm/{index-0052017c.js → index-7e71bbc8.js} +1 -1
- package/dist/esm/{index-6310a048.js → index-a6d9d0af.js} +6 -2
- package/dist/esm/{index-ed9652af.js → index-b84bc8c9.js} +1 -1
- package/dist/esm/index-c4568336.js +1594 -0
- package/dist/esm/{input-template-0bdd4dda.js → input-template-332be34e.js} +4 -4
- package/dist/esm/{is-load-decorator-07d3502a.js → is-load-decorator-6784aa87.js} +1 -1
- package/dist/esm/{json-parse-decarator-40fc5701.js → json-parse-decarator-498602a3.js} +2 -2
- package/dist/esm/{label-template-98dafeb3.js → label-template-f156f33f.js} +4 -4
- package/dist/esm/loader.js +6 -5
- package/dist/esm/moment-24231dde.js +5686 -0
- package/dist/esm/{number-helper-ddce4326.js → number-helper-3809b83b.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +7 -7
- package/dist/esm/{package-00ece356.js → package-9887f1c0.js} +1 -1
- package/dist/esm/{popover-placement-78f86f15.js → popover-placement-018109c4.js} +1 -1
- package/dist/esm/{slot-template-672e941d.js → slot-template-46035685.js} +2 -2
- package/dist/esm/{stepper-states-56644bc7.js → stepper-states-372c3c9c.js} +3 -3
- package/dist/esm/{string-helper-6bd24967.js → string-helper-4a28f775.js} +2 -2
- package/dist/esm/{validators-77fbe47e.js → validators-c8f34de9.js} +1 -1
- package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +54 -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 +170 -3
- 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 +7 -3
- package/dist/bromcom-ui/p-019b44bb.entry.js +0 -5
- package/dist/bromcom-ui/p-01a50abe.entry.js +0 -5
- package/dist/bromcom-ui/p-15758356.entry.js +0 -5
- package/dist/bromcom-ui/p-1eabd5dc.js +0 -10
- package/dist/bromcom-ui/p-3a68eca1.js +0 -5
- package/dist/bromcom-ui/p-663766cf.entry.js +0 -5
- package/dist/bromcom-ui/p-6d7fe687.js +0 -6
- package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
- package/dist/bromcom-ui/p-74b2d896.js +0 -5
- package/dist/bromcom-ui/p-a19320bb.entry.js +0 -13
- package/dist/bromcom-ui/p-a56e8c98.js +0 -5
- package/dist/bromcom-ui/p-a8033cda.entry.js +0 -5
- package/dist/bromcom-ui/p-bddbd954.entry.js +0 -5
- package/dist/bromcom-ui/p-c49d038e.js +0 -5
- package/dist/bromcom-ui/p-cf0ab7f0.entry.js +0 -5
- package/dist/bromcom-ui/p-d65a1e21.js +0 -11
- package/dist/bromcom-ui/p-e09fa0dc.entry.js +0 -5
- package/dist/bromcom-ui/p-e32d9cfc.js +0 -5
- package/dist/bromcom-ui/p-e9842c26.js +0 -5
- package/dist/bromcom-ui/p-f645d9ae.entry.js +0 -5
- package/dist/cjs/bcm-input.cjs.entry.js +0 -371
- package/dist/collection/components/other/data-table/table.js +0 -88
- package/dist/esm/bcm-input.entry.js +0 -367
- package/dist/types/components/other/data-table/table.d.ts +0 -8
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import './color-helper.js';
|
|
7
|
+
import './validators.js';
|
|
8
|
+
import { G as Generate } from './generate.js';
|
|
9
|
+
import './number-helper.js';
|
|
10
|
+
import { S as StringHelper } from './string-helper.js';
|
|
11
|
+
import './element-dragger.js';
|
|
12
|
+
import { p as pluralize } from './utils.js';
|
|
13
|
+
import { a as Bcm } from './bcm.js';
|
|
14
|
+
import { C as CaptionTemplate } from './caption-template.js';
|
|
15
|
+
import { c as classnames } from './index2.js';
|
|
16
|
+
import './types.js';
|
|
17
|
+
import './types2.js';
|
|
18
|
+
import { d as defineCustomElement$8 } from './button.js';
|
|
19
|
+
import { d as defineCustomElement$7 } from './colorful.js';
|
|
20
|
+
import { d as defineCustomElement$6 } from './icon.js';
|
|
21
|
+
import { d as defineCustomElement$5 } from './input.js';
|
|
22
|
+
import { d as defineCustomElement$4 } from './label.js';
|
|
23
|
+
import { d as defineCustomElement$3 } from './linked.js';
|
|
24
|
+
import { d as defineCustomElement$2 } from './tooltip.js';
|
|
25
|
+
|
|
26
|
+
const inputDropdownCss = "@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-input-dropdown .dropdown-input-button button{min-width:32px;padding-left:8px;padding-right:8px}";
|
|
27
|
+
|
|
28
|
+
const InputDropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
this.__registerHost();
|
|
32
|
+
this.change = createEvent(this, "bcm-change", 7);
|
|
33
|
+
this.onChangeDropdown = createEvent(this, "bcm-input-dropdown-change", 7);
|
|
34
|
+
this.handleInput = e => {
|
|
35
|
+
var _a, _b, _c, _d;
|
|
36
|
+
const value = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value;
|
|
37
|
+
const maxLengthExceeded = (value === null || value === void 0 ? void 0 : value.length) >= +this.maxCharacterLimit;
|
|
38
|
+
if (maxLengthExceeded) {
|
|
39
|
+
const item = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find(item => { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.key) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === value.toLowerCase(); });
|
|
40
|
+
if (item) {
|
|
41
|
+
this.value = item;
|
|
42
|
+
this._input.style.color = item.color;
|
|
43
|
+
this.invalid = false;
|
|
44
|
+
this.isLate() ? (_c = this.lateContent) === null || _c === void 0 ? void 0 : _c.show() : (_d = this.content) === null || _d === void 0 ? void 0 : _d.hide();
|
|
45
|
+
this.onChangeDropdown.emit(item);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this.value = e.target.value;
|
|
49
|
+
this.content && this.content.show();
|
|
50
|
+
this._input.style.color = "#ff0000";
|
|
51
|
+
this.invalid = true;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
this.onCloseMainContent();
|
|
56
|
+
this.value = null;
|
|
57
|
+
this._input.style.color = "#000000";
|
|
58
|
+
this.invalid = false;
|
|
59
|
+
}
|
|
60
|
+
this.change.emit();
|
|
61
|
+
};
|
|
62
|
+
this.handleKeyPress = e => {
|
|
63
|
+
var _a, _b;
|
|
64
|
+
if (((_b = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.length) >= +this.maxCharacterLimit) {
|
|
65
|
+
e.preventDefault();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
this.onClickSave = () => {
|
|
70
|
+
const lateMin = +this.lateMinutes;
|
|
71
|
+
if (lateMin > 0) {
|
|
72
|
+
this.value = Object.assign(Object.assign({}, this.value), { late: lateMin });
|
|
73
|
+
this.onChangeDropdown.emit(this.value);
|
|
74
|
+
this.onCloseLateContent();
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
this._id = Generate.UID();
|
|
78
|
+
this.value = undefined;
|
|
79
|
+
this.defaultValue = undefined;
|
|
80
|
+
this.lateKey = "L";
|
|
81
|
+
this.maxCharacterLimit = 1;
|
|
82
|
+
this.size = Bcm.Size.medium;
|
|
83
|
+
this.label = undefined;
|
|
84
|
+
this.placeholder = undefined;
|
|
85
|
+
this.fullWidth = false;
|
|
86
|
+
this.disabled = false;
|
|
87
|
+
this.required = false;
|
|
88
|
+
this.readonly = false;
|
|
89
|
+
this.data = [
|
|
90
|
+
{ key: "/", value: "Present", color: "#00b050" },
|
|
91
|
+
{ key: "B", value: "Educated off site (NOT dual registration)", color: "#ffc000" },
|
|
92
|
+
{ key: "C", value: "Other authorised circumstance", color: "#ff0000" },
|
|
93
|
+
{ key: "D", value: "Dual registration", color: "#0070c0" },
|
|
94
|
+
{ key: "E", value: "Excluded", color: "#ff0000" },
|
|
95
|
+
{ key: "F", value: "Free Study", color: "#ffc000" },
|
|
96
|
+
{ key: "I", value: "Illness", color: "#ff0000" },
|
|
97
|
+
{ key: "J", value: "Interview", color: "#ffc000" },
|
|
98
|
+
{ key: "L", value: "Late before reg. closed", color: "#ffc000" },
|
|
99
|
+
];
|
|
100
|
+
this.caption = undefined;
|
|
101
|
+
this.noCaption = false;
|
|
102
|
+
this.captionType = Bcm.Status.default;
|
|
103
|
+
this.captionError = undefined;
|
|
104
|
+
this.customErrorMessage = undefined;
|
|
105
|
+
this.invalid = false;
|
|
106
|
+
this.captionCache = undefined;
|
|
107
|
+
this.captionTypeCache = undefined;
|
|
108
|
+
this.activeSaveButton = true;
|
|
109
|
+
this.lateMinutes = 0;
|
|
110
|
+
}
|
|
111
|
+
get content() {
|
|
112
|
+
return document.getElementById(this._id + "-input-dropdown-main-content");
|
|
113
|
+
}
|
|
114
|
+
get lateContent() {
|
|
115
|
+
return document.getElementById(this._id + "-input-dropdown-late-content");
|
|
116
|
+
}
|
|
117
|
+
get isLate() {
|
|
118
|
+
return () => { var _a; return StringHelper.lowercase((_a = this.value) === null || _a === void 0 ? void 0 : _a.key) == StringHelper.lowercase(this.lateKey); };
|
|
119
|
+
}
|
|
120
|
+
onCloseMainContent() {
|
|
121
|
+
this.content && this.content.hide();
|
|
122
|
+
}
|
|
123
|
+
onCloseLateContent() {
|
|
124
|
+
this.lateContent && this.lateContent.hide();
|
|
125
|
+
}
|
|
126
|
+
connectedCallback() {
|
|
127
|
+
this.captionCache = this.caption;
|
|
128
|
+
this.captionTypeCache = this.captionType;
|
|
129
|
+
}
|
|
130
|
+
componentWillLoad() {
|
|
131
|
+
if (this.defaultValue) {
|
|
132
|
+
this.value = {
|
|
133
|
+
key: this.defaultValue,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
async set(data) {
|
|
138
|
+
this.data = typeof data === "string" ? JSON.parse(data) : data;
|
|
139
|
+
}
|
|
140
|
+
async get() {
|
|
141
|
+
return this.value;
|
|
142
|
+
}
|
|
143
|
+
async setClear() {
|
|
144
|
+
this.value = "";
|
|
145
|
+
return Promise.resolve();
|
|
146
|
+
}
|
|
147
|
+
async resetCaption() {
|
|
148
|
+
this.caption = this.captionCache;
|
|
149
|
+
this.captionType = this.captionTypeCache;
|
|
150
|
+
this.captionError = null;
|
|
151
|
+
this.invalid = false;
|
|
152
|
+
return Promise.resolve();
|
|
153
|
+
}
|
|
154
|
+
clickListener(e) {
|
|
155
|
+
var _a;
|
|
156
|
+
const isSelf = Generate.findEventPath(e, this.el);
|
|
157
|
+
const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
|
|
158
|
+
if (!isSelf && !isLinked && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.key.toLowerCase()) != this.lateKey.toLowerCase()) {
|
|
159
|
+
this.onCloseLateContent();
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
onClick(item) {
|
|
164
|
+
var _a, _b;
|
|
165
|
+
this.value = item;
|
|
166
|
+
this.invalid = false;
|
|
167
|
+
this._input.style.color = item.color;
|
|
168
|
+
this.onCloseMainContent();
|
|
169
|
+
this.isLate() ? (_a = this.lateContent) === null || _a === void 0 ? void 0 : _a.show() : (_b = this.lateContent) === null || _b === void 0 ? void 0 : _b.hide();
|
|
170
|
+
this.onChangeDropdown.emit(item);
|
|
171
|
+
this.change.emit();
|
|
172
|
+
}
|
|
173
|
+
render() {
|
|
174
|
+
var _a, _b;
|
|
175
|
+
const { label, size, noCaption, captionType, captionError, caption, required, invalid, disabled, readonly, value, fullWidth, lateMinutes } = this;
|
|
176
|
+
const color = invalid || captionType === "error" ? "red" : "primary";
|
|
177
|
+
const theme = Generate.getTwColor({ color });
|
|
178
|
+
const iconSizes = {
|
|
179
|
+
[Bcm.Size.small]: "tw-text-2",
|
|
180
|
+
[Bcm.Size.medium]: "tw-text-3 ",
|
|
181
|
+
[Bcm.Size.large]: "tw-text-4 ",
|
|
182
|
+
}[size];
|
|
183
|
+
const fontSizes = {
|
|
184
|
+
[Bcm.Size.small]: "tw-text-4",
|
|
185
|
+
[Bcm.Size.medium]: "tw-text-5",
|
|
186
|
+
[Bcm.Size.large]: "tw-text-6",
|
|
187
|
+
}[size];
|
|
188
|
+
const buttonSizes = {
|
|
189
|
+
[Bcm.Size.small]: Bcm.Size.xsmall,
|
|
190
|
+
[Bcm.Size.medium]: Bcm.Size.small,
|
|
191
|
+
[Bcm.Size.large]: Bcm.Size.medium,
|
|
192
|
+
}[size];
|
|
193
|
+
const isError = invalid || captionType === "error";
|
|
194
|
+
return (h(Host, { class: classnames("bcm-ui-element bcm-ui-inputs bcm-input-dropdown tw-flex tw-flex-col tw-items-start tw-justify-center tw-gap-1", {
|
|
195
|
+
"!tw-w-[86px]": size == Bcm.Size.small,
|
|
196
|
+
"!tw-w-[92px]": size == Bcm.Size.medium,
|
|
197
|
+
"tw-w-[108px]": !fullWidth,
|
|
198
|
+
"!tw-w-full": fullWidth,
|
|
199
|
+
}) }, label && h("bcm-label", { htmlFor: this._id + "-dropdown-input", size: size, value: label, required: required }), h("div", { "aria-disabled": disabled ? "true" : "false", "aria-readonly": readonly ? "true" : "false", "aria-invalid": isError ? "true" : "false", tabIndex: disabled || readonly ? -1 : 0, style: Object.assign({}, theme), class: classnames("tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-center tw-gap-2 tw-rounded tw-border tw-border-solid tw-border-slate-300 tw-pl-3 tw-pr-[1px] tw-font-medium", "aria-disabled:tw-cursor-not-allowed aria-disabled:tw-bg-slate-100", "aria-readonly:tw-cursor-text aria-readonly:tw-bg-slate-100", "aria-invalid:tw-border-default-600 aria-invalid:tw-bg-default-50", {
|
|
200
|
+
"tw-h-6 tw-py-0": size == Bcm.Size.small,
|
|
201
|
+
"tw-h-7 tw-py-0.5": size == Bcm.Size.medium,
|
|
202
|
+
"tw-h-10 tw-py-1 tw-pr-[2px]": size == Bcm.Size.large,
|
|
203
|
+
"hover:tw-border-default-600 hover:tw-bg-default-50": !disabled && !readonly && !isError,
|
|
204
|
+
"tw-outline-none focus:tw-ring-2 focus:tw-ring-default-400": !disabled && !readonly && !isError,
|
|
205
|
+
}) }, h("div", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-center tw-gap-1.5" }, value && (value === null || value === void 0 ? void 0 : value.late) && (h("bcm-tooltip", { message: `${lateMinutes} ${pluralize("Minute", lateMinutes)} Late`, trigger: "hover" }, h("bcm-icon", { class: iconSizes, icon: "fas fa-clock", onClick: () => this.lateContent.show() }))), captionType == Bcm.Status.error && h("bcm-icon", { class: iconSizes + " tw-text-default-500", icon: "fas fa-exclamation-circle" }), h("input", { class: classnames("tw-h-full tw-w-full tw-bg-transparent tw-text-center tw-font-semibold !tw-uppercase tw-outline-none ", "disabled:tw-cursor-not-allowed disabled:tw-text-slate-400", "readonly:tw-text-slate-700 readonly:tw-cursor-text", `${fontSizes}`), id: this._id + "-dropdown-input", type: "text", tabIndex: -1, disabled: disabled, placeholder: this.placeholder, value: value === null || value === void 0 ? void 0 : value.key, required: this.required, readOnly: readonly, onKeyPress: e => this.handleKeyPress(e), onInput: e => this.handleInput(e), ref: el => (this._input = el) })), h("bcm-button", { class: "dropdown-input-button", tabIndex: -1, id: this._id + "-dropdown-input-button", kind: "ghost", size: buttonSizes, disabled: disabled || readonly }, h("bcm-icon", { icon: "fas fa-chevron-down" })), h("bcm-linked", { id: this._id + "-input-dropdown-main-content", "target-id": this._id + "-dropdown-input-button", placement: "bottom-end" }, h("div", { class: `tw-mt-1 tw-flex tw-min-w-[490px] tw-flex-col tw-items-start tw-justify-center tw-gap-2 tw-overflow-auto tw-bg-white tw-p-4 tw-text-slate-700 ${fontSizes}` }, this.invalid && (h("li", { class: classnames("tw-flex tw-w-full tw-flex-row tw-items-center tw-gap-3 tw-rounded tw-bg-red-100 tw-px-4 tw-py-2 tw-text-inherit") }, h("span", { class: "tw-text-red-900" }, h("bcm-icon", { class: iconSizes, icon: "far fa-exclamation-circle" })), " ", h("span", null, "There is not mark you entered, please use"))), (_a = this.data) === null || _a === void 0 ? void 0 :
|
|
206
|
+
_a.map(item => {
|
|
207
|
+
var _a;
|
|
208
|
+
return (h("li", { onClick: () => this.onClick(item), class: classnames("tw-flex tw-w-full tw-cursor-pointer tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-font-medium tw-text-slate-700 hover:tw-bg-blue-100", {
|
|
209
|
+
"tw-bg-primary-200": ((_a = this.value) === null || _a === void 0 ? void 0 : _a.key) == item.key,
|
|
210
|
+
}) }, h("span", null, " ", item.key), " - ", h("span", null, item.value)));
|
|
211
|
+
}))), h("bcm-linked", { id: this._id + "-input-dropdown-late-content", "target-id": this._id, trigger: "custom", placement: "right" }, h("div", { class: "tw-flex tw-h-fit tw-w-full !tw-min-w-[288px] tw-flex-col tw-items-start tw-gap-4 tw-rounded tw-p-4 tw-shadow-2" }, h("div", { class: "tw-flex tw-w-full tw-flex-col tw-items-start tw-justify-center tw-gap-3" }, h("header", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-between" }, h("div", { class: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-gap-2" }, h("bcm-icon", { class: "tw-text-size-4 tw-text-amber-600", icon: "fas fa-clock" }), h("bcm-label", { class: "!tw-mb-0", size: "large", value: "Minutes Late", required: true })), h("div", { class: " tw-flex tw-h-4 tw-w-4 tw-flex-row tw-items-center tw-justify-center", onClick: () => this.onCloseLateContent() }, h("bcm-icon", { class: "tw-text-size-4 tw-text-slate-600", icon: "fas fa-times" }))), h("bcm-input", { type: "number", "full-width": true, "no-caption": true, value: (_b = this.value) === null || _b === void 0 ? void 0 : _b.late, placeholder: "Enter Minus Late", required: true, "onBcm-change": (e) => (this.lateMinutes = +e.detail) })), h("section", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end" }, h("bcm-button", { size: "small", variant: "save", color: "blue", disabled: +lateMinutes < 1, onClick: () => this.onClickSave() }, " ", "Save", " "))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage })));
|
|
212
|
+
}
|
|
213
|
+
get el() { return this; }
|
|
214
|
+
static get style() { return inputDropdownCss; }
|
|
215
|
+
}, [0, "bcm-input-dropdown", {
|
|
216
|
+
"_id": [513, "id"],
|
|
217
|
+
"value": [1032],
|
|
218
|
+
"defaultValue": [1032, "default-value"],
|
|
219
|
+
"lateKey": [1025, "late-key"],
|
|
220
|
+
"maxCharacterLimit": [1026, "max-character-limit"],
|
|
221
|
+
"size": [1],
|
|
222
|
+
"label": [1],
|
|
223
|
+
"placeholder": [1],
|
|
224
|
+
"fullWidth": [516, "full-width"],
|
|
225
|
+
"disabled": [4],
|
|
226
|
+
"required": [4],
|
|
227
|
+
"readonly": [4],
|
|
228
|
+
"data": [16],
|
|
229
|
+
"caption": [1025],
|
|
230
|
+
"noCaption": [1028, "no-caption"],
|
|
231
|
+
"captionType": [1025, "caption-type"],
|
|
232
|
+
"captionError": [1025, "caption-error"],
|
|
233
|
+
"customErrorMessage": [1025, "custom-error-message"],
|
|
234
|
+
"invalid": [32],
|
|
235
|
+
"captionCache": [32],
|
|
236
|
+
"captionTypeCache": [32],
|
|
237
|
+
"activeSaveButton": [32],
|
|
238
|
+
"lateMinutes": [32],
|
|
239
|
+
"set": [64],
|
|
240
|
+
"get": [64],
|
|
241
|
+
"setClear": [64],
|
|
242
|
+
"resetCaption": [64]
|
|
243
|
+
}, [[6, "click", "clickListener"]]]);
|
|
244
|
+
function defineCustomElement$1() {
|
|
245
|
+
if (typeof customElements === "undefined") {
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
const components = ["bcm-input-dropdown", "bcm-button", "bcm-colorful", "bcm-icon", "bcm-input", "bcm-label", "bcm-linked", "bcm-tooltip"];
|
|
249
|
+
components.forEach(tagName => { switch (tagName) {
|
|
250
|
+
case "bcm-input-dropdown":
|
|
251
|
+
if (!customElements.get(tagName)) {
|
|
252
|
+
customElements.define(tagName, InputDropdown);
|
|
253
|
+
}
|
|
254
|
+
break;
|
|
255
|
+
case "bcm-button":
|
|
256
|
+
if (!customElements.get(tagName)) {
|
|
257
|
+
defineCustomElement$8();
|
|
258
|
+
}
|
|
259
|
+
break;
|
|
260
|
+
case "bcm-colorful":
|
|
261
|
+
if (!customElements.get(tagName)) {
|
|
262
|
+
defineCustomElement$7();
|
|
263
|
+
}
|
|
264
|
+
break;
|
|
265
|
+
case "bcm-icon":
|
|
266
|
+
if (!customElements.get(tagName)) {
|
|
267
|
+
defineCustomElement$6();
|
|
268
|
+
}
|
|
269
|
+
break;
|
|
270
|
+
case "bcm-input":
|
|
271
|
+
if (!customElements.get(tagName)) {
|
|
272
|
+
defineCustomElement$5();
|
|
273
|
+
}
|
|
274
|
+
break;
|
|
275
|
+
case "bcm-label":
|
|
276
|
+
if (!customElements.get(tagName)) {
|
|
277
|
+
defineCustomElement$4();
|
|
278
|
+
}
|
|
279
|
+
break;
|
|
280
|
+
case "bcm-linked":
|
|
281
|
+
if (!customElements.get(tagName)) {
|
|
282
|
+
defineCustomElement$3();
|
|
283
|
+
}
|
|
284
|
+
break;
|
|
285
|
+
case "bcm-tooltip":
|
|
286
|
+
if (!customElements.get(tagName)) {
|
|
287
|
+
defineCustomElement$2();
|
|
288
|
+
}
|
|
289
|
+
break;
|
|
290
|
+
} });
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
const BcmInputDropdown = InputDropdown;
|
|
294
|
+
const defineCustomElement = defineCustomElement$1;
|
|
295
|
+
|
|
296
|
+
export { BcmInputDropdown, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmRcPicker extends Components.BcmRcPicker, HTMLElement {}
|
|
4
|
+
export const BcmRcPicker: {
|
|
5
|
+
prototype: BcmRcPicker;
|
|
6
|
+
new (): BcmRcPicker;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { B as BcmRcPicker$1, d as defineCustomElement$1 } from './rc-picker.js';
|
|
6
|
+
|
|
7
|
+
const BcmRcPicker = BcmRcPicker$1;
|
|
8
|
+
const defineCustomElement = defineCustomElement$1;
|
|
9
|
+
|
|
10
|
+
export { BcmRcPicker, defineCustomElement };
|