@salla.sa/twilight-components 1.6.2 → 1.6.4
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/loader.cjs.js +1 -1
- package/dist/cjs/salla-button_27.cjs.entry.js +27879 -0
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +26 -0
- package/dist/cjs/salla-scopes.cjs.entry.js +9 -6
- package/dist/cjs/salla-select.cjs.entry.js +159 -0
- package/dist/cjs/twilight-components.cjs.js +1 -1
- package/dist/collection/assets/svg/caret-down.svg +0 -1
- package/dist/collection/assets/svg/images.svg +0 -1
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/salla-datetime-picker/interfaces.js +4 -0
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.css +13 -0
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1374 -0
- package/dist/collection/components/salla-file-upload/interfaces.js +42 -0
- package/dist/collection/components/salla-file-upload/salla-file-upload.css +219 -0
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +1435 -0
- package/dist/collection/components/salla-gifting/gift-schema.js +4 -0
- package/dist/collection/components/salla-gifting/intefaces.js +4 -0
- package/dist/collection/components/salla-gifting/salla-gifting.css +20 -0
- package/dist/collection/components/salla-gifting/salla-gifting.js +564 -0
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +23 -13
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +46 -28
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.css +3 -0
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +69 -0
- package/dist/collection/components/salla-loyalty/salla-loyalty.css +0 -4
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +29 -16
- package/dist/collection/components/salla-modal/salla-modal.css +6 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +37 -13
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +23 -8
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +87 -64
- package/dist/collection/components/salla-scopes/salla-scopes.js +11 -7
- package/dist/collection/components/salla-search/salla-search.js +1 -1
- package/dist/collection/components/salla-select/salla-select.css +86 -0
- package/dist/collection/components/salla-select/salla-select.js +610 -0
- package/dist/collection/components/salla-tel-input/interfaces.js +4 -0
- package/dist/collection/components/salla-tel-input/salla-tel-input.css +1 -2
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +32 -3
- package/dist/collection/components/salla-verify/salla-verify.js +1 -1
- package/dist/collection/global/app.js +15 -12
- package/dist/components/_commonjsHelpers.js +24 -0
- package/dist/{esm/salla-social-share.entry.js → components/anime.es.js} +1 -132
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +5 -0
- package/dist/components/salla-datetime-picker.d.ts +11 -0
- package/dist/components/salla-datetime-picker.js +9 -0
- package/dist/components/salla-datetime-picker2.js +2876 -0
- package/dist/components/salla-file-upload.d.ts +11 -0
- package/dist/components/salla-file-upload.js +9 -0
- package/dist/components/salla-file-upload2.js +14623 -0
- package/dist/components/salla-gifting.d.ts +11 -0
- package/dist/components/salla-gifting.js +499 -0
- package/dist/components/salla-localization-modal.js +31 -16
- package/dist/components/salla-login-modal.js +35 -19
- package/dist/components/salla-loyalty-prize-item.d.ts +11 -0
- package/dist/components/salla-loyalty-prize-item.js +42 -0
- package/dist/components/salla-loyalty.js +28 -17
- package/dist/components/salla-modal2.js +1 -1
- package/dist/components/salla-offer-modal.js +42 -12
- package/dist/components/salla-product-size-guide.js +21 -6
- package/dist/components/salla-rating-modal.js +47 -19
- package/dist/components/salla-scopes.js +10 -6
- package/dist/components/salla-search.js +1 -1
- package/dist/components/salla-select.d.ts +11 -0
- package/dist/components/salla-select.js +199 -0
- package/dist/components/salla-social-share.js +1 -1308
- package/dist/components/salla-swiper2.js +9 -9
- package/dist/components/salla-tel-input2.js +15 -18
- package/dist/components/salla-verify2.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/salla-button_27.entry.js +27849 -0
- package/dist/esm/salla-loyalty-prize-item.entry.js +22 -0
- package/dist/esm/salla-scopes.entry.js +9 -6
- package/dist/esm/salla-select.entry.js +155 -0
- package/dist/esm/twilight-components.js +1 -1
- package/dist/twilight-components/p-49125b6a.entry.js +4 -0
- package/dist/twilight-components/p-9a25753c.entry.js +4 -0
- package/dist/twilight-components/p-b7b9439d.entry.js +22 -0
- package/dist/twilight-components/p-df1eb1e5.entry.js +4 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/dist/types/components/salla-datetime-picker/interfaces.d.ts +8 -0
- package/dist/types/components/salla-datetime-picker/salla-datetime-picker.d.ts +250 -0
- package/dist/types/components/salla-file-upload/interfaces.d.ts +766 -0
- package/dist/types/components/salla-file-upload/salla-file-upload.d.ts +267 -0
- package/dist/types/components/salla-gifting/gift-schema.d.ts +20 -0
- package/dist/types/components/salla-gifting/intefaces.d.ts +18 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +98 -0
- package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +3 -2
- package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +13 -3
- package/dist/types/components/salla-loyalty/salla-loyalty-prize-item.d.ts +8 -0
- package/dist/types/components/salla-loyalty/salla-loyalty.d.ts +2 -0
- package/dist/types/components/salla-offer-modal/salla-offer-modal.d.ts +3 -1
- package/dist/types/components/salla-product-size-guide/salla-product-size-guide.d.ts +4 -0
- package/dist/types/components/salla-rating-modal/salla-rating-modal.d.ts +3 -2
- package/dist/types/components/salla-scopes/salla-scopes.d.ts +1 -0
- package/dist/types/components/salla-select/salla-select.d.ts +110 -0
- package/dist/types/components/salla-tel-input/interfaces.d.ts +4 -0
- package/dist/types/components/salla-tel-input/salla-tel-input.d.ts +3 -0
- package/dist/types/components.d.ts +1253 -10
- package/package.json +9 -3
- package/dist/cjs/Helper-8ae6a805.js +0 -28
- package/dist/cjs/arrow-right-3d137e4c.js +0 -13
- package/dist/cjs/cancel-ae668d91.js +0 -13
- package/dist/cjs/check-circle2-1aac98d1.js +0 -13
- package/dist/cjs/mail-2db058ee.js +0 -13
- package/dist/cjs/salla-button_10.cjs.entry.js +0 -2584
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +0 -93
- package/dist/cjs/salla-list-tile_2.cjs.entry.js +0 -80
- package/dist/cjs/salla-loyalty.cjs.entry.js +0 -229
- package/dist/cjs/salla-product-availability.cjs.entry.js +0 -128
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +0 -52
- package/dist/cjs/salla-quantity-input.cjs.entry.js +0 -101
- package/dist/cjs/salla-rating-modal.cjs.entry.js +0 -169
- package/dist/cjs/salla-rating-stars.cjs.entry.js +0 -83
- package/dist/cjs/salla-social-share.cjs.entry.js +0 -1447
- package/dist/cjs/salla-swiper.cjs.entry.js +0 -5023
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +0 -159
- package/dist/cjs/star2-8288e6e1.js +0 -13
- package/dist/esm/Helper-e1d414a5.js +0 -26
- package/dist/esm/arrow-right-1c3e04f2.js +0 -11
- package/dist/esm/cancel-41a92070.js +0 -11
- package/dist/esm/check-circle2-f6e5f685.js +0 -11
- package/dist/esm/mail-9d5204c6.js +0 -11
- package/dist/esm/salla-button_10.entry.js +0 -2571
- package/dist/esm/salla-infinite-scroll.entry.js +0 -89
- package/dist/esm/salla-list-tile_2.entry.js +0 -75
- package/dist/esm/salla-loyalty.entry.js +0 -225
- package/dist/esm/salla-product-availability.entry.js +0 -124
- package/dist/esm/salla-product-size-guide.entry.js +0 -48
- package/dist/esm/salla-quantity-input.entry.js +0 -97
- package/dist/esm/salla-rating-modal.entry.js +0 -165
- package/dist/esm/salla-rating-stars.entry.js +0 -79
- package/dist/esm/salla-swiper.entry.js +0 -5019
- package/dist/esm/salla-tab-content_3.entry.js +0 -153
- package/dist/esm/star2-b134fc74.js +0 -11
- package/dist/twilight-components/p-0d498694.entry.js +0 -4
- package/dist/twilight-components/p-14f0ff17.entry.js +0 -4
- package/dist/twilight-components/p-335abbbb.entry.js +0 -4
- package/dist/twilight-components/p-4cafb11b.entry.js +0 -4
- package/dist/twilight-components/p-5e63e308.entry.js +0 -4
- package/dist/twilight-components/p-5fb32395.entry.js +0 -4
- package/dist/twilight-components/p-648e74e5.entry.js +0 -4
- package/dist/twilight-components/p-6a3adf55.entry.js +0 -4
- package/dist/twilight-components/p-6da4bb74.entry.js +0 -4
- package/dist/twilight-components/p-897b2018.js +0 -4
- package/dist/twilight-components/p-93708e1e.js +0 -4
- package/dist/twilight-components/p-9d236cf4.entry.js +0 -4
- package/dist/twilight-components/p-9d2ca9c8.js +0 -4
- package/dist/twilight-components/p-af7d5660.js +0 -4
- package/dist/twilight-components/p-bdbd2386.entry.js +0 -4
- package/dist/twilight-components/p-cac3db69.entry.js +0 -4
- package/dist/twilight-components/p-d914a212.js +0 -4
- package/dist/twilight-components/p-dace8e6d.js +0 -4
- package/dist/twilight-components/p-f9253fda.entry.js +0 -4
|
@@ -0,0 +1,1374 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import flatpickr from "flatpickr";
|
|
5
|
+
import { Component, h, Prop, Event } from '@stencil/core';
|
|
6
|
+
export class SallaDatetimePicker {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Two way data binding to retrieve the selected date[time] value
|
|
10
|
+
*/
|
|
11
|
+
this.value = null;
|
|
12
|
+
/**
|
|
13
|
+
* Placeholder text to show on the input element
|
|
14
|
+
*/
|
|
15
|
+
this.placeholder = salla.lang.get('blocks.buy_as_gift.select_send_date_and_time');
|
|
16
|
+
/**
|
|
17
|
+
* Allows the user to enter a date directly into the input field. By default, direct entry is disabled.
|
|
18
|
+
*/
|
|
19
|
+
this.allowInput = false;
|
|
20
|
+
/**
|
|
21
|
+
* Allows the preloading of an invalid date. When disabled, the field will be cleared if the provided date is invalid
|
|
22
|
+
*/
|
|
23
|
+
this.allowInvalidPreload = false;
|
|
24
|
+
/**
|
|
25
|
+
* Exactly the same as date format, but for the altInput field.
|
|
26
|
+
*/
|
|
27
|
+
this.altFormat = "F j, Y";
|
|
28
|
+
/**
|
|
29
|
+
* Show the user a readable date (as per altFormat), but return something totally different to the server.
|
|
30
|
+
*/
|
|
31
|
+
this.altInput = false;
|
|
32
|
+
/**
|
|
33
|
+
* Instead of body, appends the calendar to the specified node instead.
|
|
34
|
+
*/
|
|
35
|
+
this.appendTo = undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Defines how the date will be formatted in the aria-label for calendar days,
|
|
38
|
+
* using the same tokens as dateFormat. If you change this, you should choose a
|
|
39
|
+
* value that will make sense if a screen reader reads it out loud.
|
|
40
|
+
*/
|
|
41
|
+
this.ariaDateFormat = "F j, Y";
|
|
42
|
+
/**
|
|
43
|
+
* Whether the default time should be auto-filled when the input is empty and gains or loses focus.
|
|
44
|
+
*/
|
|
45
|
+
this.autoFillDefaultTime = true;
|
|
46
|
+
/**
|
|
47
|
+
* Whether clicking on the input should open the picker.
|
|
48
|
+
* Set it to false if you only want to open the calendar programmatically with [open()]
|
|
49
|
+
*/
|
|
50
|
+
this.clickOpens = true;
|
|
51
|
+
/**
|
|
52
|
+
* Whether calendar should close after date selection or not
|
|
53
|
+
*/
|
|
54
|
+
this.closeOnSelect = true;
|
|
55
|
+
/**
|
|
56
|
+
* A string of characters which are used to define how the date will be displayed in the input box.
|
|
57
|
+
* The supported characters are defined in the table below.
|
|
58
|
+
*/
|
|
59
|
+
this.dateFormat = "Y-m-d";
|
|
60
|
+
/**
|
|
61
|
+
* Initial value of the hour element, when no date is selected
|
|
62
|
+
*/
|
|
63
|
+
this.defaultHour = 12;
|
|
64
|
+
/**
|
|
65
|
+
* Initial value of the minute element, when no date is selected
|
|
66
|
+
*/
|
|
67
|
+
this.defaultMinute = 0;
|
|
68
|
+
/**
|
|
69
|
+
* Initial value of the seconds element, when no date is selected
|
|
70
|
+
*/
|
|
71
|
+
this.defaultSeconds = 0;
|
|
72
|
+
/**
|
|
73
|
+
* Disables certain dates, preventing them from being selected.
|
|
74
|
+
* See https://chmln.github.io/flatpickr/examples/#disabling-specific-dates
|
|
75
|
+
*/
|
|
76
|
+
this.disable = [];
|
|
77
|
+
/**
|
|
78
|
+
* Set this to true to always use the non-native picker on mobile devices.
|
|
79
|
+
* By default, Flatpickr utilizes native datetime widgets unless certain options (e.g. disable) are used.
|
|
80
|
+
*/
|
|
81
|
+
this.disableMobile = false;
|
|
82
|
+
/**
|
|
83
|
+
* Disables all dates except these specified. See https://chmln.github.io/flatpickr/examples/#disabling-all-dates-except-select-few
|
|
84
|
+
*/
|
|
85
|
+
this.enable = [(_) => true];
|
|
86
|
+
/**
|
|
87
|
+
* Enables seconds selection in the time picker.
|
|
88
|
+
*/
|
|
89
|
+
this.enableSeconds = false;
|
|
90
|
+
/**
|
|
91
|
+
* Enables the time picker
|
|
92
|
+
*/
|
|
93
|
+
this.enableTime = false;
|
|
94
|
+
/**
|
|
95
|
+
* Adjusts the step for the hour input (incl. scrolling)
|
|
96
|
+
*/
|
|
97
|
+
this.hourIncrement = 1;
|
|
98
|
+
/**
|
|
99
|
+
* Displays the calendar inline
|
|
100
|
+
*/
|
|
101
|
+
this.inline = false;
|
|
102
|
+
/**
|
|
103
|
+
* The locale, either as a string (e.g. "ar", "en") or as an object.
|
|
104
|
+
* See https://chmln.github.io/flatpickr/localization/
|
|
105
|
+
*/
|
|
106
|
+
this.locale = "en";
|
|
107
|
+
/**
|
|
108
|
+
* The maximum date that a user can pick to (inclusive).
|
|
109
|
+
*/
|
|
110
|
+
this.maxDate = null;
|
|
111
|
+
/**
|
|
112
|
+
* The minimum date that a user can start picking from (inclusive).
|
|
113
|
+
*/
|
|
114
|
+
this.maxTime = null;
|
|
115
|
+
/**
|
|
116
|
+
* The minimum date that a user can start picking from (inclusive).
|
|
117
|
+
*/
|
|
118
|
+
this.minDate = null;
|
|
119
|
+
/**
|
|
120
|
+
* The minimum time that a user can start picking from (inclusive).
|
|
121
|
+
*/
|
|
122
|
+
this.minTime = null;
|
|
123
|
+
/**
|
|
124
|
+
* Adjusts the step for the minute input (incl. scrolling) Defaults to 5
|
|
125
|
+
*/
|
|
126
|
+
this.minuteIncrement = 5;
|
|
127
|
+
/**
|
|
128
|
+
* Date selection mode, defaults to "single"
|
|
129
|
+
*/
|
|
130
|
+
this.mode = "single";
|
|
131
|
+
/**
|
|
132
|
+
* How the month should be displayed in the header of the calendar.
|
|
133
|
+
* If showMonths has a value greater than 1, the month is always shown as static.
|
|
134
|
+
*/
|
|
135
|
+
this.monthSelectorType = "dropdown";
|
|
136
|
+
/**
|
|
137
|
+
* HTML for the arrow icon, used to switch months.
|
|
138
|
+
*/
|
|
139
|
+
this.nextArrow = '<span class="sicon-keyboard_arrow_right"></span>';
|
|
140
|
+
/**
|
|
141
|
+
* Hides the day selection in calendar. Use it along with enableTime to create a time picker.
|
|
142
|
+
*/
|
|
143
|
+
this.noCalendar = false;
|
|
144
|
+
/**
|
|
145
|
+
* How the calendar should be positioned with regards to the input. Defaults to "auto"
|
|
146
|
+
*/
|
|
147
|
+
this.position = "auto";
|
|
148
|
+
/**
|
|
149
|
+
* HTML for the left arrow icon, used to switch months.
|
|
150
|
+
*/
|
|
151
|
+
this.prevArrow = '<span class="sicon-keyboard_arrow_left"></span>';
|
|
152
|
+
/**
|
|
153
|
+
* Whether to display the current month name in shorthand mode, e.g. "Sep" instead "September"
|
|
154
|
+
*/
|
|
155
|
+
this.shorthandCurrentMonth = false;
|
|
156
|
+
/**
|
|
157
|
+
* Position the calendar inside the wrapper and next to the input element*.
|
|
158
|
+
*/
|
|
159
|
+
this.static = false;
|
|
160
|
+
/**
|
|
161
|
+
* The number of months to be shown at the same time when displaying the calendar.
|
|
162
|
+
*/
|
|
163
|
+
this.showMonths = 1;
|
|
164
|
+
/**
|
|
165
|
+
* Displays time picker in 24 hour mode without AM/PM selection when enabled.
|
|
166
|
+
*/
|
|
167
|
+
this.time_24hr = false;
|
|
168
|
+
/**
|
|
169
|
+
* Enables display of week numbers in calendar.
|
|
170
|
+
*/
|
|
171
|
+
this.weekNumbers = false;
|
|
172
|
+
/**
|
|
173
|
+
* See https://chmln.github.io/flatpickr/examples/#flatpickr-external-elements
|
|
174
|
+
*/
|
|
175
|
+
this.wrap = false;
|
|
176
|
+
}
|
|
177
|
+
onInputChange(event) {
|
|
178
|
+
this.value = event.target.value;
|
|
179
|
+
this.picked.emit(this.value);
|
|
180
|
+
}
|
|
181
|
+
componentDidLoad() {
|
|
182
|
+
this.initPicker();
|
|
183
|
+
}
|
|
184
|
+
initPicker() {
|
|
185
|
+
let options = {
|
|
186
|
+
allowInput: this.allowInput,
|
|
187
|
+
allowInvalidPreload: this.allowInvalidPreload,
|
|
188
|
+
altFormat: this.altFormat,
|
|
189
|
+
altInput: this.altInput,
|
|
190
|
+
altInputClass: this.altInputClass,
|
|
191
|
+
appendTo: this.appendTo,
|
|
192
|
+
ariaDateFormat: this.ariaDateFormat,
|
|
193
|
+
autoFillDefaultTime: this.autoFillDefaultTime,
|
|
194
|
+
clickOpens: this.clickOpens,
|
|
195
|
+
closeOnSelect: this.closeOnSelect,
|
|
196
|
+
conjunction: this.conjunction,
|
|
197
|
+
dateFormat: this.dateFormat,
|
|
198
|
+
defaultDate: !!this.value ? Date.parse(this.value) : this.defaultDate,
|
|
199
|
+
defaultHour: this.defaultHour,
|
|
200
|
+
defaultMinute: this.defaultMinute,
|
|
201
|
+
defaultSeconds: this.defaultSeconds,
|
|
202
|
+
disable: this.disable,
|
|
203
|
+
disableMobile: this.disableMobile,
|
|
204
|
+
enable: this.enable,
|
|
205
|
+
enableSeconds: this.enableSeconds,
|
|
206
|
+
enableTime: this.enableTime,
|
|
207
|
+
formatDate: this.formatDate,
|
|
208
|
+
hourIncrement: this.hourIncrement,
|
|
209
|
+
inline: this.inline,
|
|
210
|
+
locale: this.locale,
|
|
211
|
+
maxDate: this.maxDate,
|
|
212
|
+
maxTime: this.maxTime,
|
|
213
|
+
minDate: this.minDate,
|
|
214
|
+
minTime: this.minTime,
|
|
215
|
+
minuteIncrement: this.minuteIncrement,
|
|
216
|
+
mode: this.mode,
|
|
217
|
+
monthSelectorType: this.monthSelectorType,
|
|
218
|
+
nextArrow: this.nextArrow,
|
|
219
|
+
noCalendar: this.noCalendar,
|
|
220
|
+
onChange: this.onChange,
|
|
221
|
+
onClose: this.onClose,
|
|
222
|
+
onDayCreate: this.onDayCreate,
|
|
223
|
+
onDestroy: this.onDestroy,
|
|
224
|
+
onKeyDown: this.onKeyDown,
|
|
225
|
+
onMonthChange: this.onMonthChange,
|
|
226
|
+
onOpen: this.onOpen,
|
|
227
|
+
onParseConfig: this.onParseConfig,
|
|
228
|
+
onReady: this.onReady,
|
|
229
|
+
onValueUpdate: this.onValueUpdate,
|
|
230
|
+
onYearChange: this.onYearChange,
|
|
231
|
+
parseDate: this.dateParser,
|
|
232
|
+
position: this.position,
|
|
233
|
+
positionElement: this.positionElement,
|
|
234
|
+
prevArrow: this.prevArrow,
|
|
235
|
+
shorthandCurrentMonth: this.shorthandCurrentMonth,
|
|
236
|
+
static: this.static,
|
|
237
|
+
showMonths: this.showMonths,
|
|
238
|
+
time_24hr: this.time_24hr,
|
|
239
|
+
weekNumbers: this.weekNumbers,
|
|
240
|
+
wrap: this.wrap,
|
|
241
|
+
};
|
|
242
|
+
flatpickr(this.dateInput, options);
|
|
243
|
+
}
|
|
244
|
+
render() {
|
|
245
|
+
return (h("div", { class: "s-datetime-picker" },
|
|
246
|
+
h("input", { type: "datetime", class: "s-datetime-picker-input", ref: (el) => this.dateInput = el, value: this.value, placeholder: this.placeholder, onInput: this.onInputChange.bind(this) })));
|
|
247
|
+
}
|
|
248
|
+
static get is() { return "salla-datetime-picker"; }
|
|
249
|
+
static get originalStyleUrls() { return {
|
|
250
|
+
"$": ["salla-datetime-picker.scss"]
|
|
251
|
+
}; }
|
|
252
|
+
static get styleUrls() { return {
|
|
253
|
+
"$": ["salla-datetime-picker.css"]
|
|
254
|
+
}; }
|
|
255
|
+
static get properties() { return {
|
|
256
|
+
"value": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"mutable": true,
|
|
259
|
+
"complexType": {
|
|
260
|
+
"original": "string",
|
|
261
|
+
"resolved": "string",
|
|
262
|
+
"references": {}
|
|
263
|
+
},
|
|
264
|
+
"required": false,
|
|
265
|
+
"optional": false,
|
|
266
|
+
"docs": {
|
|
267
|
+
"tags": [],
|
|
268
|
+
"text": "Two way data binding to retrieve the selected date[time] value"
|
|
269
|
+
},
|
|
270
|
+
"attribute": "value",
|
|
271
|
+
"reflect": false,
|
|
272
|
+
"defaultValue": "null"
|
|
273
|
+
},
|
|
274
|
+
"placeholder": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "string",
|
|
279
|
+
"resolved": "string",
|
|
280
|
+
"references": {}
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": false,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [],
|
|
286
|
+
"text": "Placeholder text to show on the input element"
|
|
287
|
+
},
|
|
288
|
+
"attribute": "placeholder",
|
|
289
|
+
"reflect": false,
|
|
290
|
+
"defaultValue": "salla.lang.get('blocks.buy_as_gift.select_send_date_and_time')"
|
|
291
|
+
},
|
|
292
|
+
"allowInput": {
|
|
293
|
+
"type": "boolean",
|
|
294
|
+
"mutable": false,
|
|
295
|
+
"complexType": {
|
|
296
|
+
"original": "boolean",
|
|
297
|
+
"resolved": "boolean",
|
|
298
|
+
"references": {}
|
|
299
|
+
},
|
|
300
|
+
"required": false,
|
|
301
|
+
"optional": false,
|
|
302
|
+
"docs": {
|
|
303
|
+
"tags": [],
|
|
304
|
+
"text": "Allows the user to enter a date directly into the input field. By default, direct entry is disabled."
|
|
305
|
+
},
|
|
306
|
+
"attribute": "allow-input",
|
|
307
|
+
"reflect": false,
|
|
308
|
+
"defaultValue": "false"
|
|
309
|
+
},
|
|
310
|
+
"allowInvalidPreload": {
|
|
311
|
+
"type": "boolean",
|
|
312
|
+
"mutable": false,
|
|
313
|
+
"complexType": {
|
|
314
|
+
"original": "boolean",
|
|
315
|
+
"resolved": "boolean",
|
|
316
|
+
"references": {}
|
|
317
|
+
},
|
|
318
|
+
"required": false,
|
|
319
|
+
"optional": false,
|
|
320
|
+
"docs": {
|
|
321
|
+
"tags": [],
|
|
322
|
+
"text": "Allows the preloading of an invalid date. When disabled, the field will be cleared if the provided date is invalid"
|
|
323
|
+
},
|
|
324
|
+
"attribute": "allow-invalid-preload",
|
|
325
|
+
"reflect": false,
|
|
326
|
+
"defaultValue": "false"
|
|
327
|
+
},
|
|
328
|
+
"altFormat": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"mutable": false,
|
|
331
|
+
"complexType": {
|
|
332
|
+
"original": "string",
|
|
333
|
+
"resolved": "string",
|
|
334
|
+
"references": {}
|
|
335
|
+
},
|
|
336
|
+
"required": false,
|
|
337
|
+
"optional": false,
|
|
338
|
+
"docs": {
|
|
339
|
+
"tags": [],
|
|
340
|
+
"text": "Exactly the same as date format, but for the altInput field."
|
|
341
|
+
},
|
|
342
|
+
"attribute": "alt-format",
|
|
343
|
+
"reflect": false,
|
|
344
|
+
"defaultValue": "\"F j, Y\""
|
|
345
|
+
},
|
|
346
|
+
"altInput": {
|
|
347
|
+
"type": "boolean",
|
|
348
|
+
"mutable": false,
|
|
349
|
+
"complexType": {
|
|
350
|
+
"original": "boolean",
|
|
351
|
+
"resolved": "boolean",
|
|
352
|
+
"references": {}
|
|
353
|
+
},
|
|
354
|
+
"required": false,
|
|
355
|
+
"optional": false,
|
|
356
|
+
"docs": {
|
|
357
|
+
"tags": [],
|
|
358
|
+
"text": "Show the user a readable date (as per altFormat), but return something totally different to the server."
|
|
359
|
+
},
|
|
360
|
+
"attribute": "alt-input",
|
|
361
|
+
"reflect": false,
|
|
362
|
+
"defaultValue": "false"
|
|
363
|
+
},
|
|
364
|
+
"altInputClass": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"mutable": false,
|
|
367
|
+
"complexType": {
|
|
368
|
+
"original": "string",
|
|
369
|
+
"resolved": "string",
|
|
370
|
+
"references": {}
|
|
371
|
+
},
|
|
372
|
+
"required": false,
|
|
373
|
+
"optional": false,
|
|
374
|
+
"docs": {
|
|
375
|
+
"tags": [],
|
|
376
|
+
"text": "This class will be added to the input element created by the altInput option.\nNote that altInput already inherits classes from the original input."
|
|
377
|
+
},
|
|
378
|
+
"attribute": "alt-input-class",
|
|
379
|
+
"reflect": false
|
|
380
|
+
},
|
|
381
|
+
"appendTo": {
|
|
382
|
+
"type": "unknown",
|
|
383
|
+
"mutable": false,
|
|
384
|
+
"complexType": {
|
|
385
|
+
"original": "HTMLElement",
|
|
386
|
+
"resolved": "HTMLElement",
|
|
387
|
+
"references": {
|
|
388
|
+
"HTMLElement": {
|
|
389
|
+
"location": "global"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"required": false,
|
|
394
|
+
"optional": false,
|
|
395
|
+
"docs": {
|
|
396
|
+
"tags": [],
|
|
397
|
+
"text": "Instead of body, appends the calendar to the specified node instead."
|
|
398
|
+
},
|
|
399
|
+
"defaultValue": "undefined"
|
|
400
|
+
},
|
|
401
|
+
"ariaDateFormat": {
|
|
402
|
+
"type": "string",
|
|
403
|
+
"mutable": false,
|
|
404
|
+
"complexType": {
|
|
405
|
+
"original": "string",
|
|
406
|
+
"resolved": "string",
|
|
407
|
+
"references": {}
|
|
408
|
+
},
|
|
409
|
+
"required": false,
|
|
410
|
+
"optional": false,
|
|
411
|
+
"docs": {
|
|
412
|
+
"tags": [],
|
|
413
|
+
"text": "Defines how the date will be formatted in the aria-label for calendar days, \nusing the same tokens as dateFormat. If you change this, you should choose a \nvalue that will make sense if a screen reader reads it out loud."
|
|
414
|
+
},
|
|
415
|
+
"attribute": "aria-date-format",
|
|
416
|
+
"reflect": false,
|
|
417
|
+
"defaultValue": "\"F j, Y\""
|
|
418
|
+
},
|
|
419
|
+
"autoFillDefaultTime": {
|
|
420
|
+
"type": "boolean",
|
|
421
|
+
"mutable": false,
|
|
422
|
+
"complexType": {
|
|
423
|
+
"original": "boolean",
|
|
424
|
+
"resolved": "boolean",
|
|
425
|
+
"references": {}
|
|
426
|
+
},
|
|
427
|
+
"required": false,
|
|
428
|
+
"optional": false,
|
|
429
|
+
"docs": {
|
|
430
|
+
"tags": [],
|
|
431
|
+
"text": "Whether the default time should be auto-filled when the input is empty and gains or loses focus."
|
|
432
|
+
},
|
|
433
|
+
"attribute": "auto-fill-default-time",
|
|
434
|
+
"reflect": false,
|
|
435
|
+
"defaultValue": "true"
|
|
436
|
+
},
|
|
437
|
+
"clickOpens": {
|
|
438
|
+
"type": "boolean",
|
|
439
|
+
"mutable": false,
|
|
440
|
+
"complexType": {
|
|
441
|
+
"original": "boolean",
|
|
442
|
+
"resolved": "boolean",
|
|
443
|
+
"references": {}
|
|
444
|
+
},
|
|
445
|
+
"required": false,
|
|
446
|
+
"optional": false,
|
|
447
|
+
"docs": {
|
|
448
|
+
"tags": [],
|
|
449
|
+
"text": "Whether clicking on the input should open the picker. \nSet it to false if you only want to open the calendar programmatically with [open()]"
|
|
450
|
+
},
|
|
451
|
+
"attribute": "click-opens",
|
|
452
|
+
"reflect": false,
|
|
453
|
+
"defaultValue": "true"
|
|
454
|
+
},
|
|
455
|
+
"closeOnSelect": {
|
|
456
|
+
"type": "boolean",
|
|
457
|
+
"mutable": false,
|
|
458
|
+
"complexType": {
|
|
459
|
+
"original": "boolean",
|
|
460
|
+
"resolved": "boolean",
|
|
461
|
+
"references": {}
|
|
462
|
+
},
|
|
463
|
+
"required": false,
|
|
464
|
+
"optional": false,
|
|
465
|
+
"docs": {
|
|
466
|
+
"tags": [],
|
|
467
|
+
"text": "Whether calendar should close after date selection or not"
|
|
468
|
+
},
|
|
469
|
+
"attribute": "close-on-select",
|
|
470
|
+
"reflect": false,
|
|
471
|
+
"defaultValue": "true"
|
|
472
|
+
},
|
|
473
|
+
"conjunction": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"mutable": false,
|
|
476
|
+
"complexType": {
|
|
477
|
+
"original": "string",
|
|
478
|
+
"resolved": "string",
|
|
479
|
+
"references": {}
|
|
480
|
+
},
|
|
481
|
+
"required": false,
|
|
482
|
+
"optional": true,
|
|
483
|
+
"docs": {
|
|
484
|
+
"tags": [],
|
|
485
|
+
"text": "When in \"multiple\" mode, conjunction is used to separate dates in the entry field."
|
|
486
|
+
},
|
|
487
|
+
"attribute": "conjunction",
|
|
488
|
+
"reflect": false
|
|
489
|
+
},
|
|
490
|
+
"dateFormat": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"mutable": false,
|
|
493
|
+
"complexType": {
|
|
494
|
+
"original": "string",
|
|
495
|
+
"resolved": "string",
|
|
496
|
+
"references": {}
|
|
497
|
+
},
|
|
498
|
+
"required": false,
|
|
499
|
+
"optional": false,
|
|
500
|
+
"docs": {
|
|
501
|
+
"tags": [],
|
|
502
|
+
"text": "A string of characters which are used to define how the date will be displayed in the input box. \nThe supported characters are defined in the table below."
|
|
503
|
+
},
|
|
504
|
+
"attribute": "date-format",
|
|
505
|
+
"reflect": false,
|
|
506
|
+
"defaultValue": "\"Y-m-d\""
|
|
507
|
+
},
|
|
508
|
+
"defaultDate": {
|
|
509
|
+
"type": "any",
|
|
510
|
+
"mutable": false,
|
|
511
|
+
"complexType": {
|
|
512
|
+
"original": "DateOption | DateOption[]",
|
|
513
|
+
"resolved": "Date | DateOption[] | number | string",
|
|
514
|
+
"references": {
|
|
515
|
+
"DateOption": {
|
|
516
|
+
"location": "import",
|
|
517
|
+
"path": "./interfaces"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"required": false,
|
|
522
|
+
"optional": false,
|
|
523
|
+
"docs": {
|
|
524
|
+
"tags": [],
|
|
525
|
+
"text": "Sets the initial selected date(s). If you're using mode: \"multiple\" or a range calendar supply an \nArray of Date objects or an Array of date strings which follow your dateFormat. Otherwise, you can supply \na single Date object or a date string."
|
|
526
|
+
},
|
|
527
|
+
"attribute": "default-date",
|
|
528
|
+
"reflect": false
|
|
529
|
+
},
|
|
530
|
+
"defaultHour": {
|
|
531
|
+
"type": "number",
|
|
532
|
+
"mutable": false,
|
|
533
|
+
"complexType": {
|
|
534
|
+
"original": "number",
|
|
535
|
+
"resolved": "number",
|
|
536
|
+
"references": {}
|
|
537
|
+
},
|
|
538
|
+
"required": false,
|
|
539
|
+
"optional": false,
|
|
540
|
+
"docs": {
|
|
541
|
+
"tags": [],
|
|
542
|
+
"text": "Initial value of the hour element, when no date is selected"
|
|
543
|
+
},
|
|
544
|
+
"attribute": "default-hour",
|
|
545
|
+
"reflect": false,
|
|
546
|
+
"defaultValue": "12"
|
|
547
|
+
},
|
|
548
|
+
"defaultMinute": {
|
|
549
|
+
"type": "number",
|
|
550
|
+
"mutable": false,
|
|
551
|
+
"complexType": {
|
|
552
|
+
"original": "number",
|
|
553
|
+
"resolved": "number",
|
|
554
|
+
"references": {}
|
|
555
|
+
},
|
|
556
|
+
"required": false,
|
|
557
|
+
"optional": false,
|
|
558
|
+
"docs": {
|
|
559
|
+
"tags": [],
|
|
560
|
+
"text": "Initial value of the minute element, when no date is selected"
|
|
561
|
+
},
|
|
562
|
+
"attribute": "default-minute",
|
|
563
|
+
"reflect": false,
|
|
564
|
+
"defaultValue": "0"
|
|
565
|
+
},
|
|
566
|
+
"defaultSeconds": {
|
|
567
|
+
"type": "number",
|
|
568
|
+
"mutable": false,
|
|
569
|
+
"complexType": {
|
|
570
|
+
"original": "number",
|
|
571
|
+
"resolved": "number",
|
|
572
|
+
"references": {}
|
|
573
|
+
},
|
|
574
|
+
"required": false,
|
|
575
|
+
"optional": false,
|
|
576
|
+
"docs": {
|
|
577
|
+
"tags": [],
|
|
578
|
+
"text": "Initial value of the seconds element, when no date is selected"
|
|
579
|
+
},
|
|
580
|
+
"attribute": "default-seconds",
|
|
581
|
+
"reflect": false,
|
|
582
|
+
"defaultValue": "0"
|
|
583
|
+
},
|
|
584
|
+
"disable": {
|
|
585
|
+
"type": "unknown",
|
|
586
|
+
"mutable": false,
|
|
587
|
+
"complexType": {
|
|
588
|
+
"original": "DateLimit<DateOption>[]",
|
|
589
|
+
"resolved": "DateLimit<DateOption>[]",
|
|
590
|
+
"references": {
|
|
591
|
+
"DateLimit": {
|
|
592
|
+
"location": "import",
|
|
593
|
+
"path": "./interfaces"
|
|
594
|
+
},
|
|
595
|
+
"DateOption": {
|
|
596
|
+
"location": "import",
|
|
597
|
+
"path": "./interfaces"
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"required": false,
|
|
602
|
+
"optional": false,
|
|
603
|
+
"docs": {
|
|
604
|
+
"tags": [],
|
|
605
|
+
"text": "Disables certain dates, preventing them from being selected. \nSee https://chmln.github.io/flatpickr/examples/#disabling-specific-dates"
|
|
606
|
+
},
|
|
607
|
+
"defaultValue": "[]"
|
|
608
|
+
},
|
|
609
|
+
"disableMobile": {
|
|
610
|
+
"type": "boolean",
|
|
611
|
+
"mutable": false,
|
|
612
|
+
"complexType": {
|
|
613
|
+
"original": "boolean",
|
|
614
|
+
"resolved": "boolean",
|
|
615
|
+
"references": {}
|
|
616
|
+
},
|
|
617
|
+
"required": false,
|
|
618
|
+
"optional": false,
|
|
619
|
+
"docs": {
|
|
620
|
+
"tags": [],
|
|
621
|
+
"text": "Set this to true to always use the non-native picker on mobile devices. \nBy default, Flatpickr utilizes native datetime widgets unless certain options (e.g. disable) are used."
|
|
622
|
+
},
|
|
623
|
+
"attribute": "disable-mobile",
|
|
624
|
+
"reflect": false,
|
|
625
|
+
"defaultValue": "false"
|
|
626
|
+
},
|
|
627
|
+
"enable": {
|
|
628
|
+
"type": "unknown",
|
|
629
|
+
"mutable": false,
|
|
630
|
+
"complexType": {
|
|
631
|
+
"original": "DateLimit<DateOption>[]",
|
|
632
|
+
"resolved": "DateLimit<DateOption>[]",
|
|
633
|
+
"references": {
|
|
634
|
+
"DateLimit": {
|
|
635
|
+
"location": "import",
|
|
636
|
+
"path": "./interfaces"
|
|
637
|
+
},
|
|
638
|
+
"DateOption": {
|
|
639
|
+
"location": "import",
|
|
640
|
+
"path": "./interfaces"
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
"required": false,
|
|
645
|
+
"optional": false,
|
|
646
|
+
"docs": {
|
|
647
|
+
"tags": [],
|
|
648
|
+
"text": "Disables all dates except these specified. See https://chmln.github.io/flatpickr/examples/#disabling-all-dates-except-select-few"
|
|
649
|
+
},
|
|
650
|
+
"defaultValue": "[(_) => true]"
|
|
651
|
+
},
|
|
652
|
+
"enableSeconds": {
|
|
653
|
+
"type": "boolean",
|
|
654
|
+
"mutable": false,
|
|
655
|
+
"complexType": {
|
|
656
|
+
"original": "boolean",
|
|
657
|
+
"resolved": "boolean",
|
|
658
|
+
"references": {}
|
|
659
|
+
},
|
|
660
|
+
"required": false,
|
|
661
|
+
"optional": false,
|
|
662
|
+
"docs": {
|
|
663
|
+
"tags": [],
|
|
664
|
+
"text": "Enables seconds selection in the time picker."
|
|
665
|
+
},
|
|
666
|
+
"attribute": "enable-seconds",
|
|
667
|
+
"reflect": false,
|
|
668
|
+
"defaultValue": "false"
|
|
669
|
+
},
|
|
670
|
+
"enableTime": {
|
|
671
|
+
"type": "boolean",
|
|
672
|
+
"mutable": false,
|
|
673
|
+
"complexType": {
|
|
674
|
+
"original": "boolean",
|
|
675
|
+
"resolved": "boolean",
|
|
676
|
+
"references": {}
|
|
677
|
+
},
|
|
678
|
+
"required": false,
|
|
679
|
+
"optional": false,
|
|
680
|
+
"docs": {
|
|
681
|
+
"tags": [],
|
|
682
|
+
"text": "Enables the time picker"
|
|
683
|
+
},
|
|
684
|
+
"attribute": "enable-time",
|
|
685
|
+
"reflect": false,
|
|
686
|
+
"defaultValue": "false"
|
|
687
|
+
},
|
|
688
|
+
"formatDate": {
|
|
689
|
+
"type": "unknown",
|
|
690
|
+
"mutable": false,
|
|
691
|
+
"complexType": {
|
|
692
|
+
"original": "(date: Date, format: string, locale: Object) => string",
|
|
693
|
+
"resolved": "(date: Date, format: string, locale: Object) => string",
|
|
694
|
+
"references": {
|
|
695
|
+
"Date": {
|
|
696
|
+
"location": "global"
|
|
697
|
+
},
|
|
698
|
+
"Object": {
|
|
699
|
+
"location": "global"
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"required": false,
|
|
704
|
+
"optional": false,
|
|
705
|
+
"docs": {
|
|
706
|
+
"tags": [],
|
|
707
|
+
"text": "Allows using a custom date formatting function instead of the built-in handling for date formats using dateFormat, altFormat, etc."
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
"hourIncrement": {
|
|
711
|
+
"type": "number",
|
|
712
|
+
"mutable": false,
|
|
713
|
+
"complexType": {
|
|
714
|
+
"original": "number",
|
|
715
|
+
"resolved": "number",
|
|
716
|
+
"references": {}
|
|
717
|
+
},
|
|
718
|
+
"required": false,
|
|
719
|
+
"optional": false,
|
|
720
|
+
"docs": {
|
|
721
|
+
"tags": [],
|
|
722
|
+
"text": "Adjusts the step for the hour input (incl. scrolling)"
|
|
723
|
+
},
|
|
724
|
+
"attribute": "hour-increment",
|
|
725
|
+
"reflect": false,
|
|
726
|
+
"defaultValue": "1"
|
|
727
|
+
},
|
|
728
|
+
"inline": {
|
|
729
|
+
"type": "boolean",
|
|
730
|
+
"mutable": false,
|
|
731
|
+
"complexType": {
|
|
732
|
+
"original": "boolean",
|
|
733
|
+
"resolved": "boolean",
|
|
734
|
+
"references": {}
|
|
735
|
+
},
|
|
736
|
+
"required": false,
|
|
737
|
+
"optional": false,
|
|
738
|
+
"docs": {
|
|
739
|
+
"tags": [],
|
|
740
|
+
"text": "Displays the calendar inline"
|
|
741
|
+
},
|
|
742
|
+
"attribute": "inline",
|
|
743
|
+
"reflect": false,
|
|
744
|
+
"defaultValue": "false"
|
|
745
|
+
},
|
|
746
|
+
"locale": {
|
|
747
|
+
"type": "string",
|
|
748
|
+
"mutable": false,
|
|
749
|
+
"complexType": {
|
|
750
|
+
"original": "LocaleKey",
|
|
751
|
+
"resolved": "\"ar\" | \"at\" | \"az\" | \"be\" | \"bg\" | \"bn\" | \"bs\" | \"ca\" | \"cat\" | \"ckb\" | \"cs\" | \"cy\" | \"da\" | \"de\" | \"default\" | \"en\" | \"eo\" | \"es\" | \"et\" | \"fa\" | \"fi\" | \"fo\" | \"fr\" | \"gr\" | \"he\" | \"hi\" | \"hr\" | \"hu\" | \"hy\" | \"id\" | \"is\" | \"it\" | \"ja\" | \"ka\" | \"ko\" | \"km\" | \"kz\" | \"lt\" | \"lv\" | \"mk\" | \"mn\" | \"ms\" | \"my\" | \"nl\" | \"nn\" | \"no\" | \"pa\" | \"pl\" | \"pt\" | \"ro\" | \"ru\" | \"si\" | \"sk\" | \"sl\" | \"sq\" | \"sr\" | \"sv\" | \"th\" | \"tr\" | \"uk\" | \"vn\" | \"zh\" | \"uz\" | \"uz_latn\" | \"zh_tw\"",
|
|
752
|
+
"references": {
|
|
753
|
+
"LocaleKey": {
|
|
754
|
+
"location": "import",
|
|
755
|
+
"path": "./interfaces"
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"required": false,
|
|
760
|
+
"optional": false,
|
|
761
|
+
"docs": {
|
|
762
|
+
"tags": [],
|
|
763
|
+
"text": "The locale, either as a string (e.g. \"ar\", \"en\") or as an object.\nSee https://chmln.github.io/flatpickr/localization/"
|
|
764
|
+
},
|
|
765
|
+
"attribute": "locale",
|
|
766
|
+
"reflect": false,
|
|
767
|
+
"defaultValue": "\"en\""
|
|
768
|
+
},
|
|
769
|
+
"maxDate": {
|
|
770
|
+
"type": "any",
|
|
771
|
+
"mutable": false,
|
|
772
|
+
"complexType": {
|
|
773
|
+
"original": "DateOption",
|
|
774
|
+
"resolved": "Date | number | string",
|
|
775
|
+
"references": {
|
|
776
|
+
"DateOption": {
|
|
777
|
+
"location": "import",
|
|
778
|
+
"path": "./interfaces"
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"required": false,
|
|
783
|
+
"optional": false,
|
|
784
|
+
"docs": {
|
|
785
|
+
"tags": [],
|
|
786
|
+
"text": "The maximum date that a user can pick to (inclusive)."
|
|
787
|
+
},
|
|
788
|
+
"attribute": "max-date",
|
|
789
|
+
"reflect": false,
|
|
790
|
+
"defaultValue": "null"
|
|
791
|
+
},
|
|
792
|
+
"maxTime": {
|
|
793
|
+
"type": "any",
|
|
794
|
+
"mutable": false,
|
|
795
|
+
"complexType": {
|
|
796
|
+
"original": "DateOption",
|
|
797
|
+
"resolved": "Date | number | string",
|
|
798
|
+
"references": {
|
|
799
|
+
"DateOption": {
|
|
800
|
+
"location": "import",
|
|
801
|
+
"path": "./interfaces"
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
"required": false,
|
|
806
|
+
"optional": false,
|
|
807
|
+
"docs": {
|
|
808
|
+
"tags": [],
|
|
809
|
+
"text": "The minimum date that a user can start picking from (inclusive)."
|
|
810
|
+
},
|
|
811
|
+
"attribute": "max-time",
|
|
812
|
+
"reflect": false,
|
|
813
|
+
"defaultValue": "null"
|
|
814
|
+
},
|
|
815
|
+
"minDate": {
|
|
816
|
+
"type": "any",
|
|
817
|
+
"mutable": false,
|
|
818
|
+
"complexType": {
|
|
819
|
+
"original": "DateOption",
|
|
820
|
+
"resolved": "Date | number | string",
|
|
821
|
+
"references": {
|
|
822
|
+
"DateOption": {
|
|
823
|
+
"location": "import",
|
|
824
|
+
"path": "./interfaces"
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
"required": false,
|
|
829
|
+
"optional": false,
|
|
830
|
+
"docs": {
|
|
831
|
+
"tags": [],
|
|
832
|
+
"text": "The minimum date that a user can start picking from (inclusive)."
|
|
833
|
+
},
|
|
834
|
+
"attribute": "min-date",
|
|
835
|
+
"reflect": false,
|
|
836
|
+
"defaultValue": "null"
|
|
837
|
+
},
|
|
838
|
+
"minTime": {
|
|
839
|
+
"type": "any",
|
|
840
|
+
"mutable": false,
|
|
841
|
+
"complexType": {
|
|
842
|
+
"original": "DateOption",
|
|
843
|
+
"resolved": "Date | number | string",
|
|
844
|
+
"references": {
|
|
845
|
+
"DateOption": {
|
|
846
|
+
"location": "import",
|
|
847
|
+
"path": "./interfaces"
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
"required": false,
|
|
852
|
+
"optional": false,
|
|
853
|
+
"docs": {
|
|
854
|
+
"tags": [],
|
|
855
|
+
"text": "The minimum time that a user can start picking from (inclusive)."
|
|
856
|
+
},
|
|
857
|
+
"attribute": "min-time",
|
|
858
|
+
"reflect": false,
|
|
859
|
+
"defaultValue": "null"
|
|
860
|
+
},
|
|
861
|
+
"minuteIncrement": {
|
|
862
|
+
"type": "number",
|
|
863
|
+
"mutable": false,
|
|
864
|
+
"complexType": {
|
|
865
|
+
"original": "number",
|
|
866
|
+
"resolved": "number",
|
|
867
|
+
"references": {}
|
|
868
|
+
},
|
|
869
|
+
"required": false,
|
|
870
|
+
"optional": false,
|
|
871
|
+
"docs": {
|
|
872
|
+
"tags": [],
|
|
873
|
+
"text": "Adjusts the step for the minute input (incl. scrolling) Defaults to 5"
|
|
874
|
+
},
|
|
875
|
+
"attribute": "minute-increment",
|
|
876
|
+
"reflect": false,
|
|
877
|
+
"defaultValue": "5"
|
|
878
|
+
},
|
|
879
|
+
"mode": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"mutable": false,
|
|
882
|
+
"complexType": {
|
|
883
|
+
"original": "\"single\" | \"multiple\" | \"range\" | \"time\"",
|
|
884
|
+
"resolved": "\"multiple\" | \"range\" | \"single\" | \"time\"",
|
|
885
|
+
"references": {}
|
|
886
|
+
},
|
|
887
|
+
"required": false,
|
|
888
|
+
"optional": false,
|
|
889
|
+
"docs": {
|
|
890
|
+
"tags": [],
|
|
891
|
+
"text": "Date selection mode, defaults to \"single\""
|
|
892
|
+
},
|
|
893
|
+
"attribute": "mode",
|
|
894
|
+
"reflect": false,
|
|
895
|
+
"defaultValue": "\"single\""
|
|
896
|
+
},
|
|
897
|
+
"monthSelectorType": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"mutable": false,
|
|
900
|
+
"complexType": {
|
|
901
|
+
"original": "\"dropdown\" | \"static\"",
|
|
902
|
+
"resolved": "\"dropdown\" | \"static\"",
|
|
903
|
+
"references": {}
|
|
904
|
+
},
|
|
905
|
+
"required": false,
|
|
906
|
+
"optional": false,
|
|
907
|
+
"docs": {
|
|
908
|
+
"tags": [],
|
|
909
|
+
"text": "How the month should be displayed in the header of the calendar.\nIf showMonths has a value greater than 1, the month is always shown as static."
|
|
910
|
+
},
|
|
911
|
+
"attribute": "month-selector-type",
|
|
912
|
+
"reflect": false,
|
|
913
|
+
"defaultValue": "\"dropdown\""
|
|
914
|
+
},
|
|
915
|
+
"nextArrow": {
|
|
916
|
+
"type": "string",
|
|
917
|
+
"mutable": false,
|
|
918
|
+
"complexType": {
|
|
919
|
+
"original": "string",
|
|
920
|
+
"resolved": "string",
|
|
921
|
+
"references": {}
|
|
922
|
+
},
|
|
923
|
+
"required": false,
|
|
924
|
+
"optional": false,
|
|
925
|
+
"docs": {
|
|
926
|
+
"tags": [],
|
|
927
|
+
"text": "HTML for the arrow icon, used to switch months."
|
|
928
|
+
},
|
|
929
|
+
"attribute": "next-arrow",
|
|
930
|
+
"reflect": false,
|
|
931
|
+
"defaultValue": "'<span class=\"sicon-keyboard_arrow_right\"></span>'"
|
|
932
|
+
},
|
|
933
|
+
"noCalendar": {
|
|
934
|
+
"type": "boolean",
|
|
935
|
+
"mutable": false,
|
|
936
|
+
"complexType": {
|
|
937
|
+
"original": "boolean",
|
|
938
|
+
"resolved": "boolean",
|
|
939
|
+
"references": {}
|
|
940
|
+
},
|
|
941
|
+
"required": false,
|
|
942
|
+
"optional": false,
|
|
943
|
+
"docs": {
|
|
944
|
+
"tags": [],
|
|
945
|
+
"text": "Hides the day selection in calendar. Use it along with enableTime to create a time picker."
|
|
946
|
+
},
|
|
947
|
+
"attribute": "no-calendar",
|
|
948
|
+
"reflect": false,
|
|
949
|
+
"defaultValue": "false"
|
|
950
|
+
},
|
|
951
|
+
"onChange": {
|
|
952
|
+
"type": "unknown",
|
|
953
|
+
"mutable": false,
|
|
954
|
+
"complexType": {
|
|
955
|
+
"original": "Hook | Hook[]",
|
|
956
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
957
|
+
"references": {
|
|
958
|
+
"Hook": {
|
|
959
|
+
"location": "import",
|
|
960
|
+
"path": "./interfaces"
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
"required": false,
|
|
965
|
+
"optional": false,
|
|
966
|
+
"docs": {
|
|
967
|
+
"tags": [],
|
|
968
|
+
"text": "Fires when the selected dates have changed - when a date is picked or cleared, by user or programmatically."
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"onClose": {
|
|
972
|
+
"type": "unknown",
|
|
973
|
+
"mutable": false,
|
|
974
|
+
"complexType": {
|
|
975
|
+
"original": "Hook | Hook[]",
|
|
976
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
977
|
+
"references": {
|
|
978
|
+
"Hook": {
|
|
979
|
+
"location": "import",
|
|
980
|
+
"path": "./interfaces"
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"required": false,
|
|
985
|
+
"optional": false,
|
|
986
|
+
"docs": {
|
|
987
|
+
"tags": [],
|
|
988
|
+
"text": "Fires when the calendar is closed"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"onDayCreate": {
|
|
992
|
+
"type": "unknown",
|
|
993
|
+
"mutable": false,
|
|
994
|
+
"complexType": {
|
|
995
|
+
"original": "Hook | Hook[]",
|
|
996
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
997
|
+
"references": {
|
|
998
|
+
"Hook": {
|
|
999
|
+
"location": "import",
|
|
1000
|
+
"path": "./interfaces"
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"required": false,
|
|
1005
|
+
"optional": false,
|
|
1006
|
+
"docs": {
|
|
1007
|
+
"tags": [],
|
|
1008
|
+
"text": "Fires for every day cell in the calendar, where the fourth argument is the html element of the cell. \nSee https://chmln.github.io/flatpickr/events/#ondaycreate"
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"onDestroy": {
|
|
1012
|
+
"type": "unknown",
|
|
1013
|
+
"mutable": false,
|
|
1014
|
+
"complexType": {
|
|
1015
|
+
"original": "Hook | Hook[]",
|
|
1016
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1017
|
+
"references": {
|
|
1018
|
+
"Hook": {
|
|
1019
|
+
"location": "import",
|
|
1020
|
+
"path": "./interfaces"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
"required": false,
|
|
1025
|
+
"optional": false,
|
|
1026
|
+
"docs": {
|
|
1027
|
+
"tags": [],
|
|
1028
|
+
"text": "Fires before the calendar instance is destroyed"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
"onKeyDown": {
|
|
1032
|
+
"type": "unknown",
|
|
1033
|
+
"mutable": false,
|
|
1034
|
+
"complexType": {
|
|
1035
|
+
"original": "Hook | Hook[]",
|
|
1036
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1037
|
+
"references": {
|
|
1038
|
+
"Hook": {
|
|
1039
|
+
"location": "import",
|
|
1040
|
+
"path": "./interfaces"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"required": false,
|
|
1045
|
+
"optional": false,
|
|
1046
|
+
"docs": {
|
|
1047
|
+
"tags": [],
|
|
1048
|
+
"text": "Fires when valid keyboard input for calendar is detected"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"onMonthChange": {
|
|
1052
|
+
"type": "unknown",
|
|
1053
|
+
"mutable": false,
|
|
1054
|
+
"complexType": {
|
|
1055
|
+
"original": "Hook | Hook[]",
|
|
1056
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1057
|
+
"references": {
|
|
1058
|
+
"Hook": {
|
|
1059
|
+
"location": "import",
|
|
1060
|
+
"path": "./interfaces"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"required": false,
|
|
1065
|
+
"optional": false,
|
|
1066
|
+
"docs": {
|
|
1067
|
+
"tags": [],
|
|
1068
|
+
"text": "Fires after the month has changed"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
"onOpen": {
|
|
1072
|
+
"type": "unknown",
|
|
1073
|
+
"mutable": false,
|
|
1074
|
+
"complexType": {
|
|
1075
|
+
"original": "Hook | Hook[]",
|
|
1076
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1077
|
+
"references": {
|
|
1078
|
+
"Hook": {
|
|
1079
|
+
"location": "import",
|
|
1080
|
+
"path": "./interfaces"
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"required": false,
|
|
1085
|
+
"optional": false,
|
|
1086
|
+
"docs": {
|
|
1087
|
+
"tags": [],
|
|
1088
|
+
"text": "Fires after the calendar is opened"
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"onParseConfig": {
|
|
1092
|
+
"type": "unknown",
|
|
1093
|
+
"mutable": false,
|
|
1094
|
+
"complexType": {
|
|
1095
|
+
"original": "Hook | Hook[]",
|
|
1096
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1097
|
+
"references": {
|
|
1098
|
+
"Hook": {
|
|
1099
|
+
"location": "import",
|
|
1100
|
+
"path": "./interfaces"
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"required": false,
|
|
1105
|
+
"optional": false,
|
|
1106
|
+
"docs": {
|
|
1107
|
+
"tags": [],
|
|
1108
|
+
"text": "Fires after the configuration for the calendar is parsed"
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"onReady": {
|
|
1112
|
+
"type": "unknown",
|
|
1113
|
+
"mutable": false,
|
|
1114
|
+
"complexType": {
|
|
1115
|
+
"original": "Hook | Hook[]",
|
|
1116
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1117
|
+
"references": {
|
|
1118
|
+
"Hook": {
|
|
1119
|
+
"location": "import",
|
|
1120
|
+
"path": "./interfaces"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
"required": false,
|
|
1125
|
+
"optional": false,
|
|
1126
|
+
"docs": {
|
|
1127
|
+
"tags": [],
|
|
1128
|
+
"text": "Fires once the calendar instance is ready"
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
"onValueUpdate": {
|
|
1132
|
+
"type": "unknown",
|
|
1133
|
+
"mutable": false,
|
|
1134
|
+
"complexType": {
|
|
1135
|
+
"original": "Hook | Hook[]",
|
|
1136
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1137
|
+
"references": {
|
|
1138
|
+
"Hook": {
|
|
1139
|
+
"location": "import",
|
|
1140
|
+
"path": "./interfaces"
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
"required": false,
|
|
1145
|
+
"optional": false,
|
|
1146
|
+
"docs": {
|
|
1147
|
+
"tags": [],
|
|
1148
|
+
"text": "Like onChange, but fires immediately after any date changes"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"onYearChange": {
|
|
1152
|
+
"type": "unknown",
|
|
1153
|
+
"mutable": false,
|
|
1154
|
+
"complexType": {
|
|
1155
|
+
"original": "Hook | Hook[]",
|
|
1156
|
+
"resolved": "((dates: Date[], currentDateString: string, self: any, data?: any) => void) | Hook[]",
|
|
1157
|
+
"references": {
|
|
1158
|
+
"Hook": {
|
|
1159
|
+
"location": "import",
|
|
1160
|
+
"path": "./interfaces"
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"required": false,
|
|
1165
|
+
"optional": false,
|
|
1166
|
+
"docs": {
|
|
1167
|
+
"tags": [],
|
|
1168
|
+
"text": "Fires after the year has changed"
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
"dateParser": {
|
|
1172
|
+
"type": "unknown",
|
|
1173
|
+
"mutable": false,
|
|
1174
|
+
"complexType": {
|
|
1175
|
+
"original": "(date: string, format: string) => Date",
|
|
1176
|
+
"resolved": "(date: string, format: string) => Date",
|
|
1177
|
+
"references": {
|
|
1178
|
+
"Date": {
|
|
1179
|
+
"location": "global"
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"optional": false,
|
|
1185
|
+
"docs": {
|
|
1186
|
+
"tags": [],
|
|
1187
|
+
"text": "A custom datestring parser"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
"position": {
|
|
1191
|
+
"type": "string",
|
|
1192
|
+
"mutable": false,
|
|
1193
|
+
"complexType": {
|
|
1194
|
+
"original": "\"auto\" | \"above\" | \"below\" | \"auto left\" | \"auto center\" | \"auto right\" | \"above left\" | \"above center\" | \"above right\" | \"below left\" | \"below center\" | \"below right\" | ((self: any, customElement: HTMLElement | undefined) => void)",
|
|
1195
|
+
"resolved": "\"above center\" | \"above left\" | \"above right\" | \"above\" | \"auto center\" | \"auto left\" | \"auto right\" | \"auto\" | \"below center\" | \"below left\" | \"below right\" | \"below\" | ((self: any, customElement: HTMLElement) => void)",
|
|
1196
|
+
"references": {
|
|
1197
|
+
"HTMLElement": {
|
|
1198
|
+
"location": "global"
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"required": false,
|
|
1203
|
+
"optional": false,
|
|
1204
|
+
"docs": {
|
|
1205
|
+
"tags": [],
|
|
1206
|
+
"text": "How the calendar should be positioned with regards to the input. Defaults to \"auto\""
|
|
1207
|
+
},
|
|
1208
|
+
"attribute": "position",
|
|
1209
|
+
"reflect": false,
|
|
1210
|
+
"defaultValue": "\"auto\""
|
|
1211
|
+
},
|
|
1212
|
+
"positionElement": {
|
|
1213
|
+
"type": "unknown",
|
|
1214
|
+
"mutable": false,
|
|
1215
|
+
"complexType": {
|
|
1216
|
+
"original": "HTMLElement",
|
|
1217
|
+
"resolved": "HTMLElement",
|
|
1218
|
+
"references": {
|
|
1219
|
+
"HTMLElement": {
|
|
1220
|
+
"location": "global"
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
"required": false,
|
|
1225
|
+
"optional": false,
|
|
1226
|
+
"docs": {
|
|
1227
|
+
"tags": [],
|
|
1228
|
+
"text": "The element off of which the calendar will be positioned. Defaults to the date input"
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"prevArrow": {
|
|
1232
|
+
"type": "string",
|
|
1233
|
+
"mutable": false,
|
|
1234
|
+
"complexType": {
|
|
1235
|
+
"original": "string",
|
|
1236
|
+
"resolved": "string",
|
|
1237
|
+
"references": {}
|
|
1238
|
+
},
|
|
1239
|
+
"required": false,
|
|
1240
|
+
"optional": false,
|
|
1241
|
+
"docs": {
|
|
1242
|
+
"tags": [],
|
|
1243
|
+
"text": "HTML for the left arrow icon, used to switch months."
|
|
1244
|
+
},
|
|
1245
|
+
"attribute": "prev-arrow",
|
|
1246
|
+
"reflect": false,
|
|
1247
|
+
"defaultValue": "'<span class=\"sicon-keyboard_arrow_left\"></span>'"
|
|
1248
|
+
},
|
|
1249
|
+
"shorthandCurrentMonth": {
|
|
1250
|
+
"type": "boolean",
|
|
1251
|
+
"mutable": false,
|
|
1252
|
+
"complexType": {
|
|
1253
|
+
"original": "boolean",
|
|
1254
|
+
"resolved": "boolean",
|
|
1255
|
+
"references": {}
|
|
1256
|
+
},
|
|
1257
|
+
"required": false,
|
|
1258
|
+
"optional": false,
|
|
1259
|
+
"docs": {
|
|
1260
|
+
"tags": [],
|
|
1261
|
+
"text": "Whether to display the current month name in shorthand mode, e.g. \"Sep\" instead \"September\""
|
|
1262
|
+
},
|
|
1263
|
+
"attribute": "shorthand-current-month",
|
|
1264
|
+
"reflect": false,
|
|
1265
|
+
"defaultValue": "false"
|
|
1266
|
+
},
|
|
1267
|
+
"static": {
|
|
1268
|
+
"type": "boolean",
|
|
1269
|
+
"mutable": false,
|
|
1270
|
+
"complexType": {
|
|
1271
|
+
"original": "boolean",
|
|
1272
|
+
"resolved": "boolean",
|
|
1273
|
+
"references": {}
|
|
1274
|
+
},
|
|
1275
|
+
"required": false,
|
|
1276
|
+
"optional": false,
|
|
1277
|
+
"docs": {
|
|
1278
|
+
"tags": [],
|
|
1279
|
+
"text": "Position the calendar inside the wrapper and next to the input element*."
|
|
1280
|
+
},
|
|
1281
|
+
"attribute": "static",
|
|
1282
|
+
"reflect": false,
|
|
1283
|
+
"defaultValue": "false"
|
|
1284
|
+
},
|
|
1285
|
+
"showMonths": {
|
|
1286
|
+
"type": "number",
|
|
1287
|
+
"mutable": false,
|
|
1288
|
+
"complexType": {
|
|
1289
|
+
"original": "number",
|
|
1290
|
+
"resolved": "number",
|
|
1291
|
+
"references": {}
|
|
1292
|
+
},
|
|
1293
|
+
"required": false,
|
|
1294
|
+
"optional": false,
|
|
1295
|
+
"docs": {
|
|
1296
|
+
"tags": [],
|
|
1297
|
+
"text": "The number of months to be shown at the same time when displaying the calendar."
|
|
1298
|
+
},
|
|
1299
|
+
"attribute": "show-months",
|
|
1300
|
+
"reflect": false,
|
|
1301
|
+
"defaultValue": "1"
|
|
1302
|
+
},
|
|
1303
|
+
"time_24hr": {
|
|
1304
|
+
"type": "boolean",
|
|
1305
|
+
"mutable": false,
|
|
1306
|
+
"complexType": {
|
|
1307
|
+
"original": "boolean",
|
|
1308
|
+
"resolved": "boolean",
|
|
1309
|
+
"references": {}
|
|
1310
|
+
},
|
|
1311
|
+
"required": false,
|
|
1312
|
+
"optional": false,
|
|
1313
|
+
"docs": {
|
|
1314
|
+
"tags": [],
|
|
1315
|
+
"text": "Displays time picker in 24 hour mode without AM/PM selection when enabled."
|
|
1316
|
+
},
|
|
1317
|
+
"attribute": "time_-2-4hr",
|
|
1318
|
+
"reflect": false,
|
|
1319
|
+
"defaultValue": "false"
|
|
1320
|
+
},
|
|
1321
|
+
"weekNumbers": {
|
|
1322
|
+
"type": "boolean",
|
|
1323
|
+
"mutable": false,
|
|
1324
|
+
"complexType": {
|
|
1325
|
+
"original": "boolean",
|
|
1326
|
+
"resolved": "boolean",
|
|
1327
|
+
"references": {}
|
|
1328
|
+
},
|
|
1329
|
+
"required": false,
|
|
1330
|
+
"optional": false,
|
|
1331
|
+
"docs": {
|
|
1332
|
+
"tags": [],
|
|
1333
|
+
"text": "Enables display of week numbers in calendar."
|
|
1334
|
+
},
|
|
1335
|
+
"attribute": "week-numbers",
|
|
1336
|
+
"reflect": false,
|
|
1337
|
+
"defaultValue": "false"
|
|
1338
|
+
},
|
|
1339
|
+
"wrap": {
|
|
1340
|
+
"type": "boolean",
|
|
1341
|
+
"mutable": false,
|
|
1342
|
+
"complexType": {
|
|
1343
|
+
"original": "boolean",
|
|
1344
|
+
"resolved": "boolean",
|
|
1345
|
+
"references": {}
|
|
1346
|
+
},
|
|
1347
|
+
"required": false,
|
|
1348
|
+
"optional": false,
|
|
1349
|
+
"docs": {
|
|
1350
|
+
"tags": [],
|
|
1351
|
+
"text": "See https://chmln.github.io/flatpickr/examples/#flatpickr-external-elements"
|
|
1352
|
+
},
|
|
1353
|
+
"attribute": "wrap",
|
|
1354
|
+
"reflect": false,
|
|
1355
|
+
"defaultValue": "false"
|
|
1356
|
+
}
|
|
1357
|
+
}; }
|
|
1358
|
+
static get events() { return [{
|
|
1359
|
+
"method": "picked",
|
|
1360
|
+
"name": "picked",
|
|
1361
|
+
"bubbles": true,
|
|
1362
|
+
"cancelable": true,
|
|
1363
|
+
"composed": true,
|
|
1364
|
+
"docs": {
|
|
1365
|
+
"tags": [],
|
|
1366
|
+
"text": ""
|
|
1367
|
+
},
|
|
1368
|
+
"complexType": {
|
|
1369
|
+
"original": "any",
|
|
1370
|
+
"resolved": "any",
|
|
1371
|
+
"references": {}
|
|
1372
|
+
}
|
|
1373
|
+
}]; }
|
|
1374
|
+
}
|