bromcom-ui 2.11.1-rc.3 → 2.11.1-rc.5
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-3c58d022.entry.js → p-02f011ea.entry.js} +1 -1
- package/dist/bromcom-ui/p-040a9b76.entry.js +5 -0
- package/dist/bromcom-ui/{p-e707a4cb.entry.js → p-0746512a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-42385d2c.js → p-0a12e0ec.js} +1 -1
- package/dist/bromcom-ui/p-0b7ca765.entry.js +5 -0
- package/dist/bromcom-ui/{p-dd3e80e4.entry.js → p-10e5182d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d9055031.entry.js → p-149d6436.entry.js} +1 -1
- package/dist/bromcom-ui/{p-27bd3558.entry.js → p-15489996.entry.js} +1 -1
- package/dist/bromcom-ui/{p-283d69bd.entry.js → p-193a6180.entry.js} +1 -1
- package/dist/bromcom-ui/{p-22fca42a.entry.js → p-1985c3f6.entry.js} +1 -1
- package/dist/bromcom-ui/p-1b77533a.entry.js +5 -0
- package/dist/bromcom-ui/{p-8a92f2bf.js → p-1cac8ccc.js} +1 -1
- package/dist/bromcom-ui/{p-b70ce8a8.entry.js → p-24b9e53a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-979af47a.js → p-2720a392.js} +1 -1
- package/dist/bromcom-ui/{p-1a4d3d4b.entry.js → p-27f4ba74.entry.js} +1 -1
- package/dist/bromcom-ui/p-2a79eca5.entry.js +5 -0
- package/dist/bromcom-ui/{p-1365fcd1.entry.js → p-2b87993f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0d9d2b83.entry.js → p-2d355fa3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ab52f0fd.entry.js → p-2f0e8443.entry.js} +1 -1
- package/dist/bromcom-ui/p-3089e9c7.js +1 -1
- package/dist/bromcom-ui/{p-c99c97c4.entry.js → p-3d2a14c0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fec2e602.entry.js → p-3ed29cc6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-970e32f8.entry.js → p-437e36c8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bceff6ac.entry.js → p-46acf298.entry.js} +1 -1
- package/dist/bromcom-ui/{p-62fbf683.entry.js → p-48646107.entry.js} +1 -1
- package/dist/bromcom-ui/{p-53379ec3.entry.js → p-4c10b76c.entry.js} +1 -1
- package/dist/bromcom-ui/p-4d8067b9.entry.js +5 -0
- package/dist/bromcom-ui/{p-9fe98e8c.entry.js → p-5199f537.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5e195721.entry.js → p-5368ed7d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-23d97a8f.entry.js → p-54d2559e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a9632cd3.js → p-563ae5f5.js} +1 -1
- package/dist/bromcom-ui/{p-f4363375.js → p-565e46c2.js} +1 -1
- package/dist/bromcom-ui/{p-6bcd722c.entry.js → p-5aa962a4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4aac21d5.entry.js → p-5cc301e4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e019251c.entry.js → p-63aa9ad0.entry.js} +1 -1
- package/dist/bromcom-ui/p-66608ae4.entry.js +5 -0
- package/dist/bromcom-ui/p-6b5ed4d8.js +1 -1
- package/dist/bromcom-ui/{p-dfcea8e4.entry.js → p-6cf8e678.entry.js} +1 -1
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/{p-01bd2fbb.entry.js → p-718122dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e9ab38fd.entry.js → p-75413cfe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6c00649d.entry.js → p-7ce10ad2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9242e8a4.entry.js → p-85c47dc6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ff7a0518.entry.js → p-879f821a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ab62dbf4.entry.js → p-8da83505.entry.js} +1 -1
- package/dist/bromcom-ui/{p-772e0ac0.entry.js → p-8e7635e9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ddcda6e6.entry.js → p-90697441.entry.js} +1 -1
- package/dist/bromcom-ui/p-928eebd7.entry.js +5 -0
- package/dist/bromcom-ui/{p-5d6485b0.entry.js → p-9be818f6.entry.js} +1 -1
- package/dist/bromcom-ui/p-9eb282f9.entry.js +5 -0
- package/dist/bromcom-ui/{p-7a335951.entry.js → p-9f77dcaa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b3cb130f.entry.js → p-9fb5b57e.entry.js} +1 -1
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/p-aac1fffa.js +5 -0
- package/dist/bromcom-ui/{p-ce64aadd.entry.js → p-aae06a5f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0c5a0aa3.entry.js → p-aae4b364.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5c79fb9a.entry.js → p-abd0364b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b977778.entry.js → p-acbff281.entry.js} +1 -1
- package/dist/bromcom-ui/{p-24a073cd.entry.js → p-ad3b2352.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ce3a35d8.entry.js → p-af66bd8a.entry.js} +1 -1
- package/dist/bromcom-ui/p-b1241b02.js +5 -0
- package/dist/bromcom-ui/{p-1aeb3b84.entry.js → p-b59f75a9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b51a5ffe.entry.js → p-ba272e81.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cddf5e9d.entry.js → p-bbd82d8f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fa937fc9.entry.js → p-c0068b6b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7682e5f4.entry.js → p-c5bb8557.entry.js} +1 -1
- package/dist/bromcom-ui/p-c9bfa357.entry.js +5 -0
- package/dist/bromcom-ui/{p-c5dc4334.entry.js → p-ca56fc9a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-23697f6e.entry.js → p-d03b0ccc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7750d6c9.entry.js → p-d3c00997.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5c59f8e5.js → p-d47d370e.js} +1 -1
- package/dist/bromcom-ui/{p-f9782984.entry.js → p-d4d4cf36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fd2abdda.js → p-dcdb1b99.js} +1 -1
- package/dist/bromcom-ui/{p-cdae8b98.entry.js → p-df8f95d4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c1acd0c.entry.js → p-f8a4d5be.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dbea0599.entry.js → p-fb529ec0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ecdd078d.js → p-fdfc8334.js} +1 -1
- package/dist/bromcom-ui/p-ff201cab.entry.js +5 -0
- 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} +60 -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 +35 -27
- 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-794c57b1.js → generate-96559082.js} +1 -1
- package/dist/cjs/{global-c8462cce.js → global-19da1a18.js} +1 -1
- package/dist/cjs/{input-template-c6c22a3e.js → input-template-436f15e5.js} +6 -6
- package/dist/cjs/{json-parse-decarator-55cde592.js → json-parse-decarator-9df2ea0a.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-9d81ab60.js → number-helper-152e8340.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-38271f86.js → package-3357f14d.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-e9eb3b78.js → stepper-states-db751a72.js} +1 -1
- package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
- package/dist/cjs/{tooltip-helper-e0d71511.js → tooltip-helper-97072765.js} +9 -9
- package/dist/cjs/{validators-b8329cff.js → validators-d6a13946.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 +6 -0
- package/dist/collection/components/other_deprecated/collapse/collapse.css +13 -0
- package/dist/collection/components/other_deprecated/collapse/collapse.js +39 -9
- 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 +20 -7
- 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 +10 -1
- 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} +58 -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 +17 -9
- 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-4cecdf46.js → generate-7a9e48aa.js} +1 -1
- package/dist/esm/{global-38baa9be.js → global-1ccfc1fd.js} +1 -1
- package/dist/esm/{input-template-96eea581.js → input-template-1fb4bb2c.js} +2 -2
- package/dist/esm/{json-parse-decarator-7fe3bbec.js → json-parse-decarator-7fda4c39.js} +1 -1
- package/dist/esm/label-template-737576c4.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-11c1236c.js → number-helper-b0ce5cd7.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-324454ca.js → package-04662d86.js} +1 -1
- package/dist/esm/{stepper-states-6887e3b8.js → stepper-states-73adba25.js} +1 -1
- package/dist/esm/string-helper-85990695.js +1 -1
- package/dist/esm/{tooltip-helper-3fcc4880.js → tooltip-helper-a3bc90c3.js} +4 -4
- package/dist/esm/{validators-aadf3740.js → validators-cc65d61e.js} +1 -1
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/other_deprecated/collapse/collapse.d.ts +4 -1
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-110fb2e6.entry.js +0 -5
- package/dist/bromcom-ui/p-29e07b1c.entry.js +0 -5
- package/dist/bromcom-ui/p-3d1debbc.entry.js +0 -5
- package/dist/bromcom-ui/p-3d84b432.js +0 -5
- package/dist/bromcom-ui/p-45854285.entry.js +0 -5
- package/dist/bromcom-ui/p-a3b08549.entry.js +0 -5
- package/dist/bromcom-ui/p-a7e8b56c.entry.js +0 -5
- package/dist/bromcom-ui/p-b64fb627.js +0 -5
- package/dist/bromcom-ui/p-c360185a.entry.js +0 -5
- package/dist/bromcom-ui/p-d8078aad.entry.js +0 -5
- package/dist/bromcom-ui/p-f320ed14.entry.js +0 -5
- package/dist/bromcom-ui/p-fc2bfd97.entry.js +0 -5
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -46
- package/dist/esm/bcm-collapse.entry.js +0 -42
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index$1 = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-96559082.js');
|
|
13
|
+
require('./number-helper-152e8340.js');
|
|
14
|
+
require('./string-helper-f9184277.js');
|
|
15
|
+
require('./validators-d6a13946.js');
|
|
16
|
+
require('./element-dragger-a8562f82.js');
|
|
17
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
18
|
+
const index$2 = require('./index-95ae50d0.js');
|
|
19
|
+
const index = require('./index-5279dea2.js');
|
|
20
|
+
require('./colors-56282b00.js');
|
|
21
|
+
require('./utils-fc077139.js');
|
|
22
|
+
require('./colors-078851ec.js');
|
|
23
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
24
|
+
require('./package-3357f14d.js');
|
|
25
|
+
|
|
26
|
+
// --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
|
|
27
|
+
// --bcm-attendance-actions-button-text: #334155; /* slate-700 */
|
|
28
|
+
// --bcm-attendance-actions-button-border: #CBD5E1; /* slate-300 */
|
|
29
|
+
// --bcm-attendance-actions-button-hover-bg: #E2E8F0; /* slate-200 */
|
|
30
|
+
// --bcm-attendance-actions-button-active-bg: #CBD5E1; /* slate-300 */
|
|
31
|
+
// --bcm-attendance-actions-button-disabled-bg: #CBD5E1; /* slate-300 */
|
|
32
|
+
// --bcm-attendance-actions-button-disabled-text: #64748B; /* slate-500 */
|
|
33
|
+
const attendanceActionStyle = index.ce({
|
|
34
|
+
slots: {
|
|
35
|
+
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"],
|
|
36
|
+
base: "",
|
|
37
|
+
buttonContainer: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-[168px]",
|
|
38
|
+
button: [
|
|
39
|
+
"",
|
|
40
|
+
"tw-button-reset",
|
|
41
|
+
"tw-flex-1 last:tw-flex-none",
|
|
42
|
+
"tw-bg-[--bcm-attendance-actions-button-bg]",
|
|
43
|
+
"tw-text-[--bcm-attendance-actions-button-text]",
|
|
44
|
+
"tw-border tw-border-solid tw-border-[--bcm-attendance-actions-button-border]",
|
|
45
|
+
"hover:tw-bg-[--bcm-attendance-actions-button-hover-bg]",
|
|
46
|
+
"active:tw-bg-[--bcm-attendance-actions-button-active-bg]",
|
|
47
|
+
"focus-visible:tw-ring-2 focus-visible:tw-ring-offset-2 focus-visible:tw-z-10",
|
|
48
|
+
"tw-flex tw-flex-row tw-items-center tw-justify-center",
|
|
49
|
+
"first:tw-rounded-l last:tw-rounded-r",
|
|
50
|
+
"tw-font-medium",
|
|
51
|
+
"-tw-ml-[1px] first:tw-ml-0",
|
|
52
|
+
],
|
|
53
|
+
dropdownButton: "",
|
|
54
|
+
mainButton: "",
|
|
55
|
+
commentIcon: "",
|
|
56
|
+
},
|
|
57
|
+
variants: {
|
|
58
|
+
selected: {
|
|
59
|
+
true: {
|
|
60
|
+
button: [
|
|
61
|
+
"tw-text-white tw-border-transparent last:tw-ml-[1px]",
|
|
62
|
+
"first:tw-justify-start",
|
|
63
|
+
],
|
|
64
|
+
mainButton: [
|
|
65
|
+
"tw-min-w-[calc(theme(spacing.12)-1px)]"
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
false: {
|
|
69
|
+
button: [
|
|
70
|
+
""
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
size: {
|
|
75
|
+
small: {
|
|
76
|
+
button: [
|
|
77
|
+
"tw-text-2",
|
|
78
|
+
"tw-min-h-6",
|
|
79
|
+
"tw-gap-2",
|
|
80
|
+
],
|
|
81
|
+
mainButton: [
|
|
82
|
+
"tw-px-3",
|
|
83
|
+
],
|
|
84
|
+
dropdownButton: [
|
|
85
|
+
"tw-px-2.5"
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
medium: {
|
|
89
|
+
button: [
|
|
90
|
+
"tw-text-3",
|
|
91
|
+
"tw-min-h-8",
|
|
92
|
+
"tw-gap-2",
|
|
93
|
+
],
|
|
94
|
+
mainButton: [
|
|
95
|
+
"tw-px-3",
|
|
96
|
+
],
|
|
97
|
+
dropdownButton: [
|
|
98
|
+
"tw-px-2.5"
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
large: {
|
|
102
|
+
button: [
|
|
103
|
+
"tw-text-4",
|
|
104
|
+
"tw-min-h-10",
|
|
105
|
+
"tw-gap-2.5",
|
|
106
|
+
],
|
|
107
|
+
mainButton: [
|
|
108
|
+
"tw-px-3",
|
|
109
|
+
],
|
|
110
|
+
dropdownButton: [
|
|
111
|
+
"tw-px-3"
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
disabled: {
|
|
116
|
+
true: {},
|
|
117
|
+
false: {}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
compoundVariants: [
|
|
121
|
+
{
|
|
122
|
+
disabled: true,
|
|
123
|
+
class: {
|
|
124
|
+
buttonContainer: [
|
|
125
|
+
"tw-cursor-not-allowed tw-pointer-events-none",
|
|
126
|
+
],
|
|
127
|
+
button: [
|
|
128
|
+
"tw-cursor-not-allowed",
|
|
129
|
+
"tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
130
|
+
"tw-text-[--bcm-attendance-actions-button-disabled-text]",
|
|
131
|
+
"tw-border-transparent",
|
|
132
|
+
"hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
133
|
+
],
|
|
134
|
+
mainButton: [
|
|
135
|
+
"tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
136
|
+
"tw-text-[--bcm-attendance-actions-button-disabled-text]",
|
|
137
|
+
"tw-border-transparent",
|
|
138
|
+
"hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
139
|
+
"tw-cursor-not-allowed",
|
|
140
|
+
],
|
|
141
|
+
host: [
|
|
142
|
+
"tw-cursor-not-allowed",
|
|
143
|
+
],
|
|
144
|
+
commentIcon: [
|
|
145
|
+
"tw-cursor-not-allowed tw-pointer-events-none",
|
|
146
|
+
],
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
disabled: false,
|
|
151
|
+
class: {
|
|
152
|
+
button: [
|
|
153
|
+
"tw-cursor-pointer",
|
|
154
|
+
],
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
defaultVariants: {
|
|
159
|
+
selected: false,
|
|
160
|
+
size: "medium",
|
|
161
|
+
disabled: false,
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
const attendanceActionsCss = "";
|
|
166
|
+
|
|
167
|
+
const BcmAttendanceActions = class {
|
|
168
|
+
constructor(hostRef) {
|
|
169
|
+
index$1.registerInstance(this, hostRef);
|
|
170
|
+
this.change = index$1.createEvent(this, "bcm-attendance-change", 3);
|
|
171
|
+
this._id = generate.Generate.UID();
|
|
172
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
173
|
+
this.disabled = false;
|
|
174
|
+
this.data = [
|
|
175
|
+
{ key: "P", value: "Present", color: "emerald", icon: "fa-solid fa-check", priority: 0 },
|
|
176
|
+
{ key: "A", value: "Absent", color: "red", icon: "fa-solid fa-times", priority: 1 },
|
|
177
|
+
{ key: "L", value: "Late", color: "amber", icon: "fa-solid fa-clock", priority: 2 },
|
|
178
|
+
{ key: "C", value: "Other Authorised Circumstance", color: "blue", icon: "fa-solid fa-question" },
|
|
179
|
+
{ key: "E", value: "Exlude", color: "blue", icon: "fa-solid fa-minus" },
|
|
180
|
+
{ key: "G", value: "Family Holiday", color: "blue", icon: "fa-solid fa-minus" },
|
|
181
|
+
{ key: "H", value: "Family Holiday (Agreed)", color: "blue", icon: "fa-solid fa-minus" },
|
|
182
|
+
{ key: "I", value: "Illness", color: "blue", icon: "fa-solid fa-minus" },
|
|
183
|
+
{ key: "J", value: "Intervier", color: "blue", icon: "fa-solid fa-minus" },
|
|
184
|
+
{ key: "M", value: "Medical / Dental", color: "blue", icon: "fa-solid fa-minus" },
|
|
185
|
+
{ key: "N", value: "No Reason yet PRovided", color: "blue", icon: "fa-solid fa-minus" },
|
|
186
|
+
{ key: "O", value: "Unauthrised Absence", color: "blue", icon: "fa-solid fa-minus" },
|
|
187
|
+
{ key: "U", value: "Late after Reg. Closed", color: "blue", icon: "fa-solid fa-minus" },
|
|
188
|
+
{ key: "X", value: "Non-comp School Age Absence", color: "blue", icon: "fa-solid fa-minus" },
|
|
189
|
+
];
|
|
190
|
+
this.lateKeys = "L";
|
|
191
|
+
this.hideComment = false;
|
|
192
|
+
}
|
|
193
|
+
get selectedItem() {
|
|
194
|
+
return this.data.find(item => item.selected);
|
|
195
|
+
}
|
|
196
|
+
get priorityButtons() {
|
|
197
|
+
return this.data.filter(item => item.priority !== undefined).sort((a, b) => a.priority - b.priority);
|
|
198
|
+
}
|
|
199
|
+
get renderButtons() {
|
|
200
|
+
const { selectedItem, priorityButtons } = this;
|
|
201
|
+
return [...(selectedItem ? [selectedItem] : priorityButtons.length ? priorityButtons : this.data.slice(0, 3))];
|
|
202
|
+
}
|
|
203
|
+
get lateKeysMap() {
|
|
204
|
+
return this.lateKeys.toLocaleLowerCase().split(",");
|
|
205
|
+
}
|
|
206
|
+
get isLate() {
|
|
207
|
+
var _a, _b;
|
|
208
|
+
return this.lateKeysMap.includes((_b = (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase());
|
|
209
|
+
}
|
|
210
|
+
get dropdownMenuElement() {
|
|
211
|
+
return document.getElementById("attendance-dropdown-" + this._id);
|
|
212
|
+
}
|
|
213
|
+
get commentAreaElement() {
|
|
214
|
+
return document.getElementById("comment-" + this._id);
|
|
215
|
+
}
|
|
216
|
+
handleSelectItem(item, triggerChange = true, showComment = true) {
|
|
217
|
+
var _a, _b;
|
|
218
|
+
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()) })); })];
|
|
219
|
+
(_a = this.dropdownMenuElement) === null || _a === void 0 ? void 0 : _a.hide();
|
|
220
|
+
(_b = this.commentAreaElement) === null || _b === void 0 ? void 0 : _b.hide();
|
|
221
|
+
if (!this.isLate)
|
|
222
|
+
return triggerChange && this.changed();
|
|
223
|
+
!this.hideComment && showComment && this.commentArea();
|
|
224
|
+
}
|
|
225
|
+
changed() {
|
|
226
|
+
this.change.emit(this.selectedItem);
|
|
227
|
+
}
|
|
228
|
+
hasDataForKey(key) {
|
|
229
|
+
return !!this.data.find(item => item.key.toLocaleLowerCase() === key.toLocaleLowerCase());
|
|
230
|
+
}
|
|
231
|
+
handleKeyPress({ key }) {
|
|
232
|
+
if (!this.hasDataForKey(key))
|
|
233
|
+
return;
|
|
234
|
+
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()); });
|
|
235
|
+
this.handleSelectItem(item);
|
|
236
|
+
}
|
|
237
|
+
handleSave(lateMinutes, comment) {
|
|
238
|
+
this.data = [...this.data].map(item => {
|
|
239
|
+
var _a, _b, _c;
|
|
240
|
+
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())) {
|
|
241
|
+
return Object.assign(Object.assign({}, item), { lateMin: lateMinutes, comment });
|
|
242
|
+
}
|
|
243
|
+
return item;
|
|
244
|
+
});
|
|
245
|
+
this.changed();
|
|
246
|
+
}
|
|
247
|
+
dropdownMenu() {
|
|
248
|
+
var _a;
|
|
249
|
+
const dropdownMenu = generate.Generate.createComponent("bcm-attendance-actions-dropdown", {
|
|
250
|
+
id: "attendance-dropdown-" + this._id,
|
|
251
|
+
size: this.size,
|
|
252
|
+
data: this.data,
|
|
253
|
+
selectedKey: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key,
|
|
254
|
+
targetId: "attendance-dropdown-button-" + this._id,
|
|
255
|
+
});
|
|
256
|
+
dropdownMenu.addEventListener("bcm-attendance-actions-dropdown-change", ({ detail }) => {
|
|
257
|
+
this.handleSelectItem(detail);
|
|
258
|
+
});
|
|
259
|
+
dropdownMenu.show();
|
|
260
|
+
}
|
|
261
|
+
commentArea() {
|
|
262
|
+
var _a, _b;
|
|
263
|
+
const commentArea = generate.Generate.createComponent("bcm-attendance-actions-comment", {
|
|
264
|
+
id: "comment-" + this._id,
|
|
265
|
+
size: this.size,
|
|
266
|
+
isLate: this.isLate,
|
|
267
|
+
targetId: "comment-area-" + this._id,
|
|
268
|
+
selectedItem: this.selectedItem,
|
|
269
|
+
lateMinutes: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.lateMin,
|
|
270
|
+
comment: (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment,
|
|
271
|
+
});
|
|
272
|
+
commentArea.addEventListener("bcm-attendance-actions-comment-change", ({ detail }) => {
|
|
273
|
+
this.handleSave(detail.lateMinutes, detail.comment);
|
|
274
|
+
});
|
|
275
|
+
commentArea.show();
|
|
276
|
+
}
|
|
277
|
+
async set(key, triggerChange = true) {
|
|
278
|
+
if (!this.hasDataForKey(key))
|
|
279
|
+
return;
|
|
280
|
+
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()); });
|
|
281
|
+
this.handleSelectItem(item, triggerChange, false);
|
|
282
|
+
}
|
|
283
|
+
async get() {
|
|
284
|
+
return this.selectedItem;
|
|
285
|
+
}
|
|
286
|
+
render() {
|
|
287
|
+
var _a, _b, _c;
|
|
288
|
+
const { selectedItem, renderButtons, disabled, hideComment, size } = this;
|
|
289
|
+
const { host, buttonContainer, button, dropdownButton, commentIcon, mainButton } = attendanceActionStyle({
|
|
290
|
+
selected: !!selectedItem,
|
|
291
|
+
size,
|
|
292
|
+
disabled,
|
|
293
|
+
});
|
|
294
|
+
const buttonStyle = !!selectedItem
|
|
295
|
+
? generate.Generate.getTwColor({
|
|
296
|
+
color: (_a = selectedItem.color) !== null && _a !== void 0 ? _a : "blue",
|
|
297
|
+
tones: {
|
|
298
|
+
600: ["bg"],
|
|
299
|
+
700: ["hover-bg"],
|
|
300
|
+
800: ["active-bg"],
|
|
301
|
+
},
|
|
302
|
+
variable: "--bcm-attendance-actions-button",
|
|
303
|
+
})
|
|
304
|
+
: {};
|
|
305
|
+
const buttonAttributes = {
|
|
306
|
+
class: index$2.classnames(button(), mainButton()),
|
|
307
|
+
style: Object.assign({}, buttonStyle),
|
|
308
|
+
disabled,
|
|
309
|
+
type: "button",
|
|
310
|
+
};
|
|
311
|
+
const iconButtonAttributes = Object.assign(Object.assign({}, buttonAttributes), { class: index$2.classnames(button(), dropdownButton()) });
|
|
312
|
+
const isShowCommentIcon = !hideComment && !!selectedItem;
|
|
313
|
+
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) ` : ""}` : "";
|
|
314
|
+
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 :
|
|
315
|
+
renderButtons.map(item => {
|
|
316
|
+
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)));
|
|
317
|
+
}), 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(), {
|
|
318
|
+
"tw-cursor-default": !isShowCommentIcon,
|
|
319
|
+
"tw-cursor-pointer": isShowCommentIcon,
|
|
320
|
+
}), onClick: () => isShowCommentIcon && this.commentArea() }, index$1.h("i", { title: isShowCommentIcon ? commentTooltip : "", class: index$2.classnames("fa-solid fa-comment", {
|
|
321
|
+
"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)),
|
|
322
|
+
"tw-visible": isShowCommentIcon,
|
|
323
|
+
"tw-invisible": !isShowCommentIcon,
|
|
324
|
+
}) }))));
|
|
325
|
+
}
|
|
326
|
+
get el() { return index$1.getElement(this); }
|
|
327
|
+
};
|
|
328
|
+
BcmAttendanceActions.style = attendanceActionsCss;
|
|
329
|
+
|
|
330
|
+
exports.bcm_attendance_actions = BcmAttendanceActions;
|
|
@@ -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-96559082.js');
|
|
11
|
+
require('./package-3357f14d.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-96559082.js');
|
|
13
|
+
require('./number-helper-152e8340.js');
|
|
14
|
+
require('./string-helper-f9184277.js');
|
|
15
|
+
require('./validators-d6a13946.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-3357f14d.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-96559082.js');
|
|
12
12
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-3357f14d.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-96559082.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-3357f14d.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
|
}
|