bromcom-ui 2.12.3-rc.2 → 2.12.3-rc.3-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-214834d8.entry.js → p-01e63843.entry.js} +1 -1
- package/dist/bromcom-ui/p-04594f76.entry.js +5 -0
- package/dist/bromcom-ui/{p-a5d58be8.js → p-052005c9.js} +1 -1
- package/dist/bromcom-ui/p-0e110a9f.entry.js +5 -0
- package/dist/bromcom-ui/p-0e5f1168.entry.js +5 -0
- package/dist/bromcom-ui/{p-8ea0e777.entry.js → p-10f511ff.entry.js} +1 -1
- package/dist/bromcom-ui/p-1345d51b.entry.js +5 -0
- package/dist/bromcom-ui/{p-ebc7d5eb.entry.js → p-15402dac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ece578ef.entry.js → p-1b558b0f.entry.js} +1 -1
- package/dist/bromcom-ui/p-1baed29d.entry.js +5 -0
- package/dist/bromcom-ui/{p-b43e06b4.entry.js → p-1e61a44c.entry.js} +1 -1
- package/dist/bromcom-ui/p-1f93fd33.entry.js +5 -0
- package/dist/bromcom-ui/p-23759244.entry.js +5 -0
- package/dist/bromcom-ui/{p-271c5e3c.entry.js → p-25bbe3e6.entry.js} +1 -1
- package/dist/bromcom-ui/p-270e1b24.entry.js +5 -0
- package/dist/bromcom-ui/p-27596881.entry.js +5 -0
- package/dist/bromcom-ui/p-29791e4a.entry.js +5 -0
- package/dist/bromcom-ui/{p-f0e30624.entry.js → p-2b42d77e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-27d9f02a.js → p-2bd0545e.js} +1 -1
- package/dist/bromcom-ui/{p-8e683b32.js → p-2cd6cdee.js} +1 -1
- package/dist/bromcom-ui/p-3179ce74.entry.js +7 -0
- package/dist/bromcom-ui/{p-d551a51d.entry.js → p-32c55505.entry.js} +1 -1
- package/dist/bromcom-ui/p-33166492.entry.js +5 -0
- package/dist/bromcom-ui/p-376a20ed.js +5 -0
- package/dist/bromcom-ui/p-3da7b6c0.entry.js +5 -0
- package/dist/bromcom-ui/p-41276d76.entry.js +5 -0
- package/dist/bromcom-ui/p-412abc6d.entry.js +5 -0
- package/dist/bromcom-ui/p-4393b33e.entry.js +5 -0
- package/dist/bromcom-ui/p-46db5206.js +5 -0
- package/dist/bromcom-ui/p-4834bc26.js +5 -0
- package/dist/bromcom-ui/p-4856568f.entry.js +5 -0
- package/dist/bromcom-ui/{p-3971c237.entry.js → p-507db92e.entry.js} +1 -1
- package/dist/bromcom-ui/p-534f958a.entry.js +5 -0
- package/dist/bromcom-ui/{p-856cb58c.entry.js → p-540fbc32.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-59f7fa84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-594a57c3.entry.js → p-5d670fd7.entry.js} +1 -1
- package/dist/bromcom-ui/p-65da044b.js +5 -0
- package/dist/bromcom-ui/{p-85eedabc.js → p-6657830f.js} +1 -1
- package/dist/bromcom-ui/p-6687afd7.entry.js +5 -0
- package/dist/bromcom-ui/{p-499d8454.js → p-6bea284a.js} +1 -1
- package/dist/bromcom-ui/p-6ceb315f.entry.js +5 -0
- package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-77ef609e.entry.js} +1 -1
- package/dist/bromcom-ui/p-7c45705d.entry.js +5 -0
- package/dist/bromcom-ui/p-7dbfff1b.entry.js +5 -0
- package/dist/bromcom-ui/{p-1830cdf1.js → p-7e0e02b3.js} +1 -1
- package/dist/bromcom-ui/{p-6f861fed.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/{p-fae6b16a.entry.js → p-80edaf47.entry.js} +1 -1
- package/dist/bromcom-ui/p-822dda00.js +5 -0
- package/dist/bromcom-ui/{p-18dbbd45.entry.js → p-87192588.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b72ad073.entry.js → p-881853bd.entry.js} +1 -1
- package/dist/bromcom-ui/p-8b6d3a37.js +5 -0
- package/dist/bromcom-ui/p-8b8dd8fe.entry.js +5 -0
- package/dist/bromcom-ui/{p-6f2e4c9b.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/p-8cd80ac4.entry.js +5 -0
- package/dist/bromcom-ui/p-8f32198d.js +14 -0
- package/dist/bromcom-ui/p-904b0c28.entry.js +5 -0
- package/dist/bromcom-ui/{p-9c94733a.entry.js → p-9253d439.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c3387cb1.entry.js → p-926b314d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4e31f894.entry.js → p-95a797b3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b3a6d60.entry.js → p-974a427c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bdc78a44.entry.js → p-9b59c689.entry.js} +1 -1
- package/dist/bromcom-ui/p-9ebe6ef9.entry.js +5 -0
- package/dist/bromcom-ui/{p-e0369655.entry.js → p-9f5ee998.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9bfba564.entry.js → p-a00b053e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d65bc842.js → p-a0d6d680.js} +1 -1
- package/dist/bromcom-ui/{p-5dea2654.entry.js → p-a0f44b56.entry.js} +1 -1
- package/dist/bromcom-ui/p-a2065e9e.entry.js +5 -0
- package/dist/bromcom-ui/p-a2e5bb35.entry.js +5 -0
- package/dist/bromcom-ui/{p-f210c256.entry.js → p-a31644e3.entry.js} +1 -1
- package/dist/bromcom-ui/p-a352f45e.entry.js +5 -0
- package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-a486613b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-626b805d.entry.js → p-a6aa173f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a2df6c19.js → p-aeb4be41.js} +1 -1
- package/dist/bromcom-ui/p-b1084320.entry.js +5 -0
- package/dist/bromcom-ui/p-b301fa40.entry.js +5 -0
- package/dist/bromcom-ui/p-b43e975b.entry.js +5 -0
- package/dist/bromcom-ui/p-b9a88f16.entry.js +5 -0
- package/dist/bromcom-ui/p-bbcb683f.entry.js +5 -0
- package/dist/bromcom-ui/p-bd50c28f.entry.js +5 -0
- package/dist/bromcom-ui/{p-2d0ff35e.js → p-beaec5b8.js} +1 -1
- package/dist/bromcom-ui/p-c1a992e7.entry.js +5 -0
- package/dist/bromcom-ui/p-c39e73dc.entry.js +5 -0
- package/dist/bromcom-ui/{p-69260d36.entry.js → p-c49b6287.entry.js} +1 -1
- package/dist/bromcom-ui/p-c503526a.entry.js +5 -0
- package/dist/bromcom-ui/p-c63f5261.entry.js +5 -0
- package/dist/bromcom-ui/{p-4d2bf0e7.js → p-c77541f4.js} +2 -2
- package/dist/bromcom-ui/{p-af8674da.js → p-cbcf6d9c.js} +1 -1
- package/dist/bromcom-ui/{p-bf0abe3f.entry.js → p-cf11cdde.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2ed86248.entry.js → p-d19d45ed.entry.js} +1 -1
- package/dist/bromcom-ui/p-d2bd0293.entry.js +5 -0
- package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-d59d9687.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2d10739e.entry.js → p-dd24646a.entry.js} +1 -1
- package/dist/bromcom-ui/p-e0ab7b38.js +11 -0
- package/dist/bromcom-ui/p-e1b6f98e.entry.js +5 -0
- package/dist/bromcom-ui/p-e36c7523.entry.js +5 -0
- package/dist/bromcom-ui/p-e5532875.entry.js +5 -0
- package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-e8eaa3bb.entry.js} +1 -1
- package/dist/bromcom-ui/p-e94d2f48.js +5 -0
- package/dist/bromcom-ui/p-ead59725.entry.js +5 -0
- package/dist/bromcom-ui/{p-43c578cf.js → p-eca0acda.js} +1 -1
- package/dist/bromcom-ui/p-ede7ca76.entry.js +5 -0
- package/dist/bromcom-ui/p-eef8f7c7.entry.js +5 -0
- package/dist/bromcom-ui/p-effc088c.entry.js +5 -0
- package/dist/bromcom-ui/{p-b8678480.entry.js → p-fafa70ac.entry.js} +1 -1
- package/dist/bromcom-ui/p-fc787048.entry.js +5 -0
- package/dist/bromcom-ui/{p-df76af7c.entry.js → p-fec89309.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d54ecc8a.entry.js → p-ff2b4565.entry.js} +1 -1
- package/dist/cjs/Overflow-5a73947b.js +2233 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +74 -0
- package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +330 -0
- package/dist/cjs/bcm-attendance.cjs.entry.js +35 -0
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +210 -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.cjs.entry.js +372 -0
- package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
- package/dist/cjs/bcm-card.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +415 -0
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2529 -0
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
- package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +43 -0
- package/dist/cjs/bcm-collapse.cjs.entry.js +62 -0
- package/dist/cjs/bcm-color-input.cjs.entry.js +77 -0
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +251 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date_6.cjs.entry.js +15363 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +96 -0
- package/dist/cjs/bcm-dropdown.cjs.entry.js +119 -0
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +116 -0
- package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-input_2.cjs.entry.js +550 -0
- 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 +51 -0
- package/dist/cjs/bcm-list_3.cjs.entry.js +1977 -0
- package/dist/cjs/bcm-menu.cjs.entry.js +151 -0
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal.cjs.entry.js +157 -0
- package/dist/cjs/bcm-number-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-old-input.cjs.entry.js +397 -0
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +145 -0
- 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 +4 -4
- package/dist/cjs/bcm-progress.cjs.entry.js +162 -0
- package/dist/cjs/bcm-radio-group.cjs.entry.js +161 -0
- package/dist/cjs/bcm-radio.cjs.entry.js +65 -0
- package/dist/cjs/bcm-range.cjs.entry.js +2 -2
- package/dist/cjs/bcm-select.cjs.entry.js +1195 -0
- package/dist/cjs/bcm-shortcut.cjs.entry.js +65 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/bcm-step.cjs.entry.js +89 -0
- package/dist/cjs/bcm-stepper.cjs.entry.js +240 -0
- package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
- package/dist/cjs/bcm-tab-group.cjs.entry.js +210 -0
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +60 -0
- package/dist/cjs/bcm-tab-item.cjs.entry.js +91 -0
- package/dist/cjs/bcm-tab.cjs.entry.js +72 -0
- package/dist/cjs/bcm-table.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tabs.cjs.entry.js +370 -0
- package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
- package/dist/cjs/bcm-text.cjs.entry.js +49 -0
- package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +2 -2
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{generate-beac9c8d.js → generate-bff3fa38.js} +14 -14
- package/dist/cjs/{global-d4be0c46.js → global-825d9cd4.js} +1 -1
- package/dist/cjs/input-template-d05a507f.js +92 -0
- package/dist/cjs/json-parse-decarator-b9186302.js +40 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/lodash-917168d7.js +17199 -0
- package/dist/cjs/{number-helper-46c7892f.js → number-helper-9bc46d37.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
- package/dist/cjs/{package-e6628eb2.js → package-dda6f822.js} +1 -1
- package/dist/cjs/stepper-states-a565a45f.js +85 -0
- package/dist/cjs/tooltip-helper-2e1f4fda.js +158 -0
- package/dist/cjs/{validators-27568118.js → validators-c0eef77a.js} +1 -1
- package/dist/collection/components/molecules/tab-group/tab-group.js +1 -1
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +6 -5
- package/dist/collection/components/molecules/tab-group/tab-item.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 +221 -112
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +20 -1
- package/dist/components/bcm-date.js +1 -1
- package/dist/components/bcm-tab-group.js +1 -1
- package/dist/components/bcm-tab-item-header.js +6 -5
- package/dist/components/bcm-tab-item.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/rc-picker.js +5 -2
- package/dist/esm/Overflow-40c63001.js +2217 -0
- package/dist/esm/{_commonjsHelpers-7002e5de.js → _commonjsHelpers-82aa9212.js} +1 -1
- package/dist/esm/bcm-accordion.entry.js +70 -0
- package/dist/esm/bcm-alert.entry.js +6 -6
- package/dist/esm/bcm-attendance-actions-comment.entry.js +10 -10
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +11 -11
- package/dist/esm/bcm-attendance-actions.entry.js +326 -0
- package/dist/esm/bcm-attendance.entry.js +31 -0
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +205 -0
- package/dist/esm/bcm-breadcrumb.entry.js +5 -5
- package/dist/esm/bcm-button-group.entry.js +88 -0
- package/dist/esm/bcm-button.entry.js +368 -0
- package/dist/esm/bcm-caption.entry.js +12 -12
- package/dist/esm/bcm-card.entry.js +9 -9
- package/dist/esm/bcm-checkbox-group.entry.js +411 -0
- package/dist/esm/bcm-checkbox-lite_9.entry.js +2517 -0
- package/dist/esm/bcm-checkbox_2.entry.js +189 -0
- package/dist/esm/bcm-chip-group.entry.js +13 -13
- package/dist/esm/bcm-chip.entry.js +87 -0
- package/dist/esm/bcm-collapse-group.entry.js +39 -0
- package/dist/esm/bcm-collapse.entry.js +58 -0
- package/dist/esm/bcm-color-input.entry.js +73 -0
- package/dist/esm/bcm-colorful_2.entry.js +246 -0
- package/dist/esm/bcm-colorpicker.entry.js +4 -4
- package/dist/esm/bcm-date-picker.entry.js +6 -6
- package/dist/esm/bcm-date_6.entry.js +15354 -0
- package/dist/esm/bcm-datetime-picker.entry.js +10 -10
- package/dist/esm/bcm-default.entry.js +4 -4
- package/dist/esm/bcm-drawer.entry.js +92 -0
- package/dist/esm/bcm-dropdown.entry.js +115 -0
- package/dist/esm/bcm-error-layout.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +112 -0
- package/dist/esm/bcm-form-2.entry.js +5 -5
- package/dist/esm/bcm-input-2.entry.js +6 -6
- package/dist/esm/bcm-input-custom.entry.js +5 -5
- package/dist/esm/bcm-input-dropdown.entry.js +12 -12
- package/dist/esm/bcm-input_2.entry.js +545 -0
- 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 +47 -0
- package/dist/esm/bcm-list_3.entry.js +1971 -0
- package/dist/esm/bcm-menu.entry.js +147 -0
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
- package/dist/esm/bcm-modal-2-header.entry.js +10 -10
- package/dist/esm/bcm-modal-2.entry.js +11 -11
- package/dist/esm/bcm-modal.entry.js +153 -0
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-number-input.entry.js +12 -12
- package/dist/esm/bcm-old-input.entry.js +393 -0
- package/dist/esm/bcm-old-tag_2.entry.js +140 -0
- package/dist/esm/bcm-overlay_2.entry.js +3 -3
- 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 +10 -10
- package/dist/esm/bcm-progress.entry.js +158 -0
- package/dist/esm/bcm-radio-group.entry.js +157 -0
- package/dist/esm/bcm-radio.entry.js +61 -0
- package/dist/esm/bcm-range.entry.js +6 -6
- package/dist/esm/bcm-react-number.entry.js +2 -2
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-select-group.entry.js +2 -2
- package/dist/esm/bcm-select-option.entry.js +2 -2
- package/dist/esm/bcm-select.entry.js +1191 -0
- package/dist/esm/bcm-shortcut.entry.js +61 -0
- package/dist/esm/bcm-skeleton.entry.js +10 -10
- package/dist/esm/bcm-step.entry.js +85 -0
- package/dist/esm/bcm-stepper.entry.js +236 -0
- package/dist/esm/bcm-switch.entry.js +147 -0
- package/dist/esm/bcm-tab-group.entry.js +206 -0
- package/dist/esm/bcm-tab-item-header.entry.js +56 -0
- package/dist/esm/bcm-tab-item.entry.js +87 -0
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +68 -0
- package/dist/esm/bcm-table.entry.js +11 -11
- package/dist/esm/bcm-tabs-content.entry.js +3 -3
- package/dist/esm/bcm-tabs.entry.js +366 -0
- package/dist/esm/bcm-tag.entry.js +7 -7
- package/dist/esm/bcm-text.entry.js +45 -0
- package/dist/esm/bcm-time-picker.entry.js +6 -6
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +7 -7
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-3cd42c3b.js → caption-template-d7953d13.js} +1 -1
- package/dist/esm/{color-helper-ba15b0d8.js → color-helper-74614f24.js} +2 -2
- package/dist/esm/{colors-ed4e7579.js → colors-dd598eea.js} +1 -1
- package/dist/esm/{element-dragger-b75266e6.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/{generate-b30859e0.js → generate-1281254a.js} +15 -15
- package/dist/esm/{global-7e00a8e5.js → global-c031697c.js} +1 -1
- package/dist/esm/{index-0d3a56ec.js → index-036974d7.js} +1 -1
- package/dist/esm/{index-00c8a8f7.js → index-f549811f.js} +1 -1
- package/dist/esm/input-template-b4045b25.js +90 -0
- package/dist/esm/json-parse-decarator-7d436ec7.js +38 -0
- package/dist/esm/{label-template-ef97aadb.js → label-template-a26f76c0.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lodash-4197be99.js +17197 -0
- package/dist/esm/{number-helper-70d15d1b.js → number-helper-778c8f87.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -10
- package/dist/esm/old-bcm-popover.entry.js +5 -5
- package/dist/esm/{package-8f0a3af5.js → package-08ddc3fa.js} +1 -1
- package/dist/esm/{popover-placement-2bf3a181.js → popover-placement-d12fec40.js} +1 -1
- package/dist/esm/{slot-template-d3ae9f27.js → slot-template-2a19b2db.js} +1 -1
- package/dist/esm/stepper-states-325c754b.js +83 -0
- package/dist/esm/{string-helper-69203215.js → string-helper-3592bdc2.js} +1 -1
- package/dist/esm/tooltip-helper-9c64ad15.js +156 -0
- package/dist/esm/{utils-7727d09e.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-0ccb9921.js → validators-0c6e8dea.js} +1 -1
- package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +2 -2
- package/dist/bromcom-ui/p-053dc717.entry.js +0 -5
- package/dist/bromcom-ui/p-5b03442c.entry.js +0 -5
- package/dist/bromcom-ui/p-64fad38b.js +0 -11
- package/dist/bromcom-ui/p-6b9f10a7.entry.js +0 -5
- package/dist/bromcom-ui/p-81d248d8.js +0 -5
- package/dist/bromcom-ui/p-9d71cecb.entry.js +0 -5
- package/dist/bromcom-ui/p-a9388655.entry.js +0 -16
- package/dist/bromcom-ui/p-bddce313.js +0 -5
- package/dist/bromcom-ui/p-d7194c4d.entry.js +0 -5
- package/dist/cjs/bcm-accordion_63.cjs.entry.js +0 -46097
- package/dist/esm/bcm-accordion_63.entry.js +0 -46031
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-0615c2b8.js';
|
|
6
|
+
import { S as SizeProps, T as TypeProps, D as DirectionProps } from './types-b211a5eb.js';
|
|
7
|
+
import { d as delay, c as getChilds } from './utils-57652744.js';
|
|
8
|
+
import { c as classnames } from './index-f549811f.js';
|
|
9
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
10
|
+
|
|
11
|
+
const tabsCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}:host(.hidden){display:none}::slotted(bcm-tab:not(:last-child)){margin-right:32px}.tabs{position:relative;display:flex;flex-wrap:wrap}.tabs.large{--bcm-tab-vertical-space:16px;--bcm-tab-font-size:16px;--bcm-tab-line-height:24px}.tabs.medium{--bcm-tab-vertical-space:11px;--bcm-tab-font-size:14px;--bcm-tab-line-height:22px}.tabs.small{--bcm-tab-vertical-space:7px;--bcm-tab-font-size:14px;--bcm-tab-line-height:22px}.tabs.pane{--bcm-tab-vertical-space:9px;--bcm-tab-font-size:14px;--bcm-tab-line-height:22px}.tabs.full-width{width:100%;display:flex;align-items:center;justify-content:center}.tabs.full-width ::slotted(bcm-tab){flex:1}.tabs.underline:after{content:\"\";margin-top:0;z-index:0;left:0;width:100%;height:2px;background-color:var(--bcm-color-grey-4)}.tabs.animatable:before{transition:all 0.4s ease}.tabs.pane ::slotted(bcm-tab:not(:last-child)){margin-right:2px}.tabs.pane:before{display:none}.tabs.vertical{flex-direction:column;width:fit-content}.tabs.vertical:before{content:\"\";position:absolute;top:var(--bcm-tabs-line-top);left:var(--bcm-tabs-line-left);right:var(--bcm-tabs-line-right);width:var(--bcm-tabs-line-width);height:var(--bcm-tabs-line-height);background-color:var(--bcm-color-prime-blue-6)}.tabs.vertical ::slotted(bcm-tab){margin-right:0}";
|
|
12
|
+
|
|
13
|
+
const BcmTabs = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
registerInstance(this, hostRef);
|
|
16
|
+
this.click = createEvent(this, "bcm-click", 7);
|
|
17
|
+
this.change = createEvent(this, "bcm-change", 7);
|
|
18
|
+
this.bcmTabsActiveItem = createEvent(this, "bcm-tabs-active-item", 7);
|
|
19
|
+
/**
|
|
20
|
+
* Component Private variables
|
|
21
|
+
*/
|
|
22
|
+
this.tabs = [];
|
|
23
|
+
this.firstInit = true;
|
|
24
|
+
this.count = 0;
|
|
25
|
+
this.size = SizeProps.large;
|
|
26
|
+
this.type = TypeProps.normal;
|
|
27
|
+
this.direction = DirectionProps.horizontal;
|
|
28
|
+
this.hidden = false;
|
|
29
|
+
this.fullWidth = false;
|
|
30
|
+
this.underline = true;
|
|
31
|
+
this.activeChild = 1;
|
|
32
|
+
this.lineOpts = { top: '0px', left: '0px', right: '0px', width: '0px', height: '0px' };
|
|
33
|
+
this.prevButton = null;
|
|
34
|
+
this.nextButton = null;
|
|
35
|
+
this.completeButton = null;
|
|
36
|
+
this.prevButtonState = 'disabled';
|
|
37
|
+
this.nextButtonState = 'disabled';
|
|
38
|
+
this.completeButtonState = 'disabled';
|
|
39
|
+
}
|
|
40
|
+
async config(_config) {
|
|
41
|
+
if (_config['prevButton']) {
|
|
42
|
+
if (_config['prevButton']['id']) {
|
|
43
|
+
var prevButtonId = "#" + _config['prevButton']['id'];
|
|
44
|
+
this.prevButton = document.querySelector(prevButtonId);
|
|
45
|
+
}
|
|
46
|
+
if (_config['prevButton']['state']) {
|
|
47
|
+
this.prevButtonState = _config['prevButton']['state'];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
if (_config['nextButton']) {
|
|
51
|
+
if (_config['nextButton']['id']) {
|
|
52
|
+
var nextButtonId = "#" + _config['nextButton']['id'];
|
|
53
|
+
this.nextButton = document.querySelector(nextButtonId);
|
|
54
|
+
}
|
|
55
|
+
if (_config['nextButton']['state']) {
|
|
56
|
+
this.nextButtonState = _config['nextButton']['state'];
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (_config['completeButton']) {
|
|
60
|
+
if (_config['completeButton']['id']) {
|
|
61
|
+
var completeButtonId = "#" + _config['completeButton']['id'];
|
|
62
|
+
this.completeButton = document.querySelector(completeButtonId);
|
|
63
|
+
}
|
|
64
|
+
if (_config['completeButton']['state']) {
|
|
65
|
+
this.completeButtonState = _config['completeButton']['state'];
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
this.buttonControl();
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
async next() {
|
|
72
|
+
var getFormId = "#" + this.tabs[this.getActive() - 1]["formControl"];
|
|
73
|
+
var getForm = document.querySelector(getFormId);
|
|
74
|
+
var formData = null;
|
|
75
|
+
if (getForm) {
|
|
76
|
+
formData = await getForm.submit();
|
|
77
|
+
}
|
|
78
|
+
if ((getForm && formData.isValid) || !getForm) {
|
|
79
|
+
this.activeChild = this.getActive() + 1;
|
|
80
|
+
this.active(this.tabs[this.getActive() - 1]["tabId"]);
|
|
81
|
+
}
|
|
82
|
+
return formData;
|
|
83
|
+
}
|
|
84
|
+
async prev() {
|
|
85
|
+
this.activeChild = this.getActive() - 1;
|
|
86
|
+
this.active(this.tabs[this.getActive() - 1]["tabId"]);
|
|
87
|
+
return this.activeChild;
|
|
88
|
+
}
|
|
89
|
+
async complete() {
|
|
90
|
+
const tabStatuses = [];
|
|
91
|
+
var isValid = true;
|
|
92
|
+
this.tabs.forEach(element => {
|
|
93
|
+
if (element['formControl']) {
|
|
94
|
+
const getFormId = "#" + element["formControl"];
|
|
95
|
+
const getForm = document.querySelector(getFormId);
|
|
96
|
+
if (getForm) {
|
|
97
|
+
tabStatuses.push(getForm.submit());
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
const allStatuses = await Promise.all(tabStatuses);
|
|
102
|
+
allStatuses.forEach(item => {
|
|
103
|
+
if (item.isValid === false) {
|
|
104
|
+
isValid = false;
|
|
105
|
+
if (item.formName) {
|
|
106
|
+
const formId = this.tabs.filter((input) => input['formControl'] == item.formName)[0]['tabId'];
|
|
107
|
+
this.active(formId);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
return { isValid: isValid, Forms: allStatuses };
|
|
112
|
+
}
|
|
113
|
+
async active(id) {
|
|
114
|
+
var i = 0;
|
|
115
|
+
this.activeChild = -1,
|
|
116
|
+
await delay(100);
|
|
117
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
118
|
+
i++,
|
|
119
|
+
items.tabId == id && (items.disabled = false,
|
|
120
|
+
items.active = true,
|
|
121
|
+
this.bcmTabsActiveItem.emit(items.tabId),
|
|
122
|
+
this.activeChild = i);
|
|
123
|
+
items.tabId != id && (items.active = false);
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
async getActiveTab() {
|
|
127
|
+
return this.tabs[this.getActive() - 1]["tabId"];
|
|
128
|
+
}
|
|
129
|
+
async getActiveIndex() {
|
|
130
|
+
return this.getActive();
|
|
131
|
+
}
|
|
132
|
+
async error(id, blink = false) {
|
|
133
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
134
|
+
items.tabId == id && (items.badge = true,
|
|
135
|
+
items.blink = blink,
|
|
136
|
+
items.status = "error");
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
async info(id, blink = false) {
|
|
140
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
141
|
+
items.tabId == id && (items.badge = true,
|
|
142
|
+
items.blink = blink,
|
|
143
|
+
items.status = "processing");
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
async warning(id, blink = false) {
|
|
147
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
148
|
+
items.tabId == id && (items.badge = true,
|
|
149
|
+
items.blink = blink,
|
|
150
|
+
items.status = "warning");
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
async success(id, blink = false) {
|
|
154
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
155
|
+
items.tabId == id && (items.badge = true,
|
|
156
|
+
items.blink = blink,
|
|
157
|
+
items.status = "success");
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
async statusReset(id) {
|
|
161
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
162
|
+
items.tabId == id && (items.badge = false,
|
|
163
|
+
items.blink = false,
|
|
164
|
+
items.status = "default");
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
buttonControl() {
|
|
168
|
+
if (this.prevButton) {
|
|
169
|
+
if (this.activeChild == 1) {
|
|
170
|
+
this.prevButton.setAttribute(this.prevButtonState, "true");
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
this.prevButton.removeAttribute(this.prevButtonState);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
if (this.nextButton) {
|
|
177
|
+
if (this.getActive() == this.count) {
|
|
178
|
+
this.nextButton.setAttribute(this.nextButtonState, "true");
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
this.nextButton.removeAttribute(this.nextButtonState);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
if (this.completeButton) {
|
|
185
|
+
if (this.getActive() == this.count) {
|
|
186
|
+
this.completeButton.removeAttribute(this.completeButtonState);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
this.completeButton.setAttribute(this.completeButtonState, "true");
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @ComponentMethod
|
|
195
|
+
*/
|
|
196
|
+
componentDidRender() {
|
|
197
|
+
if (!this.firstInit)
|
|
198
|
+
return;
|
|
199
|
+
let slotElements;
|
|
200
|
+
slotElements = this.el.shadowRoot.querySelector('slot').assignedElements();
|
|
201
|
+
this.tabs = [];
|
|
202
|
+
this.activeChild = this.getActive();
|
|
203
|
+
var isActive = false;
|
|
204
|
+
var firstId = null;
|
|
205
|
+
var i = 0;
|
|
206
|
+
// Get only bcm-tab elements from
|
|
207
|
+
// slot childs
|
|
208
|
+
slotElements.map((element) => {
|
|
209
|
+
i++;
|
|
210
|
+
this.type == "stepper" && (element.disabled = true);
|
|
211
|
+
if (!firstId) {
|
|
212
|
+
firstId = element.tabId;
|
|
213
|
+
}
|
|
214
|
+
if (String(element.tagName).toLowerCase() == 'bcm-tab') {
|
|
215
|
+
element.type = this.type;
|
|
216
|
+
// Activate default tab
|
|
217
|
+
// #
|
|
218
|
+
if (this.tabs.push(element) - 1 == this.activeChild) {
|
|
219
|
+
this.activateChild(this.activeChild);
|
|
220
|
+
isActive = true;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
this.count = i;
|
|
224
|
+
});
|
|
225
|
+
if (!isActive) {
|
|
226
|
+
this.active(firstId);
|
|
227
|
+
}
|
|
228
|
+
setTimeout(() => {
|
|
229
|
+
this.el.shadowRoot.querySelector('.tabs').classList.add('animatable');
|
|
230
|
+
}, 500);
|
|
231
|
+
}
|
|
232
|
+
componentDidLoad() {
|
|
233
|
+
getChilds(this.el, 'bcm-tab').forEach(items => {
|
|
234
|
+
items.active && (this.bcmTabsActiveItem.emit(items.tabId), items.disabled = false);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
getActive() {
|
|
238
|
+
const childs = getChilds(this.el, 'bcm-tab');
|
|
239
|
+
const childIndex = childs.findIndex(child => child.active);
|
|
240
|
+
return childIndex >= 0 ? childIndex + 1 : 1;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @desc
|
|
244
|
+
*/
|
|
245
|
+
getChildIdx(child) {
|
|
246
|
+
let i = 1;
|
|
247
|
+
while (child.previousElementSibling) {
|
|
248
|
+
child = child.previousElementSibling;
|
|
249
|
+
i++;
|
|
250
|
+
}
|
|
251
|
+
return i;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* @desc
|
|
255
|
+
* @param idx
|
|
256
|
+
*/
|
|
257
|
+
activateChild(idx) {
|
|
258
|
+
idx = idx - 1;
|
|
259
|
+
const child = this.tabs[idx];
|
|
260
|
+
if (child) {
|
|
261
|
+
this.tabs.forEach((tab) => tab.active = false);
|
|
262
|
+
child.active = true;
|
|
263
|
+
child.disabled = false;
|
|
264
|
+
this.transformLine(idx);
|
|
265
|
+
this.firstInit && forceUpdate(this.el);
|
|
266
|
+
this.firstInit = false;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* @desc
|
|
271
|
+
* @param idx
|
|
272
|
+
*/
|
|
273
|
+
transformLine(idx) {
|
|
274
|
+
const tab = this.tabs[idx];
|
|
275
|
+
const rect = tab.getBoundingClientRect();
|
|
276
|
+
const top = (rect.top + window.pageYOffset);
|
|
277
|
+
const left = (rect.left + window.pageXOffset);
|
|
278
|
+
const width = rect.width;
|
|
279
|
+
const height = rect.height;
|
|
280
|
+
if (this.direction == 'horizontal') {
|
|
281
|
+
// this.lineOpts.top = (tab.offsetTop + tab.offsetHeight) + 'px'
|
|
282
|
+
this.lineOpts.top = top + height + 'px';
|
|
283
|
+
// this.lineOpts.left = tab.offsetLeft + 'px'
|
|
284
|
+
this.lineOpts.left = left + 'px';
|
|
285
|
+
// this.lineOpts.width = tab.offsetWidth + 'px'
|
|
286
|
+
this.lineOpts.width = width + 'px';
|
|
287
|
+
this.lineOpts.right = 'unset';
|
|
288
|
+
this.lineOpts.height = '2px';
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
// this.lineOpts.top = tab.offsetTop + 'px'
|
|
292
|
+
this.lineOpts.top = top + 'px';
|
|
293
|
+
this.lineOpts.left = 'unset';
|
|
294
|
+
this.lineOpts.right = '0';
|
|
295
|
+
this.lineOpts.width = '2px';
|
|
296
|
+
// this.lineOpts.height = tab.offsetHeight + 'px'
|
|
297
|
+
this.lineOpts.height = height + 'px';
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* @desc
|
|
302
|
+
*/
|
|
303
|
+
getLineTransform() {
|
|
304
|
+
return {
|
|
305
|
+
'--bcm-tabs-line-top': this.lineOpts.top,
|
|
306
|
+
'--bcm-tabs-line-left': this.lineOpts.left,
|
|
307
|
+
'--bcm-tabs-line-width': this.lineOpts.width,
|
|
308
|
+
'--bcm-tabs-line-right': this.lineOpts.right,
|
|
309
|
+
'--bcm-tabs-line-height': this.lineOpts.height
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* @desc
|
|
314
|
+
* @param event
|
|
315
|
+
*/
|
|
316
|
+
handleTabClick(event) {
|
|
317
|
+
const targetElement = event.target;
|
|
318
|
+
const childIdx = this.getChildIdx(targetElement);
|
|
319
|
+
this.activeChild = null;
|
|
320
|
+
this.activeChild = childIdx;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* @desc
|
|
324
|
+
* @param event
|
|
325
|
+
*/
|
|
326
|
+
handleTabClose(event) {
|
|
327
|
+
const targetElement = event.target;
|
|
328
|
+
const childIdx = this.getChildIdx(targetElement);
|
|
329
|
+
// Remove element
|
|
330
|
+
// #
|
|
331
|
+
targetElement.remove();
|
|
332
|
+
this.tabs.splice(childIdx - 1, 1);
|
|
333
|
+
if (childIdx === this.activeChild) {
|
|
334
|
+
this.activeChild = 1;
|
|
335
|
+
this.activateChild(1);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* @desc
|
|
340
|
+
* @param newValue
|
|
341
|
+
*/
|
|
342
|
+
activeChildChange(newValue) {
|
|
343
|
+
this.activateChild(newValue);
|
|
344
|
+
this.change.emit(newValue);
|
|
345
|
+
this.buttonControl();
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* @desc
|
|
349
|
+
*/
|
|
350
|
+
windowResize() {
|
|
351
|
+
this.transformLine(this.activeChild - 1);
|
|
352
|
+
forceUpdate(this.el);
|
|
353
|
+
}
|
|
354
|
+
render() {
|
|
355
|
+
const classes = classnames('tabs', [this.direction], [this.size], [this.type], this.fullWidth ? 'full-width' : null, this.underline ? 'underline' : null);
|
|
356
|
+
const hostClasses = classnames(this.hidden ? 'hidden' : null);
|
|
357
|
+
return (h(Host, { class: hostClasses }, h("div", { class: classes, style: this.getLineTransform(), "on-bcm-click": (event) => this.handleTabClick(event), "on-bcm-close": (event) => this.handleTabClose(event) }, h("slot", null))));
|
|
358
|
+
}
|
|
359
|
+
get el() { return getElement(this); }
|
|
360
|
+
static get watchers() { return {
|
|
361
|
+
"activeChild": ["activeChildChange"]
|
|
362
|
+
}; }
|
|
363
|
+
};
|
|
364
|
+
BcmTabs.style = tabsCss;
|
|
365
|
+
|
|
366
|
+
export { BcmTabs as bcm_tabs };
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-0615c2b8.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
6
|
+
import { G as Generate } from './generate-1281254a.js';
|
|
7
7
|
import { a as Bcm } from './bcm-a50d55ba.js';
|
|
8
|
-
import { c as classnames } from './index-
|
|
9
|
-
import { N as NumberHelper } from './number-helper-
|
|
10
|
-
import { e as extractColor } from './utils-
|
|
8
|
+
import { c as classnames } from './index-f549811f.js';
|
|
9
|
+
import { N as NumberHelper } from './number-helper-778c8f87.js';
|
|
10
|
+
import { e as extractColor } from './utils-57652744.js';
|
|
11
11
|
import { C as ColorPalette } from './colors-1d7854ea.js';
|
|
12
12
|
import { C as ColorProps } from './types-9493a7ed.js';
|
|
13
|
-
import './package-
|
|
14
|
-
import './colors-
|
|
15
|
-
import './_commonjsHelpers-
|
|
13
|
+
import './package-08ddc3fa.js';
|
|
14
|
+
import './colors-dd598eea.js';
|
|
15
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
16
16
|
|
|
17
17
|
const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, type, onDismiss, onSelect }) => {
|
|
18
18
|
!size && (size = Bcm.FontSize['size-1']);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
|
|
6
|
+
import { c as classnames } from './index-f549811f.js';
|
|
7
|
+
import { C as ColorHelper } from './color-helper-74614f24.js';
|
|
8
|
+
import { S as SlotTemplate } from './slot-template-2a19b2db.js';
|
|
9
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
10
|
+
import './colors-1d7854ea.js';
|
|
11
|
+
import './utils-57652744.js';
|
|
12
|
+
import './colors-dd598eea.js';
|
|
13
|
+
import './string-helper-3592bdc2.js';
|
|
14
|
+
import './bcm-a50d55ba.js';
|
|
15
|
+
|
|
16
|
+
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)}";
|
|
17
|
+
|
|
18
|
+
const BcmText = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
registerInstance(this, hostRef);
|
|
21
|
+
this.hidden = false;
|
|
22
|
+
this.scale = undefined;
|
|
23
|
+
this.weight = "400";
|
|
24
|
+
this.color = "slate";
|
|
25
|
+
this.text = undefined;
|
|
26
|
+
this.fontSize = 4;
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const { hidden, scale, weight, color, fontSize } = this;
|
|
30
|
+
const hostClasses = classnames('bcm-text', {
|
|
31
|
+
hidden
|
|
32
|
+
});
|
|
33
|
+
const classes = classnames('bcm-text__paragraph', `bcm-text__font-size-${fontSize}`, scale);
|
|
34
|
+
const fontWeight = +weight || 400;
|
|
35
|
+
const style = {
|
|
36
|
+
color: ColorHelper.dsColor(color),
|
|
37
|
+
fontWeight
|
|
38
|
+
};
|
|
39
|
+
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), h("p", { class: classes, style: Object.assign({}, style) }, h(SlotTemplate, { value: this.text }))));
|
|
40
|
+
}
|
|
41
|
+
get el() { return getElement(this); }
|
|
42
|
+
};
|
|
43
|
+
BcmText.style = textCss;
|
|
44
|
+
|
|
45
|
+
export { BcmText as bcm_text };
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
|
|
6
|
-
import { c as classnames } from './index-
|
|
6
|
+
import { c as classnames } from './index-f549811f.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-8277e3b8.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { G as Generate } from './generate-1281254a.js';
|
|
9
9
|
import { a as Bcm } from './bcm-a50d55ba.js';
|
|
10
|
-
import { d as delay } from './utils-
|
|
11
|
-
import './_commonjsHelpers-
|
|
12
|
-
import './package-
|
|
13
|
-
import './colors-
|
|
10
|
+
import { d as delay } from './utils-57652744.js';
|
|
11
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
12
|
+
import './package-08ddc3fa.js';
|
|
13
|
+
import './colors-dd598eea.js';
|
|
14
14
|
|
|
15
15
|
const timePickerCss = "@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-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
16
16
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
|
|
6
|
-
import { c as classnames } from './index-
|
|
7
|
-
import './_commonjsHelpers-
|
|
6
|
+
import { c as classnames } from './index-f549811f.js';
|
|
7
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
8
8
|
|
|
9
9
|
const timelineItemCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}:host(.hidden){display:none}.timeline-item{position:relative;font-size:14px;line-height:22px;padding:8px 8px 8px 30px}.timeline-item:after{content:\"\";position:absolute;left:0;top:14px;width:9px;height:9px;border-radius:100px;background-color:#ffffff;border:2px solid #4293CF;box-sizing:border-box}.timeline-item:before{content:\"\";position:absolute;top:30px;left:3px;width:2px;height:calc(100% - 23px);background-color:#e8e8e8}.timeline-item.last:before{display:none}.timeline-item.icon:after{display:none}bcm-icon{position:absolute;top:10px;left:-4px}.timeline-item.right{text-align:right;padding-left:8px;padding-right:30px}.timeline-item.right:after{left:inherit;right:0}.timeline-item.right:before{left:inherit;right:3px}.timeline-item.right bcm-icon{left:inherit;right:-4px}:host-context(.timeline.alternate){flex:0 0 50% !important;max-width:50% !important}:host-context(.timeline.alternate) .timeline-item.even{text-align:right;padding-left:8px;padding-right:30px}:host-context(.timeline.alternate) .timeline-item.even:after{left:inherit;right:-5px}:host-context(.timeline.alternate) .timeline-item.even:before{left:inherit;right:-1px}:host-context(.timeline.alternate) .timeline-item.even bcm-icon{left:inherit;right:-8px}:host-context(.timeline.alternate) .timeline-item:not(.even):after{left:-3px}:host-context(.timeline.alternate) .timeline-item:not(.even):before{left:0px}:host-context(.timeline.alternate) .timeline-item:not(.even) bcm-icon{left:-7px}@media screen and (min-width: 576px){:host-context(.timeline.alternate){flex:1 1 100% !important;max-width:100% !important;margin-left:inherit !important}:host-context(.timeline.alternate) .timeline-item.even{text-align:left;padding-left:30px;padding-right:8px}:host-context(.timeline.alternate) .timeline-item.even:after{left:-5px;right:inherit}:host-context(.timeline.alternate) .timeline-item.even:before{left:-1px;right:inherit}:host-context(.timeline.alternate) .timeline-item.even bcm-icon{left:-8px;right:inherit}}";
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
|
|
6
|
-
import { c as classnames } from './index-
|
|
7
|
-
import './_commonjsHelpers-
|
|
6
|
+
import { c as classnames } from './index-f549811f.js';
|
|
7
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
8
8
|
|
|
9
9
|
const timelineCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}:host(.hidden){display:none}.timeline{position:relative;display:flex;flex-direction:column}.timeline ::slotted(bcm-timeline-item){flex:0 0 100%;max-width:100%}.timeline.alternate ::slotted(bcm-timeline-item:nth-child(even)){margin-left:auto;min-width:50%}";
|
|
10
10
|
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0615c2b8.js';
|
|
6
|
-
import { c as classnames } from './index-
|
|
7
|
-
import { G as Generate } from './generate-
|
|
8
|
-
import { S as StringHelper } from './string-helper-
|
|
6
|
+
import { c as classnames } from './index-f549811f.js';
|
|
7
|
+
import { G as Generate } from './generate-1281254a.js';
|
|
8
|
+
import { S as StringHelper } from './string-helper-3592bdc2.js';
|
|
9
9
|
import { a as Bcm } from './bcm-a50d55ba.js';
|
|
10
|
-
import { d as delay } from './utils-
|
|
11
|
-
import './_commonjsHelpers-
|
|
12
|
-
import './package-
|
|
13
|
-
import './colors-
|
|
10
|
+
import { d as delay } from './utils-57652744.js';
|
|
11
|
+
import './_commonjsHelpers-82aa9212.js';
|
|
12
|
+
import './package-08ddc3fa.js';
|
|
13
|
+
import './colors-dd598eea.js';
|
|
14
14
|
|
|
15
15
|
const BcmToast = class {
|
|
16
16
|
constructor(hostRef) {
|