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
|
@@ -34,6 +34,7 @@ export class BcmDatePicker {
|
|
|
34
34
|
this.placeholder = undefined;
|
|
35
35
|
this.disabledDates = '';
|
|
36
36
|
this.disabled = false;
|
|
37
|
+
this.noMargin = false;
|
|
37
38
|
this.noCaption = false;
|
|
38
39
|
this.caption = '';
|
|
39
40
|
this.captionError = undefined;
|
|
@@ -154,7 +155,7 @@ export class BcmDatePicker {
|
|
|
154
155
|
'full-width': this.fullWidth,
|
|
155
156
|
'linked-component': this.linkedComponent,
|
|
156
157
|
});
|
|
157
|
-
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
|
|
158
|
+
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
|
|
158
159
|
}
|
|
159
160
|
static get is() { return "bcm-date-picker"; }
|
|
160
161
|
static get encapsulation() { return "shadow"; }
|
|
@@ -408,6 +409,24 @@ export class BcmDatePicker {
|
|
|
408
409
|
"reflect": false,
|
|
409
410
|
"defaultValue": "false"
|
|
410
411
|
},
|
|
412
|
+
"noMargin": {
|
|
413
|
+
"type": "boolean",
|
|
414
|
+
"mutable": true,
|
|
415
|
+
"complexType": {
|
|
416
|
+
"original": "boolean",
|
|
417
|
+
"resolved": "boolean",
|
|
418
|
+
"references": {}
|
|
419
|
+
},
|
|
420
|
+
"required": false,
|
|
421
|
+
"optional": false,
|
|
422
|
+
"docs": {
|
|
423
|
+
"tags": [],
|
|
424
|
+
"text": ""
|
|
425
|
+
},
|
|
426
|
+
"attribute": "no-margin",
|
|
427
|
+
"reflect": false,
|
|
428
|
+
"defaultValue": "false"
|
|
429
|
+
},
|
|
411
430
|
"noCaption": {
|
|
412
431
|
"type": "boolean",
|
|
413
432
|
"mutable": true,
|
|
@@ -281,7 +281,8 @@
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
:host {
|
|
284
|
-
display: inline-
|
|
284
|
+
display: inline-flex;
|
|
285
|
+
flex-direction: column;
|
|
285
286
|
position: relative;
|
|
286
287
|
width: 100%;
|
|
287
288
|
max-width: 256px;
|
|
@@ -293,6 +294,10 @@
|
|
|
293
294
|
max-width: 100%;
|
|
294
295
|
}
|
|
295
296
|
|
|
297
|
+
:host(.no-margin) {
|
|
298
|
+
margin: 0;
|
|
299
|
+
}
|
|
300
|
+
|
|
296
301
|
:host(.hidden) {
|
|
297
302
|
display: none;
|
|
298
303
|
}
|
|
@@ -676,4 +681,11 @@
|
|
|
676
681
|
border-right: 0;
|
|
677
682
|
pointer-events: none;
|
|
678
683
|
box-sizing: border-box;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.picker-input-container {
|
|
687
|
+
display: flex;
|
|
688
|
+
flex-direction: column;
|
|
689
|
+
align-items: flex-start;
|
|
690
|
+
justify-content: stretch;
|
|
679
691
|
}
|
|
@@ -50,6 +50,7 @@ export class BcmDatetimePicker {
|
|
|
50
50
|
this.minYear = 1900;
|
|
51
51
|
this.maxYear = 2200;
|
|
52
52
|
this.noCaption = false;
|
|
53
|
+
this.noMargin = false;
|
|
53
54
|
this.captionError = undefined;
|
|
54
55
|
this.caption = '';
|
|
55
56
|
this.captionType = 'default';
|
|
@@ -1363,6 +1364,7 @@ export class BcmDatetimePicker {
|
|
|
1363
1364
|
const hostClasses = cs(this.hidden ? 'hidden' : null, {
|
|
1364
1365
|
'full-width': this.fullWidth,
|
|
1365
1366
|
'linked-component': this.linkedComponent,
|
|
1367
|
+
'no-margin': this.noMargin,
|
|
1366
1368
|
});
|
|
1367
1369
|
const toggleClasses = cs('toggle', {
|
|
1368
1370
|
disabled: this.disabled
|
|
@@ -1371,7 +1373,7 @@ export class BcmDatetimePicker {
|
|
|
1371
1373
|
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>`;
|
|
1372
1374
|
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>`;
|
|
1373
1375
|
const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
|
|
1374
|
-
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),
|
|
1376
|
+
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(), noMargin: this.noMargin, disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
|
|
1375
1377
|
// on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
|
|
1376
1378
|
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: {
|
|
1377
1379
|
'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
|
|
@@ -1714,6 +1716,24 @@ export class BcmDatetimePicker {
|
|
|
1714
1716
|
"reflect": false,
|
|
1715
1717
|
"defaultValue": "false"
|
|
1716
1718
|
},
|
|
1719
|
+
"noMargin": {
|
|
1720
|
+
"type": "boolean",
|
|
1721
|
+
"mutable": true,
|
|
1722
|
+
"complexType": {
|
|
1723
|
+
"original": "boolean",
|
|
1724
|
+
"resolved": "boolean",
|
|
1725
|
+
"references": {}
|
|
1726
|
+
},
|
|
1727
|
+
"required": false,
|
|
1728
|
+
"optional": false,
|
|
1729
|
+
"docs": {
|
|
1730
|
+
"tags": [],
|
|
1731
|
+
"text": ""
|
|
1732
|
+
},
|
|
1733
|
+
"attribute": "no-margin",
|
|
1734
|
+
"reflect": false,
|
|
1735
|
+
"defaultValue": "false"
|
|
1736
|
+
},
|
|
1717
1737
|
"captionError": {
|
|
1718
1738
|
"type": "string",
|
|
1719
1739
|
"mutable": true,
|
|
@@ -30,6 +30,7 @@ export class BcmTimePicker {
|
|
|
30
30
|
this.label = undefined;
|
|
31
31
|
this.placeholder = undefined;
|
|
32
32
|
this.disabled = false;
|
|
33
|
+
this.noMargin = false;
|
|
33
34
|
this.noCaption = false;
|
|
34
35
|
this.caption = '';
|
|
35
36
|
this.captionError = undefined;
|
|
@@ -126,7 +127,7 @@ export class BcmTimePicker {
|
|
|
126
127
|
const hostClasses = cs(this.hidden ? 'hidden' : null, {
|
|
127
128
|
'full-width': this.fullWidth
|
|
128
129
|
});
|
|
129
|
-
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
|
|
130
|
+
return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
|
|
130
131
|
}
|
|
131
132
|
static get is() { return "bcm-time-picker"; }
|
|
132
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -322,6 +323,24 @@ export class BcmTimePicker {
|
|
|
322
323
|
"reflect": false,
|
|
323
324
|
"defaultValue": "false"
|
|
324
325
|
},
|
|
326
|
+
"noMargin": {
|
|
327
|
+
"type": "boolean",
|
|
328
|
+
"mutable": true,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "boolean",
|
|
331
|
+
"resolved": "boolean",
|
|
332
|
+
"references": {}
|
|
333
|
+
},
|
|
334
|
+
"required": false,
|
|
335
|
+
"optional": false,
|
|
336
|
+
"docs": {
|
|
337
|
+
"tags": [],
|
|
338
|
+
"text": ""
|
|
339
|
+
},
|
|
340
|
+
"attribute": "no-margin",
|
|
341
|
+
"reflect": false,
|
|
342
|
+
"defaultValue": "false"
|
|
343
|
+
},
|
|
325
344
|
"noCaption": {
|
|
326
345
|
"type": "boolean",
|
|
327
346
|
"mutable": true,
|
|
@@ -40,10 +40,10 @@ StringHelper.slugify = (str) => slugify(str, {
|
|
|
40
40
|
trim: false, // trim leading and trailing replacement chars, defaults to `true`
|
|
41
41
|
});
|
|
42
42
|
StringHelper.highlight = (str, search) => {
|
|
43
|
-
const searchText = search;
|
|
44
|
-
const regex = new RegExp(searchText, 'gi');
|
|
45
43
|
let text = str;
|
|
46
44
|
text = text.replace(/(<mark>|<\/mark>)/gim, '');
|
|
45
|
+
const escapedSearch = search.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); // Özel karakterleri kaçış dizileri ile kaçır
|
|
46
|
+
const regex = new RegExp(escapedSearch, 'gi');
|
|
47
47
|
const newText = text.replace(regex, '<mark>$&</mark>');
|
|
48
48
|
return newText;
|
|
49
49
|
};
|
|
@@ -10,7 +10,8 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { a as Bcm } from './bcm.js';
|
|
13
|
-
import { c as ce
|
|
13
|
+
import { c as ce } from './index5.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './badge.js';
|
|
14
15
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
15
16
|
|
|
16
17
|
const avatarStyle = ce({
|