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,22 +7,22 @@
|
|
|
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$2 = require('./index-95ae50d0.js');
|
|
13
13
|
const index$1 = require('./index-d321de96.js');
|
|
14
|
-
const slotTemplate = require('./slot-template-
|
|
14
|
+
const slotTemplate = require('./slot-template-873b0cd5.js');
|
|
15
15
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-03de8a92.js');
|
|
17
17
|
require('./colors-078851ec.js');
|
|
18
18
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
19
|
-
require('./string-helper-
|
|
19
|
+
require('./string-helper-fda7cbba.js');
|
|
20
20
|
require('./colors-56282b00.js');
|
|
21
21
|
require('./utils-fc077139.js');
|
|
22
22
|
|
|
23
23
|
const ButtonTemplate = ({ value, type, componentClass, disabled, href, target, loading, isIconOnly, icon, iconPosition, id }) => {
|
|
24
|
-
const ButtonTagType = (href) ? bcm.Bcm
|
|
25
|
-
return (index.h(ButtonTagType, Object.assign({ id: id }, (type == bcm.Bcm
|
|
24
|
+
const ButtonTagType = (href) ? bcm.Bcm.HtmlElementType.a : bcm.Bcm.HtmlElementType.button;
|
|
25
|
+
return (index.h(ButtonTagType, Object.assign({ id: id }, (type == bcm.Bcm.HtmlElementType.button && { type }), { class: componentClass, disabled: disabled, href: href, target: target, tabindex: "0" }),
|
|
26
26
|
index.h("span", { hidden: true },
|
|
27
27
|
index.h("slot", null)),
|
|
28
28
|
loading && index.h("span", { class: "bcm-button__container-loading" },
|
|
@@ -212,7 +212,7 @@ const setValue = (val) => {
|
|
|
212
212
|
const data = Object.assign(Object.assign({}, val), (variantOptions[val.variant] && {
|
|
213
213
|
icon: variantOptions[val.variant].icon,
|
|
214
214
|
value: variantOptions[val.variant].text,
|
|
215
|
-
iconPosition: bcm.Bcm
|
|
215
|
+
iconPosition: bcm.Bcm.IconPosition[variantOptions[val.variant].iconPosition],
|
|
216
216
|
variantColor: variantOptions[val.variant].color
|
|
217
217
|
}));
|
|
218
218
|
state.value.set(data.id, data);
|
|
@@ -235,10 +235,10 @@ const BcmButton = class {
|
|
|
235
235
|
this.bcmClick = index.createEvent(this, "bcm-click", 7);
|
|
236
236
|
this._id = generate.Generate.UID();
|
|
237
237
|
this.hidden = false;
|
|
238
|
-
this.type = bcm.Bcm
|
|
239
|
-
this.size = bcm.Bcm
|
|
238
|
+
this.type = bcm.Bcm.ButtonType.button;
|
|
239
|
+
this.size = bcm.Bcm.Size.medium;
|
|
240
240
|
this.disabled = false;
|
|
241
|
-
this.kind = bcm.Bcm
|
|
241
|
+
this.kind = bcm.Bcm.Kind.solid;
|
|
242
242
|
this.outline = false;
|
|
243
243
|
this.icon = undefined;
|
|
244
244
|
this.href = undefined;
|
|
@@ -248,7 +248,7 @@ const BcmButton = class {
|
|
|
248
248
|
this.variant = undefined;
|
|
249
249
|
this.dataDismiss = false;
|
|
250
250
|
this.fullWidth = false;
|
|
251
|
-
this.iconPosition = bcm.Bcm
|
|
251
|
+
this.iconPosition = bcm.Bcm.IconPosition.prefix;
|
|
252
252
|
this.color = undefined;
|
|
253
253
|
this.checked = false;
|
|
254
254
|
}
|
|
@@ -9,15 +9,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const stringHelper = require('./string-helper-
|
|
14
|
-
const slotTemplate = require('./slot-template-
|
|
12
|
+
const generate = require('./generate-9fd41788.js');
|
|
13
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
14
|
+
const slotTemplate = require('./slot-template-873b0cd5.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
16
|
require('./colors-56282b00.js');
|
|
17
17
|
require('./utils-fc077139.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
|
-
require('./package-
|
|
20
|
-
require('./bcm-
|
|
19
|
+
require('./package-03de8a92.js');
|
|
20
|
+
require('./bcm-7f703055.js');
|
|
21
21
|
|
|
22
22
|
const cardCss = "@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-card{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1);box-sizing:border-box}.bcm-card__header,.bcm-card__body,.bcm-card__footer{display:block;width:100%}.bcm-card__header{border-radius:8px 8px 0 0;padding:12px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-card__body{padding:12px 24px}.bcm-card__footer{padding:12px 24px;border-radius:0 0 8px 8px}";
|
|
23
23
|
|
|
@@ -8,17 +8,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
const index$2 = 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
|
const index = require('./index-d321de96.js');
|
|
15
|
-
const labelTemplate = require('./label-template-
|
|
15
|
+
const labelTemplate = require('./label-template-80235581.js');
|
|
16
16
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
17
17
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-03de8a92.js');
|
|
19
19
|
require('./colors-078851ec.js');
|
|
20
|
-
require('./slot-template-
|
|
21
|
-
require('./string-helper-
|
|
20
|
+
require('./slot-template-873b0cd5.js');
|
|
21
|
+
require('./string-helper-fda7cbba.js');
|
|
22
22
|
|
|
23
23
|
const { state } = index.createStore({
|
|
24
24
|
group: new Map(),
|
|
@@ -237,7 +237,7 @@ const BcmCheckboxGroup = class {
|
|
|
237
237
|
this.change = index$1.createEvent(this, "bcm-change", 7);
|
|
238
238
|
this.groupCheckedList = index$1.createEvent(this, "bcm-group-checked-list", 7);
|
|
239
239
|
this._id = generate.Generate.UID();
|
|
240
|
-
this.direction = bcm.Bcm
|
|
240
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
241
241
|
this.items = [];
|
|
242
242
|
this.indeterminate = false;
|
|
243
243
|
this.name = undefined;
|
|
@@ -252,10 +252,10 @@ const BcmCheckboxGroup = class {
|
|
|
252
252
|
this.fullWidth = false;
|
|
253
253
|
this.optionType = 'default';
|
|
254
254
|
this.buttonStyle = 'solid';
|
|
255
|
-
this.size = bcm.Bcm
|
|
255
|
+
this.size = bcm.Bcm.Size.medium;
|
|
256
256
|
this.caption = undefined;
|
|
257
257
|
this.noCaption = false;
|
|
258
|
-
this.captionType = bcm.Bcm
|
|
258
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
259
259
|
this.tick = {};
|
|
260
260
|
}
|
|
261
261
|
componentDidLoad() {
|
|
@@ -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 checkboxCss = "@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-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
@@ -27,7 +27,7 @@ const BcmCheckboxLite = class {
|
|
|
27
27
|
this.hidden = false;
|
|
28
28
|
this.required = false;
|
|
29
29
|
this.readOnly = false;
|
|
30
|
-
this.captionType = bcm.Bcm
|
|
30
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const { disabled, checked, readOnly, required, indeterminate, hidden, captionType, _id } = this;
|
|
@@ -55,7 +55,7 @@ const BcmCheckboxLite = class {
|
|
|
55
55
|
// 'bcm-checkbox__label'
|
|
56
56
|
// )
|
|
57
57
|
const bcmCheckboxClass = index$1.classnames('bcm-checkbox', `bcm-checkbox-size-medium`, {
|
|
58
|
-
'error': captionType == bcm.Bcm
|
|
58
|
+
'error': captionType == bcm.Bcm.Status.error,
|
|
59
59
|
hidden,
|
|
60
60
|
checked,
|
|
61
61
|
disabled,
|
|
@@ -85,7 +85,7 @@ const BcmDivider = class {
|
|
|
85
85
|
constructor(hostRef) {
|
|
86
86
|
index.registerInstance(this, hostRef);
|
|
87
87
|
this.hidden = false;
|
|
88
|
-
this.direction = bcm.Bcm
|
|
88
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
91
|
const { hidden, direction } = this;
|
|
@@ -9,16 +9,16 @@ 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 captionTemplate = require('./caption-template-81dbc490.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const slotTemplate = require('./slot-template-
|
|
14
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-9fd41788.js');
|
|
13
|
+
const slotTemplate = require('./slot-template-873b0cd5.js');
|
|
14
|
+
const bcm = require('./bcm-7f703055.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
16
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
17
17
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
18
18
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-03de8a92.js');
|
|
20
20
|
require('./colors-078851ec.js');
|
|
21
|
-
require('./string-helper-
|
|
21
|
+
require('./string-helper-fda7cbba.js');
|
|
22
22
|
require('./colors-56282b00.js');
|
|
23
23
|
|
|
24
24
|
const checkboxCss = "@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-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
@@ -50,13 +50,13 @@ const BcmCheckbox = class {
|
|
|
50
50
|
this.required = false;
|
|
51
51
|
this.label = undefined;
|
|
52
52
|
this.readonly = false;
|
|
53
|
-
this.size = bcm.Bcm
|
|
53
|
+
this.size = bcm.Bcm.Size.medium;
|
|
54
54
|
this.indeterminate = null;
|
|
55
55
|
this.color = "blue";
|
|
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
|
}
|
|
@@ -101,7 +101,7 @@ const BcmCheckbox = class {
|
|
|
101
101
|
}
|
|
102
102
|
watchIndeterminate(newValue, oldValue) {
|
|
103
103
|
if (newValue != oldValue) {
|
|
104
|
-
this.inputElement.checked = this.indeterminate == bcm.Bcm
|
|
104
|
+
this.inputElement.checked = this.indeterminate == bcm.Bcm.IndeterminateType.determinate ? true : false;
|
|
105
105
|
this.handleChange();
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -118,7 +118,7 @@ const BcmCheckbox = class {
|
|
|
118
118
|
this.handleChange();
|
|
119
119
|
}
|
|
120
120
|
handleKeyUp(ev) {
|
|
121
|
-
if (ev.keyCode == bcm.Bcm
|
|
121
|
+
if (ev.keyCode == bcm.Bcm.KeyCode.space || ev.keyCode == bcm.Bcm.KeyCode.enter) {
|
|
122
122
|
if (!this.disabled && !this.readonly) {
|
|
123
123
|
this.inputElement.checked = !this.inputElement.checked;
|
|
124
124
|
this.handleChange();
|
|
@@ -155,7 +155,7 @@ const BcmCheckbox = class {
|
|
|
155
155
|
const { label, _id, indeterminate, hidden, disabled, checked, readonly, required, caption, captionError, captionType, noCaption, size } = this;
|
|
156
156
|
//////
|
|
157
157
|
const bcmCheckboxClass = index$1.classnames('bcm-checkbox', `bcm-checkbox-size-${size}`, {
|
|
158
|
-
'error': captionType == bcm.Bcm
|
|
158
|
+
'error': captionType == bcm.Bcm.Status.error,
|
|
159
159
|
hidden,
|
|
160
160
|
checked,
|
|
161
161
|
disabled,
|
|
@@ -9,23 +9,23 @@ 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 captionTemplate = require('./caption-template-81dbc490.js');
|
|
19
19
|
const index$1 = require('./index-95ae50d0.js');
|
|
20
20
|
require('./types-cc4adee7.js');
|
|
21
|
-
const labelTemplate = require('./label-template-
|
|
21
|
+
const labelTemplate = require('./label-template-80235581.js');
|
|
22
22
|
require('./types-7523fd99.js');
|
|
23
23
|
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-
|
|
28
|
-
require('./slot-template-
|
|
27
|
+
require('./package-03de8a92.js');
|
|
28
|
+
require('./slot-template-873b0cd5.js');
|
|
29
29
|
|
|
30
30
|
const chipGroupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-chip-group .bcm-chip{cursor:pointer}";
|
|
31
31
|
|
|
@@ -41,7 +41,7 @@ const BcmChipGroup = class {
|
|
|
41
41
|
this.label = undefined;
|
|
42
42
|
this.caption = undefined;
|
|
43
43
|
this.noCaption = false;
|
|
44
|
-
this.captionType = bcm.Bcm.Status.default;
|
|
44
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
45
45
|
this.captionError = undefined;
|
|
46
46
|
}
|
|
47
47
|
handleSelectItem(e) {
|
|
@@ -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 colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-9fd41788.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
require('./colors-56282b00.js');
|
|
15
15
|
require('./utils-fc077139.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-03de8a92.js');
|
|
18
18
|
|
|
19
19
|
const chipCss = "@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-chip{--bcm-chip-color:var(--bcm-new-ds-color-slate-500);--bcm-chip-color-hover:var(--bcm-new-ds-color-slate-500);--bcm-chip-color-focus:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-active:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color:var(--bcm-new-ds-color-slate-200);--bcm-chip-background-color-hover:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-focus:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-active:var(--bcm-new-ds-color-slate-400);--bcm-chip-background-color-disabled:var(--bcm-new-ds-color-slate-100);display:inline-flex;justify-content:center;align-items:center;width:fit-content;height:fit-content;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;padding:0 8px;gap:4px;color:var(--bcm-chip-color);background-color:var(--bcm-chip-background-color);border-radius:100px;transition:background-color 0.1s ease-in-out;outline:none}.bcm-chip:not(.bcm-chip--disabled):hover{background-color:var(--bcm-chip-background-color-hover)}.bcm-chip:not(.bcm-chip--disabled):focus{background-color:var(--bcm-chip-background-color-focus);color:var(--bcm-chip-color-focus)}.bcm-chip:not(.bcm-chip--disabled):active{background-color:var(--bcm-chip-background-color-active);color:var(--bcm-chip-color-active)}.bcm-chip--disabled{color:var(--bcm-chip-color-disabled);background-color:var(--bcm-chip-background-color-disabled)}.bcm-chip--avatar{padding-left:2px}.bcm-chip__type-dismissable-icon:hover{cursor:pointer;color:var(--bcm-chip-color-active)}.bcm-chip__size-small{font-size:10px;line-height:calc(10px + 8px)}.bcm-chip__size-small .bcm-avatar{width:14px;height:14px}.bcm-chip__size-small .bcm-chip--selected-icon{width:8px}.bcm-chip__size-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-chip__size-medium .bcm-avatar{width:16px;height:16px}.bcm-chip__size-medium .bcm-chip--selected-icon{width:10px}.bcm-chip__size-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-chip__size-large .bcm-avatar{width:18px;height:18px}.bcm-chip__size-large .bcm-chip--selected-icon{width:12px}";
|
|
20
20
|
|
|
@@ -8,9 +8,9 @@ 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-
|
|
11
|
+
const generate = require('./generate-9fd41788.js');
|
|
12
12
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-03de8a92.js');
|
|
14
14
|
require('./colors-078851ec.js');
|
|
15
15
|
|
|
16
16
|
const collapseCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8)}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}";
|
|
@@ -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 BcmColorInput = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -9,17 +9,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
const index = require('./index-e05a7c6f.js');
|
|
11
11
|
const _commonjsHelpers = require('./_commonjsHelpers-ed84c3ca.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const numberHelper = require('./number-helper-
|
|
14
|
-
const stringHelper = require('./string-helper-
|
|
15
|
-
const validators = require('./validators-
|
|
16
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-9fd41788.js');
|
|
13
|
+
const numberHelper = require('./number-helper-19148ce9.js');
|
|
14
|
+
const stringHelper = require('./string-helper-fda7cbba.js');
|
|
15
|
+
const validators = require('./validators-f3eace30.js');
|
|
16
|
+
const bcm = require('./bcm-7f703055.js');
|
|
17
17
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
18
|
-
const inputTemplate = require('./input-template-
|
|
18
|
+
const inputTemplate = require('./input-template-7587462d.js');
|
|
19
19
|
const index$2 = require('./index-95ae50d0.js');
|
|
20
20
|
const utils = require('./utils-fc077139.js');
|
|
21
21
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-03de8a92.js');
|
|
23
23
|
require('./colors-078851ec.js');
|
|
24
24
|
require('./types-cc4adee7.js');
|
|
25
25
|
|
|
@@ -17261,7 +17261,7 @@ const BcmInput = class {
|
|
|
17261
17261
|
this._id = generate.Generate.UID();
|
|
17262
17262
|
this._internal_id = generate.Generate.UID();
|
|
17263
17263
|
this.value = '';
|
|
17264
|
-
this.size = bcm.Bcm
|
|
17264
|
+
this.size = bcm.Bcm.Size.medium;
|
|
17265
17265
|
this.label = undefined;
|
|
17266
17266
|
this.pattern = undefined;
|
|
17267
17267
|
this.tooltip = undefined;
|
|
@@ -17271,7 +17271,7 @@ const BcmInput = class {
|
|
|
17271
17271
|
this.clearable = false;
|
|
17272
17272
|
this.autocomplete = false;
|
|
17273
17273
|
this.name = undefined;
|
|
17274
|
-
this.type = bcm.Bcm
|
|
17274
|
+
this.type = bcm.Bcm.InputType.text;
|
|
17275
17275
|
this.hidden = false;
|
|
17276
17276
|
this.required = false;
|
|
17277
17277
|
this.fullWidth = false;
|
|
@@ -17289,7 +17289,7 @@ const BcmInput = class {
|
|
|
17289
17289
|
this.step = undefined;
|
|
17290
17290
|
this.caption = undefined;
|
|
17291
17291
|
this.noCaption = false;
|
|
17292
|
-
this.captionType = bcm.Bcm
|
|
17292
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
17293
17293
|
this.captionError = undefined;
|
|
17294
17294
|
this.customErrorMessage = undefined;
|
|
17295
17295
|
this._prefix = undefined;
|
|
@@ -17515,7 +17515,7 @@ const BcmInput = class {
|
|
|
17515
17515
|
}
|
|
17516
17516
|
whatchHasFocus() {
|
|
17517
17517
|
const { type, focused, valueCache, inValid } = this;
|
|
17518
|
-
if (type == bcm.Bcm
|
|
17518
|
+
if (type == bcm.Bcm.InputType.number && inValid) {
|
|
17519
17519
|
if (focused) {
|
|
17520
17520
|
this.value = '';
|
|
17521
17521
|
}
|
|
@@ -17569,7 +17569,7 @@ const BcmInput = class {
|
|
|
17569
17569
|
// 'no-margin': noMargin,
|
|
17570
17570
|
'full-width': fullWidth
|
|
17571
17571
|
});
|
|
17572
|
-
return (index$1.h(index$1.Host, { onfocus: () => this.onBcmFocus(), class: hostClasses, onClick: () => this.onBcmFocus() }, label && index$1.h("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), index$1.h(inputTemplate.InputTemplate, { id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, clearable: isActiveClearable, passwordToggle: passwordToggle, isPasswordVisible: isPasswordVisible, noDefaultIcon: noDefaultIcon, focused: focused, inValid: inValid, unitPrefix: unitPrefix, maxLength: this.maxLength, internalId: this._internal_id, captionType: captionType, unit: unit, size: size, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), steps: (e) => this.stepUpOrDown(e), changePasswordVisibility: () => this.changePasswordVisibility(), handleClear: (e) => this.handleClear(e), eyeDropper: () => this.eyeDropper(), isEyeDropperSupported: () => this.isEyeDropperSupported(), ref: (el) => this.inputElement = el, _suffix: this._suffix, _prefix: this._prefix, autocomplete: autocomplete }), index$1.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == bcm.Bcm
|
|
17572
|
+
return (index$1.h(index$1.Host, { onfocus: () => this.onBcmFocus(), class: hostClasses, onClick: () => this.onBcmFocus() }, label && index$1.h("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), index$1.h(inputTemplate.InputTemplate, { id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, clearable: isActiveClearable, passwordToggle: passwordToggle, isPasswordVisible: isPasswordVisible, noDefaultIcon: noDefaultIcon, focused: focused, inValid: inValid, unitPrefix: unitPrefix, maxLength: this.maxLength, internalId: this._internal_id, captionType: captionType, unit: unit, size: size, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), steps: (e) => this.stepUpOrDown(e), changePasswordVisibility: () => this.changePasswordVisibility(), handleClear: (e) => this.handleClear(e), eyeDropper: () => this.eyeDropper(), isEyeDropperSupported: () => this.isEyeDropperSupported(), ref: (el) => this.inputElement = el, _suffix: this._suffix, _prefix: this._prefix, autocomplete: autocomplete }), index$1.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == bcm.Bcm.InputType.color &&
|
|
17573
17573
|
index$1.h("bcm-linked", { targetId: this._id + "-container", id: this._id + "-linked" }, index$1.h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.setValue(e.detail) }))));
|
|
17574
17574
|
}
|
|
17575
17575
|
static get watchers() { return {
|
|
@@ -10,11 +10,11 @@ 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
12
|
const datetimeHelper = require('./datetime-helper-eaf4fadb.js');
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
const bcm = require('./bcm-
|
|
13
|
+
const generate = require('./generate-9fd41788.js');
|
|
14
|
+
const bcm = require('./bcm-7f703055.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 datePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
@@ -52,7 +52,7 @@ const BcmDatePicker = class {
|
|
|
52
52
|
this.captionType = 'default';
|
|
53
53
|
this.alignment = undefined;
|
|
54
54
|
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
55
|
-
this.placement = bcm.Bcm
|
|
55
|
+
this.placement = bcm.Bcm.Placement['bottom-start'];
|
|
56
56
|
this.linkedComponent = undefined;
|
|
57
57
|
this.clearable = false;
|
|
58
58
|
this.stateStartDate = null;
|
|
@@ -10,24 +10,24 @@ const index = require('./index-c591ecec.js');
|
|
|
10
10
|
const isLoadDecorator = require('./is-load-decorator-15036f37.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
|
-
const bcm = require('./bcm-
|
|
18
|
+
const bcm = require('./bcm-7f703055.js');
|
|
19
19
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
20
20
|
const index$1 = require('./index-95ae50d0.js');
|
|
21
21
|
require('./types-cc4adee7.js');
|
|
22
|
-
const labelTemplate = require('./label-template-
|
|
22
|
+
const labelTemplate = require('./label-template-80235581.js');
|
|
23
23
|
require('./types-7523fd99.js');
|
|
24
24
|
const moment = require('./moment-d06b012f.js');
|
|
25
25
|
require('./colors-56282b00.js');
|
|
26
26
|
require('./utils-fc077139.js');
|
|
27
27
|
require('./colors-078851ec.js');
|
|
28
28
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
29
|
-
require('./package-
|
|
30
|
-
require('./slot-template-
|
|
29
|
+
require('./package-03de8a92.js');
|
|
30
|
+
require('./slot-template-873b0cd5.js');
|
|
31
31
|
|
|
32
32
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
33
33
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -109,7 +109,7 @@ const BcmDate = class {
|
|
|
109
109
|
this._id = generate.Generate.UID();
|
|
110
110
|
this.label = undefined;
|
|
111
111
|
this.placeholder = undefined;
|
|
112
|
-
this.size = bcm.Bcm.Size.medium;
|
|
112
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
113
113
|
this.fullWidth = false;
|
|
114
114
|
this.required = false;
|
|
115
115
|
this.clearable = false;
|
|
@@ -117,7 +117,7 @@ const BcmDate = class {
|
|
|
117
117
|
this.noMargin = false;
|
|
118
118
|
this.caption = undefined;
|
|
119
119
|
this.noCaption = false;
|
|
120
|
-
this.captionType = bcm.Bcm.Status.default;
|
|
120
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
121
121
|
this.captionError = undefined;
|
|
122
122
|
this.name = undefined;
|
|
123
123
|
this.value = undefined;
|
|
@@ -11,16 +11,16 @@ const elementDragger = require('./element-dragger-a8562f82.js');
|
|
|
11
11
|
const index$1 = require('./index-95ae50d0.js');
|
|
12
12
|
const datetimeHelper = require('./datetime-helper-eaf4fadb.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
|
-
const generate = require('./generate-
|
|
15
|
-
const bcm = require('./bcm-
|
|
16
|
-
const popoverPlacement = require('./popover-placement-
|
|
17
|
-
const labelTemplate = require('./label-template-
|
|
14
|
+
const generate = require('./generate-9fd41788.js');
|
|
15
|
+
const bcm = require('./bcm-7f703055.js');
|
|
16
|
+
const popoverPlacement = require('./popover-placement-f20020a6.js');
|
|
17
|
+
const labelTemplate = require('./label-template-80235581.js');
|
|
18
18
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
19
19
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-03de8a92.js');
|
|
21
21
|
require('./colors-078851ec.js');
|
|
22
|
-
require('./string-helper-
|
|
23
|
-
require('./slot-template-
|
|
22
|
+
require('./string-helper-fda7cbba.js');
|
|
23
|
+
require('./slot-template-873b0cd5.js');
|
|
24
24
|
|
|
25
25
|
var Months;
|
|
26
26
|
(function (Months) {
|
|
@@ -106,7 +106,7 @@ const BcmDatetimePicker = class {
|
|
|
106
106
|
this.caption = '';
|
|
107
107
|
this.captionType = 'default';
|
|
108
108
|
this.alignment = undefined;
|
|
109
|
-
this.placement = bcm.Bcm
|
|
109
|
+
this.placement = bcm.Bcm.Placement['bottom-start'];
|
|
110
110
|
this.linkedComponent = undefined;
|
|
111
111
|
this.clearable = false;
|
|
112
112
|
this.years = [];
|
|
@@ -1394,7 +1394,7 @@ const BcmDatetimePicker = class {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
handleKeyDown(ev) {
|
|
1396
1396
|
const keycode = ev.keyCode || ev.which;
|
|
1397
|
-
if (keycode === bcm.Bcm
|
|
1397
|
+
if (keycode === bcm.Bcm.KeyCode.escape) {
|
|
1398
1398
|
if (this._open) {
|
|
1399
1399
|
this._open = false;
|
|
1400
1400
|
ev.preventDefault();
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
require('./package-
|
|
10
|
+
const generate = require('./generate-9fd41788.js');
|
|
11
|
+
require('./package-03de8a92.js');
|
|
12
12
|
require('./colors-078851ec.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
|