@aurodesignsystem-dev/auro-formkit 0.0.0-pr1413.2 → 0.0.0-pr1420.0
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/package.json +32 -31
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -66
- package/components/bibtemplate/dist/buttonVersion.d.ts +0 -2
- package/components/bibtemplate/dist/headerVersion.d.ts +0 -2
- package/components/bibtemplate/dist/iconVersion.d.ts +0 -2
- package/components/bibtemplate/dist/index.d.ts +0 -2
- package/components/bibtemplate/dist/index.js +0 -395
- package/components/bibtemplate/dist/registered.js +0 -395
- package/components/bibtemplate/dist/styles/color-css.d.ts +0 -2
- package/components/bibtemplate/dist/styles/style-css.d.ts +0 -2
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +0 -2
- package/components/checkbox/demo/api.md +0 -489
- package/components/checkbox/demo/api.min.js +0 -2133
- package/components/checkbox/demo/index.md +0 -55
- package/components/checkbox/demo/index.min.js +0 -2108
- package/components/checkbox/demo/keyboardBehavior.md +0 -0
- package/components/checkbox/demo/readme.md +0 -142
- package/components/checkbox/dist/auro-checkbox-group.d.ts +0 -176
- package/components/checkbox/dist/auro-checkbox.d.ts +0 -209
- package/components/checkbox/dist/index.d.ts +0 -3
- package/components/checkbox/dist/index.js +0 -2057
- package/components/checkbox/dist/registered.js +0 -2058
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -2
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -2
- package/components/checkbox/dist/styles/color-css.d.ts +0 -2
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -2
- package/components/checkbox/dist/styles/tokens-css.d.ts +0 -2
- package/components/combobox/demo/api.md +0 -2287
- package/components/combobox/demo/api.min.js +0 -17800
- package/components/combobox/demo/index.md +0 -196
- package/components/combobox/demo/index.min.js +0 -17705
- package/components/combobox/demo/keyboardBehavior.md +0 -281
- package/components/combobox/demo/readme.md +0 -158
- package/components/combobox/dist/auro-combobox.d.ts +0 -566
- package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +0 -8
- package/components/combobox/dist/index.d.ts +0 -2
- package/components/combobox/dist/index.js +0 -15604
- package/components/combobox/dist/registered.js +0 -15606
- package/components/combobox/dist/styles/emphasized/style-css.d.ts +0 -2
- package/components/combobox/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/combobox/dist/styles/style-css.d.ts +0 -2
- package/components/counter/demo/api.md +0 -1285
- package/components/counter/demo/api.min.js +0 -8112
- package/components/counter/demo/index.md +0 -92
- package/components/counter/demo/index.min.js +0 -8093
- package/components/counter/demo/keyboardBehavior.md +0 -127
- package/components/counter/demo/readme.md +0 -161
- package/components/counter/dist/auro-counter-button.d.ts +0 -14
- package/components/counter/dist/auro-counter-group.d.ts +0 -390
- package/components/counter/dist/auro-counter-wrapper.d.ts +0 -17
- package/components/counter/dist/auro-counter.d.ts +0 -136
- package/components/counter/dist/buttonVersion.d.ts +0 -2
- package/components/counter/dist/iconVersion.d.ts +0 -2
- package/components/counter/dist/index.d.ts +0 -3
- package/components/counter/dist/index.js +0 -8015
- package/components/counter/dist/keyboardStrategy.d.ts +0 -4
- package/components/counter/dist/registered.js +0 -8016
- package/components/counter/dist/styles/color-css.d.ts +0 -2
- package/components/counter/dist/styles/counter-button-color-css.d.ts +0 -2
- package/components/counter/dist/styles/counter-button-css.d.ts +0 -2
- package/components/counter/dist/styles/counter-group-css.d.ts +0 -2
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +0 -2
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +0 -2
- package/components/counter/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/counter/dist/styles/style-css.d.ts +0 -2
- package/components/counter/dist/styles/tokens-css.d.ts +0 -2
- package/components/datepicker/demo/api.md +0 -1824
- package/components/datepicker/demo/api.min.js +0 -24510
- package/components/datepicker/demo/index.md +0 -158
- package/components/datepicker/demo/index.min.js +0 -24231
- package/components/datepicker/demo/keyboardBehavior.md +0 -24
- package/components/datepicker/demo/readme.md +0 -137
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -169
- package/components/datepicker/dist/auro-calendar-month.d.ts +0 -20
- package/components/datepicker/dist/auro-calendar.d.ts +0 -173
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -715
- package/components/datepicker/dist/buttonVersion.d.ts +0 -2
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +0 -1
- package/components/datepicker/dist/iconVersion.d.ts +0 -2
- package/components/datepicker/dist/index.d.ts +0 -2
- package/components/datepicker/dist/index.js +0 -24146
- package/components/datepicker/dist/popoverVersion.d.ts +0 -2
- package/components/datepicker/dist/registered.js +0 -24146
- package/components/datepicker/dist/styles/classic/color-css.d.ts +0 -2
- package/components/datepicker/dist/styles/classic/style-css.d.ts +0 -2
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -2
- package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -2
- package/components/datepicker/dist/styles/color-css.d.ts +0 -2
- package/components/datepicker/dist/styles/color-month-css.d.ts +0 -2
- package/components/datepicker/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/datepicker/dist/styles/snowflake/color-css.d.ts +0 -2
- package/components/datepicker/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -2
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -2
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -2
- package/components/datepicker/dist/styles/style-css.d.ts +0 -2
- package/components/datepicker/dist/styles/tokens-css.d.ts +0 -2
- package/components/datepicker/dist/utilities.d.ts +0 -78
- package/components/datepicker/dist/utilitiesCalendar.d.ts +0 -38
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +0 -50
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -5
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -60
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -57
- package/components/dropdown/demo/api.md +0 -1358
- package/components/dropdown/demo/api.min.js +0 -4894
- package/components/dropdown/demo/index.md +0 -283
- package/components/dropdown/demo/index.min.js +0 -4829
- package/components/dropdown/demo/keyboardBehavior.md +0 -77
- package/components/dropdown/demo/readme.md +0 -160
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -482
- package/components/dropdown/dist/auro-dropdownBib.d.ts +0 -128
- package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +0 -7
- package/components/dropdown/dist/iconVersion.d.ts +0 -2
- package/components/dropdown/dist/index.d.ts +0 -2
- package/components/dropdown/dist/index.js +0 -4722
- package/components/dropdown/dist/registered.js +0 -4722
- package/components/dropdown/dist/styles/classic/bibColors-css.d.ts +0 -2
- package/components/dropdown/dist/styles/classic/bibStyles-css.d.ts +0 -2
- package/components/dropdown/dist/styles/classic/color-css.d.ts +0 -2
- package/components/dropdown/dist/styles/classic/style-css.d.ts +0 -2
- package/components/dropdown/dist/styles/color-css.d.ts +0 -2
- package/components/dropdown/dist/styles/emphasized/style-css.d.ts +0 -2
- package/components/dropdown/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/dropdown/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/dropdown/dist/styles/style-css.d.ts +0 -2
- package/components/dropdown/dist/styles/tokens-css.d.ts +0 -2
- package/components/form/demo/api.md +0 -319
- package/components/form/demo/api.min.js +0 -70505
- package/components/form/demo/index.md +0 -128
- package/components/form/demo/index.min.js +0 -70505
- package/components/form/demo/keyboardBehavior.md +0 -0
- package/components/form/demo/readme.md +0 -145
- package/components/form/dist/auro-form.d.ts +0 -280
- package/components/form/dist/index.d.ts +0 -2
- package/components/form/dist/index.js +0 -718
- package/components/form/dist/registered.d.ts +0 -1
- package/components/form/dist/registered.js +0 -718
- package/components/form/dist/styles/style-css.d.ts +0 -2
- package/components/helptext/dist/auro-helptext.d.ts +0 -69
- package/components/helptext/dist/index.d.ts +0 -2
- package/components/helptext/dist/index.js +0 -231
- package/components/helptext/dist/registered.js +0 -231
- package/components/helptext/dist/styles/color-css.d.ts +0 -2
- package/components/helptext/dist/styles/style-css.d.ts +0 -2
- package/components/helptext/dist/styles/tokens-css.d.ts +0 -2
- package/components/input/demo/api.md +0 -1397
- package/components/input/demo/api.min.js +0 -7460
- package/components/input/demo/index.md +0 -161
- package/components/input/demo/index.min.js +0 -7380
- package/components/input/demo/keyboardBehavior.md +0 -0
- package/components/input/demo/readme.md +0 -134
- package/components/input/dist/auro-input.d.ts +0 -206
- package/components/input/dist/base-input.d.ts +0 -629
- package/components/input/dist/buttonVersion.d.ts +0 -2
- package/components/input/dist/i18n.d.ts +0 -18
- package/components/input/dist/iconVersion.d.ts +0 -2
- package/components/input/dist/index.d.ts +0 -2
- package/components/input/dist/index.js +0 -7292
- package/components/input/dist/registered.js +0 -7292
- package/components/input/dist/styles/classic/color-css.d.ts +0 -2
- package/components/input/dist/styles/classic/style-css.d.ts +0 -2
- package/components/input/dist/styles/color-css.d.ts +0 -2
- package/components/input/dist/styles/default/borders-css.d.ts +0 -2
- package/components/input/dist/styles/default/color-css.d.ts +0 -2
- package/components/input/dist/styles/default/mixins-css.d.ts +0 -2
- package/components/input/dist/styles/default/notificationIcons-css.d.ts +0 -2
- package/components/input/dist/styles/default/style-css.d.ts +0 -2
- package/components/input/dist/styles/emphasized/color-css.d.ts +0 -2
- package/components/input/dist/styles/emphasized/style-css.d.ts +0 -2
- package/components/input/dist/styles/mixins-css.d.ts +0 -2
- package/components/input/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/input/dist/styles/snowflake/style-css.d.ts +0 -2
- package/components/input/dist/styles/style-css.d.ts +0 -2
- package/components/input/dist/styles/tokens-css.d.ts +0 -2
- package/components/input/dist/utilities.d.ts +0 -25
- package/components/layoutElement/dist/auroElement.d.ts +0 -40
- package/components/layoutElement/dist/index.d.ts +0 -2
- package/components/layoutElement/dist/index.js +0 -107
- package/components/layoutElement/dist/registered.js +0 -107
- package/components/menu/demo/api.md +0 -1200
- package/components/menu/demo/api.min.js +0 -2413
- package/components/menu/demo/index.md +0 -72
- package/components/menu/demo/index.min.js +0 -2306
- package/components/menu/demo/keyboardBehavior.md +0 -0
- package/components/menu/demo/readme.md +0 -145
- package/components/menu/dist/auro-menu-utils.d.ts +0 -34
- package/components/menu/dist/auro-menu.context.d.ts +0 -239
- package/components/menu/dist/auro-menu.d.ts +0 -316
- package/components/menu/dist/auro-menuoption.d.ts +0 -210
- package/components/menu/dist/iconVersion.d.ts +0 -2
- package/components/menu/dist/index.d.ts +0 -4
- package/components/menu/dist/index.js +0 -2269
- package/components/menu/dist/registered.js +0 -2217
- package/components/menu/dist/styles/default/color-menu-css.d.ts +0 -2
- package/components/menu/dist/styles/default/color-menuoption-css.d.ts +0 -2
- package/components/menu/dist/styles/default/style-menu-css.d.ts +0 -2
- package/components/menu/dist/styles/default/style-menuoption-css.d.ts +0 -2
- package/components/menu/dist/styles/default/tokens-css.d.ts +0 -2
- package/components/radio/demo/api.md +0 -675
- package/components/radio/demo/api.min.js +0 -2210
- package/components/radio/demo/index.md +0 -73
- package/components/radio/demo/index.min.js +0 -2167
- package/components/radio/demo/keyboardBehavior.md +0 -0
- package/components/radio/demo/readme.md +0 -141
- package/components/radio/dist/auro-radio-group.d.ts +0 -250
- package/components/radio/dist/auro-radio.d.ts +0 -180
- package/components/radio/dist/index.d.ts +0 -3
- package/components/radio/dist/index.js +0 -2116
- package/components/radio/dist/registered.js +0 -2117
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -2
- package/components/radio/dist/styles/color-css.d.ts +0 -2
- package/components/radio/dist/styles/groupColor-css.d.ts +0 -2
- package/components/radio/dist/styles/style-css.d.ts +0 -2
- package/components/radio/dist/styles/tokens-css.d.ts +0 -2
- package/components/select/demo/api.md +0 -2378
- package/components/select/demo/api.min.js +0 -10400
- package/components/select/demo/index.md +0 -355
- package/components/select/demo/index.min.js +0 -10307
- package/components/select/demo/keyboardBehavior.md +0 -246
- package/components/select/demo/readme.md +0 -148
- package/components/select/dist/auro-select.d.ts +0 -545
- package/components/select/dist/index.d.ts +0 -2
- package/components/select/dist/index.js +0 -8218
- package/components/select/dist/registered.js +0 -8218
- package/components/select/dist/selectKeyboardStrategy.d.ts +0 -11
- package/components/select/dist/styles/emphasized/color-css.d.ts +0 -2
- package/components/select/dist/styles/shapeSize-css.d.ts +0 -2
- package/components/select/dist/styles/style-css.d.ts +0 -2
- package/components/select/dist/styles/tokens-css.d.ts +0 -2
- package/custom-elements.json +0 -18768
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
export class AuroDatepickerUtilities {
|
|
2
|
-
/**
|
|
3
|
-
* Returns true if value passed in is a valid date.
|
|
4
|
-
* @private
|
|
5
|
-
* @param {String} date - Date to validate.
|
|
6
|
-
* @param {String} format - Date format to validate against.
|
|
7
|
-
* @returns {Boolean}
|
|
8
|
-
*/
|
|
9
|
-
private validDateStr;
|
|
10
|
-
/**
|
|
11
|
-
* Converts a date string to a North American date format.
|
|
12
|
-
* @private
|
|
13
|
-
* @param {String} dateStr - Date to validate.
|
|
14
|
-
* @param {String} format - Date format to validate against.
|
|
15
|
-
* @returns {Boolean}
|
|
16
|
-
*/
|
|
17
|
-
private toNorthAmericanFormat;
|
|
18
|
-
/**
|
|
19
|
-
* Parses a date string into its components.
|
|
20
|
-
* @private
|
|
21
|
-
* @param {string} dateStr - Date string to parse.
|
|
22
|
-
* @param {string} format - Date format to parse.
|
|
23
|
-
* @returns {void}
|
|
24
|
-
*/
|
|
25
|
-
private parseDate;
|
|
26
|
-
/**
|
|
27
|
-
* Converts a date string to a custom date format.
|
|
28
|
-
* @private
|
|
29
|
-
* @param {string} dateStr - Date string to parse.
|
|
30
|
-
* @param {string} format - Date format to parse.
|
|
31
|
-
* @returns {void}
|
|
32
|
-
*/
|
|
33
|
-
private toCustomFormat;
|
|
34
|
-
/**
|
|
35
|
-
* Converts any date object to a date object representing the first day of the month.
|
|
36
|
-
* @param {Object} date - Date to convert to the first day of the month.
|
|
37
|
-
* @returns {Object} Returns the auro-calendar-months HTML.
|
|
38
|
-
*/
|
|
39
|
-
convertDateToFirstOfMonth(date: any): any;
|
|
40
|
-
/**
|
|
41
|
-
* Calculate the number of months between two dates.
|
|
42
|
-
* @param {Object} date1 - First date to compare.
|
|
43
|
-
* @param {Object} date2 - Second date to compare.
|
|
44
|
-
* @returns {Number} Returns the number of months between the two dates.
|
|
45
|
-
*/
|
|
46
|
-
monthDiff(date1: any, date2: any): number;
|
|
47
|
-
/**
|
|
48
|
-
* Convert a date object to string format.
|
|
49
|
-
* @private
|
|
50
|
-
* @param {Object} date - Date to convert to string.
|
|
51
|
-
* @returns {Object} Returns the date as a string.
|
|
52
|
-
*/
|
|
53
|
-
private getDateAsString;
|
|
54
|
-
/**
|
|
55
|
-
* Function to format a number to two digits.
|
|
56
|
-
* @private
|
|
57
|
-
* @param {Number} num - Number to format.
|
|
58
|
-
* @returns {String} Returns the number as a string.
|
|
59
|
-
*/
|
|
60
|
-
private formatTwoDigits;
|
|
61
|
-
/**
|
|
62
|
-
* Function to generate checkmark svg.
|
|
63
|
-
* @private
|
|
64
|
-
* @param {Object} icon - Icon object containing the SVG.
|
|
65
|
-
* @returns {Object} Returns the svg portion of the icon object.
|
|
66
|
-
*/
|
|
67
|
-
private generateIconHtml;
|
|
68
|
-
dom: Document;
|
|
69
|
-
svg: ChildNode;
|
|
70
|
-
/**
|
|
71
|
-
* Compares two dates to see if they match.
|
|
72
|
-
* @private
|
|
73
|
-
* @param {Object} date1 - First date to compare.
|
|
74
|
-
* @param {Object} date2 - Second date to compare.
|
|
75
|
-
* @returns {Boolean} Returns true if the dates match.
|
|
76
|
-
*/
|
|
77
|
-
private datesMatch;
|
|
78
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export class CalendarUtilities {
|
|
2
|
-
util: AuroDatepickerUtilities;
|
|
3
|
-
/**
|
|
4
|
-
* Scroll the calendar month list to a given valid date if in mobile view.
|
|
5
|
-
* @param {Object} elem - The calendar element.
|
|
6
|
-
* @param {String} date - The date to scroll into view.
|
|
7
|
-
* @param {String} format - The format of the date.
|
|
8
|
-
* @returns {void}
|
|
9
|
-
*/
|
|
10
|
-
scrollMonthIntoView(elem: any, date: string, format: string): void;
|
|
11
|
-
/**
|
|
12
|
-
* Sends an event requesting the dropdown bib be closed.
|
|
13
|
-
* @private
|
|
14
|
-
* @returns {void}
|
|
15
|
-
*/
|
|
16
|
-
private requestDismiss;
|
|
17
|
-
/**
|
|
18
|
-
* Handles the visibility of the previous and next month buttons.
|
|
19
|
-
* @param {Object} elem - The auro-calendar element.
|
|
20
|
-
* @returns {void}
|
|
21
|
-
*/
|
|
22
|
-
assessNavigationButtonVisibility(elem: any): void;
|
|
23
|
-
/**
|
|
24
|
-
* Handles the change of the centralDate property.
|
|
25
|
-
* @param {Object} elem - The auro-calendar element.
|
|
26
|
-
* @private
|
|
27
|
-
* @returns {void}
|
|
28
|
-
*/
|
|
29
|
-
private centralDateChanged;
|
|
30
|
-
/**
|
|
31
|
-
* Updates the month and year when the user navigates to a different calendar month.
|
|
32
|
-
* @param {Object} elem - The auro-calendar element.
|
|
33
|
-
* @param {String} direction - The direction the user is navigating.
|
|
34
|
-
* @returns {void}
|
|
35
|
-
*/
|
|
36
|
-
handleMonthChange(elem: any, direction: string): void;
|
|
37
|
-
}
|
|
38
|
-
import { AuroDatepickerUtilities } from './utilities.js';
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export class UtilitiesCalendarRender {
|
|
2
|
-
util: AuroDatepickerUtilities;
|
|
3
|
-
/**
|
|
4
|
-
* Attempt to update the central date but only if the date is a valid date.
|
|
5
|
-
* @param {Object} elem - The element to set the centralDate on.
|
|
6
|
-
* @param {String} date - The date to set the centralDate to.
|
|
7
|
-
* @private
|
|
8
|
-
*/
|
|
9
|
-
private updateCentralDate;
|
|
10
|
-
/**
|
|
11
|
-
* Determine how many months to render based on the defined calendar range.
|
|
12
|
-
* @param {Object} elem - The auro-calendar element.
|
|
13
|
-
* @private
|
|
14
|
-
* @returns {Number} Returns the number of months between the calendarStartDate and the calendarEndDate.
|
|
15
|
-
*/
|
|
16
|
-
private determineDefinedCalendarRange;
|
|
17
|
-
/**
|
|
18
|
-
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
19
|
-
* @param {Object} elem - The auro-calendar element.
|
|
20
|
-
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
21
|
-
* @private
|
|
22
|
-
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
23
|
-
*/
|
|
24
|
-
private maximumRenderableMonths;
|
|
25
|
-
/**
|
|
26
|
-
* Determines the number of months rendered inside the calendar.
|
|
27
|
-
* @param {Object} elem - The auro-calendar element.
|
|
28
|
-
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
29
|
-
* @private
|
|
30
|
-
* @returns {void}
|
|
31
|
-
*/
|
|
32
|
-
private determineNumCalendarsToRender;
|
|
33
|
-
/**
|
|
34
|
-
* Determine which month is to be rendered first.
|
|
35
|
-
* @param {Object} elem - The auro-calendar element.
|
|
36
|
-
* @private
|
|
37
|
-
* @returns {void}
|
|
38
|
-
*/
|
|
39
|
-
private setFirstRenderableMonthDate;
|
|
40
|
-
/**
|
|
41
|
-
* Renders one auro-calendar-month HTML for the given month/date combination.
|
|
42
|
-
* @private
|
|
43
|
-
* @param {Object} elem - The auro-calendar element.
|
|
44
|
-
* @param {Number} month - Month the calendar displays.
|
|
45
|
-
* @param {Number} year - Year the calendar displays.
|
|
46
|
-
* @returns {Object} Returns the auro-calendar-month HTML.
|
|
47
|
-
*/
|
|
48
|
-
private renderCalendar;
|
|
49
|
-
}
|
|
50
|
-
import { AuroDatepickerUtilities } from './utilities.js';
|
package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export class RangeDatepickerCalendar extends LitElement {
|
|
2
|
-
/**
|
|
3
|
-
* Date from. Format is Unix timestamp.
|
|
4
|
-
*/
|
|
5
|
-
dateFrom: any;
|
|
6
|
-
/**
|
|
7
|
-
* Date to. Format is Unix timestamp.
|
|
8
|
-
*/
|
|
9
|
-
dateTo: any;
|
|
10
|
-
hoveredDate: any;
|
|
11
|
-
enableYearChange: boolean;
|
|
12
|
-
month: string;
|
|
13
|
-
narrow: boolean;
|
|
14
|
-
noRange: boolean;
|
|
15
|
-
next: boolean;
|
|
16
|
-
prev: boolean;
|
|
17
|
-
year: number;
|
|
18
|
-
disabledDays: any[];
|
|
19
|
-
/**
|
|
20
|
-
* Max date. Format is Unix timestamp.
|
|
21
|
-
*/
|
|
22
|
-
max: any;
|
|
23
|
-
/**
|
|
24
|
-
* Minimal date. Format is Unix timestamp.
|
|
25
|
-
*/
|
|
26
|
-
min: any;
|
|
27
|
-
yearsList: any[];
|
|
28
|
-
monthsList: any[];
|
|
29
|
-
dayNamesOfTheWeek: any[];
|
|
30
|
-
daysOfMonth: any[];
|
|
31
|
-
_locale: any;
|
|
32
|
-
currentDate: number;
|
|
33
|
-
set locale(value: any);
|
|
34
|
-
get locale(): any;
|
|
35
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
36
|
-
renderPrevButton(): import("lit-html").TemplateResult<1>;
|
|
37
|
-
renderNextButton(): import("lit-html").TemplateResult<1>;
|
|
38
|
-
renderYear(): import("lit-html").TemplateResult<1>;
|
|
39
|
-
renderDayOfWeek(dayOfWeek: any): import("lit-html").TemplateResult<1>;
|
|
40
|
-
renderWeek(week: any): import("lit-html").TemplateResult<1>;
|
|
41
|
-
renderDay(day: any): import("lit-html").TemplateResult<1>;
|
|
42
|
-
firstUpdated(): Promise<void>;
|
|
43
|
-
updated(properties: any): void;
|
|
44
|
-
isCurrentDate(day: any): boolean;
|
|
45
|
-
localeChanged(): void;
|
|
46
|
-
yearAndMonthChanged(year: any, month: any): void;
|
|
47
|
-
computeCurrentMonthName(month: any, year: any): string;
|
|
48
|
-
tdIsEnabled(day: any): "" | "enabled";
|
|
49
|
-
handleDateSelected(event: any): void;
|
|
50
|
-
handleOpenYearSelection(): void;
|
|
51
|
-
handleYearSelected(): void;
|
|
52
|
-
handleDateHovered(event: any): void;
|
|
53
|
-
handleNextMonth(): void;
|
|
54
|
-
handlePrevMonth(): void;
|
|
55
|
-
setYears(from: any, to: any): void;
|
|
56
|
-
}
|
|
57
|
-
export namespace RangeDatepickerCalendar {
|
|
58
|
-
let styles: import("lit").CSSResult;
|
|
59
|
-
}
|
|
60
|
-
import { LitElement } from 'lit';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export class RangeDatepicker extends LitElement {
|
|
2
|
-
/**
|
|
3
|
-
* Array of disabled days. Format is Unix timestamp.
|
|
4
|
-
*/
|
|
5
|
-
disabledDays: any[];
|
|
6
|
-
/**
|
|
7
|
-
* Display a select year control.
|
|
8
|
-
*/
|
|
9
|
-
enableYearChange: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Force display of only one month.
|
|
12
|
-
*/
|
|
13
|
-
forceNarrow: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Set locale of the calendar.
|
|
16
|
-
*/
|
|
17
|
-
locale: any;
|
|
18
|
-
/**
|
|
19
|
-
* Max date. Format is Unix timestamp.
|
|
20
|
-
*/
|
|
21
|
-
max: string;
|
|
22
|
-
/**
|
|
23
|
-
* Minimal date. Format is Unix timestamp.
|
|
24
|
-
*/
|
|
25
|
-
min: string;
|
|
26
|
-
/**
|
|
27
|
-
* If true only one date can be selected.
|
|
28
|
-
*/
|
|
29
|
-
noRange: boolean;
|
|
30
|
-
dateFrom: any;
|
|
31
|
-
dateTo: any;
|
|
32
|
-
hoveredDate: any;
|
|
33
|
-
monthPlus: number;
|
|
34
|
-
yearPlus: any;
|
|
35
|
-
narrow: boolean;
|
|
36
|
-
month: number;
|
|
37
|
-
year: number;
|
|
38
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
39
|
-
renderNormal(): import("lit-html").TemplateResult<1>;
|
|
40
|
-
renderNarrow(): import("lit-html").TemplateResult<1>;
|
|
41
|
-
firstUpdated(): void;
|
|
42
|
-
updated(properties: any): void;
|
|
43
|
-
isNarrow(forceNarrow: any, narrow: any): any;
|
|
44
|
-
queryMatchesChanged(mql: any): void;
|
|
45
|
-
handlePrevMonth(): void;
|
|
46
|
-
handleNextMonth(): void;
|
|
47
|
-
hoveredDateChanged(event: any): void;
|
|
48
|
-
monthChanged(month: any, year: any): void;
|
|
49
|
-
noRangeChanged(isNoRange: any, wasNoRange: any): void;
|
|
50
|
-
localeChanged(): void;
|
|
51
|
-
dateToChanged(event: any): void;
|
|
52
|
-
dateFromChanged(event: any): void;
|
|
53
|
-
}
|
|
54
|
-
export namespace RangeDatepicker {
|
|
55
|
-
let styles: import("lit").CSSResult;
|
|
56
|
-
}
|
|
57
|
-
import { LitElement } from 'lit';
|