bromcom-ui 2.10.1-rc.8 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-a1cf7a95.js → p-025c8c2a.js} +1 -1
- package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6edf985f.js → p-034bbcdd.js} +1 -1
- package/dist/bromcom-ui/{p-3ef14eb8.js → p-07351315.js} +1 -1
- package/dist/bromcom-ui/{p-e5da6586.entry.js → p-07e0d057.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14fe40fb.entry.js → p-09b8a530.entry.js} +1 -1
- package/dist/bromcom-ui/p-0ae6bac4.entry.js +5 -0
- package/dist/bromcom-ui/{p-430c0a24.entry.js → p-0efc9196.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c1a992e7.entry.js → p-107f11df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dab56656.entry.js → p-10a88b11.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cc766928.entry.js → p-151b5e1b.entry.js} +1 -1
- package/dist/bromcom-ui/p-1596caaf.entry.js +5 -0
- package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-181f2f4a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-188b9079.entry.js} +1 -1
- package/dist/bromcom-ui/{p-26290ed5.entry.js → p-18bc4e04.entry.js} +1 -1
- package/dist/bromcom-ui/{p-74e6d2b6.js → p-197aba37.js} +1 -1
- package/dist/bromcom-ui/{p-a664cc20.entry.js → p-1a33d7a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-55c2ceb3.entry.js → p-1b04f2bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ee7deb92.js → p-1d1d917d.js} +1 -1
- package/dist/bromcom-ui/{p-fff1a0f9.entry.js → p-1e8559ac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5f3a31ac.entry.js → p-269f7c74.entry.js} +1 -1
- package/dist/bromcom-ui/p-28cb759c.entry.js +5 -0
- package/dist/bromcom-ui/{p-a673ded0.entry.js → p-2e036fec.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0afd0de5.entry.js → p-2ffff840.entry.js} +1 -1
- package/dist/bromcom-ui/p-3182df7e.js +10 -0
- package/dist/bromcom-ui/p-35d6f83d.entry.js +5 -0
- package/dist/bromcom-ui/{p-8fc8465e.entry.js → p-37a49186.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d44629f7.js → p-37df4996.js} +1 -1
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/p-3c4e35c7.entry.js +5 -0
- package/dist/bromcom-ui/p-3c4fbed6.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
- package/dist/bromcom-ui/{p-65e822e5.entry.js → p-3cb58e96.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6019525e.entry.js → p-3ef90dfc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14cafd64.entry.js → p-4438d629.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5699f67d.entry.js → p-468157a0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-60530295.entry.js → p-46abab59.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61db1f1f.js → p-4798d827.js} +1 -1
- package/dist/bromcom-ui/{p-69260d36.entry.js → p-48f5a3c9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5e10c0d0.entry.js → p-4c1a710e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ece578ef.entry.js → p-4d7ea23c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51b6a14a.entry.js → p-4ded5e14.entry.js} +1 -1
- package/dist/bromcom-ui/p-4fc22565.entry.js +5 -0
- package/dist/bromcom-ui/p-509053bd.entry.js +5 -0
- package/dist/bromcom-ui/{p-47e635a4.js → p-536b15e0.js} +1 -1
- package/dist/bromcom-ui/p-5436ddd6.js +5 -0
- package/dist/bromcom-ui/p-545b73c2.entry.js +5 -0
- package/dist/bromcom-ui/p-551c72ee.entry.js +5 -0
- package/dist/bromcom-ui/{p-7a41aa71.entry.js → p-58af1aef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
- package/dist/bromcom-ui/{p-90dab132.entry.js → p-5b0742ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-68783ef4.js → p-5b0cae60.js} +1 -1
- package/dist/bromcom-ui/p-5dac2714.entry.js +5 -0
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/p-5eeccb39.entry.js +5 -0
- package/dist/bromcom-ui/{p-6a95fe9c.entry.js → p-627fa674.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d551a51d.entry.js → p-63138ee5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-19f27bd8.entry.js → p-6de81bd3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-6e7bb16f.entry.js} +1 -1
- package/dist/bromcom-ui/p-6f00f65d.entry.js +5 -0
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/p-76edf59f.js +7 -0
- package/dist/bromcom-ui/p-77035c08.entry.js +5 -0
- package/dist/bromcom-ui/{p-b159de87.entry.js → p-78aa3b87.entry.js} +1 -1
- package/dist/bromcom-ui/{p-626b805d.entry.js → p-7a89243a.entry.js} +1 -1
- package/dist/bromcom-ui/p-7e3209a0.js +14 -0
- package/dist/bromcom-ui/{p-b93574f2.entry.js → p-895431f3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a25c8a55.js → p-8a92f2bf.js} +1 -1
- package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
- package/dist/bromcom-ui/p-90358ed5.entry.js +5 -0
- package/dist/bromcom-ui/{p-fb68d2b9.entry.js → p-927c1d95.entry.js} +1 -1
- package/dist/bromcom-ui/{p-157359d6.js → p-94554e42.js} +1 -1
- package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-95a2c489.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3ef0b082.entry.js → p-9691ee8f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-773efa33.entry.js → p-9a72c525.entry.js} +1 -1
- package/dist/bromcom-ui/{p-52ff9dba.entry.js → p-9b8d0870.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5333b8a9.entry.js → p-9e49975e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d60d61ef.entry.js → p-a274bcd9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6ae3b6a6.entry.js → p-a7a58c76.entry.js} +1 -1
- package/dist/bromcom-ui/p-a967a06e.entry.js +5 -0
- package/dist/bromcom-ui/{p-4fa87784.entry.js → p-b78c36e9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df3caf0b.entry.js → p-b90ca5bc.entry.js} +1 -1
- package/dist/bromcom-ui/p-baf4fb9c.js +5 -0
- package/dist/bromcom-ui/{p-5c671967.entry.js → p-bca72f17.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6041dfd1.entry.js → p-bebb0c4e.entry.js} +1 -1
- package/dist/bromcom-ui/p-bed627ab.js +11 -0
- package/dist/bromcom-ui/{p-3572e61d.entry.js → p-bfccb78e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d524c5ad.entry.js → p-c0df6b14.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e35d7cdb.entry.js → p-c55b0a94.entry.js} +1 -1
- package/dist/bromcom-ui/p-c8c05178.entry.js +5 -0
- package/dist/bromcom-ui/{p-8e1446c2.entry.js → p-cc8be50c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-34b8c656.entry.js → p-cf8d291c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fbcabfc4.entry.js → p-cfc2188d.entry.js} +1 -1
- package/dist/bromcom-ui/p-cfe7a164.entry.js +5 -0
- package/dist/bromcom-ui/{p-7e5c626f.entry.js → p-d0f33e65.entry.js} +1 -1
- package/dist/bromcom-ui/p-d4d3c135.entry.js +5 -0
- package/dist/bromcom-ui/{p-40b85b9b.entry.js → p-dbea0599.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9a4ec5cd.entry.js → p-dc8e177d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a78f916.entry.js → p-de6b516a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/p-e18a6a5b.entry.js +5 -0
- package/dist/bromcom-ui/p-e1ce3cfc.js +5 -0
- package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e32ab4da.entry.js} +1 -1
- package/dist/bromcom-ui/{p-158e239a.js → p-e442fd4c.js} +1 -1
- package/dist/bromcom-ui/{p-85eedabc.js → p-e45c1546.js} +1 -1
- package/dist/bromcom-ui/{p-0bfcafe6.entry.js → p-e4639bad.entry.js} +1 -1
- package/dist/bromcom-ui/p-e4b42f26.js +5 -0
- package/dist/bromcom-ui/{p-38881f2d.entry.js → p-e53bafc8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-959bd1f2.entry.js → p-eb956eea.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14fd3758.entry.js → p-ec50e7e4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-125d6ed0.js → p-ed9d082d.js} +1 -1
- package/dist/bromcom-ui/{p-2b732ae9.entry.js → p-efe995fb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-287e0daf.entry.js → p-f2948b08.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e2d8ea02.entry.js → p-f680271c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-99824717.entry.js → p-f9119bec.entry.js} +1 -1
- package/dist/bromcom-ui/p-f93bcd16.entry.js +5 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +136 -0
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +101 -0
- 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 +4 -4
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button.cjs.entry.js +372 -0
- package/dist/cjs/bcm-caption.cjs.entry.js +5 -5
- package/dist/cjs/bcm-card.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
- package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +17440 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date.cjs.entry.js +182 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form.cjs.entry.js +492 -0
- package/dist/cjs/bcm-icon.cjs.entry.js +39 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-input_2.cjs.entry.js +550 -0
- package/dist/cjs/bcm-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-items.cjs.entry.js +2 -2
- package/dist/cjs/bcm-label_2.cjs.entry.js +135 -0
- package/dist/cjs/bcm-list_3.cjs.entry.js +19 -17
- package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
- package/dist/cjs/bcm-number-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-old-input.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popover.cjs.entry.js +4 -4
- package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
- package/dist/cjs/bcm-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-radio.cjs.entry.js +4 -4
- package/dist/cjs/bcm-range.cjs.entry.js +3 -3
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +9391 -0
- package/dist/cjs/bcm-shortcut.cjs.entry.js +4 -4
- package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +5 -5
- package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
- package/dist/cjs/bcm-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tab-item.cjs.entry.js +4 -4
- package/dist/cjs/bcm-table.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +2 -2
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{generate-519a6f60.js → generate-2ba77a51.js} +8 -12
- package/dist/cjs/{global-24e9cd51.js → global-83c7a742.js} +1 -1
- package/dist/cjs/index-3d67f613.js +1610 -0
- package/dist/cjs/{index-7eed931f.js → index-e05a7c6f.js} +24 -1625
- package/dist/cjs/{input-template-ca9b1a22.js → input-template-7cc31eec.js} +1 -1
- package/dist/cjs/{json-parse-decarator-317c4169.js → json-parse-decarator-7e7c2a0b.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/moment-d06b012f.js +4601 -0
- package/dist/cjs/{number-helper-2a2c064b.js → number-helper-af985650.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
- package/dist/cjs/{package-ea2a6174.js → package-63c2f54e.js} +1 -1
- package/dist/cjs/{stepper-states-3728e4c6.js → stepper-states-ef6a0181.js} +1 -1
- package/dist/cjs/{tooltip-helper-51fdcf10.js → tooltip-helper-f38c67f4.js} +3 -3
- package/dist/cjs/{validators-d3fdc836.js → validators-e6dd5dca.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/atoms/label/label.js +1 -1
- package/dist/collection/components/molecules/linked/linked.js +23 -0
- package/dist/collection/components/molecules/range/range.js +1 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +47 -0
- package/dist/collection/components/organism/form/form.js +9 -0
- package/dist/collection/components/organism/list/list.js +4 -4
- package/dist/collection/components/other/attendance-actions/attendance-actions-comment.js +313 -0
- package/dist/collection/components/other/attendance-actions/attendance-actions-comment.style.js +27 -0
- package/dist/collection/components/other/attendance-actions/attendance-actions-dropdown.js +253 -0
- package/dist/collection/components/other/attendance-actions/attendance-actions-dropdown.style.js +34 -0
- package/dist/collection/components/other/attendance-actions/attendance-actions.css +0 -0
- package/dist/collection/components/other/attendance-actions/attendance-actions.js +363 -0
- package/dist/collection/components/other/attendance-actions/attendance-actions.style.js +143 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.css +47 -0
- package/dist/collection/helper/generate.js +7 -11
- package/dist/collection/templates/list-item-template.js +3 -2
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bcm-attendance-actions-comment.d.ts +11 -0
- package/dist/components/bcm-attendance-actions-comment.js +208 -0
- package/dist/components/bcm-attendance-actions-dropdown.d.ts +11 -0
- package/dist/components/bcm-attendance-actions-dropdown.js +118 -0
- package/dist/components/bcm-attendance-actions.d.ts +11 -0
- package/dist/components/bcm-attendance-actions.js +346 -0
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-caption.js +3 -3
- package/dist/components/bcm-checkbox-group.js +1 -1
- package/dist/components/bcm-chip-group.js +1 -1
- package/dist/components/bcm-date-picker.js +1 -1
- package/dist/components/bcm-date.js +1 -1
- package/dist/components/bcm-drawer.js +1 -1
- package/dist/components/bcm-dropdown.js +1 -1
- package/dist/components/bcm-form-2.js +1 -1
- package/dist/components/bcm-form.js +1 -504
- package/dist/components/bcm-input-dropdown.js +1 -1
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-modal-2.js +1 -1
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-number-input.js +1 -1
- package/dist/components/bcm-popconfirm.js +1 -1
- package/dist/components/bcm-popover.js +1 -1
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +1 -1
- package/dist/components/bcm-range.js +2 -2
- package/dist/components/bcm-shortcut.js +1 -1
- package/dist/components/bcm-stepper.js +1 -1
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-group.js +1 -1
- package/dist/components/bcm-tab-item-header.js +1 -1
- package/dist/components/bcm-tag.js +1 -1
- package/dist/components/bcm-time-picker.js +1 -1
- package/dist/components/bcm-toast.js +1 -1
- package/dist/components/bcm.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/datetime-picker.js +2 -2
- package/dist/components/divider.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +513 -0
- package/dist/components/generate.js +8 -12
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/input-template.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/linked.js +7 -1
- package/dist/components/list.js +8 -7
- package/dist/components/old-bcm-popover.js +1 -1
- package/dist/components/old-input.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/rc-picker.js +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/string-helper.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/tooltip-helper.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/esm/{_commonjsHelpers-7002e5de.js → _commonjsHelpers-be0d4ec8.js} +1 -1
- package/dist/esm/bcm-accordion.entry.js +5 -5
- package/dist/esm/bcm-alert.entry.js +8 -8
- package/dist/esm/bcm-attendance-actions-comment.entry.js +132 -0
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +97 -0
- package/dist/esm/bcm-attendance-actions.entry.js +326 -0
- package/dist/esm/bcm-attendance.entry.js +5 -5
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-avatar_2.entry.js +11 -11
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -6
- package/dist/esm/bcm-button-group.entry.js +7 -7
- package/dist/esm/bcm-button.entry.js +368 -0
- package/dist/esm/bcm-caption.entry.js +14 -14
- package/dist/esm/bcm-card.entry.js +10 -10
- package/dist/esm/bcm-checkbox-group.entry.js +10 -10
- package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -7
- package/dist/esm/bcm-checkbox_2.entry.js +189 -0
- package/dist/esm/bcm-chip-group.entry.js +14 -14
- package/dist/esm/bcm-chip.entry.js +8 -8
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +6 -6
- package/dist/esm/bcm-color-input.entry.js +11 -11
- package/dist/esm/bcm-colorful_2.entry.js +17435 -0
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +8 -8
- package/dist/esm/bcm-date.entry.js +178 -0
- package/dist/esm/bcm-datetime-picker.entry.js +13 -13
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-drawer.entry.js +12 -12
- package/dist/esm/bcm-dropdown.entry.js +8 -8
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +9 -9
- package/dist/esm/bcm-form-2.entry.js +7 -7
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-form.entry.js +488 -0
- package/dist/esm/bcm-icon.entry.js +35 -0
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +13 -13
- package/dist/esm/bcm-input_2.entry.js +545 -0
- package/dist/esm/bcm-item.entry.js +8 -8
- package/dist/esm/bcm-items.entry.js +6 -6
- package/dist/esm/bcm-label_2.entry.js +130 -0
- package/dist/esm/bcm-link.entry.js +3 -3
- package/dist/esm/bcm-list_3.entry.js +26 -24
- package/dist/esm/bcm-menu.entry.js +14 -14
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
- package/dist/esm/bcm-modal-2-header.entry.js +11 -11
- package/dist/esm/bcm-modal-2.entry.js +12 -12
- package/dist/esm/bcm-modal.entry.js +8 -8
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +13 -13
- package/dist/esm/bcm-old-input.entry.js +6 -6
- package/dist/esm/bcm-old-tag_2.entry.js +4 -4
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
- package/dist/esm/bcm-popconfirm.entry.js +6 -6
- package/dist/esm/bcm-popover.entry.js +11 -11
- package/dist/esm/bcm-progress.entry.js +8 -8
- package/dist/esm/bcm-radio-group.entry.js +14 -14
- package/dist/esm/bcm-radio.entry.js +12 -12
- package/dist/esm/bcm-range.entry.js +8 -8
- package/dist/esm/bcm-rc-picker.entry.js +9387 -0
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-select.entry.js +5 -5
- package/dist/esm/bcm-shortcut.entry.js +12 -12
- package/dist/esm/bcm-skeleton.entry.js +11 -11
- package/dist/esm/bcm-step.entry.js +8 -8
- package/dist/esm/bcm-stepper.entry.js +14 -14
- package/dist/esm/bcm-switch.entry.js +147 -0
- package/dist/esm/bcm-tab-group.entry.js +11 -11
- package/dist/esm/bcm-tab-item-header.entry.js +12 -12
- package/dist/esm/bcm-tab-item.entry.js +11 -11
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +12 -12
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tabs.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +8 -8
- package/dist/esm/bcm-text.entry.js +8 -8
- package/dist/esm/bcm-time-picker.entry.js +8 -8
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +8 -8
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-0c32ce16.js → caption-template-b5210fba.js} +2 -2
- package/dist/esm/{color-helper-845ba523.js → color-helper-c4fa9ebc.js} +2 -2
- package/dist/esm/{colors-ebea297f.js → colors-e1c31f79.js} +1 -1
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
- package/dist/esm/{generate-172d2481.js → generate-7b9db394.js} +9 -13
- package/dist/esm/{global-d0158081.js → global-5a56dbcb.js} +2 -2
- package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
- package/dist/esm/{index-e4b6a4ce.js → index-a6d9d0af.js} +26 -1612
- package/dist/esm/{index-00c8a8f7.js → index-b84bc8c9.js} +1 -1
- package/dist/esm/index-c4568336.js +1594 -0
- package/dist/esm/{index-7e71bbc8.js → index-f38e3364.js} +1 -1
- package/dist/esm/{input-template-6ce50c6f.js → input-template-56887e94.js} +3 -3
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{json-parse-decarator-3847d8d6.js → json-parse-decarator-70d0d84b.js} +2 -2
- package/dist/esm/{label-template-ad2e8119.js → label-template-b2e8f81d.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/moment-15cd9198.js +4598 -0
- package/dist/esm/{number-helper-36dd7ffd.js → number-helper-847951a8.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +6 -6
- package/dist/esm/{package-1d2d00da.js → package-a6df69df.js} +1 -1
- package/dist/esm/{popover-placement-279ce860.js → popover-placement-e6ed184e.js} +1 -1
- package/dist/esm/{slot-template-9234df88.js → slot-template-481a5ac5.js} +2 -2
- package/dist/esm/{stepper-states-d326813d.js → stepper-states-f49a097b.js} +3 -3
- package/dist/esm/{string-helper-8f5da9ec.js → string-helper-3526c4fe.js} +1 -1
- package/dist/esm/{tooltip-helper-f35ebea5.js → tooltip-helper-b8b00aee.js} +7 -7
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-6ce73b32.js → validators-74e39305.js} +1 -1
- package/dist/types/components/molecules/linked/linked.d.ts +1 -0
- package/dist/types/components/organism/form/form.d.ts +1 -0
- package/dist/types/components/organism/list/list.d.ts +1 -1
- package/dist/types/components/other/attendance-actions/attendance-actions-comment.d.ts +24 -0
- package/dist/types/components/other/attendance-actions/attendance-actions-comment.style.d.ts +52 -0
- package/dist/types/components/other/attendance-actions/attendance-actions-dropdown.d.ts +18 -0
- package/dist/types/components/other/attendance-actions/attendance-actions-dropdown.style.d.ts +100 -0
- package/dist/types/components/other/attendance-actions/attendance-actions.d.ts +29 -0
- package/dist/types/components/other/attendance-actions/attendance-actions.style.d.ts +242 -0
- package/dist/types/components.d.ts +104 -0
- package/dist/types/helper/generate.d.ts +2 -1
- package/dist/types/models/bcm.d.ts +4 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-000670b6.js +0 -5
- package/dist/bromcom-ui/p-1217d1cc.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-3432a82d.js +0 -19
- package/dist/bromcom-ui/p-46f050bf.entry.js +0 -5
- package/dist/bromcom-ui/p-4e5c3c68.entry.js +0 -5
- package/dist/bromcom-ui/p-521ee4d5.entry.js +0 -7
- package/dist/bromcom-ui/p-64fad38b.js +0 -11
- package/dist/bromcom-ui/p-75e93eca.entry.js +0 -5
- package/dist/bromcom-ui/p-8c059c8f.entry.js +0 -5
- package/dist/bromcom-ui/p-8d3b9190.entry.js +0 -5
- package/dist/bromcom-ui/p-8fa8e79c.entry.js +0 -5
- package/dist/bromcom-ui/p-abc44b58.entry.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-b80edd2e.js +0 -5
- package/dist/bromcom-ui/p-bdc3dfe7.entry.js +0 -5
- package/dist/bromcom-ui/p-d493a8eb.entry.js +0 -5
- package/dist/bromcom-ui/p-d85b6c3e.js +0 -5
- package/dist/bromcom-ui/p-f800e665.js +0 -5
- package/dist/cjs/bcm-button_12.cjs.entry.js +0 -33201
- package/dist/cjs/bcm-textarea.cjs.entry.js +0 -163
- package/dist/cjs/bcm-typography.cjs.entry.js +0 -21
- package/dist/esm/bcm-button_12.entry.js +0 -33186
- package/dist/esm/bcm-textarea.entry.js +0 -159
- package/dist/esm/bcm-typography.entry.js +0 -17
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { tv } from "tailwind-variants";
|
|
6
|
+
// --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
|
|
7
|
+
// --bcm-attendance-actions-button-text: #334155; /* slate-700 */
|
|
8
|
+
// --bcm-attendance-actions-button-border: #CBD5E1; /* slate-300 */
|
|
9
|
+
// --bcm-attendance-actions-button-hover-bg: #E2E8F0; /* slate-200 */
|
|
10
|
+
// --bcm-attendance-actions-button-active-bg: #CBD5E1; /* slate-300 */
|
|
11
|
+
// --bcm-attendance-actions-button-disabled-bg: #CBD5E1; /* slate-300 */
|
|
12
|
+
// --bcm-attendance-actions-button-disabled-text: #64748B; /* slate-500 */
|
|
13
|
+
export const attendanceActionStyle = tv({
|
|
14
|
+
slots: {
|
|
15
|
+
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"],
|
|
16
|
+
base: "",
|
|
17
|
+
buttonContainer: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-[168px]",
|
|
18
|
+
button: [
|
|
19
|
+
"",
|
|
20
|
+
"tw-button-reset",
|
|
21
|
+
"tw-flex-1 last:tw-flex-none",
|
|
22
|
+
"tw-bg-[--bcm-attendance-actions-button-bg]",
|
|
23
|
+
"tw-text-[--bcm-attendance-actions-button-text]",
|
|
24
|
+
"tw-border tw-border-solid tw-border-[--bcm-attendance-actions-button-border]",
|
|
25
|
+
"hover:tw-bg-[--bcm-attendance-actions-button-hover-bg]",
|
|
26
|
+
"active:tw-bg-[--bcm-attendance-actions-button-active-bg]",
|
|
27
|
+
"focus-visible:tw-ring-2 focus-visible:tw-ring-offset-2 focus-visible:tw-z-10",
|
|
28
|
+
"tw-flex tw-flex-row tw-items-center tw-justify-center",
|
|
29
|
+
"first:tw-rounded-l last:tw-rounded-r",
|
|
30
|
+
"tw-font-medium",
|
|
31
|
+
"-tw-ml-[1px] first:tw-ml-0",
|
|
32
|
+
],
|
|
33
|
+
dropdownButton: "",
|
|
34
|
+
mainButton: "",
|
|
35
|
+
commentIcon: "",
|
|
36
|
+
},
|
|
37
|
+
variants: {
|
|
38
|
+
selected: {
|
|
39
|
+
true: {
|
|
40
|
+
button: [
|
|
41
|
+
"tw-text-white tw-border-transparent last:tw-ml-[1px]",
|
|
42
|
+
"first:tw-justify-start",
|
|
43
|
+
],
|
|
44
|
+
mainButton: [
|
|
45
|
+
"tw-min-w-[calc(theme(spacing.12)-1px)]"
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
false: {
|
|
49
|
+
button: [
|
|
50
|
+
""
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
small: {
|
|
56
|
+
button: [
|
|
57
|
+
"tw-text-2",
|
|
58
|
+
"tw-min-h-6",
|
|
59
|
+
"tw-gap-2",
|
|
60
|
+
],
|
|
61
|
+
mainButton: [
|
|
62
|
+
"tw-px-3",
|
|
63
|
+
],
|
|
64
|
+
dropdownButton: [
|
|
65
|
+
"tw-px-2.5"
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
medium: {
|
|
69
|
+
button: [
|
|
70
|
+
"tw-text-3",
|
|
71
|
+
"tw-min-h-8",
|
|
72
|
+
"tw-gap-2",
|
|
73
|
+
],
|
|
74
|
+
mainButton: [
|
|
75
|
+
"tw-px-3",
|
|
76
|
+
],
|
|
77
|
+
dropdownButton: [
|
|
78
|
+
"tw-px-2.5"
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
large: {
|
|
82
|
+
button: [
|
|
83
|
+
"tw-text-4",
|
|
84
|
+
"tw-min-h-10",
|
|
85
|
+
"tw-gap-2.5",
|
|
86
|
+
],
|
|
87
|
+
mainButton: [
|
|
88
|
+
"tw-px-3",
|
|
89
|
+
],
|
|
90
|
+
dropdownButton: [
|
|
91
|
+
"tw-px-3"
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
disabled: {
|
|
96
|
+
true: {},
|
|
97
|
+
false: {}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
compoundVariants: [
|
|
101
|
+
{
|
|
102
|
+
disabled: true,
|
|
103
|
+
class: {
|
|
104
|
+
buttonContainer: [
|
|
105
|
+
"tw-cursor-not-allowed tw-pointer-events-none",
|
|
106
|
+
],
|
|
107
|
+
button: [
|
|
108
|
+
"tw-cursor-not-allowed",
|
|
109
|
+
"tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
110
|
+
"tw-text-[--bcm-attendance-actions-button-disabled-text]",
|
|
111
|
+
"tw-border-transparent",
|
|
112
|
+
"hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
113
|
+
],
|
|
114
|
+
mainButton: [
|
|
115
|
+
"tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
116
|
+
"tw-text-[--bcm-attendance-actions-button-disabled-text]",
|
|
117
|
+
"tw-border-transparent",
|
|
118
|
+
"hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
|
|
119
|
+
"tw-cursor-not-allowed",
|
|
120
|
+
],
|
|
121
|
+
host: [
|
|
122
|
+
"tw-cursor-not-allowed",
|
|
123
|
+
],
|
|
124
|
+
commentIcon: [
|
|
125
|
+
"tw-cursor-not-allowed tw-pointer-events-none",
|
|
126
|
+
],
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
disabled: false,
|
|
131
|
+
class: {
|
|
132
|
+
button: [
|
|
133
|
+
"tw-cursor-pointer",
|
|
134
|
+
],
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
defaultVariants: {
|
|
139
|
+
selected: false,
|
|
140
|
+
size: "medium",
|
|
141
|
+
disabled: false,
|
|
142
|
+
},
|
|
143
|
+
});
|
|
@@ -518,4 +518,51 @@ input[type=number] {
|
|
|
518
518
|
|
|
519
519
|
.input-small {
|
|
520
520
|
height: 24px;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.bcm-label {
|
|
524
|
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
525
|
+
-webkit-font-smoothing: antialiased;
|
|
526
|
+
-moz-osx-font-smoothing: grayscale;
|
|
527
|
+
margin-bottom: 4px;
|
|
528
|
+
font-weight: 500;
|
|
529
|
+
color: #475569;
|
|
530
|
+
}
|
|
531
|
+
.bcm-label.tw-text-1 {
|
|
532
|
+
font-size: 10px;
|
|
533
|
+
line-height: 18px;
|
|
534
|
+
}
|
|
535
|
+
.bcm-label.tw-text-2 {
|
|
536
|
+
font-size: 12px;
|
|
537
|
+
line-height: 20px;
|
|
538
|
+
}
|
|
539
|
+
.bcm-label.tw-text-3 {
|
|
540
|
+
font-size: 14px;
|
|
541
|
+
line-height: 22px;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.bcm-caption-area {
|
|
545
|
+
color: #dc2626;
|
|
546
|
+
font-weight: 400;
|
|
547
|
+
justify-content: space-between;
|
|
548
|
+
align-items: flex-start;
|
|
549
|
+
flex-direction: row;
|
|
550
|
+
min-height: 20px;
|
|
551
|
+
display: flex;
|
|
552
|
+
margin-top: 4px;
|
|
553
|
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
554
|
+
-webkit-font-smoothing: antialiased;
|
|
555
|
+
-moz-osx-font-smoothing: grayscale;
|
|
556
|
+
}
|
|
557
|
+
.bcm-caption-area.tw-text-1 {
|
|
558
|
+
font-size: 10px;
|
|
559
|
+
line-height: 18px;
|
|
560
|
+
}
|
|
561
|
+
.bcm-caption-area.tw-text-2 {
|
|
562
|
+
font-size: 12px;
|
|
563
|
+
line-height: 20px;
|
|
564
|
+
}
|
|
565
|
+
.bcm-caption-area.tw-text-3 {
|
|
566
|
+
font-size: 14px;
|
|
567
|
+
line-height: 22px;
|
|
521
568
|
}
|
|
@@ -119,24 +119,20 @@ Generate.getIconAttrWithStatusType = (status, loading = false) => {
|
|
|
119
119
|
return { icon: "far fa-check-circle" };
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
Generate.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
container.style.visibility = "hidden";
|
|
129
|
-
container.style.opacity = "0";
|
|
130
|
-
}
|
|
122
|
+
Generate.domParser = (html) => {
|
|
123
|
+
const parser = new DOMParser();
|
|
124
|
+
const doc = parser.parseFromString(html, "text/html");
|
|
125
|
+
return doc.body.innerText;
|
|
126
|
+
};
|
|
127
|
+
Generate.createComponent = (el, props) => {
|
|
131
128
|
let element = document.getElementById(props.id);
|
|
132
129
|
if (!element) {
|
|
133
130
|
element = document.createElement(el);
|
|
134
131
|
}
|
|
135
|
-
// debugger;
|
|
136
132
|
Object.keys(props).forEach(key => {
|
|
137
133
|
element[key] = props[key];
|
|
138
134
|
});
|
|
139
|
-
container.appendChild(element);
|
|
135
|
+
document.getElementById("bcm-overlay-container").appendChild(element);
|
|
140
136
|
return element;
|
|
141
137
|
};
|
|
142
138
|
Generate.createElement = (tag = "div", props) => {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { h } from '@stencil/core';
|
|
6
6
|
import cs from 'classnames';
|
|
7
|
-
import { StringHelper } from '../helper/string-helper';
|
|
8
7
|
import { CheckboxTemplate } from './checkbox-template';
|
|
8
|
+
import { Generate, StringHelper } from '@bcm/helpers';
|
|
9
9
|
export const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selectedItem, openGroup, checkedItem, focusItem, searchIsOnlyChilds }) => {
|
|
10
10
|
const isHaveChildren = item.items && item.items.length > 0;
|
|
11
11
|
var text = StringHelper.htmlEntities(item.text);
|
|
@@ -24,6 +24,7 @@ export const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size,
|
|
|
24
24
|
intersection = match.filter(x => keys.includes(x));
|
|
25
25
|
}
|
|
26
26
|
text = item.isHtmlContent ? item.isHtmlContent : item.template && intersection.length > 0 ? StringHelper.templateParser(item.template, Object.assign(Object.assign({}, item.itemObject), { text })) : text;
|
|
27
|
+
const domText = item.template ? text : Generate.domParser(text);
|
|
27
28
|
const unClickable = !treeview && item.type == "group" && !item.clickable;
|
|
28
29
|
const disabled = item.disabled;
|
|
29
30
|
const readonly = item.readonly;
|
|
@@ -46,6 +47,6 @@ export const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size,
|
|
|
46
47
|
'bcm-list__item-' + size, {
|
|
47
48
|
'bcm-list__item--group': !treeview && item.type == 'group',
|
|
48
49
|
'bcm-list__item--readonly': readonly,
|
|
49
|
-
}) }, h("div", { class: cs('bcm-list__item-content', !checkboxes && item.selected && 'selected', { disabled: disabled }) }, treeview && (h("div", { class: "bcm-list__item-content-collapse-icon", onClick: () => collapseClick() }, isHaveChildren && h("bcm-icon", { icon: cs('fas fa-caret-' + (item.isSearching || item.open ? 'down' : 'right')) }))), h("div", { class: cs('bcm-list__item-content-text', { treeview }), onClick: (e) => itemClick(e) }, checkboxes && (treeview || (!treeview && item.type != 'group')) && (h("div", { class: "bcm-list__item-content-text-checkbox" }, h(CheckboxTemplate, { indeterminate: item.indeterminate, checked: item.checked, disabled: item.disabled }))), h("span", Object.assign({ class: "bcm-list__item-content-text-inner" }, (item.title && { "title": item.title }), { innerHTML:
|
|
50
|
+
}) }, h("div", { class: cs('bcm-list__item-content', !checkboxes && item.selected && 'selected', { disabled: disabled }) }, treeview && (h("div", { class: "bcm-list__item-content-collapse-icon", onClick: () => collapseClick() }, isHaveChildren && h("bcm-icon", { icon: cs('fas fa-caret-' + (item.isSearching || item.open ? 'down' : 'right')) }))), h("div", { class: cs('bcm-list__item-content-text', { treeview }), onClick: (e) => itemClick(e) }, checkboxes && (treeview || (!treeview && item.type != 'group')) && (h("div", { class: "bcm-list__item-content-text-checkbox" }, h(CheckboxTemplate, { indeterminate: item.indeterminate, checked: item.checked, disabled: item.disabled }))), h("span", Object.assign({ class: "bcm-list__item-content-text-inner" }, (item.title && { "title": item.title }), { innerHTML: domText })))), (treeview || !treeview && item.type == "group") && isHaveChildren && (h("div", { class: "bcm-list__item-childs" }, (item.isSearching || item.open || (!treeview && item.type == "group")) &&
|
|
50
51
|
item.items.map((item) => (h(ListItemTemplate, { highlight: highlight, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, size: size, selectedItem: selectedItem, checkedItem: checkedItem, openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) })))))));
|
|
51
52
|
};
|
|
@@ -9,7 +9,7 @@ import { G as Generate } from './generate.js';
|
|
|
9
9
|
import './number-helper.js';
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
|
-
import {
|
|
12
|
+
import { B as Bcm } from './bcm.js';
|
|
13
13
|
import { c as ce } from './index5.js';
|
|
14
14
|
import { d as defineCustomElement$2 } from './badge.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './icon.js';
|
package/dist/components/badge.js
CHANGED
|
@@ -9,7 +9,7 @@ import { G as Generate } from './generate.js';
|
|
|
9
9
|
import './number-helper.js';
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
|
-
import {
|
|
12
|
+
import { B as Bcm } from './bcm.js';
|
|
13
13
|
import { c as ce } from './index5.js';
|
|
14
14
|
|
|
15
15
|
const badgeStyle = ce({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmAttendanceActionsComment extends Components.BcmAttendanceActionsComment, HTMLElement {}
|
|
4
|
+
export const BcmAttendanceActionsComment: {
|
|
5
|
+
prototype: BcmAttendanceActionsComment;
|
|
6
|
+
new (): BcmAttendanceActionsComment;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import './color-helper.js';
|
|
7
|
+
import './validators.js';
|
|
8
|
+
import { G as Generate } from './generate.js';
|
|
9
|
+
import './number-helper.js';
|
|
10
|
+
import './string-helper.js';
|
|
11
|
+
import './element-dragger.js';
|
|
12
|
+
import { F as FloatingUI } from './floating-ui.js';
|
|
13
|
+
import { B as Bcm } from './bcm.js';
|
|
14
|
+
import { c as ce } from './index5.js';
|
|
15
|
+
import { d as defineCustomElement$a } from './button.js';
|
|
16
|
+
import { d as defineCustomElement$9 } from './colorful.js';
|
|
17
|
+
import { d as defineCustomElement$8 } from './form.js';
|
|
18
|
+
import { d as defineCustomElement$7 } from './icon.js';
|
|
19
|
+
import { d as defineCustomElement$6 } from './input.js';
|
|
20
|
+
import { d as defineCustomElement$5 } from './label.js';
|
|
21
|
+
import { d as defineCustomElement$4 } from './linked.js';
|
|
22
|
+
import { d as defineCustomElement$3 } from './textarea.js';
|
|
23
|
+
import { d as defineCustomElement$2 } from './tooltip.js';
|
|
24
|
+
|
|
25
|
+
const attendanceActionCommentStyle = ce({
|
|
26
|
+
slots: {
|
|
27
|
+
host: [
|
|
28
|
+
// "tw-flex tw-h-fit tw-w-full tw-min-w-[288px] tw-flex-col tw-items-start tw-rounded tw-p-4 tw-shadow-2",
|
|
29
|
+
"tw-w-fit",
|
|
30
|
+
"tw-absolute tw-left-0 tw-right-0 tw-z-tooltip tw-opacity-100 tw-transition-opacity tw-duration-300",
|
|
31
|
+
"tw-rounded tw-bg-white tw-shadow",
|
|
32
|
+
"bcm-ui-element bcm-attendance-actions tw-flex tw-flex-col tw-items-start tw-justify-start tw-p-4 tw-font-medium tw-text-slate-700",
|
|
33
|
+
],
|
|
34
|
+
footer: ["tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2 "],
|
|
35
|
+
},
|
|
36
|
+
variants: {
|
|
37
|
+
size: {
|
|
38
|
+
small: {},
|
|
39
|
+
medium: {},
|
|
40
|
+
large: {},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
defaultVariants: {
|
|
44
|
+
size: "medium",
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
const BcmAttendanceActionsComment$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
49
|
+
constructor() {
|
|
50
|
+
super();
|
|
51
|
+
this.__registerHost();
|
|
52
|
+
this.change = createEvent(this, "bcm-attendance-actions-comment-change", 3);
|
|
53
|
+
this.lateMinutes = null;
|
|
54
|
+
this.comment = null;
|
|
55
|
+
this._id = Generate.UID();
|
|
56
|
+
this.size = Bcm.Size.medium;
|
|
57
|
+
this.disabled = false;
|
|
58
|
+
this.selectedKey = null;
|
|
59
|
+
this.targetId = null;
|
|
60
|
+
this.isShow = false;
|
|
61
|
+
this.isLate = false;
|
|
62
|
+
this.selectedItem = null;
|
|
63
|
+
}
|
|
64
|
+
handleSave(lateMinutes, comment) {
|
|
65
|
+
this.change.emit({ lateMinutes, comment });
|
|
66
|
+
this.hide();
|
|
67
|
+
}
|
|
68
|
+
async show() {
|
|
69
|
+
const targetElement = document.getElementById(this.targetId);
|
|
70
|
+
FloatingUI({
|
|
71
|
+
ref: targetElement,
|
|
72
|
+
floating: this.el,
|
|
73
|
+
placement: "bottom-end",
|
|
74
|
+
offset: 8,
|
|
75
|
+
arrow: true,
|
|
76
|
+
arrowColor: "tw-bg-white",
|
|
77
|
+
});
|
|
78
|
+
this.isShow = true;
|
|
79
|
+
if (this.isLate) {
|
|
80
|
+
this.focusInput();
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
this.focusTextarea();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
focusInput() {
|
|
87
|
+
const input = this.el.querySelector("bcm-input");
|
|
88
|
+
input === null || input === void 0 ? void 0 : input.onBcmFocus();
|
|
89
|
+
}
|
|
90
|
+
focusTextarea() {
|
|
91
|
+
const textarea = this.el.querySelector("bcm-textarea");
|
|
92
|
+
textarea === null || textarea === void 0 ? void 0 : textarea.onBcmFocus();
|
|
93
|
+
}
|
|
94
|
+
async hide() {
|
|
95
|
+
if (this.isShow) {
|
|
96
|
+
this.el.remove();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
handleClickOutside(event) {
|
|
100
|
+
if (!Generate.findEventPath(event, this.el)) {
|
|
101
|
+
this.hide();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
async formSubmit() {
|
|
105
|
+
var _a, _b, _c;
|
|
106
|
+
const { lateMinutes, comment, isLate } = this;
|
|
107
|
+
if (isLate) {
|
|
108
|
+
if (lateMinutes) {
|
|
109
|
+
if (!(lateMinutes >= 0 && lateMinutes <= 200)) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const { isValid } = await ((_a = this.el.querySelector("bcm-form")) === null || _a === void 0 ? void 0 : _a.submit());
|
|
115
|
+
if (!isValid)
|
|
116
|
+
return;
|
|
117
|
+
this.handleSave(lateMinutes || ((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.lateMin), comment || ((_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.comment));
|
|
118
|
+
}
|
|
119
|
+
render() {
|
|
120
|
+
var _a, _b;
|
|
121
|
+
const { size } = this;
|
|
122
|
+
const { host, footer } = attendanceActionCommentStyle({
|
|
123
|
+
size,
|
|
124
|
+
});
|
|
125
|
+
return (h(Host, { class: host() }, h("bcm-form", { validation: true, style: { width: "256px" } }, this.isLate ? (h("bcm-input", { label: "Minus Late", required: true, name: "lateMin", id: this._id + "-input-dropdown-late-content-input", type: "number", size: this.size, autocomplete: false, "no-margin": true, min: 0, max: 200, value: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", "onBcm-change": ({ detail }) => (this.lateMinutes = detail), onKeyDown: e => {
|
|
126
|
+
if (e.key === "Enter")
|
|
127
|
+
this.formSubmit();
|
|
128
|
+
} }, h("i", { slot: "prefix", class: "far fa-clock" }))) : null, h("bcm-textarea", { name: "comment", value: (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment, size: this.size, "onBcm-change": ({ detail }) => (this.comment = detail), label: "Description", "no-caption": true, rows: 4, onKeyDown: e => {
|
|
129
|
+
if (e.key === "Enter")
|
|
130
|
+
this.formSubmit();
|
|
131
|
+
} }), h("footer", { class: footer() }, h("bcm-button", { class: "tw-order-2", icon: "fas fa-save", "icon-position": "prefix", size: this.size, onClick: () => this.formSubmit() }, "Save"), h("bcm-button", { class: "tw-order-1", icon: "fas fa-times", kind: "ghost", size: this.size, "icon-position": "prefix", onClick: () => this.hide() }, "Close")))));
|
|
132
|
+
}
|
|
133
|
+
get el() { return this; }
|
|
134
|
+
}, [0, "bcm-attendance-actions-comment", {
|
|
135
|
+
"_id": [1537, "id"],
|
|
136
|
+
"size": [1025],
|
|
137
|
+
"disabled": [4],
|
|
138
|
+
"selectedKey": [1025, "selected-key"],
|
|
139
|
+
"targetId": [1, "target-id"],
|
|
140
|
+
"isShow": [1028, "is-show"],
|
|
141
|
+
"isLate": [4, "is-late"],
|
|
142
|
+
"selectedItem": [1040],
|
|
143
|
+
"show": [64],
|
|
144
|
+
"hide": [64]
|
|
145
|
+
}, [[8, "click", "handleClickOutside"]]]);
|
|
146
|
+
function defineCustomElement$1() {
|
|
147
|
+
if (typeof customElements === "undefined") {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
const components = ["bcm-attendance-actions-comment", "bcm-button", "bcm-colorful", "bcm-form", "bcm-icon", "bcm-input", "bcm-label", "bcm-linked", "bcm-textarea", "bcm-tooltip"];
|
|
151
|
+
components.forEach(tagName => { switch (tagName) {
|
|
152
|
+
case "bcm-attendance-actions-comment":
|
|
153
|
+
if (!customElements.get(tagName)) {
|
|
154
|
+
customElements.define(tagName, BcmAttendanceActionsComment$1);
|
|
155
|
+
}
|
|
156
|
+
break;
|
|
157
|
+
case "bcm-button":
|
|
158
|
+
if (!customElements.get(tagName)) {
|
|
159
|
+
defineCustomElement$a();
|
|
160
|
+
}
|
|
161
|
+
break;
|
|
162
|
+
case "bcm-colorful":
|
|
163
|
+
if (!customElements.get(tagName)) {
|
|
164
|
+
defineCustomElement$9();
|
|
165
|
+
}
|
|
166
|
+
break;
|
|
167
|
+
case "bcm-form":
|
|
168
|
+
if (!customElements.get(tagName)) {
|
|
169
|
+
defineCustomElement$8();
|
|
170
|
+
}
|
|
171
|
+
break;
|
|
172
|
+
case "bcm-icon":
|
|
173
|
+
if (!customElements.get(tagName)) {
|
|
174
|
+
defineCustomElement$7();
|
|
175
|
+
}
|
|
176
|
+
break;
|
|
177
|
+
case "bcm-input":
|
|
178
|
+
if (!customElements.get(tagName)) {
|
|
179
|
+
defineCustomElement$6();
|
|
180
|
+
}
|
|
181
|
+
break;
|
|
182
|
+
case "bcm-label":
|
|
183
|
+
if (!customElements.get(tagName)) {
|
|
184
|
+
defineCustomElement$5();
|
|
185
|
+
}
|
|
186
|
+
break;
|
|
187
|
+
case "bcm-linked":
|
|
188
|
+
if (!customElements.get(tagName)) {
|
|
189
|
+
defineCustomElement$4();
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
case "bcm-textarea":
|
|
193
|
+
if (!customElements.get(tagName)) {
|
|
194
|
+
defineCustomElement$3();
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
case "bcm-tooltip":
|
|
198
|
+
if (!customElements.get(tagName)) {
|
|
199
|
+
defineCustomElement$2();
|
|
200
|
+
}
|
|
201
|
+
break;
|
|
202
|
+
} });
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
const BcmAttendanceActionsComment = BcmAttendanceActionsComment$1;
|
|
206
|
+
const defineCustomElement = defineCustomElement$1;
|
|
207
|
+
|
|
208
|
+
export { BcmAttendanceActionsComment, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmAttendanceActionsDropdown extends Components.BcmAttendanceActionsDropdown, HTMLElement {}
|
|
4
|
+
export const BcmAttendanceActionsDropdown: {
|
|
5
|
+
prototype: BcmAttendanceActionsDropdown;
|
|
6
|
+
new (): BcmAttendanceActionsDropdown;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import './color-helper.js';
|
|
7
|
+
import './validators.js';
|
|
8
|
+
import { G as Generate } from './generate.js';
|
|
9
|
+
import './number-helper.js';
|
|
10
|
+
import './string-helper.js';
|
|
11
|
+
import './element-dragger.js';
|
|
12
|
+
import { F as FloatingUI } from './floating-ui.js';
|
|
13
|
+
import { B as Bcm } from './bcm.js';
|
|
14
|
+
import { c as classnames } from './index2.js';
|
|
15
|
+
import { c as ce } from './index5.js';
|
|
16
|
+
|
|
17
|
+
const attendanceActionDropdownStyle = ce({
|
|
18
|
+
slots: {
|
|
19
|
+
host: [
|
|
20
|
+
"tw-w-fit",
|
|
21
|
+
"tw-absolute tw-left-0 tw-right-0 tw-z-tooltip tw-opacity-100 tw-transition-opacity tw-duration-300",
|
|
22
|
+
"tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-shadow tw-max-h-64 tw-overflow-y-auto",
|
|
23
|
+
"bcm-ui-element bcm-attendance-actions tw-flex tw-flex-col tw-items-start tw-justify-start tw-p-2 tw-font-medium tw-text-slate-700"
|
|
24
|
+
],
|
|
25
|
+
dataItem: ["tw-flex tw-w-full tw-cursor-pointer tw-flex-row tw-items-start tw-justify-start tw-gap-2 tw-rounded hover:tw-bg-blue-100"],
|
|
26
|
+
key: ["tw-font-mono tw-text-slate-600"],
|
|
27
|
+
selectedItem: ["tw-bg-blue-100"],
|
|
28
|
+
},
|
|
29
|
+
variants: {
|
|
30
|
+
size: {
|
|
31
|
+
small: {
|
|
32
|
+
dataItem: ["tw-text-2.5 tw-px-2.5 tw-py-2"],
|
|
33
|
+
},
|
|
34
|
+
medium: {
|
|
35
|
+
dataItem: ["tw-text-3 tw-px-3 tw-py-2"],
|
|
36
|
+
},
|
|
37
|
+
large: {
|
|
38
|
+
dataItem: ["tw-text-4 tw-px-4 tw-py-2"],
|
|
39
|
+
},
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
defaultVariants: {
|
|
43
|
+
size: "medium"
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
const BcmAttendanceActionsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
48
|
+
constructor() {
|
|
49
|
+
super();
|
|
50
|
+
this.__registerHost();
|
|
51
|
+
this.change = createEvent(this, "bcm-attendance-actions-dropdown-change", 3);
|
|
52
|
+
this._id = Generate.UID();
|
|
53
|
+
this.size = Bcm.Size.medium;
|
|
54
|
+
this.disabled = false;
|
|
55
|
+
this.selectedKey = null;
|
|
56
|
+
this.targetId = null;
|
|
57
|
+
this.isShow = false;
|
|
58
|
+
this.data = [];
|
|
59
|
+
}
|
|
60
|
+
handleSelectItem(item) {
|
|
61
|
+
this.selectedKey = item.key;
|
|
62
|
+
this.change.emit(item);
|
|
63
|
+
}
|
|
64
|
+
async show() {
|
|
65
|
+
const targetElement = document.getElementById(this.targetId);
|
|
66
|
+
FloatingUI({
|
|
67
|
+
ref: targetElement,
|
|
68
|
+
floating: this.el,
|
|
69
|
+
placement: "bottom-end",
|
|
70
|
+
offset: 4,
|
|
71
|
+
});
|
|
72
|
+
this.isShow = true;
|
|
73
|
+
}
|
|
74
|
+
async hide() {
|
|
75
|
+
if (this.isShow) {
|
|
76
|
+
this.el.remove();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
handleClickOutside() {
|
|
80
|
+
this.hide();
|
|
81
|
+
}
|
|
82
|
+
render() {
|
|
83
|
+
const { size } = this;
|
|
84
|
+
const { host, dataItem, selectedItem, key } = attendanceActionDropdownStyle({
|
|
85
|
+
size,
|
|
86
|
+
});
|
|
87
|
+
return (h(Host, { class: host() }, this.data.map((item) => (h("div", { class: classnames(dataItem(), this.selectedKey === item.key && selectedItem()), onClick: () => this.handleSelectItem(item) }, h("span", { class: key() }, item.key, " - "), h("span", null, item.value))))));
|
|
88
|
+
}
|
|
89
|
+
get el() { return this; }
|
|
90
|
+
}, [0, "bcm-attendance-actions-dropdown", {
|
|
91
|
+
"_id": [1537, "id"],
|
|
92
|
+
"size": [1025],
|
|
93
|
+
"disabled": [4],
|
|
94
|
+
"selectedKey": [1025, "selected-key"],
|
|
95
|
+
"targetId": [1, "target-id"],
|
|
96
|
+
"isShow": [1028, "is-show"],
|
|
97
|
+
"data": [1040],
|
|
98
|
+
"show": [64],
|
|
99
|
+
"hide": [64]
|
|
100
|
+
}, [[8, "click", "handleClickOutside"]]]);
|
|
101
|
+
function defineCustomElement$1() {
|
|
102
|
+
if (typeof customElements === "undefined") {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const components = ["bcm-attendance-actions-dropdown"];
|
|
106
|
+
components.forEach(tagName => { switch (tagName) {
|
|
107
|
+
case "bcm-attendance-actions-dropdown":
|
|
108
|
+
if (!customElements.get(tagName)) {
|
|
109
|
+
customElements.define(tagName, BcmAttendanceActionsDropdown$1);
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
} });
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
const BcmAttendanceActionsDropdown = BcmAttendanceActionsDropdown$1;
|
|
116
|
+
const defineCustomElement = defineCustomElement$1;
|
|
117
|
+
|
|
118
|
+
export { BcmAttendanceActionsDropdown, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmAttendanceActions extends Components.BcmAttendanceActions, HTMLElement {}
|
|
4
|
+
export const BcmAttendanceActions: {
|
|
5
|
+
prototype: BcmAttendanceActions;
|
|
6
|
+
new (): BcmAttendanceActions;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|