bromcom-ui 2.9.0-rc.11 → 2.9.0-rc.12
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-5dc1d0fc.entry.js → p-02fc6c76.entry.js} +1 -1
- package/dist/bromcom-ui/p-08c75801.js +5 -0
- package/dist/bromcom-ui/{p-56317397.entry.js → p-0bc35a82.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c8a64f05.entry.js → p-0d0fc47b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1701ff2a.entry.js → p-13070661.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9519a9e4.entry.js → p-1ad5b7dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-068d918e.entry.js → p-1fc491fc.entry.js} +1 -1
- package/dist/bromcom-ui/p-203c8e37.entry.js +5 -0
- package/dist/bromcom-ui/{p-37084b52.entry.js → p-20422d81.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bdec3fa0.entry.js → p-23a805b2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9bf657da.entry.js → p-26da70f2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cbb2de64.entry.js → p-29722bff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2670b77.entry.js → p-3a83e2ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-104a32ce.entry.js → p-3c2db0c1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-45ca98b5.entry.js → p-3d983699.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0ce0079c.entry.js → p-416f6233.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e1689f47.js → p-43a16ce4.js} +1 -1
- package/dist/bromcom-ui/{p-49bb8e10.js → p-44407faa.js} +1 -1
- package/dist/bromcom-ui/{p-b4caa7af.entry.js → p-4772e438.entry.js} +1 -1
- package/dist/bromcom-ui/p-49f37d54.js +5 -0
- package/dist/bromcom-ui/{p-eaaf03db.js → p-509cfa99.js} +1 -1
- package/dist/bromcom-ui/{p-0a7f3cd6.entry.js → p-55931686.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f0061666.entry.js → p-5c27d09b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-82671aa3.entry.js → p-5f11b62c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2ba8bfb9.js → p-64096fe2.js} +1 -1
- package/dist/bromcom-ui/{p-ce3b1f49.entry.js → p-6abc4fdf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-76595c93.js → p-6b60a4d3.js} +1 -1
- package/dist/bromcom-ui/{p-78f57233.entry.js → p-6c878da5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2d4a0a66.entry.js → p-6e592196.entry.js} +1 -1
- package/dist/bromcom-ui/{p-74798533.entry.js → p-70994ba0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-62eb13d4.entry.js → p-78e70a44.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8403e81f.entry.js → p-7e10f626.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c21b17f.js → p-8507df31.js} +1 -1
- package/dist/bromcom-ui/p-8abe303b.entry.js +5 -0
- package/dist/bromcom-ui/{p-cff8ef93.js → p-91246af3.js} +1 -1
- package/dist/bromcom-ui/{p-4707aa4d.entry.js → p-94a9bd14.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0ff006e8.entry.js → p-965703ec.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d896a91f.entry.js → p-98afbb62.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0b0ff7ee.entry.js → p-9a21398e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8b6dbd63.entry.js → p-9d911ba3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cea71a01.entry.js → p-a2ab6adb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6cff5185.entry.js → p-a31e475a.entry.js} +1 -1
- package/dist/bromcom-ui/p-a799b910.entry.js +5 -0
- package/dist/bromcom-ui/{p-19c7cea5.entry.js → p-a7a5da82.entry.js} +1 -1
- package/dist/bromcom-ui/p-a81644d6.entry.js +5 -0
- package/dist/bromcom-ui/{p-5101acb3.js → p-a89cff9b.js} +1 -1
- package/dist/bromcom-ui/p-ab53fd56.entry.js +5 -0
- package/dist/bromcom-ui/{p-cb522ae0.js → p-ab7bd6e1.js} +1 -1
- package/dist/bromcom-ui/{p-6e577849.entry.js → p-ac385400.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8eb5ed81.entry.js → p-aedc59f3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5fbb57f6.entry.js → p-b9cfa2c6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0976ff0f.entry.js → p-bcef2201.entry.js} +1 -1
- package/dist/bromcom-ui/{p-324bf5e5.entry.js → p-c0a62a71.entry.js} +1 -1
- package/dist/bromcom-ui/{p-12304c2d.entry.js → p-c9212343.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3db7cc9b.entry.js → p-cb3bc0f4.entry.js} +1 -1
- package/dist/bromcom-ui/p-d3d07c8c.js +5 -0
- package/dist/bromcom-ui/{p-bdf80844.entry.js → p-d57f3587.entry.js} +1 -1
- package/dist/bromcom-ui/{p-63337aa3.entry.js → p-d61af652.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2c21b28a.entry.js → p-e6f888b3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f8a91bd5.js → p-e7cbc79a.js} +1 -1
- package/dist/bromcom-ui/{p-941b7517.entry.js → p-eb279a80.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b96dbbf.entry.js → p-ebe49b26.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a4e3b170.entry.js → p-eefcd035.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3bd27fdd.js → p-f394a316.js} +1 -1
- package/dist/bromcom-ui/{p-e59b1f37.entry.js → p-f4634124.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c8d647c1.entry.js → p-f533a1b5.entry.js} +1 -1
- package/dist/bromcom-ui/p-fa9e6264.entry.js +5 -0
- package/dist/bromcom-ui/p-faad6962.entry.js +5 -0
- package/dist/bromcom-ui/{p-94f43ce3.entry.js → p-fb36ab9c.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +17 -2580
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +3 -3
- package/dist/cjs/{bcm-button_8.cjs.entry.js → bcm-button_9.cjs.entry.js} +338 -137
- package/dist/cjs/bcm-card.cjs.entry.js +4 -4
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-chip-group.cjs.entry.js +7 -7
- 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 +5 -5
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-date.cjs.entry.js +7 -7
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +10 -8
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +5 -5
- package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +3 -3
- package/dist/cjs/bcm-form-2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-form.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-items.cjs.entry.js +3 -3
- package/dist/cjs/bcm-list_3.cjs.entry.js +11 -11
- package/dist/cjs/bcm-menu.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal.cjs.entry.js +4 -4
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +4 -4
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
- package/dist/cjs/bcm-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/bcm-radio.cjs.entry.js +5 -5
- package/dist/cjs/bcm-range.cjs.entry.js +2 -2
- package/dist/cjs/bcm-select.cjs.entry.js +1 -1
- package/dist/cjs/bcm-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +6 -6
- package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab-group.cjs.entry.js +5 -5
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +5 -5
- package/dist/cjs/bcm-tab-item.cjs.entry.js +5 -5
- package/dist/cjs/bcm-table.cjs.entry.js +5 -5
- package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
- package/dist/cjs/bcm-text.cjs.entry.js +2 -2
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{generate-84a14c1a.js → generate-4911eaae.js} +1 -1
- package/dist/cjs/{global-5e41fa4e.js → global-efef2bd1.js} +1 -1
- package/dist/cjs/index-5279dea2.js +2571 -0
- package/dist/cjs/{input-template-b5038151.js → input-template-11d547bd.js} +1 -1
- package/dist/cjs/{json-parse-decarator-c18e611d.js → json-parse-decarator-fdcd20df.js} +1 -1
- package/dist/cjs/{label-template-8d34230f.js → label-template-15c3c0ed.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-59448c42.js → number-helper-72d5f146.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +5 -5
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
- package/dist/cjs/{package-fe10d578.js → package-70273fae.js} +1 -1
- package/dist/cjs/{popover-placement-86ece590.js → popover-placement-8866eab1.js} +1 -1
- package/dist/cjs/{slot-template-758beb71.js → slot-template-de6a91b1.js} +1 -1
- package/dist/cjs/{stepper-states-deb53239.js → stepper-states-56e660a4.js} +1 -1
- package/dist/cjs/{string-helper-b89a9828.js → string-helper-9b392049.js} +2 -2
- package/dist/cjs/{tooltip-helper-5b2ee66d.js → tooltip-helper-3b8b977f.js} +4 -4
- package/dist/cjs/{validators-d89fdce5.js → validators-c43fa1d0.js} +1 -1
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +9 -2
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +200 -149
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.style.js +73 -0
- package/dist/collection/components/organism/date-picker/date-picker.css +1 -1
- package/dist/collection/components/organism/date-picker/date-picker.js +20 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +13 -1
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +21 -1
- package/dist/collection/components/organism/list/list.css +1 -1
- package/dist/collection/components/organism/time-picker/time-picker.css +1 -1
- package/dist/collection/components/organism/time-picker/time-picker.js +20 -1
- package/dist/collection/helper/string-helper.js +2 -2
- package/dist/components/avatar.js +2 -1
- package/dist/components/badge.js +2 -2565
- package/dist/components/bcm-date-picker.js +4 -2
- package/dist/components/bcm-input-dropdown.js +214 -149
- package/dist/components/bcm-textarea.js +1 -214
- package/dist/components/bcm-time-picker.js +4 -2
- package/dist/components/datetime-picker.js +5 -2
- package/dist/components/generate.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index5.js +2569 -0
- package/dist/components/list.js +1 -1
- package/dist/components/string-helper.js +2 -2
- package/dist/{esm/bcm-textarea.entry.js → components/textarea.js} +80 -19
- package/dist/esm/bcm-accordion.entry.js +2 -2
- package/dist/esm/bcm-alert.entry.js +3 -3
- package/dist/esm/bcm-attendance.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +6 -2569
- package/dist/esm/bcm-breadcrumb.entry.js +2 -2
- package/dist/esm/bcm-button-group.entry.js +3 -3
- package/dist/esm/{bcm-button_8.entry.js → bcm-button_9.entry.js} +339 -139
- package/dist/esm/bcm-card.entry.js +4 -4
- package/dist/esm/bcm-checkbox-group.entry.js +5 -5
- package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
- package/dist/esm/bcm-checkbox_2.entry.js +4 -4
- package/dist/esm/bcm-chip-group.entry.js +7 -7
- package/dist/esm/bcm-chip.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +2 -2
- package/dist/esm/bcm-color-input.entry.js +5 -5
- package/dist/esm/bcm-date-picker.entry.js +5 -4
- package/dist/esm/bcm-date.entry.js +7 -7
- package/dist/esm/bcm-datetime-picker.entry.js +10 -8
- package/dist/esm/bcm-default.entry.js +2 -2
- package/dist/esm/bcm-drawer.entry.js +5 -5
- package/dist/esm/bcm-dropdown.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +3 -3
- package/dist/esm/bcm-form-2.entry.js +3 -3
- package/dist/esm/bcm-form.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +2 -2
- package/dist/esm/bcm-item.entry.js +2 -2
- package/dist/esm/bcm-items.entry.js +3 -3
- package/dist/esm/bcm-list_3.entry.js +11 -11
- package/dist/esm/bcm-menu.entry.js +6 -6
- package/dist/esm/bcm-modal-2-footer.entry.js +5 -5
- package/dist/esm/bcm-modal-2-header.entry.js +5 -5
- package/dist/esm/bcm-modal-2.entry.js +5 -5
- package/dist/esm/bcm-modal.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +4 -4
- package/dist/esm/bcm-popconfirm.entry.js +2 -2
- package/dist/esm/bcm-popover.entry.js +5 -5
- package/dist/esm/bcm-progress.entry.js +2 -2
- package/dist/esm/bcm-radio-group.entry.js +5 -5
- package/dist/esm/bcm-radio.entry.js +5 -5
- package/dist/esm/bcm-range.entry.js +2 -2
- package/dist/esm/bcm-select.entry.js +1 -1
- package/dist/esm/bcm-skeleton.entry.js +2 -2
- package/dist/esm/bcm-step.entry.js +3 -3
- package/dist/esm/bcm-stepper.entry.js +6 -6
- package/dist/esm/bcm-switch.entry.js +2 -2
- package/dist/esm/bcm-tab-group.entry.js +5 -5
- package/dist/esm/bcm-tab-item-header.entry.js +5 -5
- package/dist/esm/bcm-tab-item.entry.js +5 -5
- package/dist/esm/bcm-table.entry.js +5 -5
- package/dist/esm/bcm-tag.entry.js +3 -3
- package/dist/esm/bcm-text.entry.js +2 -2
- package/dist/esm/bcm-time-picker.entry.js +5 -4
- package/dist/esm/bcm-toast.entry.js +3 -3
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{generate-77bbe272.js → generate-c890c880.js} +1 -1
- package/dist/esm/{global-1b5f8bb5.js → global-80f07324.js} +1 -1
- package/dist/esm/index-3bc8c6e3.js +2569 -0
- package/dist/esm/{input-template-bf10f00a.js → input-template-7f96e7e6.js} +1 -1
- package/dist/esm/{json-parse-decarator-7a13e271.js → json-parse-decarator-2c6f525f.js} +1 -1
- package/dist/esm/{label-template-f156f33f.js → label-template-62e49c38.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-787aa192.js → number-helper-1ae23de5.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +5 -5
- package/dist/esm/old-bcm-popover.entry.js +2 -2
- package/dist/esm/{package-42b4a30f.js → package-22f4a05f.js} +1 -1
- package/dist/esm/{popover-placement-018109c4.js → popover-placement-7cce412f.js} +1 -1
- package/dist/esm/{slot-template-46035685.js → slot-template-7447145d.js} +1 -1
- package/dist/esm/{stepper-states-9f10dd4d.js → stepper-states-46d8bf00.js} +1 -1
- package/dist/esm/{string-helper-4a28f775.js → string-helper-5ef67a66.js} +2 -2
- package/dist/esm/{tooltip-helper-a6101f5d.js → tooltip-helper-a72d4674.js} +4 -4
- package/dist/esm/{validators-0ba6d217.js → validators-0601fa22.js} +1 -1
- package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +25 -17
- package/dist/types/components/molecules/input-dropdown/input-dropdown.style.d.ts +307 -0
- package/dist/types/components/organism/date-picker/date-picker.d.ts +1 -0
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +1 -0
- package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -0
- package/dist/types/components.d.ts +19 -7
- package/package.json +1 -1
- package/dist/bromcom-ui/p-042efd5e.entry.js +0 -5
- package/dist/bromcom-ui/p-132d4301.entry.js +0 -5
- package/dist/bromcom-ui/p-2608b100.entry.js +0 -5
- package/dist/bromcom-ui/p-2a9053d8.js +0 -5
- package/dist/bromcom-ui/p-4ae97c02.entry.js +0 -5
- package/dist/bromcom-ui/p-5600c817.js +0 -5
- package/dist/bromcom-ui/p-57a08b2c.entry.js +0 -5
- package/dist/bromcom-ui/p-7014cade.entry.js +0 -5
- package/dist/bromcom-ui/p-bebbec89.entry.js +0 -5
- package/dist/bromcom-ui/p-edfa7c7b.entry.js +0 -5
- package/dist/cjs/bcm-textarea.cjs.entry.js +0 -163
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
export declare const inputDropdownStyle: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
small: {
|
|
4
|
+
button: string;
|
|
5
|
+
};
|
|
6
|
+
medium: {
|
|
7
|
+
button: string;
|
|
8
|
+
inputArea: string;
|
|
9
|
+
input: string;
|
|
10
|
+
};
|
|
11
|
+
large: {
|
|
12
|
+
button: string;
|
|
13
|
+
inputArea: string;
|
|
14
|
+
input: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
invalid: {
|
|
18
|
+
true: {
|
|
19
|
+
inputArea: string;
|
|
20
|
+
input: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
true: {
|
|
25
|
+
base: string;
|
|
26
|
+
input: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
hideComment: {
|
|
30
|
+
true: {
|
|
31
|
+
base: string;
|
|
32
|
+
};
|
|
33
|
+
false: {
|
|
34
|
+
base: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
label: {
|
|
38
|
+
true: "";
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
base: string;
|
|
42
|
+
content: string;
|
|
43
|
+
inputArea: string;
|
|
44
|
+
input: string;
|
|
45
|
+
button: string[];
|
|
46
|
+
menu: string;
|
|
47
|
+
menuItem: string;
|
|
48
|
+
selectedItem: string;
|
|
49
|
+
disabledItem: string;
|
|
50
|
+
commentArea: string;
|
|
51
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
52
|
+
size: {
|
|
53
|
+
small: {
|
|
54
|
+
button: string;
|
|
55
|
+
};
|
|
56
|
+
medium: {
|
|
57
|
+
button: string;
|
|
58
|
+
inputArea: string;
|
|
59
|
+
input: string;
|
|
60
|
+
};
|
|
61
|
+
large: {
|
|
62
|
+
button: string;
|
|
63
|
+
inputArea: string;
|
|
64
|
+
input: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
invalid: {
|
|
68
|
+
true: {
|
|
69
|
+
inputArea: string;
|
|
70
|
+
input: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
true: {
|
|
75
|
+
base: string;
|
|
76
|
+
input: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
hideComment: {
|
|
80
|
+
true: {
|
|
81
|
+
base: string;
|
|
82
|
+
};
|
|
83
|
+
false: {
|
|
84
|
+
base: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
label: {
|
|
88
|
+
true: "";
|
|
89
|
+
};
|
|
90
|
+
}, {
|
|
91
|
+
size: {
|
|
92
|
+
small: {
|
|
93
|
+
button: string;
|
|
94
|
+
};
|
|
95
|
+
medium: {
|
|
96
|
+
button: string;
|
|
97
|
+
inputArea: string;
|
|
98
|
+
input: string;
|
|
99
|
+
};
|
|
100
|
+
large: {
|
|
101
|
+
button: string;
|
|
102
|
+
inputArea: string;
|
|
103
|
+
input: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
invalid: {
|
|
107
|
+
true: {
|
|
108
|
+
inputArea: string;
|
|
109
|
+
input: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
disabled: {
|
|
113
|
+
true: {
|
|
114
|
+
base: string;
|
|
115
|
+
input: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
hideComment: {
|
|
119
|
+
true: {
|
|
120
|
+
base: string;
|
|
121
|
+
};
|
|
122
|
+
false: {
|
|
123
|
+
base: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
label: {
|
|
127
|
+
true: "";
|
|
128
|
+
};
|
|
129
|
+
}>, {
|
|
130
|
+
size: {
|
|
131
|
+
small: {
|
|
132
|
+
button: string;
|
|
133
|
+
};
|
|
134
|
+
medium: {
|
|
135
|
+
button: string;
|
|
136
|
+
inputArea: string;
|
|
137
|
+
input: string;
|
|
138
|
+
};
|
|
139
|
+
large: {
|
|
140
|
+
button: string;
|
|
141
|
+
inputArea: string;
|
|
142
|
+
input: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
invalid: {
|
|
146
|
+
true: {
|
|
147
|
+
inputArea: string;
|
|
148
|
+
input: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
disabled: {
|
|
152
|
+
true: {
|
|
153
|
+
base: string;
|
|
154
|
+
input: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
hideComment: {
|
|
158
|
+
true: {
|
|
159
|
+
base: string;
|
|
160
|
+
};
|
|
161
|
+
false: {
|
|
162
|
+
base: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
label: {
|
|
166
|
+
true: "";
|
|
167
|
+
};
|
|
168
|
+
}, {
|
|
169
|
+
base: string;
|
|
170
|
+
content: string;
|
|
171
|
+
inputArea: string;
|
|
172
|
+
input: string;
|
|
173
|
+
button: string[];
|
|
174
|
+
menu: string;
|
|
175
|
+
menuItem: string;
|
|
176
|
+
selectedItem: string;
|
|
177
|
+
disabledItem: string;
|
|
178
|
+
commentArea: string;
|
|
179
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
180
|
+
size: {
|
|
181
|
+
small: {
|
|
182
|
+
button: string;
|
|
183
|
+
};
|
|
184
|
+
medium: {
|
|
185
|
+
button: string;
|
|
186
|
+
inputArea: string;
|
|
187
|
+
input: string;
|
|
188
|
+
};
|
|
189
|
+
large: {
|
|
190
|
+
button: string;
|
|
191
|
+
inputArea: string;
|
|
192
|
+
input: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
invalid: {
|
|
196
|
+
true: {
|
|
197
|
+
inputArea: string;
|
|
198
|
+
input: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
disabled: {
|
|
202
|
+
true: {
|
|
203
|
+
base: string;
|
|
204
|
+
input: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
hideComment: {
|
|
208
|
+
true: {
|
|
209
|
+
base: string;
|
|
210
|
+
};
|
|
211
|
+
false: {
|
|
212
|
+
base: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
label: {
|
|
216
|
+
true: "";
|
|
217
|
+
};
|
|
218
|
+
}, {
|
|
219
|
+
base: string;
|
|
220
|
+
content: string;
|
|
221
|
+
inputArea: string;
|
|
222
|
+
input: string;
|
|
223
|
+
button: string[];
|
|
224
|
+
menu: string;
|
|
225
|
+
menuItem: string;
|
|
226
|
+
selectedItem: string;
|
|
227
|
+
disabledItem: string;
|
|
228
|
+
commentArea: string;
|
|
229
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
230
|
+
size: {
|
|
231
|
+
small: {
|
|
232
|
+
button: string;
|
|
233
|
+
};
|
|
234
|
+
medium: {
|
|
235
|
+
button: string;
|
|
236
|
+
inputArea: string;
|
|
237
|
+
input: string;
|
|
238
|
+
};
|
|
239
|
+
large: {
|
|
240
|
+
button: string;
|
|
241
|
+
inputArea: string;
|
|
242
|
+
input: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
invalid: {
|
|
246
|
+
true: {
|
|
247
|
+
inputArea: string;
|
|
248
|
+
input: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
disabled: {
|
|
252
|
+
true: {
|
|
253
|
+
base: string;
|
|
254
|
+
input: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
hideComment: {
|
|
258
|
+
true: {
|
|
259
|
+
base: string;
|
|
260
|
+
};
|
|
261
|
+
false: {
|
|
262
|
+
base: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
label: {
|
|
266
|
+
true: "";
|
|
267
|
+
};
|
|
268
|
+
}, {
|
|
269
|
+
size: {
|
|
270
|
+
small: {
|
|
271
|
+
button: string;
|
|
272
|
+
};
|
|
273
|
+
medium: {
|
|
274
|
+
button: string;
|
|
275
|
+
inputArea: string;
|
|
276
|
+
input: string;
|
|
277
|
+
};
|
|
278
|
+
large: {
|
|
279
|
+
button: string;
|
|
280
|
+
inputArea: string;
|
|
281
|
+
input: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
invalid: {
|
|
285
|
+
true: {
|
|
286
|
+
inputArea: string;
|
|
287
|
+
input: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
disabled: {
|
|
291
|
+
true: {
|
|
292
|
+
base: string;
|
|
293
|
+
input: string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
hideComment: {
|
|
297
|
+
true: {
|
|
298
|
+
base: string;
|
|
299
|
+
};
|
|
300
|
+
false: {
|
|
301
|
+
base: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
label: {
|
|
305
|
+
true: "";
|
|
306
|
+
};
|
|
307
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -44,6 +44,7 @@ export declare class BcmDatetimePicker implements ComponentInterface {
|
|
|
44
44
|
minYear: number;
|
|
45
45
|
maxYear: number;
|
|
46
46
|
noCaption: boolean;
|
|
47
|
+
noMargin: boolean;
|
|
47
48
|
captionError: string;
|
|
48
49
|
caption: string;
|
|
49
50
|
captionType: 'primary' | 'success' | 'warning' | 'error' | 'default';
|
|
@@ -319,6 +319,7 @@ export namespace Components {
|
|
|
319
319
|
"linkedComponent": string;
|
|
320
320
|
"name": string;
|
|
321
321
|
"noCaption": boolean;
|
|
322
|
+
"noMargin": boolean;
|
|
322
323
|
/**
|
|
323
324
|
* @desc
|
|
324
325
|
*/
|
|
@@ -384,6 +385,7 @@ export namespace Components {
|
|
|
384
385
|
"minYear": number;
|
|
385
386
|
"name": string;
|
|
386
387
|
"noCaption": boolean;
|
|
388
|
+
"noMargin": boolean;
|
|
387
389
|
/**
|
|
388
390
|
* @desc
|
|
389
391
|
*/
|
|
@@ -575,13 +577,16 @@ export namespace Components {
|
|
|
575
577
|
"captionType": StatusTypes;
|
|
576
578
|
"customErrorMessage": string;
|
|
577
579
|
"data": InputDropdownData[];
|
|
578
|
-
"defaultValue":
|
|
580
|
+
"defaultValue": Object;
|
|
579
581
|
"disabled": boolean;
|
|
580
582
|
"fullWidth": boolean;
|
|
581
|
-
"get": () => Promise<
|
|
583
|
+
"get": () => Promise<InputDropdownData>;
|
|
584
|
+
"hideCaption": boolean;
|
|
585
|
+
"hideComment": boolean;
|
|
582
586
|
"label": string;
|
|
583
|
-
"
|
|
587
|
+
"lateKeys": string;
|
|
584
588
|
"maxCharacterLimit": number;
|
|
589
|
+
"name": string;
|
|
585
590
|
"noCaption": boolean;
|
|
586
591
|
"placeholder": string;
|
|
587
592
|
"readonly": boolean;
|
|
@@ -590,7 +595,7 @@ export namespace Components {
|
|
|
590
595
|
"set": (data: InputDropdownData[]) => Promise<void>;
|
|
591
596
|
"setClear": () => Promise<void>;
|
|
592
597
|
"size": SizeTypes;
|
|
593
|
-
"value":
|
|
598
|
+
"value": InputDropdownData;
|
|
594
599
|
}
|
|
595
600
|
interface BcmItem {
|
|
596
601
|
"_id": string;
|
|
@@ -1391,6 +1396,7 @@ export namespace Components {
|
|
|
1391
1396
|
"linkedComponent": string;
|
|
1392
1397
|
"name": string;
|
|
1393
1398
|
"noCaption": boolean;
|
|
1399
|
+
"noMargin": boolean;
|
|
1394
1400
|
/**
|
|
1395
1401
|
* @desc
|
|
1396
1402
|
*/
|
|
@@ -2770,6 +2776,7 @@ declare namespace LocalJSX {
|
|
|
2770
2776
|
"linkedComponent"?: string;
|
|
2771
2777
|
"name"?: string;
|
|
2772
2778
|
"noCaption"?: boolean;
|
|
2779
|
+
"noMargin"?: boolean;
|
|
2773
2780
|
"placeholder"?: string;
|
|
2774
2781
|
"placement"?: PlacementTypes;
|
|
2775
2782
|
"range"?: boolean;
|
|
@@ -2799,6 +2806,7 @@ declare namespace LocalJSX {
|
|
|
2799
2806
|
"minYear"?: number;
|
|
2800
2807
|
"name"?: string;
|
|
2801
2808
|
"noCaption"?: boolean;
|
|
2809
|
+
"noMargin"?: boolean;
|
|
2802
2810
|
"onBcm-change"?: (event: BcmDatetimePickerCustomEvent<any>) => void;
|
|
2803
2811
|
/**
|
|
2804
2812
|
* @desc
|
|
@@ -2971,12 +2979,15 @@ declare namespace LocalJSX {
|
|
|
2971
2979
|
"captionType"?: StatusTypes;
|
|
2972
2980
|
"customErrorMessage"?: string;
|
|
2973
2981
|
"data"?: InputDropdownData[];
|
|
2974
|
-
"defaultValue"?:
|
|
2982
|
+
"defaultValue"?: Object;
|
|
2975
2983
|
"disabled"?: boolean;
|
|
2976
2984
|
"fullWidth"?: boolean;
|
|
2985
|
+
"hideCaption"?: boolean;
|
|
2986
|
+
"hideComment"?: boolean;
|
|
2977
2987
|
"label"?: string;
|
|
2978
|
-
"
|
|
2988
|
+
"lateKeys"?: string;
|
|
2979
2989
|
"maxCharacterLimit"?: number;
|
|
2990
|
+
"name"?: string;
|
|
2980
2991
|
"noCaption"?: boolean;
|
|
2981
2992
|
"onBcm-change"?: (event: BcmInputDropdownCustomEvent<any>) => void;
|
|
2982
2993
|
"onBcm-input-dropdown-change"?: (event: BcmInputDropdownCustomEvent<any>) => void;
|
|
@@ -2984,7 +2995,7 @@ declare namespace LocalJSX {
|
|
|
2984
2995
|
"readonly"?: boolean;
|
|
2985
2996
|
"required"?: boolean;
|
|
2986
2997
|
"size"?: SizeTypes;
|
|
2987
|
-
"value"?:
|
|
2998
|
+
"value"?: InputDropdownData;
|
|
2988
2999
|
}
|
|
2989
3000
|
interface BcmItem {
|
|
2990
3001
|
"_id"?: string;
|
|
@@ -3737,6 +3748,7 @@ declare namespace LocalJSX {
|
|
|
3737
3748
|
"linkedComponent"?: string;
|
|
3738
3749
|
"name"?: string;
|
|
3739
3750
|
"noCaption"?: boolean;
|
|
3751
|
+
"noMargin"?: boolean;
|
|
3740
3752
|
"placeholder"?: string;
|
|
3741
3753
|
"placement"?: PlacementTypes;
|
|
3742
3754
|
"required"?: boolean;
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,h as i,H as e,g as s}from"./p-170cf07d.js";import{c as a}from"./p-bed627ab.js";import{I as n}from"./p-3ade1099.js";import{G as h}from"./p-f8a91bd5.js";import{B as p}from"./p-23c35e1b.js";import{d as r}from"./p-3c7a0345.js";import"./p-e45c1546.js";import"./p-5101acb3.js";import"./p-034bbcdd.js";const o=class{constructor(i){t(this,i),this._id=h.UID(),this.time=new Date,this.value=void 0,this.hidden=!1,this.name=void 0,this.fullWidth=!1,this.required=!1,this.label=void 0,this.placeholder=void 0,this.disabled=!1,this.noCaption=!1,this.caption="",this.captionError=void 0,this.captionType="default",this.alignment=void 0,this.placement=p.Placement["bottom-start"],this.linkedComponent=void 0,this.clearable=!1}componentWillLoad(){if("string"==typeof this.time){const t=!!/\b([01][0-9]|2[0-3]):([0-5][0-9])\b/.test(this.time)&&this.time.split(":");this.time=t?new Date((new Date).setHours(Number(t[0]),Number(t[1]))):new Date}}handlePickerLoad(){this.value=this.picker.value}handlePickerChange(t){this.value=t.detail}async set(t){return this.picker.set(t)}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async setDisabled(t){this.disabled=t}async getInput(){return await this.picker.getInput()}async getValue(){return this.value}async isValid(){return await this.picker.isValid()}async setClear(){return await this.picker.setClear(),await r(10),Promise.resolve()}async resetCaption(){return await r(10),await this.picker.resetCaption(),this.captionType="default",this.captionError=null,await r(10),Promise.resolve()}async open(){return await this.picker.open()}render(){const t=a(this.hidden?"hidden":null,{"full-width":this.fullWidth});return i(e,{class:t},i("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:t=>this.picker=t,disabled:this.disabled,"on-bcm-load":()=>this.handlePickerLoad(),"on-bcm-change":t=>this.handlePickerChange(t),noCaption:this.noCaption,captionError:this.captionError,caption:this.caption,captionType:this.captionType,alignment:this.alignment,placement:this.placement}))}get el(){return s(this)}};(function(t,i,e,s){var a,n=arguments.length,h=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,i,e,s);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(h=(n<3?a(h):n>3?a(i,e,h):a(i,e))||h);n>3&&h&&Object.defineProperty(i,e,h)})([n()],o.prototype,"el",void 0),o.style='@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%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}';export{o as bcm_time_picker}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{r as e,c as i,h as r,H as t,g as a}from"./p-170cf07d.js";import{c as n}from"./p-bed627ab.js";import{G as c}from"./p-f8a91bd5.js";import"./p-e45c1546.js";import"./p-5101acb3.js";import"./p-034bbcdd.js";const s=class{constructor(r){e(this,r),this.bcmBreadcrumb=i(this,"bcm-breadcrumb-click",7),this.items=void 0,this.seperator="/",this.hidden=!1,this.isOpen=!1}handleClickOutside(e){this.el.contains(e.target)||this.isOpen&&(this.isOpen=!1)}handleOpen(e){this.isOpen=this.isOpen!=e&&e}parseItem(e,i){return e.index=i,e.id=e.id||c.UID(),e}render(){const{items:e,seperator:i,hidden:a}=this,s=n("bcm-breadcrumb","size-2",{hidden:a}),o=i=>r("bcm-link",Object.assign({id:i.id||c.UID(),onClick:()=>this.bcmBreadcrumb.emit(i),target:i.target&&i.index<e.length-1?i.target:"_self"},(1==i.child||i.index<e.length-1)&&i.href&&{href:i.href},{icon:i.icon?i.icon:null,class:n({active:i.index===e.length-1,"is-link":(1==i.child||i.index<e.length-1)&&i.href})}),i.label?i.label:null),m=i=>r("details",{class:n("bcm-breadcrumb__dropdown-item",{active:i.index===e.length-1,open:this.isOpen===i.id}),id:i.id,open:this.isOpen===i.id},r("summary",{onClick:()=>this.handleOpen(i.id),class:this.isOpen===i.id&&"open"},r("span",{class:"is-link"},r(o,Object.assign({},{icon:i.icon,label:i.label,href:"javascript:void(0)",index:i.index})),r("bcm-icon",{icon:"fas fa-caret-down"}))),r("div",{class:"bcm-breadcrumb__dropdown-submenu"},i.dropdown.map((e=>r("span",{class:"size-2 dropdown-item"},r(o,Object.assign({},e,{child:!0})))))));return r(t,{class:s},r("span",{hidden:!0},r("slot",null)),e.map(((t,a)=>r("span",{class:"bcm-breadcrumb__item"},t.dropdown&&t.dropdown.length>0?m(this.parseItem(t,a)):o(this.parseItem(t,a)),a<e.length-1?r("span",{class:"seperator"},i):null))))}get el(){return a(this)}};s.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;color:var(--bcm-color-grey-7)}.bcm-breadcrumb__item{display:flex;align-items:center}.bcm-breadcrumb .seperator{cursor:default;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;margin-right:8px;color:var(--bcm-color-grey-7)}.bcm-breadcrumb bcm-link:hover{color:var(--bcm-color-grey-7)}.bcm-breadcrumb .active{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .active:hover{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .is-link:hover{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb .is-link:hover bcm-link,.bcm-breadcrumb .is-link:hover bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item{position:relative;display:inline-flex}.bcm-breadcrumb__dropdown-item summary{display:inline-flex;align-items:center;cursor:pointer}.bcm-breadcrumb__dropdown-item summary>span{display:inline-flex;align-items:center}.bcm-breadcrumb__dropdown-item summary::-webkit-details-marker{display:none}.bcm-breadcrumb__dropdown-item summary:focus{outline:none}.bcm-breadcrumb__dropdown-item summary.open bcm-link,.bcm-breadcrumb__dropdown-item summary.open bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item summary .down-icon{margin-left:4px}.bcm-breadcrumb__dropdown-submenu{position:absolute;min-width:140px;background-color:var(--bcm-color-grey-1);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);margin-top:4px}.bcm-breadcrumb__dropdown-submenu .dropdown-item{display:flex;padding:4px 8px}.bcm-breadcrumb__dropdown-submenu .dropdown-item bcm-link{width:100%}';export{s as bcm_breadcrumb}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,c as e,f as i,h as s,H as a,g as n}from"./p-170cf07d.js";import{D as r,E as h}from"./p-5ae0a59b.js";import{c as o}from"./p-bed627ab.js";import{D as c}from"./p-626a65e9.js";import{d as l}from"./p-3c7a0345.js";import{G as d}from"./p-f8a91bd5.js";import{B as p}from"./p-23c35e1b.js";import{g as m,s as u}from"./p-e1689f47.js";import{L as b}from"./p-5600c817.js";import{I as g}from"./p-3ade1099.js";import"./p-e45c1546.js";import"./p-5101acb3.js";import"./p-034bbcdd.js";import"./p-cff8ef93.js";import"./p-2a9053d8.js";var x,f,y;!function(t){t.january="january",t.february="february",t.march="march",t.april="april",t.may="may",t.june="june",t.july="july",t.august="august",t.september="september",t.october="october",t.november="november",t.december="december"}(x||(x={})),function(t){t.sunday="sunday",t.monday="monday",t.tuesday="tuesday",t.wednesday="wednesday",t.thursday="thursday",t.friday="friday",t.saturday="saturday"}(f||(f={})),function(t){t.datetime="datetime",t.range="range",t.date="date",t.time="time"}(y||(y={}));const v=JSON.stringify,w=class{constructor(i){t(this,i),this.load=e(this,"bcm-load",7),this.change=e(this,"bcm-change",7),this.bcmOpen=e(this,"bcm-open",7),this.inputId=null,this.emptyState=!1,this.initialized=!1,this.disabledDatesList={min:null,max:null,dates:[]},this.dayNumbers=[],this.valueText=null,this.dataIsValid=!1,this._id=d.UID(),this.date=new Date,this.endDate=null,this.type=y.datetime,this.disabled=!1,this.disabledDates="",this.value=null,this._open=!1,this.hidden=!1,this.name=void 0,this.fullWidth=!1,this.required=!1,this.label=void 0,this.placeholder=void 0,this.minYear=1900,this.maxYear=2200,this.noCaption=!1,this.captionError=void 0,this.caption="",this.captionType="default",this.alignment=void 0,this.placement=p.Placement["bottom-start"],this.linkedComponent=void 0,this.clearable=!1,this.years=[],this.hours=[],this.minutes=[],this.hasDateModule=!1,this.hasTimeModule=!1,this.renderDate=void 0,this.selectedDate=void 0,this.selectedEndDate=void 0,this.error=!1,this.errorText="",this.tick={}}markForCheck(){this.tick=d.UID()}openChanged(){this.bcmOpen.emit(this._open)}componentWillLoad(){if(this.inputId="picker-input-"+this._id,this.hasDateModule=this.type===y.datetime||this.type===y.date||this.type===y.range,this.hasTimeModule=this.type===y.datetime||this.type===y.time,this.prepareDisabledDates(),this.setData(),!this.initialized){for(let t=this.minYear;t<=this.maxYear;t++)this.years.push(t);for(let t=0;t<=23;t++)this.hours.push(t);for(let t=0;t<=59;t++)this.minutes.push(t);this.load.emit()}this.initialized=!0}componentDidRender(){this.hasDateModule&&!this.yearsDragger&&(this.createDragSelection("years",this.yearsElement,this.yearsWrapperElement,this.yearsStripElement,r.y),this.createWheelChange("years",this.yearsWrapperElement,this.yearsStripElement),this.setDragSelection("years",this.currentDate.year)),this.hasTimeModule&&!this.hoursDragger&&(this.createDragSelection("hours",this.hoursElement,this.hoursWrapperElement,this.timeStripElement,r.y),this.createWheelChange("hours",this.hoursWrapperElement,this.timeStripElement),this.setDragSelection("hours",this.currentDate.hour)),this.hasTimeModule&&!this.minutesDragger&&(this.createDragSelection("minutes",this.minutesElement,this.minutesWrapperElement,this.timeStripElement,r.y),this.createWheelChange("minutes",this.minutesWrapperElement,this.timeStripElement),this.setDragSelection("minutes",this.currentDate.minute))}renderDateChange(){this.initialized&&(this.setData(),this.hasDateModule&&this.setDragSelection("years",this.currentDate.year))}openChange(t){t&&(this.calculateLocation(),this.hasDateModule&&(this.createDragSelection("years",this.yearsElement,this.yearsWrapperElement,this.yearsStripElement,r.y),this.createWheelChange("years",this.yearsWrapperElement,this.yearsStripElement),this.setDragSelection("years",this.currentDate.year)),this.hasTimeModule&&(this.createDragSelection("hours",this.hoursElement,this.hoursWrapperElement,this.timeStripElement,r.y),this.createWheelChange("hours",this.hoursWrapperElement,this.timeStripElement),this.setDragSelection("hours",this.currentDate.hour,!0)),this.hasTimeModule&&(this.createDragSelection("minutes",this.minutesElement,this.minutesWrapperElement,this.timeStripElement,r.y),this.createWheelChange("minutes",this.minutesWrapperElement,this.timeStripElement),this.setDragSelection("minutes",this.currentDate.minute,!0)),this.markForCheck(),i(this.el))}valueChange(t,e){const i={isValid:!1,value:this.valueText};if(t)if(this.type!==y.range&&this.error)this.change.emit({isValid:!1,value:this.inputElement.value});else try{if((e&&v(t.dateObject)!==v(e.dateObject)||!e&&t)&&(this.type!==y.date&&this.type!==y.datetime||this.change.emit(t),this.type===y.time&&this.change.emit(t),this.type===y.range)){const e=t.dateObject;e.start.date&&e.end.date?t.isValid&&this.change.emit({isValid:t.isValid,value:t.value,start:e.start,end:e.end}):this.change.emit(i)}}catch(t){}else this.change.emit()}disabledDatesChange(t){t&&this.prepareDisabledDates()}stringToDate(t){return t.getMonth?t:new Date(Date.parse(this.switchDDMM(t)))}dateToString(t){if(!(t instanceof Date))return!1}switchDDMM(t){if(!t)return;const e=t.split("/");return-1===t.indexOf("/")||3!==e.length?t:`${e[1]}/${e[0]}/${e[2]}`}setData(){this.date=this.stringToDate(this.date),this.initialized||this.renderDate||(this.renderDate=this.date&&this.date||new Date),!this.initialized&&this.endDate&&(this.selectedEndDate=this.stringToDate(this.endDate));const t=this.renderDate;if(this.currentDate=this.createDateObject(t),this.dayNumbers=this.getMonthDayNumbers(t).map((e=>({day:e,thisMonth:!0,isWeekend:this.getDayIsWeekend(t,e),today:this.getIsCurrentDate(t,e),date:this.getTargetDayDate(t,e)}))),this.currentDate.year>this.minYear){let e=new Date(new Date(t).setMonth(this.currentDate.month-1,1)),i=this.getMonthDayNumbers(e).reverse(),s=this.currentDate.monthFirstDay;for(let t=1;t<(0===s?7:s);t++){const s=i[t-1];this.dayNumbers.unshift({day:s,prevMonth:!0,isWeekend:this.getDayIsWeekend(e,s),date:this.getTargetDayDate(e,s)})}}if(this.currentDate.year<this.maxYear){let e=new Date(new Date(t).setMonth(this.currentDate.month+1)),i=this.getMonthDayNumbers(e),s=42-this.dayNumbers.length;for(let t=0;t<s;t++){const s=i[t];this.dayNumbers.push({day:s,nextMonth:!0,isWeekend:this.getDayIsWeekend(e,s),date:this.getTargetDayDate(e,s)})}}this.emptyState||(this.valueText=this.getValueText()),i(this.el)}prepareDisabledDates(){if(!this.disabledDates)return;let t=null;if("string"==typeof this.disabledDates)try{t=JSON.parse(this.disabledDates)}catch(t){return}else t=this.disabledDates;if(t.dates&&t.dates.length&&t.dates.length){const e=t.dates.map((t=>{const e=new Date(t);return"invalid date"===e.toString().toLowerCase()?null:e})).filter((t=>t));this.disabledDatesList.dates=e}if(t.min&&t.max&&(t.min.getTime()>t.max.getTime()||t.max.getTime()<t.min.getTime()))return;t.min&&t.min instanceof Date?this.disabledDatesList.min=new Date(t.min.toDateString()):delete this.disabledDatesList.min,t.max&&t.max instanceof Date?this.disabledDatesList.max=new Date(t.max.toDateString()):delete this.disabledDatesList.max;const e=this.inputElement&&this.inputElement.value;e&&this.setDataFromText(e)}createWheelChange(t,e,i){e.addEventListener("wheel",(e=>{const s=e.deltaY>0,a=this[t+"Dragger"].getOffset().top,n=this.getTargetChildByDragPosition({y:a},i);let r=s?n+1:n-1;r<0?r=0:void 0===this[t][r]&&(r=this[t].length-1),"time"!=this.type||this.selectedDate||this.setTime(),this.setDragSelection(t,this[t][r],!0,!0)}))}createDragSelection(t,e,i,s,a){const n=t+"Dragger";this[n]=new h({target:e,trigger:i,direction:a,useTransform:!0,limit:{y:{max:s.offsetTop-s.offsetHeight/2,min:-1*(e.offsetHeight-(s.offsetTop+s.offsetHeight/2))}}}),this[n].on("end",(e=>{const i=this.getTargetChildByDragPosition(e,s);this.selectTargetChildByDragIdx(i,s,this[n]),this.setDragSelection(t,this[t][i],!1)}))}getTargetChildByDragPosition({y:t},e){const i=e.offsetHeight,s=i/2;return Math.floor(-(t-(e.offsetTop-s)-s)/i)}selectTargetChildByDragIdx(t,e,i,s=!0){i.setPosition({y:e.offsetHeight/2+e.offsetTop-(t+1)*e.offsetHeight,anim:s})}setDragSelection(t,e,i=!0,s=!1){const a=this[t].findIndex((t=>t===e));switch(i&&this.selectTargetChildByDragIdx(a,this["years"===t?t+"StripElement":"timeStripElement"],this[t+"Dragger"],s),t){case"years":this.date.setFullYear(e);break;case"hours":this.date.setHours(e);break;case"minutes":this.date.setMinutes(e)}this.renderDate=this.date,this.setData(),this.selectedDate&&this.setValue()}getHours12(){const t=(this.date.getHours()+24)%12||12;return t>12?t-12:t}createDateObject(t,{excludeTime:e=!1,exactMonthNumber:i=!1}={}){const s=t.getFullYear();return Object.assign(Object.assign({year:s>=this.maxYear?this.maxYear:s<=this.minYear?this.minYear:s,day:t.getDate(),month:t.getMonth()+(i?1:0),dayOfWeek:t.getDay(),monthFirstDay:new Date(new Date(t).setDate(1)).getDay()},!e&&{hour:t.getHours()}),!e&&{minute:t.getMinutes()})}generateDaysArrayFromMax(t){return Array.from(Array(t+1).keys()).slice(1)}getMonthDayNumbers(t){const e=this.getDaysInMonth(t.getMonth(),t.getFullYear());return this.generateDaysArrayFromMax(e)}getTargetDayDate(t,e){return new Date(new Date(t).setDate(e))}getDayIsWeekend(t,e){const i=new Date(new Date(t).setDate(e)).getDay();return 6===i||0===i}getClock(t){return{hours:(t=t||new Date).getHours(),minutes:t.getMinutes(),seconds:t.getSeconds(),milis:t.getMilliseconds()}}setValue(t){var e,i,s;const a=new Date(this.date.setHours(Number(this.currentDate.hour),Number(this.currentDate.minute)));if(t)this.value=null;else{if(this.dataIsValid=!0,this.type===y.datetime){const t=Object.assign({},this.currentDate);t.month+=1,(null===(e=this.value)||void 0===e?void 0:e.value)!=this.valueText&&(this.value={isValid:this.dataIsValid,date:a,timestamp:a.getTime(),dateObject:t,value:this.valueText})}if(this.type===y.date){const t=Object.assign({},this.currentDate);delete t.hour,delete t.minute,t.month+=1,(null===(i=this.value)||void 0===i?void 0:i.value)!=this.valueText&&(this.value={isValid:this.dataIsValid,date:a,timestamp:a.getTime(),dateObject:t,value:this.valueText})}if(this.type===y.time){const t=this.getTimeText(),e=Object.assign({},this.currentDate);e.month+=1,this.value={isValid:this.dataIsValid,date:a,timestamp:a.getTime(),time:t,dateObject:e,timeObject:{hours:this.currentDate.hour,minutes:this.currentDate.minute},value:t},this.inputElement.value=t}this.type===y.range&&(null===(s=this.value)||void 0===s?void 0:s.value)!=this.valueText&&(this.value={isValid:this.dataIsValid,dateObject:{start:Object.assign({},this.selectedDate&&{date:this.selectedDate,timestamp:this.selectedDate.getTime(),detail:this.createDateObject(this.selectedDate,{excludeTime:!0,exactMonthNumber:!0})}),end:Object.assign({},this.selectedEndDate&&{date:this.selectedEndDate,timestamp:this.selectedEndDate.getTime(),detail:this.createDateObject(this.selectedEndDate,{excludeTime:!0,exactMonthNumber:!0})})},value:this.valueText})}}setMonth(t){this.renderDate.setDate(1),this.renderDate=new Date(this.renderDate.setMonth(t)),this.setDragSelection("years",this.currentDate.year)}checkRangeValidation({popupClosing:t=!1}={}){return this.type!==y.range||(t&&(!this.selectedDate||this.selectedDate&&!this.selectedEndDate)?(this.setError(!0,"date range invalid"),!1):(t||this.setError(!1),!0))}pad(t,e){return t<e?"0":""}isInputClearable(){return!(!this.inputElement||!this.inputElement.value)}isDisabledDate(t){if(this.disabledDatesList.dates.map((e=>this.isSameDate(e,t))).filter((t=>t)).length)return!0;if(this.disabledDatesList.min){const e=new Date(this.disabledDatesList.min);if(e&&e.getTime()>t.getTime())return!0}if(this.disabledDatesList.max){const e=new Date(this.disabledDatesList.max);if(e&&new Date(e.setDate(e.getDate()+1)).getTime()<t.getTime())return!0}}setDate(t,e,i=!1){const s=this.type===y.range,a=!!this.selectedEndDate;if((this.type!==y.date&&this.type!==y.datetime||!this.isDisabledDate(t))&&(this.emptyState=!1,(!s||s&&!a)&&(this.date=new Date(t.setHours(this.currentDate.hour,this.currentDate.minute))),s&&this.checkRangeValidation(),s&&this.selectedDate&&this.selectedEndDate&&(this.selectedDate=null,this.selectedEndDate=null),e)){const e=new Date(t);s&&this.selectedDate?this.selectedDate.getTime()>e.getTime()?(this.selectedEndDate=this.selectedDate)&&(this.selectedDate=e):this.selectedEndDate=e:this.selectedDate=e,!s&&(this._open=i),this.renderDate=this.date,this.valueText=this.getValueText(),this.setValue();const a=this.valueText.split("/"),n=this.valueText?this.changeFormat(new Date(a[1]+"/"+a[0]+"/"+a[2])):"";this.inputElement.value=n}}setDataFromText(t,e=!1,i=!0){let s=!1,a="";const n=this.parse(t);if(this.type!==y.date&&this.type!==y.datetime||!this.isDisabledDate(n.date)||(n.dateIsValid=!1,a="disabled-date"),this.type===y.datetime&&n.dateIsValid&&n.timeIsValid&&(e&&this.setDate(n.date,!0,i),e&&this.setTime(n.timeSections[0],n.timeSections[1]),s=!0),this.type===y.date&&n.dateIsValid&&(e&&this.setDate(n.date,!0,i),s=!0),this.type===y.time&&n.timeIsValid&&(e&&this.setTime(n.timeSections[0],n.timeSections[1]),s=!0),this.type===y.range&&(n.dateIsValid&&!this.selectedDate&&(e&&this.setDate(n.date,!0,i),s=!0),n.date2IsValid&&!this.selectedEndDate&&(e&&this.setDate(n.date2,!0,i),s=!0),this.selectedDate&&this.selectedEndDate&&n.rangeIsValid&&(this.isSameDate(n.date2,this.selectedEndDate)&&!this.isSameDate(n.date,this.selectedDate)&&(this.selectedDate=null,e&&this.setDate(n.date,!0,i),s=!0),this.isSameDate(n.date,this.selectedDate)&&!this.isSameDate(n.date2,this.selectedEndDate)&&(this.selectedEndDate=null,e&&this.setDate(n.date2,!0,i),s=!0)),this.selectedDate&&this.selectedEndDate&&!n.rangeIsValid&&e&&(this.selectedDate=null,this.selectedEndDate=null)),s)e&&(this.renderDate=this.date),this.setError(!1);else{this.type===y.range&&this.selectedDate&&this.selectedEndDate&&n.rangeIsValid?this.setError(!1):a?this.setError(!0,"disabled-date"===a&&"selected date is not allowed"):(t&&this.setError(!0,(this.type===y.datetime?"invalid date or time":this.type===y.range&&"invalid date range")||this.type===y.date&&"The selected date is not allowed."||this.type===y.time&&"invalid time"),this.setValue(!0));const e=t.split("/"),i=t&&!this.error?this.changeFormat(new Date(e[1]+"/"+e[0]+"/"+e[2])):"";this.inputElement.value=i}}setDateToday(){const t=new Date;this.type===y.range&&(this.selectedDate=null,this.selectedEndDate=null),this.setDate(t,!0,!1)}HourContentDblClick(t){const e=d.findEventPathWithNodeName(t,"SPAN");e&&e.classList.contains("selected")&&(this.setValue(),this._open=!1)}setTime(t,e){this.renderDate=new Date(this.date.setHours(Number(t||this.getClock().hours),Number(e||this.getClock().minutes))),this.type===y.time&&(this.selectedDate=this.date);const i=this.currentDate.hour||(new Date).getHours(),s=this.currentDate.minute||(new Date).getMinutes();this.setDragSelection("hours",i,!0,!0),this.setDragSelection("minutes",s,!0,!0)}setError(t=!1,e=""){this.error=t,this.errorText=t?e:""}getError(){const{error:t,errorText:e}=this;return{valid:!t,error:t,errorText:e}}getDaysInMonth(t,e){return new Date(e,t+1,0).getDate()}getIsCurrentDate(t,e){const i=new Date;return i.getDate()===e&&i.getMonth()===t.getMonth()&&i.getFullYear()===t.getFullYear()}isSameDate(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}getSelected(t,e=!1){const i=new Date(this["selected"+(e?"EndDate":"Date")]),s=i.getFullYear(),a=i.getMonth(),n=i.getDate();return t.getDate()===n&&t.getMonth()===a&&t.getFullYear()===s}getDateIsInRange(t){if(this.type!==y.range||!this.selectedDate||!this.selectedEndDate)return;const e=t.getTime(),i=this.selectedDate.getTime(),s=this.selectedEndDate.getTime();return e>i&&e<s}getMonthText(){return Object.values(x)[this.renderDate.getMonth()]}getCurrentDateText(){const t=Object.values(f)[this.currentDate.dayOfWeek],e=Object.values(x)[this.currentDate.month];return`${t}, ${this.currentDate.day}th ${e} ${this.currentDate.year}`}getTimeText(){const{hour:t,minute:e}=this.currentDate;return`${t<10?"0"+t:t}:${e<10?"0"+e:e}`}getValueText(){if(!this.selectedDate)return"";const t=this.selectedDate,e=t.getFullYear(),i=t.getDate(),s=t.getMonth()+1;let a="";if(this.type!==y.date&&this.type!==y.datetime||(a=`${i<10?"0"+i:i}/${s<10?"0"+s:s}/${e}`),this.type===y.time&&(a=this.getTimeText()),this.type===y.datetime&&(a=`${a} ${this.getTimeText()}`),this.type===y.range&&(a=`${i<10?"0"+i:i}/${s<10?"0"+s:s}/${e}`),this.type===y.range&&this.selectedEndDate){const t=this.selectedEndDate,e=t.getFullYear(),i=t.getDate(),s=t.getMonth()+1;a+=`-${i<10?"0"+i:i}/${s<10?"0"+s:s}/${e}`}return this.setDataFromText(a),a}parseDate(t){var e=t.split("/"),i=parseInt(e[0],10),s=parseInt(e[1],10)-1,a=parseInt(e[2],10);if(isNaN(i)||isNaN(s)||isNaN(a))return"invalid date";var n=new Date(a,s,i);return n.getDate()!==i||n.getMonth()!==s||n.getFullYear()!==a?"invalid date":n}parse(t){const e=t.split(this.type===y.range?"-":" "),i=this.switchDDMM(e[0]),s=this.switchDDMM(e[1]),a=this.type===y.datetime?e[1]:e[0],n=new Date(i),r=new Date(s),h="invalid date"!==n.toString().toLowerCase()&&"invalid date"!==this.parseDate(t),o="invalid date"!==r.toString().toLowerCase(),c=/^((0?[1-9]|1[0-2])(-|\/)(0?[1-9]|[12]\d|3[01])(-|\/)[12]\d{3})$/,l=c.test(i),d=c.test(s),p=/\b([01][0-9]|2[0-3]):([0-5][0-9])\b/.test(a),m=h&&l,u=o&&d;return{date:n,date2:r,timeSections:p?a.split(":"):"",dateIsValid:m,date2IsValid:u,rangeIsValid:m&&u,timeIsValid:p}}getPrevMonth(){this.setMonth(this.renderDate.getMonth()-1)}getNextMonth(){this.setMonth(this.renderDate.getMonth()+1)}yearClick(t){this.yearsDragger.busy||this.setDragSelection("years",this.years[t],!0,!0)}hourClick(t){this.hoursDragger.busy||(this.selectedDate||this.setTime(),this.setDragSelection("hours",this.hours[t],!0,!0))}minuteClick(t){this.minutesDragger.busy||(this.selectedDate||this.setTime(),this.setDragSelection("minutes",this.minutes[t],!0,!0))}openPicker(){this.disabled||!this._open&&(this._open=!0)}handleDayNumber(t){this.type===y.range&&this.selectedDate&&!this.selectedEndDate&&this.isSameDate(this.selectedDate,t)||this.setDate(t,!0)}handleInputInput(t){this.setDataFromText(t,!0)}handleInputChange(t){this.setDataFromText(this.inputElement.value,!0,!1),t.stopPropagation()}async handleInputClear(){return this.selectedDate=null,this.selectedEndDate=null,this.emptyState=!0,this.renderDate=new Date,this._open=!1,this.setValue(!0),this.setError(),this.getValueText(),await this.inputElement.setClear(),await l(10),Promise.resolve()}handleWheel(t){t.preventDefault()}handleWindowClick(t){if(this._open){const e=document.getElementById(`picker-vp-${this._id}`),i=d.findEventPath(t,this.el),s=!!e&&d.findEventPath(t,e);i||s||(this._open=!1)}}openToggle(){this.disabled||(this._open=!this._open)}async open(){await l(50),this.openToggle()}async close(){this._open=!1}async getValue(){return this.value}async setDisabled(t){this.disabled=t}changeFormat(t,e=!1){if(!t)return;const i=t=>t<10?`0${t}`:t,s=i(new Date(t).getDate()),a=i(new Date(t).getMonth()+1),n=new Date(t).getFullYear(),r=i(new Date(t).getHours()),h=i(new Date(t).getMinutes());return"range"==this.type||"date"==this.type?e?`${a}/${s}/${n}`:`${s}/${a}/${n}`:e?`${a}/${s}/${n} ${r}:${h}`:`${s}/${a}/${n} ${r}:${h}`}isTime(t){return/^([0-1]?[0-9]|2[0-4]):([0-5][0-9])(:[0-5][0-9])?$/.test(t)}getHHMM(t){if(!t)return;const e=t=>t<10?`0${t}`:t;return`${e(new Date(t).getHours())}:${e(new Date(t).getMinutes())}`}async set(t){if(t)if("number"==typeof t&&(t=new Date(t)),"time"==this.type){let e=t;this.isTime(t)||(e=this.getHHMM(t)),this.setDataFromText(e,!0,!1)}else{const i=t.toString().split("-"),s=Date.parse(i[0]);if(i[0]&&!isNaN(s)){var e=this.changeFormat(c.convertTimeStampToDate(new Date(i[0]).getTime()));i[1]&&!isNaN(Date.parse(i[1]))&&(e=e+"-"+this.changeFormat(c.convertTimeStampToDate(new Date(i[1]).getTime()))),this.setDataFromText(e,!0,!1)}else this.setDataFromText("",!0,!1)}else this.setClear()}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async setClear(){return await this.handleInputClear(),Promise.resolve()}async getInput(){return this.inputElement}async isValid(){return this.getError()}async resetCaption(){return await l(10),await this.inputElement.resetCaption(),this.captionType="default",this.captionError=null,await l(10),Promise.resolve()}addZeroBefore(t){return(t<10?"0":"")+t}formatDate(t,e){const i={mm:this.addZeroBefore(t.getMonth()+1),dd:this.addZeroBefore(t.getDate()),yyyy:this.addZeroBefore(t.getFullYear()),hh:this.addZeroBefore(t.getHours()),mi:this.addZeroBefore(t.getMinutes())};return e.replace(/mm|dd|yyyy|hh|mi/gi,(t=>i[t]))}handleResize(){this.calculateLocation()}handleWheels(t){if(this._open){const e=document.querySelector(`#picker-vp-${this._id}`);e&&d.findEventPath(t,e)?this.calculateLocation():this._open=!1}}componentDidLoad(){const t=this.el.shadowRoot.querySelector(`#picker-vp-${this._id}`);t&&(document.body.appendChild(t),this.calculateLocation())}disconnectedCallback(){this.el.innerHTML="";const t=document.getElementById(`picker-vp-${this._id}`);t&&t.remove()}async calculateLocation(){const t=document.getElementById(`picker-vp-${this._id}`),e=this.placement.split("-");this.alignment&&(this.placement=e[0]+("right"==this.alignment?"-end":"-start"));var i=this.placement;const s=document.getElementById(this.linkedComponent?this.linkedComponent:this._id);if(s){const e=this.linkedComponent?s:s.shadowRoot.querySelector(`#picker-input-${this._id}`)||s.shadowRoot.querySelector("bcm-datetime-picker").shadowRoot.querySelector(`#picker-input-${this._id}`);if(t&&e){m(t,e,i,(t=>i=t)),await l(10);let s=u(i,e),a=this.noCaption?0:20,n=0;switch(m(t,e,i,(t=>i=t)),await l(10),s=u(i,e),t.style.top=this.linkedComponent?("top"==i.split("-")[0]?s[0]-t.offsetHeight:s[0])+"px":("top"==i.split("-")[0]?s[0]-t.offsetHeight+n:s[0]-a)+"px",i.split("-")[1]){case"start":t.style.left=s[1]+"px";break;case"center":t.style.left=s[1]-t.offsetWidth/2+"px";break;case"end":t.style.left=s[1]-t.offsetWidth+"px"}t.classList.toggle("bcm-list--top","top"==i.split("-")[0])}}}handleKeyDown(t){(t.keyCode||t.which)===p.KeyCode.escape&&this._open&&(this._open=!1,t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.markForCheck())}render(){const t=o("day-numbers"),e=o("datetime-picker","datetime-picker-wrapper",{open:this._open,"no-caption":this.noCaption}),i=o(this.hidden?"hidden":null,{"full-width":this.fullWidth,"linked-component":this.linkedComponent}),n=o("toggle",{disabled:this.disabled}),r="time"==this.type?'<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>':'<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>';return s(a,{class:i,"bcm-internal-id":this.inputId},this.label&&s("div",{class:"picker-label",onClick:()=>this.openToggle()},s(b,{size:"medium",type:this.captionType,value:this.label,required:this.required,htmlFor:this._id})),s("bcm-old-input",{ref:t=>this.inputElement=t,placeholder:this.placeholder||"Select "+(this.type===y.datetime?"date and time":"")+(this.type===y.date?"date":"")+(this.type===y.time?"time":"")+(this.type===y.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:!0,"on-bcm-clear":()=>this.handleInputClear(),"on-bcm-change":t=>this.handleInputChange(t),noCaption:this.noCaption,captionError:this.captionError,caption:this.caption,captionType:this.captionType},this.error&&s("span",{slot:"suffix"},s("span",{id:"error-icon",class:n,innerHTML:'<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>',title:this.errorText})),s("span",{slot:"suffix",onClick:()=>this.openPicker()},s("span",{id:"calender-icon",class:n,innerHTML:r}))),s("div",{id:"picker-vp-"+this._id,class:e,onWheel:t=>this.handleWheel(t)},s("div",{class:"modules"},this.hasDateModule&&s("div",{class:"date-container"},s("div",{class:"bcm-datetime-picker__header"},s("span",null),s("div",{class:"month-year"},s("button",{onClick:()=>this.getPrevMonth()},s("bcm-icon",{icon:"far fa-chevron-left"})),s("div",{class:"month-year-wrapper"},s("span",{class:"month"},this.getMonthText()),",",s("span",{class:"year"},this.date.getFullYear())),s("button",{onClick:()=>this.getNextMonth()},s("bcm-icon",{icon:"far fa-chevron-right"}))),s("span",{class:"today",onClick:()=>this.setDateToday()},"Today")),s("div",{class:"bcm-datetime-picker__content"},s("div",{class:"years",ref:t=>this.yearsWrapperElement=t},s("div",{class:"items",ref:t=>this.yearsElement=t},this.years.map(((t,e)=>s("span",{onClick:()=>this.yearClick(e)},t)))),s("div",{class:"select-strip",ref:t=>this.yearsStripElement=t})),s("div",{class:"days"},s("div",{class:"day-labels"},s("span",null,"Mo"),s("span",null,"Tu"),s("span",null,"We"),s("span",null,"Th"),s("span",null,"Fr"),s("span",null,"Sa"),s("span",null,"Su")),s("div",{class:t},this.dayNumbers.map((t=>s("span",{class:{"is-disabled-date":(this.type===y.date||this.type===y.datetime)&&this.isDisabledDate(t.date),"not-this-month":!t.thisMonth,"is-weekend":t.isWeekend,today:t.today,selected:this.getSelected(t.date),"selected-start":this.getSelected(t.date)&&this.selectedEndDate&&this.type===y.range,"selected-end":this.getSelected(t.date,!0)&&this.type===y.range,range:this.getDateIsInRange(t.date)&&this.type===y.range},onClick:()=>this.handleDayNumber(t.date)},s("span",{class:"number"},t.day)))))))),this.hasTimeModule&&s("div",{class:"time-container"},s("div",{class:"bcm-datetime-picker__header"},s("div",{class:"month-year"},s("span",{class:"month"},this.getTimeText())),s("span",{class:"now",onClick:()=>{this.setTime(),"time"==this.type&&(this._open=!1)}},"Now")),s("div",{class:"bcm-datetime-picker__content",onDblClick:t=>{this.HourContentDblClick(t)}},s("div",{class:"hours",ref:t=>this.hoursWrapperElement=t},s("div",{class:"items",ref:t=>this.hoursElement=t},this.hours.map(((t,e)=>s("span",{class:this.currentDate.hour===t?"selected":"",onClick:()=>this.hourClick(e)},(t<10&&"0")+t))))),s("div",{class:"minutes",ref:t=>this.minutesWrapperElement=t},s("div",{class:"items",ref:t=>this.minutesElement=t},this.minutes.map(((t,e)=>s("span",{class:this.currentDate.minute===t?"selected":"",onClick:()=>this.minuteClick(e)},(t<10&&"0")+t))))),s("div",{class:"select-strip",ref:t=>this.timeStripElement=t}))))))}get el(){return n(this)}static get watchers(){return{_open:["openChanged","openChange"],renderDate:["renderDateChange"],value:["valueChange"],disabledDates:["disabledDatesChange"]}}};(function(t,e,i,s){var a,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(r=(n<3?a(r):n>3?a(e,i,r):a(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)})([g()],w.prototype,"el",void 0),w.style='@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}:host{display:inline-block;position:relative;width:100%;max-width:256px;margin:0;margin-bottom:8px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}.toggle{cursor:pointer}.toggle.disabled{cursor:not-allowed}.modules{display:flex}.picker-label{user-select:none;line-height:1}.datetime-picker{position:absolute;top:-1000px;display:inline-flex;flex-direction:column;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);opacity:0;visibility:hidden;transition:transform 0.2s ease, opacity 0.3s ease;transform:scale(0.8) translateY(-100px);background-color:#ffffff;min-height:356px;max-height:356px;box-sizing:border-box;z-index:-1000}.datetime-picker.alignment-left{left:0}.datetime-picker.alignment-right{right:0}.datetime-picker.open{top:calc(100% - 28px);z-index:10000;opacity:1;visibility:visible;transform:scale(1) translateY(0)}.datetime-picker.open.no-caption{top:100%}.actions{display:flex;align-items:center;justify-content:space-between;padding:8px;margin-top:auto;border-top:1px solid var(--bcm-color-grey-6)}.actions .current-date{font-size:14px;line-height:22px;color:var(--bcm-color-prime-blue-6);text-transform:capitalize}.date-container+.time-container{border-left:1px solid #cecece}.time-container{width:185px}.time-container .bcm-datetime-picker__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;max-height:60px;border-bottom:1px solid var(--bcm-color-grey-4)}.time-container .bcm-datetime-picker__header .now{font-size:14px;line-height:22px;cursor:pointer;color:var(--bcm-color-prime-blue-6);user-select:none}.time-container .bcm-datetime-picker__content{position:relative;display:flex}.time-container .hours,.time-container .minutes,.time-container .time-period{position:relative;flex:1 1 100%;max-width:100%;height:280px;overflow:hidden}.time-container .hours .items>span,.time-container .minutes .items>span,.time-container .time-period .items>span{font-size:14px;color:var(--bcm-color-grey-8)}.time-container .hours .items>span.selected,.time-container .minutes .items>span.selected,.time-container .time-period .items>span.selected{color:var(--bcm-color-prime-blue-6)}.date-container{width:364px;}.date-container .bcm-datetime-picker__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;max-height:60px;border-bottom:1px solid var(--bcm-color-grey-4)}.date-container .bcm-datetime-picker__header .month-year-wrapper{display:flex;align-items:center;justify-content:center;margin:0 4px;min-width:125px}.date-container .bcm-datetime-picker__header .month-year{font-size:16px;line-height:24px}.date-container .bcm-datetime-picker__header .month-year{display:flex;align-items:center}.date-container .bcm-datetime-picker__header .month-year button{display:flex;align-items:center;box-shadow:none;background:transparent;outline:none;appearance:none;border:none;color:var(--bcm-color-prime-blue-6);cursor:pointer}.date-container .bcm-datetime-picker__header .month{text-transform:capitalize}.date-container .bcm-datetime-picker__header .year{padding-left:4px}.date-container .bcm-datetime-picker__header .today{font-size:14px;line-height:22px;cursor:pointer;color:var(--bcm-color-prime-blue-6);user-select:none}.date-container .bcm-datetime-picker__content{display:flex}.date-container .years{position:relative;flex:0 0 70px;max-width:70px;height:280px;overflow:hidden;background-color:var(--bcm-color-grey-2)}.date-container .days{width:100%}.date-container .day-numbers,.date-container .day-labels{display:grid;grid-template-columns:repeat(7, 1fr)}.date-container .day-numbers{padding:24px 24px}.date-container .day-numbers>span,.date-container .day-labels span{text-align:center}.date-container .day-numbers>span{position:relative;padding-bottom:100%;cursor:pointer}.date-container .day-numbers>span.not-this-month{color:var(--bcm-color-grey-4)}.date-container .day-numbers>span.is-weekend{color:var(--bcm-color-prime-blue-3)}.date-container .day-numbers>span.is-disabled-date:not(.today){color:var(--bcm-color-grey-4);cursor:not-allowed}.date-container .day-numbers>span.is-disabled-date:not(.today):before{opacity:0 !important}.date-container .day-numbers>span.today{color:var(--bcm-color-prime-blue-6)}.date-container .day-numbers>span.today:before{opacity:1;background-color:var(--bcm-color-prime-blue-2);border:1px solid var(--bcm-color-prime-blue-6)}.date-container .day-numbers>span.selected-start{background:linear-gradient(90deg, white 50%, #8abde2 50%) !important}.date-container .day-numbers>span.selected-end{background:linear-gradient(90deg, #8abde2 50%, white 50%) !important}.date-container .day-numbers>span.range{background:#8abde2}.date-container .day-numbers>span.range:not(.today){color:#ffffff}.date-container .day-numbers>span.range:not(.today):before{background-color:var(--bcm-color-prime-blue-6)}.date-container .day-numbers>span.range.is-weekend:not(.today){color:var(--bcm-color-prime-blue-2)}.date-container .day-numbers>span.selected,.date-container .day-numbers>span.selected-end{color:#ffffff}.date-container .day-numbers>span.selected:before,.date-container .day-numbers>span.selected-end:before{opacity:1;background-color:var(--bcm-color-prime-blue-6)}.date-container .day-numbers.start-1>span:first-child{grid-column:1}.date-container .day-numbers.start-2>span:first-child{grid-column:2}.date-container .day-numbers.start-3>span:first-child{grid-column:3}.date-container .day-numbers.start-4>span:first-child{grid-column:4}.date-container .day-numbers.start-5>span:first-child{grid-column:5}.date-container .day-numbers.start-6>span:first-child{grid-column:6}.date-container .day-numbers.start-7>span:first-child{grid-column:7}.date-container .day-numbers>span:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background-color:var(--bcm-color-grey-4);opacity:0;box-sizing:border-box}.date-container .day-numbers>span:hover.not-this-month:not(.is-weekend){color:var(--bcm-color-grey-6)}.date-container .day-numbers>span:hover:before{opacity:1}.date-container .day-numbers .number{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.date-container .day-labels{padding:24px 40px 0 40px}.date-container .day-labels span{font-size:12px;color:var(--bcm-color-grey-6)}.date-container .day-labels span:nth-child(7n+6),.date-container .day-labels span:nth-child(7n+7){color:var(--bcm-color-prime-blue-3)}.years .items,.hours .items,.minutes .items,.time-period .items{position:relative;display:flex;flex-direction:column;z-index:0;transform:translateY(0);scroll-behavior:smooth}.years .items>span,.hours .items>span,.minutes .items>span,.time-period .items>span{text-align:center;font-size:12px;min-height:26px;max-height:26px;line-height:26px;color:var(--bcm-color-grey-8);user-select:none}.years:before,.years:after,.hours:before,.hours:after,.minutes:before,.minutes:after,.time-period:before,.time-period:after{content:"";position:absolute;left:0;width:100%;height:40px}.years:before,.hours:before,.minutes:before,.time-period:before{top:-40px;box-shadow:0 10px 100px 70px #ffffff;z-index:1}.years:after,.hours:after,.minutes:after,.time-period:after{bottom:-40px;box-shadow:0 -10px 100px 70px #ffffff;z-index:2}.select-strip{position:absolute;width:100%;top:50%;left:0;transform:translateY(-50%);min-height:26px;max-height:26px;border:1px solid var(--bcm-color-grey-5);border-left:0;border-right:0;pointer-events:none;box-sizing:border-box}';export{w as bcm_datetime_picker}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{h as s}from"./p-170cf07d.js";import{S as a}from"./p-cff8ef93.js";const e=({value:e,className:c,name:m})=>a.isNullOrEmpty(e)?s("span",{class:c},s("slot",Object.assign({},m&&{name:m}))):s("span",{class:c,innerHTML:e});export{e as S}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,h as s,H as e,g as r}from"./p-170cf07d.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as o}from"./p-f8a91bd5.js";import"./p-2ba8bfb9.js";import"./p-cff8ef93.js";import"./p-76595c93.js";import"./p-5ae0a59b.js";import"./p-23c35e1b.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-5101acb3.js";const p=class{constructor(s){t(this,s),this._id=o.UID(),this.el.slot="header"}render(){return s(e,{class:"tw-w-full tw-flex-none tw-overflow-hidden tw-rounded-t-lg tw-bg-primary-400 tw-pt-1"},s("div",{class:"tw-flex tw-w-full tw-items-center tw-justify-between tw-bg-primary-50 tw-px-4 tw-py-3 tw-text-4 tw-font-medium tw-text-slate-600"},s("span",null,s("slot",null)),s("button",{type:"button",class:"tw-focus:tw-outline-none tw-flex tw-h-8 tw-w-8 tw-cursor-pointer tw-items-center tw-justify-center tw-bg-transparent tw-text-5 tw-text-slate-700 tw-transition tw-duration-150 tw-ease-in-out hover:tw-text-slate-900","data-dismiss":!0},s("i",{class:"far fa-times"}))))}get el(){return r(this)}};export{p as bcm_modal_2_header}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{h as e}from"./p-170cf07d.js";import{c as m}from"./p-bed627ab.js";import{B as r}from"./p-23c35e1b.js";import{S as o}from"./p-2a9053d8.js";const t=({required:t,value:s,size:a,form:l,htmlFor:b,type:p})=>{const c=m("bcm-label__text","bcm-label__text-"+(p=p||r.Status.default),"bcm-label__size-"+(a=a||"medium"));return e("label",{form:l,htmlFor:b,class:c}," ",e(o,{value:s})," ",t&&"*")};export{t as L}
|