bromcom-ui 2.9.1-rc.0 → 2.9.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6edf985f.js → p-034bbcdd.js} +1 -1
- package/dist/bromcom-ui/p-0be0c743.entry.js +5 -0
- package/dist/bromcom-ui/{p-430c0a24.entry.js → p-0efc9196.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c1a992e7.entry.js → p-107f11df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-181f2f4a.entry.js} +1 -1
- package/dist/bromcom-ui/p-1845fc18.js +5 -0
- package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-188b9079.entry.js} +1 -1
- package/dist/bromcom-ui/{p-26290ed5.entry.js → p-18bc4e04.entry.js} +1 -1
- package/dist/bromcom-ui/{p-74e6d2b6.js → p-197aba37.js} +1 -1
- package/dist/bromcom-ui/{p-80ee3d97.entry.js → p-1998815a.entry.js} +1 -1
- package/dist/bromcom-ui/p-1a31fc0b.entry.js +5 -0
- package/dist/bromcom-ui/{p-a664cc20.entry.js → p-1a33d7a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-efc75375.entry.js → p-1c043ab6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fff1a0f9.entry.js → p-1e8559ac.entry.js} +1 -1
- package/dist/bromcom-ui/p-21da70e5.entry.js +5 -0
- package/dist/bromcom-ui/{p-28a748ad.entry.js → p-226c8c0a.entry.js} +1 -1
- package/dist/bromcom-ui/p-292861ed.entry.js +5 -0
- package/dist/bromcom-ui/{p-4f5f5090.entry.js → p-2aa9e3e8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6880da84.entry.js → p-2bfd7aa8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-70d3ff0a.entry.js → p-2d3e225b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-541fc5ec.entry.js → p-2ebba9f4.entry.js} +1 -1
- package/dist/bromcom-ui/p-3182df7e.js +10 -0
- package/dist/bromcom-ui/p-32df2233.js +5 -0
- package/dist/bromcom-ui/p-3469c1bb.js +5 -0
- package/dist/bromcom-ui/p-3a1eabb1.entry.js +5 -0
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/p-3b78f74e.entry.js +5 -0
- package/dist/bromcom-ui/{p-15a16b4a.entry.js → p-3c783cae.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
- package/dist/bromcom-ui/{p-67d13512.entry.js → p-417e8067.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14cafd64.entry.js → p-4438d629.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5699f67d.entry.js → p-468157a0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61db1f1f.js → p-4798d827.js} +1 -1
- package/dist/bromcom-ui/{p-69260d36.entry.js → p-48f5a3c9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d6cd20cf.entry.js → p-4c7cd784.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ece578ef.entry.js → p-4d7ea23c.entry.js} +1 -1
- package/dist/bromcom-ui/p-4e4504ca.js +5 -0
- package/dist/bromcom-ui/{p-64c6092c.js → p-51d2c673.js} +1 -1
- package/dist/bromcom-ui/p-52f879b2.entry.js +5 -0
- package/dist/bromcom-ui/{p-c6a6a181.entry.js → p-535d02b9.entry.js} +1 -1
- package/dist/bromcom-ui/p-5a3f8a49.entry.js +5 -0
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
- package/dist/bromcom-ui/{p-12f997c1.entry.js → p-5be009b0.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ccb0675.entry.js +5 -0
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/p-5ee8a018.js +5 -0
- package/dist/bromcom-ui/{p-5f071adc.entry.js → p-5fc98177.entry.js} +1 -1
- package/dist/bromcom-ui/p-62369801.entry.js +5 -0
- package/dist/bromcom-ui/p-626a65e9.js +5 -0
- package/dist/bromcom-ui/{p-d551a51d.entry.js → p-63138ee5.entry.js} +1 -1
- package/dist/bromcom-ui/p-6385e735.entry.js +5 -0
- package/dist/bromcom-ui/p-67bb1c06.js +5 -0
- package/dist/bromcom-ui/p-6d0a02d7.entry.js +5 -0
- package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-6e7bb16f.entry.js} +1 -1
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/p-76edf59f.js +7 -0
- package/dist/bromcom-ui/p-77035c08.entry.js +5 -0
- package/dist/bromcom-ui/{p-a3e0482c.entry.js → p-788de9cf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-626b805d.entry.js → p-7a89243a.entry.js} +1 -1
- package/dist/bromcom-ui/p-7b506ccb.entry.js +5 -0
- package/dist/bromcom-ui/p-7c623da0.js +5 -0
- package/dist/bromcom-ui/p-7e3209a0.js +14 -0
- package/dist/bromcom-ui/p-7e35d915.entry.js +5 -0
- package/dist/bromcom-ui/{p-1d7509e4.entry.js → p-7f63e25c.entry.js} +1 -1
- package/dist/bromcom-ui/p-80249663.entry.js +5 -0
- package/dist/bromcom-ui/p-89abd5ea.entry.js +5 -0
- package/dist/bromcom-ui/p-8b318727.entry.js +5 -0
- package/dist/bromcom-ui/{p-2c5a0863.js → p-8c951a73.js} +1 -1
- package/dist/bromcom-ui/p-8d4482d6.entry.js +5 -0
- package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
- package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-95a2c489.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6dcfdb90.entry.js → p-99dc26dd.entry.js} +1 -1
- package/dist/bromcom-ui/p-a0bd7793.entry.js +5 -0
- package/dist/bromcom-ui/p-a1b1750c.js +1 -1
- package/dist/bromcom-ui/{p-68280506.entry.js → p-a907cae6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7bb1f30b.entry.js → p-a9c22560.entry.js} +1 -1
- package/dist/bromcom-ui/p-ae94dfa8.js +5 -0
- package/dist/bromcom-ui/p-b11dd428.entry.js +5 -0
- package/dist/bromcom-ui/p-b6bac5f5.entry.js +5 -0
- package/dist/bromcom-ui/p-bc8d7f89.entry.js +5 -0
- package/dist/bromcom-ui/p-bed627ab.js +11 -0
- package/dist/bromcom-ui/{p-b550b336.js → p-c3422601.js} +1 -1
- package/dist/bromcom-ui/p-c495a13f.js +5 -0
- package/dist/bromcom-ui/{p-3672a932.entry.js → p-c49c79ca.entry.js} +1 -1
- package/dist/bromcom-ui/p-c8058a21.entry.js +5 -0
- package/dist/bromcom-ui/p-cc61ed4c.entry.js +5 -0
- package/dist/bromcom-ui/p-ce62273f.entry.js +5 -0
- package/dist/bromcom-ui/{p-69dd585e.entry.js → p-cf022deb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f7215c0e.js → p-d22b7435.js} +1 -1
- package/dist/bromcom-ui/p-d7b9ab98.entry.js +5 -0
- package/dist/bromcom-ui/p-d9eaa208.entry.js +5 -0
- package/dist/bromcom-ui/p-dc290a64.entry.js +5 -0
- package/dist/bromcom-ui/p-dd2a36fa.entry.js +5 -0
- package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/{p-b4729876.entry.js → p-e321ccff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e32ab4da.entry.js} +1 -1
- package/dist/bromcom-ui/{p-85eedabc.js → p-e45c1546.js} +1 -1
- package/dist/bromcom-ui/{p-bacd1841.entry.js → p-e8f8aa3b.entry.js} +1 -1
- package/dist/bromcom-ui/p-eb6b6010.entry.js +5 -0
- package/dist/bromcom-ui/{p-e688b044.entry.js → p-f03e56b9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5898ecd1.entry.js → p-f0adf08c.entry.js} +1 -1
- package/dist/bromcom-ui/p-f709a2e2.entry.js +5 -0
- package/dist/bromcom-ui/p-f711588b.js +1 -1
- package/dist/bromcom-ui/{p-99824717.entry.js → p-f9119bec.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d153c7fc.js → p-f95797df.js} +1 -1
- package/dist/bromcom-ui/{p-3c1b1624.entry.js → p-fa057fc4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-59af8bab.entry.js → p-fa8300a2.entry.js} +1 -1
- package/dist/bromcom-ui/p-fbb959f4.entry.js +5 -0
- package/dist/bromcom-ui/{p-39ae9f7f.entry.js → p-fe88e003.entry.js} +1 -1
- package/dist/bromcom-ui/p-ff012d63.entry.js +5 -0
- package/dist/bromcom-ui/{p-49cb669b.entry.js → p-ff714da2.entry.js} +1 -1
- package/dist/bromcom-ui/p-ff8d5e17.entry.js +5 -0
- package/dist/cjs/{bcm-7f703055.js → bcm-9e47c4b2.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 +11 -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 +372 -0
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +25 -25
- 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 +10 -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 +7 -6
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +17585 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +182 -0
- package/dist/cjs/bcm-date.cjs.entry.js +182 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1451 -0
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +9 -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 +212 -0
- package/dist/cjs/bcm-form.cjs.entry.js +489 -0
- package/dist/cjs/bcm-icon.cjs.entry.js +39 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +9 -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 +126 -0
- package/dist/cjs/bcm-link.cjs.entry.js +3 -3
- package/dist/cjs/bcm-linked_2.cjs.entry.js +289 -0
- package/dist/cjs/bcm-list_3.cjs.entry.js +35 -33
- package/dist/cjs/bcm-menu.cjs.entry.js +9 -8
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +7 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +7 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +8 -7
- package/dist/cjs/bcm-modal.cjs.entry.js +13 -10
- package/dist/cjs/bcm-old-input.cjs.entry.js +397 -0
- 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 +10 -9
- package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
- package/dist/cjs/bcm-radio-group.cjs.entry.js +11 -10
- package/dist/cjs/bcm-radio.cjs.entry.js +14 -13
- package/dist/cjs/bcm-range.cjs.entry.js +6 -6
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +9404 -0
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +10 -9
- package/dist/cjs/bcm-switch.cjs.entry.js +9 -9
- package/dist/cjs/bcm-tab-group.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +11 -10
- package/dist/cjs/bcm-tab-item.cjs.entry.js +7 -6
- package/dist/cjs/bcm-table.cjs.entry.js +7 -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 +150 -0
- package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/datetime-helper-eaf4fadb.js +11 -0
- package/dist/cjs/{floating-ui-b441ea7c.js → floating-ui-4a2c2bd4.js} +2 -2
- package/dist/cjs/{generate-7bd78318.js → generate-efeda203.js} +1 -1
- package/dist/cjs/{global-aca5c011.js → global-38efbdd7.js} +1 -1
- package/dist/cjs/index-3d67f613.js +1610 -0
- package/dist/cjs/{index-7eed931f.js → index-e05a7c6f.js} +24 -1625
- package/dist/cjs/{input-template-4952273e.js → input-template-c1e96592.js} +6 -6
- package/dist/cjs/{json-parse-decarator-7529151b.js → json-parse-decarator-7d2677f0.js} +1 -1
- package/dist/cjs/{label-template-80235581.js → label-template-d531dfb7.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/moment-d06b012f.js +4601 -0
- package/dist/cjs/{number-helper-6c8e0d90.js → number-helper-b178b610.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-21f7555f.js → package-2899048c.js} +1 -1
- package/dist/cjs/{popover-placement-f20020a6.js → popover-placement-4156a9ec.js} +1 -1
- package/dist/cjs/{slot-template-873b0cd5.js → slot-template-46018683.js} +1 -1
- package/dist/cjs/{stepper-states-736e2aa7.js → stepper-states-9bd52bd4.js} +1 -1
- package/dist/cjs/{string-helper-fda7cbba.js → string-helper-4cd32dbb.js} +2 -2
- package/dist/cjs/{tooltip-helper-0475ad78.js → tooltip-helper-f828ebee.js} +10 -9
- package/dist/cjs/{validators-9b9662d9.js → validators-2adde99d.js} +1 -6
- package/dist/collection/components/molecules/modal/modal.js +22 -5
- package/dist/collection/components/molecules/skeleton/skeleton.css +133 -0
- package/dist/collection/components/molecules/skeleton/skeleton.js +167 -26
- package/dist/collection/components/molecules/skeleton/skeleton.style.js +35 -0
- package/dist/collection/components/organism/list/list.js +2 -2
- package/dist/components/bcm-modal.js +7 -4
- package/dist/components/generate.js +1 -1
- package/dist/components/list.js +2 -2
- package/dist/components/skeleton.js +75 -23
- package/dist/esm/{_commonjsHelpers-7002e5de.js → _commonjsHelpers-be0d4ec8.js} +1 -1
- package/dist/esm/bcm-accordion.entry.js +5 -5
- package/dist/esm/bcm-alert.entry.js +8 -8
- package/dist/esm/bcm-attendance.entry.js +5 -5
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-avatar_2.entry.js +13 -12
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -6
- package/dist/esm/bcm-button-group.entry.js +8 -8
- package/dist/esm/bcm-button.entry.js +368 -0
- package/dist/esm/bcm-card.entry.js +10 -10
- package/dist/esm/bcm-checkbox-group.entry.js +19 -19
- package/dist/esm/bcm-checkbox-lite_9.entry.js +8 -8
- package/dist/esm/bcm-checkbox_2.entry.js +13 -13
- package/dist/esm/bcm-chip-group.entry.js +17 -16
- package/dist/esm/bcm-chip.entry.js +8 -8
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +6 -6
- package/dist/esm/bcm-color-input.entry.js +12 -11
- package/dist/esm/bcm-colorful_2.entry.js +17580 -0
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-d45dc47d.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +178 -0
- package/dist/esm/bcm-date.entry.js +178 -0
- package/dist/esm/bcm-datetime-picker.entry.js +1447 -0
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-drawer.entry.js +14 -13
- package/dist/esm/bcm-dropdown.entry.js +9 -9
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +9 -9
- package/dist/esm/bcm-form-2.entry.js +208 -0
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-form.entry.js +485 -0
- package/dist/esm/bcm-icon.entry.js +35 -0
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +15 -14
- package/dist/esm/bcm-item.entry.js +9 -9
- package/dist/esm/bcm-items.entry.js +6 -6
- package/dist/esm/bcm-label_2.entry.js +121 -0
- package/dist/esm/bcm-link.entry.js +4 -4
- package/dist/esm/bcm-linked_2.entry.js +284 -0
- package/dist/esm/bcm-list_3.entry.js +24 -22
- package/dist/esm/bcm-menu.entry.js +15 -14
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +13 -12
- package/dist/esm/bcm-modal-2-header.entry.js +12 -11
- package/dist/esm/bcm-modal-2.entry.js +14 -13
- package/dist/esm/bcm-modal.entry.js +15 -12
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-old-input.entry.js +393 -0
- package/dist/esm/bcm-old-tag_2.entry.js +4 -4
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
- package/dist/esm/bcm-popconfirm.entry.js +7 -7
- package/dist/esm/bcm-popover.entry.js +13 -12
- package/dist/esm/bcm-progress.entry.js +9 -9
- package/dist/esm/bcm-radio-group.entry.js +16 -15
- package/dist/esm/bcm-radio.entry.js +14 -13
- package/dist/esm/bcm-range.entry.js +8 -8
- package/dist/esm/bcm-rc-picker.entry.js +9400 -0
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-select.entry.js +5 -5
- package/dist/esm/bcm-step.entry.js +8 -8
- package/dist/esm/bcm-stepper.entry.js +16 -15
- package/dist/esm/bcm-switch.entry.js +10 -10
- package/dist/esm/bcm-tab-group.entry.js +13 -12
- package/dist/esm/bcm-tab-item-header.entry.js +14 -13
- package/dist/esm/bcm-tab-item.entry.js +12 -11
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +13 -12
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tabs.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +9 -9
- package/dist/esm/bcm-text.entry.js +8 -8
- package/dist/esm/bcm-textarea.entry.js +11 -11
- package/dist/esm/bcm-time-picker.entry.js +146 -0
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +9 -9
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-d47f338f.js → caption-template-a1a968fd.js} +2 -2
- package/dist/esm/{color-helper-845ba523.js → color-helper-c4fa9ebc.js} +2 -2
- package/dist/esm/{colors-ebea297f.js → colors-e1c31f79.js} +1 -1
- package/dist/esm/datetime-helper-df25808a.js +9 -0
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
- package/dist/esm/floating-ui-8a0c54d6.js +1 -1
- package/dist/esm/{generate-c80869fa.js → generate-40dfe3b0.js} +2 -2
- package/dist/esm/{global-55ab75e6.js → global-85f037ac.js} +2 -2
- package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
- package/dist/esm/{index-e4b6a4ce.js → index-a6d9d0af.js} +26 -1612
- package/dist/esm/{index-00c8a8f7.js → index-b84bc8c9.js} +1 -1
- package/dist/esm/index-c4568336.js +1594 -0
- package/dist/esm/{index-7e71bbc8.js → index-f38e3364.js} +1 -1
- package/dist/esm/{input-template-82ba633e.js → input-template-92b19880.js} +4 -4
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{json-parse-decarator-fb399cf2.js → json-parse-decarator-f4803289.js} +2 -2
- package/dist/esm/{label-template-946d4062.js → label-template-54c28821.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/moment-15cd9198.js +4598 -0
- package/dist/esm/{number-helper-2eb7011a.js → number-helper-352d1d80.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +7 -7
- package/dist/esm/{package-20c9971a.js → package-1618c1e9.js} +1 -1
- package/dist/esm/{popover-placement-be68c848.js → popover-placement-941bf3f3.js} +1 -1
- package/dist/esm/{slot-template-fcc7846e.js → slot-template-4b683d1f.js} +2 -2
- package/dist/esm/{stepper-states-f497b41f.js → stepper-states-08b2aa7c.js} +3 -3
- package/dist/esm/{string-helper-b0e05041.js → string-helper-5bd646f2.js} +2 -2
- package/dist/esm/{tooltip-helper-8eff46a3.js → tooltip-helper-d538cdf3.js} +9 -8
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-81296897.js → validators-68717171.js} +2 -6
- package/dist/types/components/molecules/modal/modal.d.ts +1 -0
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +14 -3
- package/dist/types/components/molecules/skeleton/skeleton.style.d.ts +147 -0
- package/dist/types/components.d.ts +17 -2
- package/package.json +4 -1
- package/dist/bromcom-ui/p-07fe2bbc.entry.js +0 -5
- package/dist/bromcom-ui/p-0cf6e779.entry.js +0 -5
- package/dist/bromcom-ui/p-0fdaadf9.entry.js +0 -7
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-27b52583.js +0 -5
- package/dist/bromcom-ui/p-30bd67ba.js +0 -5
- package/dist/bromcom-ui/p-310da4b9.entry.js +0 -5
- package/dist/bromcom-ui/p-33014b15.entry.js +0 -5
- package/dist/bromcom-ui/p-338ace45.entry.js +0 -5
- package/dist/bromcom-ui/p-3432a82d.js +0 -19
- package/dist/bromcom-ui/p-3d86a6c3.entry.js +0 -5
- package/dist/bromcom-ui/p-3e68c7d0.js +0 -5
- package/dist/bromcom-ui/p-438689a5.entry.js +0 -5
- package/dist/bromcom-ui/p-4acc1848.entry.js +0 -5
- package/dist/bromcom-ui/p-4dad64ed.entry.js +0 -5
- package/dist/bromcom-ui/p-543af368.entry.js +0 -5
- package/dist/bromcom-ui/p-5797aab3.entry.js +0 -5
- package/dist/bromcom-ui/p-5871767a.entry.js +0 -5
- package/dist/bromcom-ui/p-5e2a0bda.js +0 -5
- package/dist/bromcom-ui/p-5fb8a43a.entry.js +0 -5
- package/dist/bromcom-ui/p-60a8f967.entry.js +0 -5
- package/dist/bromcom-ui/p-64fad38b.js +0 -11
- package/dist/bromcom-ui/p-67244c91.entry.js +0 -5
- package/dist/bromcom-ui/p-7cb30513.js +0 -5
- package/dist/bromcom-ui/p-8279be1f.entry.js +0 -5
- package/dist/bromcom-ui/p-97527e91.entry.js +0 -5
- package/dist/bromcom-ui/p-9fe07d94.entry.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-b3d495fd.js +0 -5
- package/dist/bromcom-ui/p-b81e8f91.js +0 -5
- package/dist/bromcom-ui/p-b8646a61.entry.js +0 -5
- package/dist/bromcom-ui/p-bfd24601.entry.js +0 -5
- package/dist/bromcom-ui/p-cc52cff4.entry.js +0 -5
- package/dist/bromcom-ui/p-ccf0872d.js +0 -5
- package/dist/bromcom-ui/p-d3f182c1.entry.js +0 -5
- package/dist/bromcom-ui/p-ea701411.js +0 -5
- package/dist/bromcom-ui/p-f2c1ffb4.entry.js +0 -5
- package/dist/cjs/bcm-button_15.cjs.entry.js +0 -35172
- package/dist/cjs/bcm-skeleton.cjs.entry.js +0 -45
- package/dist/esm/bcm-button_15.entry.js +0 -35154
- package/dist/esm/bcm-skeleton.entry.js +0 -41
|
@@ -8,10 +8,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const stringHelper = require('./string-helper-
|
|
11
|
+
const stringHelper = require('./string-helper-4cd32dbb.js');
|
|
12
12
|
const utils = require('./utils-fc077139.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./bcm-
|
|
14
|
+
require('./bcm-9e47c4b2.js');
|
|
15
15
|
|
|
16
16
|
const selectCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-block;width:100%;margin:0}:host(.hidden){display:none}.container{display:block;max-width:256px;position:relative}.container.full-width{width:100%;max-width:100%}.selected{width:100%;box-sizing:border-box;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-grey-1);display:flex;justify-content:space-between;align-items:center;border:1px solid var(--bcm-color-grey-5);user-select:none;cursor:pointer}.selected:hover:not(.disabled){border-color:var(--bcm-color-prime-blue-5)}.selected:hover:not(.disabled) .select-clear-button{opacity:1}.selected:focus:not(.disabled){border-color:var(--bcm-color-prime-blue-5);box-shadow:0px 0px 4px var(--bcm-color-prime-blue-6)}.selected:focus:not(.disabled) .select-clear-button{opacity:1}.selected:focus{outline:none}.selected.disabled{background-color:var(--bcm-color-grey-3);color:var(--bcm-color-grey-8);cursor:not-allowed}.selected .buttons{padding:8px;height:100%;display:flex;align-items:center;justify-content:center}.selected .selected-text{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;padding:0 8px;width:100%}.selected .selected-tags{padding:0 4px;height:100%}.selected .tag-container{height:100%;display:flex;align-items:center;justify-content:flex-start;grid-gap:2px}.selected .tag-container>span{height:100%;align-items:center;justify-content:flex-start;display:flex;grid-gap:2px}.selected .tag-container .tag{max-width:200px}.selected .tag-container #other-tag{cursor:pointer}.selected .open,.selected .close{display:inline-flex}.selected .close{transform:rotate(180deg)}.selected .placeholder{color:var(--bcm-color-grey-6);user-select:none;font-size:14px;height:100%;display:flex;align-items:center;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.options-viewport{display:inline-block}.option-container{display:block;position:absolute;background-color:var(--bcm-color-grey-1);box-shadow:0px 2px 8px rgba(0, 0, 0, 0.15);box-sizing:border-box;width:100%;z-index:10000}.option-container.alignment-left{left:0}.option-container.alignment-right{right:0}.option-container.hidden{display:none}.option-container .search{position:sticky;padding:8px;margin-bottom:4px}.option-container .search:after{content:\"\";position:absolute;bottom:0;height:1px;width:calc(100% - 16px);background-color:var(--bcm-color-grey-5)}.options-viewport{display:block}.options-viewport bcm-select-option,.options-viewport ::slotted(bcm-select-option){white-space:normal}.options-viewport.hidden{display:none}.options-viewport.vertical{height:fit-content;max-height:200px}.options-viewport.horizontal:not(.flex){overflow-x:auto;width:100%}.options-viewport.horizontal:not(.flex) bcm-select-option,.options-viewport.horizontal:not(.flex) ::slotted(bcm-select-option){white-space:nowrap}.items{display:flex;flex-direction:column}.buttons{display:flex}.select-clear-button{display:inline-flex;align-items:center;outline:none;border:none;background:none;padding:0;cursor:pointer;margin-right:4px;opacity:0}.label{display:block;color:var(--bcm-color-grey-9)}.caption-area{min-height:20px}.input-caption{display:block}.selected-large{height:40px}.selected-medium{height:32px}.selected-small{height:24px}.caption-default{color:#8C8C8C}.caption-primary{color:#4293CF}.caption-success{color:#52C41A}.caption-warning{color:#FA8C16}.caption-error{color:#F5222D}.error .label{color:var(--bcm-color-red-6) !important}.error .selected{border:1px solid var(--bcm-color-red-6) !important}";
|
|
17
17
|
|
|
@@ -8,10 +8,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
12
|
-
const stepperStates = require('./stepper-states-
|
|
11
|
+
const generate = require('./generate-efeda203.js');
|
|
12
|
+
const stepperStates = require('./stepper-states-9bd52bd4.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-2899048c.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./index-d321de96.js');
|
|
17
17
|
|
|
@@ -8,21 +8,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
|
-
require('./
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
require('./number-helper-b178b610.js');
|
|
14
|
+
require('./string-helper-4cd32dbb.js');
|
|
15
|
+
require('./validators-2adde99d.js');
|
|
15
16
|
require('./element-dragger-a8562f82.js');
|
|
16
17
|
const utils = require('./utils-fc077139.js');
|
|
17
|
-
const bcm = require('./bcm-
|
|
18
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
18
19
|
const index = require('./index-95ae50d0.js');
|
|
19
20
|
require('./types-cc4adee7.js');
|
|
20
21
|
require('./types-7523fd99.js');
|
|
21
|
-
const stepperStates = require('./stepper-states-
|
|
22
|
+
const stepperStates = require('./stepper-states-9bd52bd4.js');
|
|
22
23
|
require('./colors-56282b00.js');
|
|
23
24
|
require('./colors-078851ec.js');
|
|
24
25
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
25
|
-
require('./package-
|
|
26
|
+
require('./package-2899048c.js');
|
|
26
27
|
require('./index-d321de96.js');
|
|
27
28
|
|
|
28
29
|
const StepperHeaderTemplate = ({ _title, description, status, valid, index: index$2, loading, active, stepChange, statusIcon, icon, disabled, headerHidden, }) => {
|
|
@@ -55,9 +56,9 @@ const BcmStepper = class {
|
|
|
55
56
|
this.bcmStepperBeforeChange = index$1.createEvent(this, "bcm-step-before-change", 7);
|
|
56
57
|
this.hidden = false;
|
|
57
58
|
this._id = generate.Generate.UID();
|
|
58
|
-
this.direction = bcm.Bcm
|
|
59
|
+
this.direction = bcm.Bcm.Direction.horizontal;
|
|
59
60
|
this.linear = false;
|
|
60
|
-
this.size = bcm.Bcm
|
|
61
|
+
this.size = bcm.Bcm.Size.medium;
|
|
61
62
|
this.icon = false;
|
|
62
63
|
this.active = 1;
|
|
63
64
|
this.stepperId = generate.Generate.UID();
|
|
@@ -9,12 +9,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
14
14
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-2899048c.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
19
|
|
|
20
20
|
const switchCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-switch{display:inline-flex;user-select:none;flex-direction:column;margin-bottom:8px}.bcm-switch__container{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.bcm-switch__container--left,.bcm-switch__container--right{align-items:center}.bcm-switch__container--left .bcm-label__text,.bcm-switch__container--right .bcm-label__text{margin:0}.bcm-switch__container--left{flex-direction:row}.bcm-switch__container--left .bcm-label__text{margin-right:4px}.bcm-switch__container--right{flex-direction:row-reverse}.bcm-switch__container--right .bcm-label__text{margin-left:4px}.bcm-switch:focus-visible{outline:none}.bcm-switch:focus-visible .bcm-switch__toggle{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-switch:focus-visible .bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch:hover{outline:none}.bcm-switch:hover .bcm-switch__toggle .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch:hover .bcm-switch__toggle.switch-checked .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch *{box-sizing:border-box}.bcm-switch.hidden{display:none}.bcm-switch input{display:none}.bcm-switch.disabled .bcm-switch__toggle{cursor:not-allowed;opacity:40%}.bcm-switch.readonly .bcm-switch__toggle{cursor:default;opacity:80%}.bcm-switch__label{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-flex;align-items:center;margin:0}.bcm-switch__label .active-text{color:var(--bcm-new-ds-color-blue-500);margin:0 0 0 4px}.bcm-switch__label .inactive-text{color:var(--bcm-new-ds-color-slate-500);margin:0 4px 0 0}.bcm-switch__toggle{display:flex;justify-content:space-between;align-items:center;border-radius:16px;background-color:var(--bcm-new-ds-color-slate-300);position:relative;cursor:pointer}.bcm-switch__toggle .handle{padding:1px;position:absolute;background-color:var(--bcm-new-ds-color-slate-50);display:inline-flex;align-items:center;justify-content:center;border-radius:16px;transition:left 0.2s ease-in-out, width 0.2s ease-in-out;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-switch__toggle .icon-active{opacity:0;margin-left:2px}.bcm-switch__toggle .icon-inactive{opacity:1;margin-right:2px}.bcm-switch__toggle.bcm-switch__size-small{width:32px;min-width:32px;height:16px;padding:4px}.bcm-switch__toggle.bcm-switch__size-small .handle{width:12px;height:12px;left:2px}.bcm-switch__toggle.bcm-switch__size-small.switch-checked .handle{left:18px}.bcm-switch__toggle.bcm-switch__size-small:active:not(.disabled):not(.readonly) .handle{width:16px}.bcm-switch__toggle.bcm-switch__size-small:active.switch-checked:not(.disabled):not(.readonly) .handle{left:12px}.bcm-switch__toggle.bcm-switch__size-small .switch-spinner{box-sizing:border-box;display:inline-flex;width:9px;height:9px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-medium{width:36px;min-width:36px;height:18px;padding:4px}.bcm-switch__toggle.bcm-switch__size-medium .handle{width:14px;height:14px;left:2px}.bcm-switch__toggle.bcm-switch__size-medium.switch-checked .handle{left:20px}.bcm-switch__toggle.bcm-switch__size-medium:active:not(.disabled):not(.readonly) .handle{width:18px}.bcm-switch__toggle.bcm-switch__size-medium:active.switch-checked:not(.disabled):not(.readonly) .handle{left:14px}.bcm-switch__toggle.bcm-switch__size-medium .switch-spinner{box-sizing:border-box;display:inline-flex;width:11px;height:11px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-large{width:40px;min-width:40px;height:20px;padding:4px}.bcm-switch__toggle.bcm-switch__size-large .handle{width:16px;height:16px;left:2px}.bcm-switch__toggle.bcm-switch__size-large.switch-checked .handle{left:22px}.bcm-switch__toggle.bcm-switch__size-large:active:not(.disabled):not(.readonly) .handle{width:20px}.bcm-switch__toggle.bcm-switch__size-large:active.switch-checked:not(.disabled):not(.readonly) .handle{left:16px}.bcm-switch__toggle.bcm-switch__size-large .switch-spinner{box-sizing:border-box;display:inline-flex;width:13px;height:13px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-500)}.bcm-switch__toggle.switch-checked .icon-active{color:var(--bcm-new-ds-color-slate-100);opacity:1}.bcm-switch__toggle.switch-checked .icon-inactive{opacity:0}.bcm-switch__toggle.switch-checked .switch-spinner{border-top-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch__size-small .bcm-switch__label,.bcm-switch__size-small .bcm-label__text{font-size:12px}.bcm-switch__size-small .bcm-switch__toggle{font-size:8px}.bcm-switch__size-medium .bcm-switch__label,.bcm-switch__size-medium .bcm-label__text{font-size:13px}.bcm-switch__size-medium .bcm-switch__toggle{font-size:9px}.bcm-switch__size-large .bcm-switch__label,.bcm-switch__size-large .bcm-label__text{font-size:16px}.bcm-switch__size-large .bcm-switch__toggle{font-size:12px}@keyframes switch-spinner{to{transform:rotate(360deg)}}";
|
|
@@ -43,7 +43,7 @@ const BcmSwitch = class {
|
|
|
43
43
|
this.name = undefined;
|
|
44
44
|
this.disabled = false;
|
|
45
45
|
this.required = false;
|
|
46
|
-
this.size = bcm.Bcm.Size.medium;
|
|
46
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
47
47
|
this.readonly = false;
|
|
48
48
|
this.activeIcon = undefined;
|
|
49
49
|
this.activeText = undefined;
|
|
@@ -56,7 +56,7 @@ const BcmSwitch = class {
|
|
|
56
56
|
this.caption = undefined;
|
|
57
57
|
this.noCaption = false;
|
|
58
58
|
this.captionError = undefined;
|
|
59
|
-
this.captionType = bcm.Bcm.Status.default;
|
|
59
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
60
60
|
this.captionCache = undefined;
|
|
61
61
|
this.captionTypeCache = undefined;
|
|
62
62
|
}
|
|
@@ -112,7 +112,7 @@ const BcmSwitch = class {
|
|
|
112
112
|
return Promise.resolve();
|
|
113
113
|
}
|
|
114
114
|
handleKeyUp(ev) {
|
|
115
|
-
if (ev.keyCode == bcm.Bcm.KeyCode.space || ev.keyCode == bcm.Bcm.KeyCode.enter) {
|
|
115
|
+
if (ev.keyCode == bcm.Bcm$1.KeyCode.space || ev.keyCode == bcm.Bcm$1.KeyCode.enter) {
|
|
116
116
|
if (!this.disabled && !this.readonly) {
|
|
117
117
|
this.inputElement.checked = !this.inputElement.checked;
|
|
118
118
|
this.handleChange();
|
|
@@ -135,10 +135,10 @@ const BcmSwitch = class {
|
|
|
135
135
|
disabled,
|
|
136
136
|
readonly
|
|
137
137
|
});
|
|
138
|
-
const bcmSwitchLabel = index$1.classnames('bcm-switch__label', 'input-size-' + bcm.Bcm.Size[size]);
|
|
138
|
+
const bcmSwitchLabel = index$1.classnames('bcm-switch__label', 'input-size-' + bcm.Bcm$1.Size[size]);
|
|
139
139
|
const bcmSwitchContainer = index$1.classnames('bcm-switch__container', `bcm-switch__container--${this.labelPosition}`);
|
|
140
|
-
const switchText = (text) => (size != bcm.Bcm.Size.small && (activeText || inactiveText)) && (index.h("span", { class: text + '-text' }, text == 'active' ? activeText : inactiveText));
|
|
141
|
-
const switchIcon = (text) => (size != bcm.Bcm.Size.small && (activeIcon || inactiveIcon)) && index.h("bcm-icon", { icon: text == 'active' ? activeIcon : inactiveIcon, class: ' icon-' + text });
|
|
140
|
+
const switchText = (text) => (size != bcm.Bcm$1.Size.small && (activeText || inactiveText)) && (index.h("span", { class: text + '-text' }, text == 'active' ? activeText : inactiveText));
|
|
141
|
+
const switchIcon = (text) => (size != bcm.Bcm$1.Size.small && (activeIcon || inactiveIcon)) && index.h("bcm-icon", { icon: text == 'active' ? activeIcon : inactiveIcon, class: ' icon-' + text });
|
|
142
142
|
return (index.h(index.Host, { tabindex: "0", onFocus: () => this.focus.emit(this.el), onBlur: () => this.blur.emit(this.el), class: bcmSwitchClasses }, index.h("span", { hidden: true }, index.h("slot", null)), index.h("div", { class: bcmSwitchContainer }, label && index.h("bcm-label", { htmlFor: _internal_id, tooltip: this.tooltip, type: captionType, value: label, required: required }), index.h("input", { id: _internal_id, onChange: () => this.handleChange(), ref: el => (this.inputElement = el), checked: checked, type: "checkbox", class: "switch", disabled: disabled || readonly }), index.h("label", { htmlFor: _internal_id, class: bcmSwitchLabel }, switchText('inactive'), index.h("div", { class: classes }, switchIcon('active'), index.h("span", { class: "handle" }, pending && index.h("span", { class: "switch-spinner" })), switchIcon('inactive')), switchText('active'))), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
|
|
143
143
|
}
|
|
144
144
|
get el() { return index.getElement(this); }
|
|
@@ -8,17 +8,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
|
-
require('./
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
require('./number-helper-b178b610.js');
|
|
14
|
+
require('./string-helper-4cd32dbb.js');
|
|
15
|
+
require('./validators-2adde99d.js');
|
|
15
16
|
require('./element-dragger-a8562f82.js');
|
|
16
17
|
const utils = require('./utils-fc077139.js');
|
|
17
|
-
const bcm = require('./bcm-
|
|
18
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
18
19
|
require('./colors-56282b00.js');
|
|
19
20
|
require('./colors-078851ec.js');
|
|
20
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
21
|
-
require('./package-
|
|
22
|
+
require('./package-2899048c.js');
|
|
22
23
|
|
|
23
24
|
const BcmTabGroup = class {
|
|
24
25
|
constructor(hostRef) {
|
|
@@ -27,7 +28,7 @@ const BcmTabGroup = class {
|
|
|
27
28
|
this._id = generate.Generate.UID();
|
|
28
29
|
this.active = "1";
|
|
29
30
|
this.color = "blue";
|
|
30
|
-
this.size = bcm.Bcm
|
|
31
|
+
this.size = bcm.Bcm.Size.medium;
|
|
31
32
|
}
|
|
32
33
|
get tabItems() {
|
|
33
34
|
return this.el.querySelectorAll("bcm-tab-item");
|
|
@@ -8,18 +8,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
|
-
require('./
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
require('./number-helper-b178b610.js');
|
|
14
|
+
require('./string-helper-4cd32dbb.js');
|
|
15
|
+
require('./validators-2adde99d.js');
|
|
15
16
|
require('./element-dragger-a8562f82.js');
|
|
16
|
-
const bcm = require('./bcm-
|
|
17
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
17
18
|
const index$1 = require('./index-95ae50d0.js');
|
|
18
19
|
require('./colors-56282b00.js');
|
|
19
20
|
require('./utils-fc077139.js');
|
|
20
21
|
require('./colors-078851ec.js');
|
|
21
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
-
require('./package-
|
|
23
|
+
require('./package-2899048c.js');
|
|
23
24
|
|
|
24
25
|
const BcmTabItemHeader = class {
|
|
25
26
|
constructor(hostRef) {
|
|
@@ -29,7 +30,7 @@ const BcmTabItemHeader = class {
|
|
|
29
30
|
this.disabled = false;
|
|
30
31
|
this.index = undefined;
|
|
31
32
|
this.color = "blue";
|
|
32
|
-
this.size = bcm.Bcm
|
|
33
|
+
this.size = bcm.Bcm.Size.medium;
|
|
33
34
|
}
|
|
34
35
|
handleClick() {
|
|
35
36
|
var _a;
|
|
@@ -45,9 +46,9 @@ const BcmTabItemHeader = class {
|
|
|
45
46
|
tones: [500, 600, 700, 800]
|
|
46
47
|
});
|
|
47
48
|
return (index.h(index.Host, { onClick: () => this.handleClick(), class: index$1.classnames(`tw-flex tw-flex-1 tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-transition-font tw-focus:outline-none`, {
|
|
48
|
-
"tw-text-2 tw-py-1 tw-gap-2": size === bcm.Bcm
|
|
49
|
-
"tw-text-3 tw-py-2 tw-gap-3": size === bcm.Bcm
|
|
50
|
-
"tw-text-4 tw-py-3 tw-gap-4": size === bcm.Bcm
|
|
49
|
+
"tw-text-2 tw-py-1 tw-gap-2": size === bcm.Bcm.Size.small,
|
|
50
|
+
"tw-text-3 tw-py-2 tw-gap-3": size === bcm.Bcm.Size.medium,
|
|
51
|
+
"tw-text-4 tw-py-3 tw-gap-4": size === bcm.Bcm.Size.large,
|
|
51
52
|
}, disabled ? disabledClass : "tw-cursor-pointer", active
|
|
52
53
|
? `tw-text-default-500 enabled:hover:tw-text-default-600 enabled:active:tw-text-default-700 enabled:focus-visible:tw-text-default-800`
|
|
53
54
|
: "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:focus-visible:tw-text-slate-700 enabled:active:tw-text-slate-600"), style: dc }));
|
|
@@ -8,17 +8,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
|
-
require('./
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
14
|
-
require('./string-helper-
|
|
11
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
require('./number-helper-b178b610.js');
|
|
14
|
+
require('./string-helper-4cd32dbb.js');
|
|
15
|
+
require('./validators-2adde99d.js');
|
|
15
16
|
require('./element-dragger-a8562f82.js');
|
|
16
|
-
require('./bcm-
|
|
17
|
+
require('./bcm-9e47c4b2.js');
|
|
17
18
|
require('./colors-56282b00.js');
|
|
18
19
|
require('./utils-fc077139.js');
|
|
19
20
|
require('./colors-078851ec.js');
|
|
20
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
21
|
-
require('./package-
|
|
22
|
+
require('./package-2899048c.js');
|
|
22
23
|
|
|
23
24
|
const BcmTabItem = class {
|
|
24
25
|
constructor(hostRef) {
|
|
@@ -9,12 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const watermark = require('./watermark-2c23c8f1.js');
|
|
11
11
|
require('./color-helper-c3a819ea.js');
|
|
12
|
-
require('./
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
require('./number-helper-
|
|
15
|
-
const stringHelper = require('./string-helper-
|
|
12
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
13
|
+
const generate = require('./generate-efeda203.js');
|
|
14
|
+
require('./number-helper-b178b610.js');
|
|
15
|
+
const stringHelper = require('./string-helper-4cd32dbb.js');
|
|
16
|
+
require('./validators-2adde99d.js');
|
|
16
17
|
require('./element-dragger-a8562f82.js');
|
|
17
|
-
require('./bcm-
|
|
18
|
+
require('./bcm-9e47c4b2.js');
|
|
18
19
|
const index$1 = require('./index-95ae50d0.js');
|
|
19
20
|
require('./types-cc4adee7.js');
|
|
20
21
|
require('./types-7523fd99.js');
|
|
@@ -22,7 +23,7 @@ require('./colors-56282b00.js');
|
|
|
22
23
|
require('./utils-fc077139.js');
|
|
23
24
|
require('./colors-078851ec.js');
|
|
24
25
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
25
|
-
require('./package-
|
|
26
|
+
require('./package-2899048c.js');
|
|
26
27
|
|
|
27
28
|
// DO NOT UPDATE MANUALLY: Generated from script during build time
|
|
28
29
|
var VERSION$4 = '29.0.0';
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
const bcm = require('./bcm-
|
|
10
|
+
const generate = require('./generate-efeda203.js');
|
|
11
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
12
12
|
const index = require('./index-95ae50d0.js');
|
|
13
|
-
const numberHelper = require('./number-helper-
|
|
13
|
+
const numberHelper = require('./number-helper-b178b610.js');
|
|
14
14
|
const utils = require('./utils-fc077139.js');
|
|
15
15
|
const colors = require('./colors-56282b00.js');
|
|
16
16
|
const types = require('./types-7523fd99.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-2899048c.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
19
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
20
20
|
|
|
21
21
|
const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, type, onDismiss, onSelect }) => {
|
|
22
|
-
!size && (size = bcm.Bcm.FontSize['size-1']);
|
|
22
|
+
!size && (size = bcm.Bcm$1.FontSize['size-1']);
|
|
23
23
|
const getColor = (color) => {
|
|
24
|
-
if ((type === bcm.Bcm.TagType.basic || type == bcm.Bcm.TagType.dismissable) && types.ColorProps[color])
|
|
24
|
+
if ((type === bcm.Bcm$1.TagType.basic || type == bcm.Bcm$1.TagType.dismissable) && types.ColorProps[color])
|
|
25
25
|
return {
|
|
26
26
|
color: utils.extractColor(colors.ColorPalette, types.ColorProps[color] + '-6'),
|
|
27
27
|
borderColor: utils.extractColor(colors.ColorPalette, types.ColorProps[color] + '-3'),
|
|
@@ -30,10 +30,10 @@ const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, ty
|
|
|
30
30
|
};
|
|
31
31
|
const getSize = (size, returnNumber = false) => {
|
|
32
32
|
if (numberHelper.NumberHelper.isNumber(size)) {
|
|
33
|
-
size = bcm.Bcm.FontSize["size-" + size] || bcm.Bcm.FontSize["size-4"];
|
|
33
|
+
size = bcm.Bcm$1.FontSize["size-" + size] || bcm.Bcm$1.FontSize["size-4"];
|
|
34
34
|
}
|
|
35
35
|
if (returnNumber) {
|
|
36
|
-
return +(bcm.Bcm.FontSizeValue[size] || bcm.Bcm.FontSizeValue['size-4']) + 2;
|
|
36
|
+
return +(bcm.Bcm$1.FontSizeValue[size] || bcm.Bcm$1.FontSizeValue['size-4']) + 2;
|
|
37
37
|
}
|
|
38
38
|
return size;
|
|
39
39
|
};
|
|
@@ -45,11 +45,11 @@ const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, ty
|
|
|
45
45
|
index$1.h("span", { hidden: true },
|
|
46
46
|
index$1.h("slot", null)),
|
|
47
47
|
index$1.h("span", { class: classes, style: getColor(color), onClick: (e) => onSelect(e) },
|
|
48
|
-
type === bcm.Bcm.TagType.add && (index$1.h("span", { class: "left" },
|
|
48
|
+
type === bcm.Bcm$1.TagType.add && (index$1.h("span", { class: "left" },
|
|
49
49
|
index$1.h("bcm-icon", { icon: "far fa-plus" }))),
|
|
50
|
-
type === bcm.Bcm.TagType.checkable && index$1.h("input", { type: "checkbox", checked: checked }),
|
|
50
|
+
type === bcm.Bcm$1.TagType.checkable && index$1.h("input", { type: "checkbox", checked: checked }),
|
|
51
51
|
index$1.h("span", { class: "value", style: customStyle }, value),
|
|
52
|
-
type === bcm.Bcm.TagType.dismissable && (index$1.h("span", { class: "right close-button", onClick: (e) => onDismiss(e) },
|
|
52
|
+
type === bcm.Bcm$1.TagType.dismissable && (index$1.h("span", { class: "right close-button", onClick: (e) => onDismiss(e) },
|
|
53
53
|
index$1.h("bcm-icon", { icon: "fal fa-times" }))))));
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -63,17 +63,17 @@ const BcmTag = class {
|
|
|
63
63
|
this._internal_id = generate.Generate.UID();
|
|
64
64
|
this.hidden = false;
|
|
65
65
|
this.value = '';
|
|
66
|
-
this.type = bcm.Bcm.TagType.basic;
|
|
66
|
+
this.type = bcm.Bcm$1.TagType.basic;
|
|
67
67
|
this.checked = false;
|
|
68
68
|
this.color = undefined;
|
|
69
69
|
this.customStyle = undefined;
|
|
70
70
|
this.itemObject = undefined;
|
|
71
|
-
this.size = bcm.Bcm.FontSize['size-1'];
|
|
71
|
+
this.size = bcm.Bcm$1.FontSize['size-1'];
|
|
72
72
|
this.closeFunc = (e) => e;
|
|
73
73
|
this.selectFunc = (e) => e;
|
|
74
74
|
}
|
|
75
75
|
handleClick() {
|
|
76
|
-
this.type === bcm.Bcm.TagType.checkable && this.handleChecked();
|
|
76
|
+
this.type === bcm.Bcm$1.TagType.checkable && this.handleChecked();
|
|
77
77
|
}
|
|
78
78
|
handleClose() {
|
|
79
79
|
this.tagDismissable.emit(this.el);
|
|
@@ -84,7 +84,7 @@ const BcmTag = class {
|
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
86
|
const { type, color, value, customStyle, size, hidden, checked } = this;
|
|
87
|
-
return (index$1.h(TagTemplate, { size: size, hidden: hidden, color: color, customStyle: customStyle, checked: checked, value: value, type: bcm.Bcm.TagType[type], onSelect: (e) => { this.bcmTagSelect.emit(e); this.selectFunc({ event: e, id: this._id }); }, onDismiss: (e) => { this.handleClose(); this.closeFunc(e); } }));
|
|
87
|
+
return (index$1.h(TagTemplate, { size: size, hidden: hidden, color: color, customStyle: customStyle, checked: checked, value: value, type: bcm.Bcm$1.TagType[type], onSelect: (e) => { this.bcmTagSelect.emit(e); this.selectFunc({ event: e, id: this._id }); }, onDismiss: (e) => { this.handleClose(); this.closeFunc(e); } }));
|
|
88
88
|
}
|
|
89
89
|
get el() { return index$1.getElement(this); }
|
|
90
90
|
};
|
|
@@ -9,13 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const slotTemplate = require('./slot-template-
|
|
12
|
+
const slotTemplate = require('./slot-template-46018683.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
require('./colors-56282b00.js');
|
|
15
15
|
require('./utils-fc077139.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
|
-
require('./string-helper-
|
|
18
|
-
require('./bcm-
|
|
17
|
+
require('./string-helper-4cd32dbb.js');
|
|
18
|
+
require('./bcm-9e47c4b2.js');
|
|
19
19
|
|
|
20
20
|
const textCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-text{display:inline;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-text.hidden{display:none}.bcm-text__paragraph{margin:0;padding:0}.bcm-text__font-size-1{font-size:10px;line-height:calc(10px + 8px)}.bcm-text__font-size-2{font-size:12px;line-height:calc(12px + 8px)}.bcm-text__font-size-3{font-size:14px;line-height:calc(14px + 8px)}.bcm-text__font-size-4{font-size:16px;line-height:calc(16px + 8px)}.bcm-text__font-size-5{font-size:18px;line-height:calc(18px + 8px)}.bcm-text__font-size-6{font-size:20px;line-height:calc(20px + 8px)}.bcm-text__font-size-7{font-size:24px;line-height:calc(24px + 8px)}.bcm-text__font-size-8{font-size:32px;line-height:calc(32px + 8px)}.bcm-text__font-size-9{font-size:40px;line-height:calc(40px + 8px)}";
|
|
21
21
|
|
|
@@ -9,13 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
const bcm = require('./bcm-
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
14
14
|
const captionTemplate = require('./caption-template-81dbc490.js');
|
|
15
|
-
const inputTemplate = require('./input-template-
|
|
15
|
+
const inputTemplate = require('./input-template-c1e96592.js');
|
|
16
16
|
const utils = require('./utils-fc077139.js');
|
|
17
17
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-2899048c.js');
|
|
19
19
|
require('./colors-078851ec.js');
|
|
20
20
|
require('./types-cc4adee7.js');
|
|
21
21
|
|
|
@@ -60,9 +60,9 @@ const BcmTextarea = class {
|
|
|
60
60
|
this.caption = undefined;
|
|
61
61
|
this.noCaption = false;
|
|
62
62
|
this.captionError = undefined;
|
|
63
|
-
this.captionType = bcm.Bcm.Status.default;
|
|
63
|
+
this.captionType = bcm.Bcm$1.Status.default;
|
|
64
64
|
this.rows = 3;
|
|
65
|
-
this.size = bcm.Bcm.Size.medium;
|
|
65
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
66
66
|
this.disabled = undefined;
|
|
67
67
|
this.readonly = false;
|
|
68
68
|
this.clearable = undefined;
|
|
@@ -148,7 +148,7 @@ const BcmTextarea = class {
|
|
|
148
148
|
hidden,
|
|
149
149
|
'full-width': fullWidth,
|
|
150
150
|
});
|
|
151
|
-
return (index.h(index.Host, { class: hostClasses }, label && index.h("bcm-label", { type: captionType, value: label, required: required, htmlFor: _id }), index.h(inputTemplate.InputTemplate, { elementType: bcm.Bcm.HtmlElementType.textarea, id: _id, value: value, rows: rows, disabled: disabled, maxLength: maxLength, placeholder: placeholder, clearable: clearable, resize: resize, readonly: readonly, size: size, focused: focused, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), handleClear: (e) => this.handleClear(e), ref: (el) => this.textarea = el, captionType: captionType }), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, value: value, maxLength: maxLength })));
|
|
151
|
+
return (index.h(index.Host, { class: hostClasses }, label && index.h("bcm-label", { type: captionType, value: label, required: required, htmlFor: _id }), index.h(inputTemplate.InputTemplate, { elementType: bcm.Bcm$1.HtmlElementType.textarea, id: _id, value: value, rows: rows, disabled: disabled, maxLength: maxLength, placeholder: placeholder, clearable: clearable, resize: resize, readonly: readonly, size: size, focused: focused, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), handleClear: (e) => this.handleClear(e), ref: (el) => this.textarea = el, captionType: captionType }), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, value: value, maxLength: maxLength })));
|
|
152
152
|
}
|
|
153
153
|
get el() { return index.getElement(this); }
|
|
154
154
|
static get watchers() { return {
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-c591ecec.js');
|
|
10
|
+
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
+
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
+
const generate = require('./generate-efeda203.js');
|
|
13
|
+
const bcm = require('./bcm-9e47c4b2.js');
|
|
14
|
+
const utils = require('./utils-fc077139.js');
|
|
15
|
+
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
|
+
require('./package-2899048c.js');
|
|
17
|
+
require('./colors-078851ec.js');
|
|
18
|
+
|
|
19
|
+
const timePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
20
|
+
|
|
21
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
24
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
25
|
+
else
|
|
26
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
27
|
+
if (d = decorators[i])
|
|
28
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
29
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30
|
+
};
|
|
31
|
+
const BcmTimePicker = class {
|
|
32
|
+
constructor(hostRef) {
|
|
33
|
+
index.registerInstance(this, hostRef);
|
|
34
|
+
this._id = generate.Generate.UID();
|
|
35
|
+
this.time = new Date();
|
|
36
|
+
this.value = undefined;
|
|
37
|
+
this.hidden = false;
|
|
38
|
+
this.name = undefined;
|
|
39
|
+
this.fullWidth = false;
|
|
40
|
+
this.required = false;
|
|
41
|
+
this.label = undefined;
|
|
42
|
+
this.placeholder = undefined;
|
|
43
|
+
this.disabled = false;
|
|
44
|
+
this.noMargin = false;
|
|
45
|
+
this.noCaption = false;
|
|
46
|
+
this.caption = '';
|
|
47
|
+
this.captionError = undefined;
|
|
48
|
+
this.captionType = 'default';
|
|
49
|
+
this.alignment = undefined;
|
|
50
|
+
this.placement = bcm.Bcm$1.Placement['bottom-start'];
|
|
51
|
+
this.linkedComponent = undefined;
|
|
52
|
+
this.clearable = false;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @ComponentMethod
|
|
56
|
+
*/
|
|
57
|
+
componentWillLoad() {
|
|
58
|
+
if (typeof this.time === 'string') {
|
|
59
|
+
const regTime = /\b([01][0-9]|2[0-3]):([0-5][0-9])\b/;
|
|
60
|
+
const regTimeCheck = regTime.test(this.time);
|
|
61
|
+
const timeSections = regTimeCheck ? this.time.split(':') : false;
|
|
62
|
+
if (timeSections) {
|
|
63
|
+
this.time = new Date(new Date().setHours(Number(timeSections[0]), Number(timeSections[1])));
|
|
64
|
+
}
|
|
65
|
+
else
|
|
66
|
+
this.time = new Date();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @desc
|
|
71
|
+
*/
|
|
72
|
+
handlePickerLoad() {
|
|
73
|
+
this.value = this.picker.value;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @desc
|
|
77
|
+
* @param event
|
|
78
|
+
*/
|
|
79
|
+
handlePickerChange(event) {
|
|
80
|
+
this.value = event.detail;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @desc
|
|
84
|
+
* @param value
|
|
85
|
+
*/
|
|
86
|
+
async set(value) {
|
|
87
|
+
return this.picker.set(value);
|
|
88
|
+
}
|
|
89
|
+
async get() {
|
|
90
|
+
var _a;
|
|
91
|
+
return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @desc
|
|
95
|
+
* @param disabled
|
|
96
|
+
*/
|
|
97
|
+
async setDisabled(disabled) {
|
|
98
|
+
this.disabled = disabled;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @desc
|
|
102
|
+
*/
|
|
103
|
+
async getInput() {
|
|
104
|
+
return await this.picker.getInput();
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @desc
|
|
108
|
+
*/
|
|
109
|
+
async getValue() {
|
|
110
|
+
return this.value;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @desc
|
|
114
|
+
*/
|
|
115
|
+
async isValid() {
|
|
116
|
+
return await this.picker.isValid();
|
|
117
|
+
}
|
|
118
|
+
async setClear() {
|
|
119
|
+
await this.picker.setClear();
|
|
120
|
+
await utils.delay(10);
|
|
121
|
+
return Promise.resolve();
|
|
122
|
+
}
|
|
123
|
+
async resetCaption() {
|
|
124
|
+
await utils.delay(10);
|
|
125
|
+
await this.picker.resetCaption();
|
|
126
|
+
this.captionType = 'default';
|
|
127
|
+
this.captionError = null;
|
|
128
|
+
await utils.delay(10);
|
|
129
|
+
return Promise.resolve();
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @desc
|
|
133
|
+
*/
|
|
134
|
+
async open() {
|
|
135
|
+
return await this.picker.open();
|
|
136
|
+
}
|
|
137
|
+
render() {
|
|
138
|
+
const hostClasses = index$1.classnames(this.hidden ? 'hidden' : null, {
|
|
139
|
+
'full-width': this.fullWidth
|
|
140
|
+
});
|
|
141
|
+
return (index.h(index.Host, { class: hostClasses }, index.h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
|
|
142
|
+
}
|
|
143
|
+
get el() { return index.getElement(this); }
|
|
144
|
+
};
|
|
145
|
+
__decorate([
|
|
146
|
+
isLoadDecorator.IsLoad()
|
|
147
|
+
], BcmTimePicker.prototype, "el", void 0);
|
|
148
|
+
BcmTimePicker.style = timePickerCss;
|
|
149
|
+
|
|
150
|
+
exports.bcm_time_picker = BcmTimePicker;
|