bromcom-ui 2.9.0-rc.7 → 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-d030cf23.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-a0dece18.entry.js → p-041d35e1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-36daa24a.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-13c84181.entry.js +5 -0
- package/dist/bromcom-ui/p-14c7e2a8.js +297 -0
- package/dist/bromcom-ui/p-170cf07d.js +6 -0
- package/dist/bromcom-ui/{p-000b420c.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-877d7d32.entry.js → p-27089653.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4ed1f823.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-a5193cc3.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-bf59206d.entry.js → p-33cb3b7a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-376f2520.entry.js → p-3788e33d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7d69462f.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-0ec92a6b.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-539839b3.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-50a7dd08.js → p-477c5bae.js} +1 -1
- package/dist/bromcom-ui/{p-2fc584c4.js → p-4798d827.js} +1 -1
- package/dist/bromcom-ui/{p-f113c511.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-5a46ec8e.entry.js → p-55309a20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c115e8f7.entry.js → p-55b60edb.entry.js} +1 -1
- package/dist/bromcom-ui/p-5600c817.js +5 -0
- package/dist/bromcom-ui/{p-17622eb2.entry.js → p-620aa5b0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-96f68aca.entry.js → p-626c26aa.entry.js} +1 -1
- package/dist/bromcom-ui/p-62ea396b.entry.js +5 -0
- package/dist/bromcom-ui/{p-f34bd011.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-9e0d6a0a.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-a367da3b.entry.js → p-6cc47ae0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6c0807a4.entry.js → p-6f375d08.entry.js} +1 -1
- package/dist/bromcom-ui/{p-940dda87.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-06229e3f.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-89f86797.entry.js → p-7f22af84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fb1cb57d.js → p-81d6b4a9.js} +1 -1
- package/dist/bromcom-ui/{p-2d8e0eda.entry.js → p-81f7a8cf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8485a2f.entry.js → p-833b0234.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9635a90f.entry.js → p-875dcc4e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a860cff.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-a2e7ae97.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-7359e502.entry.js → p-a2f55c7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1d1d8a3d.entry.js → p-a3837b59.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2987a7b4.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-66712bb9.entry.js → p-c05f56ab.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cde20403.js → p-c0d7b05e.js} +1 -1
- package/dist/bromcom-ui/{p-26ef712b.entry.js → p-c5c61430.entry.js} +1 -1
- package/dist/bromcom-ui/p-c7757dd5.entry.js +5 -0
- package/dist/bromcom-ui/{p-2395d0c2.entry.js → p-c82fc2b1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-00fdf291.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-21676489.entry.js → p-d20f131e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-259dc75a.entry.js → p-d88bc175.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3ba3a354.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-68601d61.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 +27 -13
- 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-c6ed8219.js → generate-7e161828.js} +2 -2
- package/dist/cjs/{global-e45184f0.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-99396b47.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-08847f37.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-e137c8d6.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-de04912b.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-3414f192.js → stepper-states-2a864ea5.js} +3 -3
- package/dist/cjs/{string-helper-d681e5c7.js → string-helper-c432b17c.js} +2 -2
- package/dist/cjs/{validators-77b56203.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/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_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/datetime-picker.js +15 -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 +27 -13
- 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-f05c24f0.js → generate-903ca965.js} +2 -2
- package/dist/esm/{global-c0136d64.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-85f595d7.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-2f05d903.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-a66bec28.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-56c53e8e.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-a0e95cc8.js → stepper-states-372c3c9c.js} +3 -3
- package/dist/esm/{string-helper-6bd24967.js → string-helper-4a28f775.js} +2 -2
- package/dist/esm/{validators-f99b9189.js → validators-c8f34de9.js} +1 -1
- package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +54 -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 +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-0c43313a.entry.js +0 -5
- package/dist/bromcom-ui/p-15758356.entry.js +0 -5
- package/dist/bromcom-ui/p-18e7852c.entry.js +0 -5
- package/dist/bromcom-ui/p-1eabd5dc.js +0 -10
- package/dist/bromcom-ui/p-2c6d6b81.entry.js +0 -5
- package/dist/bromcom-ui/p-36febf51.entry.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-a56e8c98.js +0 -5
- package/dist/bromcom-ui/p-aa0eca7a.entry.js +0 -13
- package/dist/bromcom-ui/p-c0a68c3a.js +0 -5
- package/dist/bromcom-ui/p-c49d038e.js +0 -5
- package/dist/bromcom-ui/p-ce8592a0.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-d673d273.entry.js +0 -5
- package/dist/bromcom-ui/p-f2386dd2.entry.js +0 -5
- package/dist/bromcom-ui/p-fa7dc5ae.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,664 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Generate, StringHelper } from "@bcm/helpers";
|
|
6
|
+
import { Bcm } from "@bcm/model";
|
|
7
|
+
import { CaptionTemplate } from "@bcm/template";
|
|
8
|
+
import { pluralize } from "@bcm/utils";
|
|
9
|
+
import { Host, h } from "@stencil/core";
|
|
10
|
+
import cs from "classnames";
|
|
11
|
+
class InputDropdownData {
|
|
12
|
+
}
|
|
13
|
+
export class InputDropdown {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.handleInput = e => {
|
|
16
|
+
var _a, _b, _c, _d;
|
|
17
|
+
const value = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value;
|
|
18
|
+
const maxLengthExceeded = (value === null || value === void 0 ? void 0 : value.length) >= +this.maxCharacterLimit;
|
|
19
|
+
if (maxLengthExceeded) {
|
|
20
|
+
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(); });
|
|
21
|
+
if (item) {
|
|
22
|
+
this.value = item;
|
|
23
|
+
this._input.style.color = item.color;
|
|
24
|
+
this.invalid = false;
|
|
25
|
+
this.isLate() ? (_c = this.lateContent) === null || _c === void 0 ? void 0 : _c.show() : (_d = this.content) === null || _d === void 0 ? void 0 : _d.hide();
|
|
26
|
+
this.onChangeDropdown.emit(item);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.value = e.target.value;
|
|
30
|
+
this.content && this.content.show();
|
|
31
|
+
this._input.style.color = "#ff0000";
|
|
32
|
+
this.invalid = true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.onCloseMainContent();
|
|
37
|
+
this.value = null;
|
|
38
|
+
this._input.style.color = "#000000";
|
|
39
|
+
this.invalid = false;
|
|
40
|
+
}
|
|
41
|
+
this.change.emit();
|
|
42
|
+
};
|
|
43
|
+
this.handleKeyPress = e => {
|
|
44
|
+
var _a, _b;
|
|
45
|
+
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) {
|
|
46
|
+
e.preventDefault();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
this.onClickSave = () => {
|
|
51
|
+
const lateMin = +this.lateMinutes;
|
|
52
|
+
if (lateMin > 0) {
|
|
53
|
+
this.value = Object.assign(Object.assign({}, this.value), { late: lateMin });
|
|
54
|
+
this.onChangeDropdown.emit(this.value);
|
|
55
|
+
this.onCloseLateContent();
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
this._id = Generate.UID();
|
|
59
|
+
this.value = undefined;
|
|
60
|
+
this.defaultValue = undefined;
|
|
61
|
+
this.lateKey = "L";
|
|
62
|
+
this.maxCharacterLimit = 1;
|
|
63
|
+
this.size = Bcm.Size.medium;
|
|
64
|
+
this.label = undefined;
|
|
65
|
+
this.placeholder = undefined;
|
|
66
|
+
this.fullWidth = false;
|
|
67
|
+
this.disabled = false;
|
|
68
|
+
this.required = false;
|
|
69
|
+
this.readonly = false;
|
|
70
|
+
this.data = [
|
|
71
|
+
{ key: "/", value: "Present", color: "#00b050" },
|
|
72
|
+
{ key: "B", value: "Educated off site (NOT dual registration)", color: "#ffc000" },
|
|
73
|
+
{ key: "C", value: "Other authorised circumstance", color: "#ff0000" },
|
|
74
|
+
{ key: "D", value: "Dual registration", color: "#0070c0" },
|
|
75
|
+
{ key: "E", value: "Excluded", color: "#ff0000" },
|
|
76
|
+
{ key: "F", value: "Free Study", color: "#ffc000" },
|
|
77
|
+
{ key: "I", value: "Illness", color: "#ff0000" },
|
|
78
|
+
{ key: "J", value: "Interview", color: "#ffc000" },
|
|
79
|
+
{ key: "L", value: "Late before reg. closed", color: "#ffc000" },
|
|
80
|
+
];
|
|
81
|
+
this.caption = undefined;
|
|
82
|
+
this.noCaption = false;
|
|
83
|
+
this.captionType = Bcm.Status.default;
|
|
84
|
+
this.captionError = undefined;
|
|
85
|
+
this.customErrorMessage = undefined;
|
|
86
|
+
this.invalid = false;
|
|
87
|
+
this.captionCache = undefined;
|
|
88
|
+
this.captionTypeCache = undefined;
|
|
89
|
+
this.activeSaveButton = true;
|
|
90
|
+
this.lateMinutes = 0;
|
|
91
|
+
}
|
|
92
|
+
get content() {
|
|
93
|
+
return document.getElementById(this._id + "-input-dropdown-main-content");
|
|
94
|
+
}
|
|
95
|
+
get lateContent() {
|
|
96
|
+
return document.getElementById(this._id + "-input-dropdown-late-content");
|
|
97
|
+
}
|
|
98
|
+
get isLate() {
|
|
99
|
+
return () => { var _a; return StringHelper.lowercase((_a = this.value) === null || _a === void 0 ? void 0 : _a.key) == StringHelper.lowercase(this.lateKey); };
|
|
100
|
+
}
|
|
101
|
+
onCloseMainContent() {
|
|
102
|
+
this.content && this.content.hide();
|
|
103
|
+
}
|
|
104
|
+
onCloseLateContent() {
|
|
105
|
+
this.lateContent && this.lateContent.hide();
|
|
106
|
+
}
|
|
107
|
+
connectedCallback() {
|
|
108
|
+
this.captionCache = this.caption;
|
|
109
|
+
this.captionTypeCache = this.captionType;
|
|
110
|
+
}
|
|
111
|
+
componentWillLoad() {
|
|
112
|
+
if (this.defaultValue) {
|
|
113
|
+
this.value = {
|
|
114
|
+
key: this.defaultValue,
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
async set(data) {
|
|
119
|
+
this.data = typeof data === "string" ? JSON.parse(data) : data;
|
|
120
|
+
}
|
|
121
|
+
async get() {
|
|
122
|
+
return this.value;
|
|
123
|
+
}
|
|
124
|
+
async setClear() {
|
|
125
|
+
this.value = "";
|
|
126
|
+
return Promise.resolve();
|
|
127
|
+
}
|
|
128
|
+
async resetCaption() {
|
|
129
|
+
this.caption = this.captionCache;
|
|
130
|
+
this.captionType = this.captionTypeCache;
|
|
131
|
+
this.captionError = null;
|
|
132
|
+
this.invalid = false;
|
|
133
|
+
return Promise.resolve();
|
|
134
|
+
}
|
|
135
|
+
clickListener(e) {
|
|
136
|
+
var _a;
|
|
137
|
+
const isSelf = Generate.findEventPath(e, this.el);
|
|
138
|
+
const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
|
|
139
|
+
if (!isSelf && !isLinked && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.key.toLowerCase()) != this.lateKey.toLowerCase()) {
|
|
140
|
+
this.onCloseLateContent();
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
onClick(item) {
|
|
145
|
+
var _a, _b;
|
|
146
|
+
this.value = item;
|
|
147
|
+
this.invalid = false;
|
|
148
|
+
this._input.style.color = item.color;
|
|
149
|
+
this.onCloseMainContent();
|
|
150
|
+
this.isLate() ? (_a = this.lateContent) === null || _a === void 0 ? void 0 : _a.show() : (_b = this.lateContent) === null || _b === void 0 ? void 0 : _b.hide();
|
|
151
|
+
this.onChangeDropdown.emit(item);
|
|
152
|
+
this.change.emit();
|
|
153
|
+
}
|
|
154
|
+
render() {
|
|
155
|
+
var _a, _b;
|
|
156
|
+
const { label, size, noCaption, captionType, captionError, caption, required, invalid, disabled, readonly, value, fullWidth, lateMinutes } = this;
|
|
157
|
+
const color = invalid || captionType === "error" ? "red" : "primary";
|
|
158
|
+
const theme = Generate.getTwColor({ color });
|
|
159
|
+
const iconSizes = {
|
|
160
|
+
[Bcm.Size.small]: "tw-text-2",
|
|
161
|
+
[Bcm.Size.medium]: "tw-text-3 ",
|
|
162
|
+
[Bcm.Size.large]: "tw-text-4 ",
|
|
163
|
+
}[size];
|
|
164
|
+
const fontSizes = {
|
|
165
|
+
[Bcm.Size.small]: "tw-text-4",
|
|
166
|
+
[Bcm.Size.medium]: "tw-text-5",
|
|
167
|
+
[Bcm.Size.large]: "tw-text-6",
|
|
168
|
+
}[size];
|
|
169
|
+
const buttonSizes = {
|
|
170
|
+
[Bcm.Size.small]: Bcm.Size.xsmall,
|
|
171
|
+
[Bcm.Size.medium]: Bcm.Size.small,
|
|
172
|
+
[Bcm.Size.large]: Bcm.Size.medium,
|
|
173
|
+
}[size];
|
|
174
|
+
const isError = invalid || captionType === "error";
|
|
175
|
+
return (h(Host, { class: cs("bcm-ui-element bcm-ui-inputs bcm-input-dropdown tw-flex tw-flex-col tw-items-start tw-justify-center tw-gap-1", {
|
|
176
|
+
"!tw-w-[86px]": size == Bcm.Size.small,
|
|
177
|
+
"!tw-w-[92px]": size == Bcm.Size.medium,
|
|
178
|
+
"tw-w-[108px]": !fullWidth,
|
|
179
|
+
"!tw-w-full": fullWidth,
|
|
180
|
+
}) }, 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: cs("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", {
|
|
181
|
+
"tw-h-6 tw-py-0": size == Bcm.Size.small,
|
|
182
|
+
"tw-h-7 tw-py-0.5": size == Bcm.Size.medium,
|
|
183
|
+
"tw-h-10 tw-py-1 tw-pr-[2px]": size == Bcm.Size.large,
|
|
184
|
+
"hover:tw-border-default-600 hover:tw-bg-default-50": !disabled && !readonly && !isError,
|
|
185
|
+
"tw-outline-none focus:tw-ring-2 focus:tw-ring-default-400": !disabled && !readonly && !isError,
|
|
186
|
+
}) }, 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: cs("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: cs("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 :
|
|
187
|
+
_a.map(item => {
|
|
188
|
+
var _a;
|
|
189
|
+
return (h("li", { onClick: () => this.onClick(item), class: cs("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", {
|
|
190
|
+
"tw-bg-primary-200": ((_a = this.value) === null || _a === void 0 ? void 0 : _a.key) == item.key,
|
|
191
|
+
}) }, h("span", null, " ", item.key), " - ", h("span", null, item.value)));
|
|
192
|
+
}))), 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 })));
|
|
193
|
+
}
|
|
194
|
+
static get is() { return "bcm-input-dropdown"; }
|
|
195
|
+
static get originalStyleUrls() {
|
|
196
|
+
return {
|
|
197
|
+
"$": ["input-dropdown.scss"]
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
static get styleUrls() {
|
|
201
|
+
return {
|
|
202
|
+
"$": ["input-dropdown.css"]
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
static get properties() {
|
|
206
|
+
return {
|
|
207
|
+
"_id": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"mutable": false,
|
|
210
|
+
"complexType": {
|
|
211
|
+
"original": "string",
|
|
212
|
+
"resolved": "string",
|
|
213
|
+
"references": {}
|
|
214
|
+
},
|
|
215
|
+
"required": false,
|
|
216
|
+
"optional": false,
|
|
217
|
+
"docs": {
|
|
218
|
+
"tags": [],
|
|
219
|
+
"text": ""
|
|
220
|
+
},
|
|
221
|
+
"attribute": "id",
|
|
222
|
+
"reflect": true,
|
|
223
|
+
"defaultValue": "Generate.UID()"
|
|
224
|
+
},
|
|
225
|
+
"value": {
|
|
226
|
+
"type": "any",
|
|
227
|
+
"mutable": true,
|
|
228
|
+
"complexType": {
|
|
229
|
+
"original": "any",
|
|
230
|
+
"resolved": "any",
|
|
231
|
+
"references": {}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": false,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": ""
|
|
238
|
+
},
|
|
239
|
+
"attribute": "value",
|
|
240
|
+
"reflect": false
|
|
241
|
+
},
|
|
242
|
+
"defaultValue": {
|
|
243
|
+
"type": "any",
|
|
244
|
+
"mutable": true,
|
|
245
|
+
"complexType": {
|
|
246
|
+
"original": "any",
|
|
247
|
+
"resolved": "any",
|
|
248
|
+
"references": {}
|
|
249
|
+
},
|
|
250
|
+
"required": false,
|
|
251
|
+
"optional": false,
|
|
252
|
+
"docs": {
|
|
253
|
+
"tags": [],
|
|
254
|
+
"text": ""
|
|
255
|
+
},
|
|
256
|
+
"attribute": "default-value",
|
|
257
|
+
"reflect": false
|
|
258
|
+
},
|
|
259
|
+
"lateKey": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"mutable": true,
|
|
262
|
+
"complexType": {
|
|
263
|
+
"original": "string",
|
|
264
|
+
"resolved": "string",
|
|
265
|
+
"references": {}
|
|
266
|
+
},
|
|
267
|
+
"required": false,
|
|
268
|
+
"optional": false,
|
|
269
|
+
"docs": {
|
|
270
|
+
"tags": [],
|
|
271
|
+
"text": ""
|
|
272
|
+
},
|
|
273
|
+
"attribute": "late-key",
|
|
274
|
+
"reflect": false,
|
|
275
|
+
"defaultValue": "\"L\""
|
|
276
|
+
},
|
|
277
|
+
"maxCharacterLimit": {
|
|
278
|
+
"type": "number",
|
|
279
|
+
"mutable": true,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "number",
|
|
282
|
+
"resolved": "number",
|
|
283
|
+
"references": {}
|
|
284
|
+
},
|
|
285
|
+
"required": false,
|
|
286
|
+
"optional": false,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": ""
|
|
290
|
+
},
|
|
291
|
+
"attribute": "max-character-limit",
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"defaultValue": "1"
|
|
294
|
+
},
|
|
295
|
+
"size": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"mutable": false,
|
|
298
|
+
"complexType": {
|
|
299
|
+
"original": "SizeTypes",
|
|
300
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
301
|
+
"references": {
|
|
302
|
+
"SizeTypes": {
|
|
303
|
+
"location": "import",
|
|
304
|
+
"path": "@bcm/model"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"required": false,
|
|
309
|
+
"optional": false,
|
|
310
|
+
"docs": {
|
|
311
|
+
"tags": [],
|
|
312
|
+
"text": ""
|
|
313
|
+
},
|
|
314
|
+
"attribute": "size",
|
|
315
|
+
"reflect": false,
|
|
316
|
+
"defaultValue": "Bcm.Size.medium"
|
|
317
|
+
},
|
|
318
|
+
"label": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"mutable": false,
|
|
321
|
+
"complexType": {
|
|
322
|
+
"original": "string",
|
|
323
|
+
"resolved": "string",
|
|
324
|
+
"references": {}
|
|
325
|
+
},
|
|
326
|
+
"required": false,
|
|
327
|
+
"optional": false,
|
|
328
|
+
"docs": {
|
|
329
|
+
"tags": [],
|
|
330
|
+
"text": ""
|
|
331
|
+
},
|
|
332
|
+
"attribute": "label",
|
|
333
|
+
"reflect": false
|
|
334
|
+
},
|
|
335
|
+
"placeholder": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"mutable": false,
|
|
338
|
+
"complexType": {
|
|
339
|
+
"original": "string",
|
|
340
|
+
"resolved": "string",
|
|
341
|
+
"references": {}
|
|
342
|
+
},
|
|
343
|
+
"required": false,
|
|
344
|
+
"optional": false,
|
|
345
|
+
"docs": {
|
|
346
|
+
"tags": [],
|
|
347
|
+
"text": ""
|
|
348
|
+
},
|
|
349
|
+
"attribute": "placeholder",
|
|
350
|
+
"reflect": false
|
|
351
|
+
},
|
|
352
|
+
"fullWidth": {
|
|
353
|
+
"type": "boolean",
|
|
354
|
+
"mutable": false,
|
|
355
|
+
"complexType": {
|
|
356
|
+
"original": "boolean",
|
|
357
|
+
"resolved": "boolean",
|
|
358
|
+
"references": {}
|
|
359
|
+
},
|
|
360
|
+
"required": false,
|
|
361
|
+
"optional": false,
|
|
362
|
+
"docs": {
|
|
363
|
+
"tags": [],
|
|
364
|
+
"text": ""
|
|
365
|
+
},
|
|
366
|
+
"attribute": "full-width",
|
|
367
|
+
"reflect": true,
|
|
368
|
+
"defaultValue": "false"
|
|
369
|
+
},
|
|
370
|
+
"disabled": {
|
|
371
|
+
"type": "boolean",
|
|
372
|
+
"mutable": false,
|
|
373
|
+
"complexType": {
|
|
374
|
+
"original": "boolean",
|
|
375
|
+
"resolved": "boolean",
|
|
376
|
+
"references": {}
|
|
377
|
+
},
|
|
378
|
+
"required": false,
|
|
379
|
+
"optional": false,
|
|
380
|
+
"docs": {
|
|
381
|
+
"tags": [],
|
|
382
|
+
"text": ""
|
|
383
|
+
},
|
|
384
|
+
"attribute": "disabled",
|
|
385
|
+
"reflect": false,
|
|
386
|
+
"defaultValue": "false"
|
|
387
|
+
},
|
|
388
|
+
"required": {
|
|
389
|
+
"type": "boolean",
|
|
390
|
+
"mutable": false,
|
|
391
|
+
"complexType": {
|
|
392
|
+
"original": "boolean",
|
|
393
|
+
"resolved": "boolean",
|
|
394
|
+
"references": {}
|
|
395
|
+
},
|
|
396
|
+
"required": false,
|
|
397
|
+
"optional": false,
|
|
398
|
+
"docs": {
|
|
399
|
+
"tags": [],
|
|
400
|
+
"text": ""
|
|
401
|
+
},
|
|
402
|
+
"attribute": "required",
|
|
403
|
+
"reflect": false,
|
|
404
|
+
"defaultValue": "false"
|
|
405
|
+
},
|
|
406
|
+
"readonly": {
|
|
407
|
+
"type": "boolean",
|
|
408
|
+
"mutable": false,
|
|
409
|
+
"complexType": {
|
|
410
|
+
"original": "boolean",
|
|
411
|
+
"resolved": "boolean",
|
|
412
|
+
"references": {}
|
|
413
|
+
},
|
|
414
|
+
"required": false,
|
|
415
|
+
"optional": false,
|
|
416
|
+
"docs": {
|
|
417
|
+
"tags": [],
|
|
418
|
+
"text": ""
|
|
419
|
+
},
|
|
420
|
+
"attribute": "readonly",
|
|
421
|
+
"reflect": false,
|
|
422
|
+
"defaultValue": "false"
|
|
423
|
+
},
|
|
424
|
+
"data": {
|
|
425
|
+
"type": "unknown",
|
|
426
|
+
"mutable": false,
|
|
427
|
+
"complexType": {
|
|
428
|
+
"original": "InputDropdownData[]",
|
|
429
|
+
"resolved": "InputDropdownData[]",
|
|
430
|
+
"references": {
|
|
431
|
+
"InputDropdownData": {
|
|
432
|
+
"location": "global"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"required": false,
|
|
437
|
+
"optional": false,
|
|
438
|
+
"docs": {
|
|
439
|
+
"tags": [],
|
|
440
|
+
"text": ""
|
|
441
|
+
},
|
|
442
|
+
"defaultValue": "[\n { key: \"/\", value: \"Present\", color: \"#00b050\" },\n { key: \"B\", value: \"Educated off site (NOT dual registration)\", color: \"#ffc000\" },\n { key: \"C\", value: \"Other authorised circumstance\", color: \"#ff0000\" },\n { key: \"D\", value: \"Dual registration\", color: \"#0070c0\" },\n { key: \"E\", value: \"Excluded\", color: \"#ff0000\" },\n { key: \"F\", value: \"Free Study\", color: \"#ffc000\" },\n { key: \"I\", value: \"Illness\", color: \"#ff0000\" },\n { key: \"J\", value: \"Interview\", color: \"#ffc000\" },\n { key: \"L\", value: \"Late before reg. closed\", color: \"#ffc000\" },\n ]"
|
|
443
|
+
},
|
|
444
|
+
"caption": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"mutable": true,
|
|
447
|
+
"complexType": {
|
|
448
|
+
"original": "string",
|
|
449
|
+
"resolved": "string",
|
|
450
|
+
"references": {}
|
|
451
|
+
},
|
|
452
|
+
"required": false,
|
|
453
|
+
"optional": false,
|
|
454
|
+
"docs": {
|
|
455
|
+
"tags": [],
|
|
456
|
+
"text": ""
|
|
457
|
+
},
|
|
458
|
+
"attribute": "caption",
|
|
459
|
+
"reflect": false
|
|
460
|
+
},
|
|
461
|
+
"noCaption": {
|
|
462
|
+
"type": "boolean",
|
|
463
|
+
"mutable": true,
|
|
464
|
+
"complexType": {
|
|
465
|
+
"original": "boolean",
|
|
466
|
+
"resolved": "boolean",
|
|
467
|
+
"references": {}
|
|
468
|
+
},
|
|
469
|
+
"required": false,
|
|
470
|
+
"optional": false,
|
|
471
|
+
"docs": {
|
|
472
|
+
"tags": [],
|
|
473
|
+
"text": ""
|
|
474
|
+
},
|
|
475
|
+
"attribute": "no-caption",
|
|
476
|
+
"reflect": false,
|
|
477
|
+
"defaultValue": "false"
|
|
478
|
+
},
|
|
479
|
+
"captionType": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"mutable": true,
|
|
482
|
+
"complexType": {
|
|
483
|
+
"original": "StatusTypes",
|
|
484
|
+
"resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
485
|
+
"references": {
|
|
486
|
+
"StatusTypes": {
|
|
487
|
+
"location": "import",
|
|
488
|
+
"path": "@bcm/model"
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"required": false,
|
|
493
|
+
"optional": false,
|
|
494
|
+
"docs": {
|
|
495
|
+
"tags": [],
|
|
496
|
+
"text": ""
|
|
497
|
+
},
|
|
498
|
+
"attribute": "caption-type",
|
|
499
|
+
"reflect": false,
|
|
500
|
+
"defaultValue": "Bcm.Status.default"
|
|
501
|
+
},
|
|
502
|
+
"captionError": {
|
|
503
|
+
"type": "string",
|
|
504
|
+
"mutable": true,
|
|
505
|
+
"complexType": {
|
|
506
|
+
"original": "string",
|
|
507
|
+
"resolved": "string",
|
|
508
|
+
"references": {}
|
|
509
|
+
},
|
|
510
|
+
"required": false,
|
|
511
|
+
"optional": false,
|
|
512
|
+
"docs": {
|
|
513
|
+
"tags": [],
|
|
514
|
+
"text": ""
|
|
515
|
+
},
|
|
516
|
+
"attribute": "caption-error",
|
|
517
|
+
"reflect": false
|
|
518
|
+
},
|
|
519
|
+
"customErrorMessage": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"mutable": true,
|
|
522
|
+
"complexType": {
|
|
523
|
+
"original": "string",
|
|
524
|
+
"resolved": "string",
|
|
525
|
+
"references": {}
|
|
526
|
+
},
|
|
527
|
+
"required": false,
|
|
528
|
+
"optional": false,
|
|
529
|
+
"docs": {
|
|
530
|
+
"tags": [],
|
|
531
|
+
"text": ""
|
|
532
|
+
},
|
|
533
|
+
"attribute": "custom-error-message",
|
|
534
|
+
"reflect": false
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
static get states() {
|
|
539
|
+
return {
|
|
540
|
+
"invalid": {},
|
|
541
|
+
"captionCache": {},
|
|
542
|
+
"captionTypeCache": {},
|
|
543
|
+
"activeSaveButton": {},
|
|
544
|
+
"lateMinutes": {}
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
static get events() {
|
|
548
|
+
return [{
|
|
549
|
+
"method": "change",
|
|
550
|
+
"name": "bcm-change",
|
|
551
|
+
"bubbles": true,
|
|
552
|
+
"cancelable": true,
|
|
553
|
+
"composed": true,
|
|
554
|
+
"docs": {
|
|
555
|
+
"tags": [],
|
|
556
|
+
"text": ""
|
|
557
|
+
},
|
|
558
|
+
"complexType": {
|
|
559
|
+
"original": "any",
|
|
560
|
+
"resolved": "any",
|
|
561
|
+
"references": {}
|
|
562
|
+
}
|
|
563
|
+
}, {
|
|
564
|
+
"method": "onChangeDropdown",
|
|
565
|
+
"name": "bcm-input-dropdown-change",
|
|
566
|
+
"bubbles": true,
|
|
567
|
+
"cancelable": true,
|
|
568
|
+
"composed": true,
|
|
569
|
+
"docs": {
|
|
570
|
+
"tags": [],
|
|
571
|
+
"text": ""
|
|
572
|
+
},
|
|
573
|
+
"complexType": {
|
|
574
|
+
"original": "any",
|
|
575
|
+
"resolved": "any",
|
|
576
|
+
"references": {}
|
|
577
|
+
}
|
|
578
|
+
}];
|
|
579
|
+
}
|
|
580
|
+
static get methods() {
|
|
581
|
+
return {
|
|
582
|
+
"set": {
|
|
583
|
+
"complexType": {
|
|
584
|
+
"signature": "(data: InputDropdownData[]) => Promise<void>",
|
|
585
|
+
"parameters": [{
|
|
586
|
+
"tags": [],
|
|
587
|
+
"text": ""
|
|
588
|
+
}],
|
|
589
|
+
"references": {
|
|
590
|
+
"Promise": {
|
|
591
|
+
"location": "global"
|
|
592
|
+
},
|
|
593
|
+
"InputDropdownData": {
|
|
594
|
+
"location": "global"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"return": "Promise<void>"
|
|
598
|
+
},
|
|
599
|
+
"docs": {
|
|
600
|
+
"text": "",
|
|
601
|
+
"tags": []
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"get": {
|
|
605
|
+
"complexType": {
|
|
606
|
+
"signature": "() => Promise<any>",
|
|
607
|
+
"parameters": [],
|
|
608
|
+
"references": {
|
|
609
|
+
"Promise": {
|
|
610
|
+
"location": "global"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"return": "Promise<any>"
|
|
614
|
+
},
|
|
615
|
+
"docs": {
|
|
616
|
+
"text": "",
|
|
617
|
+
"tags": []
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"setClear": {
|
|
621
|
+
"complexType": {
|
|
622
|
+
"signature": "() => Promise<void>",
|
|
623
|
+
"parameters": [],
|
|
624
|
+
"references": {
|
|
625
|
+
"Promise": {
|
|
626
|
+
"location": "global"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"return": "Promise<void>"
|
|
630
|
+
},
|
|
631
|
+
"docs": {
|
|
632
|
+
"text": "",
|
|
633
|
+
"tags": []
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"resetCaption": {
|
|
637
|
+
"complexType": {
|
|
638
|
+
"signature": "() => Promise<void>",
|
|
639
|
+
"parameters": [],
|
|
640
|
+
"references": {
|
|
641
|
+
"Promise": {
|
|
642
|
+
"location": "global"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"return": "Promise<void>"
|
|
646
|
+
},
|
|
647
|
+
"docs": {
|
|
648
|
+
"text": "",
|
|
649
|
+
"tags": []
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
static get elementRef() { return "el"; }
|
|
655
|
+
static get listeners() {
|
|
656
|
+
return [{
|
|
657
|
+
"name": "click",
|
|
658
|
+
"method": "clickListener",
|
|
659
|
+
"target": "document",
|
|
660
|
+
"capture": true,
|
|
661
|
+
"passive": false
|
|
662
|
+
}];
|
|
663
|
+
}
|
|
664
|
+
}
|
|
@@ -143,7 +143,7 @@ export class BcmLinked {
|
|
|
143
143
|
clickListener(e) {
|
|
144
144
|
if (!this.target())
|
|
145
145
|
return;
|
|
146
|
-
if (this.trigger === Bcm.TriggerType.hover)
|
|
146
|
+
if (this.trigger === Bcm.TriggerType.hover || this.trigger === Bcm.TriggerType.custom)
|
|
147
147
|
return;
|
|
148
148
|
const isTarget = Generate.findEventPath(e, this.target());
|
|
149
149
|
const isSelf = Generate.findEventPath(e, this.el);
|
|
@@ -246,7 +246,7 @@ export class BcmLinked {
|
|
|
246
246
|
"mutable": false,
|
|
247
247
|
"complexType": {
|
|
248
248
|
"original": "TrigglerTypes",
|
|
249
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
249
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
250
250
|
"references": {
|
|
251
251
|
"TrigglerTypes": {
|
|
252
252
|
"location": "import",
|
|
@@ -210,7 +210,7 @@ export class BcmPopconfirm {
|
|
|
210
210
|
"mutable": true,
|
|
211
211
|
"complexType": {
|
|
212
212
|
"original": "TrigglerTypes",
|
|
213
|
-
"resolved": "\"click\" | \"focus\" | \"hover\"",
|
|
213
|
+
"resolved": "\"click\" | \"custom\" | \"focus\" | \"hover\"",
|
|
214
214
|
"references": {
|
|
215
215
|
"TrigglerTypes": {
|
|
216
216
|
"location": "import",
|