bromcom-ui 2.7.38-rc.8 → 2.8.0-rc.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/global/helper/index.ts +1 -0
- package/dist/bromcom-ui/global/helper/toast.ts +136 -0
- package/dist/bromcom-ui/{p-d6fe1d25.entry.js → p-0191554f.entry.js} +1 -1
- package/dist/bromcom-ui/p-040f1cc5.entry.js +5 -0
- package/dist/bromcom-ui/{p-2b94d9ac.entry.js → p-05a32a81.entry.js} +1 -1
- package/dist/bromcom-ui/{p-72f741db.entry.js → p-0b77585e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-64b20f43.entry.js → p-0f685aa9.entry.js} +1 -1
- package/dist/bromcom-ui/p-13f0d66c.entry.js +5 -0
- package/dist/bromcom-ui/{p-c58f338d.entry.js → p-14938158.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd50e75e.entry.js → p-1d77cf0f.entry.js} +1 -1
- package/dist/bromcom-ui/p-21bf2bb5.js +5 -0
- package/dist/bromcom-ui/p-22e08221.entry.js +5 -0
- package/dist/bromcom-ui/p-23cb7133.js +5 -0
- package/dist/bromcom-ui/{p-1e47e597.entry.js → p-2552592a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1f103e82.js → p-2a2466d0.js} +1 -1
- package/dist/bromcom-ui/{p-6d17ae58.entry.js → p-2b774123.entry.js} +1 -1
- package/dist/bromcom-ui/{p-db102b27.entry.js → p-2cac45d6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-444cb95f.entry.js → p-2cdc4578.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9164fab5.entry.js → p-2f0e0ecf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4721d58a.entry.js → p-369d6e4f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1e2932b4.entry.js → p-3836eb77.entry.js} +1 -1
- package/dist/bromcom-ui/{p-69ef565b.entry.js → p-3d4897d8.entry.js} +1 -1
- package/dist/bromcom-ui/p-4487e8c2.js +5 -0
- package/dist/bromcom-ui/p-4789cc74.entry.js +5 -0
- package/dist/bromcom-ui/{p-5775dcea.js → p-48e9166c.js} +1 -1
- package/dist/bromcom-ui/{p-1d44dbea.entry.js → p-4a123037.entry.js} +1 -1
- package/dist/bromcom-ui/p-4a51c718.entry.js +5 -0
- package/dist/bromcom-ui/{p-04bd9117.entry.js → p-4d556100.entry.js} +1 -1
- package/dist/bromcom-ui/{p-032a02bb.entry.js → p-4fa21c01.entry.js} +1 -1
- package/dist/bromcom-ui/{p-069a06c8.entry.js → p-53beb481.entry.js} +1 -1
- package/dist/bromcom-ui/p-583d6b09.entry.js +5 -0
- package/dist/bromcom-ui/{p-62a25424.entry.js → p-5a5cc30f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-68454f53.entry.js → p-5c2bf950.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fc55a7e3.entry.js → p-5d014153.entry.js} +1 -1
- package/dist/bromcom-ui/p-5de651cc.entry.js +5 -0
- package/dist/bromcom-ui/{p-91a7f380.entry.js → p-5fa48e18.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3126f440.entry.js → p-61709094.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2c0f560.entry.js → p-61865ff2.entry.js} +1 -1
- package/dist/bromcom-ui/p-695f6b01.entry.js +5 -0
- package/dist/bromcom-ui/{p-596450d2.js → p-6a473342.js} +1 -1
- package/dist/bromcom-ui/p-7224e112.entry.js +5 -0
- package/dist/bromcom-ui/{p-16ff1ff3.js → p-74595a06.js} +1 -1
- package/dist/bromcom-ui/{p-0a6cf248.entry.js → p-74e46eeb.entry.js} +1 -1
- package/dist/bromcom-ui/p-7c9025cb.js +5 -0
- package/dist/bromcom-ui/{p-0f2e6258.entry.js → p-7d9a38b0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/p-7f1a79c5.entry.js +5 -0
- package/dist/bromcom-ui/{p-202dc98b.entry.js → p-816c4dc7.entry.js} +1 -1
- package/dist/bromcom-ui/p-86356b26.entry.js +5 -0
- package/dist/bromcom-ui/{p-3523560a.entry.js → p-870c903a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ba062b3c.js → p-88f7d869.js} +1 -1
- package/dist/bromcom-ui/p-8b60d1db.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/{p-219b3300.entry.js → p-8d1cd79f.entry.js} +1 -1
- package/dist/bromcom-ui/p-8dbe72a1.entry.js +5 -0
- package/dist/bromcom-ui/{p-e35cb3f5.js → p-8fdcb5e7.js} +1 -1
- package/dist/bromcom-ui/p-91b1efad.entry.js +5 -0
- package/dist/bromcom-ui/{p-57d0c6e7.entry.js → p-97df9122.entry.js} +1 -1
- package/dist/bromcom-ui/p-994e484e.entry.js +5 -0
- package/dist/bromcom-ui/{p-ee9ba6ba.entry.js → p-9a1dc17c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1d77b8a6.js → p-9bef5a59.js} +1 -1
- package/dist/bromcom-ui/{p-95518e9b.entry.js → p-9d3a9f5b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4f86851c.entry.js → p-a173ed35.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a8d1397d.js → p-a3ffcb0d.js} +1 -1
- package/dist/bromcom-ui/p-a427f0ee.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c4f09cc.entry.js → p-a9ab4073.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6db38bb3.entry.js → p-b1d6b529.entry.js} +1 -1
- package/dist/bromcom-ui/{p-07e03977.entry.js → p-b39f6cb3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-833261c5.entry.js → p-b69abb6f.entry.js} +1 -1
- package/dist/bromcom-ui/p-b8ffc86f.entry.js +5 -0
- package/dist/bromcom-ui/{p-5fa7dfe2.entry.js → p-bb95aa62.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e052c44c.entry.js → p-bc332b5d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e453462d.entry.js → p-bc97d311.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5a9b78f6.entry.js → p-bdb012c3.entry.js} +1 -1
- package/dist/bromcom-ui/p-c0ac6d54.entry.js +5 -0
- package/dist/bromcom-ui/p-c68f44be.entry.js +5 -0
- package/dist/bromcom-ui/{p-7863b16a.entry.js → p-cf04e7a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f73d76e6.entry.js → p-d4ff4de0.entry.js} +1 -1
- package/dist/bromcom-ui/p-d777677c.entry.js +10 -0
- package/dist/bromcom-ui/p-da540844.entry.js +5 -0
- package/dist/bromcom-ui/{p-a368c325.entry.js → p-dae1cc7b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b9352123.entry.js → p-dc306bd8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-764ae0c1.js → p-de954bc9.js} +1 -1
- package/dist/bromcom-ui/{p-c3ef369d.entry.js → p-dfe8e354.entry.js} +1 -1
- package/dist/bromcom-ui/{p-568f4f45.entry.js → p-e02491ce.entry.js} +1 -1
- package/dist/bromcom-ui/p-e0ec1a36.js +5 -0
- package/dist/bromcom-ui/{p-0b6afb97.entry.js → p-e2b3cb98.entry.js} +1 -1
- package/dist/bromcom-ui/p-e2e7d808.entry.js +5 -0
- package/dist/bromcom-ui/{p-eaf81060.entry.js → p-ec7f4a12.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4b1ed966.entry.js → p-f089027d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9979bd82.entry.js → p-f16ce14a.entry.js} +1 -1
- package/dist/bromcom-ui/p-f21a7fc0.entry.js +5 -0
- package/dist/bromcom-ui/{p-8b24fbfa.entry.js → p-fe996e86.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1e50dee8.entry.js → p-fea33175.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 +2 -2
- 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.cjs.entry.js → bcm-button_2.cjs.entry.js} +125 -28
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- 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_7.cjs.entry.js → bcm-colorful_2.cjs.entry.js} +8 -903
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +432 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
- 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 +2 -2
- 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-form.cjs.entry.js +1 -1
- package/dist/cjs/bcm-icon.cjs.entry.js +41 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +72 -0
- package/dist/cjs/bcm-input.cjs.entry.js +368 -0
- package/dist/cjs/bcm-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-items.cjs.entry.js +1 -1
- package/dist/cjs/bcm-label_2.cjs.entry.js +148 -0
- package/dist/cjs/bcm-link.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list.cjs.entry.js +13 -12
- package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popover.cjs.entry.js +82 -33
- package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio.cjs.entry.js +2 -2
- package/dist/cjs/bcm-range.cjs.entry.js +1 -1
- package/dist/cjs/bcm-search.cjs.entry.js +7 -6
- package/dist/cjs/bcm-select.cjs.entry.js +1 -1
- 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 +55 -29
- package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab-group.cjs.entry.js +85 -98
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +86 -0
- package/dist/cjs/bcm-tab-item.cjs.entry.js +103 -0
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-b48e38fa.js → generate-eef61d08.js} +105 -16
- package/dist/cjs/{input-template-eae02f62.js → input-template-517c3f53.js} +2 -2
- package/dist/cjs/{json-parse-decarator-3f27a0d5.js → json-parse-decarator-c0d7e570.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-d068c11e.js → number-helper-652dc22d.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-b5e62af6.js → stepper-states-d00a1313.js} +1 -1
- package/dist/cjs/{tooltip-helper-388e21c9.js → tooltip-helper-cd02e32b.js} +36 -6
- package/dist/cjs/{validators-abb4f619.js → validators-7eed007b.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/chip/chip.js +1 -1
- package/dist/collection/components/atoms/link/link.js +1 -1
- package/dist/collection/components/molecules/checkbox/checkbox.css +1 -0
- package/dist/collection/components/molecules/checkbox/checkbox.js +1 -1
- package/dist/collection/components/molecules/input/input.js +5 -2
- package/dist/collection/components/molecules/menu/menu.js +1 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +107 -2
- package/dist/collection/components/molecules/radio/radio.css +1 -0
- package/dist/collection/components/molecules/search/search.js +21 -2
- package/dist/collection/components/molecules/states/search.states.js +6 -6
- package/dist/collection/components/molecules/stepper/stepper.js +55 -35
- package/dist/collection/components/molecules/switch/switch.js +1 -1
- package/dist/collection/components/molecules/tab-group/tab-group.js +98 -100
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +186 -0
- package/dist/collection/components/molecules/tab-group/tab-item.js +161 -0
- package/dist/collection/components/molecules/tooltip/tooltip.js +109 -2
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/organism/form/form.js +1 -1
- package/dist/collection/components/organism/list/list.css +1 -0
- package/dist/collection/components/organism/list/list.js +21 -2
- package/dist/collection/components/organism/states/bcm-list2.states.js +1 -1
- package/dist/collection/components/other/attendance/attendance.js +1 -1
- package/dist/collection/components/other/input-custom/input-custom.js +249 -0
- package/dist/collection/components/other/toast/toast.js +365 -0
- package/dist/collection/components/other_deprecated/select/select.js +1 -1
- package/dist/collection/global/components/_checkbox.css +1 -0
- package/dist/collection/global/helper/index.js +5 -0
- package/dist/collection/global/helper/index.ts +1 -0
- package/dist/collection/global/helper/toast.js +114 -0
- package/dist/collection/global/helper/toast.ts +136 -0
- package/dist/collection/helper/generate.js +108 -19
- package/dist/collection/helper/popover-helper.js +57 -29
- package/dist/collection/helper/tooltip-helper.js +33 -4
- package/dist/collection/stories/assets/button/1.svg +35 -0
- package/dist/collection/stories/assets/button/10.svg +24 -0
- package/dist/collection/stories/assets/button/11.svg +24 -0
- package/dist/collection/stories/assets/button/12.svg +24 -0
- package/dist/collection/stories/assets/button/2.svg +28 -0
- package/dist/collection/stories/assets/button/3.svg +41 -0
- package/dist/collection/stories/assets/button/4.svg +9 -0
- package/dist/collection/stories/assets/button/5.svg +65 -0
- package/dist/collection/stories/assets/button/6.svg +68 -0
- package/dist/collection/stories/assets/button/7.svg +203 -0
- package/dist/collection/stories/assets/button/8.svg +316 -0
- package/dist/collection/stories/assets/button/9.svg +9 -0
- package/dist/collection/templates/button-template.js +1 -1
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-attendance.js +1 -1
- package/dist/components/bcm-chip.js +1 -1
- package/dist/components/bcm-form.js +1 -1
- package/dist/components/bcm-input-custom.d.ts +11 -0
- package/dist/components/bcm-input-custom.js +114 -0
- package/dist/components/bcm-list.js +11 -9
- package/dist/components/bcm-popconfirm.js +1 -1
- package/dist/components/bcm-popover.js +83 -30
- package/dist/components/bcm-select.js +1 -1
- package/dist/components/bcm-stepper.js +51 -33
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-group.js +84 -98
- package/dist/components/bcm-tab-item-header.d.ts +11 -0
- package/dist/components/bcm-tab-item-header.js +102 -0
- package/dist/components/bcm-tab-item.d.ts +11 -0
- package/dist/components/bcm-tab-item.js +117 -0
- package/dist/components/bcm-tab.js +1 -1
- package/dist/components/bcm-tabs-content.js +1 -1
- package/dist/components/bcm-tabs.js +1 -1
- package/dist/components/bcm-tag.js +1 -1
- package/dist/components/bcm-toast.d.ts +11 -0
- package/dist/components/bcm-toast.js +140 -0
- package/dist/components/button.js +2 -2
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/datetime-picker.js +1 -1
- package/dist/components/generate.js +105 -16
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +4 -0
- package/dist/components/input-template.js +2 -15
- package/dist/components/input.js +5 -2
- package/dist/components/link.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/search.js +6 -4
- package/dist/components/tooltip-helper.js +33 -3
- package/dist/components/tooltip.js +29 -3
- package/dist/components/types.js +14 -27
- package/dist/components/types2.js +25 -25
- package/dist/components/types3.js +32 -0
- package/dist/esm/bcm-accordion.entry.js +3 -3
- package/dist/esm/bcm-alert.entry.js +4 -4
- package/dist/esm/bcm-attendance.entry.js +4 -4
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +9 -9
- package/dist/esm/bcm-box.entry.js +2 -2
- package/dist/esm/bcm-breadcrumb.entry.js +3 -3
- package/dist/esm/bcm-button-group.entry.js +3 -3
- package/dist/esm/{bcm-button.entry.js → bcm-button_2.entry.js} +124 -28
- package/dist/esm/bcm-card.entry.js +6 -6
- package/dist/esm/bcm-checkbox-group.entry.js +7 -7
- package/dist/esm/bcm-checkbox-lite_9.entry.js +5 -5
- package/dist/esm/bcm-checkbox_2.entry.js +9 -9
- package/dist/esm/bcm-chip.entry.js +6 -6
- package/dist/esm/bcm-collapse-group.entry.js +3 -3
- package/dist/esm/bcm-collapse.entry.js +3 -3
- package/dist/esm/bcm-color-input.entry.js +7 -7
- package/dist/esm/{bcm-colorful_7.entry.js → bcm-colorful_2.entry.js} +15 -905
- package/dist/esm/bcm-colorpicker.entry.js +428 -0
- package/dist/esm/bcm-date-picker.entry.js +4 -4
- package/dist/esm/bcm-datetime-picker.entry.js +8 -8
- package/dist/esm/bcm-default.entry.js +3 -3
- package/dist/esm/bcm-drawer.entry.js +8 -8
- package/dist/esm/bcm-dropdown.entry.js +4 -4
- package/dist/esm/bcm-error-layout.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +5 -5
- package/dist/esm/bcm-form-2.entry.js +3 -3
- package/dist/esm/bcm-form-group.entry.js +2 -2
- package/dist/esm/bcm-form.entry.js +4 -4
- package/dist/esm/bcm-icon.entry.js +37 -0
- package/dist/esm/bcm-input-custom.entry.js +68 -0
- package/dist/esm/bcm-input.entry.js +364 -0
- package/dist/esm/bcm-item.entry.js +5 -5
- package/dist/esm/bcm-items.entry.js +3 -3
- package/dist/esm/bcm-label_2.entry.js +143 -0
- package/dist/esm/bcm-link.entry.js +3 -3
- package/dist/esm/bcm-list.entry.js +22 -21
- package/dist/esm/bcm-menu.entry.js +10 -10
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal.entry.js +4 -4
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-old-input.entry.js +4 -4
- package/dist/esm/bcm-old-tag_2.entry.js +3 -3
- package/dist/esm/bcm-popconfirm-box.entry.js +5 -5
- package/dist/esm/bcm-popconfirm.entry.js +4 -4
- package/dist/esm/bcm-popover.entry.js +86 -37
- package/dist/esm/bcm-progress.entry.js +5 -5
- package/dist/esm/bcm-radio-group.entry.js +6 -6
- package/dist/esm/bcm-radio.entry.js +7 -7
- package/dist/esm/bcm-range.entry.js +4 -4
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-search.entry.js +11 -10
- package/dist/esm/bcm-select-group.entry.js +1 -1
- package/dist/esm/bcm-select-option.entry.js +1 -1
- package/dist/esm/bcm-select.entry.js +4 -4
- package/dist/esm/bcm-skeleton.entry.js +3 -3
- package/dist/esm/bcm-step.entry.js +5 -5
- package/dist/esm/bcm-stepper.entry.js +56 -30
- package/dist/esm/bcm-switch.entry.js +6 -6
- package/dist/esm/bcm-tab-group.entry.js +86 -99
- package/dist/esm/bcm-tab-item-header.entry.js +82 -0
- package/dist/esm/bcm-tab-item.entry.js +99 -0
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +2 -2
- package/dist/esm/bcm-table.entry.js +3 -3
- package/dist/esm/bcm-tabs-content.entry.js +3 -3
- package/dist/esm/bcm-tabs.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +5 -5
- package/dist/esm/bcm-text.entry.js +5 -5
- package/dist/esm/bcm-textarea.entry.js +6 -6
- package/dist/esm/bcm-time-picker.entry.js +4 -4
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +2 -2
- package/dist/esm/{caption-template-2ef181f9.js → caption-template-389f5bd6.js} +1 -1
- package/dist/esm/{color-helper-b5e9aa56.js → color-helper-7e202fd8.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/{generate-d89c98d8.js → generate-5f6567d0.js} +105 -16
- package/dist/esm/{index-662f4cf5.js → index-6e2d80d7.js} +1 -1
- package/dist/esm/{index-cb0cdd87.js → index-8b349654.js} +1 -1
- package/dist/esm/{input-template-299c12d1.js → input-template-e03cafc5.js} +3 -3
- package/dist/esm/{is-load-decorator-0a59085d.js → is-load-decorator-66e19e04.js} +1 -1
- package/dist/esm/{json-parse-decarator-88fb33b1.js → json-parse-decarator-d8836c67.js} +2 -2
- package/dist/esm/{label-template-d8687efd.js → label-template-eed2dd69.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{number-helper-905f45a1.js → number-helper-b8a2b813.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +6 -6
- package/dist/esm/old-bcm-popover.entry.js +3 -3
- package/dist/esm/{slot-template-5b2da1d3.js → slot-template-64b41ee5.js} +1 -1
- package/dist/esm/{stepper-states-79e0d857.js → stepper-states-16e0b400.js} +3 -3
- package/dist/esm/{tooltip-helper-7934cf3c.js → tooltip-helper-87acf426.js} +38 -8
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-18348027.js → validators-07033707.js} +1 -1
- package/dist/types/components/molecules/popover/popover.d.ts +10 -1
- package/dist/types/components/molecules/search/search.d.ts +1 -0
- package/dist/types/components/molecules/states/search.states.d.ts +1 -1
- package/dist/types/components/molecules/stepper/stepper.d.ts +3 -3
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +7 -4
- package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +13 -0
- package/dist/types/components/molecules/tab-group/tab-item.d.ts +17 -0
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +10 -1
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/other/input-custom/input-custom.d.ts +20 -0
- package/dist/types/components/other/toast/toast.d.ts +25 -0
- package/dist/types/components.d.ts +157 -9
- package/dist/types/global/helper/index.d.ts +1 -0
- package/dist/types/global/helper/toast.d.ts +96 -0
- package/dist/types/helper/generate.d.ts +2 -0
- package/dist/types/helper/popover-helper.d.ts +13 -3
- package/dist/types/helper/tooltip-helper.d.ts +13 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/templates/list-template.d.ts +1 -0
- package/helper/index.d.ts +2 -0
- package/helper/index.d.ts.map +1 -0
- package/helper/index.js +17 -0
- package/helper/toast.d.ts +97 -0
- package/helper/toast.d.ts.map +1 -0
- package/helper/toast.js +115 -0
- package/package.json +8 -5
- package/dist/bromcom-ui/p-053e9893.js +0 -5
- package/dist/bromcom-ui/p-17c1703c.js +0 -5
- package/dist/bromcom-ui/p-35f6cb3f.entry.js +0 -5
- package/dist/bromcom-ui/p-3f3bb4b0.entry.js +0 -5
- package/dist/bromcom-ui/p-3f4b42d8.entry.js +0 -5
- package/dist/bromcom-ui/p-55a15cf3.entry.js +0 -5
- package/dist/bromcom-ui/p-63472fc4.entry.js +0 -5
- package/dist/bromcom-ui/p-6a04eaf8.entry.js +0 -5
- package/dist/bromcom-ui/p-6db9f7d9.js +0 -5
- package/dist/bromcom-ui/p-73e6ec28.js +0 -5
- package/dist/bromcom-ui/p-82641a80.js +0 -5
- package/dist/bromcom-ui/p-8e86e37b.entry.js +0 -5
- package/dist/bromcom-ui/p-9b8baf8d.entry.js +0 -5
- package/dist/bromcom-ui/p-a961f89b.entry.js +0 -5
- package/dist/bromcom-ui/p-bdfdc63f.entry.js +0 -5
- package/dist/bromcom-ui/p-c5af64c9.entry.js +0 -5
- package/dist/bromcom-ui/p-c630c590.entry.js +0 -5
- package/dist/bromcom-ui/p-cc4d2a88.entry.js +0 -5
- package/dist/bromcom-ui/p-e258c81c.entry.js +0 -5
- package/dist/bromcom-ui/p-e50a57f0.entry.js +0 -10
- package/dist/bromcom-ui/p-f3c48da2.entry.js +0 -5
|
@@ -25,13 +25,29 @@ export class BcmPopover {
|
|
|
25
25
|
this.trigger = Bcm.TriggerType.click;
|
|
26
26
|
this.open = false;
|
|
27
27
|
this.color = "white";
|
|
28
|
+
this.targetId = undefined;
|
|
29
|
+
this.openDelay = 0;
|
|
30
|
+
this.closeDelay = 0;
|
|
31
|
+
this.popover = undefined;
|
|
32
|
+
}
|
|
33
|
+
emitShow() {
|
|
34
|
+
this.bcmPopoverShow.emit();
|
|
35
|
+
}
|
|
36
|
+
emitHide() {
|
|
37
|
+
this.bcmPopoverHide.emit();
|
|
38
|
+
}
|
|
39
|
+
componentWillLoad() {
|
|
28
40
|
this.popover = new Popover({
|
|
29
|
-
targetId: this._id,
|
|
41
|
+
targetId: this.targetId || this._id,
|
|
30
42
|
content: this.content,
|
|
31
43
|
message: this.message,
|
|
32
44
|
placement: this.placement,
|
|
33
45
|
color: this.color,
|
|
34
46
|
trigger: this.trigger,
|
|
47
|
+
openDelay: this.openDelay,
|
|
48
|
+
closeDelay: this.closeDelay,
|
|
49
|
+
emitShow: () => this.emitShow(),
|
|
50
|
+
emitHide: () => this.emitHide(),
|
|
35
51
|
});
|
|
36
52
|
}
|
|
37
53
|
componentDidLoad() {
|
|
@@ -46,6 +62,9 @@ export class BcmPopover {
|
|
|
46
62
|
this.popover.trigger = trigger;
|
|
47
63
|
this.popover.update();
|
|
48
64
|
}
|
|
65
|
+
disconnectedCallback() {
|
|
66
|
+
this.popover.destroy();
|
|
67
|
+
}
|
|
49
68
|
async show() {
|
|
50
69
|
this.popover.show();
|
|
51
70
|
}
|
|
@@ -56,7 +75,7 @@ export class BcmPopover {
|
|
|
56
75
|
this.popover.toggle();
|
|
57
76
|
}
|
|
58
77
|
render() {
|
|
59
|
-
return (h(Host, { "aria-describedby": "popover",
|
|
78
|
+
return (h(Host, { "aria-describedby": "popover", class: "tw-inline-flex tw-h-fit tw-w-fit" }, h("slot", null)));
|
|
60
79
|
}
|
|
61
80
|
static get is() { return "bcm-popover"; }
|
|
62
81
|
static get properties() {
|
|
@@ -196,6 +215,59 @@ export class BcmPopover {
|
|
|
196
215
|
"attribute": "color",
|
|
197
216
|
"reflect": false,
|
|
198
217
|
"defaultValue": "\"white\""
|
|
218
|
+
},
|
|
219
|
+
"targetId": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"mutable": false,
|
|
222
|
+
"complexType": {
|
|
223
|
+
"original": "string",
|
|
224
|
+
"resolved": "string",
|
|
225
|
+
"references": {}
|
|
226
|
+
},
|
|
227
|
+
"required": false,
|
|
228
|
+
"optional": false,
|
|
229
|
+
"docs": {
|
|
230
|
+
"tags": [],
|
|
231
|
+
"text": ""
|
|
232
|
+
},
|
|
233
|
+
"attribute": "target-id",
|
|
234
|
+
"reflect": false
|
|
235
|
+
},
|
|
236
|
+
"openDelay": {
|
|
237
|
+
"type": "number",
|
|
238
|
+
"mutable": false,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "number",
|
|
241
|
+
"resolved": "number",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": false,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": ""
|
|
249
|
+
},
|
|
250
|
+
"attribute": "open-delay",
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"defaultValue": "0"
|
|
253
|
+
},
|
|
254
|
+
"closeDelay": {
|
|
255
|
+
"type": "number",
|
|
256
|
+
"mutable": false,
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "number",
|
|
259
|
+
"resolved": "number",
|
|
260
|
+
"references": {}
|
|
261
|
+
},
|
|
262
|
+
"required": false,
|
|
263
|
+
"optional": false,
|
|
264
|
+
"docs": {
|
|
265
|
+
"tags": [],
|
|
266
|
+
"text": ""
|
|
267
|
+
},
|
|
268
|
+
"attribute": "close-delay",
|
|
269
|
+
"reflect": false,
|
|
270
|
+
"defaultValue": "0"
|
|
199
271
|
}
|
|
200
272
|
};
|
|
201
273
|
}
|
|
@@ -204,6 +276,39 @@ export class BcmPopover {
|
|
|
204
276
|
"popover": {}
|
|
205
277
|
};
|
|
206
278
|
}
|
|
279
|
+
static get events() {
|
|
280
|
+
return [{
|
|
281
|
+
"method": "bcmPopoverShow",
|
|
282
|
+
"name": "bcmPopoverShow",
|
|
283
|
+
"bubbles": true,
|
|
284
|
+
"cancelable": true,
|
|
285
|
+
"composed": true,
|
|
286
|
+
"docs": {
|
|
287
|
+
"tags": [],
|
|
288
|
+
"text": ""
|
|
289
|
+
},
|
|
290
|
+
"complexType": {
|
|
291
|
+
"original": "any",
|
|
292
|
+
"resolved": "any",
|
|
293
|
+
"references": {}
|
|
294
|
+
}
|
|
295
|
+
}, {
|
|
296
|
+
"method": "bcmPopoverHide",
|
|
297
|
+
"name": "bcmPopoverHide",
|
|
298
|
+
"bubbles": true,
|
|
299
|
+
"cancelable": true,
|
|
300
|
+
"composed": true,
|
|
301
|
+
"docs": {
|
|
302
|
+
"tags": [],
|
|
303
|
+
"text": ""
|
|
304
|
+
},
|
|
305
|
+
"complexType": {
|
|
306
|
+
"original": "any",
|
|
307
|
+
"resolved": "any",
|
|
308
|
+
"references": {}
|
|
309
|
+
}
|
|
310
|
+
}];
|
|
311
|
+
}
|
|
207
312
|
static get methods() {
|
|
208
313
|
return {
|
|
209
314
|
"show": {
|
|
@@ -33,6 +33,7 @@ export class BcmSearch {
|
|
|
33
33
|
this.size = Bcm.Size.medium;
|
|
34
34
|
this.limit = 10;
|
|
35
35
|
this.searchIsOnlyChilds = false;
|
|
36
|
+
this.minSearchLength = 2;
|
|
36
37
|
this.data = [];
|
|
37
38
|
this.tick = {};
|
|
38
39
|
this.isActiveClearable = false;
|
|
@@ -48,7 +49,7 @@ export class BcmSearch {
|
|
|
48
49
|
}
|
|
49
50
|
async initState() {
|
|
50
51
|
await searchState.setValue({
|
|
51
|
-
id: this._id,
|
|
52
|
+
id: this._id + "-input",
|
|
52
53
|
dataSource: this.data,
|
|
53
54
|
searchIsOnlyChilds: this.searchIsOnlyChilds,
|
|
54
55
|
});
|
|
@@ -87,7 +88,7 @@ export class BcmSearch {
|
|
|
87
88
|
}
|
|
88
89
|
onSearchValue(event, instance) {
|
|
89
90
|
const { value, id } = event.target;
|
|
90
|
-
const searchResult = (value === null || value === void 0 ? void 0 : value.length) >=
|
|
91
|
+
const searchResult = (value === null || value === void 0 ? void 0 : value.length) >= this.minSearchLength ? searchState.searchData(id, value, null) : null;
|
|
91
92
|
const { bcmOnSearch, inputElement } = instance;
|
|
92
93
|
bcmOnSearch.emit({ result: searchResult === null || searchResult === void 0 ? void 0 : searchResult.result, value: inputElement === null || inputElement === void 0 ? void 0 : inputElement.value, matching: searchResult === null || searchResult === void 0 ? void 0 : searchResult.matching, parentIndex: searchResult === null || searchResult === void 0 ? void 0 : searchResult.parentIndex, nestedResult: searchResult === null || searchResult === void 0 ? void 0 : searchResult.nestedResult });
|
|
93
94
|
}
|
|
@@ -257,6 +258,24 @@ export class BcmSearch {
|
|
|
257
258
|
"reflect": false,
|
|
258
259
|
"defaultValue": "false"
|
|
259
260
|
},
|
|
261
|
+
"minSearchLength": {
|
|
262
|
+
"type": "number",
|
|
263
|
+
"mutable": false,
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "number",
|
|
266
|
+
"resolved": "number",
|
|
267
|
+
"references": {}
|
|
268
|
+
},
|
|
269
|
+
"required": false,
|
|
270
|
+
"optional": false,
|
|
271
|
+
"docs": {
|
|
272
|
+
"tags": [],
|
|
273
|
+
"text": ""
|
|
274
|
+
},
|
|
275
|
+
"attribute": "min-search-length",
|
|
276
|
+
"reflect": false,
|
|
277
|
+
"defaultValue": "2"
|
|
278
|
+
},
|
|
260
279
|
"data": {
|
|
261
280
|
"type": "any",
|
|
262
281
|
"mutable": true,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import { createStore } from
|
|
6
|
-
import snq from
|
|
7
|
-
import { Generate } from
|
|
8
|
-
import { StringHelper } from
|
|
5
|
+
import { createStore } from "@stencil/store";
|
|
6
|
+
import snq from "snq";
|
|
7
|
+
import { Generate } from "../../../helper/generate";
|
|
8
|
+
import { StringHelper } from "../../../helper/string-helper";
|
|
9
9
|
const { state } = createStore({
|
|
10
10
|
value: new Map(),
|
|
11
11
|
});
|
|
@@ -99,8 +99,8 @@ const nestedSearch = (id, items, searchText) => {
|
|
|
99
99
|
if (items && items.length > 0) {
|
|
100
100
|
items.forEach(child => {
|
|
101
101
|
let isChild = searchIsOnlyChilds && child.parentId !== null;
|
|
102
|
-
let isMatching = StringHelper.slugify(child.text).indexOf(StringHelper.slugify(searchText)) > -1
|
|
103
|
-
|
|
102
|
+
let isMatching = StringHelper.slugify(child.text).indexOf(StringHelper.slugify(searchText)) > -1 ||
|
|
103
|
+
(child.keywords && StringHelper.slugify(child.keywords).indexOf(StringHelper.slugify(searchText)) > -1);
|
|
104
104
|
if (isMatching && (!searchIsOnlyChilds || (searchIsOnlyChilds && isChild))) {
|
|
105
105
|
result.push(child.id);
|
|
106
106
|
matching.push(child.id);
|
|
@@ -12,15 +12,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import { forceUpdate, h, Host } from
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import stepperStates from
|
|
15
|
+
import { forceUpdate, h, Host } from "@stencil/core";
|
|
16
|
+
import snq from "snq";
|
|
17
|
+
import cs from "classnames";
|
|
18
|
+
import { Generate } from "@bcm/helpers";
|
|
19
|
+
import { IsLoad } from "@bcm/decorator";
|
|
20
|
+
import { StepperHeaderTemplate } from "@bcm/template";
|
|
21
|
+
import { delay, getChildElements } from "@bcm/utils";
|
|
22
|
+
import { Bcm } from "@bcm/model";
|
|
23
|
+
import stepperStates from "../states/stepper-states";
|
|
24
24
|
export class BcmStepper {
|
|
25
25
|
constructor() {
|
|
26
26
|
this.hidden = false;
|
|
@@ -63,14 +63,14 @@ export class BcmStepper {
|
|
|
63
63
|
this.setSteps(this.getItems());
|
|
64
64
|
}
|
|
65
65
|
setSteps(steps) {
|
|
66
|
-
const slots = getChildElements(this.el,
|
|
66
|
+
const slots = getChildElements(this.el, "bcm-step");
|
|
67
67
|
if (slots.length > 0) {
|
|
68
68
|
slots.forEach((item, index) => {
|
|
69
69
|
const step = steps.find(step => !item.headerHidden && step.id === item.id);
|
|
70
70
|
if (step) {
|
|
71
|
-
Generate.setAttributes(item, Object.assign({ title:
|
|
71
|
+
Generate.setAttributes(item, Object.assign({ title: "", _title: step.title || step._title || "", status: step.status || "default", disabled: step.disabled || false, valid: step.valid || true, loading: step.loading || false, index: step.index || index, active: step.active || false, innerHtml: step.innerHtml || "" }, (item.hidden == true && { headerHidden: true })));
|
|
72
72
|
if ((item.hidden = false)) {
|
|
73
|
-
item.removeAttribute(
|
|
73
|
+
item.removeAttribute("hidden");
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
});
|
|
@@ -86,7 +86,7 @@ export class BcmStepper {
|
|
|
86
86
|
return stepperStates.getActiveIndex(this.stepperId);
|
|
87
87
|
}
|
|
88
88
|
getSlotElements() {
|
|
89
|
-
return snq(() => getChildElements(this.el,
|
|
89
|
+
return snq(() => getChildElements(this.el, "bcm-step"), []);
|
|
90
90
|
}
|
|
91
91
|
async onStepChange(index) {
|
|
92
92
|
if (index) {
|
|
@@ -117,36 +117,53 @@ export class BcmStepper {
|
|
|
117
117
|
const step = await this.getCurrentStep();
|
|
118
118
|
const lastStep = this.getItems()[this.getItems().length - 1];
|
|
119
119
|
if (step.valid) {
|
|
120
|
-
this.linear && lastStep.id != step.id && (step.status =
|
|
120
|
+
this.linear && lastStep.id != step.id && (step.status = "success");
|
|
121
121
|
if (index < this.getItems().length) {
|
|
122
122
|
await this.onStepChange(index + 1);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
step.status =
|
|
126
|
+
step.status = "error";
|
|
127
127
|
}
|
|
128
128
|
forceUpdate(this.el);
|
|
129
129
|
return Promise.resolve(this.getActiveIndex());
|
|
130
130
|
}
|
|
131
|
-
async setActive(index) {
|
|
131
|
+
async setActive(index, force = false) {
|
|
132
132
|
if (!index)
|
|
133
133
|
return;
|
|
134
|
-
if (
|
|
135
|
-
|
|
136
|
-
.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
134
|
+
if (force) {
|
|
135
|
+
if (this.getActiveIndex() < index) {
|
|
136
|
+
while (this.getActiveIndex() < index) {
|
|
137
|
+
await this.next();
|
|
138
|
+
await delay(100);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
while (this.getActiveIndex() > index) {
|
|
143
|
+
await this.prev();
|
|
144
|
+
await delay(100);
|
|
145
|
+
}
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
else {
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
if (this.linear) {
|
|
150
|
+
const prevStepIsValid = this.getItems()
|
|
151
|
+
.filter(item => item.index < index)
|
|
152
|
+
.map(item => ({
|
|
153
|
+
id: item.id,
|
|
154
|
+
status: item.status,
|
|
155
|
+
disabled: item.disabled,
|
|
156
|
+
}))
|
|
157
|
+
.every(item => !item.disabled && (item.status === "success" || item.status === "default"));
|
|
158
|
+
console.log("prevStepIsValid", prevStepIsValid);
|
|
159
|
+
if (prevStepIsValid) {
|
|
160
|
+
await this.next(index - 1);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
stepperStates.setActiveIndex(this.stepperId, index);
|
|
165
|
+
await this.next(index - 1);
|
|
166
|
+
}
|
|
150
167
|
}
|
|
151
168
|
}
|
|
152
169
|
async reset() {
|
|
@@ -166,11 +183,11 @@ export class BcmStepper {
|
|
|
166
183
|
}
|
|
167
184
|
render() {
|
|
168
185
|
const { hidden, direction, linear, size } = this;
|
|
169
|
-
const hostClasses = cs(
|
|
170
|
-
|
|
186
|
+
const hostClasses = cs("bcm-stepper", "bcm-stepper__direction-" + direction, "bcm-stepper__size-" + size, {
|
|
187
|
+
"bcm-stepper__linear": linear,
|
|
171
188
|
hidden,
|
|
172
189
|
});
|
|
173
|
-
const lineClasses = item => cs(
|
|
190
|
+
const lineClasses = item => cs("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}`);
|
|
174
191
|
const items = this.getItems();
|
|
175
192
|
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) => [
|
|
176
193
|
h(StepperHeaderTemplate, Object.assign({}, item, { stepChange: step => this.onStepChange(step) })),
|
|
@@ -235,7 +252,7 @@ export class BcmStepper {
|
|
|
235
252
|
"references": {
|
|
236
253
|
"DirectionTypes": {
|
|
237
254
|
"location": "import",
|
|
238
|
-
"path": "
|
|
255
|
+
"path": "@bcm/model"
|
|
239
256
|
}
|
|
240
257
|
}
|
|
241
258
|
},
|
|
@@ -276,7 +293,7 @@ export class BcmStepper {
|
|
|
276
293
|
"references": {
|
|
277
294
|
"SizeTypes": {
|
|
278
295
|
"location": "import",
|
|
279
|
-
"path": "
|
|
296
|
+
"path": "@bcm/model"
|
|
280
297
|
}
|
|
281
298
|
}
|
|
282
299
|
},
|
|
@@ -435,10 +452,13 @@ export class BcmStepper {
|
|
|
435
452
|
},
|
|
436
453
|
"setActive": {
|
|
437
454
|
"complexType": {
|
|
438
|
-
"signature": "(index: number) => Promise<void>",
|
|
455
|
+
"signature": "(index: number, force?: boolean) => Promise<void>",
|
|
439
456
|
"parameters": [{
|
|
440
457
|
"tags": [],
|
|
441
458
|
"text": ""
|
|
459
|
+
}, {
|
|
460
|
+
"tags": [],
|
|
461
|
+
"text": ""
|
|
442
462
|
}],
|
|
443
463
|
"references": {
|
|
444
464
|
"Promise": {
|
|
@@ -125,7 +125,7 @@ export class BcmSwitch {
|
|
|
125
125
|
const bcmSwitchContainer = cs('bcm-switch__container', `bcm-switch__container--${this.labelPosition}`);
|
|
126
126
|
const switchText = (text) => (size != Bcm.Size.small && (activeText || inactiveText)) && (h("span", { class: text + '-text' }, text == 'active' ? activeText : inactiveText));
|
|
127
127
|
const switchIcon = (text) => (size != Bcm.Size.small && (activeIcon || inactiveIcon)) && h("bcm-icon", { icon: text == 'active' ? activeIcon : inactiveIcon, class: ' icon-' + text });
|
|
128
|
-
return (h(Host, { tabindex: "
|
|
128
|
+
return (h(Host, { tabindex: "0", onFocus: () => this.focus.emit(this.el), onBlur: () => this.blur.emit(this.el), class: bcmSwitchClasses }, h("span", { hidden: true }, h("slot", null)), h("div", { class: bcmSwitchContainer }, label && h("bcm-label", { htmlFor: _internal_id, tooltip: this.tooltip, type: captionType, value: label, required: required }), h("input", { id: _internal_id, onChange: () => this.handleChange(), ref: el => (this.inputElement = el), checked: checked, type: "checkbox", class: "switch", disabled: disabled || readonly }), h("label", { htmlFor: _internal_id, class: bcmSwitchLabel }, switchText('inactive'), h("div", { class: classes }, switchIcon('active'), h("span", { class: "handle" }, pending && h("span", { class: "switch-spinner" })), switchIcon('inactive')), switchText('active'))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
129
129
|
}
|
|
130
130
|
static get is() { return "bcm-switch"; }
|
|
131
131
|
static get originalStyleUrls() {
|