globuswebcomponents 2.6.14 → 2.6.15
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/cjs/gb-action-panel_72.cjs.entry.js +41 -28
- package/dist/cjs/gb-metric-card.cjs.entry.js +1 -1
- package/dist/cjs/gb-metric-card.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/components/gb-date-picker/gb-date-picker.css +5 -6
- package/dist/collection/components/gb-date-picker/gb-date-picker.js +22 -9
- package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
- package/dist/collection/components/gb-metric-card/gb-metric-card.css +1 -3
- package/dist/collection/components/gb-table-header/gb-table-header.css +0 -11
- package/dist/collection/components/gb-table-header/gb-table-header.js +3 -3
- package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -1
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-action-panel.js +2 -2
- package/dist/components/gb-approval-modal.js +8 -8
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-avatar-group.js +2 -2
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +3 -3
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment.js +2 -2
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +2 -2
- package/dist/components/gb-empty-state.js +2 -2
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +4 -4
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-header.js +13 -13
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-metric-card.js +1 -1
- package/dist/components/gb-metric-card.js.map +1 -1
- package/dist/components/gb-modal-action.js +1 -1
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +1 -1
- package/dist/components/gb-nav-bar.js +2 -2
- package/dist/components/gb-notification-pane.js +1 -1
- package/dist/components/gb-pagination.js +10 -10
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-prompt-modal.js +2 -2
- package/dist/components/gb-sidebar.js +5 -5
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +2 -2
- package/dist/components/gb-table-header.js +15 -15
- package/dist/components/gb-table-header.js.map +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +4 -4
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +2 -2
- package/dist/components/{p-CVyBDyQO.js → p--yTC9FTD.js} +3 -3
- package/dist/components/{p-CVyBDyQO.js.map → p--yTC9FTD.js.map} +1 -1
- package/dist/components/{p-H3MAmmV5.js → p-2dfyGxAA.js} +3 -3
- package/dist/components/{p-H3MAmmV5.js.map → p-2dfyGxAA.js.map} +1 -1
- package/dist/components/{p-CJEtoV9c.js → p-536_b1gw.js} +3 -3
- package/dist/components/{p-CJEtoV9c.js.map → p-536_b1gw.js.map} +1 -1
- package/dist/components/{p-hx9brOJg.js → p-B-cu_ylY.js} +5 -5
- package/dist/components/{p-hx9brOJg.js.map → p-B-cu_ylY.js.map} +1 -1
- package/dist/components/{p-Bv9TTVvQ.js → p-B5ZbIaPq.js} +4 -4
- package/dist/components/{p-Bv9TTVvQ.js.map → p-B5ZbIaPq.js.map} +1 -1
- package/dist/components/{p-CfIakSv4.js → p-BIZJMi3r.js} +3 -3
- package/dist/components/{p-CfIakSv4.js.map → p-BIZJMi3r.js.map} +1 -1
- package/dist/components/{p-C3fcWCCr.js → p-BhZ1P8SA.js} +5 -5
- package/dist/components/{p-C3fcWCCr.js.map → p-BhZ1P8SA.js.map} +1 -1
- package/dist/components/{p-C2ypQLpB.js → p-BhZ9gO-e.js} +9 -9
- package/dist/components/{p-C2ypQLpB.js.map → p-BhZ9gO-e.js.map} +1 -1
- package/dist/components/{p-CcS3iTaH.js → p-BvZIc1VI.js} +3 -3
- package/dist/components/{p-CcS3iTaH.js.map → p-BvZIc1VI.js.map} +1 -1
- package/dist/components/{p-BmnngydE.js → p-BxOhNcI-.js} +3 -3
- package/dist/components/{p-BmnngydE.js.map → p-BxOhNcI-.js.map} +1 -1
- package/dist/components/{p-DrumszxT.js → p-C4TLf1gY.js} +6 -6
- package/dist/components/{p-DrumszxT.js.map → p-C4TLf1gY.js.map} +1 -1
- package/dist/components/{p-CK63N1Ky.js → p-CG8DbGtu.js} +3 -3
- package/dist/components/{p-CK63N1Ky.js.map → p-CG8DbGtu.js.map} +1 -1
- package/dist/components/{p-D0DfK8zD.js → p-CO2j2qSM.js} +10 -10
- package/dist/components/{p-D0DfK8zD.js.map → p-CO2j2qSM.js.map} +1 -1
- package/dist/components/{p-wCvOcMz9.js → p-ClXamGR5.js} +3 -3
- package/dist/components/{p-wCvOcMz9.js.map → p-ClXamGR5.js.map} +1 -1
- package/dist/components/{p-Cxsp_HEj.js → p-CyxVWv20.js} +4 -4
- package/dist/components/{p-Cxsp_HEj.js.map → p-CyxVWv20.js.map} +1 -1
- package/dist/components/{p-C2miY_93.js → p-D2bypnF7.js} +3 -3
- package/dist/components/{p-C2miY_93.js.map → p-D2bypnF7.js.map} +1 -1
- package/dist/components/{p-BqPGMb4f.js → p-D79gnPMN.js} +3 -3
- package/dist/components/{p-BqPGMb4f.js.map → p-D79gnPMN.js.map} +1 -1
- package/dist/components/{p-BaryqpUh.js → p-DFl_Vm-4.js} +3 -3
- package/dist/components/{p-BaryqpUh.js.map → p-DFl_Vm-4.js.map} +1 -1
- package/dist/components/{p-Di6WXr9b.js → p-DG_7DZUp.js} +4 -4
- package/dist/components/{p-Di6WXr9b.js.map → p-DG_7DZUp.js.map} +1 -1
- package/dist/components/{p-B-DajUXT.js → p-DLUDYNHZ.js} +3 -3
- package/dist/components/{p-B-DajUXT.js.map → p-DLUDYNHZ.js.map} +1 -1
- package/dist/components/{p-ppmZLH-5.js → p-DMH5ExUe.js} +4 -4
- package/dist/components/{p-ppmZLH-5.js.map → p-DMH5ExUe.js.map} +1 -1
- package/dist/components/{p-Cpt2AFpk.js → p-DUdPuAnq.js} +4 -4
- package/dist/components/{p-Cpt2AFpk.js.map → p-DUdPuAnq.js.map} +1 -1
- package/dist/components/{p-BG_2Rbqm.js → p-DirO-V_R.js} +4 -4
- package/dist/components/{p-BG_2Rbqm.js.map → p-DirO-V_R.js.map} +1 -1
- package/dist/components/{p-ogNfy4PX.js → p-DwO4FaUO.js} +3 -3
- package/dist/components/{p-ogNfy4PX.js.map → p-DwO4FaUO.js.map} +1 -1
- package/dist/components/{p-BSnUdYEl.js → p-IiVhqd54.js} +3 -3
- package/dist/components/{p-BSnUdYEl.js.map → p-IiVhqd54.js.map} +1 -1
- package/dist/components/{p-BS3LHwPv.js → p-QApvE91-.js} +11 -11
- package/dist/components/{p-BS3LHwPv.js.map → p-QApvE91-.js.map} +1 -1
- package/dist/components/{p-CGicIYuu.js → p-QQMD9lyS.js} +3 -3
- package/dist/components/{p-CGicIYuu.js.map → p-QQMD9lyS.js.map} +1 -1
- package/dist/components/{p-BrTcVLrN.js → p-SDmcdXXy.js} +25 -12
- package/dist/components/p-SDmcdXXy.js.map +1 -0
- package/dist/components/{p-BLRv4Sur.js → p-j2jZ4_zH.js} +3 -3
- package/dist/components/{p-BLRv4Sur.js.map → p-j2jZ4_zH.js.map} +1 -1
- package/dist/components/{p-CQMa1vpX.js → p-ro10Qmtl.js} +5 -5
- package/dist/components/{p-CQMa1vpX.js.map → p-ro10Qmtl.js.map} +1 -1
- package/dist/components/{p-B0HaqwQR.js → p-ycvY3d5Z.js} +3 -3
- package/dist/components/{p-B0HaqwQR.js.map → p-ycvY3d5Z.js.map} +1 -1
- package/dist/components/{p-DV-6GNSR.js → p-zUbXw_d0.js} +3 -3
- package/dist/components/{p-DV-6GNSR.js.map → p-zUbXw_d0.js.map} +1 -1
- package/dist/components/test-input-tag.js +6 -6
- package/dist/docs.json +3 -3
- package/dist/esm/gb-action-panel_72.entry.js +41 -28
- package/dist/esm/gb-metric-card.entry.js +1 -1
- package/dist/esm/gb-metric-card.entry.js.map +1 -1
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/gb-metric-card.entry.esm.js.map +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-3837b368.entry.js → p-440d82f8.entry.js} +2 -2
- package/dist/globuscomponents/{p-89aa24b0.entry.js → p-872f1153.entry.js} +2 -2
- package/dist/globuscomponents/{p-3ca5e66c.entry.js → p-9ad95a7f.entry.js} +2 -2
- package/dist/globuscomponents/{p-a39cec91.entry.js → p-ad4a27e5.entry.js} +2 -2
- package/dist/globuscomponents/p-ad4a27e5.entry.js.map +1 -0
- package/dist/globuscomponents/{p-36ce6509.entry.js → p-bcb42b20.entry.js} +2 -2
- package/dist/globuscomponents/{p-36ce6509.entry.js.map → p-bcb42b20.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-2059f746.entry.js → p-e7419d13.entry.js} +2 -2
- package/dist/globuscomponents/{p-72814e6e.entry.js → p-f7d91fec.entry.js} +2 -2
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/dist/components/p-BrTcVLrN.js.map +0 -1
- package/dist/globuscomponents/p-a39cec91.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-3837b368.entry.js.map → p-440d82f8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-89aa24b0.entry.js.map → p-872f1153.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3ca5e66c.entry.js.map → p-9ad95a7f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2059f746.entry.js.map → p-e7419d13.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-72814e6e.entry.js.map → p-f7d91fec.entry.js.map} +0 -0
|
@@ -2549,7 +2549,7 @@ if (typeof window !== "undefined") {
|
|
|
2549
2549
|
window.flatpickr = flatpickr;
|
|
2550
2550
|
}
|
|
2551
2551
|
|
|
2552
|
-
const gbDatePickerCss = ".date-picker-wrapper{position:relative;display:flex;align-items:center;border:1px solid var(--border-color, #d1d5db);border-radius:var(--radius-md, 0.5rem);padding:0.5rem 0.75rem;background-color:var(--
|
|
2552
|
+
const gbDatePickerCss = ".date-picker-wrapper{position:relative;display:flex;align-items:center;border:1px solid var(--border-color, #d1d5db);border-radius:var(--radius-md, 0.5rem);padding:0.5rem 0.75rem;background-color:var(--color-background-card, #ffffff);transition:border-color 0.2s ease;gap:var(--spacing-2)}.date-picker-wrapper:focus-within{border:1.3px solid var(--color-border-selected, #075db2)}.date-picker-wrapper.is-disabled{opacity:0.5;pointer-events:none}.date-picker-wrapper input{border:none;outline:none;width:100%;background:transparent;font-size:var(--Font-Size-T-sm, 0.875rem);font-style:normal;font-weight:var(--Font-Weight-Medium, 500);line-height:var(--Font-Line-height-T-sm, 1.5rem);letter-spacing:var(--Font-Letter-spacing-T-sm, 0);color:var(--color-text, #4b5565);text-overflow:ellipsis}.inner_container{width:100%;display:flex;align-items:center;gap:var(--spacing-2)}.calendar-container{width:fit-content;position:absolute;z-index:9}.calendar-container.left{top:105%;left:0}.calendar-container.right{top:105%;right:0}:host ::part(flatpickr-calendar){background:var(--color-background-card, #fff);border:1px solid var(--color-border-subtle, #cdd5df)}.flatpickr-calendar *,input{font-family:var(--font-family-body)}.flatpickr-calendar{background:var(--color-background-card, #fff);border:1px solid var(--color-border-subtle, #cdd5df);box-shadow:var(--shadow-md);border-radius:var(--radius-md, 0.5rem);z-index:1000;padding:var(--spacing-3);white-space:normal !important;overflow:visible}.calendar-container.hidden{display:none}.flatpickr-calendar.calendar_shown{display:block}.flatpickr-weekdaycontainer{display:flex;padding:var(--spacing-2) 0}.flatpickr-weekday{color:var(--color-text, #4b5565)}.flatpickr-day{width:2.5rem;height:2.5rem;cursor:pointer}.flatpickr-day.selected{border-radius:1.25rem;background:var(--color-background-selected, #075db2);color:var(--color-background-card, #ffffff)}.flatpickr-months{display:flex;width:100%;justify-content:space-between}.flatpickr-current-month{display:flex;flex:1;gap:var(--spacing-2)}.flatpickr-month{display:flex;align-items:center}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:20px;height:20px}.flatpickr-days{width:17.5rem;box-sizing:border-box;padding:0}.flatpickr-days .dayContainer{display:flex !important;flex-wrap:wrap !important;width:100%;box-sizing:border-box;align-items:stretch}.flatpickr-days .dayContainer .flatpickr-day{flex:0 0 calc(100% / 7) !important;max-width:calc(100% / 7);box-sizing:border-box;text-align:center;display:flex;align-items:center;justify-content:center;white-space:normal !important;padding:0.35rem 0;}.flatpickr-weekdays .flatpickr-weekday{flex:0 0 calc(100% / 7);max-width:calc(100% / 7);box-sizing:border-box;text-align:center}.flatpickr-weekday{font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.flatpickr-day{font-family:var(--Font-Family-Body, Sora);font-size:var(--Font-Size-T-sm, 0.875rem);font-style:normal;font-weight:var(--Font-Weight-Regular, 400);line-height:var(--Font-Line-height-T-sm, 1.5rem);letter-spacing:var(--Font-Letter-spacing-T-sm, 0);color:var(--color-text, #4b5565)}.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay{color:var(--color-text-disabled, #808c9e)}.flatpickr-day.inRange{background:var(--color-background-gray-subtlest, #f6f8fa);border-radius:0;box-shadow:none}.flatpickr-day.startRange,.flatpickr-day.endRange{background:var(--color-background-selected, #075db2);color:var(--color-background-card, #ffffff);border-radius:50%;}.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange{border-radius:50%}.flatpickr-day.flatpickr-disabled,.flatpickr-day.notAllowed{background:none}.flatpickr-day.startRange{border-top-left-radius:50px;border-bottom-left-radius:50px}.flatpickr-day.inRange+.flatpickr-day.endRange{border-top-right-radius:50px;border-bottom-right-radius:50px}.flatpickr-day.today{position:relative;font-weight:500}.flatpickr-day.today::after{content:'';position:absolute;bottom:0.35rem;left:50%;transform:translateX(-50%);width:0.3rem;height:0.3rem;background-color:var(--color-icon-selected, #075db2);border-radius:50%}.calendar_arrow{display:flex;width:2.5rem;height:2.5rem;padding:var(--spacing-2);justify-content:center;align-items:center;gap:var(--spacing-none);cursor:pointer;background-color:transparent;border-radius:var(--rounded-sm)}.calendar_arrow:hover{background-color:var(--color-background-gray-subtler, #eef2f6)}.calendar_arrow:active{background-color:var(--color-background-gray-subtle, #e3e8ef)}.flatpickr-current-month select.flatpickr-monthDropdown-months,.flatpickr-current-month select.flatpickr-yearDropdown-years{border:1px solid var(--color-border-input, #cdd5df);border-radius:6px;color:var(--color-text, #4b5565);padding:4px 8px;background-color:var(--color-background-card, #ffffff);appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;outline:none;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.flatpickr-current-month select.flatpickr-yearDropdown-years{background-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class=\"calendar_arrow\"><path d=\"M7.50004 5C7.50004 5 12.5 8.68244 12.5 10C12.5 11.3176 7.5 15 7.5 15\" stroke=\"var(--color-icon, #4B5565)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>');background-repeat:no-repeat;background-position:right 8px center;background-size:16px;padding-right:24px;}.flatpickr-current-month .numInputWrapper{display:inline-flex;align-items:center;width:fit-content;border:1px solid var(--color-border-input, #cdd5df);border-radius:6px;transition:all 0.2s ease-in-out}.flatpickr-current-month .numInputWrapper:focus-within{border:1.3px solid var(--color-border-selected, #075db2)}.flatpickr-current-month input.cur-year{border:none;background:transparent;width:3rem;text-align:center;appearance:textfield;color:var(--color-text, #4b5565);outline:none;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.flatpickr-current-month input.cur-year::-webkit-outer-spin-button,.flatpickr-current-month input.cur-year::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.flatpickr-current-month input.cur-year[type='number']{-moz-appearance:textfield}";
|
|
2553
2553
|
|
|
2554
2554
|
const GbDatePicker = /*@__PURE__*/ proxyCustomElement(class GbDatePicker extends H {
|
|
2555
2555
|
constructor(registerHost) {
|
|
@@ -2612,16 +2612,32 @@ const GbDatePicker = /*@__PURE__*/ proxyCustomElement(class GbDatePicker extends
|
|
|
2612
2612
|
`,
|
|
2613
2613
|
onChange: (selectedDates) => {
|
|
2614
2614
|
if (this.mode === 'range') {
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2615
|
+
if (selectedDates.length === 2) {
|
|
2616
|
+
const [start, end] = selectedDates;
|
|
2617
|
+
const sameYear = start.getFullYear() === end.getFullYear();
|
|
2618
|
+
// If same year → hide year in display format
|
|
2619
|
+
if (sameYear) {
|
|
2620
|
+
this.format = 'M j'; // e.g. "Nov 4"
|
|
2621
|
+
}
|
|
2622
|
+
else {
|
|
2623
|
+
this.format = 'M j, Y'; // e.g. "Dec 28, 2025"
|
|
2624
|
+
}
|
|
2625
|
+
this.picker.set('altFormat', this.format);
|
|
2626
|
+
this.picker.set('dateFormat', this.format);
|
|
2627
|
+
this.picker.altInput.value = `${this.picker.formatDate(start, this.format)} - ${this.picker.formatDate(end, this.format)}`;
|
|
2628
|
+
const formattedRange = selectedDates.map(d => this.picker.formatDate(d, this.format));
|
|
2629
|
+
this.value = formattedRange;
|
|
2630
|
+
this.dateChange.emit(formattedRange);
|
|
2631
|
+
this.picker.close();
|
|
2632
|
+
}
|
|
2618
2633
|
}
|
|
2619
2634
|
else if (selectedDates.length) {
|
|
2620
2635
|
const formattedDate = this.picker.formatDate(selectedDates[0], this.format);
|
|
2621
2636
|
this.value = formattedDate;
|
|
2622
2637
|
this.dateChange.emit(formattedDate);
|
|
2638
|
+
this.picker.close();
|
|
2623
2639
|
}
|
|
2624
|
-
this.picker.open();
|
|
2640
|
+
// this.picker.open();
|
|
2625
2641
|
},
|
|
2626
2642
|
onOpen: () => {
|
|
2627
2643
|
this.isCalendarShown = true;
|
|
@@ -2637,9 +2653,6 @@ const GbDatePicker = /*@__PURE__*/ proxyCustomElement(class GbDatePicker extends
|
|
|
2637
2653
|
this.value = this.picker.formatDate(parsedDate, this.format);
|
|
2638
2654
|
this.dateChange.emit(this.value);
|
|
2639
2655
|
}
|
|
2640
|
-
if (!this.isCalendarShown) {
|
|
2641
|
-
this.picker.open();
|
|
2642
|
-
}
|
|
2643
2656
|
});
|
|
2644
2657
|
}
|
|
2645
2658
|
toggleCalendar(event) {
|
|
@@ -2662,9 +2675,9 @@ const GbDatePicker = /*@__PURE__*/ proxyCustomElement(class GbDatePicker extends
|
|
|
2662
2675
|
}
|
|
2663
2676
|
}
|
|
2664
2677
|
render() {
|
|
2665
|
-
return (h("div", { key: '
|
|
2678
|
+
return (h("div", { key: '0125b658a01524298e4a43eda074c7cbbc5cdd16', class: "date-picker-wrapper" }, h("div", { key: '35fe6ff24db6cc65b9d091105f950a16c1838a63', class: "inner_container", onClick: () => {
|
|
2666
2679
|
this.toggleCalendar();
|
|
2667
|
-
} }, this.iconPosition === 'left' && (h("svg", { key: '805ab812d32b7454d826a11649bd80da18acd274', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '582672e2f593a432b11c6857457ce5e75f99d2b4', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" }))), h("input", { key: 'ade8b8bf83123c07cafb42267ae7cf334607bc3b', type: "text", ref: el => (this.inputEl = el), placeholder: this.placeholder, disabled: this.disabled, value: this.value }), this.iconPosition === 'right' && (h("svg", { key: 'c01130cbb49116e474f7f8a8374976bd3762dfc3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '23ede51ecd32da17ef7263bb3e3a0e08adcc1ec4', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" })))), h("div", { key: '785faf4080a462465aec520af77d8d340cccaf13', class: `calendar-container ${!this.isCalendarShown ? 'hidden' : ''} ${this.dropdownAlignment}` })));
|
|
2680
|
+
} }, this.iconPosition === 'left' && (h("svg", { key: 'f8fc9a15d106163ac02baef6d3cd8dd26e94921e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd7d9bda024e3815e78f44ca0a500705b3dac13de', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" }))), h("input", { key: '080b1acb975031ee79760771fd9b436b96a629fe', type: "text", ref: el => (this.inputEl = el), placeholder: this.placeholder, disabled: this.disabled, value: this.value }), this.iconPosition === 'right' && (h("svg", { key: '57c0987447ff988b0a45b7448815d8884aabafdd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '775d9060faba3ad8f419bf917f1df32a6edca132', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" })))), h("div", { key: '74bea32080a374fb771a5e8e566ffcc0f99eeeff', class: `calendar-container ${!this.isCalendarShown ? 'hidden' : ''} ${this.dropdownAlignment}` })));
|
|
2668
2681
|
}
|
|
2669
2682
|
get el() { return this; }
|
|
2670
2683
|
static get style() { return gbDatePickerCss; }
|
|
@@ -2694,6 +2707,6 @@ function defineCustomElement() {
|
|
|
2694
2707
|
defineCustomElement();
|
|
2695
2708
|
|
|
2696
2709
|
export { GbDatePicker as G, defineCustomElement as d };
|
|
2697
|
-
//# sourceMappingURL=p-
|
|
2710
|
+
//# sourceMappingURL=p-SDmcdXXy.js.map
|
|
2698
2711
|
|
|
2699
|
-
//# sourceMappingURL=p-
|
|
2712
|
+
//# sourceMappingURL=p-SDmcdXXy.js.map
|