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
|
@@ -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 drawerCss = "@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-drawer{user-select:none;position:absolute;width:100vw;height:100vh;top:-100%;left:-100%;overflow:hidden;visibility:hidden}.bcm-drawer--open{visibility:visible;top:0;left:0}.bcm-drawer__content{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;user-select:text;position:fixed;width:100%;height:100%;background-color:#f1f5f9;z-index:10350;transition:transform 0.2s ease-in-out;transform:translateX(-100%);visibility:hidden;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.bcm-drawer__content-body{padding:0 24px 24px 24px}.bcm-drawer__content.full-width{max-width:100%}.bcm-drawer__content-header{padding:24px 24px 0 24px;display:flex;justify-content:space-between;align-items:flex-start;color:var(--bcm-color-grey-8);margin-bottom:8px}.bcm-drawer__content-header-close{padding:4px 8px;margin-right:-4px;margin-top:-4px;color:var(--bcm-color-grey-7)}.bcm-drawer__content-header-close:hover{cursor:pointer;color:var(--bcm-color-grey-8)}.bcm-drawer__content-footer{padding:12px 24px}.bcm-drawer__content--position-left,.bcm-drawer__content--position-right{max-width:500px}.bcm-drawer__content--position-left.full-width,.bcm-drawer__content--position-right.full-width{max-width:100%}.bcm-drawer__content--position-top,.bcm-drawer__content--position-bottom{max-height:500px}.bcm-drawer__content--position-top.full-width,.bcm-drawer__content--position-bottom.full-width{max-height:100%}.bcm-drawer__content--position-left{transform:translateX(-100%);top:0;left:0}.bcm-drawer__content--position-top{transform:translateY(-100%);top:0;left:0}.bcm-drawer__content--position-right{transform:translateX(100%);top:0;right:0}.bcm-drawer__content--position-bottom{transform:translateY(100%);bottom:0;left:0}.bcm-drawer__content--open{transform:translateX(0);visibility:visible}.bcm-drawer__content--close{visibility:visible}.bcm-drawer__overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);z-index:10349;visibility:hidden;opacity:0;transition:opacity 0.3s ease-in-out}.bcm-drawer__overlay--close{opacity:0;visibility:visible;transform:translateX(-100%)}.bcm-drawer__overlay--open{opacity:1;visibility:visible;transform:translateX(0)}";
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ const BcmDrawer = class {
|
|
|
31
31
|
this.bcmBeforeClose = index.createEvent(this, "bcm-before-close", 7);
|
|
32
32
|
this._id = generate.Generate.UID();
|
|
33
33
|
this._title = undefined;
|
|
34
|
-
this.position = bcm.Bcm.Position.right;
|
|
34
|
+
this.position = bcm.Bcm$1.Position.right;
|
|
35
35
|
this.fullWidth = false;
|
|
36
36
|
this._open = false;
|
|
37
37
|
this._close = false;
|
|
@@ -61,7 +61,7 @@ const BcmDrawer = class {
|
|
|
61
61
|
}
|
|
62
62
|
keyboardNavigation(e) {
|
|
63
63
|
const keyCode = e.keyCode || 0;
|
|
64
|
-
if (keyCode == bcm.Bcm.KeyCode.escape) {
|
|
64
|
+
if (keyCode == bcm.Bcm$1.KeyCode.escape) {
|
|
65
65
|
e.preventDefault();
|
|
66
66
|
this.hide();
|
|
67
67
|
}
|
|
@@ -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 jsonParseDecarator = require('./json-parse-decarator-
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
const bcm = require('./bcm-
|
|
12
|
+
const jsonParseDecarator = require('./json-parse-decarator-c724f6c4.js');
|
|
13
|
+
const generate = require('./generate-9fd41788.js');
|
|
14
|
+
const bcm = require('./bcm-7f703055.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-03de8a92.js');
|
|
17
17
|
require('./colors-078851ec.js');
|
|
18
18
|
|
|
19
19
|
const dropdownCss = "@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-dropdown{width:fit-content;display:inline-flex;flex-direction:row}.bcm-dropdown.hidden{display:none}.bcm-dropdown.no-style{cursor:pointer}.bcm-dropdown.full-width{width:100%}.bcm-dropdown.full-width .bcm-button__container-text{flex:1;justify-content:space-between}.bcm-dropdown__type-split .main-button .bcm-button__container{border-top-right-radius:0;border-bottom-right-radius:0}.bcm-dropdown__type-split .split-button .bcm-button__container{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px;min-width:auto}.bcm-dropdown__icon{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;transform:rotate(0deg);transition:transform 0.2s ease}.bcm-dropdown__icon--open{transform:rotate(180deg)}";
|
|
@@ -38,9 +38,9 @@ const BcmDropdown = class {
|
|
|
38
38
|
this.menuId = generate.Generate.UID();
|
|
39
39
|
this.hidden = false;
|
|
40
40
|
this.type = 'dropdown';
|
|
41
|
-
this.size = bcm.Bcm
|
|
41
|
+
this.size = bcm.Bcm.Size.medium;
|
|
42
42
|
this.disabled = false;
|
|
43
|
-
this.kind = bcm.Bcm
|
|
43
|
+
this.kind = bcm.Bcm.Kind.solid;
|
|
44
44
|
this.icon = undefined;
|
|
45
45
|
this.href = undefined;
|
|
46
46
|
this.target = undefined;
|
|
@@ -52,7 +52,7 @@ const BcmDropdown = class {
|
|
|
52
52
|
this.variant = undefined;
|
|
53
53
|
this.dataDismiss = false;
|
|
54
54
|
this.fullWidth = false;
|
|
55
|
-
this.iconPosition = bcm.Bcm
|
|
55
|
+
this.iconPosition = bcm.Bcm.IconPosition.prefix;
|
|
56
56
|
this.placement = undefined;
|
|
57
57
|
this.height = undefined;
|
|
58
58
|
this.maxHeight = '500px';
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-9fd41788.js');
|
|
11
11
|
const index$1 = require('./index-95ae50d0.js');
|
|
12
|
-
const stringHelper = require('./string-helper-
|
|
12
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
13
13
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-03de8a92.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
|
-
require('./bcm-
|
|
17
|
+
require('./bcm-7f703055.js');
|
|
18
18
|
require('./colors-56282b00.js');
|
|
19
19
|
require('./utils-fc077139.js');
|
|
20
20
|
|
|
@@ -8,10 +8,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
const stringHelper = require('./string-helper-
|
|
13
|
-
const bcm = require('./bcm-
|
|
14
|
-
require('./package-
|
|
11
|
+
const generate = require('./generate-9fd41788.js');
|
|
12
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
13
|
+
const bcm = require('./bcm-7f703055.js');
|
|
14
|
+
require('./package-03de8a92.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
17
|
|
|
@@ -70,7 +70,7 @@ const BcmForm2 = class {
|
|
|
70
70
|
const noValid = ['bcm-checkbox', 'bcm-switch'].includes(stringHelper.StringHelper.lowercase(element.tagName)) ? element.value == false : stringHelper.StringHelper.isNullOrEmpty(element.value);
|
|
71
71
|
if (element.required) {
|
|
72
72
|
if (noValid) {
|
|
73
|
-
element.captionError = bcm.Bcm
|
|
73
|
+
element.captionError = bcm.Bcm.FormErrorMessages.required;
|
|
74
74
|
element.captionType = 'error';
|
|
75
75
|
this.formObj.set(element.id, {
|
|
76
76
|
name: element.name,
|
|
@@ -9,10 +9,10 @@ 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 stringHelper = require('./string-helper-
|
|
12
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
-
require('./bcm-
|
|
15
|
+
require('./bcm-7f703055.js');
|
|
16
16
|
|
|
17
17
|
// /**
|
|
18
18
|
// *
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-9fd41788.js');
|
|
11
11
|
const index$1 = require('./index-95ae50d0.js');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-03de8a92.js');
|
|
13
13
|
require('./colors-078851ec.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
15
|
|
|
@@ -9,12 +9,12 @@ 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
|
-
const bcm = require('./bcm-
|
|
17
|
+
const bcm = require('./bcm-7f703055.js');
|
|
18
18
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
19
19
|
const index$2 = require('./index-95ae50d0.js');
|
|
20
20
|
require('./types-cc4adee7.js');
|
|
@@ -24,7 +24,7 @@ require('./colors-56282b00.js');
|
|
|
24
24
|
require('./utils-fc077139.js');
|
|
25
25
|
require('./colors-078851ec.js');
|
|
26
26
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
27
|
-
require('./package-
|
|
27
|
+
require('./package-03de8a92.js');
|
|
28
28
|
|
|
29
29
|
const inputDropdownStyle = index.ce({
|
|
30
30
|
slots: {
|
|
@@ -114,7 +114,7 @@ const BcmInputDropdown = class {
|
|
|
114
114
|
this.defaultValue = {};
|
|
115
115
|
this.lateKeys = "L";
|
|
116
116
|
this.maxCharacterLimit = 1;
|
|
117
|
-
this.size = bcm.Bcm.Size.medium;
|
|
117
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
118
118
|
this.label = undefined;
|
|
119
119
|
this.placeholder = undefined;
|
|
120
120
|
this.name = undefined;
|
|
@@ -137,7 +137,7 @@ const BcmInputDropdown = class {
|
|
|
137
137
|
];
|
|
138
138
|
this.caption = undefined;
|
|
139
139
|
this.noCaption = false;
|
|
140
|
-
this.captionType = bcm.Bcm.Status.default;
|
|
140
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
141
141
|
this.captionError = undefined;
|
|
142
142
|
this.customErrorMessage = undefined;
|
|
143
143
|
this.captionCache = undefined;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
const bcm = require('./bcm-
|
|
10
|
+
const generate = require('./generate-9fd41788.js');
|
|
11
|
+
const bcm = require('./bcm-7f703055.js');
|
|
12
12
|
const index$1 = require('./index-95ae50d0.js');
|
|
13
13
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-03de8a92.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
17
|
require('./colors-56282b00.js');
|
|
@@ -23,7 +23,7 @@ const BcmItem = class {
|
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
index.registerInstance(this, hostRef);
|
|
25
25
|
this._id = generate.Generate.UID();
|
|
26
|
-
this.size = bcm.Bcm
|
|
26
|
+
this.size = bcm.Bcm.Size.medium;
|
|
27
27
|
this.color = undefined;
|
|
28
28
|
this.static = false;
|
|
29
29
|
}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
const stringHelper = require('./string-helper-
|
|
12
|
-
require('./package-
|
|
10
|
+
const generate = require('./generate-9fd41788.js');
|
|
11
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
12
|
+
require('./package-03de8a92.js');
|
|
13
13
|
require('./colors-078851ec.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
-
require('./bcm-
|
|
15
|
+
require('./bcm-7f703055.js');
|
|
16
16
|
|
|
17
17
|
const BcmItems = class {
|
|
18
18
|
constructor(hostRef) {
|
|
@@ -8,23 +8,23 @@ 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-
|
|
13
|
-
const labelTemplate = require('./label-template-
|
|
11
|
+
const generate = require('./generate-9fd41788.js');
|
|
12
|
+
const bcm = require('./bcm-7f703055.js');
|
|
13
|
+
const labelTemplate = require('./label-template-80235581.js');
|
|
14
14
|
require('./color-helper-c3a819ea.js');
|
|
15
15
|
require('./datetime-helper-eaf4fadb.js');
|
|
16
|
-
require('./number-helper-
|
|
17
|
-
require('./string-helper-
|
|
18
|
-
require('./validators-
|
|
19
|
-
const tooltipHelper = require('./tooltip-helper-
|
|
16
|
+
require('./number-helper-19148ce9.js');
|
|
17
|
+
require('./string-helper-fda7cbba.js');
|
|
18
|
+
require('./validators-f3eace30.js');
|
|
19
|
+
const tooltipHelper = require('./tooltip-helper-a7e84230.js');
|
|
20
20
|
require('./element-dragger-a8562f82.js');
|
|
21
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-03de8a92.js');
|
|
23
23
|
require('./colors-078851ec.js');
|
|
24
|
-
require('./slot-template-
|
|
24
|
+
require('./slot-template-873b0cd5.js');
|
|
25
25
|
require('./colors-56282b00.js');
|
|
26
26
|
require('./utils-fc077139.js');
|
|
27
|
-
require('./floating-ui-
|
|
27
|
+
require('./floating-ui-b441ea7c.js');
|
|
28
28
|
|
|
29
29
|
const labelCss = "@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-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)}";
|
|
30
30
|
|
|
@@ -38,7 +38,7 @@ const BcmLabel = class {
|
|
|
38
38
|
this.form = undefined;
|
|
39
39
|
this.htmlFor = undefined;
|
|
40
40
|
this.hidden = false;
|
|
41
|
-
this.type = bcm.Bcm
|
|
41
|
+
this.type = bcm.Bcm.Status.default;
|
|
42
42
|
this.tooltip = undefined;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
@@ -58,11 +58,11 @@ const BcmTooltip = class {
|
|
|
58
58
|
this.bcmTooltipHide = index.createEvent(this, "bcmTooltipHide", 7);
|
|
59
59
|
this._id = generate.Generate.UID();
|
|
60
60
|
this.message = "";
|
|
61
|
-
this.placement = bcm.Bcm.Placement.top;
|
|
62
|
-
this.trigger = bcm.Bcm.TriggerType.click;
|
|
61
|
+
this.placement = bcm.Bcm$1.Placement.top;
|
|
62
|
+
this.trigger = bcm.Bcm$1.TriggerType.click;
|
|
63
63
|
this.open = false;
|
|
64
64
|
this.color = "slate";
|
|
65
|
-
this.size = bcm.Bcm.Size.medium;
|
|
65
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
66
66
|
this.openDelay = 0;
|
|
67
67
|
this.closeDelay = 0;
|
|
68
68
|
this.autoHide = false;
|
|
@@ -8,7 +8,7 @@ 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 bcm = require('./bcm-
|
|
11
|
+
const bcm = require('./bcm-7f703055.js');
|
|
12
12
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
13
|
|
|
14
14
|
const linkCss = "@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-link{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline;color:var(--bcm-new-ds-color-blue-500)}.bcm-link.hidden{display:none}.bcm-link.disabled{pointer-events:none;opacity:0.5;cursor:not-allowed}.bcm-link__anchor{display:inline-flex;align-items:baseline;font-size:inherit;color:inherit}.bcm-link__anchor.prefix .prefix-icon{margin-right:4px}.bcm-link__anchor.suffix .suffix-icon{margin-left:4px}.bcm-link__anchor:hover,.bcm-link__anchor:focus,.bcm-link__anchor:active,.bcm-link__anchor:focus-visible{outline:none}.bcm-link__anchor:hover{color:var(--bcm-new-ds-color-blue-600)}.bcm-link__anchor:active{color:var(--bcm-new-ds-color-blue-700)}.bcm-link__anchor:focus-visible{color:var(--bcm-new-ds-color-blue-800)}";
|
|
@@ -21,7 +21,7 @@ const BcmLink = class {
|
|
|
21
21
|
this.target = undefined;
|
|
22
22
|
this.icon = undefined;
|
|
23
23
|
this.disabled = false;
|
|
24
|
-
this.iconPosition = bcm.Bcm
|
|
24
|
+
this.iconPosition = bcm.Bcm.IconPosition.prefix;
|
|
25
25
|
}
|
|
26
26
|
handleOnClick(e) {
|
|
27
27
|
if (this.disabled) {
|
|
@@ -42,7 +42,7 @@ const BcmLink = class {
|
|
|
42
42
|
'suffix': this.linkIsExternal(href)
|
|
43
43
|
});
|
|
44
44
|
const ElementTagType = href ? 'a' : 'span';
|
|
45
|
-
return (index.h(index.Host, { disabled: disabled, class: hostClasses }, index.h(ElementTagType, { class: classes, href: href, target: this.linkIsExternal(href) ? '_blank' : target }, icon && iconPosition === bcm.Bcm
|
|
45
|
+
return (index.h(index.Host, { disabled: disabled, class: hostClasses }, index.h(ElementTagType, { class: classes, href: href, target: this.linkIsExternal(href) ? '_blank' : target }, icon && iconPosition === bcm.Bcm.IconPosition.prefix && index.h("bcm-icon", { class: "prefix-icon", icon: icon }), index.h("slot", null), this.linkIsExternal(href) && index.h("bcm-icon", { class: "suffix-icon", icon: "far fa-external-link-alt" }))));
|
|
46
46
|
}
|
|
47
47
|
get el() { return index.getElement(this); }
|
|
48
48
|
};
|
|
@@ -9,27 +9,26 @@ 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 floatingUi = require('./floating-ui-
|
|
19
|
-
const bcm = require('./bcm-
|
|
20
|
-
const index$1 = require('./index-5279dea2.js');
|
|
18
|
+
const floatingUi = require('./floating-ui-b441ea7c.js');
|
|
19
|
+
const bcm = require('./bcm-7f703055.js');
|
|
21
20
|
require('./colors-56282b00.js');
|
|
22
21
|
require('./colors-078851ec.js');
|
|
23
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
24
|
-
require('./package-
|
|
23
|
+
require('./package-03de8a92.js');
|
|
25
24
|
|
|
26
25
|
const BcmLinked = class {
|
|
27
26
|
constructor(hostRef) {
|
|
28
27
|
index.registerInstance(this, hostRef);
|
|
29
28
|
this.bcmOpen = index.createEvent(this, "bcm-open", 7);
|
|
30
29
|
this._id = generate.Generate.UID();
|
|
31
|
-
this.placement = bcm.Bcm.Placement["bottom-start"];
|
|
32
|
-
this.trigger = bcm.Bcm.TriggerType.click;
|
|
30
|
+
this.placement = bcm.Bcm$1.Placement["bottom-start"];
|
|
31
|
+
this.trigger = bcm.Bcm$1.TriggerType.click;
|
|
33
32
|
this.targetId = "";
|
|
34
33
|
this.height = undefined;
|
|
35
34
|
this.maxHeight = undefined;
|
|
@@ -102,7 +101,7 @@ const BcmLinked = class {
|
|
|
102
101
|
}
|
|
103
102
|
init() {
|
|
104
103
|
const target = this.target();
|
|
105
|
-
this.trigger === bcm.Bcm.TriggerType.hover && this.listenMouseOver();
|
|
104
|
+
this.trigger === bcm.Bcm$1.TriggerType.hover && this.listenMouseOver();
|
|
106
105
|
if (target) {
|
|
107
106
|
target.setAttribute("is-linked", this.el.id);
|
|
108
107
|
if (!generate.Generate.getAncestor(target, "bcm-linked")) {
|
|
@@ -117,7 +116,7 @@ const BcmLinked = class {
|
|
|
117
116
|
this.init();
|
|
118
117
|
}
|
|
119
118
|
triggerWatch(newValue) {
|
|
120
|
-
if (newValue === bcm.Bcm.TriggerType.hover) {
|
|
119
|
+
if (newValue === bcm.Bcm$1.TriggerType.hover) {
|
|
121
120
|
this.listenMouseOver();
|
|
122
121
|
}
|
|
123
122
|
}
|
|
@@ -165,7 +164,7 @@ const BcmLinked = class {
|
|
|
165
164
|
clickListener(e) {
|
|
166
165
|
if (!this.target())
|
|
167
166
|
return;
|
|
168
|
-
if (this.trigger === bcm.Bcm.TriggerType.hover || this.trigger === bcm.Bcm.TriggerType.custom)
|
|
167
|
+
if (this.trigger === bcm.Bcm$1.TriggerType.hover || this.trigger === bcm.Bcm$1.TriggerType.custom)
|
|
169
168
|
return;
|
|
170
169
|
const isTarget = generate.Generate.findEventPath(e, this.target());
|
|
171
170
|
const isSelf = generate.Generate.findEventPath(e, this.el);
|
|
@@ -217,73 +216,4 @@ const BcmLinked = class {
|
|
|
217
216
|
}; }
|
|
218
217
|
};
|
|
219
218
|
|
|
220
|
-
const skeletonStyle = index$1.ce({
|
|
221
|
-
slots: {
|
|
222
|
-
host: "tw-bg-gray-200 tw-w-full tw-inline-block",
|
|
223
|
-
},
|
|
224
|
-
variants: {
|
|
225
|
-
variant: {
|
|
226
|
-
rect: {
|
|
227
|
-
host: "tw-rounded-md",
|
|
228
|
-
},
|
|
229
|
-
circle: {
|
|
230
|
-
host: "tw-rounded-full tw-w-8 tw-h-8",
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
effect: {
|
|
234
|
-
pulse: {
|
|
235
|
-
host: "tw-animate-pulse",
|
|
236
|
-
},
|
|
237
|
-
ping: {
|
|
238
|
-
host: "tw-animate-ping",
|
|
239
|
-
},
|
|
240
|
-
none: {
|
|
241
|
-
host: "tw-animate-none",
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
},
|
|
245
|
-
defaultVariants: {
|
|
246
|
-
variant: "rect",
|
|
247
|
-
effect: "pulse",
|
|
248
|
-
},
|
|
249
|
-
});
|
|
250
|
-
|
|
251
|
-
const skeletonCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host([hidden]){display:none}:host{display:block;position:relative;overflow:hidden}";
|
|
252
|
-
|
|
253
|
-
const BcmSkeleton = class {
|
|
254
|
-
constructor(hostRef) {
|
|
255
|
-
index.registerInstance(this, hostRef);
|
|
256
|
-
this.items = [];
|
|
257
|
-
this._id = generate.Generate.UID();
|
|
258
|
-
this.effect = "pulse";
|
|
259
|
-
this.variant = "rect";
|
|
260
|
-
this.count = 1;
|
|
261
|
-
this.hidden = false;
|
|
262
|
-
this.width = null;
|
|
263
|
-
this.height = "16px";
|
|
264
|
-
this.marginBottom = null;
|
|
265
|
-
this.customStyles = {};
|
|
266
|
-
}
|
|
267
|
-
componentWillLoad() {
|
|
268
|
-
this.init();
|
|
269
|
-
}
|
|
270
|
-
componentWillUpdate() {
|
|
271
|
-
this.init();
|
|
272
|
-
}
|
|
273
|
-
init() {
|
|
274
|
-
this.items.length = this.count;
|
|
275
|
-
this.items.fill(1);
|
|
276
|
-
}
|
|
277
|
-
render() {
|
|
278
|
-
const { variant, effect, width, height, marginBottom, customStyles } = this;
|
|
279
|
-
const style = Object.assign(Object.assign(Object.assign(Object.assign({}, (width ? { width } : {})), (height ? { height } : {})), (marginBottom ? { marginBottom } : {})), (typeof customStyles === "string" ? JSON.parse(customStyles) : customStyles));
|
|
280
|
-
const { host } = skeletonStyle({ variant, effect });
|
|
281
|
-
return (index.h(index.Host, null, this.items.map((_, index$1) => {
|
|
282
|
-
return index.h("div", { role: "status", part: "base", key: index$1, class: host(), "aria-busy": "true", "aria-live": "polite", style: style });
|
|
283
|
-
})));
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
BcmSkeleton.style = skeletonCss;
|
|
287
|
-
|
|
288
219
|
exports.bcm_linked = BcmLinked;
|
|
289
|
-
exports.bcm_skeleton = BcmSkeleton;
|