bromcom-ui 2.9.1-rc.1 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-8b318727.entry.js → p-048f12f9.entry.js} +1 -1
- package/dist/bromcom-ui/p-04be0172.entry.js +5 -0
- package/dist/bromcom-ui/{p-ff012d63.entry.js → p-067df594.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a9c22560.entry.js → p-102524c5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-99dc26dd.entry.js → p-148d0948.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b11dd428.entry.js → p-16d42f54.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fa8300a2.entry.js → p-17a915ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0be0c743.entry.js → p-184ed5c2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a1eabb1.entry.js → p-1a7d32a9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51d2c673.js → p-2199a954.js} +1 -1
- package/dist/bromcom-ui/p-279b0089.js +5 -0
- package/dist/bromcom-ui/p-2821f49b.entry.js +5 -0
- package/dist/bromcom-ui/{p-ff714da2.entry.js → p-2d915549.entry.js} +1 -1
- package/dist/bromcom-ui/{p-788de9cf.entry.js → p-30583cb2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c8058a21.entry.js → p-33a27257.entry.js} +1 -1
- package/dist/bromcom-ui/p-33b8dcc8.js +5 -0
- package/dist/bromcom-ui/{p-52f879b2.entry.js → p-34545f2b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2d3e225b.entry.js → p-381cc688.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c043ab6.entry.js → p-3dafbb30.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fe88e003.entry.js → p-4304365f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-292861ed.entry.js → p-43cab007.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fa057fc4.entry.js → p-448d48ab.entry.js} +1 -1
- package/dist/bromcom-ui/p-485a9e4d.entry.js +5 -0
- package/dist/bromcom-ui/{p-226c8c0a.entry.js → p-49c0954d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8f8aa3b.entry.js → p-49dd882e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd2a36fa.entry.js → p-519f82ea.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ce62273f.entry.js → p-520f4bc4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8d4482d6.entry.js → p-5b80631d.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ee8a018.js +1 -1
- package/dist/bromcom-ui/{p-d9eaa208.entry.js → p-6113822b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2bfd7aa8.entry.js → p-64d8cf93.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c49c79ca.entry.js → p-7123e244.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a31fc0b.entry.js → p-713db66b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-417e8067.entry.js → p-799c028a.entry.js} +1 -1
- package/dist/bromcom-ui/p-7b6cf25d.entry.js +5 -0
- package/dist/bromcom-ui/{p-5fc98177.entry.js → p-7ba5e7f0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a907cae6.entry.js → p-7cb7f18c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e321ccff.entry.js → p-7e32aa8c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6385e735.entry.js → p-7e6f0460.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5be009b0.entry.js → p-7fbd1446.entry.js} +1 -1
- package/dist/bromcom-ui/p-816c0767.entry.js +5 -0
- package/dist/bromcom-ui/{p-535d02b9.entry.js → p-83ac2114.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b6bac5f5.entry.js → p-87ba886d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d22b7435.js → p-8a1e77c7.js} +1 -1
- package/dist/bromcom-ui/{p-ae94dfa8.js → p-8be10f68.js} +1 -1
- package/dist/bromcom-ui/{p-2ebba9f4.entry.js → p-8bf33d20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ff8d5e17.entry.js → p-941b7c84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f709a2e2.entry.js → p-9563a9cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7f63e25c.entry.js → p-967bf166.entry.js} +1 -1
- package/dist/bromcom-ui/p-9f83dbdf.entry.js +5 -0
- package/dist/bromcom-ui/p-a1b1750c.js +1 -1
- package/dist/bromcom-ui/{p-bc8d7f89.entry.js → p-a57482d6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cc61ed4c.entry.js → p-a7a9238e.entry.js} +1 -1
- package/dist/bromcom-ui/p-b8689c5f.js +5 -0
- package/dist/bromcom-ui/p-baba5236.js +5 -0
- package/dist/bromcom-ui/{p-cf022deb.entry.js → p-be1aeeeb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5ccb0675.entry.js → p-cb306b8b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2aa9e3e8.entry.js → p-cc51949e.entry.js} +1 -1
- package/dist/bromcom-ui/p-cd7f7ff9.entry.js +5 -0
- package/dist/bromcom-ui/{p-f0adf08c.entry.js → p-cd89ada6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7b506ccb.entry.js → p-ced63474.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a0bd7793.entry.js → p-d67c0507.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c7cd784.entry.js → p-d987c483.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eb6b6010.entry.js → p-da652d33.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3b78f74e.entry.js → p-e20200cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1845fc18.js → p-e2d6bd93.js} +1 -1
- package/dist/bromcom-ui/{p-3c783cae.entry.js → p-ee3c98d1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-80249663.entry.js → p-f320c669.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d7b9ab98.entry.js → p-f544bd88.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5a3f8a49.entry.js → p-f6a67da7.entry.js} +1 -1
- package/dist/bromcom-ui/p-f711588b.js +1 -1
- package/dist/bromcom-ui/p-f77e16e8.js +5 -0
- package/dist/bromcom-ui/p-f95797df.js +1 -1
- package/dist/cjs/{bcm-9e47c4b2.js → bcm-7f703055.js} +4 -4
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +7 -7
- package/dist/cjs/bcm-button.cjs.entry.js +12 -12
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +9 -9
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -6
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +10 -10
- package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +12 -12
- package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-date.cjs.entry.js +10 -10
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +9 -9
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +8 -8
- package/dist/cjs/bcm-dropdown.cjs.entry.js +7 -7
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-form.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bcm-item.cjs.entry.js +4 -4
- package/dist/cjs/bcm-items.cjs.entry.js +4 -4
- package/dist/cjs/bcm-label_2.cjs.entry.js +14 -14
- package/dist/cjs/bcm-link.cjs.entry.js +3 -3
- package/dist/cjs/{bcm-linked_2.cjs.entry.js → bcm-linked.cjs.entry.js} +12 -82
- package/dist/cjs/bcm-list_3.cjs.entry.js +38 -28
- package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
- package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
- package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
- package/dist/cjs/bcm-radio-group.cjs.entry.js +10 -10
- package/dist/cjs/bcm-radio.cjs.entry.js +13 -13
- package/dist/cjs/bcm-range.cjs.entry.js +6 -6
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-shortcut.cjs.entry.js +65 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +85 -0
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +9 -9
- package/dist/cjs/bcm-switch.cjs.entry.js +9 -9
- package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -7
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +10 -10
- package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
- package/dist/cjs/bcm-text.cjs.entry.js +3 -3
- package/dist/cjs/bcm-textarea.cjs.entry.js +7 -7
- package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{floating-ui-4a2c2bd4.js → floating-ui-b441ea7c.js} +2 -2
- package/dist/cjs/{generate-efeda203.js → generate-0eddc1c1.js} +1 -1
- package/dist/cjs/{global-38efbdd7.js → global-b02647d7.js} +1 -1
- package/dist/cjs/{input-template-c1e96592.js → input-template-c37dc199.js} +6 -6
- package/dist/cjs/{json-parse-decarator-7d2677f0.js → json-parse-decarator-d9837dc7.js} +1 -1
- package/dist/cjs/{label-template-d531dfb7.js → label-template-80235581.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-b178b610.js → number-helper-34f232b3.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/{package-2899048c.js → package-4e6f5967.js} +1 -1
- package/dist/cjs/{popover-placement-4156a9ec.js → popover-placement-f20020a6.js} +1 -1
- package/dist/cjs/{slot-template-46018683.js → slot-template-873b0cd5.js} +1 -1
- package/dist/cjs/{stepper-states-9bd52bd4.js → stepper-states-72e45e8d.js} +1 -1
- package/dist/cjs/{string-helper-4cd32dbb.js → string-helper-fda7cbba.js} +2 -2
- package/dist/cjs/{tooltip-helper-f828ebee.js → tooltip-helper-ed0f2ce9.js} +9 -9
- package/dist/cjs/{validators-2adde99d.js → validators-72cc68b6.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/molecules/skeleton/skeleton.js +6 -48
- package/dist/collection/components/molecules/skeleton/skeleton.style.js +12 -3
- package/dist/collection/components/organism/list/list.js +39 -1
- package/dist/collection/components/other/shortcut/shortcut.js +109 -0
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-shortcut.d.ts +11 -0
- package/dist/components/bcm-shortcut.js +76 -0
- package/dist/components/generate.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/list.js +13 -3
- package/dist/components/skeleton.js +16 -25
- package/dist/esm/bcm-accordion.entry.js +2 -2
- package/dist/esm/bcm-alert.entry.js +2 -2
- package/dist/esm/bcm-attendance.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +5 -5
- package/dist/esm/bcm-breadcrumb.entry.js +2 -2
- package/dist/esm/bcm-button-group.entry.js +3 -3
- package/dist/esm/bcm-button.entry.js +3 -3
- package/dist/esm/bcm-card.entry.js +2 -2
- package/dist/esm/bcm-checkbox-group.entry.js +3 -3
- package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
- package/dist/esm/bcm-checkbox_2.entry.js +3 -3
- package/dist/esm/bcm-chip-group.entry.js +5 -5
- package/dist/esm/bcm-chip.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +2 -2
- package/dist/esm/bcm-color-input.entry.js +4 -4
- package/dist/esm/bcm-colorful_2.entry.js +6 -6
- package/dist/esm/bcm-d45dc47d.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +3 -3
- package/dist/esm/bcm-date.entry.js +5 -5
- package/dist/esm/bcm-datetime-picker.entry.js +3 -3
- package/dist/esm/bcm-default.entry.js +2 -2
- package/dist/esm/bcm-drawer.entry.js +5 -5
- package/dist/esm/bcm-dropdown.entry.js +4 -4
- package/dist/esm/bcm-expansion-panel.entry.js +2 -2
- package/dist/esm/bcm-form-2.entry.js +3 -3
- package/dist/esm/bcm-input-custom.entry.js +2 -2
- package/dist/esm/bcm-input-dropdown.entry.js +5 -5
- package/dist/esm/bcm-item.entry.js +3 -3
- package/dist/esm/bcm-items.entry.js +2 -2
- package/dist/esm/bcm-label_2.entry.js +6 -6
- package/dist/esm/bcm-link.entry.js +1 -1
- package/dist/esm/{bcm-linked_2.entry.js → bcm-linked.entry.js} +6 -75
- package/dist/esm/bcm-list_3.entry.js +20 -10
- package/dist/esm/bcm-menu.entry.js +5 -5
- package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
- package/dist/esm/bcm-modal-2-header.entry.js +4 -4
- package/dist/esm/bcm-modal-2.entry.js +5 -5
- package/dist/esm/bcm-modal.entry.js +3 -3
- package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
- package/dist/esm/bcm-popconfirm.entry.js +3 -3
- package/dist/esm/bcm-popover.entry.js +5 -5
- package/dist/esm/bcm-progress.entry.js +3 -3
- package/dist/esm/bcm-radio-group.entry.js +5 -5
- package/dist/esm/bcm-radio.entry.js +5 -5
- package/dist/esm/bcm-range.entry.js +3 -3
- package/dist/esm/bcm-rc-picker.entry.js +1 -1
- package/dist/esm/bcm-shortcut.entry.js +61 -0
- package/dist/esm/bcm-skeleton.entry.js +81 -0
- package/dist/esm/bcm-step.entry.js +3 -3
- package/dist/esm/bcm-stepper.entry.js +6 -6
- package/dist/esm/bcm-switch.entry.js +3 -3
- package/dist/esm/bcm-tab-group.entry.js +5 -5
- package/dist/esm/bcm-tab-item-header.entry.js +5 -5
- package/dist/esm/bcm-tab-item.entry.js +4 -4
- package/dist/esm/bcm-table.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +4 -4
- package/dist/esm/bcm-textarea.entry.js +4 -4
- package/dist/esm/bcm-time-picker.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +3 -3
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/floating-ui-8a0c54d6.js +1 -1
- package/dist/esm/{generate-40dfe3b0.js → generate-cfbadf65.js} +1 -1
- package/dist/esm/{global-85f037ac.js → global-7737d0f5.js} +1 -1
- package/dist/esm/{input-template-92b19880.js → input-template-7c414fb0.js} +2 -2
- package/dist/esm/{json-parse-decarator-f4803289.js → json-parse-decarator-cd4aa319.js} +1 -1
- package/dist/esm/label-template-54c28821.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-352d1d80.js → number-helper-8333a13c.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +3 -3
- package/dist/esm/old-bcm-popover.entry.js +3 -3
- package/dist/esm/{package-1618c1e9.js → package-368cba0a.js} +1 -1
- package/dist/esm/{stepper-states-08b2aa7c.js → stepper-states-bb1c6967.js} +1 -1
- package/dist/esm/string-helper-5bd646f2.js +1 -1
- package/dist/esm/{tooltip-helper-d538cdf3.js → tooltip-helper-1b205308.js} +4 -4
- package/dist/esm/{validators-68717171.js → validators-85555b4a.js} +1 -1
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +0 -5
- package/dist/types/components/molecules/skeleton/skeleton.style.d.ts +56 -0
- package/dist/types/components/organism/list/list.d.ts +3 -0
- package/dist/types/components/other/shortcut/shortcut.d.ts +10 -0
- package/dist/types/components.d.ts +21 -2
- package/dist/types/templates/list-template.d.ts +1 -0
- package/package.json +4 -3
- package/dist/bromcom-ui/p-21da70e5.entry.js +0 -5
- package/dist/bromcom-ui/p-3469c1bb.js +0 -5
- package/dist/bromcom-ui/p-4e4504ca.js +0 -5
- package/dist/bromcom-ui/p-62369801.entry.js +0 -5
- package/dist/bromcom-ui/p-67bb1c06.js +0 -5
- package/dist/bromcom-ui/p-89abd5ea.entry.js +0 -5
- package/dist/bromcom-ui/p-c3422601.js +0 -5
- package/dist/bromcom-ui/p-c495a13f.js +0 -5
- package/dist/bromcom-ui/p-dc290a64.entry.js +0 -5
- package/dist/bromcom-ui/p-fbb959f4.entry.js +0 -5
- package/dist/collection/components/molecules/skeleton/skeleton.css +0 -133
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
import { tv } from "tailwind-variants";
|
|
6
6
|
export const skeletonStyle = tv({
|
|
7
7
|
slots: {
|
|
8
|
-
host: "tw-
|
|
8
|
+
host: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-flex-shrink-0 tw-relative tw-overflow-hidden tw-bg-gray-200",
|
|
9
9
|
},
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
12
12
|
rect: {
|
|
13
|
-
host: "tw-rounded
|
|
13
|
+
host: "tw-rounded",
|
|
14
14
|
},
|
|
15
15
|
circle: {
|
|
16
|
-
host: "tw-rounded-full
|
|
16
|
+
host: "tw-rounded-full",
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
effect: {
|
|
@@ -27,9 +27,18 @@ export const skeletonStyle = tv({
|
|
|
27
27
|
host: "tw-animate-none",
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
|
+
hidden: {
|
|
31
|
+
true: {
|
|
32
|
+
host: "tw-hidden",
|
|
33
|
+
},
|
|
34
|
+
false: {
|
|
35
|
+
host: "tw-flex",
|
|
36
|
+
},
|
|
37
|
+
}
|
|
30
38
|
},
|
|
31
39
|
defaultVariants: {
|
|
32
40
|
variant: "rect",
|
|
33
41
|
effect: "pulse",
|
|
42
|
+
hidden: false,
|
|
34
43
|
},
|
|
35
44
|
});
|
|
@@ -207,6 +207,7 @@ export class BcmList {
|
|
|
207
207
|
else {
|
|
208
208
|
this.listScrollToTop();
|
|
209
209
|
this.close.emit();
|
|
210
|
+
this.listClose.emit();
|
|
210
211
|
await delay(100);
|
|
211
212
|
this.unSelectOther();
|
|
212
213
|
}
|
|
@@ -724,6 +725,13 @@ export class BcmList {
|
|
|
724
725
|
}
|
|
725
726
|
}
|
|
726
727
|
}
|
|
728
|
+
handleTransitionEnd(e) {
|
|
729
|
+
const { isOpen, type } = this;
|
|
730
|
+
const propertName = e === null || e === void 0 ? void 0 : e.propertyName;
|
|
731
|
+
if (isOpen && type == "select" && propertName == "transform") {
|
|
732
|
+
this.listOpen.emit();
|
|
733
|
+
}
|
|
734
|
+
}
|
|
727
735
|
render() {
|
|
728
736
|
const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
|
|
729
737
|
const hostClasses = cs("bcm-list", `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === "large" ? "size-3" : "size-2", {
|
|
@@ -751,7 +759,7 @@ export class BcmList {
|
|
|
751
759
|
"--min-height": openedType ? "inherit" : this.minHeight,
|
|
752
760
|
} }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h("bcm-label", { tooltip: this.tooltip, size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: cs("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: cs("bcm-list__input-buttons", {
|
|
753
761
|
disabled: disabled,
|
|
754
|
-
}) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
762
|
+
}) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon, handleTransitionEnd: e => this.handleTransitionEnd(e) }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
755
763
|
}
|
|
756
764
|
static get is() { return "bcm-list"; }
|
|
757
765
|
static get originalStyleUrls() {
|
|
@@ -1670,6 +1678,36 @@ export class BcmList {
|
|
|
1670
1678
|
"resolved": "any",
|
|
1671
1679
|
"references": {}
|
|
1672
1680
|
}
|
|
1681
|
+
}, {
|
|
1682
|
+
"method": "listClose",
|
|
1683
|
+
"name": "bcm-list-close",
|
|
1684
|
+
"bubbles": true,
|
|
1685
|
+
"cancelable": true,
|
|
1686
|
+
"composed": true,
|
|
1687
|
+
"docs": {
|
|
1688
|
+
"tags": [],
|
|
1689
|
+
"text": ""
|
|
1690
|
+
},
|
|
1691
|
+
"complexType": {
|
|
1692
|
+
"original": "any",
|
|
1693
|
+
"resolved": "any",
|
|
1694
|
+
"references": {}
|
|
1695
|
+
}
|
|
1696
|
+
}, {
|
|
1697
|
+
"method": "listOpen",
|
|
1698
|
+
"name": "bcm-list-open",
|
|
1699
|
+
"bubbles": true,
|
|
1700
|
+
"cancelable": true,
|
|
1701
|
+
"composed": true,
|
|
1702
|
+
"docs": {
|
|
1703
|
+
"tags": [],
|
|
1704
|
+
"text": ""
|
|
1705
|
+
},
|
|
1706
|
+
"complexType": {
|
|
1707
|
+
"original": "any",
|
|
1708
|
+
"resolved": "any",
|
|
1709
|
+
"references": {}
|
|
1710
|
+
}
|
|
1673
1711
|
}];
|
|
1674
1712
|
}
|
|
1675
1713
|
static get methods() {
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Generate } from "@bcm/helpers";
|
|
6
|
+
import { Bcm } from "@bcm/model";
|
|
7
|
+
import { Host, h } from "@stencil/core";
|
|
8
|
+
import cs from "classnames";
|
|
9
|
+
const osKeys = {
|
|
10
|
+
ctrl: "⌘",
|
|
11
|
+
alt: "⌥",
|
|
12
|
+
shift: "⇧",
|
|
13
|
+
del: "⌫",
|
|
14
|
+
delete: "⌫",
|
|
15
|
+
backspace: "⌦",
|
|
16
|
+
enter: "⏎",
|
|
17
|
+
return: "⏎",
|
|
18
|
+
};
|
|
19
|
+
export class BcmShortcut {
|
|
20
|
+
constructor() {
|
|
21
|
+
this.isMac = /Mac/.test(window.navigator.userAgent);
|
|
22
|
+
this.hotkey = undefined;
|
|
23
|
+
this.color = "slate";
|
|
24
|
+
this.size = Bcm.Size.small;
|
|
25
|
+
}
|
|
26
|
+
getHotkey(key) {
|
|
27
|
+
if (!key) {
|
|
28
|
+
return "";
|
|
29
|
+
}
|
|
30
|
+
if (this.isMac && (key.includes(" ") || key.includes("+"))) {
|
|
31
|
+
const keys = key.split(/[\s+]+/);
|
|
32
|
+
return keys.map(k => osKeys[k] || k).join("");
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return key;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
const { size, color, hotkey } = this;
|
|
40
|
+
return (h(Host, { class: cs("bcm-ui-element bcm-ui-content-display", "tw-block tw-h-fit tw-w-fit tw-rounded tw-border tw-border-solid tw-px-1", "tw-border-default-300 tw-bg-default-100 tw-text-default-700", "tw-text-center tw-font-medium tw-capitalize", {
|
|
41
|
+
"tw-text-2": size === Bcm.Size.small,
|
|
42
|
+
"tw-text-3": size === Bcm.Size.medium,
|
|
43
|
+
"tw-text-4": size === Bcm.Size.large,
|
|
44
|
+
}), style: Object.assign({}, Generate.getTwColor({ color })) }, this.getHotkey(hotkey)));
|
|
45
|
+
}
|
|
46
|
+
static get is() { return "bcm-shortcut"; }
|
|
47
|
+
static get properties() {
|
|
48
|
+
return {
|
|
49
|
+
"hotkey": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "string",
|
|
54
|
+
"resolved": "string",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": ""
|
|
62
|
+
},
|
|
63
|
+
"attribute": "hotkey",
|
|
64
|
+
"reflect": false
|
|
65
|
+
},
|
|
66
|
+
"color": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "string",
|
|
71
|
+
"resolved": "string",
|
|
72
|
+
"references": {}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"attribute": "color",
|
|
81
|
+
"reflect": false,
|
|
82
|
+
"defaultValue": "\"slate\""
|
|
83
|
+
},
|
|
84
|
+
"size": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"mutable": false,
|
|
87
|
+
"complexType": {
|
|
88
|
+
"original": "SizeTypes",
|
|
89
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
90
|
+
"references": {
|
|
91
|
+
"SizeTypes": {
|
|
92
|
+
"location": "import",
|
|
93
|
+
"path": "@bcm/model"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "size",
|
|
104
|
+
"reflect": false,
|
|
105
|
+
"defaultValue": "Bcm.Size.small"
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { h } from '@stencil/core';
|
|
6
6
|
import { InfoFooterTemplate } from './info-footer-template';
|
|
7
7
|
import { ListItemTemplate } from './list-item-template';
|
|
8
|
-
export const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, }) => {
|
|
8
|
+
export const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, handleTransitionEnd, }) => {
|
|
9
9
|
const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
|
|
10
10
|
const setScrollHeight = () => {
|
|
11
11
|
const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
|
|
@@ -19,5 +19,5 @@ export const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treev
|
|
|
19
19
|
'flex-direction': 'column',
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, style: { '--height': height, '--width': width } }, data && searchable && (h("section", { class: "bcm-list__container-search" }, h("bcm-search", { size: size, id: `bcm-list-${_id}-search`, data: data, clearable: true, placeholder: searchPlaceholder, "min-search-length": minSearchLength, searchIsOnlyChilds: searchIsOnlyChilds }))), h("main", { onScroll: e => onScrollEvent(e), class: "scrolling", style: { 'overscroll-behavior': 'none' } }, h("div", { style: setScrollHeight() }, checkAll && searchFound != 0 && items && items.length > 0 && checkboxes && showSelectAll && (h("section", { class: "bcm-list__container-select-all" }, h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), items.map((item) => (h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), (!items || items.length === 0) && searchFound != 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No data' })))), searchFound == 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No Data Found' })))))), infoFooter && data && data.length > 0 && (h(InfoFooterTemplate, { selected: value === null || value === void 0 ? void 0 : value.length, total: totalData, found: searchFound, multiple: checkboxes, variableText: variableText }))));
|
|
22
|
+
return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, style: { '--height': height, '--width': width }, onTransitionEnd: e => handleTransitionEnd(e) }, data && searchable && (h("section", { class: "bcm-list__container-search" }, h("bcm-search", { size: size, id: `bcm-list-${_id}-search`, data: data, clearable: true, placeholder: searchPlaceholder, "min-search-length": minSearchLength, searchIsOnlyChilds: searchIsOnlyChilds }))), h("main", { onScroll: e => onScrollEvent(e), class: "scrolling", style: { 'overscroll-behavior': 'none' } }, h("div", { style: setScrollHeight() }, checkAll && searchFound != 0 && items && items.length > 0 && checkboxes && showSelectAll && (h("section", { class: "bcm-list__container-select-all" }, h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), items.map((item) => (h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), (!items || items.length === 0) && searchFound != 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No data' })))), searchFound == 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No Data Found' })))))), infoFooter && data && data.length > 0 && (h(InfoFooterTemplate, { selected: value === null || value === void 0 ? void 0 : value.length, total: totalData, found: searchFound, multiple: checkboxes, variableText: variableText }))));
|
|
23
23
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmShortcut extends Components.BcmShortcut, HTMLElement {}
|
|
4
|
+
export const BcmShortcut: {
|
|
5
|
+
prototype: BcmShortcut;
|
|
6
|
+
new (): BcmShortcut;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import './color-helper.js';
|
|
7
|
+
import './validators.js';
|
|
8
|
+
import { G as Generate } from './generate.js';
|
|
9
|
+
import './number-helper.js';
|
|
10
|
+
import './string-helper.js';
|
|
11
|
+
import './element-dragger.js';
|
|
12
|
+
import { a as Bcm } from './bcm.js';
|
|
13
|
+
import { c as classnames } from './index2.js';
|
|
14
|
+
|
|
15
|
+
const osKeys = {
|
|
16
|
+
ctrl: "⌘",
|
|
17
|
+
alt: "⌥",
|
|
18
|
+
shift: "⇧",
|
|
19
|
+
del: "⌫",
|
|
20
|
+
delete: "⌫",
|
|
21
|
+
backspace: "⌦",
|
|
22
|
+
enter: "⏎",
|
|
23
|
+
return: "⏎",
|
|
24
|
+
};
|
|
25
|
+
const BcmShortcut$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super();
|
|
28
|
+
this.__registerHost();
|
|
29
|
+
this.isMac = /Mac/.test(window.navigator.userAgent);
|
|
30
|
+
this.hotkey = undefined;
|
|
31
|
+
this.color = "slate";
|
|
32
|
+
this.size = Bcm.Size.small;
|
|
33
|
+
}
|
|
34
|
+
getHotkey(key) {
|
|
35
|
+
if (!key) {
|
|
36
|
+
return "";
|
|
37
|
+
}
|
|
38
|
+
if (this.isMac && (key.includes(" ") || key.includes("+"))) {
|
|
39
|
+
const keys = key.split(/[\s+]+/);
|
|
40
|
+
return keys.map(k => osKeys[k] || k).join("");
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return key;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
const { size, color, hotkey } = this;
|
|
48
|
+
return (h(Host, { class: classnames("bcm-ui-element bcm-ui-content-display", "tw-block tw-h-fit tw-w-fit tw-rounded tw-border tw-border-solid tw-px-1", "tw-border-default-300 tw-bg-default-100 tw-text-default-700", "tw-text-center tw-font-medium tw-capitalize", {
|
|
49
|
+
"tw-text-2": size === Bcm.Size.small,
|
|
50
|
+
"tw-text-3": size === Bcm.Size.medium,
|
|
51
|
+
"tw-text-4": size === Bcm.Size.large,
|
|
52
|
+
}), style: Object.assign({}, Generate.getTwColor({ color })) }, this.getHotkey(hotkey)));
|
|
53
|
+
}
|
|
54
|
+
}, [0, "bcm-shortcut", {
|
|
55
|
+
"hotkey": [1],
|
|
56
|
+
"color": [1],
|
|
57
|
+
"size": [1]
|
|
58
|
+
}]);
|
|
59
|
+
function defineCustomElement$1() {
|
|
60
|
+
if (typeof customElements === "undefined") {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const components = ["bcm-shortcut"];
|
|
64
|
+
components.forEach(tagName => { switch (tagName) {
|
|
65
|
+
case "bcm-shortcut":
|
|
66
|
+
if (!customElements.get(tagName)) {
|
|
67
|
+
customElements.define(tagName, BcmShortcut$1);
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
70
|
+
} });
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const BcmShortcut = BcmShortcut$1;
|
|
74
|
+
const defineCustomElement = defineCustomElement$1;
|
|
75
|
+
|
|
76
|
+
export { BcmShortcut, defineCustomElement };
|
|
@@ -74,6 +74,7 @@ export { BcmSelect as BcmSelect } from '../types/components/other_deprecated/sel
|
|
|
74
74
|
export { BcmSelectBox as BcmSelectBox } from '../types/components/other_deprecated/select/select-box';
|
|
75
75
|
export { BcmSelectGroup as BcmSelectGroup } from '../types/components/other_deprecated/select/group';
|
|
76
76
|
export { BcmSelectOption as BcmSelectOption } from '../types/components/other_deprecated/select/option';
|
|
77
|
+
export { BcmShortcut as BcmShortcut } from '../types/components/other/shortcut/shortcut';
|
|
77
78
|
export { BcmSkeleton as BcmSkeleton } from '../types/components/molecules/skeleton/skeleton';
|
|
78
79
|
export { BcmStep as BcmStep } from '../types/components/molecules/stepper/step';
|
|
79
80
|
export { BcmStepper as BcmStepper } from '../types/components/molecules/stepper/stepper';
|
package/dist/components/index.js
CHANGED
|
@@ -82,6 +82,7 @@ export { BcmSelect, defineCustomElement as defineCustomElementBcmSelect } from '
|
|
|
82
82
|
export { BcmSelectBox, defineCustomElement as defineCustomElementBcmSelectBox } from './bcm-select-box.js';
|
|
83
83
|
export { BcmSelectGroup, defineCustomElement as defineCustomElementBcmSelectGroup } from './bcm-select-group.js';
|
|
84
84
|
export { BcmSelectOption, defineCustomElement as defineCustomElementBcmSelectOption } from './bcm-select-option.js';
|
|
85
|
+
export { BcmShortcut, defineCustomElement as defineCustomElementBcmShortcut } from './bcm-shortcut.js';
|
|
85
86
|
export { BcmSkeleton, defineCustomElement as defineCustomElementBcmSkeleton } from './bcm-skeleton.js';
|
|
86
87
|
export { BcmStep, defineCustomElement as defineCustomElementBcmStep } from './bcm-step.js';
|
|
87
88
|
export { BcmStepper, defineCustomElement as defineCustomElementBcmStepper } from './bcm-stepper.js';
|
package/dist/components/list.js
CHANGED
|
@@ -112,7 +112,7 @@ const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selecte
|
|
|
112
112
|
item.items.map((item) => (h(ListItemTemplate, { highlight: highlight, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, size: size, selectedItem: selectedItem, checkedItem: checkedItem, openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) })))))));
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
-
const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, }) => {
|
|
115
|
+
const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, handleTransitionEnd, }) => {
|
|
116
116
|
const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
|
|
117
117
|
const setScrollHeight = () => {
|
|
118
118
|
const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
|
|
@@ -126,7 +126,7 @@ const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, ch
|
|
|
126
126
|
'flex-direction': 'column',
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, style: { '--height': height, '--width': width } },
|
|
129
|
+
return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, style: { '--height': height, '--width': width }, onTransitionEnd: e => handleTransitionEnd(e) },
|
|
130
130
|
data && searchable && (h("section", { class: "bcm-list__container-search" },
|
|
131
131
|
h("bcm-search", { size: size, id: `bcm-list-${_id}-search`, data: data, clearable: true, placeholder: searchPlaceholder, "min-search-length": minSearchLength, searchIsOnlyChilds: searchIsOnlyChilds }))),
|
|
132
132
|
h("main", { onScroll: e => onScrollEvent(e), class: "scrolling", style: { 'overscroll-behavior': 'none' } },
|
|
@@ -860,6 +860,8 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
860
860
|
this.change = createEvent(this, "bcm-change", 7);
|
|
861
861
|
this.open = createEvent(this, "bcm-open", 3);
|
|
862
862
|
this.close = createEvent(this, "bcm-close", 3);
|
|
863
|
+
this.listClose = createEvent(this, "bcm-list-close", 7);
|
|
864
|
+
this.listOpen = createEvent(this, "bcm-list-open", 7);
|
|
863
865
|
this.debounce = null;
|
|
864
866
|
this.debounceHandler = Generate.debounceInput(() => this.listenResize(), 300, false);
|
|
865
867
|
this._id = Generate.UID();
|
|
@@ -1043,6 +1045,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
1043
1045
|
else {
|
|
1044
1046
|
this.listScrollToTop();
|
|
1045
1047
|
this.close.emit();
|
|
1048
|
+
this.listClose.emit();
|
|
1046
1049
|
await delay(100);
|
|
1047
1050
|
this.unSelectOther();
|
|
1048
1051
|
}
|
|
@@ -1560,6 +1563,13 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
1560
1563
|
}
|
|
1561
1564
|
}
|
|
1562
1565
|
}
|
|
1566
|
+
handleTransitionEnd(e) {
|
|
1567
|
+
const { isOpen, type } = this;
|
|
1568
|
+
const propertName = e === null || e === void 0 ? void 0 : e.propertyName;
|
|
1569
|
+
if (isOpen && type == "select" && propertName == "transform") {
|
|
1570
|
+
this.listOpen.emit();
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1563
1573
|
render() {
|
|
1564
1574
|
const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
|
|
1565
1575
|
const hostClasses = classnames("bcm-list", `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === "large" ? "size-3" : "size-2", {
|
|
@@ -1587,7 +1597,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
1587
1597
|
"--min-height": openedType ? "inherit" : this.minHeight,
|
|
1588
1598
|
} }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h("bcm-label", { tooltip: this.tooltip, size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: classnames("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: classnames("bcm-list__input-buttons", {
|
|
1589
1599
|
disabled: disabled,
|
|
1590
|
-
}) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: classnames(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
1600
|
+
}) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: classnames(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon, handleTransitionEnd: e => this.handleTransitionEnd(e) }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
1591
1601
|
}
|
|
1592
1602
|
get el() { return this; }
|
|
1593
1603
|
static get watchers() { return {
|
|
@@ -14,15 +14,15 @@ import { c as ce } from './index5.js';
|
|
|
14
14
|
|
|
15
15
|
const skeletonStyle = ce({
|
|
16
16
|
slots: {
|
|
17
|
-
host: "tw-
|
|
17
|
+
host: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-flex-shrink-0 tw-relative tw-overflow-hidden tw-bg-gray-200",
|
|
18
18
|
},
|
|
19
19
|
variants: {
|
|
20
20
|
variant: {
|
|
21
21
|
rect: {
|
|
22
|
-
host: "tw-rounded
|
|
22
|
+
host: "tw-rounded",
|
|
23
23
|
},
|
|
24
24
|
circle: {
|
|
25
|
-
host: "tw-rounded-full
|
|
25
|
+
host: "tw-rounded-full",
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
28
|
effect: {
|
|
@@ -36,54 +36,45 @@ const skeletonStyle = ce({
|
|
|
36
36
|
host: "tw-animate-none",
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
+
hidden: {
|
|
40
|
+
true: {
|
|
41
|
+
host: "tw-hidden",
|
|
42
|
+
},
|
|
43
|
+
false: {
|
|
44
|
+
host: "tw-flex",
|
|
45
|
+
},
|
|
46
|
+
}
|
|
39
47
|
},
|
|
40
48
|
defaultVariants: {
|
|
41
49
|
variant: "rect",
|
|
42
50
|
effect: "pulse",
|
|
51
|
+
hidden: false,
|
|
43
52
|
},
|
|
44
53
|
});
|
|
45
54
|
|
|
46
|
-
const skeletonCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host([hidden]){display:none}:host{display:block;position:relative;overflow:hidden}";
|
|
47
|
-
|
|
48
55
|
const BcmSkeleton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
49
56
|
constructor() {
|
|
50
57
|
super();
|
|
51
58
|
this.__registerHost();
|
|
52
|
-
this.items = [];
|
|
53
59
|
this._id = Generate.UID();
|
|
54
60
|
this.effect = "pulse";
|
|
55
61
|
this.variant = "rect";
|
|
56
|
-
this.count = 1;
|
|
57
62
|
this.hidden = false;
|
|
58
|
-
this.width =
|
|
63
|
+
this.width = "100%";
|
|
59
64
|
this.height = "16px";
|
|
60
65
|
this.marginBottom = null;
|
|
61
66
|
this.customStyles = {};
|
|
62
67
|
}
|
|
63
|
-
componentWillLoad() {
|
|
64
|
-
this.init();
|
|
65
|
-
}
|
|
66
|
-
componentWillUpdate() {
|
|
67
|
-
this.init();
|
|
68
|
-
}
|
|
69
|
-
init() {
|
|
70
|
-
this.items.length = this.count;
|
|
71
|
-
this.items.fill(1);
|
|
72
|
-
}
|
|
73
68
|
render() {
|
|
74
|
-
const { variant, effect, width, height, marginBottom, customStyles } = this;
|
|
69
|
+
const { variant, effect, width, height, marginBottom, customStyles, hidden } = this;
|
|
75
70
|
const style = Object.assign(Object.assign(Object.assign(Object.assign({}, (width ? { width } : {})), (height ? { height } : {})), (marginBottom ? { marginBottom } : {})), (typeof customStyles === "string" ? JSON.parse(customStyles) : customStyles));
|
|
76
|
-
const { host } = skeletonStyle({ variant, effect });
|
|
77
|
-
return (h(Host,
|
|
78
|
-
return h("div", { role: "status", part: "base", key: index, class: host(), "aria-busy": "true", "aria-live": "polite", style: style });
|
|
79
|
-
})));
|
|
71
|
+
const { host } = skeletonStyle({ variant, effect, hidden });
|
|
72
|
+
return (h(Host, { class: host(), style: style }));
|
|
80
73
|
}
|
|
81
|
-
static get style() { return skeletonCss; }
|
|
82
74
|
}, [0, "bcm-skeleton", {
|
|
83
75
|
"_id": [1537, "id"],
|
|
84
76
|
"effect": [513],
|
|
85
77
|
"variant": [513],
|
|
86
|
-
"count": [514],
|
|
87
78
|
"hidden": [516],
|
|
88
79
|
"width": [1],
|
|
89
80
|
"height": [1],
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
7
|
-
import './package-
|
|
6
|
+
import { G as Generate } from './generate-cfbadf65.js';
|
|
7
|
+
import './package-368cba0a.js';
|
|
8
8
|
import './colors-e1c31f79.js';
|
|
9
9
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
10
10
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { G as Generate, s as snq, S as StatusProps, T as TypeProps } from './generate-
|
|
6
|
+
import { G as Generate, s as snq, S as StatusProps, T as TypeProps } from './generate-cfbadf65.js';
|
|
7
7
|
import { c as classnames } from './index-b84bc8c9.js';
|
|
8
8
|
import { c as createStore } from './index-f38e3364.js';
|
|
9
9
|
import { S as StringHelper } from './string-helper-5bd646f2.js';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-368cba0a.js';
|
|
11
11
|
import './colors-e1c31f79.js';
|
|
12
12
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
13
13
|
import './bcm-d45dc47d.js';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
7
|
-
import './package-
|
|
6
|
+
import { G as Generate } from './generate-cfbadf65.js';
|
|
7
|
+
import './package-368cba0a.js';
|
|
8
8
|
import './colors-e1c31f79.js';
|
|
9
9
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
10
10
|
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
6
|
import { C as ColorHelper } from './color-helper-c4fa9ebc.js';
|
|
7
7
|
import './datetime-helper-df25808a.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
9
|
-
import './number-helper-
|
|
8
|
+
import { G as Generate } from './generate-cfbadf65.js';
|
|
9
|
+
import './number-helper-8333a13c.js';
|
|
10
10
|
import './string-helper-5bd646f2.js';
|
|
11
|
-
import './validators-
|
|
11
|
+
import './validators-85555b4a.js';
|
|
12
12
|
import './element-dragger-7ea06c76.js';
|
|
13
|
-
import {
|
|
13
|
+
import { a as Bcm } from './bcm-d45dc47d.js';
|
|
14
14
|
import { c as ce } from './index-3bc8c6e3.js';
|
|
15
15
|
import './colors-1d7854ea.js';
|
|
16
16
|
import './utils-b3338faf.js';
|
|
17
17
|
import './colors-e1c31f79.js';
|
|
18
18
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-368cba0a.js';
|
|
20
20
|
|
|
21
21
|
const avatarStyle = ce({
|
|
22
22
|
slots: {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
6
|
import { c as classnames } from './index-b84bc8c9.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-cfbadf65.js';
|
|
8
8
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-368cba0a.js';
|
|
10
10
|
import './colors-e1c31f79.js';
|
|
11
11
|
|
|
12
12
|
const breadcrumbCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;color:var(--bcm-color-grey-7)}.bcm-breadcrumb__item{display:flex;align-items:center}.bcm-breadcrumb .seperator{cursor:default;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;margin-right:8px;color:var(--bcm-color-grey-7)}.bcm-breadcrumb bcm-link:hover{color:var(--bcm-color-grey-7)}.bcm-breadcrumb .active{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .active:hover{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .is-link:hover{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb .is-link:hover bcm-link,.bcm-breadcrumb .is-link:hover bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item{position:relative;display:inline-flex}.bcm-breadcrumb__dropdown-item summary{display:inline-flex;align-items:center;cursor:pointer}.bcm-breadcrumb__dropdown-item summary>span{display:inline-flex;align-items:center}.bcm-breadcrumb__dropdown-item summary::-webkit-details-marker{display:none}.bcm-breadcrumb__dropdown-item summary:focus{outline:none}.bcm-breadcrumb__dropdown-item summary.open bcm-link,.bcm-breadcrumb__dropdown-item summary.open bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item summary .down-icon{margin-left:4px}.bcm-breadcrumb__dropdown-submenu{position:absolute;min-width:140px;background-color:var(--bcm-color-grey-1);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);margin-top:4px}.bcm-breadcrumb__dropdown-submenu .dropdown-item{display:flex;padding:4px 8px}.bcm-breadcrumb__dropdown-submenu .dropdown-item bcm-link{width:100%}";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { G as Generate, s as snq } from './generate-
|
|
7
|
-
import {
|
|
6
|
+
import { G as Generate, s as snq } from './generate-cfbadf65.js';
|
|
7
|
+
import { B as Bcm } from './bcm-d45dc47d.js';
|
|
8
8
|
import { c as classnames } from './index-b84bc8c9.js';
|
|
9
9
|
import { S as StringHelper } from './string-helper-5bd646f2.js';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-368cba0a.js';
|
|
11
11
|
import './colors-e1c31f79.js';
|
|
12
12
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
13
13
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-4614b7f0.js';
|
|
6
|
-
import { s as snq, G as Generate } from './generate-
|
|
7
|
-
import {
|
|
6
|
+
import { s as snq, G as Generate } from './generate-cfbadf65.js';
|
|
7
|
+
import { B as Bcm } from './bcm-d45dc47d.js';
|
|
8
8
|
import { c as classnames } from './index-b84bc8c9.js';
|
|
9
9
|
import { c as createStore } from './index-f38e3364.js';
|
|
10
10
|
import { S as SlotTemplate } from './slot-template-4b683d1f.js';
|
|
11
11
|
import { C as ColorHelper } from './color-helper-c4fa9ebc.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-368cba0a.js';
|
|
13
13
|
import './colors-e1c31f79.js';
|
|
14
14
|
import './_commonjsHelpers-be0d4ec8.js';
|
|
15
15
|
import './string-helper-5bd646f2.js';
|