bromcom-ui 2.11.1-rc.9-2 → 2.11.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-04068410.entry.js +5 -0
- package/dist/bromcom-ui/p-06392358.entry.js +5 -0
- package/dist/bromcom-ui/p-08af4159.entry.js +5 -0
- package/dist/bromcom-ui/{p-2cd6cdee.js → p-09318a64.js} +1 -1
- package/dist/bromcom-ui/p-0bde4e71.entry.js +5 -0
- package/dist/bromcom-ui/p-0d87846a.entry.js +5 -0
- package/dist/bromcom-ui/p-0ed34855.entry.js +5 -0
- package/dist/bromcom-ui/p-0f58e83a.js +5 -0
- package/dist/bromcom-ui/p-19283acb.entry.js +5 -0
- package/dist/bromcom-ui/p-1e377d82.js +5 -0
- package/dist/bromcom-ui/p-207c20c6.entry.js +5 -0
- package/dist/bromcom-ui/{p-d4535e9b.entry.js → p-20b5c273.entry.js} +1 -1
- package/dist/bromcom-ui/p-24906295.entry.js +5 -0
- package/dist/bromcom-ui/p-2b4970f5.entry.js +5 -0
- package/dist/bromcom-ui/p-2d3ff3b8.entry.js +5 -0
- package/dist/bromcom-ui/p-2e7107b8.entry.js +5 -0
- package/dist/bromcom-ui/p-3115008f.entry.js +5 -0
- package/dist/bromcom-ui/p-346395fa.entry.js +5 -0
- package/dist/bromcom-ui/p-375906b2.entry.js +5 -0
- package/dist/bromcom-ui/{p-3f84d1c5.entry.js → p-3861fc92.entry.js} +1 -1
- package/dist/bromcom-ui/p-3f3579b5.entry.js +5 -0
- package/dist/bromcom-ui/p-41e75c88.entry.js +5 -0
- package/dist/bromcom-ui/p-4e44bab2.entry.js +5 -0
- package/dist/bromcom-ui/p-5196912d.js +5 -0
- package/dist/bromcom-ui/p-51b2e857.entry.js +5 -0
- package/dist/bromcom-ui/p-52a75efb.entry.js +5 -0
- package/dist/bromcom-ui/{p-4ef9abca.entry.js → p-5c70a918.entry.js} +1 -1
- package/dist/bromcom-ui/p-5fbb4950.entry.js +5 -0
- package/dist/bromcom-ui/{p-5d9a5c33.entry.js → p-630a4d45.entry.js} +1 -1
- package/dist/bromcom-ui/p-65ac7386.entry.js +5 -0
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/p-7005fb55.entry.js +5 -0
- package/dist/bromcom-ui/{p-3556d078.js → p-743731ac.js} +1 -1
- package/dist/bromcom-ui/p-7c512c4d.entry.js +5 -0
- package/dist/bromcom-ui/{p-36544f78.entry.js → p-81887469.entry.js} +1 -1
- package/dist/bromcom-ui/p-81cbc318.entry.js +5 -0
- package/dist/bromcom-ui/p-82d01088.entry.js +5 -0
- package/dist/bromcom-ui/p-82f0b161.js +5 -0
- package/dist/bromcom-ui/p-84b97f53.entry.js +5 -0
- package/dist/bromcom-ui/p-857628f6.js +5 -0
- package/dist/bromcom-ui/{p-ccc6f14e.entry.js → p-887c26f8.entry.js} +1 -1
- package/dist/bromcom-ui/p-8a6fb2d5.entry.js +5 -0
- package/dist/bromcom-ui/{p-59a92a47.js → p-8ed054fe.js} +1 -1
- package/dist/bromcom-ui/p-926f8ac4.entry.js +5 -0
- package/dist/bromcom-ui/p-950a341e.entry.js +7 -0
- package/dist/bromcom-ui/p-9810187e.entry.js +5 -0
- package/dist/bromcom-ui/p-9b5c86e1.entry.js +5 -0
- package/dist/bromcom-ui/p-a0d6d680.js +1 -1
- package/dist/bromcom-ui/{p-a1b05d8a.entry.js → p-a1e299af.entry.js} +1 -1
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/p-a34bc3d8.entry.js +5 -0
- package/dist/bromcom-ui/p-a42fbe84.entry.js +5 -0
- package/dist/bromcom-ui/p-a5208f05.entry.js +5 -0
- package/dist/bromcom-ui/p-a6142e74.entry.js +5 -0
- package/dist/bromcom-ui/p-aea1b034.entry.js +5 -0
- package/dist/bromcom-ui/p-b381e7f1.js +19 -0
- package/dist/bromcom-ui/p-b4da198b.entry.js +5 -0
- package/dist/bromcom-ui/{p-a97531d3.entry.js → p-b764ab86.entry.js} +1 -1
- package/dist/bromcom-ui/p-bde67994.entry.js +5 -0
- package/dist/bromcom-ui/p-c1761829.entry.js +5 -0
- package/dist/bromcom-ui/{p-b92f3501.js → p-c7aff122.js} +1 -1
- package/dist/bromcom-ui/p-c7caf94d.js +5 -0
- package/dist/bromcom-ui/{p-a9fb78a2.entry.js → p-ce3b34da.entry.js} +1 -1
- package/dist/bromcom-ui/p-cf011393.entry.js +5 -0
- package/dist/bromcom-ui/p-d01426b6.entry.js +5 -0
- package/dist/bromcom-ui/p-d098f115.entry.js +5 -0
- package/dist/bromcom-ui/p-d9fcd150.js +5 -0
- package/dist/bromcom-ui/{p-8120dcc7.entry.js → p-dc62a5f7.entry.js} +1 -1
- package/dist/bromcom-ui/p-e3c69b3b.entry.js +5 -0
- package/dist/bromcom-ui/{p-4035fdf1.entry.js → p-e9333e52.entry.js} +1 -1
- package/dist/bromcom-ui/p-f56f2a2d.entry.js +5 -0
- package/dist/bromcom-ui/p-fcf4b343.entry.js +5 -0
- package/dist/bromcom-ui/p-fe776e62.entry.js +5 -0
- package/dist/cjs/Overflow-a821abd0.js +2769 -0
- package/dist/cjs/{bcm-1d1fcf21.js → bcm-489c9b1a.js} +4 -4
- package/dist/cjs/bcm-accordion.cjs.entry.js +74 -0
- package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -9
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -9
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +329 -0
- package/dist/cjs/bcm-attendance.cjs.entry.js +35 -0
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +92 -0
- package/dist/cjs/bcm-button_15.cjs.entry.js +18623 -0
- package/dist/cjs/bcm-caption.cjs.entry.js +9 -10
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +415 -0
- package/dist/cjs/{bcm-checkbox-lite_8.cjs.entry.js → bcm-checkbox-lite_9.cjs.entry.js} +26 -6
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
- package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -10
- package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
- package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +76 -0
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +95 -0
- package/dist/cjs/bcm-dropdown.cjs.entry.js +119 -0
- package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +116 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -11
- package/dist/cjs/bcm-item.cjs.entry.js +72 -0
- package/dist/cjs/bcm-items.cjs.entry.js +49 -0
- package/dist/cjs/bcm-link.cjs.entry.js +3 -3
- package/dist/cjs/bcm-list_3.cjs.entry.js +1970 -0
- package/dist/cjs/bcm-menu.cjs.entry.js +150 -0
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -7
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -7
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -8
- package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
- package/dist/cjs/bcm-number-input.cjs.entry.js +9 -10
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +115 -0
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +101 -0
- package/dist/cjs/bcm-popover.cjs.entry.js +9 -10
- package/dist/cjs/bcm-progress.cjs.entry.js +162 -0
- package/dist/cjs/bcm-radio-group.cjs.entry.js +160 -0
- package/dist/cjs/bcm-radio.cjs.entry.js +64 -0
- package/dist/cjs/bcm-range.cjs.entry.js +6 -6
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-shortcut.cjs.entry.js +64 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -7
- package/dist/cjs/bcm-step.cjs.entry.js +89 -0
- package/dist/cjs/bcm-stepper.cjs.entry.js +239 -0
- package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
- package/dist/cjs/bcm-tab-group.cjs.entry.js +209 -0
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +58 -0
- package/dist/cjs/bcm-tab-item.cjs.entry.js +90 -0
- package/dist/cjs/bcm-table.cjs.entry.js +6 -7
- package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
- package/dist/cjs/bcm-text.cjs.entry.js +49 -0
- package/dist/cjs/bcm-textarea.cjs.entry.js +163 -0
- package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-086e9cac.js} +2 -2
- package/dist/cjs/{floating-ui-5b396838.js → floating-ui-21890d11.js} +2 -2
- package/dist/cjs/{generate-f4bfa0a4.js → generate-82c63a56.js} +1 -1
- package/dist/cjs/{global-34b7d357.js → global-1e13ce25.js} +1 -1
- package/dist/cjs/input-template-e0087a2b.js +92 -0
- package/dist/cjs/json-parse-decarator-e0946e2e.js +40 -0
- package/dist/cjs/{label-template-e83447b5.js → label-template-94b3d775.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-8b2bc297.js → number-helper-10017fcd.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/{package-b728c16f.js → package-13f78ab4.js} +1 -1
- package/dist/cjs/{popover-placement-02e6101b.js → popover-placement-e7d6eabd.js} +1 -1
- package/dist/cjs/{slot-template-df7b5b59.js → slot-template-c8e2816c.js} +1 -1
- package/dist/cjs/stepper-states-77438c3a.js +85 -0
- package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
- package/dist/cjs/tooltip-helper-a2793290.js +157 -0
- package/dist/cjs/{validators-816514ff.js → validators-f4c3063b.js} +6 -1
- package/dist/collection/components/atoms/avatar/avatar.js +1 -1
- package/dist/collection/components/atoms/badge/badge.js +1 -1
- package/dist/collection/components/atoms/badge/badge.style.js +1 -1
- package/dist/collection/components/atoms/button/button.css +13 -13
- package/dist/collection/components/atoms/button/button.js +14 -14
- package/dist/collection/components/atoms/chip/chip.css +4 -4
- package/dist/collection/components/atoms/chip/chip.js +3 -3
- package/dist/collection/components/molecules/checkbox/group.css +2 -2
- package/dist/collection/components/molecules/checkbox/group.js +1 -1
- package/dist/collection/components/molecules/color-input/color-input.js +1 -1
- package/dist/collection/components/molecules/empty/empty.js +1 -1
- package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
- package/dist/collection/components/molecules/input/input.js +1 -1
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +4 -4
- package/dist/collection/components/molecules/radio/radio-group.js +1 -1
- package/dist/collection/components/molecules/radio/radio.js +1 -1
- package/dist/collection/components/molecules/range/range.js +1 -1
- package/dist/collection/components/molecules/switch/switch.css +2 -2
- package/dist/collection/components/molecules/tab-group/tab-group.js +2 -2
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +5 -5
- package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
- package/dist/collection/components/organism/list/list.js +2 -2
- package/dist/collection/components/other/attendance/attendance.js +1 -1
- package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
- package/dist/collection/stories/ui-library/components/date/argTypes_common.js +0 -1
- package/dist/collection/templates/button-template.js +1 -1
- package/dist/collection/templates/caption-template.js +2 -2
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +1 -1
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +9 -3
- package/dist/components/{raf.js → Overflow.js} +692 -69
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +2 -2
- package/dist/components/bcm-attendance.js +1 -1
- package/dist/components/bcm-checkbox-group.js +2 -2
- package/dist/components/bcm-color-input.js +1 -1
- package/dist/components/bcm-date.js +1 -1
- package/dist/components/bcm-error-layout.js +1 -1
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-input-dropdown.js +1 -1
- package/dist/components/bcm-radio-group.js +1 -1
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-group.js +2 -2
- package/dist/components/bcm-tab-item-header.js +5 -5
- package/dist/components/button.js +16 -16
- package/dist/components/caption-template.js +2 -2
- package/dist/components/chip.js +4 -4
- package/dist/components/empty.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/input-template.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/list.js +12 -6
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/rc-overflow.js +1 -593
- package/dist/components/rc-picker.js +8620 -8025
- package/dist/components/tooltip.js +1 -1
- package/dist/esm/Overflow-2cffcda0.js +2750 -0
- package/dist/esm/bcm-a50d55ba.js +1 -1
- package/dist/esm/bcm-accordion.entry.js +70 -0
- package/dist/esm/bcm-alert.entry.js +2 -2
- package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -6
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -6
- package/dist/esm/bcm-attendance-actions.entry.js +325 -0
- package/dist/esm/bcm-attendance.entry.js +31 -0
- package/dist/esm/bcm-avatar_2.entry.js +204 -0
- package/dist/esm/bcm-breadcrumb.entry.js +2 -2
- package/dist/esm/bcm-button-group.entry.js +88 -0
- package/dist/esm/bcm-button_15.entry.js +18605 -0
- package/dist/esm/bcm-caption.entry.js +6 -7
- package/dist/esm/bcm-card.entry.js +2 -2
- package/dist/esm/bcm-checkbox-group.entry.js +411 -0
- package/dist/esm/{bcm-checkbox-lite_8.entry.js → bcm-checkbox-lite_9.entry.js} +24 -5
- package/dist/esm/bcm-checkbox_2.entry.js +189 -0
- package/dist/esm/bcm-chip-group.entry.js +7 -8
- package/dist/esm/bcm-chip.entry.js +87 -0
- package/dist/esm/bcm-collapse.entry.js +2 -2
- package/dist/esm/bcm-color-input.entry.js +72 -0
- package/dist/esm/bcm-default.entry.js +2 -2
- package/dist/esm/bcm-drawer.entry.js +91 -0
- package/dist/esm/bcm-dropdown.entry.js +115 -0
- package/dist/esm/bcm-error-layout.entry.js +1 -1
- package/dist/esm/bcm-expansion-panel.entry.js +112 -0
- package/dist/esm/bcm-input-custom.entry.js +2 -2
- package/dist/esm/bcm-input-dropdown.entry.js +7 -8
- package/dist/esm/bcm-item.entry.js +68 -0
- package/dist/esm/bcm-items.entry.js +45 -0
- package/dist/esm/bcm-link.entry.js +1 -1
- package/dist/esm/bcm-list_3.entry.js +1964 -0
- package/dist/esm/bcm-menu.entry.js +146 -0
- package/dist/esm/bcm-modal-2-footer.entry.js +4 -5
- package/dist/esm/bcm-modal-2-header.entry.js +4 -5
- package/dist/esm/bcm-modal-2.entry.js +5 -6
- package/dist/esm/bcm-modal.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +6 -7
- package/dist/esm/bcm-popconfirm-box.entry.js +111 -0
- package/dist/esm/bcm-popconfirm.entry.js +97 -0
- package/dist/esm/bcm-popover.entry.js +5 -6
- package/dist/esm/bcm-progress.entry.js +158 -0
- package/dist/esm/bcm-radio-group.entry.js +156 -0
- package/dist/esm/bcm-radio.entry.js +60 -0
- package/dist/esm/bcm-range.entry.js +4 -4
- package/dist/esm/bcm-shortcut.entry.js +60 -0
- package/dist/esm/bcm-skeleton.entry.js +4 -5
- package/dist/esm/bcm-step.entry.js +85 -0
- package/dist/esm/bcm-stepper.entry.js +235 -0
- package/dist/esm/bcm-switch.entry.js +147 -0
- package/dist/esm/bcm-tab-group.entry.js +205 -0
- package/dist/esm/bcm-tab-item-header.entry.js +54 -0
- package/dist/esm/bcm-tab-item.entry.js +86 -0
- package/dist/esm/bcm-table.entry.js +4 -5
- package/dist/esm/bcm-tag.entry.js +4 -4
- package/dist/esm/bcm-text.entry.js +45 -0
- package/dist/esm/bcm-textarea.entry.js +159 -0
- package/dist/esm/bcm-toast.entry.js +3 -3
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-d7953d13.js → caption-template-fd7738eb.js} +2 -2
- package/dist/esm/floating-ui-3f4394da.js +1 -1
- package/dist/esm/{generate-44c39402.js → generate-b33f722f.js} +1 -1
- package/dist/esm/{global-8534a386.js → global-d524a06a.js} +1 -1
- package/dist/esm/input-template-453bfff8.js +90 -0
- package/dist/esm/json-parse-decarator-1aa4119c.js +38 -0
- package/dist/esm/{label-template-a26f76c0.js → label-template-374fbdcd.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-ce0f20fe.js → number-helper-712eedd0.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +3 -3
- package/dist/esm/old-bcm-popover.entry.js +3 -3
- package/dist/esm/{package-b2db00f1.js → package-c604bd07.js} +1 -1
- package/dist/esm/stepper-states-00eb7d7d.js +83 -0
- package/dist/esm/string-helper-3592bdc2.js +1 -1
- package/dist/esm/tooltip-helper-088013ec.js +155 -0
- package/dist/esm/{validators-f9bc23cc.js → validators-ebf92486.js} +6 -2
- package/dist/types/templates/list-template.d.ts +0 -1
- package/package.json +2 -2
- package/dist/bromcom-ui/p-08501d86.entry.js +0 -5
- package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
- package/dist/bromcom-ui/p-1a9cd62d.entry.js +0 -5
- package/dist/bromcom-ui/p-1b21310e.entry.js +0 -5
- package/dist/bromcom-ui/p-2f92042f.entry.js +0 -5
- package/dist/bromcom-ui/p-3a220693.entry.js +0 -5
- package/dist/bromcom-ui/p-4d308bb7.entry.js +0 -5
- package/dist/bromcom-ui/p-528c5152.entry.js +0 -5
- package/dist/bromcom-ui/p-52cce799.entry.js +0 -5
- package/dist/bromcom-ui/p-5bb77b86.entry.js +0 -5
- package/dist/bromcom-ui/p-626a65e9.js +0 -5
- package/dist/bromcom-ui/p-677c5742.entry.js +0 -5
- package/dist/bromcom-ui/p-6a87d06d.entry.js +0 -5
- package/dist/bromcom-ui/p-6c152c86.entry.js +0 -5
- package/dist/bromcom-ui/p-77ede2fc.entry.js +0 -20
- package/dist/bromcom-ui/p-8375c8c4.entry.js +0 -5
- package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
- package/dist/bromcom-ui/p-b2ba36fa.entry.js +0 -5
- package/dist/bromcom-ui/p-b6e2c3cb.entry.js +0 -5
- package/dist/bromcom-ui/p-ca33b8ba.js +0 -5
- package/dist/bromcom-ui/p-d00ca988.js +0 -5
- package/dist/bromcom-ui/p-d90fbea6.entry.js +0 -5
- package/dist/bromcom-ui/p-db66b04a.entry.js +0 -5
- package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
- package/dist/bromcom-ui/p-e439b584.entry.js +0 -5
- package/dist/bromcom-ui/p-eca0acda.js +0 -5
- package/dist/cjs/bcm-accordion_45.cjs.entry.js +0 -23947
- package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -182
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1450
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -212
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
- package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -150
- package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
- package/dist/esm/bcm-accordion_45.entry.js +0 -23899
- package/dist/esm/bcm-date-picker.entry.js +0 -178
- package/dist/esm/bcm-datetime-picker.entry.js +0 -1446
- package/dist/esm/bcm-form-2.entry.js +0 -208
- package/dist/esm/bcm-old-input.entry.js +0 -393
- package/dist/esm/bcm-time-picker.entry.js +0 -146
- package/dist/esm/datetime-helper-df25808a.js +0 -9
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
|
+
require('./validators-f4c3063b.js');
|
|
12
|
+
const generate = require('./generate-82c63a56.js');
|
|
13
|
+
require('./number-helper-10017fcd.js');
|
|
14
|
+
require('./string-helper-f9184277.js');
|
|
15
|
+
require('./element-dragger-a8562f82.js');
|
|
16
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
17
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
18
|
+
require('./colors-56282b00.js');
|
|
19
|
+
require('./utils-fc077139.js');
|
|
20
|
+
require('./colors-078851ec.js');
|
|
21
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
+
require('./package-13f78ab4.js');
|
|
23
|
+
|
|
24
|
+
const BcmTabItemHeader = class {
|
|
25
|
+
constructor(hostRef) {
|
|
26
|
+
index.registerInstance(this, hostRef);
|
|
27
|
+
this._id = generate.Generate.UID();
|
|
28
|
+
this.active = false;
|
|
29
|
+
this.disabled = false;
|
|
30
|
+
this.index = undefined;
|
|
31
|
+
this.color = "blue";
|
|
32
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
33
|
+
}
|
|
34
|
+
handleClick() {
|
|
35
|
+
var _a;
|
|
36
|
+
if (!this.disabled) {
|
|
37
|
+
(_a = generate.Generate.findParentElement(this.el, "bcm-tab-group")) === null || _a === void 0 ? void 0 : _a.setActive(this.index);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
const { color, size, active, disabled } = this;
|
|
42
|
+
const disabledClass = "tw-cursor-not-allowed tw-text-gray-400 tw-opacity-50";
|
|
43
|
+
const dc = generate.Generate.getTwColor({
|
|
44
|
+
color: color,
|
|
45
|
+
tones: [500, 600, 700, 800]
|
|
46
|
+
});
|
|
47
|
+
return (index.h(index.Host, { onClick: () => this.handleClick(), class: index$1.classnames(`tw-flex tw-flex-1 tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-transition-font tw-focus:outline-none`, {
|
|
48
|
+
"tw-text-2 tw-py-1 tw-gap-2": size === bcm.Bcm$1.Size.small,
|
|
49
|
+
"tw-text-3 tw-py-2 tw-gap-3": size === bcm.Bcm$1.Size.medium,
|
|
50
|
+
"tw-text-4 tw-py-3 tw-gap-4": size === bcm.Bcm$1.Size.large,
|
|
51
|
+
}, disabled ? disabledClass : "tw-cursor-pointer", active
|
|
52
|
+
? `tw-text-default-500 enabled:hover:tw-text-default-600 enabled:active:tw-text-default-700 enabled:focus-visible:tw-text-default-800`
|
|
53
|
+
: "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:focus-visible:tw-text-slate-700 enabled:active:tw-text-slate-600"), style: dc }));
|
|
54
|
+
}
|
|
55
|
+
get el() { return index.getElement(this); }
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
exports.bcm_tab_item_header = BcmTabItemHeader;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
|
+
require('./validators-f4c3063b.js');
|
|
12
|
+
const generate = require('./generate-82c63a56.js');
|
|
13
|
+
require('./number-helper-10017fcd.js');
|
|
14
|
+
require('./string-helper-f9184277.js');
|
|
15
|
+
require('./element-dragger-a8562f82.js');
|
|
16
|
+
require('./bcm-489c9b1a.js');
|
|
17
|
+
require('./colors-56282b00.js');
|
|
18
|
+
require('./utils-fc077139.js');
|
|
19
|
+
require('./colors-078851ec.js');
|
|
20
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
21
|
+
require('./package-13f78ab4.js');
|
|
22
|
+
|
|
23
|
+
const BcmTabItem = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
index.registerInstance(this, hostRef);
|
|
26
|
+
this._id = generate.Generate.UID();
|
|
27
|
+
this.active = false;
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
this.index = undefined;
|
|
30
|
+
}
|
|
31
|
+
componentWillLoad() {
|
|
32
|
+
this.indexControl();
|
|
33
|
+
}
|
|
34
|
+
componentDidRender() {
|
|
35
|
+
this.headerMove();
|
|
36
|
+
}
|
|
37
|
+
getHeaderItem() {
|
|
38
|
+
const headerItem = this.el.querySelector("bcm-tab-item-header");
|
|
39
|
+
if (headerItem) {
|
|
40
|
+
headerItem.setAttribute("index", `${this.index}`);
|
|
41
|
+
headerItem.setAttribute("active", `${this.active}`);
|
|
42
|
+
headerItem.setAttribute("disabled", `${this.disabled}`);
|
|
43
|
+
headerItem.setAttribute("tab-id", `${this._id}`);
|
|
44
|
+
headerItem.style.order = `${this.index}`;
|
|
45
|
+
}
|
|
46
|
+
return headerItem;
|
|
47
|
+
}
|
|
48
|
+
getParentTabGroup() {
|
|
49
|
+
return generate.Generate.findParentElement(this.el, "bcm-tab-group");
|
|
50
|
+
}
|
|
51
|
+
getFindHeaderItem() {
|
|
52
|
+
var _a, _b;
|
|
53
|
+
return (_b = (_a = this.getParentTabGroup()) === null || _a === void 0 ? void 0 : _a.querySelector("#tab-header")) === null || _b === void 0 ? void 0 : _b.querySelector(`bcm-tab-item-header[tab-id="${this._id}"]`);
|
|
54
|
+
}
|
|
55
|
+
headerMove() {
|
|
56
|
+
var _a, _b, _c, _d;
|
|
57
|
+
if (this.getHeaderItem()) {
|
|
58
|
+
(_a = this.getFindHeaderItem()) === null || _a === void 0 ? void 0 : _a.remove();
|
|
59
|
+
(_c = (_b = this.getParentTabGroup()) === null || _b === void 0 ? void 0 : _b.querySelector("#tab-header")) === null || _c === void 0 ? void 0 : _c.appendChild(this.getHeaderItem());
|
|
60
|
+
(_d = this.el.parentElement) === null || _d === void 0 ? void 0 : _d.refresh();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
indexControl() {
|
|
64
|
+
var _a;
|
|
65
|
+
if (!this.index) {
|
|
66
|
+
(_a = generate.Generate.findParentElement(this.el, "bcm-tab-group")) === null || _a === void 0 ? void 0 : _a.querySelectorAll("bcm-tab-item").forEach((item, index) => {
|
|
67
|
+
if (item === this.el) {
|
|
68
|
+
item.setAttribute("index", `${index + 1}`);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
componentDidLoad() {
|
|
74
|
+
const observer = new MutationObserver(() => {
|
|
75
|
+
this.headerMove();
|
|
76
|
+
});
|
|
77
|
+
observer.observe(this.el, { childList: true, subtree: true });
|
|
78
|
+
}
|
|
79
|
+
render() {
|
|
80
|
+
return (index.h(index.Host, { id: this._id, role: "tabpanel", "aria-labelledby": `tab-${this._id}`, "aria-hidden": `${!this.active}`, class: {
|
|
81
|
+
"tw-block": this.active,
|
|
82
|
+
"tw-hidden": !this.active,
|
|
83
|
+
"tw-opacity-50": this.disabled,
|
|
84
|
+
"tw-w-full": true,
|
|
85
|
+
} }, index.h("slot", null)));
|
|
86
|
+
}
|
|
87
|
+
get el() { return index.getElement(this); }
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
exports.bcm_tab_item = BcmTabItem;
|
|
@@ -9,13 +9,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const watermark = require('./watermark-2c23c8f1.js');
|
|
11
11
|
require('./color-helper-c3a819ea.js');
|
|
12
|
-
require('./
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
require('./number-helper-
|
|
15
|
-
const stringHelper = require('./string-helper-
|
|
16
|
-
require('./validators-816514ff.js');
|
|
12
|
+
require('./validators-f4c3063b.js');
|
|
13
|
+
const generate = require('./generate-82c63a56.js');
|
|
14
|
+
require('./number-helper-10017fcd.js');
|
|
15
|
+
const stringHelper = require('./string-helper-f9184277.js');
|
|
17
16
|
require('./element-dragger-a8562f82.js');
|
|
18
|
-
require('./bcm-
|
|
17
|
+
require('./bcm-489c9b1a.js');
|
|
19
18
|
const index$1 = require('./index-95ae50d0.js');
|
|
20
19
|
require('./types-cc4adee7.js');
|
|
21
20
|
require('./types-7523fd99.js');
|
|
@@ -23,7 +22,7 @@ require('./colors-56282b00.js');
|
|
|
23
22
|
require('./utils-fc077139.js');
|
|
24
23
|
require('./colors-078851ec.js');
|
|
25
24
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
26
|
-
require('./package-
|
|
25
|
+
require('./package-13f78ab4.js');
|
|
27
26
|
|
|
28
27
|
// DO NOT UPDATE MANUALLY: Generated from script during build time
|
|
29
28
|
var VERSION$4 = '29.0.0';
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
const bcm = require('./bcm-
|
|
10
|
+
const generate = require('./generate-82c63a56.js');
|
|
11
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
12
12
|
const index = require('./index-95ae50d0.js');
|
|
13
|
-
const numberHelper = require('./number-helper-
|
|
13
|
+
const numberHelper = require('./number-helper-10017fcd.js');
|
|
14
14
|
const utils = require('./utils-fc077139.js');
|
|
15
15
|
const colors = require('./colors-56282b00.js');
|
|
16
16
|
const types = require('./types-7523fd99.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-13f78ab4.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
19
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
20
20
|
|
|
21
21
|
const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, type, onDismiss, onSelect }) => {
|
|
22
|
-
!size && (size = bcm.Bcm
|
|
22
|
+
!size && (size = bcm.Bcm.FontSize['size-1']);
|
|
23
23
|
const getColor = (color) => {
|
|
24
|
-
if ((type === bcm.Bcm
|
|
24
|
+
if ((type === bcm.Bcm.TagType.basic || type == bcm.Bcm.TagType.dismissable) && types.ColorProps[color])
|
|
25
25
|
return {
|
|
26
26
|
color: utils.extractColor(colors.ColorPalette, types.ColorProps[color] + '-6'),
|
|
27
27
|
borderColor: utils.extractColor(colors.ColorPalette, types.ColorProps[color] + '-3'),
|
|
@@ -30,10 +30,10 @@ const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, ty
|
|
|
30
30
|
};
|
|
31
31
|
const getSize = (size, returnNumber = false) => {
|
|
32
32
|
if (numberHelper.NumberHelper.isNumber(size)) {
|
|
33
|
-
size = bcm.Bcm
|
|
33
|
+
size = bcm.Bcm.FontSize["size-" + size] || bcm.Bcm.FontSize["size-4"];
|
|
34
34
|
}
|
|
35
35
|
if (returnNumber) {
|
|
36
|
-
return +(bcm.Bcm
|
|
36
|
+
return +(bcm.Bcm.FontSizeValue[size] || bcm.Bcm.FontSizeValue['size-4']) + 2;
|
|
37
37
|
}
|
|
38
38
|
return size;
|
|
39
39
|
};
|
|
@@ -45,11 +45,11 @@ const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, ty
|
|
|
45
45
|
index$1.h("span", { hidden: true },
|
|
46
46
|
index$1.h("slot", null)),
|
|
47
47
|
index$1.h("span", { class: classes, style: getColor(color), onClick: (e) => onSelect(e) },
|
|
48
|
-
type === bcm.Bcm
|
|
48
|
+
type === bcm.Bcm.TagType.add && (index$1.h("span", { class: "left" },
|
|
49
49
|
index$1.h("bcm-icon", { icon: "far fa-plus" }))),
|
|
50
|
-
type === bcm.Bcm
|
|
50
|
+
type === bcm.Bcm.TagType.checkable && index$1.h("input", { type: "checkbox", checked: checked }),
|
|
51
51
|
index$1.h("span", { class: "value", style: customStyle }, value),
|
|
52
|
-
type === bcm.Bcm
|
|
52
|
+
type === bcm.Bcm.TagType.dismissable && (index$1.h("span", { class: "right close-button", onClick: (e) => onDismiss(e) },
|
|
53
53
|
index$1.h("bcm-icon", { icon: "fal fa-times" }))))));
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -63,17 +63,17 @@ const BcmTag = class {
|
|
|
63
63
|
this._internal_id = generate.Generate.UID();
|
|
64
64
|
this.hidden = false;
|
|
65
65
|
this.value = '';
|
|
66
|
-
this.type = bcm.Bcm
|
|
66
|
+
this.type = bcm.Bcm.TagType.basic;
|
|
67
67
|
this.checked = false;
|
|
68
68
|
this.color = undefined;
|
|
69
69
|
this.customStyle = undefined;
|
|
70
70
|
this.itemObject = undefined;
|
|
71
|
-
this.size = bcm.Bcm
|
|
71
|
+
this.size = bcm.Bcm.FontSize['size-1'];
|
|
72
72
|
this.closeFunc = (e) => e;
|
|
73
73
|
this.selectFunc = (e) => e;
|
|
74
74
|
}
|
|
75
75
|
handleClick() {
|
|
76
|
-
this.type === bcm.Bcm
|
|
76
|
+
this.type === bcm.Bcm.TagType.checkable && this.handleChecked();
|
|
77
77
|
}
|
|
78
78
|
handleClose() {
|
|
79
79
|
this.tagDismissable.emit(this.el);
|
|
@@ -84,7 +84,7 @@ const BcmTag = class {
|
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
86
|
const { type, color, value, customStyle, size, hidden, checked } = this;
|
|
87
|
-
return (index$1.h(TagTemplate, { size: size, hidden: hidden, color: color, customStyle: customStyle, checked: checked, value: value, type: bcm.Bcm
|
|
87
|
+
return (index$1.h(TagTemplate, { size: size, hidden: hidden, color: color, customStyle: customStyle, checked: checked, value: value, type: bcm.Bcm.TagType[type], onSelect: (e) => { this.bcmTagSelect.emit(e); this.selectFunc({ event: e, id: this._id }); }, onDismiss: (e) => { this.handleClose(); this.closeFunc(e); } }));
|
|
88
88
|
}
|
|
89
89
|
get el() { return index$1.getElement(this); }
|
|
90
90
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
+
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
13
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
+
require('./colors-56282b00.js');
|
|
15
|
+
require('./utils-fc077139.js');
|
|
16
|
+
require('./colors-078851ec.js');
|
|
17
|
+
require('./string-helper-f9184277.js');
|
|
18
|
+
require('./bcm-489c9b1a.js');
|
|
19
|
+
|
|
20
|
+
const textCss = "@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-text{display:inline;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-text.hidden{display:none}.bcm-text__paragraph{margin:0;padding:0}.bcm-text__font-size-1{font-size:10px;line-height:calc(10px + 8px)}.bcm-text__font-size-2{font-size:12px;line-height:calc(12px + 8px)}.bcm-text__font-size-3{font-size:14px;line-height:calc(14px + 8px)}.bcm-text__font-size-4{font-size:16px;line-height:calc(16px + 8px)}.bcm-text__font-size-5{font-size:18px;line-height:calc(18px + 8px)}.bcm-text__font-size-6{font-size:20px;line-height:calc(20px + 8px)}.bcm-text__font-size-7{font-size:24px;line-height:calc(24px + 8px)}.bcm-text__font-size-8{font-size:32px;line-height:calc(32px + 8px)}.bcm-text__font-size-9{font-size:40px;line-height:calc(40px + 8px)}";
|
|
21
|
+
|
|
22
|
+
const BcmText = class {
|
|
23
|
+
constructor(hostRef) {
|
|
24
|
+
index.registerInstance(this, hostRef);
|
|
25
|
+
this.hidden = false;
|
|
26
|
+
this.scale = undefined;
|
|
27
|
+
this.weight = "400";
|
|
28
|
+
this.color = "slate";
|
|
29
|
+
this.text = undefined;
|
|
30
|
+
this.fontSize = 4;
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
const { hidden, scale, weight, color, fontSize } = this;
|
|
34
|
+
const hostClasses = index$1.classnames('bcm-text', {
|
|
35
|
+
hidden
|
|
36
|
+
});
|
|
37
|
+
const classes = index$1.classnames('bcm-text__paragraph', `bcm-text__font-size-${fontSize}`, scale);
|
|
38
|
+
const fontWeight = +weight || 400;
|
|
39
|
+
const style = {
|
|
40
|
+
color: colorHelper.ColorHelper.dsColor(color),
|
|
41
|
+
fontWeight
|
|
42
|
+
};
|
|
43
|
+
return (index.h(index.Host, { class: hostClasses }, index.h("span", { hidden: true }, index.h("slot", null)), index.h("p", { class: classes, style: Object.assign({}, style) }, index.h(slotTemplate.SlotTemplate, { value: this.text }))));
|
|
44
|
+
}
|
|
45
|
+
get el() { return index.getElement(this); }
|
|
46
|
+
};
|
|
47
|
+
BcmText.style = textCss;
|
|
48
|
+
|
|
49
|
+
exports.bcm_text = BcmText;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
+
const generate = require('./generate-82c63a56.js');
|
|
13
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
14
|
+
const captionTemplate = require('./caption-template-086e9cac.js');
|
|
15
|
+
const inputTemplate = require('./input-template-e0087a2b.js');
|
|
16
|
+
const utils = require('./utils-fc077139.js');
|
|
17
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
18
|
+
require('./package-13f78ab4.js');
|
|
19
|
+
require('./colors-078851ec.js');
|
|
20
|
+
require('./types-cc4adee7.js');
|
|
21
|
+
|
|
22
|
+
var ResizeType;
|
|
23
|
+
(function (ResizeType) {
|
|
24
|
+
ResizeType["none"] = "none";
|
|
25
|
+
ResizeType["both"] = "both";
|
|
26
|
+
ResizeType["horizontal"] = "horizontal";
|
|
27
|
+
ResizeType["vertical"] = "vertical";
|
|
28
|
+
ResizeType["initial"] = "initial";
|
|
29
|
+
ResizeType["inherit"] = "inherit";
|
|
30
|
+
})(ResizeType || (ResizeType = {}));
|
|
31
|
+
|
|
32
|
+
const textareaCss = "@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}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
|
|
33
|
+
|
|
34
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
35
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
36
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
37
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
38
|
+
else
|
|
39
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
40
|
+
if (d = decorators[i])
|
|
41
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
42
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
43
|
+
};
|
|
44
|
+
const BcmTextarea = class {
|
|
45
|
+
constructor(hostRef) {
|
|
46
|
+
index.registerInstance(this, hostRef);
|
|
47
|
+
this.focus = index.createEvent(this, "bcm-focus", 7);
|
|
48
|
+
this.blur = index.createEvent(this, "bcm-blur", 7);
|
|
49
|
+
this.clear = index.createEvent(this, "bcm-clear", 7);
|
|
50
|
+
this.change = index.createEvent(this, "bcm-change", 7);
|
|
51
|
+
this.input = index.createEvent(this, "bcm-input", 7);
|
|
52
|
+
this._id = generate.Generate.UID();
|
|
53
|
+
this._internal_id = generate.Generate.UID();
|
|
54
|
+
this.hidden = false;
|
|
55
|
+
this.value = undefined;
|
|
56
|
+
this.placeholder = undefined;
|
|
57
|
+
this.label = undefined;
|
|
58
|
+
this.name = undefined;
|
|
59
|
+
this.required = false;
|
|
60
|
+
this.caption = undefined;
|
|
61
|
+
this.noCaption = false;
|
|
62
|
+
this.captionError = undefined;
|
|
63
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
64
|
+
this.rows = 3;
|
|
65
|
+
this.size = bcm.Bcm.Size.medium;
|
|
66
|
+
this.disabled = undefined;
|
|
67
|
+
this.readonly = false;
|
|
68
|
+
this.clearable = undefined;
|
|
69
|
+
this.resize = ResizeType.vertical;
|
|
70
|
+
this.fullWidth = false;
|
|
71
|
+
this.maxLength = undefined;
|
|
72
|
+
this.focused = false;
|
|
73
|
+
this.captionCache = undefined;
|
|
74
|
+
this.captionTypeCache = undefined;
|
|
75
|
+
}
|
|
76
|
+
connectedCallback() {
|
|
77
|
+
this.captionCache = this.caption;
|
|
78
|
+
this.captionTypeCache = this.captionType;
|
|
79
|
+
}
|
|
80
|
+
async onBcmFocus() {
|
|
81
|
+
this.textarea.focus();
|
|
82
|
+
}
|
|
83
|
+
async onBcmBlur() {
|
|
84
|
+
this.textarea.blur();
|
|
85
|
+
}
|
|
86
|
+
async onBcmSelect() {
|
|
87
|
+
this.textarea.select();
|
|
88
|
+
}
|
|
89
|
+
async set(data) {
|
|
90
|
+
await this.setValue(data);
|
|
91
|
+
}
|
|
92
|
+
async get() {
|
|
93
|
+
return this.value || null;
|
|
94
|
+
}
|
|
95
|
+
async setValue(value) {
|
|
96
|
+
this.textarea.value = value;
|
|
97
|
+
this.value = value;
|
|
98
|
+
this.handleChange();
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
async setClear() {
|
|
102
|
+
this.textarea.value = '';
|
|
103
|
+
this.value = '';
|
|
104
|
+
await utils.delay(10);
|
|
105
|
+
return Promise.resolve();
|
|
106
|
+
}
|
|
107
|
+
async resetCaption() {
|
|
108
|
+
await utils.delay(10);
|
|
109
|
+
this.caption = this.captionCache;
|
|
110
|
+
this.captionType = this.captionTypeCache;
|
|
111
|
+
this.captionError = null;
|
|
112
|
+
await utils.delay(10);
|
|
113
|
+
return Promise.resolve();
|
|
114
|
+
}
|
|
115
|
+
async getValue() {
|
|
116
|
+
return this.value;
|
|
117
|
+
}
|
|
118
|
+
watchValue(newValue) {
|
|
119
|
+
this.textarea.value = newValue;
|
|
120
|
+
this.handleChange();
|
|
121
|
+
}
|
|
122
|
+
handleFocus() {
|
|
123
|
+
this.focused = true;
|
|
124
|
+
this.focus.emit();
|
|
125
|
+
}
|
|
126
|
+
handleBlur() {
|
|
127
|
+
this.focused = false;
|
|
128
|
+
this.blur.emit();
|
|
129
|
+
}
|
|
130
|
+
handleChange() {
|
|
131
|
+
this.value = this.textarea.value;
|
|
132
|
+
this.change.emit(this.value);
|
|
133
|
+
}
|
|
134
|
+
handleInput() {
|
|
135
|
+
this.value = this.textarea.value;
|
|
136
|
+
this.input.emit(this.value);
|
|
137
|
+
}
|
|
138
|
+
handleClear(e) {
|
|
139
|
+
this.textarea.value = '';
|
|
140
|
+
this.value = '';
|
|
141
|
+
this.clear.emit();
|
|
142
|
+
this.textarea.focus();
|
|
143
|
+
e.stopPropagation();
|
|
144
|
+
}
|
|
145
|
+
render() {
|
|
146
|
+
const { _id, hidden, readonly, fullWidth, size, rows, disabled, clearable, label, focused, noCaption, caption, captionError, captionType, value, resize, maxLength, placeholder, required } = this;
|
|
147
|
+
const hostClasses = index$1.classnames('bcm-input', {
|
|
148
|
+
hidden,
|
|
149
|
+
'full-width': fullWidth,
|
|
150
|
+
});
|
|
151
|
+
return (index.h(index.Host, { class: hostClasses }, label && index.h("bcm-label", { type: captionType, value: label, required: required, htmlFor: _id }), index.h(inputTemplate.InputTemplate, { elementType: bcm.Bcm.HtmlElementType.textarea, id: _id, value: value, rows: rows, disabled: disabled, maxLength: maxLength, placeholder: placeholder, clearable: clearable, resize: resize, readonly: readonly, size: size, focused: focused, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), handleClear: (e) => this.handleClear(e), ref: (el) => this.textarea = el, captionType: captionType }), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, value: value, maxLength: maxLength })));
|
|
152
|
+
}
|
|
153
|
+
get el() { return index.getElement(this); }
|
|
154
|
+
static get watchers() { return {
|
|
155
|
+
"value": ["watchValue"]
|
|
156
|
+
}; }
|
|
157
|
+
};
|
|
158
|
+
__decorate([
|
|
159
|
+
isLoadDecorator.IsLoad()
|
|
160
|
+
], BcmTextarea.prototype, "el", void 0);
|
|
161
|
+
BcmTextarea.style = textareaCss;
|
|
162
|
+
|
|
163
|
+
exports.bcm_textarea = BcmTextarea;
|
|
@@ -8,12 +8,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
const stringHelper = require('./string-helper-
|
|
13
|
-
const bcm = require('./bcm-
|
|
11
|
+
const generate = require('./generate-82c63a56.js');
|
|
12
|
+
const stringHelper = require('./string-helper-f9184277.js');
|
|
13
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
14
14
|
const utils = require('./utils-fc077139.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-13f78ab4.js');
|
|
17
17
|
require('./colors-078851ec.js');
|
|
18
18
|
|
|
19
19
|
const BcmToast = class {
|
|
@@ -27,7 +27,7 @@ const BcmToast = class {
|
|
|
27
27
|
this.message = "";
|
|
28
28
|
this.description = "";
|
|
29
29
|
this.duration = 3000;
|
|
30
|
-
this.position = bcm.Bcm
|
|
30
|
+
this.position = bcm.Bcm.Placement.bottom;
|
|
31
31
|
this.messageIcon = undefined;
|
|
32
32
|
this.viewButton = false;
|
|
33
33
|
this.closeButton = true;
|
|
@@ -77,12 +77,12 @@ const BcmToast = class {
|
|
|
77
77
|
container = document.createElement("div");
|
|
78
78
|
container.id = containerId;
|
|
79
79
|
const classlist = index$1.classnames("tw-pointer-events-none tw-overflow-hidden tw-z-50", "tw-fixed tw-flex", "tw-p-4 tw-gap-4", {
|
|
80
|
-
"tw-flex-col-reverse tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === bcm.Bcm
|
|
81
|
-
"tw-flex-col tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === bcm.Bcm
|
|
82
|
-
"tw-flex-col-reverse tw-top-4 tw-left-4": this.position === bcm.Bcm
|
|
83
|
-
"tw-flex-col-reverse tw-top-4 tw-right-4": this.position === bcm.Bcm
|
|
84
|
-
"tw-flex-col tw-bottom-4 tw-left-4": this.position === bcm.Bcm
|
|
85
|
-
"tw-flex-col tw-bottom-4 tw-right-4": this.position === bcm.Bcm
|
|
80
|
+
"tw-flex-col-reverse tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === bcm.Bcm.Placement.top,
|
|
81
|
+
"tw-flex-col tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === bcm.Bcm.Placement.bottom,
|
|
82
|
+
"tw-flex-col-reverse tw-top-4 tw-left-4": this.position === bcm.Bcm.Placement["top-start"],
|
|
83
|
+
"tw-flex-col-reverse tw-top-4 tw-right-4": this.position === bcm.Bcm.Placement["top-end"],
|
|
84
|
+
"tw-flex-col tw-bottom-4 tw-left-4": this.position === bcm.Bcm.Placement["bottom-start"],
|
|
85
|
+
"tw-flex-col tw-bottom-4 tw-right-4": this.position === bcm.Bcm.Placement["bottom-end"],
|
|
86
86
|
});
|
|
87
87
|
container.classList.add(...classlist.split(" "));
|
|
88
88
|
document.body.appendChild(container);
|