bromcom-ui 2.8.1-rc.1 → 2.8.1-rc.10-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-5b2b1352.entry.js → p-02c42184.entry.js} +1 -1
- package/dist/bromcom-ui/p-037a40a6.entry.js +5 -0
- package/dist/bromcom-ui/{p-0ae7d5fb.entry.js → p-06a45faf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-748cefe3.entry.js → p-089069a9.entry.js} +1 -1
- package/dist/bromcom-ui/p-09c105f8.js +5 -0
- package/dist/bromcom-ui/{p-70909443.entry.js → p-09e8d92e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e0991d3a.entry.js → p-09fbb3b8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c2210caa.entry.js → p-0d1e483d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cab8c1e0.entry.js → p-0dfca6d7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5098fca3.entry.js → p-0fa13944.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6755089b.js → p-11d582b5.js} +1 -1
- package/dist/bromcom-ui/p-148f83a6.entry.js +5 -0
- package/dist/bromcom-ui/p-19476cc8.entry.js +5 -0
- package/dist/bromcom-ui/{p-6de2deb5.entry.js → p-1a4ec3c9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bf523f14.entry.js → p-1a918f69.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6fc52a85.entry.js → p-1e9d406f.entry.js} +1 -1
- package/dist/bromcom-ui/p-1eabd5dc.js +10 -0
- package/dist/bromcom-ui/{p-bda1709b.entry.js → p-23bda383.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a8c8c9cf.entry.js → p-243b178e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-67ff8aa3.entry.js → p-295d7119.entry.js} +1 -1
- package/dist/bromcom-ui/p-2a123374.entry.js +5 -0
- package/dist/bromcom-ui/{p-02116d36.entry.js → p-2b00934e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-940cbe01.js → p-34b8ec60.js} +1 -1
- package/dist/bromcom-ui/{p-c3da137b.entry.js → p-3661e4d1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ffdc6086.entry.js → p-4886e703.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e6afe8b6.entry.js → p-53712b34.entry.js} +1 -1
- package/dist/bromcom-ui/p-65d74e36.entry.js +5 -0
- package/dist/bromcom-ui/{p-a58c6ceb.entry.js → p-6ade0512.entry.js} +1 -1
- package/dist/bromcom-ui/{p-216c6fd5.entry.js → p-6e9c67c4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-95351a23.entry.js → p-721c9f7d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a3109200.entry.js → p-7259beea.entry.js} +1 -1
- package/dist/bromcom-ui/p-759ed536.entry.js +5 -0
- package/dist/bromcom-ui/{p-6d8f018f.entry.js → p-818d7779.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ffec0a2b.js → p-86221bd5.js} +1 -1
- package/dist/bromcom-ui/{p-481f4962.entry.js → p-885f5588.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b40bb51f.entry.js → p-90426981.entry.js} +1 -1
- package/dist/bromcom-ui/p-91d43275.entry.js +13 -0
- package/dist/bromcom-ui/{p-677153b5.entry.js → p-95b7a1ae.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3f9d992a.entry.js → p-99a858ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b9ba70c3.entry.js → p-9a067c18.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7ad7c6d7.entry.js → p-9d0a5fa5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-406785b9.entry.js → p-9d60c905.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a6b9ac13.entry.js → p-a1aa14b8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-18a5c6ab.entry.js → p-a23fbb1b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-426b7889.entry.js → p-ac73dc85.entry.js} +1 -1
- package/dist/bromcom-ui/p-ad5d5452.entry.js +5 -0
- package/dist/bromcom-ui/{p-44b18c6d.entry.js → p-b45f1818.entry.js} +1 -1
- package/dist/bromcom-ui/p-babbf589.js +5 -0
- package/dist/bromcom-ui/{p-68868af9.entry.js → p-bd50f5c7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7af21a10.entry.js → p-be88442c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-495b54be.entry.js → p-c9d15e14.entry.js} +1 -1
- package/dist/bromcom-ui/{p-773d6818.js → p-d002a5ca.js} +1 -1
- package/dist/bromcom-ui/{p-1f0ce7fa.entry.js → p-d10b2420.entry.js} +1 -1
- package/dist/bromcom-ui/p-d52bdae8.entry.js +5 -0
- package/dist/bromcom-ui/p-e291a70c.entry.js +5 -0
- package/dist/bromcom-ui/{p-63bff12e.entry.js → p-e63cd734.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e0855669.entry.js → p-ea808b98.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4b1cba4c.entry.js → p-f9ef85d4.entry.js} +1 -1
- package/dist/bromcom-ui/p-fa958e3a.entry.js +5 -0
- package/dist/bromcom-ui/{p-81f1dd1f.js → p-ff2f2303.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 +4 -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 +17 -546
- 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 +143 -331
- 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 +34 -10
- 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 +3 -3
- 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-493daefd.js → generate-a326693e.js} +10 -1
- package/dist/cjs/index-906fb4e5.js +540 -0
- package/dist/cjs/{input-template-96af0058.js → input-template-f4d1834d.js} +1 -1
- package/dist/cjs/{json-parse-decarator-b5b0b23d.js → json-parse-decarator-a72e223c.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-051fe1ec.js → number-helper-ca12966b.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-efee4ad7.js → stepper-states-2e52f5b2.js} +1 -1
- package/dist/cjs/{tooltip-helper-a8734616.js → tooltip-helper-a11a36cc.js} +3 -3
- package/dist/cjs/{validators-50fd1ad1.js → validators-3697c8dc.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 +2 -2
- package/dist/collection/components/molecules/menu/menu.css +23 -1
- package/dist/collection/components/molecules/menu/menu.js +41 -2
- package/dist/collection/components/molecules/modal/modal.js +59 -17
- 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/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 +1 -1
- 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/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 +157 -332
- package/dist/components/bcm-modal.js +34 -10
- 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 +2 -2
- 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/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 +4 -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 +7 -536
- 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 +143 -331
- 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 +34 -10
- 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 +3 -3
- 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-de5e04cf.js → generate-21bf7157.js} +10 -1
- package/dist/esm/index-6310a048.js +537 -0
- package/dist/esm/{input-template-c5338e25.js → input-template-1c1d8658.js} +1 -1
- package/dist/esm/{json-parse-decarator-a417723b.js → json-parse-decarator-8bbed2b0.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-8de373ee.js → number-helper-53aabc3d.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-64ffef36.js → stepper-states-aba688ef.js} +1 -1
- package/dist/esm/{tooltip-helper-096296d0.js → tooltip-helper-2b15bcb1.js} +3 -3
- package/dist/esm/{validators-c8be2c83.js → validators-db449fed.js} +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +1 -1
- 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/stepper/stepper.d.ts +3 -0
- package/dist/types/components/organism/list/list.d.ts +9 -5
- 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 +50 -4
- package/package.json +2 -1
- package/dist/bromcom-ui/p-2677dc60.entry.js +0 -10
- package/dist/bromcom-ui/p-3ee818a8.entry.js +0 -5
- package/dist/bromcom-ui/p-48e2d5e5.js +0 -5
- package/dist/bromcom-ui/p-4bbdd324.entry.js +0 -5
- package/dist/bromcom-ui/p-57c71c1f.entry.js +0 -5
- package/dist/bromcom-ui/p-6a842eb1.js +0 -5
- package/dist/bromcom-ui/p-7a89e7ae.entry.js +0 -5
- package/dist/bromcom-ui/p-a8b7d3cf.entry.js +0 -5
- package/dist/bromcom-ui/p-b2d87a12.entry.js +0 -5
- package/dist/bromcom-ui/p-c0e58db2.entry.js +0 -5
- package/dist/bromcom-ui/p-ea763cf4.entry.js +0 -5
- package/dist/bromcom-ui/p-efee3d33.entry.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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
+
|
|
7
|
+
const BcmContent = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.el.slot = "content";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null, h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
get el() { return getElement(this); }
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { BcmContent as bcm_content };
|
|
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-39
|
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
8
|
import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
9
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import { d as delay } from './utils-57652744.js';
|
|
12
12
|
import './_commonjsHelpers-3016b722.js';
|
|
@@ -7,7 +7,7 @@ import { D as DragDirections, E as ElementDragger } from './element-dragger-89bb
|
|
|
7
7
|
import { c as classnames } from './index-ed9652af.js';
|
|
8
8
|
import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
|
|
9
9
|
import { d as delay } from './utils-57652744.js';
|
|
10
|
-
import { G as Generate } from './generate-
|
|
10
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
11
11
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
12
12
|
import { g as getPlacement, s as setPosition } from './popover-placement-78f86f15.js';
|
|
13
13
|
import { L as LabelTemplate } from './label-template-d74fe788.js';
|
|
@@ -841,7 +841,7 @@ const BcmDatetimePicker = class {
|
|
|
841
841
|
if (text) {
|
|
842
842
|
this.setError(true, (this.type === Types.datetime && 'invalid date or time') ||
|
|
843
843
|
(this.type === Types.range && 'invalid date range') ||
|
|
844
|
-
(this.type === Types.date && '
|
|
844
|
+
(this.type === Types.date && 'The selected date is not allowed.') ||
|
|
845
845
|
(this.type === Types.time && 'invalid time'));
|
|
846
846
|
}
|
|
847
847
|
this.setValue(true);
|
|
@@ -1399,14 +1399,11 @@ const BcmDatetimePicker = class {
|
|
|
1399
1399
|
});
|
|
1400
1400
|
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>`;
|
|
1401
1401
|
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>`;
|
|
1402
|
+
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>`;
|
|
1402
1403
|
const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
|
|
1403
1404
|
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),
|
|
1404
1405
|
// on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
|
|
1405
|
-
noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("bcm-
|
|
1406
|
-
// slot="suffix"
|
|
1407
|
-
// title={this.errorText}
|
|
1408
|
-
icon: "far fa-exclamation-circle"
|
|
1409
|
-
})))), 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: {
|
|
1406
|
+
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: {
|
|
1410
1407
|
'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
|
|
1411
1408
|
'not-this-month': !day.thisMonth,
|
|
1412
1409
|
'is-weekend': day.isWeekend,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
6
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
7
7
|
import './colors-44c95e7e.js';
|
|
8
8
|
import './_commonjsHelpers-3016b722.js';
|
|
9
9
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import './color-helper-e8ce23d7.js';
|
|
7
7
|
import './datetime-helper-df25808a.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
9
|
-
import './number-helper-
|
|
8
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
9
|
+
import './number-helper-53aabc3d.js';
|
|
10
10
|
import './string-helper-6bd24967.js';
|
|
11
|
-
import './validators-
|
|
11
|
+
import './validators-db449fed.js';
|
|
12
12
|
import './element-dragger-89bb52fd.js';
|
|
13
13
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
14
14
|
import { c as classnames } from './index-ed9652af.js';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { J as JsonParse } from './json-parse-decarator-
|
|
9
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { J as JsonParse } from './json-parse-decarator-8bbed2b0.js';
|
|
9
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import './_commonjsHelpers-3016b722.js';
|
|
12
12
|
import './colors-44c95e7e.js';
|
|
@@ -54,6 +54,7 @@ const BcmDropdown = class {
|
|
|
54
54
|
this.minHeight = '50px';
|
|
55
55
|
this.stopDeepClean = false;
|
|
56
56
|
this.selectable = true;
|
|
57
|
+
this.gap = '4px';
|
|
57
58
|
this.color = undefined;
|
|
58
59
|
this.activeItem = null;
|
|
59
60
|
this.data = [];
|
|
@@ -76,13 +77,6 @@ const BcmDropdown = class {
|
|
|
76
77
|
handleSlotItems({ detail }) {
|
|
77
78
|
this.data = detail;
|
|
78
79
|
}
|
|
79
|
-
componentDidLoad() {
|
|
80
|
-
var _a;
|
|
81
|
-
const bcmContent = this.el.querySelector('bcm-content');
|
|
82
|
-
if (bcmContent) {
|
|
83
|
-
(_a = document.getElementById(this.menuId)) === null || _a === void 0 ? void 0 : _a.appendChild(bcmContent);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
80
|
setActiveAttribute(e) {
|
|
87
81
|
if (e.detail) {
|
|
88
82
|
this.bcmDropdownChange.emit(e.detail);
|
|
@@ -102,7 +96,7 @@ const BcmDropdown = class {
|
|
|
102
96
|
'bcm-dropdown__icon--open': isOpen,
|
|
103
97
|
});
|
|
104
98
|
const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
105
|
-
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e) }))));
|
|
99
|
+
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }), h("slot", { name: "content" }))));
|
|
106
100
|
}
|
|
107
101
|
get el() { return getElement(this); }
|
|
108
102
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
6
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
7
7
|
import { c as classnames } from './index-ed9652af.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
9
|
import { C as ColorHelper } from './color-helper-e8ce23d7.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate, s as snq } from './generate-
|
|
7
|
+
import { G as Generate, s as snq } from './generate-21bf7157.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
9
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
10
10
|
import './colors-44c95e7e.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
6
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
7
7
|
import { c as classnames } from './index-ed9652af.js';
|
|
8
8
|
import './colors-44c95e7e.js';
|
|
9
9
|
import './_commonjsHelpers-3016b722.js';
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
7
|
-
import { N as NumberHelper } from './number-helper-
|
|
6
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
7
|
+
import { N as NumberHelper } from './number-helper-53aabc3d.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
|
-
import { V as Validators } from './validators-
|
|
9
|
+
import { V as Validators } from './validators-db449fed.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import { C as CaptionTemplate } from './caption-template-da16ba7b.js';
|
|
12
|
-
import { I as InputTemplate } from './input-template-
|
|
12
|
+
import { I as InputTemplate } from './input-template-1c1d8658.js';
|
|
13
13
|
import { c as classnames } from './index-ed9652af.js';
|
|
14
14
|
import { d as delay } from './utils-57652744.js';
|
|
15
15
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
@@ -17,7 +17,7 @@ import './colors-44c95e7e.js';
|
|
|
17
17
|
import './_commonjsHelpers-3016b722.js';
|
|
18
18
|
import './types-6f06fa1a.js';
|
|
19
19
|
|
|
20
|
-
const inputCss = "@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-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;
|
|
20
|
+
const inputCss = "@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-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
|
|
21
21
|
|
|
22
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23
23
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
6
|
+
import { G as Generate } from './generate-21bf7157.js';
|
|
7
7
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
8
8
|
import { c as classnames } from './index-ed9652af.js';
|
|
9
9
|
import { C as ColorHelper } from './color-helper-e8ce23d7.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate, s as snq } from './generate-
|
|
6
|
+
import { G as Generate, s as snq } from './generate-21bf7157.js';
|
|
7
7
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
8
8
|
import './colors-44c95e7e.js';
|
|
9
9
|
import './_commonjsHelpers-3016b722.js';
|