bromcom-ui 2.11.1-rc.2 → 2.11.1-rc.4
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.esm.js +1 -1
- package/dist/bromcom-ui/{p-12f32499.entry.js → p-01ee1dd7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8ac03ec4.entry.js → p-0b7da7e9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dc415fb4.entry.js → p-0ec94937.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4cfcc5da.entry.js → p-13f17585.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a92f2bf.js → p-1cac8ccc.js} +1 -1
- package/dist/bromcom-ui/{p-81e1f27b.entry.js → p-20e3612c.entry.js} +1 -1
- package/dist/bromcom-ui/p-24dbee53.js +5 -0
- package/dist/bromcom-ui/{p-3a5fe76a.entry.js → p-2cd5679e.entry.js} +1 -1
- package/dist/bromcom-ui/p-3089e9c7.js +1 -1
- package/dist/bromcom-ui/{p-8a608c7c.entry.js → p-3b72a082.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d9d401d5.entry.js → p-3c54d2cb.entry.js} +1 -1
- package/dist/bromcom-ui/p-3d54d452.entry.js +5 -0
- package/dist/bromcom-ui/{p-750de345.entry.js → p-48300ee3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df95902c.entry.js → p-485a89a0.entry.js} +1 -1
- package/dist/bromcom-ui/p-48d59736.entry.js +5 -0
- package/dist/bromcom-ui/p-4d8067b9.entry.js +5 -0
- package/dist/bromcom-ui/{p-ee7b1736.entry.js → p-4eaebf4c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-40d8289e.entry.js → p-4fa1fbbb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9fe98e8c.entry.js → p-5199f537.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2cbd5b47.entry.js → p-55463e1e.entry.js} +1 -1
- package/dist/bromcom-ui/p-56385a5a.entry.js +5 -0
- package/dist/bromcom-ui/{p-d69f5a56.entry.js → p-588a3308.entry.js} +1 -1
- package/dist/bromcom-ui/p-58b266db.entry.js +5 -0
- package/dist/bromcom-ui/{p-39db4427.entry.js → p-5fc5d112.entry.js} +1 -1
- package/dist/bromcom-ui/{p-caf0859a.entry.js → p-6acbf272.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e4c7506.entry.js → p-6b1f78ba.entry.js} +1 -1
- package/dist/bromcom-ui/p-6b5ed4d8.js +1 -1
- package/dist/bromcom-ui/{p-d14727a4.entry.js → p-6cab6add.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b056e342.entry.js → p-6ce60388.entry.js} +1 -1
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/{p-2515e5be.entry.js → p-6f3efe64.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d13e6de6.entry.js → p-73ab46f4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4ed91119.entry.js → p-75e272cd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-55867d69.entry.js → p-76644372.entry.js} +1 -1
- package/dist/bromcom-ui/p-7a552679.entry.js +5 -0
- package/dist/bromcom-ui/{p-df540a59.entry.js → p-7b2eedee.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3bdc4947.js → p-82628edc.js} +1 -1
- package/dist/bromcom-ui/{p-b4198dfb.entry.js → p-8f7f2584.entry.js} +1 -1
- package/dist/bromcom-ui/p-90afef52.entry.js +5 -0
- package/dist/bromcom-ui/{p-f3f8bb89.entry.js → p-97e20839.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2fe34a57.entry.js → p-981f0059.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6c18b86f.entry.js → p-a2476a2e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-93a7e457.entry.js → p-a2cf0b20.entry.js} +1 -1
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/{p-a64f1d51.entry.js → p-a91ec696.entry.js} +1 -1
- package/dist/bromcom-ui/p-ac5fa5d7.entry.js +5 -0
- package/dist/bromcom-ui/{p-f40fd5af.entry.js → p-adacab59.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f37ee39e.js → p-b2b711af.js} +1 -1
- package/dist/bromcom-ui/{p-e5a80c56.entry.js → p-b2c37ec3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-42ba988f.entry.js → p-b3d1d0bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d51d2964.entry.js → p-b7999ba9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a2c9a0f5.entry.js → p-b9249ee3.entry.js} +1 -1
- package/dist/bromcom-ui/p-bcd34205.entry.js +5 -0
- package/dist/bromcom-ui/p-bd771c5d.js +5 -0
- package/dist/bromcom-ui/{p-ce103c35.js → p-c5a2a4d3.js} +1 -1
- package/dist/bromcom-ui/{p-a09f5f43.entry.js → p-c5ec482d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c0890068.entry.js → p-cae42fa5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-16e3d660.entry.js → p-cbd18e81.entry.js} +1 -1
- package/dist/bromcom-ui/{p-04b8a077.entry.js → p-cc8316af.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5c611d7.js → p-cca60157.js} +1 -1
- package/dist/bromcom-ui/{p-0514844c.entry.js → p-cf29d3a3.entry.js} +1 -1
- package/dist/bromcom-ui/p-cfabc98e.js +5 -0
- package/dist/bromcom-ui/{p-9a98e6c5.entry.js → p-d3ae97d2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3f88ab5f.entry.js → p-d5beae62.entry.js} +1 -1
- package/dist/bromcom-ui/{p-88c6aac9.entry.js → p-d7d57996.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f1955e21.entry.js → p-d8a6eb19.entry.js} +1 -1
- package/dist/bromcom-ui/{p-53915d39.entry.js → p-e1b92293.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bad42eed.js → p-e1c55578.js} +1 -1
- package/dist/bromcom-ui/{p-de2c318a.js → p-e379c615.js} +1 -1
- package/dist/bromcom-ui/{p-43b0dae6.entry.js → p-e7dd2f8a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a1d6e9a2.entry.js → p-eb982b4b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9a8100bc.entry.js → p-ebd6b7af.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c8252ca.entry.js → p-efa62773.entry.js} +1 -1
- package/dist/bromcom-ui/{p-addf9034.entry.js → p-f07dc559.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3787f0ed.entry.js → p-f0bb5539.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1ff3e125.entry.js → p-f41cdd9b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-91c17c9b.entry.js → p-f6960d79.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dbea0599.entry.js → p-fb529ec0.entry.js} +1 -1
- package/dist/cjs/{bcm-1d1fcf21.js → bcm-489c9b1a.js} +4 -4
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +330 -0
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +7 -7
- package/dist/cjs/{bcm-attendance-actions_2.cjs.entry.js → bcm-button_2.cjs.entry.js} +56 -327
- package/dist/cjs/bcm-caption.cjs.entry.js +9 -9
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +7 -7
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -6
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +11 -11
- package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +12 -12
- package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-date.cjs.entry.js +9 -9
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +9 -9
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +8 -8
- package/dist/cjs/bcm-dropdown.cjs.entry.js +7 -7
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-form.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/bcm-input_2.cjs.entry.js +16 -16
- package/dist/cjs/bcm-item.cjs.entry.js +4 -4
- package/dist/cjs/bcm-items.cjs.entry.js +4 -4
- package/dist/cjs/bcm-label_2.cjs.entry.js +13 -13
- package/dist/cjs/bcm-link.cjs.entry.js +3 -3
- package/dist/cjs/bcm-list_3.cjs.entry.js +41 -31
- package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
- package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
- package/dist/cjs/bcm-number-input.cjs.entry.js +9 -9
- package/dist/cjs/bcm-old-input.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
- package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
- package/dist/cjs/bcm-radio-group.cjs.entry.js +11 -11
- package/dist/cjs/bcm-radio.cjs.entry.js +13 -13
- package/dist/cjs/bcm-range.cjs.entry.js +6 -6
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-shortcut.cjs.entry.js +10 -10
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +9 -9
- package/dist/cjs/bcm-switch.cjs.entry.js +10 -10
- package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -7
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +10 -10
- package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
- package/dist/cjs/bcm-text.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{caption-template-6f535b93.js → caption-template-086e9cac.js} +1 -1
- package/dist/cjs/{floating-ui-5b396838.js → floating-ui-21890d11.js} +2 -2
- package/dist/cjs/{generate-5b01a87e.js → generate-6049d4ea.js} +1 -1
- package/dist/cjs/{global-4156cfe6.js → global-3da2bb83.js} +1 -1
- package/dist/cjs/{input-template-06b90366.js → input-template-124db066.js} +6 -6
- package/dist/cjs/{json-parse-decarator-74e92b0f.js → json-parse-decarator-81231a37.js} +1 -1
- package/dist/cjs/{label-template-3b970f86.js → label-template-94b3d775.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-67e68751.js → number-helper-6003ce3c.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/{package-16d60066.js → package-dfacf86b.js} +1 -1
- package/dist/cjs/{popover-placement-02e6101b.js → popover-placement-e7d6eabd.js} +1 -1
- package/dist/cjs/{slot-template-df7b5b59.js → slot-template-c8e2816c.js} +1 -1
- package/dist/cjs/{stepper-states-b5a2f86a.js → stepper-states-00da997b.js} +1 -1
- package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
- package/dist/cjs/{tooltip-helper-7da280c9.js → tooltip-helper-5ab24701.js} +9 -9
- package/dist/cjs/{validators-96899ecc.js → validators-e395ef8b.js} +1 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/organism/list/list.css +3 -5
- package/dist/collection/components/organism/list/list.js +12 -4
- package/dist/collection/components/other_deprecated/collapse/collapse.css +7 -0
- package/dist/collection/components/other_deprecated/collapse/collapse.js +16 -8
- package/dist/collection/templates/caption-template.js +1 -1
- package/dist/collection/templates/list-item-template.js +3 -0
- package/dist/components/bcm-collapse.js +14 -6
- package/dist/components/caption-template.js +1 -1
- package/dist/components/datetime-picker.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/list.js +16 -5
- package/dist/esm/bcm-a50d55ba.js +1 -1
- package/dist/esm/bcm-accordion.entry.js +2 -2
- package/dist/esm/bcm-alert.entry.js +2 -2
- package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -5
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -5
- package/dist/esm/bcm-attendance-actions.entry.js +326 -0
- package/dist/esm/bcm-attendance.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +5 -5
- package/dist/esm/bcm-breadcrumb.entry.js +2 -2
- package/dist/esm/bcm-button-group.entry.js +3 -3
- package/dist/esm/{bcm-attendance-actions_2.entry.js → bcm-button_2.entry.js} +54 -325
- package/dist/esm/bcm-caption.entry.js +6 -6
- package/dist/esm/bcm-card.entry.js +2 -2
- package/dist/esm/bcm-checkbox-group.entry.js +3 -3
- package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
- package/dist/esm/bcm-checkbox_2.entry.js +4 -4
- package/dist/esm/bcm-chip-group.entry.js +6 -6
- package/dist/esm/bcm-chip.entry.js +2 -2
- package/dist/esm/bcm-color-input.entry.js +4 -4
- package/dist/esm/bcm-colorful_2.entry.js +5 -5
- package/dist/esm/bcm-date-picker.entry.js +3 -3
- package/dist/esm/bcm-date.entry.js +6 -6
- package/dist/esm/bcm-datetime-picker.entry.js +4 -4
- package/dist/esm/bcm-default.entry.js +2 -2
- package/dist/esm/bcm-drawer.entry.js +5 -5
- package/dist/esm/bcm-dropdown.entry.js +4 -4
- package/dist/esm/bcm-expansion-panel.entry.js +2 -2
- package/dist/esm/bcm-form-2.entry.js +3 -3
- package/dist/esm/bcm-input-custom.entry.js +2 -2
- package/dist/esm/bcm-input-dropdown.entry.js +6 -6
- package/dist/esm/bcm-input_2.entry.js +7 -7
- package/dist/esm/bcm-item.entry.js +3 -3
- package/dist/esm/bcm-items.entry.js +2 -2
- package/dist/esm/bcm-label_2.entry.js +6 -6
- package/dist/esm/bcm-link.entry.js +1 -1
- package/dist/esm/bcm-list_3.entry.js +23 -13
- package/dist/esm/bcm-menu.entry.js +5 -5
- package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
- package/dist/esm/bcm-modal-2-header.entry.js +4 -4
- package/dist/esm/bcm-modal-2.entry.js +5 -5
- package/dist/esm/bcm-modal.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +6 -6
- package/dist/esm/bcm-old-input.entry.js +1 -1
- package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
- package/dist/esm/bcm-popconfirm.entry.js +3 -3
- package/dist/esm/bcm-popover.entry.js +5 -5
- package/dist/esm/bcm-progress.entry.js +3 -3
- package/dist/esm/bcm-radio-group.entry.js +6 -6
- package/dist/esm/bcm-radio.entry.js +5 -5
- package/dist/esm/bcm-range.entry.js +3 -3
- package/dist/esm/bcm-rc-picker.entry.js +1 -1
- package/dist/esm/bcm-shortcut.entry.js +5 -5
- package/dist/esm/bcm-skeleton.entry.js +4 -4
- package/dist/esm/bcm-step.entry.js +3 -3
- package/dist/esm/bcm-stepper.entry.js +6 -6
- package/dist/esm/bcm-switch.entry.js +4 -4
- package/dist/esm/bcm-tab-group.entry.js +5 -5
- package/dist/esm/bcm-tab-item-header.entry.js +5 -5
- package/dist/esm/bcm-tab-item.entry.js +4 -4
- package/dist/esm/bcm-table.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +4 -4
- package/dist/esm/bcm-time-picker.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +3 -3
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-b5210fba.js → caption-template-caa3bc94.js} +1 -1
- package/dist/esm/floating-ui-3f4394da.js +1 -1
- package/dist/esm/{generate-36ecd760.js → generate-80faf723.js} +1 -1
- package/dist/esm/{global-2c219073.js → global-5b97a4f6.js} +1 -1
- package/dist/esm/{input-template-4718b530.js → input-template-645d4d3e.js} +2 -2
- package/dist/esm/{json-parse-decarator-65ad17e4.js → json-parse-decarator-2a9a3d68.js} +1 -1
- package/dist/esm/label-template-737576c4.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-24710d93.js → number-helper-b1a0b969.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +3 -3
- package/dist/esm/old-bcm-popover.entry.js +3 -3
- package/dist/esm/{package-04b74cb7.js → package-20190b9f.js} +1 -1
- package/dist/esm/{stepper-states-d20e2763.js → stepper-states-b4b535fc.js} +1 -1
- package/dist/esm/string-helper-85990695.js +1 -1
- package/dist/esm/{tooltip-helper-ea807eeb.js → tooltip-helper-088f4c50.js} +4 -4
- package/dist/esm/{validators-c00416de.js → validators-cc82d552.js} +1 -1
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/other_deprecated/collapse/collapse.d.ts +3 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-0384228c.entry.js +0 -5
- package/dist/bromcom-ui/p-09e7d125.entry.js +0 -5
- package/dist/bromcom-ui/p-10e5c340.js +0 -5
- package/dist/bromcom-ui/p-110fb2e6.entry.js +0 -5
- package/dist/bromcom-ui/p-23d2476c.entry.js +0 -5
- package/dist/bromcom-ui/p-55a32f48.entry.js +0 -5
- package/dist/bromcom-ui/p-8f1b10d0.js +0 -5
- package/dist/bromcom-ui/p-9d345104.js +0 -5
- package/dist/bromcom-ui/p-b9a2a8ce.entry.js +0 -5
- package/dist/bromcom-ui/p-c446923f.entry.js +0 -5
- package/dist/bromcom-ui/p-ec71cec5.entry.js +0 -5
- package/dist/bromcom-ui/p-ed846cfe.entry.js +0 -5
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -46
- package/dist/esm/bcm-collapse.entry.js +0 -42
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
require('./package-
|
|
10
|
+
const generate = require('./generate-6049d4ea.js');
|
|
11
|
+
require('./package-dfacf86b.js');
|
|
12
12
|
require('./colors-078851ec.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
|
|
@@ -9,18 +9,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
15
|
-
require('./validators-
|
|
12
|
+
const generate = require('./generate-6049d4ea.js');
|
|
13
|
+
require('./number-helper-6003ce3c.js');
|
|
14
|
+
require('./string-helper-f9184277.js');
|
|
15
|
+
require('./validators-e395ef8b.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
|
-
const bcm = require('./bcm-
|
|
17
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
18
18
|
const index = require('./index-5279dea2.js');
|
|
19
19
|
require('./colors-56282b00.js');
|
|
20
20
|
require('./utils-fc077139.js');
|
|
21
21
|
require('./colors-078851ec.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-dfacf86b.js');
|
|
24
24
|
|
|
25
25
|
const avatarStyle = index.ce({
|
|
26
26
|
slots: {
|
|
@@ -67,8 +67,8 @@ const BcmAvatar = class {
|
|
|
67
67
|
this.image = undefined;
|
|
68
68
|
this.name = undefined;
|
|
69
69
|
this.alt = undefined;
|
|
70
|
-
this.shape = bcm.Bcm.Shape.ellipse;
|
|
71
|
-
this.size = bcm.Bcm.Size.medium;
|
|
70
|
+
this.shape = bcm.Bcm$1.Shape.ellipse;
|
|
71
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
72
72
|
this.color = undefined;
|
|
73
73
|
this.icon = "fas fa-user";
|
|
74
74
|
this.status = undefined;
|
|
@@ -94,7 +94,7 @@ const BcmAvatar = class {
|
|
|
94
94
|
},
|
|
95
95
|
variable: "--bcm-avatar",
|
|
96
96
|
});
|
|
97
|
-
const customSize = !Object.keys(bcm.Bcm.BaseSize).includes(size)
|
|
97
|
+
const customSize = !Object.keys(bcm.Bcm$1.BaseSize).includes(size)
|
|
98
98
|
? {
|
|
99
99
|
width: `${size}px`,
|
|
100
100
|
height: `${size}px`,
|
|
@@ -185,7 +185,7 @@ const BcmBadge = class {
|
|
|
185
185
|
this.blink = false;
|
|
186
186
|
this.value = undefined;
|
|
187
187
|
this.color = undefined;
|
|
188
|
-
this.size = bcm.Bcm.Size.medium;
|
|
188
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
189
189
|
this.status = undefined;
|
|
190
190
|
}
|
|
191
191
|
render() {
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
11
|
+
const generate = require('./generate-6049d4ea.js');
|
|
12
12
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-dfacf86b.js');
|
|
14
14
|
require('./colors-078851ec.js');
|
|
15
15
|
|
|
16
16
|
const breadcrumbCss = "@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-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;color:var(--bcm-color-grey-7)}.bcm-breadcrumb__item{display:flex;align-items:center}.bcm-breadcrumb .seperator{cursor:default;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;margin-right:8px;color:var(--bcm-color-grey-7)}.bcm-breadcrumb bcm-link:hover{color:var(--bcm-color-grey-7)}.bcm-breadcrumb .active{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .active:hover{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .is-link:hover{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb .is-link:hover bcm-link,.bcm-breadcrumb .is-link:hover bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item{position:relative;display:inline-flex}.bcm-breadcrumb__dropdown-item summary{display:inline-flex;align-items:center;cursor:pointer}.bcm-breadcrumb__dropdown-item summary>span{display:inline-flex;align-items:center}.bcm-breadcrumb__dropdown-item summary::-webkit-details-marker{display:none}.bcm-breadcrumb__dropdown-item summary:focus{outline:none}.bcm-breadcrumb__dropdown-item summary.open bcm-link,.bcm-breadcrumb__dropdown-item summary.open bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item summary .down-icon{margin-left:4px}.bcm-breadcrumb__dropdown-submenu{position:absolute;min-width:140px;background-color:var(--bcm-color-grey-1);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);margin-top:4px}.bcm-breadcrumb__dropdown-submenu .dropdown-item{display:flex;padding:4px 8px}.bcm-breadcrumb__dropdown-submenu .dropdown-item bcm-link{width:100%}";
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
const bcm = require('./bcm-
|
|
10
|
+
const generate = require('./generate-6049d4ea.js');
|
|
11
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
12
12
|
const index$1 = require('./index-95ae50d0.js');
|
|
13
|
-
const stringHelper = require('./string-helper-
|
|
14
|
-
require('./package-
|
|
13
|
+
const stringHelper = require('./string-helper-f9184277.js');
|
|
14
|
+
require('./package-dfacf86b.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
17
|
|
|
@@ -22,11 +22,11 @@ const BcmButtonGroup = class {
|
|
|
22
22
|
index.registerInstance(this, hostRef);
|
|
23
23
|
this.bcmChange = index.createEvent(this, "bcm-change", 7);
|
|
24
24
|
this._id = generate.Generate.UID();
|
|
25
|
-
this.size = bcm.Bcm
|
|
25
|
+
this.size = bcm.Bcm.Size.medium;
|
|
26
26
|
this.type = 'button';
|
|
27
27
|
this.color = undefined;
|
|
28
28
|
this.disabled = undefined;
|
|
29
|
-
this.direction = bcm.Bcm
|
|
29
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
30
30
|
}
|
|
31
31
|
componentWillLoad() {
|
|
32
32
|
const { size, color } = this;
|
|
@@ -81,7 +81,7 @@ const BcmButtonGroup = class {
|
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
83
|
const hostClasses = index$1.classnames('bcm-button-group', {
|
|
84
|
-
'bcm-button-group__vertical': this.direction === bcm.Bcm
|
|
84
|
+
'bcm-button-group__vertical': this.direction === bcm.Bcm.Direction.vertical,
|
|
85
85
|
});
|
|
86
86
|
return (index.h(index.Host, { class: hostClasses }, index.h("slot", null)));
|
|
87
87
|
}
|
|
@@ -7,327 +7,18 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const
|
|
11
|
-
require('./
|
|
12
|
-
const generate = require('./generate-5b01a87e.js');
|
|
13
|
-
require('./number-helper-67e68751.js');
|
|
14
|
-
require('./string-helper-9cdfb273.js');
|
|
15
|
-
require('./validators-96899ecc.js');
|
|
16
|
-
require('./element-dragger-a8562f82.js');
|
|
17
|
-
const bcm = require('./bcm-1d1fcf21.js');
|
|
10
|
+
const generate = require('./generate-6049d4ea.js');
|
|
11
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
18
12
|
const index$2 = require('./index-95ae50d0.js');
|
|
19
|
-
const index = require('./index-
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
require('./
|
|
23
|
-
require('./utils-fc077139.js');
|
|
13
|
+
const index = require('./index-d321de96.js');
|
|
14
|
+
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
15
|
+
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
16
|
+
require('./package-dfacf86b.js');
|
|
24
17
|
require('./colors-078851ec.js');
|
|
25
18
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
26
|
-
require('./
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
// --bcm-attendance-actions-button-text: #334155; /* slate-700 */
|
|
30
|
-
// --bcm-attendance-actions-button-border: #CBD5E1; /* slate-300 */
|
|
31
|
-
// --bcm-attendance-actions-button-hover-bg: #E2E8F0; /* slate-200 */
|
|
32
|
-
// --bcm-attendance-actions-button-active-bg: #CBD5E1; /* slate-300 */
|
|
33
|
-
// --bcm-attendance-actions-button-disabled-bg: #CBD5E1; /* slate-300 */
|
|
34
|
-
// --bcm-attendance-actions-button-disabled-text: #64748B; /* slate-500 */
|
|
35
|
-
const attendanceActionStyle = index.ce({
|
|
36
|
-
slots: {
|
|
37
|
-
host: ["tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-48 tw-gap-2", "bcm-ui-element bcm-attendance-actions"],
|
|
38
|
-
base: "",
|
|
39
|
-
buttonContainer: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-[168px]",
|
|
40
|
-
button: [
|
|
41
|
-
"",
|
|
42
|
-
"tw-button-reset",
|
|
43
|
-
"tw-flex-1 last:tw-flex-none",
|
|
44
|
-
"tw-bg-[--bcm-attendance-actions-button-bg]",
|
|
45
|
-
"tw-text-[--bcm-attendance-actions-button-text]",
|
|
46
|
-
"tw-border tw-border-solid tw-border-[--bcm-attendance-actions-button-border]",
|
|
47
|
-
"hover:tw-bg-[--bcm-attendance-actions-button-hover-bg]",
|
|
48
|
-
"active:tw-bg-[--bcm-attendance-actions-button-active-bg]",
|
|
49
|
-
"focus-visible:tw-ring-2 focus-visible:tw-ring-offset-2 focus-visible:tw-z-10",
|
|
50
|
-
"tw-flex tw-flex-row tw-items-center tw-justify-center",
|
|
51
|
-
"first:tw-rounded-l last:tw-rounded-r",
|
|
52
|
-
"tw-font-medium",
|
|
53
|
-
"-tw-ml-[1px] first:tw-ml-0",
|
|
54
|
-
],
|
|
55
|
-
dropdownButton: "",
|
|
56
|
-
mainButton: "",
|
|
57
|
-
commentIcon: "",
|
|
58
|
-
},
|
|
59
|
-
variants: {
|
|
60
|
-
selected: {
|
|
61
|
-
true: {
|
|
62
|
-
button: [
|
|
63
|
-
"tw-text-white tw-border-transparent last:tw-ml-[1px]",
|
|
64
|
-
"first:tw-justify-start",
|
|
65
|
-
],
|
|
66
|
-
mainButton: [
|
|
67
|
-
"tw-min-w-[calc(theme(spacing.12)-1px)]"
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
false: {
|
|
71
|
-
button: [
|
|
72
|
-
""
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
size: {
|
|
77
|
-
small: {
|
|
78
|
-
button: [
|
|
79
|
-
"tw-text-2",
|
|
80
|
-
"tw-min-h-6",
|
|
81
|
-
"tw-gap-2",
|
|
82
|
-
],
|
|
83
|
-
mainButton: [
|
|
84
|
-
"tw-px-3",
|
|
85
|
-
],
|
|
86
|
-
dropdownButton: [
|
|
87
|
-
"tw-px-2.5"
|
|
88
|
-
],
|
|
89
|
-
},
|
|
90
|
-
medium: {
|
|
91
|
-
button: [
|
|
92
|
-
"tw-text-3",
|
|
93
|
-
"tw-min-h-8",
|
|
94
|
-
"tw-gap-2",
|
|
95
|
-
],
|
|
96
|
-
mainButton: [
|
|
97
|
-
"tw-px-3",
|
|
98
|
-
],
|
|
99
|
-
dropdownButton: [
|
|
100
|
-
"tw-px-2.5"
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
large: {
|
|
104
|
-
button: [
|
|
105
|
-
"tw-text-4",
|
|
106
|
-
"tw-min-h-10",
|
|
107
|
-
"tw-gap-2.5",
|
|
108
|
-
],
|
|
109
|
-
mainButton: [
|
|
110
|
-
"tw-px-3",
|
|
111
|
-
],
|
|
112
|
-
dropdownButton: [
|
|
113
|
-
"tw-px-3"
|
|
114
|
-
],
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
disabled: {
|
|
118
|
-
true: {},
|
|
119
|
-
false: {}
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
compoundVariants: [
|
|
123
|
-
{
|
|
124
|
-
disabled: true,
|
|
125
|
-
class: {
|
|
126
|
-
buttonContainer: [
|
|
127
|
-
"tw-cursor-not-allowed tw-pointer-events-none",
|
|
128
|
-
],
|
|
129
|
-
button: [
|
|
130
|
-
"tw-cursor-not-allowed",
|
|
131
|
-
"tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
132
|
-
"tw-text-[--bcm-attendance-actions-button-disabled-text]",
|
|
133
|
-
"tw-border-transparent",
|
|
134
|
-
"hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
135
|
-
],
|
|
136
|
-
mainButton: [
|
|
137
|
-
"tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
138
|
-
"tw-text-[--bcm-attendance-actions-button-disabled-text]",
|
|
139
|
-
"tw-border-transparent",
|
|
140
|
-
"hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
141
|
-
"tw-cursor-not-allowed",
|
|
142
|
-
],
|
|
143
|
-
host: [
|
|
144
|
-
"tw-cursor-not-allowed",
|
|
145
|
-
],
|
|
146
|
-
commentIcon: [
|
|
147
|
-
"tw-cursor-not-allowed tw-pointer-events-none",
|
|
148
|
-
],
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
disabled: false,
|
|
153
|
-
class: {
|
|
154
|
-
button: [
|
|
155
|
-
"tw-cursor-pointer",
|
|
156
|
-
],
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
defaultVariants: {
|
|
161
|
-
selected: false,
|
|
162
|
-
size: "medium",
|
|
163
|
-
disabled: false,
|
|
164
|
-
},
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
const attendanceActionsCss = "";
|
|
168
|
-
|
|
169
|
-
const BcmAttendanceActions = class {
|
|
170
|
-
constructor(hostRef) {
|
|
171
|
-
index$1.registerInstance(this, hostRef);
|
|
172
|
-
this.change = index$1.createEvent(this, "bcm-attendance-change", 3);
|
|
173
|
-
this._id = generate.Generate.UID();
|
|
174
|
-
this.size = bcm.Bcm.Size.medium;
|
|
175
|
-
this.disabled = false;
|
|
176
|
-
this.data = [
|
|
177
|
-
{ key: "P", value: "Present", color: "emerald", icon: "fa-solid fa-check", priority: 0 },
|
|
178
|
-
{ key: "A", value: "Absent", color: "red", icon: "fa-solid fa-times", priority: 1 },
|
|
179
|
-
{ key: "L", value: "Late", color: "amber", icon: "fa-solid fa-clock", priority: 2 },
|
|
180
|
-
{ key: "C", value: "Other Authorised Circumstance", color: "blue", icon: "fa-solid fa-question" },
|
|
181
|
-
{ key: "E", value: "Exlude", color: "blue", icon: "fa-solid fa-minus" },
|
|
182
|
-
{ key: "G", value: "Family Holiday", color: "blue", icon: "fa-solid fa-minus" },
|
|
183
|
-
{ key: "H", value: "Family Holiday (Agreed)", color: "blue", icon: "fa-solid fa-minus" },
|
|
184
|
-
{ key: "I", value: "Illness", color: "blue", icon: "fa-solid fa-minus" },
|
|
185
|
-
{ key: "J", value: "Intervier", color: "blue", icon: "fa-solid fa-minus" },
|
|
186
|
-
{ key: "M", value: "Medical / Dental", color: "blue", icon: "fa-solid fa-minus" },
|
|
187
|
-
{ key: "N", value: "No Reason yet PRovided", color: "blue", icon: "fa-solid fa-minus" },
|
|
188
|
-
{ key: "O", value: "Unauthrised Absence", color: "blue", icon: "fa-solid fa-minus" },
|
|
189
|
-
{ key: "U", value: "Late after Reg. Closed", color: "blue", icon: "fa-solid fa-minus" },
|
|
190
|
-
{ key: "X", value: "Non-comp School Age Absence", color: "blue", icon: "fa-solid fa-minus" },
|
|
191
|
-
];
|
|
192
|
-
this.lateKeys = "L";
|
|
193
|
-
this.hideComment = false;
|
|
194
|
-
}
|
|
195
|
-
get selectedItem() {
|
|
196
|
-
return this.data.find(item => item.selected);
|
|
197
|
-
}
|
|
198
|
-
get priorityButtons() {
|
|
199
|
-
return this.data.filter(item => item.priority !== undefined).sort((a, b) => a.priority - b.priority);
|
|
200
|
-
}
|
|
201
|
-
get renderButtons() {
|
|
202
|
-
const { selectedItem, priorityButtons } = this;
|
|
203
|
-
return [...(selectedItem ? [selectedItem] : priorityButtons.length ? priorityButtons : this.data.slice(0, 3))];
|
|
204
|
-
}
|
|
205
|
-
get lateKeysMap() {
|
|
206
|
-
return this.lateKeys.toLocaleLowerCase().split(",");
|
|
207
|
-
}
|
|
208
|
-
get isLate() {
|
|
209
|
-
var _a, _b;
|
|
210
|
-
return this.lateKeysMap.includes((_b = (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase());
|
|
211
|
-
}
|
|
212
|
-
get dropdownMenuElement() {
|
|
213
|
-
return document.getElementById("attendance-dropdown-" + this._id);
|
|
214
|
-
}
|
|
215
|
-
get commentAreaElement() {
|
|
216
|
-
return document.getElementById("comment-" + this._id);
|
|
217
|
-
}
|
|
218
|
-
handleSelectItem(item, triggerChange = true, showComment = true) {
|
|
219
|
-
var _a, _b;
|
|
220
|
-
this.data = [...this.data.map(data => { var _a, _b; return (Object.assign(Object.assign({}, data), { selected: ((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === ((_b = data.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) })); })];
|
|
221
|
-
(_a = this.dropdownMenuElement) === null || _a === void 0 ? void 0 : _a.hide();
|
|
222
|
-
(_b = this.commentAreaElement) === null || _b === void 0 ? void 0 : _b.hide();
|
|
223
|
-
if (!this.isLate)
|
|
224
|
-
return triggerChange && this.changed();
|
|
225
|
-
!this.hideComment && showComment && this.commentArea();
|
|
226
|
-
}
|
|
227
|
-
changed() {
|
|
228
|
-
this.change.emit(this.selectedItem);
|
|
229
|
-
}
|
|
230
|
-
hasDataForKey(key) {
|
|
231
|
-
return !!this.data.find(item => item.key.toLocaleLowerCase() === key.toLocaleLowerCase());
|
|
232
|
-
}
|
|
233
|
-
handleKeyPress({ key }) {
|
|
234
|
-
if (!this.hasDataForKey(key))
|
|
235
|
-
return;
|
|
236
|
-
const item = this.data.find(item => { var _a; return ((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === (key === null || key === void 0 ? void 0 : key.toLocaleLowerCase()); });
|
|
237
|
-
this.handleSelectItem(item);
|
|
238
|
-
}
|
|
239
|
-
handleSave(lateMinutes, comment) {
|
|
240
|
-
this.data = [...this.data].map(item => {
|
|
241
|
-
var _a, _b, _c;
|
|
242
|
-
if (((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === ((_c = (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.key) === null || _c === void 0 ? void 0 : _c.toLocaleLowerCase())) {
|
|
243
|
-
return Object.assign(Object.assign({}, item), { lateMin: lateMinutes, comment });
|
|
244
|
-
}
|
|
245
|
-
return item;
|
|
246
|
-
});
|
|
247
|
-
this.changed();
|
|
248
|
-
}
|
|
249
|
-
dropdownMenu() {
|
|
250
|
-
var _a;
|
|
251
|
-
const dropdownMenu = generate.Generate.createComponent("bcm-attendance-actions-dropdown", {
|
|
252
|
-
id: "attendance-dropdown-" + this._id,
|
|
253
|
-
size: this.size,
|
|
254
|
-
data: this.data,
|
|
255
|
-
selectedKey: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key,
|
|
256
|
-
targetId: "attendance-dropdown-button-" + this._id,
|
|
257
|
-
});
|
|
258
|
-
dropdownMenu.addEventListener("bcm-attendance-actions-dropdown-change", ({ detail }) => {
|
|
259
|
-
this.handleSelectItem(detail);
|
|
260
|
-
});
|
|
261
|
-
dropdownMenu.show();
|
|
262
|
-
}
|
|
263
|
-
commentArea() {
|
|
264
|
-
var _a, _b;
|
|
265
|
-
const commentArea = generate.Generate.createComponent("bcm-attendance-actions-comment", {
|
|
266
|
-
id: "comment-" + this._id,
|
|
267
|
-
size: this.size,
|
|
268
|
-
isLate: this.isLate,
|
|
269
|
-
targetId: "comment-area-" + this._id,
|
|
270
|
-
selectedItem: this.selectedItem,
|
|
271
|
-
lateMinutes: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.lateMin,
|
|
272
|
-
comment: (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment,
|
|
273
|
-
});
|
|
274
|
-
commentArea.addEventListener("bcm-attendance-actions-comment-change", ({ detail }) => {
|
|
275
|
-
this.handleSave(detail.lateMinutes, detail.comment);
|
|
276
|
-
});
|
|
277
|
-
commentArea.show();
|
|
278
|
-
}
|
|
279
|
-
async set(key, triggerChange = true) {
|
|
280
|
-
if (!this.hasDataForKey(key))
|
|
281
|
-
return;
|
|
282
|
-
const item = this.data.find(item => { var _a; return ((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === (key === null || key === void 0 ? void 0 : key.toLocaleLowerCase()); });
|
|
283
|
-
this.handleSelectItem(item, triggerChange, false);
|
|
284
|
-
}
|
|
285
|
-
async get() {
|
|
286
|
-
return this.selectedItem;
|
|
287
|
-
}
|
|
288
|
-
render() {
|
|
289
|
-
var _a, _b, _c;
|
|
290
|
-
const { selectedItem, renderButtons, disabled, hideComment, size } = this;
|
|
291
|
-
const { host, buttonContainer, button, dropdownButton, commentIcon, mainButton } = attendanceActionStyle({
|
|
292
|
-
selected: !!selectedItem,
|
|
293
|
-
size,
|
|
294
|
-
disabled,
|
|
295
|
-
});
|
|
296
|
-
const buttonStyle = !!selectedItem
|
|
297
|
-
? generate.Generate.getTwColor({
|
|
298
|
-
color: (_a = selectedItem.color) !== null && _a !== void 0 ? _a : "blue",
|
|
299
|
-
tones: {
|
|
300
|
-
600: ["bg"],
|
|
301
|
-
700: ["hover-bg"],
|
|
302
|
-
800: ["active-bg"],
|
|
303
|
-
},
|
|
304
|
-
variable: "--bcm-attendance-actions-button",
|
|
305
|
-
})
|
|
306
|
-
: {};
|
|
307
|
-
const buttonAttributes = {
|
|
308
|
-
class: index$2.classnames(button(), mainButton()),
|
|
309
|
-
style: Object.assign({}, buttonStyle),
|
|
310
|
-
disabled,
|
|
311
|
-
type: "button",
|
|
312
|
-
};
|
|
313
|
-
const iconButtonAttributes = Object.assign(Object.assign({}, buttonAttributes), { class: index$2.classnames(button(), dropdownButton()) });
|
|
314
|
-
const isShowCommentIcon = !hideComment && !!selectedItem;
|
|
315
|
-
const commentTooltip = (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.comment) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.lateMin) ? `${(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.comment) || ""}${(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.lateMin) ? ` (${selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.lateMin} min) ` : ""}` : "";
|
|
316
|
-
return (index$1.h(index$1.Host, { class: host(), onKeyPress: this.handleKeyPress.bind(this) }, index$1.h("div", { class: buttonContainer() }, renderButtons === null || renderButtons === void 0 ? void 0 :
|
|
317
|
-
renderButtons.map(item => {
|
|
318
|
-
return (index$1.h("button", Object.assign({}, buttonAttributes, { onClick: () => this.handleSelectItem(item), title: item.value }), index$1.h("i", { class: index$2.classnames(item.icon || "fa-solid fa-minus", "!tw-leading-[inherit]") }), item.selected && index$1.h("span", { class: "tw-truncate" }, item.value)));
|
|
319
|
-
}), index$1.h("button", Object.assign({ id: "attendance-dropdown-button-" + this._id }, iconButtonAttributes, { onClick: () => this.dropdownMenu(), title: "More" }), index$1.h("i", { class: index$2.classnames("fa-solid fa-angle-down !tw-leading-[inherit]") }))), index$1.h("div", { id: "comment-area-" + this._id, class: index$2.classnames(commentIcon(), {
|
|
320
|
-
"tw-cursor-default": !isShowCommentIcon,
|
|
321
|
-
"tw-cursor-pointer": isShowCommentIcon,
|
|
322
|
-
}), onClick: () => isShowCommentIcon && this.commentArea() }, index$1.h("i", { title: isShowCommentIcon ? commentTooltip : "", class: index$2.classnames("fa-solid fa-comment", {
|
|
323
|
-
"tw-text-gray-400": !(((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment) || ((_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.lateMin)),
|
|
324
|
-
"tw-visible": isShowCommentIcon,
|
|
325
|
-
"tw-invisible": !isShowCommentIcon,
|
|
326
|
-
}) }))));
|
|
327
|
-
}
|
|
328
|
-
get el() { return index$1.getElement(this); }
|
|
329
|
-
};
|
|
330
|
-
BcmAttendanceActions.style = attendanceActionsCss;
|
|
19
|
+
require('./string-helper-f9184277.js');
|
|
20
|
+
require('./colors-56282b00.js');
|
|
21
|
+
require('./utils-fc077139.js');
|
|
331
22
|
|
|
332
23
|
const variantOptions = {
|
|
333
24
|
save: {
|
|
@@ -496,7 +187,7 @@ var VariantProps;
|
|
|
496
187
|
VariantProps["download"] = "download";
|
|
497
188
|
})(VariantProps || (VariantProps = {}));
|
|
498
189
|
|
|
499
|
-
const { state } = index
|
|
190
|
+
const { state } = index.createStore({
|
|
500
191
|
value: new Map(),
|
|
501
192
|
setData: {},
|
|
502
193
|
removeData: {}
|
|
@@ -505,7 +196,7 @@ const setValue = (val) => {
|
|
|
505
196
|
const data = Object.assign(Object.assign({}, val), (variantOptions[val.variant] && {
|
|
506
197
|
icon: variantOptions[val.variant].icon,
|
|
507
198
|
value: variantOptions[val.variant].text,
|
|
508
|
-
iconPosition: bcm.Bcm
|
|
199
|
+
iconPosition: bcm.Bcm.IconPosition[variantOptions[val.variant].iconPosition],
|
|
509
200
|
variantColor: variantOptions[val.variant].color
|
|
510
201
|
}));
|
|
511
202
|
state.value.set(data.id, data);
|
|
@@ -521,8 +212,8 @@ const buttonState = {
|
|
|
521
212
|
};
|
|
522
213
|
|
|
523
214
|
const ButtonTemplate = ({ value, type, componentClass, disabled, href, target, loading, isIconOnly, icon, iconPosition, id }) => {
|
|
524
|
-
const ButtonTagType = (href) ? bcm.Bcm
|
|
525
|
-
return (index$1.h(ButtonTagType, Object.assign({ id: id }, (type == bcm.Bcm
|
|
215
|
+
const ButtonTagType = (href) ? bcm.Bcm.HtmlElementType.a : bcm.Bcm.HtmlElementType.button;
|
|
216
|
+
return (index$1.h(ButtonTagType, Object.assign({ id: id }, (type == bcm.Bcm.HtmlElementType.button && { type }), { class: componentClass, disabled: disabled, href: href, target: target, tabindex: "0" }),
|
|
526
217
|
index$1.h("span", { hidden: true },
|
|
527
218
|
index$1.h("slot", null)),
|
|
528
219
|
loading && index$1.h("span", { class: "bcm-button__container-loading" },
|
|
@@ -544,10 +235,10 @@ const BcmButton = class {
|
|
|
544
235
|
this.bcmClick = index$1.createEvent(this, "bcm-click", 7);
|
|
545
236
|
this._id = generate.Generate.UID();
|
|
546
237
|
this.hidden = false;
|
|
547
|
-
this.type = bcm.Bcm
|
|
548
|
-
this.size = bcm.Bcm
|
|
238
|
+
this.type = bcm.Bcm.ButtonType.button;
|
|
239
|
+
this.size = bcm.Bcm.Size.medium;
|
|
549
240
|
this.disabled = false;
|
|
550
|
-
this.kind = bcm.Bcm
|
|
241
|
+
this.kind = bcm.Bcm.Kind.solid;
|
|
551
242
|
this.outline = false;
|
|
552
243
|
this.icon = undefined;
|
|
553
244
|
this.href = undefined;
|
|
@@ -557,7 +248,7 @@ const BcmButton = class {
|
|
|
557
248
|
this.variant = undefined;
|
|
558
249
|
this.dataDismiss = false;
|
|
559
250
|
this.fullWidth = false;
|
|
560
|
-
this.iconPosition = bcm.Bcm
|
|
251
|
+
this.iconPosition = bcm.Bcm.IconPosition.prefix;
|
|
561
252
|
this.color = undefined;
|
|
562
253
|
this.checked = false;
|
|
563
254
|
}
|
|
@@ -678,5 +369,43 @@ const BcmButton = class {
|
|
|
678
369
|
};
|
|
679
370
|
BcmButton.style = buttonCss;
|
|
680
371
|
|
|
681
|
-
|
|
372
|
+
const collapseCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host([data-slot-empty]) .bcm-collapse__body{padding:0}:host([data-slot-empty]) .bcm-collapse--open{border-bottom:none}.bcm-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8)}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}";
|
|
373
|
+
|
|
374
|
+
const BcmCollapse = class {
|
|
375
|
+
constructor(hostRef) {
|
|
376
|
+
index$1.registerInstance(this, hostRef);
|
|
377
|
+
this.bcmCollapseOpen = index$1.createEvent(this, "bcm-collapse-open", 7);
|
|
378
|
+
this._id = generate.Generate.UID();
|
|
379
|
+
this.borderless = false;
|
|
380
|
+
this.open = false;
|
|
381
|
+
this.noBorder = false;
|
|
382
|
+
this.hidden = false;
|
|
383
|
+
}
|
|
384
|
+
componentDidRender() {
|
|
385
|
+
this.open && this.bcmCollapseOpen.emit(this._id);
|
|
386
|
+
}
|
|
387
|
+
componentDidLoad() {
|
|
388
|
+
this.checkSlotEmpty();
|
|
389
|
+
}
|
|
390
|
+
checkSlotEmpty() {
|
|
391
|
+
const isSlotEmpty = this.el.querySelector('[slot="body"]') === null;
|
|
392
|
+
isSlotEmpty && this.el.setAttribute("data-slot-empty", String(isSlotEmpty));
|
|
393
|
+
!isSlotEmpty && this.el.removeAttribute("data-slot-empty");
|
|
394
|
+
}
|
|
395
|
+
render() {
|
|
396
|
+
const { hidden, borderless, open, noBorder, _id } = this;
|
|
397
|
+
const classes = index$2.classnames("bcm-collapse", {
|
|
398
|
+
"bcm-collapse--borderless": borderless,
|
|
399
|
+
"bcm-collapse--open": open,
|
|
400
|
+
"bcm-collapse--no-border": noBorder,
|
|
401
|
+
});
|
|
402
|
+
const caretDown = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/></svg>';
|
|
403
|
+
const caretRight = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"/></svg>';
|
|
404
|
+
return (index$1.h(index$1.Host, { class: { hidden }, id: _id }, index$1.h("details", { class: classes, open: open }, index$1.h("summary", { class: "bcm-collapse__header size-2", onClick: () => (this.open = !open) }, index$1.h("span", { class: "collapse-icon", innerHTML: open ? caretDown : caretRight }), index$1.h("slot", { name: "title" })), index$1.h("div", { class: "bcm-collapse__body" }, index$1.h("slot", { name: "body", onSlotchange: () => this.checkSlotEmpty() })))));
|
|
405
|
+
}
|
|
406
|
+
get el() { return index$1.getElement(this); }
|
|
407
|
+
};
|
|
408
|
+
BcmCollapse.style = collapseCss;
|
|
409
|
+
|
|
682
410
|
exports.bcm_button = BcmButton;
|
|
411
|
+
exports.bcm_collapse = BcmCollapse;
|
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const bcm = require('./bcm-
|
|
11
|
-
require('./string-helper-
|
|
12
|
-
const captionTemplate = require('./caption-template-
|
|
10
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
11
|
+
require('./string-helper-f9184277.js');
|
|
12
|
+
const captionTemplate = require('./caption-template-086e9cac.js');
|
|
13
13
|
require('./index-95ae50d0.js');
|
|
14
14
|
require('./types-cc4adee7.js');
|
|
15
15
|
require('./color-helper-c3a819ea.js');
|
|
16
16
|
require('./datetime-helper-eaf4fadb.js');
|
|
17
|
-
require('./generate-
|
|
18
|
-
require('./number-helper-
|
|
19
|
-
require('./validators-
|
|
17
|
+
require('./generate-6049d4ea.js');
|
|
18
|
+
require('./number-helper-6003ce3c.js');
|
|
19
|
+
require('./validators-e395ef8b.js');
|
|
20
20
|
require('./element-dragger-a8562f82.js');
|
|
21
21
|
require('./types-7523fd99.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
23
|
require('./colors-56282b00.js');
|
|
24
24
|
require('./utils-fc077139.js');
|
|
25
25
|
require('./colors-078851ec.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-dfacf86b.js');
|
|
27
27
|
|
|
28
28
|
const BcmCaption = class {
|
|
29
29
|
constructor(hostRef) {
|
|
30
30
|
index.registerInstance(this, hostRef);
|
|
31
31
|
this.noCaption = false;
|
|
32
|
-
this.captionType = bcm.Bcm
|
|
32
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
33
33
|
this.captionClasses = undefined;
|
|
34
34
|
this.caption = undefined;
|
|
35
35
|
this.captionError = undefined;
|
|
36
36
|
this.customErrorMessage = undefined;
|
|
37
|
-
this.size = bcm.Bcm
|
|
37
|
+
this.size = bcm.Bcm.Size.medium;
|
|
38
38
|
this.maxLength = undefined;
|
|
39
39
|
this.value = undefined;
|
|
40
40
|
}
|
|
@@ -9,15 +9,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const stringHelper = require('./string-helper-
|
|
14
|
-
const slotTemplate = require('./slot-template-
|
|
12
|
+
const generate = require('./generate-6049d4ea.js');
|
|
13
|
+
const stringHelper = require('./string-helper-f9184277.js');
|
|
14
|
+
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
16
|
require('./colors-56282b00.js');
|
|
17
17
|
require('./utils-fc077139.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
|
-
require('./package-
|
|
20
|
-
require('./bcm-
|
|
19
|
+
require('./package-dfacf86b.js');
|
|
20
|
+
require('./bcm-489c9b1a.js');
|
|
21
21
|
|
|
22
22
|
const cardCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-card{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1);box-sizing:border-box}.bcm-card__header,.bcm-card__body,.bcm-card__footer{display:block;width:100%}.bcm-card__header{border-radius:8px 8px 0 0;padding:12px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-card__body{padding:12px 24px}.bcm-card__footer{padding:12px 24px;border-radius:0 0 8px 8px}";
|
|
23
23
|
|