dap-design-system 0.44.6 → 0.44.7
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/components.d.ts +3 -3
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/dist/dds.d.ts +3 -3
- package/dist/manifest/types/vue/index.d.ts +322 -322
- package/dist/manifest/vscode.html-custom-data.json +277 -277
- package/dist/manifest/web-types.json +458 -458
- package/dist/react-types.ts +16 -16
- package/dist/react.d.ts +3 -3
- package/dist/react.js +221 -221
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -2634,17 +2634,17 @@ export declare class DapDSDatePicker extends GenericFormElement {
|
|
|
2634
2634
|
* @default 'single'
|
|
2635
2635
|
*/
|
|
2636
2636
|
mode: 'single' | 'range';
|
|
2637
|
-
/** The current visible date of the calendar. Only the month and year are considered.
|
|
2637
|
+
/** The current visible date (month and year) of the calendar. Only the month and year are considered.
|
|
2638
2638
|
* @type {Dayjs | string | Date}
|
|
2639
2639
|
* @default dayjs()
|
|
2640
2640
|
*/
|
|
2641
2641
|
currentDate?: Dayjs | string | Date;
|
|
2642
|
-
/** The minimum date of the datepicker.
|
|
2642
|
+
/** The minimum date (month and year) of the datepicker. Only the month and year are considered.
|
|
2643
2643
|
* @type {Dayjs | string | Date}
|
|
2644
2644
|
* @default dayjs('1901-01-01')
|
|
2645
2645
|
*/
|
|
2646
2646
|
minDate?: Dayjs | string | Date;
|
|
2647
|
-
/** The maximum date of the datepicker.
|
|
2647
|
+
/** The maximum date (month and year) of the datepicker. Only the month and year are considered.
|
|
2648
2648
|
* @type {Dayjs | string | Date}
|
|
2649
2649
|
* @default dayjs('2099-12-31')
|
|
2650
2650
|
*/
|
package/dist/components.js
CHANGED
|
@@ -4532,7 +4532,7 @@ let It = class t extends T {
|
|
|
4532
4532
|
}
|
|
4533
4533
|
isDateInAllowedRange(e) {
|
|
4534
4534
|
const i = k(this.minDate).locale(this.locale), a = k(this.maxDate).locale(this.locale), o = i.year(), r = a.year(), n = i.month(), d = a.month();
|
|
4535
|
-
return !(e.year() < o || e.year() > r || e.year() === o && e.month() < n || e.year() ===
|
|
4535
|
+
return !(e.year() < o || e.year() > r || e.year() === o && e.month() < n || e.year() === r && e.month() > d);
|
|
4536
4536
|
}
|
|
4537
4537
|
isMonthInAllowedRange(e, i) {
|
|
4538
4538
|
return this.isDateInAllowedRange(k(new Date(e, i, 1)));
|