bromcom-ui 2.9.1-rc.1 → 2.9.1-rc.2
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-3c783cae.entry.js → p-03860282.entry.js} +1 -1
- package/dist/bromcom-ui/p-0643bc4a.entry.js +5 -0
- package/dist/bromcom-ui/{p-8b318727.entry.js → p-066b9b83.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f709a2e2.entry.js → p-06a6a788.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7b506ccb.entry.js → p-085310d2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-788de9cf.entry.js → p-08fcaad7.entry.js} +1 -1
- package/dist/bromcom-ui/p-0e2e7aaf.entry.js +5 -0
- package/dist/bromcom-ui/{p-8d4482d6.entry.js → p-1a5848ff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3469c1bb.js → p-1b6718f1.js} +1 -1
- package/dist/bromcom-ui/{p-4c7cd784.entry.js → p-1df56a64.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1845fc18.js → p-2511c6c5.js} +1 -1
- package/dist/bromcom-ui/{p-1c043ab6.entry.js → p-25dd9da8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a1eabb1.entry.js → p-2a8e6faf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-52f879b2.entry.js → p-47953dcc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-417e8067.entry.js → p-4b56e20d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8f8aa3b.entry.js → p-4dd34da3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7f63e25c.entry.js → p-4fed249a.entry.js} +1 -1
- package/dist/bromcom-ui/p-504d102e.entry.js +5 -0
- package/dist/bromcom-ui/p-5ee8a018.js +1 -1
- package/dist/bromcom-ui/{p-ff012d63.entry.js → p-5f6447fa.entry.js} +1 -1
- package/dist/bromcom-ui/p-5f9c84e9.js +5 -0
- package/dist/bromcom-ui/{p-c495a13f.js → p-69ef7f73.js} +1 -1
- package/dist/bromcom-ui/{p-fe88e003.entry.js → p-6c38380c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd2a36fa.entry.js → p-6cdf7a47.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b6bac5f5.entry.js → p-6dad3a84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f0adf08c.entry.js → p-6dd8f5b3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c49c79ca.entry.js → p-6fdf8589.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ae94dfa8.js → p-70e11798.js} +1 -1
- package/dist/bromcom-ui/{p-99dc26dd.entry.js → p-71ed7aaa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51d2c673.js → p-72318066.js} +1 -1
- package/dist/bromcom-ui/{p-eb6b6010.entry.js → p-758eeb42.entry.js} +1 -1
- package/dist/bromcom-ui/{p-226c8c0a.entry.js → p-7f4fd4f1.entry.js} +1 -1
- package/dist/bromcom-ui/p-7fd84bcb.entry.js +5 -0
- package/dist/bromcom-ui/p-8e0a5938.js +5 -0
- package/dist/bromcom-ui/{p-1a31fc0b.entry.js → p-8f5319d0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ce62273f.entry.js → p-8fba0df7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2aa9e3e8.entry.js → p-93e2089c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6385e735.entry.js → p-9872041f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fa057fc4.entry.js → p-98b7b581.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d22b7435.js → p-9cee10ca.js} +1 -1
- package/dist/bromcom-ui/{p-a0bd7793.entry.js → p-9d3493ac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fa8300a2.entry.js → p-9dd64e63.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e321ccff.entry.js → p-9e3538ad.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-a2952973.js +5 -0
- package/dist/bromcom-ui/{p-b11dd428.entry.js → p-a656107a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cc61ed4c.entry.js → p-a7a9238e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cf022deb.entry.js → p-a7c13b5d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-292861ed.entry.js → p-a8bde635.entry.js} +1 -1
- package/dist/bromcom-ui/{p-80249663.entry.js → p-afc84854.entry.js} +1 -1
- package/dist/bromcom-ui/{p-535d02b9.entry.js → p-ba18ac53.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d9eaa208.entry.js → p-bb78166b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5fc98177.entry.js → p-be60b30f.entry.js} +1 -1
- package/dist/bromcom-ui/p-c002245b.entry.js +5 -0
- package/dist/bromcom-ui/{p-ff8d5e17.entry.js → p-c64b7e36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0be0c743.entry.js → p-c72d4b36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5be009b0.entry.js → p-c8afc135.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a907cae6.entry.js → p-cb9d10e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2bfd7aa8.entry.js → p-cc9aea5d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d7b9ab98.entry.js → p-d1cc43a4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bc8d7f89.entry.js → p-d2f0c787.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2ebba9f4.entry.js → p-d5adc98e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5a3f8a49.entry.js → p-d9ead52b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ff714da2.entry.js → p-e416e8fc.entry.js} +1 -1
- package/dist/bromcom-ui/p-e5236ff7.entry.js +5 -0
- package/dist/bromcom-ui/{p-3b78f74e.entry.js → p-e845097e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2d3e225b.entry.js → p-ea7ecfdf.entry.js} +1 -1
- package/dist/bromcom-ui/p-ef26a156.entry.js +5 -0
- package/dist/bromcom-ui/{p-a9c22560.entry.js → p-f0ff6194.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5ccb0675.entry.js → p-f3228b57.entry.js} +1 -1
- package/dist/bromcom-ui/p-f711588b.js +1 -1
- 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-9fd41788.js} +1 -1
- package/dist/cjs/{global-38efbdd7.js → global-e30e43a2.js} +1 -1
- package/dist/cjs/{input-template-c1e96592.js → input-template-7587462d.js} +6 -6
- package/dist/cjs/{json-parse-decarator-7d2677f0.js → json-parse-decarator-c724f6c4.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-19148ce9.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-03de8a92.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-caa5dc36.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-a7e84230.js} +9 -9
- package/dist/cjs/{validators-2adde99d.js → validators-f3eace30.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-3dda60a9.js} +1 -1
- package/dist/esm/{global-85f037ac.js → global-dea87e71.js} +1 -1
- package/dist/esm/{input-template-92b19880.js → input-template-9f57846a.js} +2 -2
- package/dist/esm/{json-parse-decarator-f4803289.js → json-parse-decarator-98502664.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-76d8d225.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-7587ad35.js} +1 -1
- package/dist/esm/{stepper-states-08b2aa7c.js → stepper-states-a06a76a0.js} +1 -1
- package/dist/esm/string-helper-5bd646f2.js +1 -1
- package/dist/esm/{tooltip-helper-d538cdf3.js → tooltip-helper-2d59251b.js} +4 -4
- package/dist/esm/{validators-68717171.js → validators-a0f4d029.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-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-c8058a21.entry.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
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const bcm = require('./bcm-
|
|
10
|
+
const bcm = require('./bcm-7f703055.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
|
-
require('./string-helper-
|
|
16
|
-
require('./validators-
|
|
13
|
+
const generate = require('./generate-9fd41788.js');
|
|
14
|
+
require('./number-helper-19148ce9.js');
|
|
15
|
+
require('./string-helper-fda7cbba.js');
|
|
16
|
+
require('./validators-f3eace30.js');
|
|
17
17
|
require('./element-dragger-a8562f82.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-03de8a92.js');
|
|
24
24
|
|
|
25
25
|
const BcmRadio = class {
|
|
26
26
|
constructor(hostRef) {
|
|
@@ -32,7 +32,7 @@ const BcmRadio = class {
|
|
|
32
32
|
this.checked = undefined;
|
|
33
33
|
this.value = undefined;
|
|
34
34
|
this.disabled = false;
|
|
35
|
-
this.size = bcm.Bcm.Size.medium;
|
|
35
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
36
36
|
this.color = undefined;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
@@ -40,13 +40,13 @@ const BcmRadio = class {
|
|
|
40
40
|
return (index.h(index.Host, { class: index$1.classnames("tw-cursor-pointer tw-font-sans tw-mb-1.5 tw-mt-1", {
|
|
41
41
|
"tw-cursor-pointer tw-text-slate-600": !disabled,
|
|
42
42
|
"tw-cursor-not-allowed tw-text-slate-400": disabled,
|
|
43
|
-
"tw-text-1": size === bcm.Bcm.Size.small,
|
|
44
|
-
"tw-text-2.5": size === bcm.Bcm.Size.medium,
|
|
45
|
-
"tw-text-4": size === bcm.Bcm.Size.large,
|
|
43
|
+
"tw-text-1": size === bcm.Bcm$1.Size.small,
|
|
44
|
+
"tw-text-2.5": size === bcm.Bcm$1.Size.medium,
|
|
45
|
+
"tw-text-4": size === bcm.Bcm$1.Size.large,
|
|
46
46
|
}), style: (generate.Generate.getTwColor(color)) }, index.h("label", { class: index$1.classnames("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, index.h("input", { id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: index$1.classnames("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
|
|
47
|
-
"tw-w-4 tw-h-4 before:tw-w-2.5 before:tw-h-2.5": size === bcm.Bcm.Size.medium,
|
|
48
|
-
"tw-w-3.5 tw-h-3.5 before:tw-w-2 before:tw-h-2": size === bcm.Bcm.Size.small,
|
|
49
|
-
"tw-w-4.5 tw-h-4.5 before:tw-w-3 before:tw-h-3": size === bcm.Bcm.Size.large,
|
|
47
|
+
"tw-w-4 tw-h-4 before:tw-w-2.5 before:tw-h-2.5": size === bcm.Bcm$1.Size.medium,
|
|
48
|
+
"tw-w-3.5 tw-h-3.5 before:tw-w-2 before:tw-h-2": size === bcm.Bcm$1.Size.small,
|
|
49
|
+
"tw-w-4.5 tw-h-4.5 before:tw-w-3 before:tw-h-3": size === bcm.Bcm$1.Size.large,
|
|
50
50
|
}, "focus:tw-outline-none focus:tw-shadow-outline",
|
|
51
51
|
// default
|
|
52
52
|
`tw-border-slate-400 tw-bg-slate-50`, `checked:tw-border-default-500`, `checked:before:tw-bg-default-500`,
|
|
@@ -8,11 +8,11 @@ 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 bcm = require('./bcm-
|
|
11
|
+
const generate = require('./generate-9fd41788.js');
|
|
12
|
+
const bcm = require('./bcm-7f703055.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-03de8a92.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
17
|
|
|
18
18
|
const rangeCss = "@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-range{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;width:100%;position:relative;display:block;margin:16px 0}.bcm-range input[type=range]{position:absolute;pointer-events:none;-webkit-appearance:none;z-index:4;height:30px;width:100%;top:-17px;opacity:0}.bcm-range input[type=range].single{display:none}.bcm-range input[type=range]::-webkit-slider-thumb{pointer-events:all;width:30px;height:30px;border-radius:0;border:0 none;background-color:red;-webkit-appearance:none;cursor:pointer}.bcm-range__container-bar{width:calc(100% - 24px);left:12px;position:relative}.bcm-range__container-bar-track{position:absolute;top:-2px;width:100%;height:4px;background-color:var(--bcm-new-ds-color-slate-300);z-index:1}.bcm-range__container-bar-range{position:absolute;top:-2px;left:22.22%;right:22.22%;height:4px;background-color:var(--bcm-new-ds-color-blue-500);z-index:2}.bcm-range__container-bar-thumb{position:absolute;top:0;width:16px;height:16px;background-color:var(--bcm-new-ds-color-blue-500);border-radius:50%;z-index:3;transition:box-shadow 0.2s ease-in-out;display:flex;align-items:center;justify-content:center}.bcm-range__container-bar-thumb>span{display:flex;width:100%;height:100%}.bcm-range__container-bar-thumb.hover{box-shadow:0px 2px 2px rgba(0, 0, 0, 0.1), 0px 3px 1px rgba(0, 0, 0, 0.05), 0px 1px 5px rgba(0, 0, 0, 0.1);cursor:pointer}.bcm-range__container-bar-thumb.hidden{display:none}.bcm-range__container-bar-thumb.left{left:22.22222%;transform:translate(-8px, -8px)}.bcm-range__container-bar-thumb.right{right:0%;transform:translate(8px, -8px)}.bcm-range .ticks{position:absolute;z-index:0;top:0;left:0;width:100%;display:flex;justify-content:space-between;padding:4px 0;user-select:none}.bcm-range .tick{position:relative;display:flex;justify-content:center;width:1px;color:var(--bcm-new-ds-color-slate-300);cursor:pointer;height:8px;line-height:32px;margin-bottom:8px;z-index:-1;transition:color 0.1s ease-in-out}.bcm-range .tick::before,.bcm-range .tick::after{content:\" \";position:absolute;width:1px;height:8px;background-color:var(--bcm-new-ds-color-slate-300);z-index:-1;transition:background-color 0.1s ease-in-out}.bcm-range .tick::before{top:-16px}.bcm-range .tick::after{top:0}.bcm-range .tick.hover{color:var(--bcm-new-ds-color-slate-400)}.bcm-range .tick.hover::before,.bcm-range .tick.hover::after{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-range .touch{position:absolute;width:calc(100% + 48px);left:-24px;top:-17px;opacity:0;height:45px;z-index:2;background-color:transparent;display:flex;flex-direction:row;justify-content:space-between}.bcm-range .touch-point{cursor:pointer;flex:1;border:1px solid var(--bcm-new-ds-color-slate-300);box-sizing:border-box;background-color:var(--bcm-new-ds-color-slate-300)}.bcm-range .touch-point:hover{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-range .touch::after,.bcm-range .touch::before{content:\"\";position:absolute;width:24px;height:100%;top:0}.bcm-range .touch::before{left:0}.bcm-range .touch::after{right:0}.bcm-range.vertical{margin:0 16px;padding:12px 0}.bcm-range.vertical .touch{width:calc(100% + 12px);left:-6px;top:-17px}.bcm-range.vertical .touch::after,.bcm-range.vertical .touch::before{width:12px}.bcm-range.vertical .bcm-range__container{transform:rotate(270deg)}.bcm-range.vertical .bcm-range__container .ticks .tick-text{position:absolute;top:0px;width:100%;transform:rotate(90deg)}";
|
|
@@ -28,7 +28,7 @@ const BcmRange = class {
|
|
|
28
28
|
this.value = 0;
|
|
29
29
|
this.height = "326px";
|
|
30
30
|
this.name = undefined;
|
|
31
|
-
this.direction = bcm.Bcm
|
|
31
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
32
32
|
this._prefix = undefined;
|
|
33
33
|
this._suffix = undefined;
|
|
34
34
|
this.multiple = false;
|
|
@@ -53,7 +53,7 @@ const BcmRange = class {
|
|
|
53
53
|
}
|
|
54
54
|
generate.Generate.createComponent('bcm-tooltip-box', {
|
|
55
55
|
id: 'box-' + this._id,
|
|
56
|
-
placement: this.direction === bcm.Bcm
|
|
56
|
+
placement: this.direction === bcm.Bcm.Direction.horizontal ? bcm.Bcm.Placement.top : bcm.Bcm.Placement.left,
|
|
57
57
|
color: 'blue'
|
|
58
58
|
}, null);
|
|
59
59
|
}
|
|
@@ -174,7 +174,7 @@ const BcmRange = class {
|
|
|
174
174
|
height: '100%',
|
|
175
175
|
width: height,
|
|
176
176
|
};
|
|
177
|
-
return (index.h(index.Host, { class: hostClasses, style: direction == bcm.Bcm
|
|
177
|
+
return (index.h(index.Host, { class: hostClasses, style: direction == bcm.Bcm.Direction.vertical && { height: height } }, index.h("div", { class: "bcm-range__container", style: direction == bcm.Bcm.Direction.vertical && verticalStyle }, index.h("input", { type: "range", id: `input-left-${this._id}`, min: leftMin, max: max, step: step, onChange: (event) => { this.syncValues('left', event); this.handleChange(); }, onInput: (event) => { this.syncValues('left', event); this.getTooltip('left').hide(); this.getTooltip('left').show(); }, onMouseOver: () => { this.getThumb('left').classList.add('hover'); this.getTooltip('left').show(); }, onMouseOut: () => { this.getThumb('left').classList.remove('hover'); this.getTooltip('left').hide(); }, value: this.leftValue, class: { 'single': !this.multiple } }), index.h("input", { type: "range", id: `input-right-${this._id}`, min: min, max: max, onChange: (event) => { this.syncValues('right', event); this.handleChange(); }, onInput: (event) => { this.syncValues('right', event); this.getTooltip('right').hide(); this.getTooltip('right').show(); }, onMouseOver: () => { this.getThumb('right').classList.add('hover'); this.getTooltip('right').show(); }, onMouseOut: () => { this.getThumb('right').classList.remove('hover'); this.getTooltip('right').hide(); }, step: step, value: this.rightValue }), index.h("div", { class: "bcm-range__container-bar" }, index.h("div", { class: "ticks" }, index.h(Ticks, null)), index.h("div", { class: "bcm-range__container-bar-track" }), index.h("div", { class: "bcm-range__container-bar-range", id: "bcm-range__thumb-range" }), index.h("div", { class: "bcm-range__container-bar-thumb left", id: `bcm-range__thumb-left-${this._id}` }, index.h("span", null)), index.h("div", { class: "bcm-range__container-bar-thumb right", id: `bcm-range__thumb-right-${this._id}` }, index.h("span", null))), index.h("div", { class: "touch" }, index.h(Touch, null)))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$3 = require('./index-c591ecec.js');
|
|
10
|
-
const bcm = require('./bcm-
|
|
10
|
+
const bcm = require('./bcm-7f703055.js');
|
|
11
11
|
const moment$1 = require('./moment-d06b012f.js');
|
|
12
12
|
const index$2 = require('./index-95ae50d0.js');
|
|
13
13
|
const index$1 = require('./index-3d67f613.js');
|
|
@@ -9325,7 +9325,7 @@ const BcmRcPicker = class {
|
|
|
9325
9325
|
return date && date !== "invalid date" ? moment$1.hooks(date) : null;
|
|
9326
9326
|
};
|
|
9327
9327
|
this.placeholder = undefined;
|
|
9328
|
-
this.size = bcm.Bcm.Size.medium;
|
|
9328
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
9329
9329
|
this.error = false;
|
|
9330
9330
|
this.disabled = false;
|
|
9331
9331
|
this.clearable = false;
|
|
@@ -8,10 +8,10 @@ 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 stringHelper = require('./string-helper-
|
|
11
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
12
12
|
const utils = require('./utils-fc077139.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./bcm-
|
|
14
|
+
require('./bcm-7f703055.js');
|
|
15
15
|
|
|
16
16
|
const selectCss = "@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-block;width:100%;margin:0}:host(.hidden){display:none}.container{display:block;max-width:256px;position:relative}.container.full-width{width:100%;max-width:100%}.selected{width:100%;box-sizing:border-box;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-grey-1);display:flex;justify-content:space-between;align-items:center;border:1px solid var(--bcm-color-grey-5);user-select:none;cursor:pointer}.selected:hover:not(.disabled){border-color:var(--bcm-color-prime-blue-5)}.selected:hover:not(.disabled) .select-clear-button{opacity:1}.selected:focus:not(.disabled){border-color:var(--bcm-color-prime-blue-5);box-shadow:0px 0px 4px var(--bcm-color-prime-blue-6)}.selected:focus:not(.disabled) .select-clear-button{opacity:1}.selected:focus{outline:none}.selected.disabled{background-color:var(--bcm-color-grey-3);color:var(--bcm-color-grey-8);cursor:not-allowed}.selected .buttons{padding:8px;height:100%;display:flex;align-items:center;justify-content:center}.selected .selected-text{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;padding:0 8px;width:100%}.selected .selected-tags{padding:0 4px;height:100%}.selected .tag-container{height:100%;display:flex;align-items:center;justify-content:flex-start;grid-gap:2px}.selected .tag-container>span{height:100%;align-items:center;justify-content:flex-start;display:flex;grid-gap:2px}.selected .tag-container .tag{max-width:200px}.selected .tag-container #other-tag{cursor:pointer}.selected .open,.selected .close{display:inline-flex}.selected .close{transform:rotate(180deg)}.selected .placeholder{color:var(--bcm-color-grey-6);user-select:none;font-size:14px;height:100%;display:flex;align-items:center;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.options-viewport{display:inline-block}.option-container{display:block;position:absolute;background-color:var(--bcm-color-grey-1);box-shadow:0px 2px 8px rgba(0, 0, 0, 0.15);box-sizing:border-box;width:100%;z-index:10000}.option-container.alignment-left{left:0}.option-container.alignment-right{right:0}.option-container.hidden{display:none}.option-container .search{position:sticky;padding:8px;margin-bottom:4px}.option-container .search:after{content:\"\";position:absolute;bottom:0;height:1px;width:calc(100% - 16px);background-color:var(--bcm-color-grey-5)}.options-viewport{display:block}.options-viewport bcm-select-option,.options-viewport ::slotted(bcm-select-option){white-space:normal}.options-viewport.hidden{display:none}.options-viewport.vertical{height:fit-content;max-height:200px}.options-viewport.horizontal:not(.flex){overflow-x:auto;width:100%}.options-viewport.horizontal:not(.flex) bcm-select-option,.options-viewport.horizontal:not(.flex) ::slotted(bcm-select-option){white-space:nowrap}.items{display:flex;flex-direction:column}.buttons{display:flex}.select-clear-button{display:inline-flex;align-items:center;outline:none;border:none;background:none;padding:0;cursor:pointer;margin-right:4px;opacity:0}.label{display:block;color:var(--bcm-color-grey-9)}.caption-area{min-height:20px}.input-caption{display:block}.selected-large{height:40px}.selected-medium{height:32px}.selected-small{height:24px}.caption-default{color:#8C8C8C}.caption-primary{color:#4293CF}.caption-success{color:#52C41A}.caption-warning{color:#FA8C16}.caption-error{color:#F5222D}.error .label{color:var(--bcm-color-red-6) !important}.error .selected{border:1px solid var(--bcm-color-red-6) !important}";
|
|
17
17
|
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-9fd41788.js');
|
|
13
|
+
require('./number-helper-19148ce9.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-f3eace30.js');
|
|
16
|
+
require('./element-dragger-a8562f82.js');
|
|
17
|
+
const bcm = require('./bcm-7f703055.js');
|
|
18
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
19
|
+
require('./colors-56282b00.js');
|
|
20
|
+
require('./utils-fc077139.js');
|
|
21
|
+
require('./colors-078851ec.js');
|
|
22
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
+
require('./package-03de8a92.js');
|
|
24
|
+
|
|
25
|
+
const osKeys = {
|
|
26
|
+
ctrl: "⌘",
|
|
27
|
+
alt: "⌥",
|
|
28
|
+
shift: "⇧",
|
|
29
|
+
del: "⌫",
|
|
30
|
+
delete: "⌫",
|
|
31
|
+
backspace: "⌦",
|
|
32
|
+
enter: "⏎",
|
|
33
|
+
return: "⏎",
|
|
34
|
+
};
|
|
35
|
+
const BcmShortcut = class {
|
|
36
|
+
constructor(hostRef) {
|
|
37
|
+
index.registerInstance(this, hostRef);
|
|
38
|
+
this.isMac = /Mac/.test(window.navigator.userAgent);
|
|
39
|
+
this.hotkey = undefined;
|
|
40
|
+
this.color = "slate";
|
|
41
|
+
this.size = bcm.Bcm$1.Size.small;
|
|
42
|
+
}
|
|
43
|
+
getHotkey(key) {
|
|
44
|
+
if (!key) {
|
|
45
|
+
return "";
|
|
46
|
+
}
|
|
47
|
+
if (this.isMac && (key.includes(" ") || key.includes("+"))) {
|
|
48
|
+
const keys = key.split(/[\s+]+/);
|
|
49
|
+
return keys.map(k => osKeys[k] || k).join("");
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
return key;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
const { size, color, hotkey } = this;
|
|
57
|
+
return (index.h(index.Host, { class: index$1.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", {
|
|
58
|
+
"tw-text-2": size === bcm.Bcm$1.Size.small,
|
|
59
|
+
"tw-text-3": size === bcm.Bcm$1.Size.medium,
|
|
60
|
+
"tw-text-4": size === bcm.Bcm$1.Size.large,
|
|
61
|
+
}), style: Object.assign({}, generate.Generate.getTwColor({ color })) }, this.getHotkey(hotkey)));
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
exports.bcm_shortcut = BcmShortcut;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index$1 = require('./index-c591ecec.js');
|
|
10
|
+
require('./color-helper-c3a819ea.js');
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-9fd41788.js');
|
|
13
|
+
require('./number-helper-19148ce9.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-f3eace30.js');
|
|
16
|
+
require('./element-dragger-a8562f82.js');
|
|
17
|
+
require('./bcm-7f703055.js');
|
|
18
|
+
const index = require('./index-5279dea2.js');
|
|
19
|
+
require('./colors-56282b00.js');
|
|
20
|
+
require('./utils-fc077139.js');
|
|
21
|
+
require('./colors-078851ec.js');
|
|
22
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
+
require('./package-03de8a92.js');
|
|
24
|
+
|
|
25
|
+
const skeletonStyle = index.ce({
|
|
26
|
+
slots: {
|
|
27
|
+
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",
|
|
28
|
+
},
|
|
29
|
+
variants: {
|
|
30
|
+
variant: {
|
|
31
|
+
rect: {
|
|
32
|
+
host: "tw-rounded",
|
|
33
|
+
},
|
|
34
|
+
circle: {
|
|
35
|
+
host: "tw-rounded-full",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
effect: {
|
|
39
|
+
pulse: {
|
|
40
|
+
host: "tw-animate-pulse",
|
|
41
|
+
},
|
|
42
|
+
ping: {
|
|
43
|
+
host: "tw-animate-ping",
|
|
44
|
+
},
|
|
45
|
+
none: {
|
|
46
|
+
host: "tw-animate-none",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
hidden: {
|
|
50
|
+
true: {
|
|
51
|
+
host: "tw-hidden",
|
|
52
|
+
},
|
|
53
|
+
false: {
|
|
54
|
+
host: "tw-flex",
|
|
55
|
+
},
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
variant: "rect",
|
|
60
|
+
effect: "pulse",
|
|
61
|
+
hidden: false,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
const BcmSkeleton = class {
|
|
66
|
+
constructor(hostRef) {
|
|
67
|
+
index$1.registerInstance(this, hostRef);
|
|
68
|
+
this._id = generate.Generate.UID();
|
|
69
|
+
this.effect = "pulse";
|
|
70
|
+
this.variant = "rect";
|
|
71
|
+
this.hidden = false;
|
|
72
|
+
this.width = "100%";
|
|
73
|
+
this.height = "16px";
|
|
74
|
+
this.marginBottom = null;
|
|
75
|
+
this.customStyles = {};
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
const { variant, effect, width, height, marginBottom, customStyles, hidden } = this;
|
|
79
|
+
const style = Object.assign(Object.assign(Object.assign(Object.assign({}, (width ? { width } : {})), (height ? { height } : {})), (marginBottom ? { marginBottom } : {})), (typeof customStyles === "string" ? JSON.parse(customStyles) : customStyles));
|
|
80
|
+
const { host } = skeletonStyle({ variant, effect, hidden });
|
|
81
|
+
return (index$1.h(index$1.Host, { class: host(), style: style }));
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
exports.bcm_skeleton = BcmSkeleton;
|
|
@@ -8,10 +8,10 @@ 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 stepperStates = require('./stepper-states-
|
|
11
|
+
const generate = require('./generate-9fd41788.js');
|
|
12
|
+
const stepperStates = require('./stepper-states-caa5dc36.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-03de8a92.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./index-d321de96.js');
|
|
17
17
|
|
|
@@ -9,21 +9,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = 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-9fd41788.js');
|
|
13
|
+
require('./number-helper-19148ce9.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-f3eace30.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
|
const index = require('./index-95ae50d0.js');
|
|
20
20
|
require('./types-cc4adee7.js');
|
|
21
21
|
require('./types-7523fd99.js');
|
|
22
|
-
const stepperStates = require('./stepper-states-
|
|
22
|
+
const stepperStates = require('./stepper-states-caa5dc36.js');
|
|
23
23
|
require('./colors-56282b00.js');
|
|
24
24
|
require('./colors-078851ec.js');
|
|
25
25
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-03de8a92.js');
|
|
27
27
|
require('./index-d321de96.js');
|
|
28
28
|
|
|
29
29
|
const StepperHeaderTemplate = ({ _title, description, status, valid, index: index$2, loading, active, stepChange, statusIcon, icon, disabled, headerHidden, }) => {
|
|
@@ -56,9 +56,9 @@ const BcmStepper = class {
|
|
|
56
56
|
this.bcmStepperBeforeChange = index$1.createEvent(this, "bcm-step-before-change", 7);
|
|
57
57
|
this.hidden = false;
|
|
58
58
|
this._id = generate.Generate.UID();
|
|
59
|
-
this.direction = bcm.Bcm.Direction.horizontal;
|
|
59
|
+
this.direction = bcm.Bcm$1.Direction.horizontal;
|
|
60
60
|
this.linear = false;
|
|
61
|
-
this.size = bcm.Bcm.Size.medium;
|
|
61
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
62
62
|
this.icon = false;
|
|
63
63
|
this.active = 1;
|
|
64
64
|
this.stepperId = generate.Generate.UID();
|
|
@@ -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-9fd41788.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-03de8a92.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-9fd41788.js');
|
|
13
|
+
require('./number-helper-19148ce9.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-f3eace30.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-03de8a92.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-9fd41788.js');
|
|
13
|
+
require('./number-helper-19148ce9.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-f3eace30.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-03de8a92.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-9fd41788.js');
|
|
13
|
+
require('./number-helper-19148ce9.js');
|
|
14
|
+
require('./string-helper-fda7cbba.js');
|
|
15
|
+
require('./validators-f3eace30.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-03de8a92.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-9fd41788.js');
|
|
14
|
+
require('./number-helper-19148ce9.js');
|
|
15
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
16
|
+
require('./validators-f3eace30.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-03de8a92.js');
|
|
27
27
|
|
|
28
28
|
// DO NOT UPDATE MANUALLY: Generated from script during build time
|
|
29
29
|
var VERSION$4 = '29.0.0';
|