bromcom-ui 2.8.1-rc.0 → 2.8.1-rc.10-0
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-2a93a5a2.entry.js → p-02a232a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-afc59b65.entry.js → p-033bc73e.entry.js} +1 -1
- package/dist/bromcom-ui/p-037a40a6.entry.js +5 -0
- package/dist/bromcom-ui/{p-f66df7e2.entry.js → p-03db2686.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2c6f2c6e.entry.js → p-04869d82.entry.js} +1 -1
- package/dist/bromcom-ui/p-05069d60.entry.js +5 -0
- package/dist/bromcom-ui/{p-35d087b1.entry.js → p-0e247b5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0c043993.entry.js → p-104a911e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-985b830e.entry.js → p-134cb719.entry.js} +1 -1
- package/dist/bromcom-ui/p-1eabd5dc.js +10 -0
- package/dist/bromcom-ui/p-1fac3b1b.entry.js +5 -0
- package/dist/bromcom-ui/p-2a8b1592.js +5 -0
- package/dist/bromcom-ui/p-2cd16cba.entry.js +5 -0
- package/dist/bromcom-ui/{p-233a1fb4.entry.js → p-2fb6a382.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e6cd7c5.entry.js → p-327e6b40.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e9e1004b.entry.js → p-50a6e6ad.entry.js} +1 -1
- package/dist/bromcom-ui/{p-771ad3a6.entry.js → p-50dedc69.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df70c965.entry.js → p-516a396f.entry.js} +1 -1
- package/dist/bromcom-ui/p-60db4bb4.entry.js +5 -0
- package/dist/bromcom-ui/{p-edea9dfd.entry.js → p-6d54838e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-36bac522.entry.js → p-811034bb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c0c5cb65.entry.js → p-83385ad0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f87163ff.entry.js → p-844ddccb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eeca9f6a.js → p-8496349d.js} +1 -1
- package/dist/bromcom-ui/{p-40bdc7f4.entry.js → p-851a15f4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b334e60.entry.js → p-86ba62bc.entry.js} +1 -1
- package/dist/bromcom-ui/p-88bde8d0.entry.js +5 -0
- package/dist/bromcom-ui/{p-b8067e79.entry.js → p-8c2af9eb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-82aff8b2.entry.js → p-92f92499.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0bb029b9.entry.js → p-948c5685.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6a2c25e7.js → p-95ac600e.js} +1 -1
- package/dist/bromcom-ui/{p-84e3a7c2.entry.js → p-95c94d6b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f58d8231.entry.js → p-98067117.entry.js} +1 -1
- package/dist/bromcom-ui/p-9b2fbdbe.js +5 -0
- package/dist/bromcom-ui/{p-746e776f.entry.js → p-9b6b06b7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eaa0450d.entry.js → p-a32b3d70.entry.js} +1 -1
- package/dist/bromcom-ui/{p-15322ffb.js → p-a3d9a134.js} +1 -1
- package/dist/bromcom-ui/{p-dab9ce79.entry.js → p-a4129ba5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1622e5dd.entry.js → p-a46dbcbe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-964e1b9d.entry.js → p-a61d0671.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d6c9225c.entry.js → p-af2ce958.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3f3e0704.entry.js → p-b655061c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ab3598c2.entry.js → p-bad48e36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-34af5169.entry.js → p-c1326b6b.entry.js} +1 -1
- package/dist/bromcom-ui/p-c6a39efd.entry.js +5 -0
- package/dist/bromcom-ui/{p-f7dd4f41.entry.js → p-c7e477c2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8804713b.entry.js → p-c8ccc4e9.entry.js} +1 -1
- package/dist/bromcom-ui/p-cbf609ed.entry.js +5 -0
- package/dist/bromcom-ui/p-ccf71804.entry.js +5 -0
- package/dist/bromcom-ui/{p-31c05e88.entry.js → p-ce99fc13.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5f594403.entry.js → p-e03a7e41.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1ab0af09.entry.js → p-e1ec4ae0.entry.js} +1 -1
- package/dist/bromcom-ui/p-e2660e43.entry.js +13 -0
- package/dist/bromcom-ui/{p-fb13a0d7.entry.js → p-e5f2263f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0d7bb78b.entry.js → p-e803d804.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df7b3fed.js → p-f0082c91.js} +1 -1
- package/dist/bromcom-ui/{p-5b21f39a.js → p-f2c540cc.js} +1 -1
- package/dist/bromcom-ui/{p-a3d7bc84.entry.js → p-fcc88dea.entry.js} +1 -1
- package/dist/bromcom-ui/p-ff944406.entry.js +5 -0
- package/dist/bromcom-ui/{p-c91d78bb.entry.js → p-fff16d5e.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button_7.cjs.entry.js +7 -4
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
- package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
- package/dist/cjs/bcm-color-input.cjs.entry.js +3 -3
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +34 -549
- package/dist/cjs/bcm-content.cjs.entry.js +22 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +4 -7
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -10
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input.cjs.entry.js +5 -5
- package/dist/cjs/bcm-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-items.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list.cjs.entry.js +158 -345
- package/dist/cjs/bcm-menu.cjs.entry.js +10 -7
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal.cjs.entry.js +35 -11
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +12 -5
- package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-radio.cjs.entry.js +3 -3
- package/dist/cjs/bcm-range.cjs.entry.js +1 -1
- package/dist/cjs/bcm-rc-overflow_2.cjs.entry.js +2443 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bcm-step.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +23 -7
- package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-411c1529.js → generate-fbd410e1.js} +10 -1
- package/dist/cjs/index-906fb4e5.js +540 -0
- package/dist/cjs/{input-template-741a1078.js → input-template-68bd0585.js} +1 -1
- package/dist/cjs/{json-parse-decarator-661924f2.js → json-parse-decarator-6a4b6957.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-91446798.js → number-helper-4d112085.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{stepper-states-ee18b202.js → stepper-states-21ff9922.js} +1 -1
- package/dist/cjs/{tooltip-helper-dee255e9.js → tooltip-helper-e87e3189.js} +6 -4
- package/dist/cjs/{validators-c131b7c6.js → validators-d4b3d110.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/molecules/dropdown/dropdown.js +20 -8
- package/dist/collection/components/molecules/input/input.css +0 -4
- package/dist/collection/components/molecules/linked/linked.js +20 -6
- package/dist/collection/components/molecules/menu/menu.css +32 -10
- package/dist/collection/components/molecules/menu/menu.js +41 -2
- package/dist/collection/components/molecules/modal/modal.css +1 -1
- package/dist/collection/components/molecules/modal/modal.js +59 -17
- package/dist/collection/components/molecules/popover/popover.js +38 -15
- package/dist/collection/components/molecules/search/search.css +0 -4
- package/dist/collection/components/molecules/stepper/stepper.css +75 -43
- package/dist/collection/components/molecules/stepper/stepper.js +38 -2
- package/dist/collection/components/molecules/textarea/textarea.css +0 -4
- package/dist/collection/components/molecules/tooltip/tooltip.js +21 -0
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +3 -6
- package/dist/collection/components/organism/list/list.css +4 -3
- package/dist/collection/components/organism/list/list.js +172 -177
- package/dist/collection/components/organism/states/bcm-list2.states.js +19 -18
- package/dist/collection/components/other/content/content.js +15 -0
- package/dist/collection/components/{molecules → third-parts}/colorful/colorful.css +1 -5
- package/dist/collection/components/third-parts/rc-overflow/rc-overflow.css +138 -0
- package/dist/collection/components/third-parts/rc-overflow/rc-overflow.js +194 -0
- package/dist/collection/helper/generate.js +9 -0
- package/dist/collection/helper/popover-helper.js +3 -1
- package/dist/collection/helper/tooltip-helper.js +3 -1
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-alert.js +1 -1
- package/dist/components/bcm-checkbox-group.js +1 -1
- package/dist/components/bcm-content.d.ts +11 -0
- package/dist/components/bcm-content.js +35 -0
- package/dist/components/bcm-dropdown.js +3 -8
- package/dist/components/bcm-list.js +172 -346
- package/dist/components/bcm-modal.js +35 -11
- package/dist/components/bcm-popover.js +11 -3
- package/dist/components/bcm-rc-overflow.d.ts +11 -0
- package/dist/components/bcm-rc-overflow.js +10 -0
- package/dist/components/bcm-stepper.js +20 -4
- package/dist/components/bcm-textarea.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/colorful.js +2 -531
- package/dist/components/datetime-picker.js +3 -6
- package/dist/components/generate.js +10 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index3.js +523 -177
- package/dist/components/index4.js +191 -0
- package/dist/components/input.js +1 -1
- package/dist/components/linked.js +20 -6
- package/dist/components/menu.js +8 -3
- package/dist/components/rc-overflow.js +2238 -0
- package/dist/components/search.js +2 -2
- package/dist/components/step.js +1 -1
- package/dist/components/tooltip-helper.js +3 -1
- package/dist/components/tooltip.js +4 -0
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-alert.entry.js +1 -1
- package/dist/esm/bcm-attendance.entry.js +1 -1
- package/dist/esm/bcm-avatar_2.entry.js +3 -3
- package/dist/esm/bcm-breadcrumb.entry.js +1 -1
- package/dist/esm/bcm-button-group.entry.js +1 -1
- package/dist/esm/bcm-button_7.entry.js +7 -4
- package/dist/esm/bcm-card.entry.js +1 -1
- package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
- package/dist/esm/bcm-chip.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +1 -1
- package/dist/esm/bcm-color-input.entry.js +3 -3
- package/dist/esm/bcm-colorful_2.entry.js +25 -540
- package/dist/esm/bcm-content.entry.js +18 -0
- package/dist/esm/bcm-date-picker.entry.js +1 -1
- package/dist/esm/bcm-datetime-picker.entry.js +4 -7
- package/dist/esm/bcm-default.entry.js +1 -1
- package/dist/esm/bcm-drawer.entry.js +3 -3
- package/dist/esm/bcm-dropdown.entry.js +4 -10
- package/dist/esm/bcm-expansion-panel.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +1 -1
- package/dist/esm/bcm-input.entry.js +5 -5
- package/dist/esm/bcm-item.entry.js +1 -1
- package/dist/esm/bcm-items.entry.js +1 -1
- package/dist/esm/bcm-list.entry.js +158 -345
- package/dist/esm/bcm-menu.entry.js +10 -7
- package/dist/esm/bcm-modal-2-footer.entry.js +3 -3
- package/dist/esm/bcm-modal-2-header.entry.js +3 -3
- package/dist/esm/bcm-modal-2.entry.js +3 -3
- package/dist/esm/bcm-modal.entry.js +35 -11
- package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
- package/dist/esm/bcm-popconfirm.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +12 -5
- package/dist/esm/bcm-progress.entry.js +1 -1
- package/dist/esm/bcm-radio-group.entry.js +3 -3
- package/dist/esm/bcm-radio.entry.js +3 -3
- package/dist/esm/bcm-range.entry.js +1 -1
- package/dist/esm/bcm-rc-overflow_2.entry.js +2438 -0
- package/dist/esm/bcm-skeleton.entry.js +1 -1
- package/dist/esm/bcm-step.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +23 -7
- package/dist/esm/bcm-switch.entry.js +1 -1
- package/dist/esm/bcm-tab-group.entry.js +3 -3
- package/dist/esm/bcm-tab-item-header.entry.js +3 -3
- package/dist/esm/bcm-tab-item.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +2 -2
- package/dist/esm/bcm-textarea.entry.js +3 -3
- package/dist/esm/bcm-time-picker.entry.js +1 -1
- package/dist/esm/bcm-toast.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{generate-3e284764.js → generate-078b420f.js} +10 -1
- package/dist/esm/index-6310a048.js +537 -0
- package/dist/esm/{input-template-b0adc55c.js → input-template-2fa28387.js} +1 -1
- package/dist/esm/{json-parse-decarator-5f1e26d4.js → json-parse-decarator-22e8e247.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-ca1092d7.js → number-helper-ed541ffb.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +2 -2
- package/dist/esm/old-bcm-popover.entry.js +1 -1
- package/dist/esm/{stepper-states-f8c0fb9b.js → stepper-states-d7a39df1.js} +1 -1
- package/dist/esm/{tooltip-helper-d4a37741.js → tooltip-helper-b0776da6.js} +6 -4
- package/dist/esm/{validators-c025ec38.js → validators-f8caf3b9.js} +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/molecules/linked/linked.d.ts +3 -0
- package/dist/types/components/molecules/menu/menu.d.ts +2 -0
- package/dist/types/components/molecules/modal/modal.d.ts +10 -4
- package/dist/types/components/molecules/popover/popover.d.ts +2 -1
- package/dist/types/components/molecules/stepper/stepper.d.ts +3 -0
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components/organism/list/list.d.ts +9 -5
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +1 -1
- package/dist/types/components/other/content/content.d.ts +6 -0
- package/dist/types/components/third-parts/rc-overflow/rc-overflow.d.ts +17 -0
- package/dist/types/components.d.ts +54 -4
- package/dist/types/helper/popover-helper.d.ts +3 -1
- package/dist/types/helper/tooltip-helper.d.ts +3 -1
- package/package.json +2 -1
- package/dist/bromcom-ui/p-0f41f6e2.entry.js +0 -5
- package/dist/bromcom-ui/p-1362b17e.entry.js +0 -5
- package/dist/bromcom-ui/p-37a28587.js +0 -5
- package/dist/bromcom-ui/p-3bb952e7.entry.js +0 -5
- package/dist/bromcom-ui/p-748cb943.entry.js +0 -5
- package/dist/bromcom-ui/p-8a0128e6.entry.js +0 -5
- package/dist/bromcom-ui/p-98fe21a3.entry.js +0 -5
- package/dist/bromcom-ui/p-9f48d505.entry.js +0 -5
- package/dist/bromcom-ui/p-b4f02061.entry.js +0 -10
- package/dist/bromcom-ui/p-b52fe89c.entry.js +0 -5
- package/dist/bromcom-ui/p-feab9d90.entry.js +0 -5
- package/dist/bromcom-ui/p-ff408c78.js +0 -5
- package/dist/cjs/bcm-search.cjs.entry.js +0 -245
- package/dist/collection/components/organism/list/list-tag-control.js +0 -173
- package/dist/esm/bcm-search.entry.js +0 -241
- package/dist/types/components/organism/list/list-tag-control.d.ts +0 -18
- /package/dist/collection/components/{molecules → third-parts}/colorful/colorful.js +0 -0
- /package/dist/types/components/{molecules → third-parts}/colorful/colorful.d.ts +0 -0
|
@@ -843,7 +843,7 @@ const BcmDatetimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
843
843
|
if (text) {
|
|
844
844
|
this.setError(true, (this.type === Types.datetime && 'invalid date or time') ||
|
|
845
845
|
(this.type === Types.range && 'invalid date range') ||
|
|
846
|
-
(this.type === Types.date && '
|
|
846
|
+
(this.type === Types.date && 'The selected date is not allowed.') ||
|
|
847
847
|
(this.type === Types.time && 'invalid time'));
|
|
848
848
|
}
|
|
849
849
|
this.setValue(true);
|
|
@@ -1401,14 +1401,11 @@ const BcmDatetimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
1401
1401
|
});
|
|
1402
1402
|
const clockIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"/></svg>`;
|
|
1403
1403
|
const calendarIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>`;
|
|
1404
|
+
const errorIcon = `<svg style="fill: #ef4444; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm42-104c0 23.2-18.8 42-42 42s-42-18.8-42-42 18.8-42 42-42 42 18.8 42 42zm-81.4-211.4l6.8 136c.3 6.4 5.6 11.4 12 11.4h41.2c6.4 0 11.7-5.1 12-11.4l6.8-136c.3-6.9-5.1-12.6-12-12.6h-54.8c-6.9 0-12.4 5.7-12 12.6z"/></svg>`;
|
|
1404
1405
|
const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
|
|
1405
1406
|
return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(), disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
|
|
1406
1407
|
// on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
|
|
1407
|
-
noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("bcm-
|
|
1408
|
-
// slot="suffix"
|
|
1409
|
-
// title={this.errorText}
|
|
1410
|
-
icon: "far fa-exclamation-circle"
|
|
1411
|
-
})))), h("span", { slot: "suffix", onClick: () => this.openPicker() }, h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))), h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) }, h("div", { class: "modules" }, this.hasDateModule && (h("div", { class: "date-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("span", null), h("div", { class: "month-year" }, h("button", { onClick: () => this.getPrevMonth() }, h("bcm-icon", { icon: "far fa-chevron-left" })), h("div", { class: "month-year-wrapper" }, h("span", { class: "month" }, this.getMonthText()), ",", h("span", { class: "year" }, this.date.getFullYear())), h("button", { onClick: () => this.getNextMonth() }, h("bcm-icon", { icon: "far fa-chevron-right" }))), h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")), h("div", { class: "bcm-datetime-picker__content" }, h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) }, h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))), h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })), h("div", { class: "days" }, h("div", { class: "day-labels" }, h("span", null, "Mo"), h("span", null, "Tu"), h("span", null, "We"), h("span", null, "Th"), h("span", null, "Fr"), h("span", null, "Sa"), h("span", null, "Su")), h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
|
|
1408
|
+
noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("span", { id: "error-icon", class: toggleClasses, innerHTML: errorIcon, title: this.errorText }))), h("span", { slot: "suffix", onClick: () => this.openPicker() }, h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))), h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) }, h("div", { class: "modules" }, this.hasDateModule && (h("div", { class: "date-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("span", null), h("div", { class: "month-year" }, h("button", { onClick: () => this.getPrevMonth() }, h("bcm-icon", { icon: "far fa-chevron-left" })), h("div", { class: "month-year-wrapper" }, h("span", { class: "month" }, this.getMonthText()), ",", h("span", { class: "year" }, this.date.getFullYear())), h("button", { onClick: () => this.getNextMonth() }, h("bcm-icon", { icon: "far fa-chevron-right" }))), h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")), h("div", { class: "bcm-datetime-picker__content" }, h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) }, h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))), h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })), h("div", { class: "days" }, h("div", { class: "day-labels" }, h("span", null, "Mo"), h("span", null, "Tu"), h("span", null, "We"), h("span", null, "Th"), h("span", null, "Fr"), h("span", null, "Sa"), h("span", null, "Su")), h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
|
|
1412
1409
|
'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
|
|
1413
1410
|
'not-this-month': !day.thisMonth,
|
|
1414
1411
|
'is-weekend': day.isWeekend,
|
|
@@ -25,7 +25,7 @@ var TypeProps;
|
|
|
25
25
|
TypeProps["basic"] = "basic";
|
|
26
26
|
})(TypeProps || (TypeProps = {}));
|
|
27
27
|
|
|
28
|
-
const version = "2.8.1-rc.0";
|
|
28
|
+
const version = "2.8.1-rc.10-0";
|
|
29
29
|
|
|
30
30
|
function snq(callback, defaultValue) {
|
|
31
31
|
try {
|
|
@@ -55,6 +55,15 @@ if (isAllowedDomain()) {
|
|
|
55
55
|
body.classList.add(`bcm-theme-${theme}`);
|
|
56
56
|
}
|
|
57
57
|
})();
|
|
58
|
+
(function checkOverlayContainer() {
|
|
59
|
+
const body = document.querySelector("body");
|
|
60
|
+
let overlayContainer = document.querySelector("#bcm-overlay-container");
|
|
61
|
+
if (!overlayContainer) {
|
|
62
|
+
overlayContainer = document.createElement("div");
|
|
63
|
+
overlayContainer.id = "bcm-overlay-container";
|
|
64
|
+
body.appendChild(overlayContainer);
|
|
65
|
+
}
|
|
66
|
+
})();
|
|
58
67
|
class Generate {
|
|
59
68
|
static getTwColor(color, variable = "--bcm-color-default") {
|
|
60
69
|
if (!color || !colors[color]) {
|
|
@@ -17,8 +17,9 @@ export { BcmChip as BcmChip } from '../types/components/atoms/chip/chip';
|
|
|
17
17
|
export { BcmCollapse as BcmCollapse } from '../types/components/other_deprecated/collapse/collapse';
|
|
18
18
|
export { BcmCollapseGroup as BcmCollapseGroup } from '../types/components/other_deprecated/collapse/group';
|
|
19
19
|
export { BcmColorInput as BcmColorInput } from '../types/components/molecules/color-input/color-input';
|
|
20
|
-
export { BcmColorful as BcmColorful } from '../types/components/
|
|
20
|
+
export { BcmColorful as BcmColorful } from '../types/components/third-parts/colorful/colorful';
|
|
21
21
|
export { BcmColorPicker as BcmColorpicker } from '../types/components/other_deprecated/colorpicker/colorpicker';
|
|
22
|
+
export { BcmContent as BcmContent } from '../types/components/other/content/content';
|
|
22
23
|
export { BcmDatePicker as BcmDatePicker } from '../types/components/organism/date-picker/date-picker';
|
|
23
24
|
export { BcmDatetimePicker as BcmDatetimePicker } from '../types/components/organism/datetime-picker/datetime-picker';
|
|
24
25
|
export { BcmDefault as BcmDefault } from '../types/components/other/default/default';
|
|
@@ -61,6 +62,7 @@ export { BcmProgress as BcmProgress } from '../types/components/molecules/progre
|
|
|
61
62
|
export { BcmRadio as BcmRadio } from '../types/components/molecules/radio/radio';
|
|
62
63
|
export { BcmRadioGroup as BcmRadioGroup } from '../types/components/molecules/radio/radio-group';
|
|
63
64
|
export { BcmRange as BcmRange } from '../types/components/molecules/range/range';
|
|
65
|
+
export { BcmRcOverflow as BcmRcOverflow } from '../types/components/third-parts/rc-overflow/rc-overflow';
|
|
64
66
|
export { BcmResult as BcmResult } from '../types/components/molecules/result/result';
|
|
65
67
|
export { BcmScrollArea as BcmScrollArea } from '../types/components/other/scroll-area/scroll-area';
|
|
66
68
|
export { BcmSearch as BcmSearch } from '../types/components/molecules/search/search';
|
package/dist/components/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export { BcmCollapseGroup, defineCustomElement as defineCustomElementBcmCollapse
|
|
|
23
23
|
export { BcmColorInput, defineCustomElement as defineCustomElementBcmColorInput } from './bcm-color-input.js';
|
|
24
24
|
export { BcmColorful, defineCustomElement as defineCustomElementBcmColorful } from './bcm-colorful.js';
|
|
25
25
|
export { BcmColorpicker, defineCustomElement as defineCustomElementBcmColorpicker } from './bcm-colorpicker.js';
|
|
26
|
+
export { BcmContent, defineCustomElement as defineCustomElementBcmContent } from './bcm-content.js';
|
|
26
27
|
export { BcmDatePicker, defineCustomElement as defineCustomElementBcmDatePicker } from './bcm-date-picker.js';
|
|
27
28
|
export { BcmDatetimePicker, defineCustomElement as defineCustomElementBcmDatetimePicker } from './bcm-datetime-picker.js';
|
|
28
29
|
export { BcmDefault, defineCustomElement as defineCustomElementBcmDefault } from './bcm-default.js';
|
|
@@ -65,6 +66,7 @@ export { BcmProgress, defineCustomElement as defineCustomElementBcmProgress } fr
|
|
|
65
66
|
export { BcmRadio, defineCustomElement as defineCustomElementBcmRadio } from './bcm-radio.js';
|
|
66
67
|
export { BcmRadioGroup, defineCustomElement as defineCustomElementBcmRadioGroup } from './bcm-radio-group.js';
|
|
67
68
|
export { BcmRange, defineCustomElement as defineCustomElementBcmRange } from './bcm-range.js';
|
|
69
|
+
export { BcmRcOverflow, defineCustomElement as defineCustomElementBcmRcOverflow } from './bcm-rc-overflow.js';
|
|
68
70
|
export { BcmResult, defineCustomElement as defineCustomElementBcmResult } from './bcm-result.js';
|
|
69
71
|
export { BcmScrollArea, defineCustomElement as defineCustomElementBcmScrollArea } from './bcm-scroll-area.js';
|
|
70
72
|
export { BcmSearch, defineCustomElement as defineCustomElementBcmSearch } from './bcm-search.js';
|