bromcom-ui 2.10.1-rc.9 → 2.11.0
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-cc556e65.entry.js → p-01c26454.entry.js} +1 -1
- package/dist/bromcom-ui/{p-086cda42.entry.js → p-02b30a5c.entry.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-8d16573c.entry.js → p-0511936c.entry.js} +1 -1
- package/dist/bromcom-ui/p-092f751e.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-d706b0bd.entry.js → p-13f868f7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-39134670.entry.js → p-15302481.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a9769aef.entry.js → p-17821ee9.entry.js} +1 -1
- 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-eb2c11e0.js → p-1920c1cd.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-fff1a0f9.entry.js → p-1e8559ac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8839e454.entry.js → p-258aca86.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f327dd16.entry.js → p-2c4e5bb2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c30ce4b.entry.js → p-2d776ab1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e32e4c09.entry.js → p-2fad0385.entry.js} +1 -1
- package/dist/bromcom-ui/p-3182df7e.js +10 -0
- package/dist/bromcom-ui/p-37565993.entry.js +5 -0
- package/dist/bromcom-ui/{p-b04dbde5.entry.js → p-396ef644.entry.js} +1 -1
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/p-3b30d329.entry.js +5 -0
- package/dist/bromcom-ui/{p-81a2c866.js → p-3b5a6c8e.js} +1 -1
- package/dist/bromcom-ui/{p-7cf44256.entry.js → p-3b643e9a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-73789dbb.entry.js → p-3b7ac787.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b4e67a0b.js → p-3bb8785d.js} +1 -1
- 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-f824e6bb.entry.js → p-422e697d.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-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-d2b358ae.js → p-4a540b56.js} +1 -1
- package/dist/bromcom-ui/{p-ec2688a7.entry.js → p-4c2ecca2.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-4e40be76.entry.js +5 -0
- package/dist/bromcom-ui/p-4f96ee59.entry.js +5 -0
- package/dist/bromcom-ui/p-505709c6.entry.js +5 -0
- package/dist/bromcom-ui/p-5436ddd6.js +5 -0
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/{p-f0a6db76.entry.js → p-62370fd0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d551a51d.entry.js → p-63138ee5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7a2ea416.entry.js → p-66964e5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2f46157a.entry.js → p-687ea920.entry.js} +1 -1
- package/dist/bromcom-ui/p-6bea3bea.js +5 -0
- 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-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/{p-0a7346a7.entry.js → p-70b34e79.entry.js} +1 -1
- package/dist/bromcom-ui/p-73f5c339.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-4bcb29c3.entry.js → p-79007b75.entry.js} +1 -1
- package/dist/bromcom-ui/{p-626b805d.entry.js → p-7a89243a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d65c93dd.entry.js → p-7aa06da2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-84ff5d64.entry.js → p-7af84928.entry.js} +1 -1
- package/dist/bromcom-ui/p-7e3209a0.js +14 -0
- package/dist/bromcom-ui/{p-a25c8a55.js → p-8a92f2bf.js} +1 -1
- package/dist/bromcom-ui/{p-ce45a5a0.entry.js → p-8d4654ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.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-8af69fbb.entry.js → p-964b3343.entry.js} +1 -1
- package/dist/bromcom-ui/{p-78ace67b.entry.js → p-a3960507.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4e577842.entry.js → p-a3ce764f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-377eec7f.entry.js → p-aa22dd85.entry.js} +1 -1
- package/dist/bromcom-ui/p-ad359555.entry.js +5 -0
- package/dist/bromcom-ui/p-ada3eed7.entry.js +5 -0
- package/dist/bromcom-ui/{p-6bbedf32.entry.js → p-aee35345.entry.js} +1 -1
- package/dist/bromcom-ui/{p-da0a6963.entry.js → p-b701b3aa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8ea1d342.entry.js → p-b851dcc2.entry.js} +1 -1
- package/dist/bromcom-ui/p-ba2ddaf6.js +5 -0
- package/dist/bromcom-ui/{p-5c671967.entry.js → p-bca72f17.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d82d0c57.entry.js → p-bd6c967c.entry.js} +1 -1
- package/dist/bromcom-ui/p-bed627ab.js +11 -0
- package/dist/bromcom-ui/{p-f1829cae.entry.js → p-c439cb60.entry.js} +1 -1
- package/dist/bromcom-ui/p-c926e138.js +5 -0
- package/dist/bromcom-ui/{p-ea18d38d.entry.js → p-cad2f118.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d0c1fcc5.entry.js → p-ccb3c2e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c1b1c0b4.entry.js → p-cd75feb9.entry.js} +1 -1
- package/dist/bromcom-ui/p-dbc66238.js +5 -0
- package/dist/bromcom-ui/{p-40b85b9b.entry.js → p-dbea0599.entry.js} +1 -1
- package/dist/bromcom-ui/{p-769facbd.entry.js → p-dd1a1d12.entry.js} +1 -1
- package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/p-e082074a.entry.js +5 -0
- package/dist/bromcom-ui/p-e0a4da6d.entry.js +5 -0
- package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e32ab4da.entry.js} +1 -1
- package/dist/bromcom-ui/{p-85eedabc.js → p-e45c1546.js} +1 -1
- package/dist/bromcom-ui/p-e4ab4af0.entry.js +5 -0
- package/dist/bromcom-ui/p-e4b42f26.js +5 -0
- package/dist/bromcom-ui/p-e70821f7.entry.js +5 -0
- package/dist/bromcom-ui/{p-66929631.entry.js → p-e76bfd6b.entry.js} +1 -1
- package/dist/bromcom-ui/p-e920c9b9.entry.js +5 -0
- package/dist/bromcom-ui/{p-bc0e11d2.entry.js → p-eb4362ac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-125d6ed0.js → p-ed9d082d.js} +1 -1
- package/dist/bromcom-ui/{p-c285ac3e.entry.js → p-f0177251.entry.js} +1 -1
- package/dist/bromcom-ui/p-f037abec.entry.js +5 -0
- package/dist/bromcom-ui/{p-b50bee51.entry.js → p-f2aca650.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c658e7f0.entry.js → p-f3246837.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7b02eb85.entry.js → p-f33d8f77.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c40a820f.entry.js → p-f3423d98.entry.js} +1 -1
- package/dist/bromcom-ui/p-f5958c67.entry.js +5 -0
- package/dist/bromcom-ui/p-f650fed9.entry.js +5 -0
- package/dist/bromcom-ui/{p-6a6c51e1.entry.js → p-f68c1b66.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/bromcom-ui/{p-eab01ad5.entry.js → p-fd1c3951.entry.js} +1 -1
- package/dist/bromcom-ui/p-fe22cf19.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 +140 -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 +4 -4
- 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 +2544 -0
- 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-a89cbf95.js → generate-183405cb.js} +4 -12
- package/dist/cjs/{global-12727d81.js → global-4a756c02.js} +1 -1
- package/dist/cjs/index-3d67f613.js +1610 -0
- package/dist/cjs/index-e05a7c6f.js +545 -0
- package/dist/cjs/{input-template-aed0898b.js → input-template-e36927b1.js} +1 -1
- package/dist/cjs/{json-parse-decarator-f6d01750.js → json-parse-decarator-4c1f74bb.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/moment-d06b012f.js +4601 -0
- package/dist/cjs/{number-helper-ed1167a6.js → number-helper-ca52fadf.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-e3618032.js → package-4c68d5f8.js} +1 -1
- package/dist/cjs/{stepper-states-5cde5a5b.js → stepper-states-f97c457a.js} +1 -1
- package/dist/cjs/{tooltip-helper-8e999092.js → tooltip-helper-83971814.js} +3 -3
- package/dist/cjs/{validators-ca50c59e.js → validators-a31b53a5.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 +1 -1
- package/dist/collection/components/other/attendance-actions/attendance-actions-comment.js +317 -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 +3 -11
- 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 +213 -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 +1 -1
- 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 +4 -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 +2 -2
- 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 +136 -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 +13 -13
- 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 +2538 -0
- 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-f51f2b02.js → generate-ea4b5630.js} +5 -13
- package/dist/esm/{global-d1c1614b.js → global-8fd9695e.js} +2 -2
- package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
- package/dist/esm/index-a6d9d0af.js +541 -0
- 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-43cf6972.js → input-template-2ac3ec12.js} +3 -3
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{json-parse-decarator-05d60871.js → json-parse-decarator-c5e5dae7.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-96513ada.js → number-helper-148cd002.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-ebccec3c.js → package-b6a53fde.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-0860f554.js → stepper-states-f02df67c.js} +3 -3
- package/dist/esm/{string-helper-8f5da9ec.js → string-helper-3526c4fe.js} +1 -1
- package/dist/esm/{tooltip-helper-ab4dde34.js → tooltip-helper-4b53b00b.js} +7 -7
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-f9fdca63.js → validators-78ec4f0a.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 +1 -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-1c26a0c1.js +0 -5
- package/dist/bromcom-ui/p-1e8ba7b1.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-366262cb.entry.js +0 -5
- package/dist/bromcom-ui/p-48a57eb6.entry.js +0 -5
- package/dist/bromcom-ui/p-56655c71.js +0 -5
- package/dist/bromcom-ui/p-64fad38b.js +0 -11
- package/dist/bromcom-ui/p-6fe10a4c.entry.js +0 -21
- package/dist/bromcom-ui/p-761208cf.entry.js +0 -5
- package/dist/bromcom-ui/p-8348f7e8.entry.js +0 -5
- package/dist/bromcom-ui/p-9f886bdd.js +0 -5
- package/dist/bromcom-ui/p-a0d60a3c.js +0 -5
- package/dist/bromcom-ui/p-a55d0baf.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-ed3b97b0.entry.js +0 -5
- package/dist/bromcom-ui/p-f800e665.js +0 -5
- package/dist/bromcom-ui/p-fe585083.entry.js +0 -5
- package/dist/cjs/bcm-button_15.cjs.entry.js +0 -37832
- 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_15.entry.js +0 -37814
- package/dist/esm/bcm-textarea.entry.js +0 -159
- package/dist/esm/bcm-typography.entry.js +0 -17
|
@@ -2,510 +2,7 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import { c as classnames } from './index2.js';
|
|
7
|
-
import { I as IsLoad } from './is-load-decorator.js';
|
|
8
|
-
import { S as StringHelper } from './string-helper.js';
|
|
9
|
-
import { d as delay, g as getChildElements } from './utils.js';
|
|
10
|
-
|
|
11
|
-
// /**
|
|
12
|
-
// *
|
|
13
|
-
// * @param type
|
|
14
|
-
// */
|
|
15
|
-
// export const required = (value:any) => {
|
|
16
|
-
// if ( value || value != null ) {
|
|
17
|
-
// return true
|
|
18
|
-
// } else {
|
|
19
|
-
// return true
|
|
20
|
-
// }
|
|
21
|
-
// }
|
|
22
|
-
class rules {
|
|
23
|
-
constructor() { }
|
|
24
|
-
response(status, message) {
|
|
25
|
-
return Object.assign(Object.assign({ valid: status }, (message && { message })), (!status && { type: 'error' }));
|
|
26
|
-
}
|
|
27
|
-
required(value, componentValidation) {
|
|
28
|
-
let validation = this.response(true);
|
|
29
|
-
if (value == '' || value == "" || value == undefined || value == null || value === false) {
|
|
30
|
-
validation = this.response(false, 'This field is required.');
|
|
31
|
-
}
|
|
32
|
-
if (componentValidation) {
|
|
33
|
-
if (!componentValidation.valid) {
|
|
34
|
-
validation = this.response(false, componentValidation.errorText);
|
|
35
|
-
}
|
|
36
|
-
if (value instanceof Object) {
|
|
37
|
-
if (value.isValid) {
|
|
38
|
-
if (value.isValid == false)
|
|
39
|
-
validation = this.response(false, 'This field is required.');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return validation;
|
|
44
|
-
}
|
|
45
|
-
selfValidation(input) {
|
|
46
|
-
let validation = this.response(true);
|
|
47
|
-
if (input.captionError != null || input.captionType == 'error') {
|
|
48
|
-
validation = this.response(false, input.captionError);
|
|
49
|
-
}
|
|
50
|
-
return validation;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
const validate = new rules;
|
|
54
|
-
|
|
55
|
-
const formCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block;margin-bottom:8px}:host(.hidden){display:none}";
|
|
56
|
-
|
|
57
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
58
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
59
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
60
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
61
|
-
else
|
|
62
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
63
|
-
if (d = decorators[i])
|
|
64
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
65
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
66
|
-
};
|
|
67
|
-
const BcmForm$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
68
|
-
constructor() {
|
|
69
|
-
super();
|
|
70
|
-
this.__registerHost();
|
|
71
|
-
this.bcmForm = createEvent(this, "bcm-form", 7);
|
|
72
|
-
this.formData = {};
|
|
73
|
-
this.inputs = [];
|
|
74
|
-
this.duplicateInput = [];
|
|
75
|
-
this.isValid = true;
|
|
76
|
-
this.returnCaption = [];
|
|
77
|
-
this.Bromcom = {
|
|
78
|
-
errors: {
|
|
79
|
-
targetFormNotExist: 'target form is not exist --> ',
|
|
80
|
-
},
|
|
81
|
-
inputComponents: {
|
|
82
|
-
CHIP_GROUP: 'chip-group',
|
|
83
|
-
// Birbirinin aynısı
|
|
84
|
-
INPUT: 'input',
|
|
85
|
-
TEXTAREA: 'textarea',
|
|
86
|
-
//çok benzer
|
|
87
|
-
SWITCH: 'switch',
|
|
88
|
-
CHECKBOX: 'checkbox',
|
|
89
|
-
RADIO_GROUP: 'radio-group',
|
|
90
|
-
CHECKBOX_GROUP: 'checkbox-group',
|
|
91
|
-
RANGE: 'range',
|
|
92
|
-
// sadece value fırlatıyor
|
|
93
|
-
FORM: 'form',
|
|
94
|
-
FORM_GROUP: 'form-group',
|
|
95
|
-
// *En vakit alacak => içinde select, autocomplete, listbox, treeview özellikleri var
|
|
96
|
-
LIST: 'list',
|
|
97
|
-
//
|
|
98
|
-
COLORPICKER: 'colorpicker',
|
|
99
|
-
DATE: 'date',
|
|
100
|
-
// picker aslında tek komponent hepsi datetimepicker
|
|
101
|
-
DATE_PICKER: 'date-picker',
|
|
102
|
-
TIME_PICKER: 'time-picker',
|
|
103
|
-
DATETIME_PICKER: 'datetime-picker',
|
|
104
|
-
// silinecek komponentler
|
|
105
|
-
SELECT: 'select',
|
|
106
|
-
LISTBOX: 'listbox'
|
|
107
|
-
},
|
|
108
|
-
helpers: {
|
|
109
|
-
randomId: function () {
|
|
110
|
-
return Math.random().toString(16).slice(2, -1);
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
};
|
|
114
|
-
this._id = (Math.random() * 4).toString(16).replace('.', '');
|
|
115
|
-
this.hidden = false;
|
|
116
|
-
this.validation = false;
|
|
117
|
-
this.name = "";
|
|
118
|
-
this.value = undefined;
|
|
119
|
-
this.autocomplete = false;
|
|
120
|
-
}
|
|
121
|
-
handleSubmit() {
|
|
122
|
-
// if (lowercase(e.target.nodeName) === 'bcm-button') {
|
|
123
|
-
// if (e.target.type === 'submit') {
|
|
124
|
-
// this.submitFunction()
|
|
125
|
-
// }
|
|
126
|
-
// }
|
|
127
|
-
}
|
|
128
|
-
async submitFunction() {
|
|
129
|
-
this.formData = {};
|
|
130
|
-
this.inputs = [];
|
|
131
|
-
this.selector = this.el;
|
|
132
|
-
await this.getInputs();
|
|
133
|
-
await delay(10);
|
|
134
|
-
const usrFrmData = await this.userFormData();
|
|
135
|
-
var formData = { isValid: true, formData: usrFrmData };
|
|
136
|
-
if (this.name) {
|
|
137
|
-
formData = Object.assign(Object.assign({}, formData), { formName: this.name });
|
|
138
|
-
}
|
|
139
|
-
if (this.isValid) {
|
|
140
|
-
this.bcmForm.emit(formData);
|
|
141
|
-
return formData;
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
this.returnCaption = { isValid: false, 'message': 'Please fill in all inputs', 'errorDetails': this.returnCaption, formData: usrFrmData };
|
|
145
|
-
if (this.name) {
|
|
146
|
-
this.returnCaption = Object.assign(Object.assign({}, this.returnCaption), { formName: this.name });
|
|
147
|
-
}
|
|
148
|
-
this.bcmForm.emit(this.returnCaption);
|
|
149
|
-
return this.returnCaption;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
async submit() {
|
|
153
|
-
return Promise.resolve(this.submitFunction());
|
|
154
|
-
}
|
|
155
|
-
async set(data) {
|
|
156
|
-
var _a;
|
|
157
|
-
const validate = this.validation;
|
|
158
|
-
this.validation = false;
|
|
159
|
-
// debugger
|
|
160
|
-
this.selector = this.el;
|
|
161
|
-
await this.getInputs();
|
|
162
|
-
if (data && ((_a = this.inputs) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
163
|
-
for (const key of Object.keys(data)) {
|
|
164
|
-
const item = this.inputs.find(item => item.name === key);
|
|
165
|
-
if (item) {
|
|
166
|
-
try {
|
|
167
|
-
await item.set(data[key]);
|
|
168
|
-
}
|
|
169
|
-
catch (error) {
|
|
170
|
-
console.log(item.nodeName, "set", error);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
this.validation = validate;
|
|
176
|
-
}
|
|
177
|
-
async get() {
|
|
178
|
-
var _a;
|
|
179
|
-
let formData = {};
|
|
180
|
-
this.selector = this.el;
|
|
181
|
-
const inputsCache = this.inputs;
|
|
182
|
-
await this.getInputs();
|
|
183
|
-
((_a = this.inputs) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.inputs.forEach(async (item) => {
|
|
184
|
-
try {
|
|
185
|
-
const value = await item.get();
|
|
186
|
-
formData = Object.assign(Object.assign({}, formData), { [item.name]: value });
|
|
187
|
-
}
|
|
188
|
-
catch (error) {
|
|
189
|
-
console.log(`${item.nodeName} get error`);
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
this.inputs = inputsCache;
|
|
193
|
-
await delay(10);
|
|
194
|
-
return Promise.resolve(formData);
|
|
195
|
-
}
|
|
196
|
-
async setClear() {
|
|
197
|
-
this.formData = {};
|
|
198
|
-
this.inputs = [];
|
|
199
|
-
this.selector = this.el;
|
|
200
|
-
let clear = [];
|
|
201
|
-
await this.getInputs();
|
|
202
|
-
this.inputs.forEach(async (item) => {
|
|
203
|
-
try {
|
|
204
|
-
clear.push(await item.setClear());
|
|
205
|
-
}
|
|
206
|
-
catch (error) {
|
|
207
|
-
console.log(error);
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
await Promise.all(clear).then(() => {
|
|
211
|
-
this.formData = {};
|
|
212
|
-
this.inputs = [];
|
|
213
|
-
this.duplicateInput = [];
|
|
214
|
-
this.isValid = true;
|
|
215
|
-
this.returnCaption = [];
|
|
216
|
-
});
|
|
217
|
-
await delay(10);
|
|
218
|
-
return Promise.resolve(true);
|
|
219
|
-
}
|
|
220
|
-
async resetCaption() {
|
|
221
|
-
await delay(10);
|
|
222
|
-
this.formData = {};
|
|
223
|
-
this.inputs = [];
|
|
224
|
-
this.selector = this.el;
|
|
225
|
-
await this.getInputs();
|
|
226
|
-
for (const item of this.inputs) {
|
|
227
|
-
try {
|
|
228
|
-
await item.resetCaption();
|
|
229
|
-
}
|
|
230
|
-
catch (error) {
|
|
231
|
-
console.log(item.nodeName, "rc p");
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
await delay(10);
|
|
235
|
-
return Promise.resolve();
|
|
236
|
-
}
|
|
237
|
-
async config(_config) {
|
|
238
|
-
if (_config['validation']) {
|
|
239
|
-
typeof _config['validation'] == 'boolean'
|
|
240
|
-
? this.validation = _config['validation']
|
|
241
|
-
: this.validation = false;
|
|
242
|
-
}
|
|
243
|
-
return true;
|
|
244
|
-
}
|
|
245
|
-
async getInputs() {
|
|
246
|
-
var form = this.selector;
|
|
247
|
-
if (!form) {
|
|
248
|
-
console.warn(this.Bromcom.errors.targetFormNotExist + this.selector);
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
const inputs = Array.from(form.querySelectorAll('bcm-' + Object.values(this.Bromcom.inputComponents).join(',bcm-')));
|
|
252
|
-
this.duplicateInput = [];
|
|
253
|
-
// s-hn: Stencil private flag that contains host web component
|
|
254
|
-
// https://github.com/ionic-team/stencil/blob/45388e95edb46ef357eb9ae37cd32bbb5bc1ed23/src/runtime/vdom/vdom-render.ts#L116
|
|
255
|
-
const rootInputs = inputs.filter((input) => { var _a; return !input['s-hn'] || ((_a = input['s-hn']) === null || _a === void 0 ? void 0 : _a.nodeName) !== 'BcmForm'; });
|
|
256
|
-
// debugger;
|
|
257
|
-
for (const item of rootInputs) {
|
|
258
|
-
if (StringHelper.lowercase(item.nodeName) == "bcm-checkbox-group") {
|
|
259
|
-
let checkboxs = item.querySelectorAll("bcm-checkbox");
|
|
260
|
-
if (checkboxs) {
|
|
261
|
-
for (const checkbox of checkboxs) {
|
|
262
|
-
this.duplicateInput.push(checkbox.name);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
if (StringHelper.lowercase(item.nodeName) == "bcm-form") {
|
|
267
|
-
const groupInputs = Array.from(item.querySelectorAll('bcm-' + Object.values(this.Bromcom.inputComponents).join(',bcm-')));
|
|
268
|
-
let itemObject = {};
|
|
269
|
-
for (const element of groupInputs) {
|
|
270
|
-
var name = element.name;
|
|
271
|
-
var value = element.value;
|
|
272
|
-
itemObject = Object.assign(Object.assign({}, itemObject), { [name]: value });
|
|
273
|
-
this.duplicateInput.push(element.name);
|
|
274
|
-
}
|
|
275
|
-
item.value = itemObject;
|
|
276
|
-
let checkboxs = item.querySelectorAll("bcm-checkbox");
|
|
277
|
-
if (checkboxs) {
|
|
278
|
-
for (const checkbox of checkboxs) {
|
|
279
|
-
this.duplicateInput.push(checkbox.name);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
await delay(10);
|
|
285
|
-
this.inputs = rootInputs;
|
|
286
|
-
}
|
|
287
|
-
getItemValue(item) {
|
|
288
|
-
const tagName = item.tagName.toLowerCase().replace('bcm-', '');
|
|
289
|
-
switch (tagName) {
|
|
290
|
-
/* case 'date-picker':
|
|
291
|
-
case 'datetime-picker':
|
|
292
|
-
return item.value.timestamp
|
|
293
|
-
case 'time-picker':
|
|
294
|
-
return item.value.time */
|
|
295
|
-
default:
|
|
296
|
-
return item.value;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
isWrapperComponent(item) {
|
|
300
|
-
return ['bcm-datetime-picker', 'bcm-date-picker', 'bcm-time-picker'].includes(item.toLowerCase());
|
|
301
|
-
}
|
|
302
|
-
isGroupComponent(item) {
|
|
303
|
-
return ['bcm-checkbox-group'].includes(item.toLowerCase());
|
|
304
|
-
}
|
|
305
|
-
isListComponent(item) {
|
|
306
|
-
return ['bcm-list'].includes(item.toLowerCase());
|
|
307
|
-
}
|
|
308
|
-
async userFormData() {
|
|
309
|
-
this.formData = {};
|
|
310
|
-
this.isValid = true;
|
|
311
|
-
this.returnCaption = [];
|
|
312
|
-
for (const item of this.inputs) {
|
|
313
|
-
// const isListComponent = this.isListComponent(item.tagName);
|
|
314
|
-
const isGroupComponent = this.isGroupComponent(item.tagName);
|
|
315
|
-
const isWrapperComponent = this.isWrapperComponent(item.tagName);
|
|
316
|
-
const wrapperComponent = isWrapperComponent && item;
|
|
317
|
-
const input = isWrapperComponent
|
|
318
|
-
? await item.getInput() && item
|
|
319
|
-
: item;
|
|
320
|
-
// input.caption = ''
|
|
321
|
-
// input.captionType = ''
|
|
322
|
-
if (this.validation) {
|
|
323
|
-
let valid = null;
|
|
324
|
-
// if (isListComponent) {
|
|
325
|
-
// valid = !(input.value && input.value.length > 0) && validate.required(input.value)
|
|
326
|
-
// } else
|
|
327
|
-
if (isWrapperComponent) {
|
|
328
|
-
const isPickerValid = await wrapperComponent.isValid();
|
|
329
|
-
valid = validate.required(input.value, isPickerValid);
|
|
330
|
-
if (valid) {
|
|
331
|
-
if (input.value instanceof Object) {
|
|
332
|
-
if (input.value["isValid"] == false) {
|
|
333
|
-
valid = validate.required("", isPickerValid);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
valid = validate.required(input.value, isPickerValid);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
else if (isGroupComponent) {
|
|
342
|
-
const childsCheckbox = getChildElements(input, 'bcm-checkbox:not(#bcm-indeterminate-element)');
|
|
343
|
-
if (childsCheckbox && childsCheckbox.length > 0) {
|
|
344
|
-
for (const element of childsCheckbox) {
|
|
345
|
-
if (element && element.required === true) {
|
|
346
|
-
valid = validate.required(element.checked);
|
|
347
|
-
if (!valid['valid']) {
|
|
348
|
-
element.noCaption = false;
|
|
349
|
-
element.captionError = valid['message'];
|
|
350
|
-
element.captionType = valid['type'];
|
|
351
|
-
}
|
|
352
|
-
else {
|
|
353
|
-
element.noCaption = input.noCaption;
|
|
354
|
-
element.captionError = null;
|
|
355
|
-
element.captionType = "default";
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
else {
|
|
362
|
-
valid = validate.required(input.value);
|
|
363
|
-
}
|
|
364
|
-
if (input.required) {
|
|
365
|
-
if (!valid['valid']) {
|
|
366
|
-
input.captionError = valid['message'];
|
|
367
|
-
input.captionType = valid['type'];
|
|
368
|
-
}
|
|
369
|
-
else {
|
|
370
|
-
input.captionError = null;
|
|
371
|
-
input.captionType = "default";
|
|
372
|
-
}
|
|
373
|
-
await delay(10);
|
|
374
|
-
const selfValidation = validate.selfValidation(input);
|
|
375
|
-
if (valid['valid']) {
|
|
376
|
-
if (!selfValidation['valid']) {
|
|
377
|
-
input.captionError = selfValidation['message'];
|
|
378
|
-
input.captionType = selfValidation['type'];
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
let name = input.name;
|
|
383
|
-
let value = input.captionError;
|
|
384
|
-
!input.hidden && input.captionType == 'error' && (this.returnCaption = [...Array.from(this.returnCaption), { [name]: value }],
|
|
385
|
-
this.isValid = false);
|
|
386
|
-
}
|
|
387
|
-
if (input.name && !this.duplicateInput.includes(input.name)) {
|
|
388
|
-
var itemValue = this.getItemValue(input);
|
|
389
|
-
if (!itemValue || itemValue == undefined || itemValue == null) {
|
|
390
|
-
itemValue = null;
|
|
391
|
-
}
|
|
392
|
-
this.formData[input.name] = itemValue;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
return this.formData;
|
|
396
|
-
}
|
|
397
|
-
async handleChange(e) {
|
|
398
|
-
const isWrapperComponent = this.isWrapperComponent(e.target.tagName);
|
|
399
|
-
const isGroupComponent = this.isGroupComponent(e.target.tagName);
|
|
400
|
-
let target;
|
|
401
|
-
if (isWrapperComponent) {
|
|
402
|
-
target = e.target.getInput && await e.target.getInput() || e.target;
|
|
403
|
-
}
|
|
404
|
-
else if (isGroupComponent) {
|
|
405
|
-
let req = false;
|
|
406
|
-
const childsCheckbox = getChildElements(e.target, 'bcm-checkbox:not(#bcm-indeterminate-element)');
|
|
407
|
-
childsCheckbox.length > 0 && (childsCheckbox.forEach((element) => {
|
|
408
|
-
if (element && element.required === true) {
|
|
409
|
-
req = true;
|
|
410
|
-
}
|
|
411
|
-
}));
|
|
412
|
-
target = Object.assign(Object.assign({}, e.target), { required: req });
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
target = e.target;
|
|
416
|
-
}
|
|
417
|
-
const value = e.target.value;
|
|
418
|
-
const wrapperComponent = isWrapperComponent && e.target;
|
|
419
|
-
var isPickerValid;
|
|
420
|
-
if (isWrapperComponent) {
|
|
421
|
-
isPickerValid = await wrapperComponent.isValid();
|
|
422
|
-
}
|
|
423
|
-
const tick = setTimeout(() => {
|
|
424
|
-
if (target.required) {
|
|
425
|
-
let valid = null;
|
|
426
|
-
if (isWrapperComponent) {
|
|
427
|
-
valid = validate.required(value, isPickerValid);
|
|
428
|
-
if (valid) {
|
|
429
|
-
if (value instanceof Object) {
|
|
430
|
-
if (value["isValid"] == false) {
|
|
431
|
-
valid = validate.required("", isPickerValid);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
else {
|
|
435
|
-
valid = validate.required(value, isPickerValid);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
else if (isGroupComponent) {
|
|
440
|
-
const childsCheckbox = getChildElements(e.target, 'bcm-checkbox:not(#bcm-indeterminate-element)');
|
|
441
|
-
childsCheckbox.length > 0 && (childsCheckbox.forEach((element) => {
|
|
442
|
-
if (element && element.required === true) {
|
|
443
|
-
valid = validate.required(element.checked);
|
|
444
|
-
if (!valid['valid']) {
|
|
445
|
-
element.noCaption = false;
|
|
446
|
-
element.captionError = valid['message'];
|
|
447
|
-
element.captionType = valid['type'];
|
|
448
|
-
}
|
|
449
|
-
else {
|
|
450
|
-
element.noCaption = e.target.noCaption;
|
|
451
|
-
element.captionError = null;
|
|
452
|
-
element.captionType = "default";
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}));
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
valid = validate.required(value);
|
|
459
|
-
}
|
|
460
|
-
if (valid['valid']) {
|
|
461
|
-
target.captionError = null;
|
|
462
|
-
target.captionType = null;
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
target.captionError = valid['message'];
|
|
466
|
-
target.captionType = valid['type'];
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
clearTimeout(tick);
|
|
470
|
-
});
|
|
471
|
-
this.value = await this.userFormData();
|
|
472
|
-
}
|
|
473
|
-
render() {
|
|
474
|
-
const hostClasses = classnames(this.hidden ? 'hidden' : null);
|
|
475
|
-
return (h(Host, { class: hostClasses }, h("form", { class: "bcm-form", autocomplete: this.autocomplete ? "on" : "off" }, h("slot", null))));
|
|
476
|
-
}
|
|
477
|
-
get el() { return this; }
|
|
478
|
-
static get style() { return formCss; }
|
|
479
|
-
}, [4, "bcm-form", {
|
|
480
|
-
"_id": [1537, "id"],
|
|
481
|
-
"hidden": [1028],
|
|
482
|
-
"validation": [1028],
|
|
483
|
-
"name": [1025],
|
|
484
|
-
"value": [1032],
|
|
485
|
-
"autocomplete": [1028],
|
|
486
|
-
"submit": [64],
|
|
487
|
-
"set": [64],
|
|
488
|
-
"get": [64],
|
|
489
|
-
"setClear": [64],
|
|
490
|
-
"resetCaption": [64],
|
|
491
|
-
"config": [64]
|
|
492
|
-
}, [[0, "click", "handleSubmit"], [0, "bcm-change", "handleChange"]]]);
|
|
493
|
-
__decorate([
|
|
494
|
-
IsLoad()
|
|
495
|
-
], BcmForm$1.prototype, "el", void 0);
|
|
496
|
-
function defineCustomElement$1() {
|
|
497
|
-
if (typeof customElements === "undefined") {
|
|
498
|
-
return;
|
|
499
|
-
}
|
|
500
|
-
const components = ["bcm-form"];
|
|
501
|
-
components.forEach(tagName => { switch (tagName) {
|
|
502
|
-
case "bcm-form":
|
|
503
|
-
if (!customElements.get(tagName)) {
|
|
504
|
-
customElements.define(tagName, BcmForm$1);
|
|
505
|
-
}
|
|
506
|
-
break;
|
|
507
|
-
} });
|
|
508
|
-
}
|
|
5
|
+
import { B as BcmForm$1, d as defineCustomElement$1 } from './form.js';
|
|
509
6
|
|
|
510
7
|
const BcmForm = BcmForm$1;
|
|
511
8
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -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 CaptionTemplate } from './caption-template.js';
|
|
14
14
|
import { c as classnames } from './index2.js';
|
|
15
15
|
import './types.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { G as Generate } from './generate.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as Bcm } from './bcm.js';
|
|
8
8
|
import { c as classnames } from './index2.js';
|
|
9
9
|
import { C as ColorHelper } from './color-helper.js';
|
|
10
10
|
|
|
@@ -10,7 +10,7 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { d as delay } from './utils.js';
|
|
13
|
-
import {
|
|
13
|
+
import { B as Bcm } from './bcm.js';
|
|
14
14
|
import { c as classnames } from './index2.js';
|
|
15
15
|
import { d as defineCustomElement$3 } from './overlay.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './scroll-area.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { c as classnames } from './index2.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as Bcm } from './bcm.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper.js';
|
|
9
9
|
import { S as SlotTemplate } from './slot-template.js';
|
|
10
10
|
import { G as Generate } from './generate.js';
|
|
@@ -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 CaptionTemplate } from './caption-template.js';
|
|
14
14
|
import './index2.js';
|
|
15
15
|
import './types.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { c as classnames } from './index2.js';
|
|
7
7
|
import { G as Generate } from './generate.js';
|
|
8
|
-
import {
|
|
8
|
+
import { a as Bcm } from './bcm.js';
|
|
9
9
|
import { d as defineCustomElement$5 } from './button.js';
|
|
10
10
|
import { d as defineCustomElement$4 } from './icon.js';
|
|
11
11
|
import { d as defineCustomElement$3 } from './popconfirm-box.js';
|
|
@@ -9,7 +9,7 @@ import { G as Generate } from './generate.js';
|
|
|
9
9
|
import './number-helper.js';
|
|
10
10
|
import { S as StringHelper } from './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
|
-
import {
|
|
12
|
+
import { B as Bcm } from './bcm.js';
|
|
13
13
|
import { d as delay } from './utils.js';
|
|
14
14
|
import { F as FloatingUI } from './floating-ui.js';
|
|
15
15
|
|
|
@@ -6,7 +6,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
6
6
|
import { c as classnames } from './index2.js';
|
|
7
7
|
import { C as ColorHelper } from './color-helper.js';
|
|
8
8
|
import { G as Generate } from './generate.js';
|
|
9
|
-
import {
|
|
9
|
+
import { a as Bcm } from './bcm.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
11
11
|
|
|
12
12
|
// export const lineSizes = {
|
|
@@ -10,7 +10,7 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { d as delay } from './utils.js';
|
|
13
|
-
import {
|
|
13
|
+
import { B as Bcm } from './bcm.js';
|
|
14
14
|
import { C as CaptionTemplate } from './caption-template.js';
|
|
15
15
|
import { c as classnames } from './index2.js';
|
|
16
16
|
import './types.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { c as classnames } from './index2.js';
|
|
7
7
|
import { G as Generate } from './generate.js';
|
|
8
|
-
import {
|
|
8
|
+
import { a as Bcm } from './bcm.js';
|
|
9
9
|
import { d as delay } from './utils.js';
|
|
10
10
|
|
|
11
11
|
const rangeCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-range{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;width:100%;position:relative;display:block;margin:16px 0}.bcm-range input[type=range]{position:absolute;pointer-events:none;-webkit-appearance:none;z-index:4;height:30px;width:100%;top:-17px;opacity:0}.bcm-range input[type=range].single{display:none}.bcm-range input[type=range]::-webkit-slider-thumb{pointer-events:all;width:30px;height:30px;border-radius:0;border:0 none;background-color:red;-webkit-appearance:none;cursor:pointer}.bcm-range__container-bar{width:calc(100% - 24px);left:12px;position:relative}.bcm-range__container-bar-track{position:absolute;top:-2px;width:100%;height:4px;background-color:var(--bcm-new-ds-color-slate-300);z-index:1}.bcm-range__container-bar-range{position:absolute;top:-2px;left:22.22%;right:22.22%;height:4px;background-color:var(--bcm-new-ds-color-blue-500);z-index:2}.bcm-range__container-bar-thumb{position:absolute;top:0;width:16px;height:16px;background-color:var(--bcm-new-ds-color-blue-500);border-radius:50%;z-index:3;transition:box-shadow 0.2s ease-in-out;display:flex;align-items:center;justify-content:center}.bcm-range__container-bar-thumb>span{display:flex;width:100%;height:100%}.bcm-range__container-bar-thumb.hover{box-shadow:0px 2px 2px rgba(0, 0, 0, 0.1), 0px 3px 1px rgba(0, 0, 0, 0.05), 0px 1px 5px rgba(0, 0, 0, 0.1);cursor:pointer}.bcm-range__container-bar-thumb.hidden{display:none}.bcm-range__container-bar-thumb.left{left:22.22222%;transform:translate(-8px, -8px)}.bcm-range__container-bar-thumb.right{right:0%;transform:translate(8px, -8px)}.bcm-range .ticks{position:absolute;z-index:0;top:0;left:0;width:100%;display:flex;justify-content:space-between;padding:4px 0;user-select:none}.bcm-range .tick{position:relative;display:flex;justify-content:center;width:1px;color:var(--bcm-new-ds-color-slate-300);cursor:pointer;height:8px;line-height:32px;margin-bottom:8px;z-index:-1;transition:color 0.1s ease-in-out}.bcm-range .tick::before,.bcm-range .tick::after{content:\" \";position:absolute;width:1px;height:8px;background-color:var(--bcm-new-ds-color-slate-300);z-index:-1;transition:background-color 0.1s ease-in-out}.bcm-range .tick::before{top:-16px}.bcm-range .tick::after{top:0}.bcm-range .tick.hover{color:var(--bcm-new-ds-color-slate-400)}.bcm-range .tick.hover::before,.bcm-range .tick.hover::after{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-range .touch{position:absolute;width:calc(100% + 48px);left:-24px;top:-17px;opacity:0;height:45px;z-index:2;background-color:transparent;display:flex;flex-direction:row;justify-content:space-between}.bcm-range .touch-point{cursor:pointer;flex:1;border:1px solid var(--bcm-new-ds-color-slate-300);box-sizing:border-box;background-color:var(--bcm-new-ds-color-slate-300)}.bcm-range .touch-point:hover{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-range .touch::after,.bcm-range .touch::before{content:\"\";position:absolute;width:24px;height:100%;top:0}.bcm-range .touch::before{left:0}.bcm-range .touch::after{right:0}.bcm-range.vertical{margin:0 16px;padding:12px 0}.bcm-range.vertical .touch{width:calc(100% + 12px);left:-6px;top:-17px}.bcm-range.vertical .touch::after,.bcm-range.vertical .touch::before{width:12px}.bcm-range.vertical .bcm-range__container{transform:rotate(270deg)}.bcm-range.vertical .bcm-range__container .ticks .tick-text{position:absolute;top:0px;width:100%;transform:rotate(90deg)}";
|
|
@@ -49,7 +49,7 @@ const BcmRange$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
49
49
|
id: 'box-' + this._id,
|
|
50
50
|
placement: this.direction === Bcm.Direction.horizontal ? Bcm.Placement.top : Bcm.Placement.left,
|
|
51
51
|
color: 'blue'
|
|
52
|
-
}
|
|
52
|
+
});
|
|
53
53
|
}
|
|
54
54
|
componentDidLoad() {
|
|
55
55
|
this.setThumbPosition('right');
|
|
@@ -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 classnames } from './index2.js';
|
|
14
14
|
|
|
15
15
|
const osKeys = {
|
|
@@ -10,7 +10,7 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { g as getChildElements } from './utils.js';
|
|
13
|
-
import {
|
|
13
|
+
import { B as Bcm } from './bcm.js';
|
|
14
14
|
import { c as classnames } from './index2.js';
|
|
15
15
|
import './types.js';
|
|
16
16
|
import './types2.js';
|
|
@@ -6,7 +6,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
6
6
|
import { c as classnames } from './index2.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator.js';
|
|
8
8
|
import { G as Generate } from './generate.js';
|
|
9
|
-
import {
|
|
9
|
+
import { a as Bcm } from './bcm.js';
|
|
10
10
|
import { C as CaptionTemplate } from './caption-template.js';
|
|
11
11
|
import { d as delay } from './utils.js';
|
|
12
12
|
import { d as defineCustomElement$4 } from './icon.js';
|
|
@@ -10,7 +10,7 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { d as delay } from './utils.js';
|
|
13
|
-
import {
|
|
13
|
+
import { B as Bcm } from './bcm.js';
|
|
14
14
|
|
|
15
15
|
const BcmTabGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
16
|
constructor() {
|