bromcom-ui 2.11.1-rc.9-3 → 2.11.2-test.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-00c28e19.entry.js +5 -0
- package/dist/bromcom-ui/p-0533a1b0.entry.js +5 -0
- package/dist/bromcom-ui/{p-2cd6cdee.js → p-09318a64.js} +1 -1
- package/dist/bromcom-ui/p-0a44db90.entry.js +5 -0
- package/dist/bromcom-ui/p-0cd4e8a1.entry.js +5 -0
- package/dist/bromcom-ui/p-195c1819.entry.js +5 -0
- package/dist/bromcom-ui/p-19783732.entry.js +5 -0
- package/dist/bromcom-ui/p-1e5df686.entry.js +5 -0
- package/dist/bromcom-ui/p-207c20c6.entry.js +5 -0
- package/dist/bromcom-ui/p-2270e612.entry.js +5 -0
- package/dist/bromcom-ui/p-34740cfd.entry.js +5 -0
- package/dist/bromcom-ui/p-350719ca.entry.js +5 -0
- package/dist/bromcom-ui/p-385a50b0.entry.js +5 -0
- package/dist/bromcom-ui/p-3b38d001.js +5 -0
- package/dist/bromcom-ui/p-3c04d0f7.entry.js +5 -0
- package/dist/bromcom-ui/p-3e2fb868.entry.js +5 -0
- package/dist/bromcom-ui/p-44faabe9.entry.js +5 -0
- package/dist/bromcom-ui/{p-5a391fcd.js → p-4757735e.js} +1 -1
- package/dist/bromcom-ui/p-4d5eb722.entry.js +5 -0
- package/dist/bromcom-ui/p-50926f4c.entry.js +5 -0
- package/dist/bromcom-ui/p-5196912d.js +5 -0
- package/dist/bromcom-ui/p-543457d1.entry.js +5 -0
- package/dist/bromcom-ui/p-58ca54dc.js +5 -0
- package/dist/bromcom-ui/p-60dd2172.entry.js +5 -0
- package/dist/bromcom-ui/p-6146d180.entry.js +5 -0
- package/dist/bromcom-ui/p-62804f2c.entry.js +5 -0
- package/dist/bromcom-ui/p-666d9883.entry.js +5 -0
- package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-695d8d34.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14ed8029.entry.js → p-69c64256.entry.js} +1 -1
- package/dist/bromcom-ui/p-6c6beb41.entry.js +5 -0
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/p-6e961eb9.entry.js +7 -0
- package/dist/bromcom-ui/p-70c2412a.entry.js +5 -0
- package/dist/bromcom-ui/p-7175c984.entry.js +5 -0
- package/dist/bromcom-ui/p-7222a8db.entry.js +5 -0
- package/dist/bromcom-ui/p-75e4f799.entry.js +5 -0
- package/dist/bromcom-ui/p-76f6db61.entry.js +5 -0
- package/dist/bromcom-ui/p-79153d4a.entry.js +5 -0
- package/dist/bromcom-ui/p-7b9e8f58.entry.js +5 -0
- package/dist/bromcom-ui/p-80a43d63.js +5 -0
- package/dist/bromcom-ui/p-86384d20.entry.js +5 -0
- package/dist/bromcom-ui/p-894c02ef.entry.js +5 -0
- package/dist/bromcom-ui/p-8b00d553.entry.js +5 -0
- package/dist/bromcom-ui/p-8b3eafe7.entry.js +5 -0
- package/dist/bromcom-ui/p-9098db35.entry.js +5 -0
- package/dist/bromcom-ui/p-a0d6d680.js +1 -1
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/p-a42fbe84.entry.js +5 -0
- package/dist/bromcom-ui/p-a516049b.entry.js +5 -0
- package/dist/bromcom-ui/p-a62adacd.js +5 -0
- package/dist/bromcom-ui/p-aaf36d5c.entry.js +5 -0
- package/dist/bromcom-ui/p-ab2dcd70.entry.js +5 -0
- package/dist/bromcom-ui/{p-db15dca3.entry.js → p-ad8d9e10.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ede82918.js → p-b12c8235.js} +1 -1
- package/dist/bromcom-ui/p-b2c6659a.entry.js +5 -0
- package/dist/bromcom-ui/p-b381e7f1.js +19 -0
- package/dist/bromcom-ui/{p-90223f9f.entry.js → p-b3f7b64d.entry.js} +1 -1
- package/dist/bromcom-ui/p-b4755ed0.entry.js +5 -0
- package/dist/bromcom-ui/{p-a018f340.entry.js → p-b66e0388.entry.js} +1 -1
- package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-b6e6027b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-35c215f2.entry.js → p-b85fd5f4.entry.js} +1 -1
- package/dist/bromcom-ui/p-c6b86846.entry.js +5 -0
- package/dist/bromcom-ui/p-cc449a87.entry.js +5 -0
- package/dist/bromcom-ui/{p-8b31581f.js → p-ccbb5a6b.js} +1 -1
- package/dist/bromcom-ui/p-d01426b6.entry.js +5 -0
- package/dist/bromcom-ui/p-d43d75d2.entry.js +5 -0
- package/dist/bromcom-ui/p-d51f76b2.js +5 -0
- package/dist/bromcom-ui/p-ef4baf81.entry.js +5 -0
- package/dist/bromcom-ui/p-f2b520a4.entry.js +5 -0
- package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-f2e06aca.entry.js} +1 -1
- package/dist/bromcom-ui/{p-930f3618.js → p-f6169b46.js} +1 -1
- package/dist/bromcom-ui/p-f7e70814.entry.js +5 -0
- package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-fc27c9ca.entry.js} +1 -1
- 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 +157 -0
- 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-f73a098d.js → generate-64f84d95.js} +1 -1
- package/dist/cjs/{global-baf04c81.js → global-895f2946.js} +1 -1
- package/dist/cjs/input-template-9c106337.js +92 -0
- package/dist/cjs/json-parse-decarator-9db107be.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-0543a62e.js → number-helper-f9323233.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-e717a31f.js → package-992c024f.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-b3496b3f.js +85 -0
- package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
- package/dist/cjs/tooltip-helper-cb99c02e.js +157 -0
- package/dist/cjs/{validators-77768582.js → validators-abb0434a.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/modal/modal.css +1 -1
- 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.css +2 -3
- 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-modal.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 +13 -7
- 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 +153 -0
- 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-c2c0b02e.js → generate-56856b63.js} +1 -1
- package/dist/esm/{global-2473677b.js → global-c0272f2f.js} +1 -1
- package/dist/esm/input-template-19a34625.js +90 -0
- package/dist/esm/json-parse-decarator-c9a132f1.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-75447fa6.js → number-helper-0501b786.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-28dc6847.js → package-a9b6e2c6.js} +1 -1
- package/dist/esm/stepper-states-a4b1efb3.js +83 -0
- package/dist/esm/string-helper-3592bdc2.js +1 -1
- package/dist/esm/tooltip-helper-de7eb9a3.js +155 -0
- package/dist/esm/{validators-5a383988.js → validators-be951131.js} +6 -2
- package/dist/types/templates/list-template.d.ts +0 -1
- package/package.json +2 -2
- package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
- package/dist/bromcom-ui/p-178fa936.entry.js +0 -5
- package/dist/bromcom-ui/p-3361f6c9.entry.js +0 -5
- package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
- package/dist/bromcom-ui/p-3cdfd8eb.entry.js +0 -5
- package/dist/bromcom-ui/p-5a22b74b.entry.js +0 -5
- package/dist/bromcom-ui/p-626a65e9.js +0 -5
- package/dist/bromcom-ui/p-627c7769.entry.js +0 -5
- package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
- package/dist/bromcom-ui/p-70253803.entry.js +0 -5
- package/dist/bromcom-ui/p-7fd22a35.entry.js +0 -5
- package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
- package/dist/bromcom-ui/p-a4b675ef.entry.js +0 -5
- package/dist/bromcom-ui/p-abd2f9ff.entry.js +0 -5
- package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
- package/dist/bromcom-ui/p-bca0ff0a.entry.js +0 -5
- package/dist/bromcom-ui/p-c10b07cc.entry.js +0 -5
- package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
- package/dist/bromcom-ui/p-dc607ae4.entry.js +0 -5
- package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
- package/dist/bromcom-ui/p-e10780ed.entry.js +0 -5
- package/dist/bromcom-ui/p-e497cf5d.entry.js +0 -5
- package/dist/bromcom-ui/p-e93d6619.js +0 -5
- package/dist/bromcom-ui/p-ebeb9689.entry.js +0 -5
- package/dist/bromcom-ui/p-eca0acda.js +0 -5
- package/dist/bromcom-ui/p-fba1682e.entry.js +0 -5
- package/dist/cjs/bcm-accordion_46.cjs.entry.js +0 -24086
- 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_46.entry.js +0 -24037
- 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,101 @@
|
|
|
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 generate = require('./generate-64f84d95.js');
|
|
12
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
13
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
+
require('./package-992c024f.js');
|
|
15
|
+
require('./colors-078851ec.js');
|
|
16
|
+
|
|
17
|
+
const popconfirmCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-popconfirm{display:inline-flex}";
|
|
18
|
+
|
|
19
|
+
const BcmPopconfirm = class {
|
|
20
|
+
constructor(hostRef) {
|
|
21
|
+
index.registerInstance(this, hostRef);
|
|
22
|
+
this.onShow = index.createEvent(this, "bcm-show", 7);
|
|
23
|
+
this.onHide = index.createEvent(this, "bcm-hide", 7);
|
|
24
|
+
this.onConfirm = index.createEvent(this, "bcm-confirm", 7);
|
|
25
|
+
this.onCancel = index.createEvent(this, "bcm-cancel", 7);
|
|
26
|
+
this._id = generate.Generate.UID();
|
|
27
|
+
this.message = undefined;
|
|
28
|
+
this.status = 'warning';
|
|
29
|
+
this.cancelText = "No";
|
|
30
|
+
this.okeyText = "Yes";
|
|
31
|
+
this.placement = bcm.Bcm.Placement.top;
|
|
32
|
+
this.trigger = bcm.Bcm.TriggerType.click;
|
|
33
|
+
this.open = false;
|
|
34
|
+
this.hidden = false;
|
|
35
|
+
}
|
|
36
|
+
async show() {
|
|
37
|
+
// if (this.open) return
|
|
38
|
+
this.open = true;
|
|
39
|
+
this.onShow.emit();
|
|
40
|
+
await this.createBox().then(() => this.showBox());
|
|
41
|
+
}
|
|
42
|
+
async hide() {
|
|
43
|
+
// if (!this.open) return
|
|
44
|
+
this.open = false;
|
|
45
|
+
this.onHide.emit();
|
|
46
|
+
// this.hideBox()
|
|
47
|
+
}
|
|
48
|
+
async createBox() {
|
|
49
|
+
let element = this.getPopconfirmBox();
|
|
50
|
+
if (!element) {
|
|
51
|
+
const box = document.createElement('bcm-popconfirm-box');
|
|
52
|
+
box.setAttribute('id', 'box-' + this._id);
|
|
53
|
+
box.setAttribute('target-id', this._id);
|
|
54
|
+
box.setAttribute('placement', this.placement);
|
|
55
|
+
box.setAttribute('message', this.message);
|
|
56
|
+
box.setAttribute('status', this.status);
|
|
57
|
+
box.setAttribute('cancel-text', this.cancelText);
|
|
58
|
+
box.setAttribute('okey-text', this.okeyText);
|
|
59
|
+
this.el.parentElement.appendChild(box);
|
|
60
|
+
}
|
|
61
|
+
return Promise.resolve();
|
|
62
|
+
}
|
|
63
|
+
getPopconfirmBox() {
|
|
64
|
+
return document.querySelector(`bcm-popconfirm-box[id="box-${this._id}"]`);
|
|
65
|
+
}
|
|
66
|
+
showBox() {
|
|
67
|
+
this.getPopconfirmBox() && this.getPopconfirmBox().show();
|
|
68
|
+
}
|
|
69
|
+
hideBox() {
|
|
70
|
+
this.getPopconfirmBox() && this.getPopconfirmBox().hide();
|
|
71
|
+
}
|
|
72
|
+
listenTrigger(event) {
|
|
73
|
+
switch (this.trigger) {
|
|
74
|
+
case 'click':
|
|
75
|
+
event === 'click' && (this.open ? this.hide() : this.show());
|
|
76
|
+
break;
|
|
77
|
+
case 'hover':
|
|
78
|
+
event === 'onMouseOver' && this.show();
|
|
79
|
+
event === 'onMouseOut' && this.hide();
|
|
80
|
+
break;
|
|
81
|
+
case 'focus':
|
|
82
|
+
event === 'onFocus' && this.show();
|
|
83
|
+
event === 'onBlur' && this.hide();
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
onBcmConfirm(e) {
|
|
88
|
+
e.detail == this._id && (this.onConfirm.emit(this._id));
|
|
89
|
+
}
|
|
90
|
+
onBcmCancel(e) {
|
|
91
|
+
e.detail == this._id && (this.onCancel.emit(this._id));
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
const popconfirmClasses = index$1.classnames('bcm-popconfirm');
|
|
95
|
+
return (index.h(index.Host, { class: popconfirmClasses, onclick: () => this.listenTrigger('click') }, index.h("slot", null)));
|
|
96
|
+
}
|
|
97
|
+
get el() { return index.getElement(this); }
|
|
98
|
+
};
|
|
99
|
+
BcmPopconfirm.style = popconfirmCss;
|
|
100
|
+
|
|
101
|
+
exports.bcm_popconfirm = BcmPopconfirm;
|
|
@@ -8,19 +8,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
11
|
-
require('./
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
const stringHelper = require('./string-helper-
|
|
15
|
-
require('./validators-77768582.js');
|
|
11
|
+
require('./validators-abb0434a.js');
|
|
12
|
+
const generate = require('./generate-64f84d95.js');
|
|
13
|
+
require('./number-helper-f9323233.js');
|
|
14
|
+
const stringHelper = require('./string-helper-f9184277.js');
|
|
16
15
|
require('./element-dragger-a8562f82.js');
|
|
17
|
-
const bcm = require('./bcm-
|
|
16
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
18
17
|
const utils = require('./utils-fc077139.js');
|
|
19
|
-
const floatingUi = require('./floating-ui-
|
|
18
|
+
const floatingUi = require('./floating-ui-21890d11.js');
|
|
20
19
|
require('./colors-56282b00.js');
|
|
21
20
|
require('./colors-078851ec.js');
|
|
22
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
-
require('./package-
|
|
22
|
+
require('./package-992c024f.js');
|
|
24
23
|
|
|
25
24
|
class Popover {
|
|
26
25
|
constructor({ content, message, targetId, placement = "top", color = "slate-700", trigger = "none", openDelay = 0, closeDelay = 0, autoHide = false, emitShow = () => { }, emitHide = () => { } }) {
|
|
@@ -163,8 +162,8 @@ const BcmPopover = class {
|
|
|
163
162
|
this._id = generate.Generate.UID();
|
|
164
163
|
this.message = "";
|
|
165
164
|
this.content = "";
|
|
166
|
-
this.placement = bcm.Bcm.Placement.top;
|
|
167
|
-
this.trigger = bcm.Bcm.TriggerType.click;
|
|
165
|
+
this.placement = bcm.Bcm$1.Placement.top;
|
|
166
|
+
this.trigger = bcm.Bcm$1.TriggerType.click;
|
|
168
167
|
this.open = false;
|
|
169
168
|
this.color = "white";
|
|
170
169
|
this.openDelay = 0;
|
|
@@ -0,0 +1,162 @@
|
|
|
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 generate = require('./generate-64f84d95.js');
|
|
13
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
14
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
+
require('./colors-56282b00.js');
|
|
16
|
+
require('./utils-fc077139.js');
|
|
17
|
+
require('./colors-078851ec.js');
|
|
18
|
+
require('./package-992c024f.js');
|
|
19
|
+
|
|
20
|
+
// export const lineSizes = {
|
|
21
|
+
// small: {
|
|
22
|
+
// textSize: 'size-1',
|
|
23
|
+
// iconSize: 14,
|
|
24
|
+
// },
|
|
25
|
+
// medium: {
|
|
26
|
+
// textSize: 'size-2',
|
|
27
|
+
// iconSize: 16,
|
|
28
|
+
// }
|
|
29
|
+
// }
|
|
30
|
+
const circleSizes = {
|
|
31
|
+
small: {
|
|
32
|
+
textSize: 'size-3',
|
|
33
|
+
iconSize: 22,
|
|
34
|
+
circleSize: 80,
|
|
35
|
+
radius: 36
|
|
36
|
+
},
|
|
37
|
+
medium: {
|
|
38
|
+
textSize: 'size-5',
|
|
39
|
+
iconSize: 30,
|
|
40
|
+
circleSize: 120,
|
|
41
|
+
radius: 52
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const progressCss = "@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-progress{--bcm-progress-color:var(--bcm-new-ds-color-blue-500);display:inline-block;min-width:50px;width:100%;max-width:256px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-progress.full-width{width:100%;max-width:100%;min-width:auto}.bcm-progress__line{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;min-height:8px}.bcm-progress__line .value{margin-left:8px;color:var(--bcm-new-ds-color-slate-500);min-width:32px;font-size:14px;min-height:calc(14px + 8px);font-weight:500}.bcm-progress__line-progress{width:100%;flex:1;height:8px;border:0 none;background:var(--bcm-new-ds-color-slate-200);appearance:none}.bcm-progress__line-progress.small{height:6px}.bcm-progress__line-progress.line-rounded,.bcm-progress__line-progress.line-rounded::-webkit-progress-value{border-radius:8px}.bcm-progress__line-progress.line-rounded::-moz-progress-bar{border-radius:8px}.bcm-progress__line-progress.completed::-webkit-progress-value{background-color:var(--bcm-progress-color)}.bcm-progress__line-progress.completed::-moz-progress-bar{background-color:var(--bcm-progress-color)}.bcm-progress__line-progress.error::-webkit-progress-value{background-color:var(--bcm-new-ds-color-red-500)}.bcm-progress__line-progress.error::-moz-progress-bar{background-color:var(--bcm-new-ds-color-red-500)}.bcm-progress__line-progress.error .value{color:var(--bcm-new-ds-color-red-500)}.bcm-progress__line-progress::-webkit-progress-bar{background:transparent}.bcm-progress__line-progress::-webkit-progress-value{background-color:var(--bcm-progress-color);transition:0.3s}.bcm-progress__line-progress::-moz-progress-bar{background-color:var(--bcm-progress-color);transition:0.3s}.bcm-progress__circle{position:relative}.bcm-progress__circle bcm-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.bcm-progress__circle text{fill:var(--bcm-new-ds-color-slate-500);font-size:18px;line-height:calc(18px + 8px);font-weight:500}.bcm-progress__circle-circle{transition:0.35s stroke-dashoffset, 0.1s stroke;transform:rotate(-90deg);transform-origin:50% 50%;stroke:#F5F5F5;stroke-width:6px;fill:transparent}.bcm-progress__circle-circle.bar{stroke:var(--bcm-progress-color)}.bcm-progress__circle-circle.completed{stroke:var(--bcm-new-ds-color-emerald-500)}.bcm-progress__circle-circle.error{stroke:var(--bcm-new-ds-color-red-500)}";
|
|
46
|
+
|
|
47
|
+
const BcmProgress = class {
|
|
48
|
+
constructor(hostRef) {
|
|
49
|
+
index.registerInstance(this, hostRef);
|
|
50
|
+
this._id = generate.Generate.UID();
|
|
51
|
+
this.value = 0;
|
|
52
|
+
this.max = 100;
|
|
53
|
+
this.size = bcm.Bcm.Size.medium;
|
|
54
|
+
this.type = "line-rounded";
|
|
55
|
+
this.info = null;
|
|
56
|
+
this.error = false;
|
|
57
|
+
this.hidden = false;
|
|
58
|
+
this.fullWidth = false;
|
|
59
|
+
this.color = "blue";
|
|
60
|
+
this.isCompleted = false;
|
|
61
|
+
}
|
|
62
|
+
connectedCallback() {
|
|
63
|
+
this.maxPercent(this.value);
|
|
64
|
+
}
|
|
65
|
+
componentDidRender() {
|
|
66
|
+
const circle = this.el.querySelector("#circle");
|
|
67
|
+
if (circle) {
|
|
68
|
+
const radius = circle.r.baseVal.value;
|
|
69
|
+
const circumference = radius * 2 * Math.PI;
|
|
70
|
+
const offset = circumference - (this.value / this.max) * circumference;
|
|
71
|
+
circle.style.strokeDasharray = `${circumference} ${circumference}`;
|
|
72
|
+
circle.style.strokeDashoffset = `${circumference}`;
|
|
73
|
+
circle.style.strokeDashoffset = `${offset}`;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
componentShouldUpdate(newVal, oldVal, propName) {
|
|
77
|
+
if (propName === "value" && newVal !== oldVal) {
|
|
78
|
+
this.handlePercent(newVal);
|
|
79
|
+
}
|
|
80
|
+
if (propName === "max" && newVal !== oldVal) {
|
|
81
|
+
this.value > newVal ? this.value = newVal : this.value;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
maxPercent(newValue) {
|
|
85
|
+
if (newValue >= this.max) {
|
|
86
|
+
this.value = this.max;
|
|
87
|
+
this.isCompleted = true;
|
|
88
|
+
}
|
|
89
|
+
if (newValue < this.max) {
|
|
90
|
+
this.isCompleted = false;
|
|
91
|
+
}
|
|
92
|
+
if (newValue <= 0) {
|
|
93
|
+
this.value = 0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
async increment(percent) {
|
|
97
|
+
this.handlePercent(+percent, "increment");
|
|
98
|
+
}
|
|
99
|
+
async decrement(percent) {
|
|
100
|
+
this.handlePercent(+percent, "decrement");
|
|
101
|
+
}
|
|
102
|
+
async set(percent) {
|
|
103
|
+
this.handlePercent(+percent, "set");
|
|
104
|
+
}
|
|
105
|
+
handlePercent(percent, process = "set") {
|
|
106
|
+
if ((percent || percent == 0) && typeof percent === "number") {
|
|
107
|
+
switch (process) {
|
|
108
|
+
case "increment":
|
|
109
|
+
this.value += percent;
|
|
110
|
+
break;
|
|
111
|
+
case "decrement":
|
|
112
|
+
this.value -= percent;
|
|
113
|
+
break;
|
|
114
|
+
case "set":
|
|
115
|
+
this.value = percent;
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
this.maxPercent(this.value);
|
|
119
|
+
this.error = false;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
this.error = true;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
getIcon(type = "line") {
|
|
126
|
+
let icon = "far fa-" + (this.error ? "times" : "check") + (type === "line" ? "-circle" : "");
|
|
127
|
+
if (this.error || (this.info === "icon" && this.isCompleted)) {
|
|
128
|
+
return index.h("bcm-icon", { icon: icon });
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
render() {
|
|
132
|
+
const { type, hidden, error, size, isCompleted, value, fullWidth } = this;
|
|
133
|
+
const isIcon = this.info === "icon";
|
|
134
|
+
const { circleSize, radius, textSize } = circleSizes[this.size];
|
|
135
|
+
const centerOfCircle = +circleSize / 2;
|
|
136
|
+
const completeState = index$1.classnames({
|
|
137
|
+
completed: isIcon && isCompleted,
|
|
138
|
+
error,
|
|
139
|
+
});
|
|
140
|
+
const lineClasses = index$1.classnames("bcm-progress__line-progress", size, type, completeState);
|
|
141
|
+
const circleClasses = index$1.classnames("bcm-progress__circle-circle", "bar", completeState);
|
|
142
|
+
const containerStyle = {
|
|
143
|
+
width: `${circleSize}px`,
|
|
144
|
+
height: `${circleSize}px`,
|
|
145
|
+
};
|
|
146
|
+
const hostClasses = index$1.classnames("bcm-progress", {
|
|
147
|
+
hidden,
|
|
148
|
+
"full-width": fullWidth,
|
|
149
|
+
});
|
|
150
|
+
const CircleTemplate = () => (index.h("div", { class: "bcm-progress__circle", style: containerStyle }, index.h("svg", { width: circleSize, height: circleSize }, index.h("circle", { r: radius, cx: centerOfCircle, cy: centerOfCircle, class: "bcm-progress__circle-circle" }), index.h("circle", { r: radius, cx: centerOfCircle, cy: centerOfCircle, class: circleClasses, id: "circle" }), (this.info && this.info != "icon") && !this.error && (index.h("text", { x: centerOfCircle, y: centerOfCircle, "text-anchor": "middle", class: textSize, "alignment-baseline": "middle" }, this.info === "value-max" && (value + "/" + this.max), this.info === "value" && { value }, this.info === "percent" &&
|
|
151
|
+
(100 / this.max) * +(value) + "%"))), this.getIcon("circle")));
|
|
152
|
+
const LineTemplate = () => (index.h("div", { class: "bcm-progress__line" }, index.h("progress", { class: lineClasses, value: value, max: this.max }), this.info === "value-max" && index.h("span", { class: "value" }, value, "/", this.max, " "), this.info === "value" && index.h("span", { class: "value" }, value, " "), this.info === "percent" &&
|
|
153
|
+
index.h("span", { class: "value" }, (100 / this.max) * +(value), "%"), this.info === "icon" && index.h("span", { class: "value" }, this.getIcon("line"))));
|
|
154
|
+
return (index.h(index.Host, { class: hostClasses, style: {
|
|
155
|
+
[`--bcm-progress-color`]: colorHelper.ColorHelper.dsColor(this.color),
|
|
156
|
+
} }, type === "circle" ? index.h(CircleTemplate, null) : index.h(LineTemplate, null)));
|
|
157
|
+
}
|
|
158
|
+
get el() { return index.getElement(this); }
|
|
159
|
+
};
|
|
160
|
+
BcmProgress.style = progressCss;
|
|
161
|
+
|
|
162
|
+
exports.bcm_progress = BcmProgress;
|
|
@@ -0,0 +1,160 @@
|
|
|
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-abb0434a.js');
|
|
12
|
+
const generate = require('./generate-64f84d95.js');
|
|
13
|
+
require('./number-helper-f9323233.js');
|
|
14
|
+
require('./string-helper-f9184277.js');
|
|
15
|
+
require('./element-dragger-a8562f82.js');
|
|
16
|
+
const utils = require('./utils-fc077139.js');
|
|
17
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
18
|
+
const captionTemplate = require('./caption-template-086e9cac.js');
|
|
19
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
20
|
+
require('./types-cc4adee7.js');
|
|
21
|
+
require('./types-7523fd99.js');
|
|
22
|
+
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
23
|
+
require('./colors-56282b00.js');
|
|
24
|
+
require('./colors-078851ec.js');
|
|
25
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
26
|
+
require('./package-992c024f.js');
|
|
27
|
+
|
|
28
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
29
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
30
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
31
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
32
|
+
else
|
|
33
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
34
|
+
if (d = decorators[i])
|
|
35
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
36
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37
|
+
};
|
|
38
|
+
const BcmRadioGroup = class {
|
|
39
|
+
constructor(hostRef) {
|
|
40
|
+
index.registerInstance(this, hostRef);
|
|
41
|
+
this.change = index.createEvent(this, "bcm-change", 7);
|
|
42
|
+
this._id = generate.Generate.UID();
|
|
43
|
+
this.label = undefined;
|
|
44
|
+
this.name = undefined;
|
|
45
|
+
this.value = null;
|
|
46
|
+
this.defaultValue = undefined;
|
|
47
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
48
|
+
this.disabled = undefined;
|
|
49
|
+
this.hidden = false;
|
|
50
|
+
this.required = false;
|
|
51
|
+
this.gap = undefined;
|
|
52
|
+
this.direction = bcm.Bcm$1.Direction.horizontal;
|
|
53
|
+
this.fullWidth = false;
|
|
54
|
+
this.items = [];
|
|
55
|
+
this.caption = undefined;
|
|
56
|
+
this.noCaption = false;
|
|
57
|
+
this.captionError = undefined;
|
|
58
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
59
|
+
this.captionCache = undefined;
|
|
60
|
+
this.captionTypeCache = undefined;
|
|
61
|
+
}
|
|
62
|
+
get radios() {
|
|
63
|
+
return Array.from(this.el.querySelectorAll("bcm-radio"));
|
|
64
|
+
}
|
|
65
|
+
get Items() {
|
|
66
|
+
return this.items;
|
|
67
|
+
}
|
|
68
|
+
connectedCallback() {
|
|
69
|
+
this.captionCache = this.caption;
|
|
70
|
+
this.captionTypeCache = this.captionType;
|
|
71
|
+
}
|
|
72
|
+
updateValue() {
|
|
73
|
+
var _a, _b, _c;
|
|
74
|
+
this.value = (_c = (_b = (_a = this.radios) === null || _a === void 0 ? void 0 : _a.find(radio => radio.checked)) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : null;
|
|
75
|
+
}
|
|
76
|
+
setRadioUpdate() {
|
|
77
|
+
var _a;
|
|
78
|
+
(_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
|
|
79
|
+
radio.disabled = this.disabled || radio.disabled;
|
|
80
|
+
radio.size = this.size;
|
|
81
|
+
if (this.defaultValue) {
|
|
82
|
+
radio.checked = radio.value == this.defaultValue;
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
watchDisabled(newVal, _oldVal) {
|
|
87
|
+
var _a;
|
|
88
|
+
(_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => radio.disabled = newVal);
|
|
89
|
+
}
|
|
90
|
+
watchDefaultValue(newVal, _oldVal) {
|
|
91
|
+
var _a;
|
|
92
|
+
(_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => radio.checked = radio.value == newVal);
|
|
93
|
+
this.updateValue();
|
|
94
|
+
this.change.emit(this.value);
|
|
95
|
+
}
|
|
96
|
+
componentWillLoad() {
|
|
97
|
+
this.setRadioUpdate();
|
|
98
|
+
this.updateValue();
|
|
99
|
+
}
|
|
100
|
+
handleChange(e) {
|
|
101
|
+
var _a, _b;
|
|
102
|
+
e.stopPropagation();
|
|
103
|
+
e.preventDefault();
|
|
104
|
+
const checked = (_a = e.target.checked) !== null && _a !== void 0 ? _a : false;
|
|
105
|
+
(_b = this.radios) === null || _b === void 0 ? void 0 : _b.forEach(radio => {
|
|
106
|
+
radio.checked = radio.id == e.target.id ? !checked : false;
|
|
107
|
+
});
|
|
108
|
+
this.updateValue();
|
|
109
|
+
this.change.emit(this.value);
|
|
110
|
+
}
|
|
111
|
+
;
|
|
112
|
+
async setClear() {
|
|
113
|
+
var _a;
|
|
114
|
+
this.value = null;
|
|
115
|
+
(_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
|
|
116
|
+
radio.checked = false;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
async resetCaption() {
|
|
120
|
+
await utils.delay(10);
|
|
121
|
+
this.caption = this.captionCache;
|
|
122
|
+
this.captionType = this.captionTypeCache;
|
|
123
|
+
this.captionError = null;
|
|
124
|
+
await utils.delay(10);
|
|
125
|
+
return Promise.resolve();
|
|
126
|
+
}
|
|
127
|
+
async check(itemId, checked = true) {
|
|
128
|
+
var _a;
|
|
129
|
+
(_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
|
|
130
|
+
radio.checked = radio.id == itemId || radio.value == itemId ? checked : false;
|
|
131
|
+
});
|
|
132
|
+
this.updateValue();
|
|
133
|
+
this.change.emit(this.value);
|
|
134
|
+
}
|
|
135
|
+
async get() {
|
|
136
|
+
return this.value;
|
|
137
|
+
}
|
|
138
|
+
async set(data) {
|
|
139
|
+
await this.check(data);
|
|
140
|
+
}
|
|
141
|
+
async getValue() {
|
|
142
|
+
return this.value;
|
|
143
|
+
}
|
|
144
|
+
render() {
|
|
145
|
+
var _a, _b;
|
|
146
|
+
const { direction, fullWidth, gap, label, size, required, disabled, caption, captionError, captionType, noCaption } = this;
|
|
147
|
+
return (index.h(index.Host, { role: "radio-group", class: "tw-mb-2 tw-flex tw-flex-col" }, label && index.h("bcm-label", { type: captionType, value: label, required: required }), index.h("div", { class: index$1.classnames("tw-flex tw-flex-wrap", direction == bcm.Bcm$1.Direction.horizontal ? "tw-flex-row" : "tw-flex-col", fullWidth && "tw-w-full"), style: { "gap": gap } }, index.h("slot", null), ((_a = this.Items) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
|
|
148
|
+
((_b = this.Items) === null || _b === void 0 ? void 0 : _b.map(item => (index.h("bcm-radio", { id: item.id, value: item.value, disabled: disabled || item.disabled, checked: item.checked, color: item.color, size: size }, item.label))))), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
149
|
+
}
|
|
150
|
+
get el() { return index.getElement(this); }
|
|
151
|
+
static get watchers() { return {
|
|
152
|
+
"disabled": ["watchDisabled"],
|
|
153
|
+
"defaultValue": ["watchDefaultValue"]
|
|
154
|
+
}; }
|
|
155
|
+
};
|
|
156
|
+
__decorate([
|
|
157
|
+
isLoadDecorator.IsLoad()
|
|
158
|
+
], BcmRadioGroup.prototype, "el", void 0);
|
|
159
|
+
|
|
160
|
+
exports.bcm_radio_group = BcmRadioGroup;
|
|
@@ -0,0 +1,64 @@
|
|
|
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 bcm = require('./bcm-489c9b1a.js');
|
|
11
|
+
require('./color-helper-c3a819ea.js');
|
|
12
|
+
require('./validators-abb0434a.js');
|
|
13
|
+
const generate = require('./generate-64f84d95.js');
|
|
14
|
+
require('./number-helper-f9323233.js');
|
|
15
|
+
require('./string-helper-f9184277.js');
|
|
16
|
+
require('./element-dragger-a8562f82.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-992c024f.js');
|
|
23
|
+
|
|
24
|
+
const BcmRadio = class {
|
|
25
|
+
constructor(hostRef) {
|
|
26
|
+
index.registerInstance(this, hostRef);
|
|
27
|
+
this.radioChange = index.createEvent(this, "bcm-radio-change", 7);
|
|
28
|
+
this.focus = index.createEvent(this, "bcm-focus", 7);
|
|
29
|
+
this.blur = index.createEvent(this, "bcm-blur", 7);
|
|
30
|
+
this._id = generate.Generate.UID();
|
|
31
|
+
this.checked = undefined;
|
|
32
|
+
this.value = undefined;
|
|
33
|
+
this.disabled = false;
|
|
34
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
35
|
+
this.color = undefined;
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const { value, size, disabled, checked, _id, color } = this;
|
|
39
|
+
return (index.h(index.Host, { class: index$1.classnames("tw-cursor-pointer tw-font-sans tw-mb-1.5 tw-mt-1", {
|
|
40
|
+
"tw-cursor-pointer tw-text-slate-600": !disabled,
|
|
41
|
+
"tw-cursor-not-allowed tw-text-slate-400": disabled,
|
|
42
|
+
"tw-text-1": size === bcm.Bcm$1.Size.small,
|
|
43
|
+
"tw-text-2.5": size === bcm.Bcm$1.Size.medium,
|
|
44
|
+
"tw-text-4": size === bcm.Bcm$1.Size.large,
|
|
45
|
+
}), style: (generate.Generate.getTwColor(color)) }, index.h("label", { class: index$1.classnames("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, index.h("input", { id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: index$1.classnames("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
|
|
46
|
+
"tw-w-4 tw-h-4 before:tw-w-2.5 before:tw-h-2.5": size === bcm.Bcm$1.Size.medium,
|
|
47
|
+
"tw-w-3.5 tw-h-3.5 before:tw-w-2 before:tw-h-2": size === bcm.Bcm$1.Size.small,
|
|
48
|
+
"tw-w-4.5 tw-h-4.5 before:tw-w-3 before:tw-h-3": size === bcm.Bcm$1.Size.large,
|
|
49
|
+
}, "focus:tw-outline-none focus:tw-shadow-outline",
|
|
50
|
+
// default
|
|
51
|
+
`tw-border-slate-400 tw-bg-slate-50`, `checked:tw-border-default-500`, `checked:before:tw-bg-default-500`,
|
|
52
|
+
// disabled
|
|
53
|
+
`disabled:tw-border-slate-400 disabled:tw-bg-slate-200 disabled:tw-cursor-not-allowed`, `disabled:checked:tw-border-slate-400`, `disabled:checked:before:tw-bg-slate-400`, !disabled && index$1.classnames(
|
|
54
|
+
// hover
|
|
55
|
+
`hover:tw-border-default-600`, `hover:checked:tw-border-default-600`, `hover:checked:before:tw-bg-default-600`,
|
|
56
|
+
// focus-visible
|
|
57
|
+
`focus-visible:tw-border-default-800 focus-visible:tw-shadow-sm`, `focus-visible:checked:tw-border-default-800`, `focus-visible:checked:before:tw-bg-default-800`,
|
|
58
|
+
// active
|
|
59
|
+
`active:tw-border-default-700`, `active:checked:tw-border-default-700`, `active:checked:before:tw-bg-default-700`)), onChange: () => this.radioChange.emit(), onFocus: () => this.focus.emit(), onBlur: () => this.blur.emit() }), index.h("slot", null))));
|
|
60
|
+
}
|
|
61
|
+
get el() { return index.getElement(this); }
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
exports.bcm_radio = BcmRadio;
|
|
@@ -8,11 +8,11 @@ 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 bcm = require('./bcm-
|
|
11
|
+
const generate = require('./generate-64f84d95.js');
|
|
12
|
+
const bcm = require('./bcm-489c9b1a.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-992c024f.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
17
|
|
|
18
18
|
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)}";
|
|
@@ -28,7 +28,7 @@ const BcmRange = class {
|
|
|
28
28
|
this.value = 0;
|
|
29
29
|
this.height = "326px";
|
|
30
30
|
this.name = undefined;
|
|
31
|
-
this.direction = bcm.Bcm
|
|
31
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
32
32
|
this._prefix = undefined;
|
|
33
33
|
this._suffix = undefined;
|
|
34
34
|
this.multiple = false;
|
|
@@ -53,7 +53,7 @@ const BcmRange = class {
|
|
|
53
53
|
}
|
|
54
54
|
generate.Generate.createComponent('bcm-tooltip-box', {
|
|
55
55
|
id: 'box-' + this._id,
|
|
56
|
-
placement: this.direction === bcm.Bcm
|
|
56
|
+
placement: this.direction === bcm.Bcm.Direction.horizontal ? bcm.Bcm.Placement.top : bcm.Bcm.Placement.left,
|
|
57
57
|
color: 'blue'
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -174,7 +174,7 @@ const BcmRange = class {
|
|
|
174
174
|
height: '100%',
|
|
175
175
|
width: height,
|
|
176
176
|
};
|
|
177
|
-
return (index.h(index.Host, { class: hostClasses, style: direction == bcm.Bcm
|
|
177
|
+
return (index.h(index.Host, { class: hostClasses, style: direction == bcm.Bcm.Direction.vertical && { height: height } }, index.h("div", { class: "bcm-range__container", style: direction == bcm.Bcm.Direction.vertical && verticalStyle }, index.h("input", { type: "range", id: `input-left-${this._id}`, min: leftMin, max: max, step: step, onChange: (event) => { this.syncValues('left', event); this.handleChange(); }, onInput: (event) => { this.syncValues('left', event); this.getTooltip('left').hide(); this.getTooltip('left').show(); }, onMouseOver: () => { this.getThumb('left').classList.add('hover'); this.getTooltip('left').show(); }, onMouseOut: () => { this.getThumb('left').classList.remove('hover'); this.getTooltip('left').hide(); }, value: this.leftValue, class: { 'single': !this.multiple } }), index.h("input", { type: "range", id: `input-right-${this._id}`, min: min, max: max, onChange: (event) => { this.syncValues('right', event); this.handleChange(); }, onInput: (event) => { this.syncValues('right', event); this.getTooltip('right').hide(); this.getTooltip('right').show(); }, onMouseOver: () => { this.getThumb('right').classList.add('hover'); this.getTooltip('right').show(); }, onMouseOut: () => { this.getThumb('right').classList.remove('hover'); this.getTooltip('right').hide(); }, step: step, value: this.rightValue }), index.h("div", { class: "bcm-range__container-bar" }, index.h("div", { class: "ticks" }, index.h(Ticks, null)), index.h("div", { class: "bcm-range__container-bar-track" }), index.h("div", { class: "bcm-range__container-bar-range", id: "bcm-range__thumb-range" }), index.h("div", { class: "bcm-range__container-bar-thumb left", id: `bcm-range__thumb-left-${this._id}` }, index.h("span", null)), index.h("div", { class: "bcm-range__container-bar-thumb right", id: `bcm-range__thumb-right-${this._id}` }, index.h("span", null))), index.h("div", { class: "touch" }, index.h(Touch, null)))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
};
|
|
@@ -8,10 +8,10 @@ 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 stringHelper = require('./string-helper-
|
|
11
|
+
const stringHelper = require('./string-helper-f9184277.js');
|
|
12
12
|
const utils = require('./utils-fc077139.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./bcm-
|
|
14
|
+
require('./bcm-489c9b1a.js');
|
|
15
15
|
|
|
16
16
|
const selectCss = "@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:inline-block;width:100%;margin:0}:host(.hidden){display:none}.container{display:block;max-width:256px;position:relative}.container.full-width{width:100%;max-width:100%}.selected{width:100%;box-sizing:border-box;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-grey-1);display:flex;justify-content:space-between;align-items:center;border:1px solid var(--bcm-color-grey-5);user-select:none;cursor:pointer}.selected:hover:not(.disabled){border-color:var(--bcm-color-prime-blue-5)}.selected:hover:not(.disabled) .select-clear-button{opacity:1}.selected:focus:not(.disabled){border-color:var(--bcm-color-prime-blue-5);box-shadow:0px 0px 4px var(--bcm-color-prime-blue-6)}.selected:focus:not(.disabled) .select-clear-button{opacity:1}.selected:focus{outline:none}.selected.disabled{background-color:var(--bcm-color-grey-3);color:var(--bcm-color-grey-8);cursor:not-allowed}.selected .buttons{padding:8px;height:100%;display:flex;align-items:center;justify-content:center}.selected .selected-text{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;padding:0 8px;width:100%}.selected .selected-tags{padding:0 4px;height:100%}.selected .tag-container{height:100%;display:flex;align-items:center;justify-content:flex-start;grid-gap:2px}.selected .tag-container>span{height:100%;align-items:center;justify-content:flex-start;display:flex;grid-gap:2px}.selected .tag-container .tag{max-width:200px}.selected .tag-container #other-tag{cursor:pointer}.selected .open,.selected .close{display:inline-flex}.selected .close{transform:rotate(180deg)}.selected .placeholder{color:var(--bcm-color-grey-6);user-select:none;font-size:14px;height:100%;display:flex;align-items:center;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.options-viewport{display:inline-block}.option-container{display:block;position:absolute;background-color:var(--bcm-color-grey-1);box-shadow:0px 2px 8px rgba(0, 0, 0, 0.15);box-sizing:border-box;width:100%;z-index:10000}.option-container.alignment-left{left:0}.option-container.alignment-right{right:0}.option-container.hidden{display:none}.option-container .search{position:sticky;padding:8px;margin-bottom:4px}.option-container .search:after{content:\"\";position:absolute;bottom:0;height:1px;width:calc(100% - 16px);background-color:var(--bcm-color-grey-5)}.options-viewport{display:block}.options-viewport bcm-select-option,.options-viewport ::slotted(bcm-select-option){white-space:normal}.options-viewport.hidden{display:none}.options-viewport.vertical{height:fit-content;max-height:200px}.options-viewport.horizontal:not(.flex){overflow-x:auto;width:100%}.options-viewport.horizontal:not(.flex) bcm-select-option,.options-viewport.horizontal:not(.flex) ::slotted(bcm-select-option){white-space:nowrap}.items{display:flex;flex-direction:column}.buttons{display:flex}.select-clear-button{display:inline-flex;align-items:center;outline:none;border:none;background:none;padding:0;cursor:pointer;margin-right:4px;opacity:0}.label{display:block;color:var(--bcm-color-grey-9)}.caption-area{min-height:20px}.input-caption{display:block}.selected-large{height:40px}.selected-medium{height:32px}.selected-small{height:24px}.caption-default{color:#8C8C8C}.caption-primary{color:#4293CF}.caption-success{color:#52C41A}.caption-warning{color:#FA8C16}.caption-error{color:#F5222D}.error .label{color:var(--bcm-color-red-6) !important}.error .selected{border:1px solid var(--bcm-color-red-6) !important}";
|
|
17
17
|
|