bromcom-ui 2.8.1-rc.0 → 2.8.1-rc.10-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-2a93a5a2.entry.js → p-02a232a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-afc59b65.entry.js → p-033bc73e.entry.js} +1 -1
- package/dist/bromcom-ui/p-037a40a6.entry.js +5 -0
- package/dist/bromcom-ui/{p-f66df7e2.entry.js → p-03db2686.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2c6f2c6e.entry.js → p-04869d82.entry.js} +1 -1
- package/dist/bromcom-ui/p-05069d60.entry.js +5 -0
- package/dist/bromcom-ui/{p-35d087b1.entry.js → p-0e247b5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0c043993.entry.js → p-104a911e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-985b830e.entry.js → p-134cb719.entry.js} +1 -1
- package/dist/bromcom-ui/p-1eabd5dc.js +10 -0
- package/dist/bromcom-ui/p-1fac3b1b.entry.js +5 -0
- package/dist/bromcom-ui/p-2a8b1592.js +5 -0
- package/dist/bromcom-ui/p-2cd16cba.entry.js +5 -0
- package/dist/bromcom-ui/{p-233a1fb4.entry.js → p-2fb6a382.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e6cd7c5.entry.js → p-327e6b40.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e9e1004b.entry.js → p-50a6e6ad.entry.js} +1 -1
- package/dist/bromcom-ui/{p-771ad3a6.entry.js → p-50dedc69.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df70c965.entry.js → p-516a396f.entry.js} +1 -1
- package/dist/bromcom-ui/p-60db4bb4.entry.js +5 -0
- package/dist/bromcom-ui/{p-edea9dfd.entry.js → p-6d54838e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-36bac522.entry.js → p-811034bb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c0c5cb65.entry.js → p-83385ad0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f87163ff.entry.js → p-844ddccb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eeca9f6a.js → p-8496349d.js} +1 -1
- package/dist/bromcom-ui/{p-40bdc7f4.entry.js → p-851a15f4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b334e60.entry.js → p-86ba62bc.entry.js} +1 -1
- package/dist/bromcom-ui/p-88bde8d0.entry.js +5 -0
- package/dist/bromcom-ui/{p-b8067e79.entry.js → p-8c2af9eb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-82aff8b2.entry.js → p-92f92499.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0bb029b9.entry.js → p-948c5685.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6a2c25e7.js → p-95ac600e.js} +1 -1
- package/dist/bromcom-ui/{p-84e3a7c2.entry.js → p-95c94d6b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f58d8231.entry.js → p-98067117.entry.js} +1 -1
- package/dist/bromcom-ui/p-9b2fbdbe.js +5 -0
- package/dist/bromcom-ui/{p-746e776f.entry.js → p-9b6b06b7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eaa0450d.entry.js → p-a32b3d70.entry.js} +1 -1
- package/dist/bromcom-ui/{p-15322ffb.js → p-a3d9a134.js} +1 -1
- package/dist/bromcom-ui/{p-dab9ce79.entry.js → p-a4129ba5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1622e5dd.entry.js → p-a46dbcbe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-964e1b9d.entry.js → p-a61d0671.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d6c9225c.entry.js → p-af2ce958.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3f3e0704.entry.js → p-b655061c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ab3598c2.entry.js → p-bad48e36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-34af5169.entry.js → p-c1326b6b.entry.js} +1 -1
- package/dist/bromcom-ui/p-c6a39efd.entry.js +5 -0
- package/dist/bromcom-ui/{p-f7dd4f41.entry.js → p-c7e477c2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8804713b.entry.js → p-c8ccc4e9.entry.js} +1 -1
- package/dist/bromcom-ui/p-cbf609ed.entry.js +5 -0
- package/dist/bromcom-ui/p-ccf71804.entry.js +5 -0
- package/dist/bromcom-ui/{p-31c05e88.entry.js → p-ce99fc13.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5f594403.entry.js → p-e03a7e41.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1ab0af09.entry.js → p-e1ec4ae0.entry.js} +1 -1
- package/dist/bromcom-ui/p-e2660e43.entry.js +13 -0
- package/dist/bromcom-ui/{p-fb13a0d7.entry.js → p-e5f2263f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0d7bb78b.entry.js → p-e803d804.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df7b3fed.js → p-f0082c91.js} +1 -1
- package/dist/bromcom-ui/{p-5b21f39a.js → p-f2c540cc.js} +1 -1
- package/dist/bromcom-ui/{p-a3d7bc84.entry.js → p-fcc88dea.entry.js} +1 -1
- package/dist/bromcom-ui/p-ff944406.entry.js +5 -0
- package/dist/bromcom-ui/{p-c91d78bb.entry.js → p-fff16d5e.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button_7.cjs.entry.js +7 -4
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
- package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
- package/dist/cjs/bcm-color-input.cjs.entry.js +3 -3
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +34 -549
- package/dist/cjs/bcm-content.cjs.entry.js +22 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +4 -7
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -10
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input.cjs.entry.js +5 -5
- package/dist/cjs/bcm-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-items.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list.cjs.entry.js +158 -345
- package/dist/cjs/bcm-menu.cjs.entry.js +10 -7
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal.cjs.entry.js +35 -11
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +12 -5
- package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-radio.cjs.entry.js +3 -3
- package/dist/cjs/bcm-range.cjs.entry.js +1 -1
- package/dist/cjs/bcm-rc-overflow_2.cjs.entry.js +2443 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bcm-step.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +23 -7
- package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-411c1529.js → generate-fbd410e1.js} +10 -1
- package/dist/cjs/index-906fb4e5.js +540 -0
- package/dist/cjs/{input-template-741a1078.js → input-template-68bd0585.js} +1 -1
- package/dist/cjs/{json-parse-decarator-661924f2.js → json-parse-decarator-6a4b6957.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-91446798.js → number-helper-4d112085.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{stepper-states-ee18b202.js → stepper-states-21ff9922.js} +1 -1
- package/dist/cjs/{tooltip-helper-dee255e9.js → tooltip-helper-e87e3189.js} +6 -4
- package/dist/cjs/{validators-c131b7c6.js → validators-d4b3d110.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/molecules/dropdown/dropdown.js +20 -8
- package/dist/collection/components/molecules/input/input.css +0 -4
- package/dist/collection/components/molecules/linked/linked.js +20 -6
- package/dist/collection/components/molecules/menu/menu.css +32 -10
- package/dist/collection/components/molecules/menu/menu.js +41 -2
- package/dist/collection/components/molecules/modal/modal.css +1 -1
- package/dist/collection/components/molecules/modal/modal.js +59 -17
- package/dist/collection/components/molecules/popover/popover.js +38 -15
- package/dist/collection/components/molecules/search/search.css +0 -4
- package/dist/collection/components/molecules/stepper/stepper.css +75 -43
- package/dist/collection/components/molecules/stepper/stepper.js +38 -2
- package/dist/collection/components/molecules/textarea/textarea.css +0 -4
- package/dist/collection/components/molecules/tooltip/tooltip.js +21 -0
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +3 -6
- package/dist/collection/components/organism/list/list.css +4 -3
- package/dist/collection/components/organism/list/list.js +172 -177
- package/dist/collection/components/organism/states/bcm-list2.states.js +19 -18
- package/dist/collection/components/other/content/content.js +15 -0
- package/dist/collection/components/{molecules → third-parts}/colorful/colorful.css +1 -5
- package/dist/collection/components/third-parts/rc-overflow/rc-overflow.css +138 -0
- package/dist/collection/components/third-parts/rc-overflow/rc-overflow.js +194 -0
- package/dist/collection/helper/generate.js +9 -0
- package/dist/collection/helper/popover-helper.js +3 -1
- package/dist/collection/helper/tooltip-helper.js +3 -1
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-alert.js +1 -1
- package/dist/components/bcm-checkbox-group.js +1 -1
- package/dist/components/bcm-content.d.ts +11 -0
- package/dist/components/bcm-content.js +35 -0
- package/dist/components/bcm-dropdown.js +3 -8
- package/dist/components/bcm-list.js +172 -346
- package/dist/components/bcm-modal.js +35 -11
- package/dist/components/bcm-popover.js +11 -3
- package/dist/components/bcm-rc-overflow.d.ts +11 -0
- package/dist/components/bcm-rc-overflow.js +10 -0
- package/dist/components/bcm-stepper.js +20 -4
- package/dist/components/bcm-textarea.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/colorful.js +2 -531
- package/dist/components/datetime-picker.js +3 -6
- package/dist/components/generate.js +10 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index3.js +523 -177
- package/dist/components/index4.js +191 -0
- package/dist/components/input.js +1 -1
- package/dist/components/linked.js +20 -6
- package/dist/components/menu.js +8 -3
- package/dist/components/rc-overflow.js +2238 -0
- package/dist/components/search.js +2 -2
- package/dist/components/step.js +1 -1
- package/dist/components/tooltip-helper.js +3 -1
- package/dist/components/tooltip.js +4 -0
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-alert.entry.js +1 -1
- package/dist/esm/bcm-attendance.entry.js +1 -1
- package/dist/esm/bcm-avatar_2.entry.js +3 -3
- package/dist/esm/bcm-breadcrumb.entry.js +1 -1
- package/dist/esm/bcm-button-group.entry.js +1 -1
- package/dist/esm/bcm-button_7.entry.js +7 -4
- package/dist/esm/bcm-card.entry.js +1 -1
- package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
- package/dist/esm/bcm-chip.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +1 -1
- package/dist/esm/bcm-color-input.entry.js +3 -3
- package/dist/esm/bcm-colorful_2.entry.js +25 -540
- package/dist/esm/bcm-content.entry.js +18 -0
- package/dist/esm/bcm-date-picker.entry.js +1 -1
- package/dist/esm/bcm-datetime-picker.entry.js +4 -7
- package/dist/esm/bcm-default.entry.js +1 -1
- package/dist/esm/bcm-drawer.entry.js +3 -3
- package/dist/esm/bcm-dropdown.entry.js +4 -10
- package/dist/esm/bcm-expansion-panel.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +1 -1
- package/dist/esm/bcm-input.entry.js +5 -5
- package/dist/esm/bcm-item.entry.js +1 -1
- package/dist/esm/bcm-items.entry.js +1 -1
- package/dist/esm/bcm-list.entry.js +158 -345
- package/dist/esm/bcm-menu.entry.js +10 -7
- package/dist/esm/bcm-modal-2-footer.entry.js +3 -3
- package/dist/esm/bcm-modal-2-header.entry.js +3 -3
- package/dist/esm/bcm-modal-2.entry.js +3 -3
- package/dist/esm/bcm-modal.entry.js +35 -11
- package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
- package/dist/esm/bcm-popconfirm.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +12 -5
- package/dist/esm/bcm-progress.entry.js +1 -1
- package/dist/esm/bcm-radio-group.entry.js +3 -3
- package/dist/esm/bcm-radio.entry.js +3 -3
- package/dist/esm/bcm-range.entry.js +1 -1
- package/dist/esm/bcm-rc-overflow_2.entry.js +2438 -0
- package/dist/esm/bcm-skeleton.entry.js +1 -1
- package/dist/esm/bcm-step.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +23 -7
- package/dist/esm/bcm-switch.entry.js +1 -1
- package/dist/esm/bcm-tab-group.entry.js +3 -3
- package/dist/esm/bcm-tab-item-header.entry.js +3 -3
- package/dist/esm/bcm-tab-item.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +2 -2
- package/dist/esm/bcm-textarea.entry.js +3 -3
- package/dist/esm/bcm-time-picker.entry.js +1 -1
- package/dist/esm/bcm-toast.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{generate-3e284764.js → generate-078b420f.js} +10 -1
- package/dist/esm/index-6310a048.js +537 -0
- package/dist/esm/{input-template-b0adc55c.js → input-template-2fa28387.js} +1 -1
- package/dist/esm/{json-parse-decarator-5f1e26d4.js → json-parse-decarator-22e8e247.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-ca1092d7.js → number-helper-ed541ffb.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +2 -2
- package/dist/esm/old-bcm-popover.entry.js +1 -1
- package/dist/esm/{stepper-states-f8c0fb9b.js → stepper-states-d7a39df1.js} +1 -1
- package/dist/esm/{tooltip-helper-d4a37741.js → tooltip-helper-b0776da6.js} +6 -4
- package/dist/esm/{validators-c025ec38.js → validators-f8caf3b9.js} +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/molecules/linked/linked.d.ts +3 -0
- package/dist/types/components/molecules/menu/menu.d.ts +2 -0
- package/dist/types/components/molecules/modal/modal.d.ts +10 -4
- package/dist/types/components/molecules/popover/popover.d.ts +2 -1
- package/dist/types/components/molecules/stepper/stepper.d.ts +3 -0
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components/organism/list/list.d.ts +9 -5
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +1 -1
- package/dist/types/components/other/content/content.d.ts +6 -0
- package/dist/types/components/third-parts/rc-overflow/rc-overflow.d.ts +17 -0
- package/dist/types/components.d.ts +54 -4
- package/dist/types/helper/popover-helper.d.ts +3 -1
- package/dist/types/helper/tooltip-helper.d.ts +3 -1
- package/package.json +2 -1
- package/dist/bromcom-ui/p-0f41f6e2.entry.js +0 -5
- package/dist/bromcom-ui/p-1362b17e.entry.js +0 -5
- package/dist/bromcom-ui/p-37a28587.js +0 -5
- package/dist/bromcom-ui/p-3bb952e7.entry.js +0 -5
- package/dist/bromcom-ui/p-748cb943.entry.js +0 -5
- package/dist/bromcom-ui/p-8a0128e6.entry.js +0 -5
- package/dist/bromcom-ui/p-98fe21a3.entry.js +0 -5
- package/dist/bromcom-ui/p-9f48d505.entry.js +0 -5
- package/dist/bromcom-ui/p-b4f02061.entry.js +0 -10
- package/dist/bromcom-ui/p-b52fe89c.entry.js +0 -5
- package/dist/bromcom-ui/p-feab9d90.entry.js +0 -5
- package/dist/bromcom-ui/p-ff408c78.js +0 -5
- package/dist/cjs/bcm-search.cjs.entry.js +0 -245
- package/dist/collection/components/organism/list/list-tag-control.js +0 -173
- package/dist/esm/bcm-search.entry.js +0 -241
- package/dist/types/components/organism/list/list-tag-control.d.ts +0 -18
- /package/dist/collection/components/{molecules → third-parts}/colorful/colorful.js +0 -0
- /package/dist/types/components/{molecules → third-parts}/colorful/colorful.d.ts +0 -0
|
@@ -10,15 +10,15 @@ import { S as SlotTemplate } from './slot-template.js';
|
|
|
10
10
|
import { G as Generate } from './generate.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
12
12
|
|
|
13
|
-
const modalCss = "@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-modal{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:100%;height:100%;position:fixed;z-index:-1;opacity:0;top:0;left:0;visibility:hidden;overflow:auto;padding:24px;transition:opacity 0.5s ease, visibility 0.4s ease-in-out, 0.3s z-index}.bcm-modal__show{opacity:1;z-index:10500;visibility:visible;transition:opacity 0.2s ease, visibility 0.4s ease-in-out, 0.3s z-index}.bcm-modal__show .bcm-modal__container{transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out;transform:translateY(0)}.bcm-modal .overlay{position:fixed;width:100vw;height:100vh;z-index:1;top:0;left:0;opacity:0.6;background-color:var(--bcm-new-ds-color-slate-900)}.bcm-modal__container{display:flex;flex-direction:column;width:100%;box-shadow:0 2px 6px 1px rgba(17, 24, 38, 0.1);border-radius:8px;background-color:var(--bcm-new-ds-color-white);z-index:2;transform:translateY(-50px);transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out}.bcm-modal__container.portrait{max-width:312px}.bcm-modal__container.landscape{max-width:475px}.bcm-modal__container.small{max-width:576px}.bcm-modal__container.medium{max-width:768px}.bcm-modal__container.large{max-width:992px}.bcm-modal__container.xlarge{max-width:1024px}.bcm-modal__container.xxlarge{max-width:1200px}.bcm-modal__container.xxxlarge{max-width:1700px}.bcm-modal__container.full-width{width:100%;max-width:100%}.bcm-modal__container.custom-size main{overflow:auto;height:100%;width:100%}.bcm-modal__container-main{color:var(--bcm-color-grey-8);padding:0}.bcm-modal__container-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:12px 24px;font-size:16px;line-height:calc(16px + 8px);font-weight:500;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-color-
|
|
13
|
+
const modalCss = "@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-modal{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:100%;height:100%;position:fixed;z-index:-1;opacity:0;top:0;left:0;visibility:hidden;overflow:auto;padding:24px;transition:opacity 0.5s ease, visibility 0.4s ease-in-out, 0.3s z-index}.bcm-modal__show{opacity:1;z-index:10500;visibility:visible;transition:opacity 0.2s ease, visibility 0.4s ease-in-out, 0.3s z-index}.bcm-modal__show .bcm-modal__container{transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out;transform:translateY(0)}.bcm-modal .overlay{position:fixed;width:100vw;height:100vh;z-index:1;top:0;left:0;opacity:0.6;background-color:var(--bcm-new-ds-color-slate-900)}.bcm-modal__container{display:flex;flex-direction:column;width:100%;box-shadow:0 2px 6px 1px rgba(17, 24, 38, 0.1);border-radius:8px;background-color:var(--bcm-new-ds-color-white);z-index:2;transform:translateY(-50px);transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out}.bcm-modal__container.portrait{max-width:312px}.bcm-modal__container.landscape{max-width:475px}.bcm-modal__container.small{max-width:576px}.bcm-modal__container.medium{max-width:768px}.bcm-modal__container.large{max-width:992px}.bcm-modal__container.xlarge{max-width:1024px}.bcm-modal__container.xxlarge{max-width:1200px}.bcm-modal__container.xxxlarge{max-width:1700px}.bcm-modal__container.full-width{width:100%;max-width:100%}.bcm-modal__container.custom-size main{overflow:auto;height:100%;width:100%}.bcm-modal__container-main{color:var(--bcm-color-grey-8);padding:0}.bcm-modal__container-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:12px 24px;font-size:16px;line-height:calc(16px + 8px);font-weight:500;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-100);position:relative}.bcm-modal__container-header span.full-width{width:100%}.bcm-modal__container-header-close{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;padding:8px;cursor:pointer;color:var(--bcm-new-ds-color-slate-500);transition:color 0.1s ease-in-out}.bcm-modal__container-header-close:hover{color:var(--bcm-new-ds-color-slate-600)}.bcm-modal__container-header-close:active{color:var(--bcm-new-ds-color-slate-700)}.bcm-modal__container-header-close:focus-visible{color:var(--bcm-new-ds-color-slate-800)}.bcm-modal__container-header:after{border-radius:8px 8px 0 0;content:\"\";display:block;width:100%;height:4px;background-color:var(--bcm-color-primary-400);position:absolute;top:-4px;left:0}.bcm-modal__container-footer-content{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-end;flex-wrap:nowrap;padding:12px 24px 24px;grid-gap:8px}";
|
|
14
14
|
|
|
15
15
|
const BcmModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
17
17
|
super();
|
|
18
18
|
this.__registerHost();
|
|
19
|
-
this.beforeOpen = createEvent(this, "beforeOpen", 7);
|
|
20
|
-
this.beforeClose = createEvent(this, "beforeClose", 7);
|
|
21
19
|
this.close = createEvent(this, "bcm-close", 7);
|
|
20
|
+
this.modalBeforeClose = createEvent(this, "bcm-modal-before-close", 7);
|
|
21
|
+
this.modalBeforeOpen = createEvent(this, "bcm-modal-before-open", 7);
|
|
22
22
|
this.modalSlots = {};
|
|
23
23
|
this._id = Generate.UID();
|
|
24
24
|
this.isShow = false;
|
|
@@ -63,14 +63,20 @@ const BcmModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
63
63
|
this.hide();
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
async hide() {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
async hide(obj = { force: false }) {
|
|
67
|
+
if (obj === null || obj === void 0 ? void 0 : obj.force) {
|
|
68
|
+
this.isShow = false;
|
|
69
|
+
this.close.emit(); // Deprecated
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
this.modalBeforeClose.emit(this.el);
|
|
70
73
|
}
|
|
71
|
-
async show() {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
async show(obj = { force: false }) {
|
|
75
|
+
if (obj === null || obj === void 0 ? void 0 : obj.force) {
|
|
76
|
+
this.isShow = true;
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
this.modalBeforeOpen.emit(this.el);
|
|
74
80
|
}
|
|
75
81
|
keyboardNavigation(e) {
|
|
76
82
|
if (this.backdrop == true) {
|
|
@@ -81,6 +87,24 @@ const BcmModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
81
87
|
}
|
|
82
88
|
}
|
|
83
89
|
}
|
|
90
|
+
async showModal(e) {
|
|
91
|
+
if (e.defaultPrevented) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (e.target === this.el) {
|
|
95
|
+
this.isShow = true;
|
|
96
|
+
// document.body.appendChild(this.el); A solution must be found for this.
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
async hideModal(e) {
|
|
100
|
+
if (e.defaultPrevented) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (e.target === this.el) {
|
|
104
|
+
this.isShow = false;
|
|
105
|
+
this.close.emit(); // Deprecated
|
|
106
|
+
}
|
|
107
|
+
}
|
|
84
108
|
_openHandler() {
|
|
85
109
|
const disableScrollClass = `bcm-modal--disable-scroll-${this._id}`;
|
|
86
110
|
if (this.isShow) {
|
|
@@ -131,7 +155,7 @@ const BcmModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
131
155
|
"fullWidth": [1028, "full-width"],
|
|
132
156
|
"hide": [64],
|
|
133
157
|
"show": [64]
|
|
134
|
-
}, [[8, "click", "handleSubmit"], [4, "keydown", "keyboardNavigation"]]]);
|
|
158
|
+
}, [[8, "click", "handleSubmit"], [4, "keydown", "keyboardNavigation"], [4, "bcm-modal-before-open", "showModal"], [4, "bcm-modal-before-close", "hideModal"]]]);
|
|
135
159
|
function defineCustomElement$1() {
|
|
136
160
|
if (typeof customElements === "undefined") {
|
|
137
161
|
return;
|
|
@@ -14,7 +14,7 @@ import { d as delay } from './utils.js';
|
|
|
14
14
|
import { F as FloatingUI } from './floating-ui.js';
|
|
15
15
|
|
|
16
16
|
class Popover {
|
|
17
|
-
constructor({ content, message, targetId, placement = "top", color = "slate-700", trigger = "none", openDelay = 0, closeDelay = 0, emitShow = () => { }, emitHide = () => { } }) {
|
|
17
|
+
constructor({ content, message, targetId, placement = "top", color = "slate-700", trigger = "none", openDelay = 0, closeDelay = 0, autoHide = false, emitShow = () => { }, emitHide = () => { } }) {
|
|
18
18
|
this.destroy = () => {
|
|
19
19
|
this.el = document.getElementById(this.id);
|
|
20
20
|
if (this.el) {
|
|
@@ -60,6 +60,7 @@ class Popover {
|
|
|
60
60
|
switch (this.trigger) {
|
|
61
61
|
case "click":
|
|
62
62
|
this.target().addEventListener("click", this.toggle.bind(this));
|
|
63
|
+
this.autoHide && this.target().addEventListener("mouseleave", this.hide.bind(this));
|
|
63
64
|
break;
|
|
64
65
|
case "hover":
|
|
65
66
|
this.target().addEventListener("mouseenter", this.show.bind(this));
|
|
@@ -135,6 +136,7 @@ class Popover {
|
|
|
135
136
|
this.id = targetId + "-popover-box";
|
|
136
137
|
this.openDelay = openDelay;
|
|
137
138
|
this.closeDelay = closeDelay;
|
|
139
|
+
this.autoHide = autoHide;
|
|
138
140
|
this.emitShow = emitShow;
|
|
139
141
|
this.emitHide = emitHide;
|
|
140
142
|
}
|
|
@@ -153,9 +155,10 @@ const BcmPopover$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
153
155
|
this.trigger = Bcm.TriggerType.click;
|
|
154
156
|
this.open = false;
|
|
155
157
|
this.color = "white";
|
|
156
|
-
this.targetId = undefined;
|
|
157
158
|
this.openDelay = 0;
|
|
158
159
|
this.closeDelay = 0;
|
|
160
|
+
this.autoHide = false;
|
|
161
|
+
this.targetId = undefined;
|
|
159
162
|
this.popover = undefined;
|
|
160
163
|
}
|
|
161
164
|
emitShow() {
|
|
@@ -174,6 +177,7 @@ const BcmPopover$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
174
177
|
trigger: this.trigger,
|
|
175
178
|
openDelay: this.openDelay,
|
|
176
179
|
closeDelay: this.closeDelay,
|
|
180
|
+
autoHide: this.autoHide,
|
|
177
181
|
emitShow: () => this.emitShow(),
|
|
178
182
|
emitHide: () => this.emitHide(),
|
|
179
183
|
});
|
|
@@ -188,6 +192,9 @@ const BcmPopover$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
188
192
|
this.popover.placement = placement;
|
|
189
193
|
this.popover.color = color;
|
|
190
194
|
this.popover.trigger = trigger;
|
|
195
|
+
this.popover.openDelay = this.openDelay;
|
|
196
|
+
this.popover.closeDelay = this.closeDelay;
|
|
197
|
+
this.popover.autoHide = this.autoHide;
|
|
191
198
|
this.popover.update();
|
|
192
199
|
}
|
|
193
200
|
disconnectedCallback() {
|
|
@@ -214,9 +221,10 @@ const BcmPopover$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
214
221
|
"trigger": [1],
|
|
215
222
|
"open": [1028],
|
|
216
223
|
"color": [1],
|
|
217
|
-
"targetId": [1, "target-id"],
|
|
218
224
|
"openDelay": [2, "open-delay"],
|
|
219
225
|
"closeDelay": [2, "close-delay"],
|
|
226
|
+
"autoHide": [4, "auto-hide"],
|
|
227
|
+
"targetId": [1, "target-id"],
|
|
220
228
|
"popover": [32],
|
|
221
229
|
"show": [64],
|
|
222
230
|
"hide": [64],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmRcOverflow extends Components.BcmRcOverflow, HTMLElement {}
|
|
4
|
+
export const BcmRcOverflow: {
|
|
5
|
+
prototype: BcmRcOverflow;
|
|
6
|
+
new (): BcmRcOverflow;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { B as BcmRcOverflow$1, d as defineCustomElement$1 } from './rc-overflow.js';
|
|
6
|
+
|
|
7
|
+
const BcmRcOverflow = BcmRcOverflow$1;
|
|
8
|
+
const defineCustomElement = defineCustomElement$1;
|
|
9
|
+
|
|
10
|
+
export { BcmRcOverflow, defineCustomElement };
|
|
@@ -37,13 +37,14 @@ const StepperHeaderTemplate = ({ _title, description, status, valid, index, load
|
|
|
37
37
|
h("div", { class: "bcm-stepper__header-item-description size-1" }, description))));
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
const stepperCss = "@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-stepper{display:block;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-stepper__header{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;padding:16px}.bcm-stepper__header *,.bcm-stepper__header ::after,.bcm-stepper__header ::before{box-sizing:content-box}.bcm-stepper__header-item{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.bcm-stepper__header-item--container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.bcm-stepper__header-item-icon{position:relative;width:32px;height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:var(--bcm-color-
|
|
40
|
+
const stepperCss = "@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-stepper{display:block;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-stepper__header{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;padding:16px}.bcm-stepper__header *,.bcm-stepper__header ::after,.bcm-stepper__header ::before{box-sizing:content-box}.bcm-stepper__header-item{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-width:150px}.bcm-stepper__header-item--container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.bcm-stepper__header-item-icon{position:relative;width:32px;height:32px;min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:var(--bcm-new-ds-color-blue-600);color:var(--bcm-new-ds-color-slate-700);line-height:1;margin-bottom:16px;user-select:none}.bcm-stepper__header-item-icon::before{width:40px;height:40px;border-radius:50%;border:2px solid var(--bcm-new-ds-color-blue-600);border-color:transparent;position:absolute;z-index:0;user-select:none;top:-6px;left:-6px}.bcm-stepper__header-item-title{color:var(--bcm-new-ds-color-slate-700)}.bcm-stepper__header-item-description{color:var(--bcm-new-ds-color-slate-600)}.bcm-stepper__header-item--disabled .bcm-stepper__header-item-title{color:var(--bcm-new-ds-color-slate-500)}.bcm-stepper__header-item--disabled .bcm-stepper__header-item-description{color:var(--bcm-new-ds-color-slate-500)}.bcm-stepper__header-item:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-color-prime-blue-7)}.bcm-stepper__header-item::before,.bcm-stepper__header-item::after{content:\"\";position:absolute;width:calc(50% - 24px);height:2px;background-color:var(--bcm-new-ds-color-blue-600);top:16px;box-sizing:content-box}.bcm-stepper__header-item::after{right:0;border-radius:3px 0 0 3px}.bcm-stepper__header-item::before{left:0;border-radius:0 3px 3px 0}.bcm-stepper__header-item:first-of-type::before{display:none}.bcm-stepper__header-item:last-of-type::after{display:none}.bcm-stepper__header-item--active .bcm-stepper__header-item-icon::before{content:\"\";border:2px solid var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--active .bcm-stepper__header-item-title{font-weight:500}.bcm-stepper__header-line{width:100%;flex:1;height:2px;background-color:var(--bcm-new-ds-color-blue-600);margin-top:16px}.bcm-stepper__header-line--warning{background-color:var(--bcm-new-ds-color-amber-600)}.bcm-stepper__header-line--warning+.bcm-stepper__header-item::before{background-color:var(--bcm-new-ds-color-amber-600)}.bcm-stepper__header-item--warning::after{background-color:var(--bcm-new-ds-color-amber-600)}.bcm-stepper__header-item--warning .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-amber-600)}.bcm-stepper__header-item--warning .bcm-stepper__header-item-icon::before{border-color:var(--bcm-new-ds-color-amber-600)}.bcm-stepper__header-item--warning:not(.bcm-stepper__header-item--disabled) .bcm-stepper__header-item-icon{color:white}.bcm-stepper__header-item--warning:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item--warning:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-amber-700)}.bcm-stepper__header-line--success{background-color:var(--bcm-new-ds-color-emerald-600)}.bcm-stepper__header-line--success+.bcm-stepper__header-item::before{background-color:var(--bcm-new-ds-color-emerald-600)}.bcm-stepper__header-item--success::after{background-color:var(--bcm-new-ds-color-emerald-600)}.bcm-stepper__header-item--success .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-emerald-600)}.bcm-stepper__header-item--success .bcm-stepper__header-item-icon::before{border-color:var(--bcm-new-ds-color-emerald-600)}.bcm-stepper__header-item--success:not(.bcm-stepper__header-item--disabled) .bcm-stepper__header-item-icon{color:white}.bcm-stepper__header-item--success:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item--success:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-emerald-700)}.bcm-stepper__header-line--error{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-line--error+.bcm-stepper__header-item::before{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--error::after{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--error .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-red-600)}.bcm-stepper__header-item--error .bcm-stepper__header-item-icon::before{border-color:var(--bcm-new-ds-color-red-600)}.bcm-stepper__header-item--error:not(.bcm-stepper__header-item--disabled) .bcm-stepper__header-item-icon{color:white}.bcm-stepper__header-item--error:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item--error:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-red-700)}.bcm-stepper__header-line--default{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-line--default+.bcm-stepper__header-item::before{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--default::after{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--default .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--default .bcm-stepper__header-item-icon::before{border-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--default:not(.bcm-stepper__header-item--disabled) .bcm-stepper__header-item-icon{color:white}.bcm-stepper__header-item--default:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item--default:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-blue-700)}.bcm-stepper__header-line--loading{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-line--loading+.bcm-stepper__header-item::before{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--loading::after{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--loading .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--loading .bcm-stepper__header-item-icon::before{border-color:var(--bcm-new-ds-color-blue-600)}.bcm-stepper__header-item--loading:not(.bcm-stepper__header-item--disabled) .bcm-stepper__header-item-icon{color:white}.bcm-stepper__header-item--loading:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item--loading:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-blue-700)}.bcm-stepper__header-line--disabled{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-line--disabled+.bcm-stepper__header-item::before{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--disabled::after{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--disabled .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--disabled .bcm-stepper__header-item-icon::before{border-color:var(--bcm-new-ds-color-slate-300)}.bcm-stepper__header-item--disabled:not(.bcm-stepper__header-item--disabled) .bcm-stepper__header-item-icon{color:white}.bcm-stepper__header-item--disabled:not(.bcm-stepper__header-item--disabled):hover{cursor:pointer}.bcm-stepper__header-item--disabled:not(.bcm-stepper__header-item--disabled):hover .bcm-stepper__header-item-icon{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-stepper__header-item--disabled{cursor:not-allowed}.bcm-stepper__header-item--disabled.bcm-stepper__header-item--container{pointer-events:none}.bcm-stepper__step{display:none}.bcm-stepper__step-active{display:block}";
|
|
41
41
|
|
|
42
42
|
const BcmStepper$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
43
43
|
constructor() {
|
|
44
44
|
super();
|
|
45
45
|
this.__registerHost();
|
|
46
46
|
this.bcmStepChange = createEvent(this, "bcm-step-change", 7);
|
|
47
|
+
this.bcmStepperBeforeChange = createEvent(this, "bcm-step-before-change", 7);
|
|
47
48
|
this.hidden = false;
|
|
48
49
|
this._id = Generate.UID();
|
|
49
50
|
this.direction = Bcm.Direction.horizontal;
|
|
@@ -192,16 +193,31 @@ const BcmStepper$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
192
193
|
getItems() {
|
|
193
194
|
return snq(() => { var _a; return (_a = stepperStates.getValue(this.stepperId).steps) === null || _a === void 0 ? void 0 : _a.filter(item => !item.headerHidden); }, []);
|
|
194
195
|
}
|
|
196
|
+
headerClick(index) {
|
|
197
|
+
this.bcmStepperBeforeChange.emit({
|
|
198
|
+
current: this.getActiveIndex() - 1,
|
|
199
|
+
next: index,
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
async handleBcmStepBeforeChange(e) {
|
|
203
|
+
if (e.defaultPrevented) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
if (e.target === this.el) {
|
|
207
|
+
const { next } = e.detail;
|
|
208
|
+
this.next(next);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
195
211
|
render() {
|
|
196
212
|
const { hidden, direction, linear, size } = this;
|
|
197
|
-
const hostClasses = classnames("bcm-stepper", "bcm-stepper__direction-" + direction, "bcm-stepper__size-" + size, {
|
|
213
|
+
const hostClasses = classnames("bcm-ui-element tw-font-sans tw-antialiased", "bcm-stepper", "bcm-stepper__direction-" + direction, "bcm-stepper__size-" + size, {
|
|
198
214
|
"bcm-stepper__linear": linear,
|
|
199
215
|
hidden,
|
|
200
216
|
});
|
|
201
217
|
const lineClasses = item => classnames("bcm-stepper__header-line", `bcm-stepper__header-line--${(item === null || item === void 0 ? void 0 : item.disabled) ? "disabled" : (item === null || item === void 0 ? void 0 : item.status) === "error" ? "default" : item === null || item === void 0 ? void 0 : item.status}`);
|
|
202
218
|
const items = this.getItems();
|
|
203
219
|
return (h(Host, { class: hostClasses }, h("span", { hidden: true, id: `bcm-stepper__steps-${this._id}` }, h("slot", null)), h("main", null, h("header", { class: "bcm-stepper__header" }, items === null || items === void 0 ? void 0 : items.map((item, index) => [
|
|
204
|
-
h(StepperHeaderTemplate, Object.assign({}, item, { stepChange: step => this.
|
|
220
|
+
h(StepperHeaderTemplate, Object.assign({}, item, { stepChange: step => this.headerClick(step - 1) })),
|
|
205
221
|
items.length > index + 1 && h("div", { class: lineClasses(item) }),
|
|
206
222
|
])), h("section", { class: "bcm-stepper__body" }, this.data && this.data.length > 0 ? items === null || items === void 0 ? void 0 : items.map(item => h("bcm-step", Object.assign({}, item))) : h("slot", null)))));
|
|
207
223
|
}
|
|
@@ -227,7 +243,7 @@ const BcmStepper$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
227
243
|
"reset": [64],
|
|
228
244
|
"getCurrentStep": [64],
|
|
229
245
|
"getSteps": [64]
|
|
230
|
-
}, [[0, "bcm-change-hidden", "handleChangeBcmHidden"]]]);
|
|
246
|
+
}, [[0, "bcm-change-hidden", "handleChangeBcmHidden"], [4, "bcm-step-before-change", "handleBcmStepBeforeChange"]]]);
|
|
231
247
|
function defineCustomElement$1() {
|
|
232
248
|
if (typeof customElements === "undefined") {
|
|
233
249
|
return;
|
|
@@ -24,7 +24,7 @@ var ResizeType;
|
|
|
24
24
|
ResizeType["inherit"] = "inherit";
|
|
25
25
|
})(ResizeType || (ResizeType = {}));
|
|
26
26
|
|
|
27
|
-
const textareaCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;
|
|
27
|
+
const textareaCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
|
|
28
28
|
|
|
29
29
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
30
30
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -6,7 +6,7 @@ import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/
|
|
|
6
6
|
import { s as snq, G as Generate } from './generate.js';
|
|
7
7
|
import { B as Bcm } from './bcm.js';
|
|
8
8
|
import { c as classnames } from './index2.js';
|
|
9
|
-
import { c as createStore } from './
|
|
9
|
+
import { c as createStore } from './index4.js';
|
|
10
10
|
import { S as SlotTemplate } from './slot-template.js';
|
|
11
11
|
import { C as ColorHelper } from './color-helper.js';
|
|
12
12
|
|