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
|
@@ -9,12 +9,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
13
|
+
const bcm = require('./bcm-7f703055.js');
|
|
14
14
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-4e6f5967.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
19
|
|
|
20
20
|
const switchCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-switch{display:inline-flex;user-select:none;flex-direction:column;margin-bottom:8px}.bcm-switch__container{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.bcm-switch__container--left,.bcm-switch__container--right{align-items:center}.bcm-switch__container--left .bcm-label__text,.bcm-switch__container--right .bcm-label__text{margin:0}.bcm-switch__container--left{flex-direction:row}.bcm-switch__container--left .bcm-label__text{margin-right:4px}.bcm-switch__container--right{flex-direction:row-reverse}.bcm-switch__container--right .bcm-label__text{margin-left:4px}.bcm-switch:focus-visible{outline:none}.bcm-switch:focus-visible .bcm-switch__toggle{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-switch:focus-visible .bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch:hover{outline:none}.bcm-switch:hover .bcm-switch__toggle .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch:hover .bcm-switch__toggle.switch-checked .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch *{box-sizing:border-box}.bcm-switch.hidden{display:none}.bcm-switch input{display:none}.bcm-switch.disabled .bcm-switch__toggle{cursor:not-allowed;opacity:40%}.bcm-switch.readonly .bcm-switch__toggle{cursor:default;opacity:80%}.bcm-switch__label{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-flex;align-items:center;margin:0}.bcm-switch__label .active-text{color:var(--bcm-new-ds-color-blue-500);margin:0 0 0 4px}.bcm-switch__label .inactive-text{color:var(--bcm-new-ds-color-slate-500);margin:0 4px 0 0}.bcm-switch__toggle{display:flex;justify-content:space-between;align-items:center;border-radius:16px;background-color:var(--bcm-new-ds-color-slate-300);position:relative;cursor:pointer}.bcm-switch__toggle .handle{padding:1px;position:absolute;background-color:var(--bcm-new-ds-color-slate-50);display:inline-flex;align-items:center;justify-content:center;border-radius:16px;transition:left 0.2s ease-in-out, width 0.2s ease-in-out;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-switch__toggle .icon-active{opacity:0;margin-left:2px}.bcm-switch__toggle .icon-inactive{opacity:1;margin-right:2px}.bcm-switch__toggle.bcm-switch__size-small{width:32px;min-width:32px;height:16px;padding:4px}.bcm-switch__toggle.bcm-switch__size-small .handle{width:12px;height:12px;left:2px}.bcm-switch__toggle.bcm-switch__size-small.switch-checked .handle{left:18px}.bcm-switch__toggle.bcm-switch__size-small:active:not(.disabled):not(.readonly) .handle{width:16px}.bcm-switch__toggle.bcm-switch__size-small:active.switch-checked:not(.disabled):not(.readonly) .handle{left:12px}.bcm-switch__toggle.bcm-switch__size-small .switch-spinner{box-sizing:border-box;display:inline-flex;width:9px;height:9px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-medium{width:36px;min-width:36px;height:18px;padding:4px}.bcm-switch__toggle.bcm-switch__size-medium .handle{width:14px;height:14px;left:2px}.bcm-switch__toggle.bcm-switch__size-medium.switch-checked .handle{left:20px}.bcm-switch__toggle.bcm-switch__size-medium:active:not(.disabled):not(.readonly) .handle{width:18px}.bcm-switch__toggle.bcm-switch__size-medium:active.switch-checked:not(.disabled):not(.readonly) .handle{left:14px}.bcm-switch__toggle.bcm-switch__size-medium .switch-spinner{box-sizing:border-box;display:inline-flex;width:11px;height:11px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-large{width:40px;min-width:40px;height:20px;padding:4px}.bcm-switch__toggle.bcm-switch__size-large .handle{width:16px;height:16px;left:2px}.bcm-switch__toggle.bcm-switch__size-large.switch-checked .handle{left:22px}.bcm-switch__toggle.bcm-switch__size-large:active:not(.disabled):not(.readonly) .handle{width:20px}.bcm-switch__toggle.bcm-switch__size-large:active.switch-checked:not(.disabled):not(.readonly) .handle{left:16px}.bcm-switch__toggle.bcm-switch__size-large .switch-spinner{box-sizing:border-box;display:inline-flex;width:13px;height:13px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-500)}.bcm-switch__toggle.switch-checked .icon-active{color:var(--bcm-new-ds-color-slate-100);opacity:1}.bcm-switch__toggle.switch-checked .icon-inactive{opacity:0}.bcm-switch__toggle.switch-checked .switch-spinner{border-top-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch__size-small .bcm-switch__label,.bcm-switch__size-small .bcm-label__text{font-size:12px}.bcm-switch__size-small .bcm-switch__toggle{font-size:8px}.bcm-switch__size-medium .bcm-switch__label,.bcm-switch__size-medium .bcm-label__text{font-size:13px}.bcm-switch__size-medium .bcm-switch__toggle{font-size:9px}.bcm-switch__size-large .bcm-switch__label,.bcm-switch__size-large .bcm-label__text{font-size:16px}.bcm-switch__size-large .bcm-switch__toggle{font-size:12px}@keyframes switch-spinner{to{transform:rotate(360deg)}}";
|
|
@@ -43,7 +43,7 @@ const BcmSwitch = class {
|
|
|
43
43
|
this.name = undefined;
|
|
44
44
|
this.disabled = false;
|
|
45
45
|
this.required = false;
|
|
46
|
-
this.size = bcm.Bcm
|
|
46
|
+
this.size = bcm.Bcm.Size.medium;
|
|
47
47
|
this.readonly = false;
|
|
48
48
|
this.activeIcon = undefined;
|
|
49
49
|
this.activeText = undefined;
|
|
@@ -56,7 +56,7 @@ const BcmSwitch = class {
|
|
|
56
56
|
this.caption = undefined;
|
|
57
57
|
this.noCaption = false;
|
|
58
58
|
this.captionError = undefined;
|
|
59
|
-
this.captionType = bcm.Bcm
|
|
59
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
60
60
|
this.captionCache = undefined;
|
|
61
61
|
this.captionTypeCache = undefined;
|
|
62
62
|
}
|
|
@@ -112,7 +112,7 @@ const BcmSwitch = class {
|
|
|
112
112
|
return Promise.resolve();
|
|
113
113
|
}
|
|
114
114
|
handleKeyUp(ev) {
|
|
115
|
-
if (ev.keyCode == bcm.Bcm
|
|
115
|
+
if (ev.keyCode == bcm.Bcm.KeyCode.space || ev.keyCode == bcm.Bcm.KeyCode.enter) {
|
|
116
116
|
if (!this.disabled && !this.readonly) {
|
|
117
117
|
this.inputElement.checked = !this.inputElement.checked;
|
|
118
118
|
this.handleChange();
|
|
@@ -135,10 +135,10 @@ const BcmSwitch = class {
|
|
|
135
135
|
disabled,
|
|
136
136
|
readonly
|
|
137
137
|
});
|
|
138
|
-
const bcmSwitchLabel = index$1.classnames('bcm-switch__label', 'input-size-' + bcm.Bcm
|
|
138
|
+
const bcmSwitchLabel = index$1.classnames('bcm-switch__label', 'input-size-' + bcm.Bcm.Size[size]);
|
|
139
139
|
const bcmSwitchContainer = index$1.classnames('bcm-switch__container', `bcm-switch__container--${this.labelPosition}`);
|
|
140
|
-
const switchText = (text) => (size != bcm.Bcm
|
|
141
|
-
const switchIcon = (text) => (size != bcm.Bcm
|
|
140
|
+
const switchText = (text) => (size != bcm.Bcm.Size.small && (activeText || inactiveText)) && (index.h("span", { class: text + '-text' }, text == 'active' ? activeText : inactiveText));
|
|
141
|
+
const switchIcon = (text) => (size != bcm.Bcm.Size.small && (activeIcon || inactiveIcon)) && index.h("bcm-icon", { icon: text == 'active' ? activeIcon : inactiveIcon, class: ' icon-' + text });
|
|
142
142
|
return (index.h(index.Host, { tabindex: "0", onFocus: () => this.focus.emit(this.el), onBlur: () => this.blur.emit(this.el), class: bcmSwitchClasses }, index.h("span", { hidden: true }, index.h("slot", null)), index.h("div", { class: bcmSwitchContainer }, label && index.h("bcm-label", { htmlFor: _internal_id, tooltip: this.tooltip, type: captionType, value: label, required: required }), index.h("input", { id: _internal_id, onChange: () => this.handleChange(), ref: el => (this.inputElement = el), checked: checked, type: "checkbox", class: "switch", disabled: disabled || readonly }), index.h("label", { htmlFor: _internal_id, class: bcmSwitchLabel }, switchText('inactive'), index.h("div", { class: classes }, switchIcon('active'), index.h("span", { class: "handle" }, pending && index.h("span", { class: "switch-spinner" })), switchIcon('inactive')), switchText('active'))), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
143
143
|
}
|
|
144
144
|
get el() { return index.getElement(this); }
|
|
@@ -9,17 +9,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
15
|
-
require('./validators-
|
|
12
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
13
|
+
require('./number-helper-34f232b3.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-72cc68b6.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const utils = require('./utils-fc077139.js');
|
|
18
|
-
const bcm = require('./bcm-
|
|
18
|
+
const bcm = require('./bcm-7f703055.js');
|
|
19
19
|
require('./colors-56282b00.js');
|
|
20
20
|
require('./colors-078851ec.js');
|
|
21
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-4e6f5967.js');
|
|
23
23
|
|
|
24
24
|
const BcmTabGroup = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -28,7 +28,7 @@ const BcmTabGroup = class {
|
|
|
28
28
|
this._id = generate.Generate.UID();
|
|
29
29
|
this.active = "1";
|
|
30
30
|
this.color = "blue";
|
|
31
|
-
this.size = bcm.Bcm.Size.medium;
|
|
31
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
32
32
|
}
|
|
33
33
|
get tabItems() {
|
|
34
34
|
return this.el.querySelectorAll("bcm-tab-item");
|
|
@@ -9,18 +9,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
15
|
-
require('./validators-
|
|
12
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
13
|
+
require('./number-helper-34f232b3.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-72cc68b6.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
|
-
const bcm = require('./bcm-
|
|
17
|
+
const bcm = require('./bcm-7f703055.js');
|
|
18
18
|
const index$1 = require('./index-95ae50d0.js');
|
|
19
19
|
require('./colors-56282b00.js');
|
|
20
20
|
require('./utils-fc077139.js');
|
|
21
21
|
require('./colors-078851ec.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-4e6f5967.js');
|
|
24
24
|
|
|
25
25
|
const BcmTabItemHeader = class {
|
|
26
26
|
constructor(hostRef) {
|
|
@@ -30,7 +30,7 @@ const BcmTabItemHeader = class {
|
|
|
30
30
|
this.disabled = false;
|
|
31
31
|
this.index = undefined;
|
|
32
32
|
this.color = "blue";
|
|
33
|
-
this.size = bcm.Bcm.Size.medium;
|
|
33
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
34
34
|
}
|
|
35
35
|
handleClick() {
|
|
36
36
|
var _a;
|
|
@@ -46,9 +46,9 @@ const BcmTabItemHeader = class {
|
|
|
46
46
|
tones: [500, 600, 700, 800]
|
|
47
47
|
});
|
|
48
48
|
return (index.h(index.Host, { onClick: () => this.handleClick(), class: index$1.classnames(`tw-flex tw-flex-1 tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-transition-font tw-focus:outline-none`, {
|
|
49
|
-
"tw-text-2 tw-py-1 tw-gap-2": size === bcm.Bcm.Size.small,
|
|
50
|
-
"tw-text-3 tw-py-2 tw-gap-3": size === bcm.Bcm.Size.medium,
|
|
51
|
-
"tw-text-4 tw-py-3 tw-gap-4": size === bcm.Bcm.Size.large,
|
|
49
|
+
"tw-text-2 tw-py-1 tw-gap-2": size === bcm.Bcm$1.Size.small,
|
|
50
|
+
"tw-text-3 tw-py-2 tw-gap-3": size === bcm.Bcm$1.Size.medium,
|
|
51
|
+
"tw-text-4 tw-py-3 tw-gap-4": size === bcm.Bcm$1.Size.large,
|
|
52
52
|
}, disabled ? disabledClass : "tw-cursor-pointer", active
|
|
53
53
|
? `tw-text-default-500 enabled:hover:tw-text-default-600 enabled:active:tw-text-default-700 enabled:focus-visible:tw-text-default-800`
|
|
54
54
|
: "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:focus-visible:tw-text-slate-700 enabled:active:tw-text-slate-600"), style: dc }));
|
|
@@ -9,17 +9,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
15
|
-
require('./validators-
|
|
12
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
13
|
+
require('./number-helper-34f232b3.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-72cc68b6.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
|
-
require('./bcm-
|
|
17
|
+
require('./bcm-7f703055.js');
|
|
18
18
|
require('./colors-56282b00.js');
|
|
19
19
|
require('./utils-fc077139.js');
|
|
20
20
|
require('./colors-078851ec.js');
|
|
21
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-4e6f5967.js');
|
|
23
23
|
|
|
24
24
|
const BcmTabItem = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -10,12 +10,12 @@ const index = require('./index-c591ecec.js');
|
|
|
10
10
|
const watermark = require('./watermark-2c23c8f1.js');
|
|
11
11
|
require('./color-helper-c3a819ea.js');
|
|
12
12
|
require('./datetime-helper-eaf4fadb.js');
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
require('./number-helper-
|
|
15
|
-
const stringHelper = require('./string-helper-
|
|
16
|
-
require('./validators-
|
|
13
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
14
|
+
require('./number-helper-34f232b3.js');
|
|
15
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
16
|
+
require('./validators-72cc68b6.js');
|
|
17
17
|
require('./element-dragger-a8562f82.js');
|
|
18
|
-
require('./bcm-
|
|
18
|
+
require('./bcm-7f703055.js');
|
|
19
19
|
const index$1 = require('./index-95ae50d0.js');
|
|
20
20
|
require('./types-cc4adee7.js');
|
|
21
21
|
require('./types-7523fd99.js');
|
|
@@ -23,7 +23,7 @@ require('./colors-56282b00.js');
|
|
|
23
23
|
require('./utils-fc077139.js');
|
|
24
24
|
require('./colors-078851ec.js');
|
|
25
25
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-4e6f5967.js');
|
|
27
27
|
|
|
28
28
|
// DO NOT UPDATE MANUALLY: Generated from script during build time
|
|
29
29
|
var VERSION$4 = '29.0.0';
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
const bcm = require('./bcm-
|
|
10
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
11
|
+
const bcm = require('./bcm-7f703055.js');
|
|
12
12
|
const index = require('./index-95ae50d0.js');
|
|
13
|
-
const numberHelper = require('./number-helper-
|
|
13
|
+
const numberHelper = require('./number-helper-34f232b3.js');
|
|
14
14
|
const utils = require('./utils-fc077139.js');
|
|
15
15
|
const colors = require('./colors-56282b00.js');
|
|
16
16
|
const types = require('./types-7523fd99.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-4e6f5967.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
19
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
20
20
|
|
|
21
21
|
const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, type, onDismiss, onSelect }) => {
|
|
22
|
-
!size && (size = bcm.Bcm
|
|
22
|
+
!size && (size = bcm.Bcm.FontSize['size-1']);
|
|
23
23
|
const getColor = (color) => {
|
|
24
|
-
if ((type === bcm.Bcm
|
|
24
|
+
if ((type === bcm.Bcm.TagType.basic || type == bcm.Bcm.TagType.dismissable) && types.ColorProps[color])
|
|
25
25
|
return {
|
|
26
26
|
color: utils.extractColor(colors.ColorPalette, types.ColorProps[color] + '-6'),
|
|
27
27
|
borderColor: utils.extractColor(colors.ColorPalette, types.ColorProps[color] + '-3'),
|
|
@@ -30,10 +30,10 @@ const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, ty
|
|
|
30
30
|
};
|
|
31
31
|
const getSize = (size, returnNumber = false) => {
|
|
32
32
|
if (numberHelper.NumberHelper.isNumber(size)) {
|
|
33
|
-
size = bcm.Bcm
|
|
33
|
+
size = bcm.Bcm.FontSize["size-" + size] || bcm.Bcm.FontSize["size-4"];
|
|
34
34
|
}
|
|
35
35
|
if (returnNumber) {
|
|
36
|
-
return +(bcm.Bcm
|
|
36
|
+
return +(bcm.Bcm.FontSizeValue[size] || bcm.Bcm.FontSizeValue['size-4']) + 2;
|
|
37
37
|
}
|
|
38
38
|
return size;
|
|
39
39
|
};
|
|
@@ -45,11 +45,11 @@ const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, ty
|
|
|
45
45
|
index$1.h("span", { hidden: true },
|
|
46
46
|
index$1.h("slot", null)),
|
|
47
47
|
index$1.h("span", { class: classes, style: getColor(color), onClick: (e) => onSelect(e) },
|
|
48
|
-
type === bcm.Bcm
|
|
48
|
+
type === bcm.Bcm.TagType.add && (index$1.h("span", { class: "left" },
|
|
49
49
|
index$1.h("bcm-icon", { icon: "far fa-plus" }))),
|
|
50
|
-
type === bcm.Bcm
|
|
50
|
+
type === bcm.Bcm.TagType.checkable && index$1.h("input", { type: "checkbox", checked: checked }),
|
|
51
51
|
index$1.h("span", { class: "value", style: customStyle }, value),
|
|
52
|
-
type === bcm.Bcm
|
|
52
|
+
type === bcm.Bcm.TagType.dismissable && (index$1.h("span", { class: "right close-button", onClick: (e) => onDismiss(e) },
|
|
53
53
|
index$1.h("bcm-icon", { icon: "fal fa-times" }))))));
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -63,17 +63,17 @@ const BcmTag = class {
|
|
|
63
63
|
this._internal_id = generate.Generate.UID();
|
|
64
64
|
this.hidden = false;
|
|
65
65
|
this.value = '';
|
|
66
|
-
this.type = bcm.Bcm
|
|
66
|
+
this.type = bcm.Bcm.TagType.basic;
|
|
67
67
|
this.checked = false;
|
|
68
68
|
this.color = undefined;
|
|
69
69
|
this.customStyle = undefined;
|
|
70
70
|
this.itemObject = undefined;
|
|
71
|
-
this.size = bcm.Bcm
|
|
71
|
+
this.size = bcm.Bcm.FontSize['size-1'];
|
|
72
72
|
this.closeFunc = (e) => e;
|
|
73
73
|
this.selectFunc = (e) => e;
|
|
74
74
|
}
|
|
75
75
|
handleClick() {
|
|
76
|
-
this.type === bcm.Bcm
|
|
76
|
+
this.type === bcm.Bcm.TagType.checkable && this.handleChecked();
|
|
77
77
|
}
|
|
78
78
|
handleClose() {
|
|
79
79
|
this.tagDismissable.emit(this.el);
|
|
@@ -84,7 +84,7 @@ const BcmTag = class {
|
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
86
|
const { type, color, value, customStyle, size, hidden, checked } = this;
|
|
87
|
-
return (index$1.h(TagTemplate, { size: size, hidden: hidden, color: color, customStyle: customStyle, checked: checked, value: value, type: bcm.Bcm
|
|
87
|
+
return (index$1.h(TagTemplate, { size: size, hidden: hidden, color: color, customStyle: customStyle, checked: checked, value: value, type: bcm.Bcm.TagType[type], onSelect: (e) => { this.bcmTagSelect.emit(e); this.selectFunc({ event: e, id: this._id }); }, onDismiss: (e) => { this.handleClose(); this.closeFunc(e); } }));
|
|
88
88
|
}
|
|
89
89
|
get el() { return index$1.getElement(this); }
|
|
90
90
|
};
|
|
@@ -9,13 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const slotTemplate = require('./slot-template-
|
|
12
|
+
const slotTemplate = require('./slot-template-873b0cd5.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
require('./colors-56282b00.js');
|
|
15
15
|
require('./utils-fc077139.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
|
-
require('./string-helper-
|
|
18
|
-
require('./bcm-
|
|
17
|
+
require('./string-helper-fda7cbba.js');
|
|
18
|
+
require('./bcm-7f703055.js');
|
|
19
19
|
|
|
20
20
|
const textCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-text{display:inline;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-text.hidden{display:none}.bcm-text__paragraph{margin:0;padding:0}.bcm-text__font-size-1{font-size:10px;line-height:calc(10px + 8px)}.bcm-text__font-size-2{font-size:12px;line-height:calc(12px + 8px)}.bcm-text__font-size-3{font-size:14px;line-height:calc(14px + 8px)}.bcm-text__font-size-4{font-size:16px;line-height:calc(16px + 8px)}.bcm-text__font-size-5{font-size:18px;line-height:calc(18px + 8px)}.bcm-text__font-size-6{font-size:20px;line-height:calc(20px + 8px)}.bcm-text__font-size-7{font-size:24px;line-height:calc(24px + 8px)}.bcm-text__font-size-8{font-size:32px;line-height:calc(32px + 8px)}.bcm-text__font-size-9{font-size:40px;line-height:calc(40px + 8px)}";
|
|
21
21
|
|
|
@@ -9,13 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
13
|
+
const bcm = require('./bcm-7f703055.js');
|
|
14
14
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
15
|
-
const inputTemplate = require('./input-template-
|
|
15
|
+
const inputTemplate = require('./input-template-c37dc199.js');
|
|
16
16
|
const utils = require('./utils-fc077139.js');
|
|
17
17
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-4e6f5967.js');
|
|
19
19
|
require('./colors-078851ec.js');
|
|
20
20
|
require('./types-cc4adee7.js');
|
|
21
21
|
|
|
@@ -60,9 +60,9 @@ const BcmTextarea = class {
|
|
|
60
60
|
this.caption = undefined;
|
|
61
61
|
this.noCaption = false;
|
|
62
62
|
this.captionError = undefined;
|
|
63
|
-
this.captionType = bcm.Bcm
|
|
63
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
64
64
|
this.rows = 3;
|
|
65
|
-
this.size = bcm.Bcm
|
|
65
|
+
this.size = bcm.Bcm.Size.medium;
|
|
66
66
|
this.disabled = undefined;
|
|
67
67
|
this.readonly = false;
|
|
68
68
|
this.clearable = undefined;
|
|
@@ -148,7 +148,7 @@ const BcmTextarea = class {
|
|
|
148
148
|
hidden,
|
|
149
149
|
'full-width': fullWidth,
|
|
150
150
|
});
|
|
151
|
-
return (index.h(index.Host, { class: hostClasses }, label && index.h("bcm-label", { type: captionType, value: label, required: required, htmlFor: _id }), index.h(inputTemplate.InputTemplate, { elementType: bcm.Bcm
|
|
151
|
+
return (index.h(index.Host, { class: hostClasses }, label && index.h("bcm-label", { type: captionType, value: label, required: required, htmlFor: _id }), index.h(inputTemplate.InputTemplate, { elementType: bcm.Bcm.HtmlElementType.textarea, id: _id, value: value, rows: rows, disabled: disabled, maxLength: maxLength, placeholder: placeholder, clearable: clearable, resize: resize, readonly: readonly, size: size, focused: focused, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), handleClear: (e) => this.handleClear(e), ref: (el) => this.textarea = el, captionType: captionType }), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, value: value, maxLength: maxLength })));
|
|
152
152
|
}
|
|
153
153
|
get el() { return index.getElement(this); }
|
|
154
154
|
static get watchers() { return {
|
|
@@ -9,11 +9,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
13
|
+
const bcm = require('./bcm-7f703055.js');
|
|
14
14
|
const utils = require('./utils-fc077139.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-4e6f5967.js');
|
|
17
17
|
require('./colors-078851ec.js');
|
|
18
18
|
|
|
19
19
|
const timePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
@@ -47,7 +47,7 @@ const BcmTimePicker = class {
|
|
|
47
47
|
this.captionError = undefined;
|
|
48
48
|
this.captionType = 'default';
|
|
49
49
|
this.alignment = undefined;
|
|
50
|
-
this.placement = bcm.Bcm
|
|
50
|
+
this.placement = bcm.Bcm.Placement['bottom-start'];
|
|
51
51
|
this.linkedComponent = undefined;
|
|
52
52
|
this.clearable = false;
|
|
53
53
|
}
|
|
@@ -8,12 +8,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
const stringHelper = require('./string-helper-
|
|
13
|
-
const bcm = require('./bcm-
|
|
11
|
+
const generate = require('./generate-0eddc1c1.js');
|
|
12
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
13
|
+
const bcm = require('./bcm-7f703055.js');
|
|
14
14
|
const utils = require('./utils-fc077139.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-4e6f5967.js');
|
|
17
17
|
require('./colors-078851ec.js');
|
|
18
18
|
|
|
19
19
|
const BcmToast = class {
|
|
@@ -27,7 +27,7 @@ const BcmToast = class {
|
|
|
27
27
|
this.message = "";
|
|
28
28
|
this.description = "";
|
|
29
29
|
this.duration = 3000;
|
|
30
|
-
this.position = bcm.Bcm
|
|
30
|
+
this.position = bcm.Bcm.Placement.bottom;
|
|
31
31
|
this.messageIcon = undefined;
|
|
32
32
|
this.viewButton = false;
|
|
33
33
|
this.closeButton = true;
|
|
@@ -77,12 +77,12 @@ const BcmToast = class {
|
|
|
77
77
|
container = document.createElement("div");
|
|
78
78
|
container.id = containerId;
|
|
79
79
|
const classlist = index$1.classnames("tw-pointer-events-none tw-overflow-hidden tw-z-50", "tw-fixed tw-flex", "tw-p-4 tw-gap-4", {
|
|
80
|
-
"tw-flex-col-reverse tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === bcm.Bcm
|
|
81
|
-
"tw-flex-col tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === bcm.Bcm
|
|
82
|
-
"tw-flex-col-reverse tw-top-4 tw-left-4": this.position === bcm.Bcm
|
|
83
|
-
"tw-flex-col-reverse tw-top-4 tw-right-4": this.position === bcm.Bcm
|
|
84
|
-
"tw-flex-col tw-bottom-4 tw-left-4": this.position === bcm.Bcm
|
|
85
|
-
"tw-flex-col tw-bottom-4 tw-right-4": this.position === bcm.Bcm
|
|
80
|
+
"tw-flex-col-reverse tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === bcm.Bcm.Placement.top,
|
|
81
|
+
"tw-flex-col tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === bcm.Bcm.Placement.bottom,
|
|
82
|
+
"tw-flex-col-reverse tw-top-4 tw-left-4": this.position === bcm.Bcm.Placement["top-start"],
|
|
83
|
+
"tw-flex-col-reverse tw-top-4 tw-right-4": this.position === bcm.Bcm.Placement["top-end"],
|
|
84
|
+
"tw-flex-col tw-bottom-4 tw-left-4": this.position === bcm.Bcm.Placement["bottom-start"],
|
|
85
|
+
"tw-flex-col tw-bottom-4 tw-right-4": this.position === bcm.Bcm.Placement["bottom-end"],
|
|
86
86
|
});
|
|
87
87
|
container.classList.add(...classlist.split(" "));
|
|
88
88
|
document.body.appendChild(container);
|