@ironsource/shared-ui 2.1.6-rc.43 → 2.1.6-rc.45
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/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -0
- package/DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css +1 -0
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_a089480a_lang.css +1 -0
- package/components/datePicker/common/DatePicker.common.d.ts +11 -0
- package/components/datePicker/common/DatePicker.common.js +52 -0
- package/components/datePicker/common/DatePickerMonth.common.d.ts +85 -0
- package/components/datePicker/common/DatePickerMonth.common.js +66 -0
- package/components/datePicker/{DatePicker.vue.d.ts → v3/DatePicker.vue.d.ts} +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +7 -0
- package/components/datePicker/v3/DatePicker.vue2.js +69 -0
- package/components/datePicker/v3/DatePickerMonth.vue.js +7 -0
- package/components/datePicker/v3/DatePickerMonth.vue2.js +40 -0
- package/components/datePicker/{index.d.ts → v3/index.d.ts} +3 -3
- package/components/datePicker/v4/DatePickerMonthV4.vue.d.ts +53 -0
- package/components/datePicker/v4/DatePickerMonthV4.vue.js +7 -0
- package/components/datePicker/v4/DatePickerMonthV4.vue2.js +40 -0
- package/components/datePicker/v4/DatePickerV4.vue.d.ts +67 -0
- package/components/datePicker/v4/DatePickerV4.vue.js +7 -0
- package/components/datePicker/v4/DatePickerV4.vue2.js +74 -0
- package/components/datePicker/v4/index.d.ts +184 -0
- package/components/datePicker/v4/index.js +6 -0
- package/components/dateRange/common/CalendarMonth.common.d.ts +17 -0
- package/components/dateRange/common/CalendarMonth.common.js +131 -0
- package/components/dateRange/common/DateRange.common.d.ts +47 -0
- package/components/dateRange/common/DateRange.common.js +265 -0
- package/components/dateRange/common/DateRangePicker.common.d.ts +3 -0
- package/components/dateRange/{DateServices.d.ts → common/DateServices.common.d.ts} +1 -0
- package/components/dateRange/common/DateServices.common.js +248 -0
- package/components/dateRange/common/consts.common.js +75 -0
- package/components/dateRange/{CalendarMonth.vue.d.ts → v3/CalendarMonth.vue.d.ts} +1 -1
- package/components/dateRange/v3/CalendarMonth.vue.js +7 -0
- package/components/dateRange/v3/CalendarMonth.vue2.js +147 -0
- package/components/dateRange/{DateRange.vue.d.ts → v3/DateRange.vue.d.ts} +9 -9
- package/components/dateRange/v3/DateRange.vue.js +7 -0
- package/components/dateRange/v3/DateRange.vue2.js +226 -0
- package/components/dateRange/{DateRangePicker.vue.d.ts → v3/DateRangePicker.vue.d.ts} +9 -9
- package/components/dateRange/{index.d.ts → v3/index.d.ts} +21 -21
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +75 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +7 -0
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +132 -0
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +115 -0
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +127 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +7 -0
- package/components/dateRange/v4/DateRangeV4.vue2.js +263 -0
- package/components/dateRange/v4/index.d.ts +408 -0
- package/components/dateRange/v4/index.js +6 -0
- package/components/filtersPanel/v3/Filter.d.ts +1 -1
- package/components/table/common/Table.types.d.ts +7 -0
- package/components/table/v4/MultipleDataGrid.vue.d.ts +137 -0
- package/components/table/v4/MultipleDataGrid.vue.js +7 -0
- package/components/table/v4/MultipleDataGrid.vue2.js +120 -0
- package/components/table/v4/index.d.ts +441 -3
- package/components/table/v4/index.js +13 -6
- package/index.d.ts +3294 -1245
- package/index.js +116 -116
- package/package.json +13 -5
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_b2206adb_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_e108ef3b_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_b171cdab_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_eb5d155e_lang.css +0 -1
- package/components/datePicker/DatePicker.vue.js +0 -7
- package/components/datePicker/DatePicker.vue2.js +0 -97
- package/components/datePicker/DatePickerMonth.vue.js +0 -7
- package/components/datePicker/DatePickerMonth.vue2.js +0 -85
- package/components/dateRange/CalendarMonth.vue.js +0 -7
- package/components/dateRange/CalendarMonth.vue2.js +0 -244
- package/components/dateRange/DateRange.vue.js +0 -7
- package/components/dateRange/DateRange.vue2.js +0 -417
- package/components/dateRange/DateServices.js +0 -245
- package/components/dateRange/consts.js +0 -79
- /package/components/datePicker/{DatePickerMonth.vue.d.ts → v3/DatePickerMonth.vue.d.ts} +0 -0
- /package/components/datePicker/{index.js → v3/index.js} +0 -0
- /package/components/dateRange/{consts.d.ts → common/consts.common.d.ts} +0 -0
- /package/components/dateRange/{index.js → v3/index.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-acd3440c]{color:#41454d}.days-wrapper[data-v-acd3440c]{color:#53575b}.days-wrapper .day[data-v-acd3440c]{position:relative;width:32px;height:32px;cursor:pointer;display:inline-block;text-align:center;padding:5px;margin-bottom:4px;line-height:21px;box-sizing:border-box}.days-wrapper .day[data-v-acd3440c]:not(.non-day):not(.disabled-day):not(.selected-day):hover:before{content:"";display:block;position:absolute;background:#f1f3f4;width:32px;height:32px;left:50%;top:0;margin-left:-16px;border-radius:100px;z-index:-1}.days-wrapper .day.today[data-v-acd3440c]:after{content:"";background:#3083ff;position:absolute;text-align:center;width:4px;height:4px;border-radius:100%;bottom:4px;left:50%;margin-left:-2px}.days-wrapper .day.today.selected-day[data-v-acd3440c]:after,.days-wrapper .day.today.selected-day-between[data-v-acd3440c]:after{background:#ffffff}.days-wrapper .day.start-day[data-v-acd3440c]{border-radius:100px 0 0 100px}.days-wrapper .day.end-day[data-v-acd3440c]{border-radius:0 100px 100px 0}.days-wrapper .day.start-day.end-day[data-v-acd3440c]{background-color:transparent!important}.days-wrapper .day.start-day.end-day[data-v-acd3440c]:before{content:"";display:block;position:absolute;background:#3083ff;width:32px;height:32px;left:50%;top:0;margin-left:-16px;border-radius:100px;z-index:-1}.days-wrapper .day.selected-day-between[data-v-acd3440c]{color:#fff;background-color:#96c0ff}.days-wrapper .day.selected-day-between[data-v-acd3440c]:hover{background-color:#f1f3f4;color:#696a6b}.days-wrapper .day.selected-day[data-v-acd3440c]{background-color:#3083ff!important;color:#fff}.days-wrapper .day.selected-day[data-v-acd3440c]:hover{color:#fff}.days-wrapper .day.disabled-day[data-v-acd3440c]{color:#a9afb4;cursor:default;background:transparent}.days-wrapper .day.non-day[data-v-acd3440c]{color:transparent;cursor:default;background:transparent}.calendar-month[data-v-acd3440c]{user-select:none;box-sizing:unset;padding:0;overflow:hidden;position:relative;width:224px;margin:auto}.calendar-month .days-header[data-v-acd3440c]{padding:21px 0 14px;color:#8e959d}.calendar-month .days-header span[data-v-acd3440c]{width:32px;display:inline-block;text-align:center}.calendar-month .month-header[data-v-acd3440c]{padding-top:13px;padding-bottom:3px;text-align:center;color:#53575b}.calendar-month .next[data-v-acd3440c]{right:4px;cursor:pointer;position:absolute;z-index:16}.calendar-month .next[data-v-acd3440c],.calendar-month .previous[data-v-acd3440c]{transform:translateY(8px)}.calendar-month .previous[data-v-acd3440c]{left:4px;cursor:pointer;position:absolute;z-index:16}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-b0d3ea50]{color:#41454d}.days-wrapper .date-wrapper[data-v-b0d3ea50]{position:relative;width:32px;height:32px;display:inline-block;text-align:center;margin-bottom:4px;line-height:21px;box-sizing:border-box}.days-wrapper .date-wrapper.start-day-wrapper[data-v-b0d3ea50]{background:var(--primary-light, #cee7fe);border-radius:100% 0% 0% 100%}.days-wrapper .date-wrapper.end-day-wrapper[data-v-b0d3ea50]{background:var(--primary-light, #cee7fe);border-radius:0% 100% 100% 0%}.days-wrapper .date-wrapper.start-day-wrapper.end-day-wrapper[data-v-b0d3ea50]{background-color:transparent!important}.days-wrapper .date-wrapper.start-day-wrapper.end-day-wrapper[data-v-b0d3ea50]:before{content:"";display:block;position:absolute;background:var(--primary-main, #0091ff);width:32px;height:32px;left:50%;top:0;margin-left:-16px;border-radius:var(--borderRadius-full, 100px);z-index:-1}.days-wrapper .day[data-v-b0d3ea50]{position:relative;width:32px;height:32px;display:inline-block;text-align:center;padding:5px;margin-bottom:4px;line-height:21px;box-sizing:border-box;cursor:pointer;color:var(--text-Primary, #202020)}.days-wrapper .day[data-v-b0d3ea50]:not(.non-day):not(.disabled-day):not(.selected-day):hover:not(.selected-day-between):before{content:"";display:block;position:absolute;background:var(--primary-main50p, rgba(0, 145, 255, .5));width:32px;height:32px;left:50%;top:0;margin-left:-16px;border-radius:var(--borderRadius-full, 100px);z-index:-1}.days-wrapper .day.today[data-v-b0d3ea50]:after{content:"";background:var(--primary-main, #0091ff);position:absolute;text-align:center;width:4px;height:4px;border-radius:var(--borderRadius-full, 100px);bottom:4px;left:50%;margin-left:-2px}.days-wrapper .day.today.selected-day[data-v-b0d3ea50]:after,.days-wrapper .day.today.selected-day-between[data-v-b0d3ea50]:after{background:#ffffff}.days-wrapper .day.start-day[data-v-b0d3ea50]{border-radius:100px 0 0 100px}.days-wrapper .day.end-day[data-v-b0d3ea50]{border-radius:0 100px 100px 0}.days-wrapper .day.start-day.end-day[data-v-b0d3ea50]{background-color:transparent!important}.days-wrapper .day.start-day.end-day[data-v-b0d3ea50]:before{content:"";display:block;position:absolute;background:var(--primary-main, #0091ff);width:32px;height:32px;left:50%;top:0;margin-left:-16px;border-radius:var(--borderRadius-full, 100px);z-index:-1}.days-wrapper .day.selected-day-between[data-v-b0d3ea50]{color:#53575b;background:var(--primary-light, #cee7fe)}.days-wrapper .day.selected-day-between[data-v-b0d3ea50]:hover{background-color:var(--primary-main50p, rgba(0, 145, 255, .5));color:#696a6b}.days-wrapper .day.selected-day[data-v-b0d3ea50]{background:var(--primary-main, #0091ff)!important;border-radius:var(--borderRadius-full, 100px);color:var(--common-white, #fff)}.days-wrapper .day.selected-day[data-v-b0d3ea50]:hover{color:var(--common-white, #fff)}.days-wrapper .day.disabled-day[data-v-b0d3ea50]{color:var(--text-disabled, #bbb);cursor:default;background:transparent}.days-wrapper .day.non-day[data-v-b0d3ea50]{color:transparent;cursor:default;background:transparent}.calendar-month[data-v-b0d3ea50]{user-select:none;box-sizing:unset;padding:0;overflow:hidden;position:relative;width:224px;margin:auto}.calendar-month .days-header span[data-v-b0d3ea50]{width:32px;display:inline-block;display:inline-flex;text-align:center;height:32px;justify-content:center;align-items:center}.calendar-month .month-header[data-v-b0d3ea50]{display:flex;height:var(--spacing-500, 40px);padding:8px 0;align-items:center;gap:8px;align-self:stretch;text-align:center;flex-direction:column}.calendar-month .month-header .month-name[data-v-b0d3ea50]{color:var(--text-primary, #202020)}.calendar-month .week-day[data-v-b0d3ea50]{color:var(--text-secondary, #646464);text-align:center}.calendar-month .next[data-v-b0d3ea50]{right:1px;cursor:pointer;position:absolute;z-index:16}.calendar-month .next[data-v-b0d3ea50],.calendar-month .previous[data-v-b0d3ea50]{transform:translateY(8px)}.calendar-month .previous[data-v-b0d3ea50]{left:1px;cursor:pointer;position:absolute;z-index:16}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-67b44cbe]{color:#41454d}.date-picker[data-v-67b44cbe]{position:relative}.date-picker .input[data-v-67b44cbe]{max-width:100%}.date-picker-popup[data-v-67b44cbe]{width:252px;padding:16px;position:absolute;top:38px;left:0;z-index:1000!important;background-color:#fff;border-radius:.5rem;box-shadow:0 2px 4px #0000004d}.date-picker-popup.align-right[data-v-67b44cbe]{left:inherit;right:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-929d3028]{color:#41454d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-11288104]{color:#41454d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-39e6c10c]{color:#41454d}.date-picker[data-v-39e6c10c]{position:relative}.date-picker .input[data-v-39e6c10c]{max-width:100%}.date-picker-popup[data-v-39e6c10c]{width:258px;padding:16px;position:absolute;top:33px;left:0;z-index:1000!important;border-radius:8px;border:1px solid var(--common-divider, #e4e4e4);background:var(--background-modelElevation, #fff);box-shadow:var(--elevation-lg)}.date-picker-popup.align-right[data-v-39e6c10c]{left:inherit;right:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-70e316e9]{color:#41454d}.pop-up[data-v-70e316e9]{width:652px;position:absolute;z-index:1000;top:32px;box-shadow:0 8px 24px -6px #00000029,0 0 1px #0006;background-color:#fff;border-radius:8px;left:1px;overflow:hidden}.pop-up.open-on-top[data-v-70e316e9]{top:0}.pop-up.hide-presets[data-v-70e316e9],.pop-up.hide-presets .calendar-wrap[data-v-70e316e9]{width:494px}.pop-up.hide-presets .date-picker-calendar[data-v-70e316e9]{padding:15px 16px}.pop-up .date-picker-menu[data-v-70e316e9]{width:164px;background:#ffffff;vertical-align:top}.pop-up .date-picker-menu .preset-element[data-v-70e316e9]{padding-left:8px;height:32px;border-radius:8px;color:#53575b;line-height:32px}.pop-up .date-picker-menu .preset-element[data-v-70e316e9]:hover{background:#f1f3f4}.pop-up .date-picker-menu .selected-preset[data-v-70e316e9]{background:#e2eeff!important;color:#3083ff}.pop-up .date-picker-menu li[data-v-70e316e9]{cursor:pointer;margin-bottom:2px}.pop-up .left-box[data-v-70e316e9]{left:-1px}.pop-up .date-picker-calendar[data-v-70e316e9]{box-sizing:border-box;height:100%;padding:15px 0;display:grid;grid-template-columns:1fr 1fr;grid-gap:18px}.pop-up .calendars-wrapper[data-v-70e316e9]{padding-left:6px}.pop-up .preset-dropdown ul[data-v-70e316e9]{list-style:none;margin:0;padding:12px 16px 12px 12px;line-height:32px}.pop-up .buttons-cover[data-v-70e316e9]{height:48px;padding:0 16px 0 0;position:absolute;bottom:0;width:calc(100% + 10px);right:-10px;box-sizing:border-box;border-top:1px solid #dddfe1;display:grid;grid-template-columns:auto 250px;align-items:center}.pop-up button[data-v-70e316e9]{float:right;margin-left:4px}.pop-up .error[data-v-70e316e9]{display:none;position:absolute;left:270px;top:22px}.pop-up .inline-block[data-v-70e316e9]{display:inline-block}.pop-up.right[data-v-70e316e9]{left:initial;right:1px}.calendar-wrap[data-v-70e316e9]{width:478px;height:372px;position:relative;border-bottom-right-radius:8px;border-top-right-radius:8px;vertical-align:top}.type-picker[data-v-70e316e9]{height:60px;line-height:60px;padding-left:15px;box-shadow:0 1px 3px #0000003b}.range-type[data-v-70e316e9]{color:#8e959d;padding-left:15px;padding-right:15px;cursor:pointer}.selected-range-type[data-v-70e316e9]{color:#fff;background-color:#3083ff;border-radius:20px;padding:6px 15px;cursor:default}.date-range-field[data-v-70e316e9]{display:inline-block;width:100%;height:30px;position:relative;cursor:pointer;border-radius:3px}.date-range-field.selected-item-as-title[data-v-70e316e9]{left:0;border:none;background-image:none;max-width:100%;height:22px;color:#3083ff;overflow:visible}.date-range-field.selected-item-as-title .small-triangle[data-v-70e316e9]{right:-25px}.date-range-field.selected-item-as-title .small-triangle[data-v-70e316e9]:after{border-top-color:currentColor}.date-range-field.selected-item-as-title span[data-v-70e316e9]{padding-left:12px}.date-range-field.no-button-limit[data-v-70e316e9]{overflow:visible}.date-range-field.no-button-limit span[data-v-70e316e9]{width:100%;line-height:22px}.date-range-field span[data-v-70e316e9]{line-height:28px;padding-left:15px;overflow:hidden;text-overflow:ellipsis;display:inline-block;width:calc(100% - 26px);white-space:nowrap;position:relative}.date-range-disabled .date-range-field[data-v-70e316e9]{cursor:default;color:#8e959d;pointer-events:none}.date-range-disabled .small-triangle[data-v-70e316e9]:after{border-top-color:#8e959d}.pop-up-content[data-v-70e316e9]{margin-top:1px}.type-message[data-v-70e316e9]{color:#8e959d;padding:10px 20px;line-height:1.5}.relative-wrap[data-v-70e316e9]{position:relative}.space-right[data-v-70e316e9]{margin-right:13px}.space-left[data-v-70e316e9]{margin-left:9px}.top-date[data-v-70e316e9]{line-height:13px}.flex[data-v-70e316e9]{display:flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-f81413ec]{color:#41454d}.pop-up[data-v-f81413ec]{width:668px;position:absolute;z-index:1000;top:32px;left:1px;overflow:hidden;border-radius:8px;border:1px solid var(--common-divider, #e4e4e4);background:var(--background-modelElevation, #fff);box-shadow:var(--elevation-lg)}.pop-up.open-on-top[data-v-f81413ec]{top:0}.pop-up.hide-presets[data-v-f81413ec],.pop-up.hide-presets .calendar-wrap[data-v-f81413ec]{width:520px}.pop-up.hide-presets .date-picker-calendar[data-v-f81413ec]{padding:15px 16px}.pop-up .date-picker-menu[data-v-f81413ec]{width:164px;background:#ffffff;vertical-align:top;border-right:1px solid var(--common-divider-elevation-0, #e4e4e4);background:var(--background-paper, #fcfcfc)}.pop-up .date-picker-menu .preset-element[data-v-f81413ec]{padding-left:8px;height:32px;border-radius:8px;color:var(--text-primary, #202020);line-height:32px}.pop-up .date-picker-menu .preset-element[data-v-f81413ec]:hover{background:var(--action-hover, rgba(0, 0, 0, .05))}.pop-up .date-picker-menu .selected-preset[data-v-f81413ec]{border-radius:8px;background:var(--action-selected, #ebebeb)}.pop-up .date-picker-menu li[data-v-f81413ec]{cursor:pointer;margin-bottom:2px}.pop-up .left-box[data-v-f81413ec]{left:-1px}.pop-up .date-picker-calendar[data-v-f81413ec]{box-sizing:border-box;height:100%;padding:16px;display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}.pop-up .calendars-wrapper[data-v-f81413ec]{padding-left:6px}.pop-up .preset-dropdown ul[data-v-f81413ec]{list-style:none;margin:0;padding:8px;line-height:32px}.pop-up .buttons-cover[data-v-f81413ec]{height:48px;position:absolute;bottom:0;width:100%;right:0;box-sizing:border-box;border-top:1px solid var(--common-divider-elevation-0, #e4e4e4);background:var(--background-modelElevation, #fff);align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.pop-up .buttons-cover .text-container[data-v-f81413ec]{flex:1;color:var(--text-secondary, #646464)}.pop-up button[data-v-f81413ec]{float:right;margin-left:8px}.pop-up .error[data-v-f81413ec]{display:none;position:absolute;left:270px;top:22px}.pop-up .inline-block[data-v-f81413ec]{display:inline-block}.pop-up.right[data-v-f81413ec]{left:initial;right:1px}.calendar-wrap[data-v-f81413ec]{width:504px;height:372px;position:relative;border-bottom-right-radius:8px;border-top-right-radius:8px;vertical-align:top}.type-picker[data-v-f81413ec]{height:60px;line-height:60px;padding-left:15px;box-shadow:0 1px 3px #0000003b}.range-type[data-v-f81413ec]{color:#8e959d;padding-left:15px;padding-right:15px;cursor:pointer}.selected-range-type[data-v-f81413ec]{color:#fff;background-color:#3083ff;border-radius:20px;padding:6px 15px;cursor:default}.date-range-field[data-v-f81413ec]{display:inline-block;width:100%;height:30px;position:relative;cursor:pointer;border-radius:3px}.date-range-field.selected-item-as-title[data-v-f81413ec]{left:0;border:none;background-image:none;max-width:100%;height:22px;color:#3083ff;overflow:visible}.date-range-field.selected-item-as-title .small-triangle[data-v-f81413ec]{right:-25px}.date-range-field.selected-item-as-title .small-triangle[data-v-f81413ec]:after{border-top-color:currentColor}.date-range-field.selected-item-as-title span[data-v-f81413ec]{padding-left:12px}.date-range-field.no-button-limit[data-v-f81413ec]{overflow:visible}.date-range-field.no-button-limit span[data-v-f81413ec]{width:100%;line-height:22px}.date-range-field span[data-v-f81413ec]{line-height:28px;padding-left:15px;overflow:hidden;text-overflow:ellipsis;display:inline-block;width:calc(100% - 26px);white-space:nowrap;position:relative}.date-range-disabled .date-range-field[data-v-f81413ec]{cursor:default;color:#8e959d;pointer-events:none}.date-range-disabled .small-triangle[data-v-f81413ec]:after{border-top-color:#8e959d}.pop-up-content[data-v-f81413ec]{margin-top:1px}.type-message[data-v-f81413ec]{color:#8e959d;padding:10px 20px;line-height:1.5}.relative-wrap[data-v-f81413ec]{position:relative}.space-right[data-v-f81413ec]{margin-right:13px}.space-left[data-v-f81413ec]{margin-left:9px}.top-date[data-v-f81413ec]{line-height:13px}.flex[data-v-f81413ec]{display:flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.multi-table-container[data-v-a089480a]{border-radius:var(--border-radius-md);border:1px solid var(--common-divider);display:flex;flex-direction:column;overflow-y:auto;width:100%}.multi-table-container .table-header-container[data-v-a089480a]{align-items:center;background-color:var(--background-paper-elevation-0);display:flex;height:calc(var(--spacing-800) - 2px);justify-content:space-between;padding:var(--spacing-300);width:100%}.multi-table-container .table-header-container.sticky[data-v-a089480a]{position:sticky;top:0;z-index:calc(var(--13cc4a84) + 3)}.multi-table-container[data-v-a089480a] table{display:table;border:unset;border-radius:unset}.multi-table-container[data-v-a089480a] thead{border-top:1px solid var(--common-divider)}.multi-table-container .tables-container[data-v-a089480a] thead.sticky{top:62px}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const dataPickerCommon: (props: any, emit: any) => {
|
|
2
|
+
close: () => void;
|
|
3
|
+
handleInput: (event: Event) => void;
|
|
4
|
+
updateValue: (value: Date | null) => void;
|
|
5
|
+
toggle: (value?: boolean) => boolean;
|
|
6
|
+
isOpen: import("vue").Ref<boolean>;
|
|
7
|
+
componentId: import("vue").ComputedRef<string>;
|
|
8
|
+
formattedValue: import("vue").ComputedRef<any>;
|
|
9
|
+
nearTheEdge: import("vue").ComputedRef<boolean>;
|
|
10
|
+
valueAsDate: import("vue").ComputedRef<Date>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { onClickOutside as h } from "@vueuse/core";
|
|
2
|
+
import { ref as m, computed as a } from "vue";
|
|
3
|
+
import { useToggle as p } from "../../../composables/useToggle.js";
|
|
4
|
+
import { isValid as d, format as k, parse as F, isFuture as C } from "date-fns";
|
|
5
|
+
const T = (t, c) => {
|
|
6
|
+
const u = m(null), f = m(null), [l, s] = p({ initialValue: !1 }), o = () => {
|
|
7
|
+
s(!1);
|
|
8
|
+
}, g = (e) => {
|
|
9
|
+
const n = e.target.value;
|
|
10
|
+
if (!l.value) {
|
|
11
|
+
c("update:modelValue", n);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const i = F(n, t.dateFormat, /* @__PURE__ */ new Date());
|
|
15
|
+
n.trim() || r(null), d(i) && (!t.allowFutureDates && C(i) || r(i));
|
|
16
|
+
}, r = (e) => {
|
|
17
|
+
o(), c("update:modelValue", e);
|
|
18
|
+
}, V = a(() => `datePicker${t.uniqueId || Math.random().toString().substring(2, 7)}`), D = a(() => {
|
|
19
|
+
const e = new Date(t.modelValue);
|
|
20
|
+
return d(t.modelValue) ? k(e, t.dateFormat) : t.modelValue;
|
|
21
|
+
}), v = a(() => {
|
|
22
|
+
if (!u.value || !l)
|
|
23
|
+
return !1;
|
|
24
|
+
const e = u.value.getBoundingClientRect(), n = 232;
|
|
25
|
+
return window.innerWidth - (e.x + n) < 0;
|
|
26
|
+
}), w = a(() => {
|
|
27
|
+
if (!t.modelValue)
|
|
28
|
+
return null;
|
|
29
|
+
const e = new Date(t.modelValue);
|
|
30
|
+
return d(e) ? e : null;
|
|
31
|
+
});
|
|
32
|
+
return h(
|
|
33
|
+
f,
|
|
34
|
+
() => {
|
|
35
|
+
o();
|
|
36
|
+
},
|
|
37
|
+
{ ignore: [u] }
|
|
38
|
+
), {
|
|
39
|
+
close: o,
|
|
40
|
+
handleInput: g,
|
|
41
|
+
updateValue: r,
|
|
42
|
+
toggle: s,
|
|
43
|
+
isOpen: l,
|
|
44
|
+
componentId: V,
|
|
45
|
+
formattedValue: D,
|
|
46
|
+
nearTheEdge: v,
|
|
47
|
+
valueAsDate: w
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
T as dataPickerCommon
|
|
52
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export declare const dataPickerMonthCommon: (props: any, emit: any) => {
|
|
2
|
+
monthData: import("vue").Ref<{
|
|
3
|
+
weeks: {
|
|
4
|
+
value?: number;
|
|
5
|
+
isToday?: boolean;
|
|
6
|
+
date?: {
|
|
7
|
+
toString: () => string;
|
|
8
|
+
toDateString: () => string;
|
|
9
|
+
toTimeString: () => string;
|
|
10
|
+
toLocaleString: {
|
|
11
|
+
(): string;
|
|
12
|
+
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
|
13
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
14
|
+
};
|
|
15
|
+
toLocaleDateString: {
|
|
16
|
+
(): string;
|
|
17
|
+
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
|
18
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
19
|
+
};
|
|
20
|
+
toLocaleTimeString: {
|
|
21
|
+
(): string;
|
|
22
|
+
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
|
23
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
24
|
+
};
|
|
25
|
+
valueOf: () => number;
|
|
26
|
+
getTime: () => number;
|
|
27
|
+
getFullYear: () => number;
|
|
28
|
+
getUTCFullYear: () => number;
|
|
29
|
+
getMonth: () => number;
|
|
30
|
+
getUTCMonth: () => number;
|
|
31
|
+
getDate: () => number;
|
|
32
|
+
getUTCDate: () => number;
|
|
33
|
+
getDay: () => number;
|
|
34
|
+
getUTCDay: () => number;
|
|
35
|
+
getHours: () => number;
|
|
36
|
+
getUTCHours: () => number;
|
|
37
|
+
getMinutes: () => number;
|
|
38
|
+
getUTCMinutes: () => number;
|
|
39
|
+
getSeconds: () => number;
|
|
40
|
+
getUTCSeconds: () => number;
|
|
41
|
+
getMilliseconds: () => number;
|
|
42
|
+
getUTCMilliseconds: () => number;
|
|
43
|
+
getTimezoneOffset: () => number;
|
|
44
|
+
setTime: (time: number) => number;
|
|
45
|
+
setMilliseconds: (ms: number) => number;
|
|
46
|
+
setUTCMilliseconds: (ms: number) => number;
|
|
47
|
+
setSeconds: (sec: number, ms?: number) => number;
|
|
48
|
+
setUTCSeconds: (sec: number, ms?: number) => number;
|
|
49
|
+
setMinutes: (min: number, sec?: number, ms?: number) => number;
|
|
50
|
+
setUTCMinutes: (min: number, sec?: number, ms?: number) => number;
|
|
51
|
+
setHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
|
52
|
+
setUTCHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
|
53
|
+
setDate: (date: number) => number;
|
|
54
|
+
setUTCDate: (date: number) => number;
|
|
55
|
+
setMonth: (month: number, date?: number) => number;
|
|
56
|
+
setUTCMonth: (month: number, date?: number) => number;
|
|
57
|
+
setFullYear: (year: number, month?: number, date?: number) => number;
|
|
58
|
+
setUTCFullYear: (year: number, month?: number, date?: number) => number;
|
|
59
|
+
toUTCString: () => string;
|
|
60
|
+
toISOString: () => string;
|
|
61
|
+
toJSON: (key?: any) => string;
|
|
62
|
+
[Symbol.toPrimitive]: {
|
|
63
|
+
(hint: "default"): string;
|
|
64
|
+
(hint: "string"): string;
|
|
65
|
+
(hint: "number"): number;
|
|
66
|
+
(hint: string): string | number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
isFuture?: boolean;
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
}[][];
|
|
72
|
+
days: Record<string, import("../../dateRange/common/DateServices.common").Day>;
|
|
73
|
+
month: number;
|
|
74
|
+
year: number;
|
|
75
|
+
}>;
|
|
76
|
+
handleNavigation: (direction: 'next' | 'previous') => void;
|
|
77
|
+
navigation: import("vue").ComputedRef<"all" | "previous">;
|
|
78
|
+
selectedRange: import("vue").ComputedRef<{
|
|
79
|
+
fromStart: Date;
|
|
80
|
+
fromEnd: Date;
|
|
81
|
+
toStart: Date;
|
|
82
|
+
toEnd: Date;
|
|
83
|
+
}>;
|
|
84
|
+
handleSelection: (day: any) => void;
|
|
85
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import r from "../../dateRange/common/DateServices.common.js";
|
|
2
|
+
import { ref as g, watch as c, onMounted as D, computed as m } from "vue";
|
|
3
|
+
import { navigateNext as M } from "../../dateRange/common/consts.common.js";
|
|
4
|
+
import { startOfMonth as w, differenceInMonths as s, addMonths as C, subMonths as F } from "date-fns";
|
|
5
|
+
const x = (a, d) => {
|
|
6
|
+
const o = (e) => {
|
|
7
|
+
const n = e.getMonth(), u = e.getFullYear();
|
|
8
|
+
return r.createMonth(
|
|
9
|
+
n,
|
|
10
|
+
u,
|
|
11
|
+
a.includeToday,
|
|
12
|
+
!a.allowFutureDates
|
|
13
|
+
);
|
|
14
|
+
}, t = g(o(r.getCurrentTimeUTC())), l = () => {
|
|
15
|
+
const e = a.modelValue || r.getCurrentTimeUTC();
|
|
16
|
+
t.value = o(e);
|
|
17
|
+
}, i = (e) => {
|
|
18
|
+
const n = new Date(t.value.year, t.value.month), u = e === M ? C(n, 1) : F(n, 1);
|
|
19
|
+
t.value = o(u);
|
|
20
|
+
};
|
|
21
|
+
c(
|
|
22
|
+
() => a.modelValue,
|
|
23
|
+
() => {
|
|
24
|
+
l();
|
|
25
|
+
}
|
|
26
|
+
), c(
|
|
27
|
+
() => a.allowFutureDates,
|
|
28
|
+
() => {
|
|
29
|
+
t.value = o(
|
|
30
|
+
new Date(t.value.year, t.value.month)
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
const h = (e) => {
|
|
35
|
+
const n = e || null;
|
|
36
|
+
return {
|
|
37
|
+
fromStart: n,
|
|
38
|
+
fromEnd: n,
|
|
39
|
+
toStart: n,
|
|
40
|
+
toEnd: n
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
D(() => {
|
|
44
|
+
l();
|
|
45
|
+
});
|
|
46
|
+
const v = m(() => {
|
|
47
|
+
if (a.allowFutureDates)
|
|
48
|
+
return "all";
|
|
49
|
+
const e = w(r.getCurrentTimeUTC());
|
|
50
|
+
s(t.value.year, t.value.month);
|
|
51
|
+
const n = new Date(t.value.year, t.value.month);
|
|
52
|
+
return s(n, e) >= 0 ? "previous" : "all";
|
|
53
|
+
}), f = m(() => h(a.modelValue));
|
|
54
|
+
return {
|
|
55
|
+
monthData: t,
|
|
56
|
+
handleNavigation: i,
|
|
57
|
+
navigation: v,
|
|
58
|
+
selectedRange: f,
|
|
59
|
+
handleSelection: (e) => {
|
|
60
|
+
e.isFuture || d("update:modelValue", e.date);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
x as dataPickerMonthCommon
|
|
66
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./DatePicker.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-67b44cbe"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import "../../../DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css"; import { defineComponent as D, openBlock as u, createElementBlock as n, unref as e, createElementVNode as r, renderSlot as P, withDirectives as h, isRef as y, vModelText as w, normalizeClass as $, createVNode as g, createCommentVNode as C } from "vue";
|
|
2
|
+
import M from "./DatePickerMonth.vue.js";
|
|
3
|
+
import { DatePickerTestIdModifiers as i } from "../../../testids/index.js";
|
|
4
|
+
import { dataPickerCommon as E } from "../common/DatePicker.common.js";
|
|
5
|
+
const N = ["id", "data-testid"], R = ["placeholder", "data-testid"], F = /* @__PURE__ */ D({
|
|
6
|
+
__name: "DatePicker",
|
|
7
|
+
props: {
|
|
8
|
+
uniqueId: { default: Date.now() },
|
|
9
|
+
modelValue: { default: null },
|
|
10
|
+
allowFutureDates: { type: Boolean, default: !1 },
|
|
11
|
+
dateFormat: { default: "yyyy-MM-d" },
|
|
12
|
+
placeholder: { default: "" },
|
|
13
|
+
testId: { default: "" }
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(t, { emit: s }) {
|
|
17
|
+
const m = t, {
|
|
18
|
+
handleInput: p,
|
|
19
|
+
toggle: f,
|
|
20
|
+
updateValue: c,
|
|
21
|
+
isOpen: k,
|
|
22
|
+
componentId: o,
|
|
23
|
+
formattedValue: d,
|
|
24
|
+
nearTheEdge: v,
|
|
25
|
+
valueAsDate: I
|
|
26
|
+
} = E(m, s);
|
|
27
|
+
return (V, a) => (u(), n("div", {
|
|
28
|
+
id: e(o),
|
|
29
|
+
ref: "datePicker",
|
|
30
|
+
class: "date-picker",
|
|
31
|
+
"data-testid": `${t.testId}-${e(i).WRAPPER}`
|
|
32
|
+
}, [
|
|
33
|
+
r("div", {
|
|
34
|
+
ref: "buttonRef",
|
|
35
|
+
onClick: a[2] || (a[2] = (l) => e(f)())
|
|
36
|
+
}, [
|
|
37
|
+
P(V.$slots, "default", { formattedDate: e(d) }, () => [
|
|
38
|
+
h(r("input", {
|
|
39
|
+
ref: "input",
|
|
40
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => y(d) ? d.value = l : null),
|
|
41
|
+
type: "text",
|
|
42
|
+
class: "input",
|
|
43
|
+
placeholder: t.placeholder,
|
|
44
|
+
"data-testid": `${t.testId}-${e(i).INPUT}`,
|
|
45
|
+
onInput: a[1] || (a[1] = (l) => e(p)(l))
|
|
46
|
+
}, null, 40, R), [
|
|
47
|
+
[w, e(d)]
|
|
48
|
+
])
|
|
49
|
+
], !0)
|
|
50
|
+
], 512),
|
|
51
|
+
e(k) ? (u(), n("div", {
|
|
52
|
+
key: 0,
|
|
53
|
+
ref: "popup",
|
|
54
|
+
class: $(["date-picker-popup", { "align-right": e(v) }])
|
|
55
|
+
}, [
|
|
56
|
+
g(M, {
|
|
57
|
+
id: e(o) + "-month",
|
|
58
|
+
"model-value": e(I),
|
|
59
|
+
"allow-future-dates": t.allowFutureDates,
|
|
60
|
+
"test-id": t.testId,
|
|
61
|
+
"onUpdate:modelValue": e(c)
|
|
62
|
+
}, null, 8, ["id", "model-value", "allow-future-dates", "test-id", "onUpdate:modelValue"])
|
|
63
|
+
], 2)) : C("", !0)
|
|
64
|
+
], 8, N));
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
export {
|
|
68
|
+
F as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./DatePickerMonth.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-929d3028"]]);
|
|
5
|
+
export {
|
|
6
|
+
c as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "../../../DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css"; import { defineComponent as u, openBlock as s, createBlock as m, unref as e } from "vue";
|
|
2
|
+
import c from "../../dateRange/v3/CalendarMonth.vue.js";
|
|
3
|
+
import { dataPickerMonthCommon as h } from "../common/DatePickerMonth.common.js";
|
|
4
|
+
const v = /* @__PURE__ */ u({
|
|
5
|
+
__name: "DatePickerMonth",
|
|
6
|
+
props: {
|
|
7
|
+
uniqueId: { default: Date.now() },
|
|
8
|
+
modelValue: { default: null },
|
|
9
|
+
includeToday: { type: Boolean, default: !0 },
|
|
10
|
+
allowFutureDates: { type: Boolean, default: !1 },
|
|
11
|
+
testId: { default: "" }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(a, { emit: n }) {
|
|
15
|
+
const o = a, {
|
|
16
|
+
monthData: t,
|
|
17
|
+
handleNavigation: d,
|
|
18
|
+
navigation: i,
|
|
19
|
+
selectedRange: l,
|
|
20
|
+
handleSelection: r
|
|
21
|
+
} = h(o, n);
|
|
22
|
+
return (f, p) => (s(), m(c, {
|
|
23
|
+
id: a.uniqueId,
|
|
24
|
+
type: "month",
|
|
25
|
+
class: "date-picker-month",
|
|
26
|
+
range: e(l),
|
|
27
|
+
navigation: e(i),
|
|
28
|
+
year: e(t).year,
|
|
29
|
+
days: e(t).days,
|
|
30
|
+
weeks: e(t).weeks,
|
|
31
|
+
month: e(t).month,
|
|
32
|
+
"test-id": a.testId,
|
|
33
|
+
onSelectionChanged: e(r),
|
|
34
|
+
onNavigation: e(d)
|
|
35
|
+
}, null, 8, ["id", "range", "navigation", "year", "days", "weeks", "month", "test-id", "onSelectionChanged", "onNavigation"]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
v as default
|
|
40
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as DatePicker } from './DatePicker.vue';
|
|
1
2
|
declare const DatePickerTypes: () => ({
|
|
2
3
|
new (...args: any[]): {
|
|
3
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -176,9 +177,8 @@ declare const DatePickerTypes: () => ({
|
|
|
176
177
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
177
178
|
$slots: {
|
|
178
179
|
default?(_: {
|
|
179
|
-
formattedDate:
|
|
180
|
+
formattedDate: any;
|
|
180
181
|
}): any;
|
|
181
182
|
};
|
|
182
183
|
}))[];
|
|
183
|
-
export {
|
|
184
|
-
export { DatePickerTypes };
|
|
184
|
+
export { DatePicker, DatePickerTypes };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
uniqueId?: string | number;
|
|
3
|
+
modelValue?: Date;
|
|
4
|
+
includeToday?: boolean;
|
|
5
|
+
allowFutureDates?: boolean;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}>, {
|
|
8
|
+
uniqueId: number;
|
|
9
|
+
modelValue: any;
|
|
10
|
+
includeToday: boolean;
|
|
11
|
+
allowFutureDates: boolean;
|
|
12
|
+
testId: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
uniqueId?: string | number;
|
|
17
|
+
modelValue?: Date;
|
|
18
|
+
includeToday?: boolean;
|
|
19
|
+
allowFutureDates?: boolean;
|
|
20
|
+
testId?: string;
|
|
21
|
+
}>, {
|
|
22
|
+
uniqueId: number;
|
|
23
|
+
modelValue: any;
|
|
24
|
+
includeToday: boolean;
|
|
25
|
+
allowFutureDates: boolean;
|
|
26
|
+
testId: string;
|
|
27
|
+
}>>> & {
|
|
28
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
29
|
+
}, {
|
|
30
|
+
testId: string;
|
|
31
|
+
modelValue: Date;
|
|
32
|
+
uniqueId: string | number;
|
|
33
|
+
includeToday: boolean;
|
|
34
|
+
allowFutureDates: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./DatePickerMonthV4.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-11288104"]]);
|
|
5
|
+
export {
|
|
6
|
+
c as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "../../../DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css"; import { defineComponent as u, openBlock as s, createBlock as m, unref as e } from "vue";
|
|
2
|
+
import c from "../../dateRange/v4/CalendarMonthV4.vue.js";
|
|
3
|
+
import { dataPickerMonthCommon as h } from "../common/DatePickerMonth.common.js";
|
|
4
|
+
const v = /* @__PURE__ */ u({
|
|
5
|
+
__name: "DatePickerMonthV4",
|
|
6
|
+
props: {
|
|
7
|
+
uniqueId: { default: Date.now() },
|
|
8
|
+
modelValue: { default: null },
|
|
9
|
+
includeToday: { type: Boolean, default: !0 },
|
|
10
|
+
allowFutureDates: { type: Boolean, default: !1 },
|
|
11
|
+
testId: { default: "" }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(a, { emit: n }) {
|
|
15
|
+
const o = a, {
|
|
16
|
+
monthData: t,
|
|
17
|
+
handleNavigation: d,
|
|
18
|
+
navigation: i,
|
|
19
|
+
selectedRange: l,
|
|
20
|
+
handleSelection: r
|
|
21
|
+
} = h(o, n);
|
|
22
|
+
return (f, p) => (s(), m(c, {
|
|
23
|
+
id: a.uniqueId,
|
|
24
|
+
type: "month",
|
|
25
|
+
class: "date-picker-month",
|
|
26
|
+
range: e(l),
|
|
27
|
+
navigation: e(i),
|
|
28
|
+
year: e(t).year,
|
|
29
|
+
days: e(t).days,
|
|
30
|
+
weeks: e(t).weeks,
|
|
31
|
+
month: e(t).month,
|
|
32
|
+
"test-id": a.testId,
|
|
33
|
+
onSelectionChanged: e(r),
|
|
34
|
+
onNavigation: e(d)
|
|
35
|
+
}, null, 8, ["id", "range", "navigation", "year", "days", "weeks", "month", "test-id", "onSelectionChanged", "onNavigation"]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
v as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
uniqueId?: string | number;
|
|
3
|
+
modelValue?: string | Date;
|
|
4
|
+
allowFutureDates?: boolean;
|
|
5
|
+
dateFormat?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
testId?: string;
|
|
8
|
+
}>, {
|
|
9
|
+
uniqueId: number;
|
|
10
|
+
modelValue: any;
|
|
11
|
+
dateFormat: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
allowFutureDates: boolean;
|
|
14
|
+
testId: string;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (val: string | Date) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
uniqueId?: string | number;
|
|
19
|
+
modelValue?: string | Date;
|
|
20
|
+
allowFutureDates?: boolean;
|
|
21
|
+
dateFormat?: string;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
testId?: string;
|
|
24
|
+
}>, {
|
|
25
|
+
uniqueId: number;
|
|
26
|
+
modelValue: any;
|
|
27
|
+
dateFormat: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
allowFutureDates: boolean;
|
|
30
|
+
testId: string;
|
|
31
|
+
}>>> & {
|
|
32
|
+
"onUpdate:modelValue"?: (val: string | Date) => any;
|
|
33
|
+
}, {
|
|
34
|
+
testId: string;
|
|
35
|
+
modelValue: string | Date;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
uniqueId: string | number;
|
|
38
|
+
allowFutureDates: boolean;
|
|
39
|
+
dateFormat: string;
|
|
40
|
+
}>, {
|
|
41
|
+
default?(_: {
|
|
42
|
+
formattedDate: any;
|
|
43
|
+
}): any;
|
|
44
|
+
}>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
63
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./DatePickerV4.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-39e6c10c"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|