@progress/kendo-react-common 13.3.0 → 13.4.0-develop.1
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/Draggable.d.ts +93 -0
- package/Droppable.d.ts +84 -0
- package/FormComponent.d.ts +218 -0
- package/apply-default-props.d.ts +13 -0
- package/browser-support.service.d.ts +14 -0
- package/canUseDOM.d.ts +11 -0
- package/canUseRef.d.ts +12 -0
- package/classNames.d.ts +15 -0
- package/clone.d.ts +27 -0
- package/constants/main.d.ts +27 -0
- package/contexts/AdaptiveModeContext.d.ts +50 -0
- package/contexts/AdaptiveModeContext.mjs +2 -2
- package/contexts/ZIndexContext.d.ts +14 -0
- package/deep-merge.d.ts +13 -0
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/drag-n-drop/context/index.d.ts +24 -0
- package/drag-n-drop/index.d.ts +33 -0
- package/events/BaseEvent.d.ts +25 -0
- package/events/dispatchEvent.d.ts +21 -0
- package/fieldList.d.ts +11 -0
- package/fileExtensionIcon.d.ts +12 -0
- package/getActiveElement.d.ts +15 -0
- package/getTabIndex.d.ts +11 -0
- package/getter.d.ts +21 -0
- package/guid.d.ts +11 -0
- package/hasRelativeStackingContext.d.ts +9 -0
- package/hocs/AsyncFocusBlur.d.ts +20 -0
- package/hocs/use-adaptive-mode-hoc.d.ts +10 -0
- package/hocs/use-id-hoc.d.ts +10 -0
- package/hocs/use-unstyled-hoc.d.ts +10 -0
- package/hocs/withPropsContext.d.ts +12 -0
- package/hocs/withzIndexContext.d.ts +10 -0
- package/hooks/index.d.ts +19 -0
- package/hooks/use-id.d.ts +9 -0
- package/hooks/use-immediate-inherit-state.d.ts +13 -0
- package/hooks/use-isomorphic-layout-effect.d.ts +10 -0
- package/hooks/useAsyncFocusBlur.d.ts +32 -0
- package/hooks/useCollection.d.ts +21 -0
- package/hooks/useControlledState.d.ts +11 -0
- package/hooks/useCustomComponent.d.ts +16 -0
- package/hooks/useDir.d.ts +12 -0
- package/hooks/useDocument.d.ts +14 -0
- package/hooks/useDraggable.d.ts +75 -0
- package/hooks/useDroppable.d.ts +46 -0
- package/hooks/useInheritedState.d.ts +23 -0
- package/hooks/useMouse.d.ts +27 -0
- package/hooks/usePointer.d.ts +28 -0
- package/hooks/usePropsContext.d.ts +10 -0
- package/hooks/useRtl.d.ts +12 -0
- package/hooks/useTouch.d.ts +22 -0
- package/hooks/useWindow.d.ts +14 -0
- package/icons/BaseIconProps.d.ts +79 -0
- package/icons/Icon.d.ts +41 -0
- package/icons/IconWrap.d.ts +14 -0
- package/icons/IconsContext.d.ts +28 -0
- package/icons/SvgIcon.d.ts +77 -0
- package/icons/constants.d.ts +20 -0
- package/icons/models/flip.d.ts +18 -0
- package/icons/models/size.d.ts +22 -0
- package/icons/models/theme-color.d.ts +28 -0
- package/icons/utils.d.ts +24 -0
- package/index.d.mts +74 -4288
- package/index.d.ts +74 -4288
- package/keys.d.ts +47 -0
- package/memoize.d.ts +17 -0
- package/models/auto-scroll-options.d.ts +29 -0
- package/models/index.d.ts +12 -0
- package/models/kendoReactComponentBaseProps.d.ts +30 -0
- package/models/mouse.d.ts +56 -0
- package/models/pointer.d.ts +30 -0
- package/models/touch.d.ts +24 -0
- package/navigation.d.ts +166 -0
- package/noop.d.ts +11 -0
- package/package.json +1 -1
- package/rowHeightService.d.ts +31 -0
- package/scrollbarWidth.d.ts +15 -0
- package/setter.d.ts +23 -0
- package/theme.d.ts +15 -0
- package/trappedFocus.d.ts +44 -0
- package/tree-utils/FieldsService.d.ts +32 -0
- package/tree-utils/SortedPublicItemIds.d.ts +15 -0
- package/tree-utils/itemIdUtils.d.ts +67 -0
- package/tree-utils/itemIdUtils.mjs +51 -51
- package/tree-utils/itemUtils.d.ts +52 -0
- package/tree-utils/misc.d.ts +15 -0
- package/treeDataOperations.d.ts +46 -0
- package/typography/Typography.d.ts +41 -0
- package/typography/TypographyProps.d.ts +127 -0
- package/typography/constants.d.ts +91 -0
- package/typography/models/margin.d.ts +30 -0
- package/unstyled/animations.d.ts +96 -0
- package/unstyled/buttons.d.ts +186 -0
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +104 -194
- package/unstyled/dateinputs.d.ts +397 -0
- package/unstyled/dateinputs.mjs +19 -19
- package/unstyled/dropdowns.d.ts +314 -0
- package/unstyled/dropdowns.mjs +1 -1
- package/unstyled/form.d.ts +71 -0
- package/unstyled/form.mjs +1 -1
- package/unstyled/grid.d.ts +12 -0
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +51 -50
- package/unstyled/icons.d.ts +89 -0
- package/unstyled/icons.mjs +1 -1
- package/unstyled/inputs.d.ts +213 -0
- package/unstyled/inputs.mjs +14 -14
- package/unstyled/interfaces/common.d.ts +138 -0
- package/unstyled/json-classes.d.ts +378 -0
- package/unstyled/labels.d.ts +99 -0
- package/unstyled/main.d.ts +34 -0
- package/unstyled/popup.d.ts +123 -0
- package/unstyled/popup.mjs +3 -3
- package/validate-package.d.ts +38 -0
- package/watermark/WatermarkOverlay.d.ts +21 -0
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { WidgetClassStructure } from './interfaces/common.js';
|
|
9
|
+
export interface DateTimeSizeClasses {
|
|
10
|
+
/** Small size class for the date-time picker */
|
|
11
|
+
small?: string;
|
|
12
|
+
/** Medium size class for the date-time picker */
|
|
13
|
+
medium?: string;
|
|
14
|
+
/** Large size class for the date-time picker */
|
|
15
|
+
large?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface DateTimeFillModeClasses {
|
|
18
|
+
/** Solid fill mode class for the date-time picker */
|
|
19
|
+
solid?: string;
|
|
20
|
+
/** Outline fill mode class for the date-time picker */
|
|
21
|
+
outline?: string;
|
|
22
|
+
/** Flat fill mode class for the date-time picker */
|
|
23
|
+
flat?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface DateTimeRoundedClasses {
|
|
26
|
+
/** Small rounded class for the date-time picker */
|
|
27
|
+
small?: string;
|
|
28
|
+
/** Medium rounded class for the date-time picker */
|
|
29
|
+
medium?: string;
|
|
30
|
+
/** Large rounded class for the date-time picker */
|
|
31
|
+
large?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface TimeFooterClasses {
|
|
34
|
+
/** Main footer class for time date input */
|
|
35
|
+
main?: string;
|
|
36
|
+
/** Actions container class within the footer */
|
|
37
|
+
actions?: string;
|
|
38
|
+
/** Stretched state class for the footer actions */
|
|
39
|
+
stretched?: string;
|
|
40
|
+
/** Horizontal alignment class for the footer actions */
|
|
41
|
+
horizontal?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface TimePartClasses {
|
|
44
|
+
/** Main class for the part of the date input */
|
|
45
|
+
main?: string;
|
|
46
|
+
/** Disabled state class for the part */
|
|
47
|
+
disabled?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface TimeContainerClasses {
|
|
50
|
+
/** Main container class for the date input */
|
|
51
|
+
main?: string;
|
|
52
|
+
/** Scrollable state class for the container */
|
|
53
|
+
scrollable?: string;
|
|
54
|
+
/** Content class within the container */
|
|
55
|
+
content?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface TimeListWrapperClasses {
|
|
58
|
+
/** Main wrapper class for the list */
|
|
59
|
+
main?: string;
|
|
60
|
+
/** Focused state class for the list wrapper */
|
|
61
|
+
focused?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface TimeClasses {
|
|
64
|
+
/** Footer configuration for the date input */
|
|
65
|
+
footer?: TimeFooterClasses;
|
|
66
|
+
/** Cancel action class for the date input */
|
|
67
|
+
cancel?: string;
|
|
68
|
+
/** Accept action class for the date input */
|
|
69
|
+
accept?: string;
|
|
70
|
+
/** Part configuration for the date input */
|
|
71
|
+
part?: TimePartClasses;
|
|
72
|
+
/** Header class for the date input */
|
|
73
|
+
header?: string;
|
|
74
|
+
/** Now action class for the date input */
|
|
75
|
+
now?: string;
|
|
76
|
+
/** List container class for the date input */
|
|
77
|
+
listContainer?: string;
|
|
78
|
+
/** Highlighted state class for the date input */
|
|
79
|
+
highlight?: string;
|
|
80
|
+
/** List wrapper configuration for the date input */
|
|
81
|
+
listWrapper?: TimeListWrapperClasses;
|
|
82
|
+
/** List class for the date input */
|
|
83
|
+
list?: string;
|
|
84
|
+
/** Main container configuration for the date input */
|
|
85
|
+
container?: TimeContainerClasses;
|
|
86
|
+
/** Container selector class for the date input */
|
|
87
|
+
containerSelector?: string;
|
|
88
|
+
/** Separator class for the date input */
|
|
89
|
+
separator?: string;
|
|
90
|
+
/** Unordered list class */
|
|
91
|
+
ul?: string;
|
|
92
|
+
/** List item class */
|
|
93
|
+
li?: string;
|
|
94
|
+
/** Title class for the date input */
|
|
95
|
+
title?: string;
|
|
96
|
+
/** Scrollable placeholder class for the date input */
|
|
97
|
+
scrollablePlaceholder?: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
export declare const uTime: WidgetClassStructure;
|
|
103
|
+
export interface TimePickerWrapperClasses {
|
|
104
|
+
/** Main class for the timepicker wrapper */
|
|
105
|
+
main?: string;
|
|
106
|
+
/** Input class for the timepicker */
|
|
107
|
+
input?: string;
|
|
108
|
+
/** Size configurations for the timepicker */
|
|
109
|
+
size?: DateTimeSizeClasses;
|
|
110
|
+
/** Fill mode configurations for the timepicker */
|
|
111
|
+
fillMode?: DateTimeFillModeClasses;
|
|
112
|
+
/** Rounded configurations for the timepicker */
|
|
113
|
+
rounded?: DateTimeRoundedClasses;
|
|
114
|
+
/** Disabled state class for the timepicker */
|
|
115
|
+
disabled?: string;
|
|
116
|
+
/** Required state class for the timepicker */
|
|
117
|
+
required?: string;
|
|
118
|
+
/** Invalid state class for the timepicker */
|
|
119
|
+
invalid?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface TimePopupClasses {
|
|
122
|
+
/** Main class for the timepicker popup */
|
|
123
|
+
main?: string;
|
|
124
|
+
/** Container class for the popup list */
|
|
125
|
+
container?: string;
|
|
126
|
+
}
|
|
127
|
+
export interface TimeSelectorClasses {
|
|
128
|
+
/** Main class for the time selector */
|
|
129
|
+
main?: string;
|
|
130
|
+
/** Size configurations for the time selector */
|
|
131
|
+
size?: DateTimeSizeClasses;
|
|
132
|
+
/** Disabled state class for the time selector */
|
|
133
|
+
disabled?: string;
|
|
134
|
+
/** Reset class for the time selector */
|
|
135
|
+
reset?: string;
|
|
136
|
+
}
|
|
137
|
+
export interface TimePickerClasses {
|
|
138
|
+
/** Wrapper configuration for the timepicker */
|
|
139
|
+
wrapper?: TimePickerWrapperClasses;
|
|
140
|
+
/** Button class for the input component of the timepicker */
|
|
141
|
+
inputButton?: string;
|
|
142
|
+
/** Popup configuration for the timepicker */
|
|
143
|
+
popup?: TimePopupClasses;
|
|
144
|
+
/** Time selector configuration for the timepicker */
|
|
145
|
+
timeSelector?: TimeSelectorClasses;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @hidden
|
|
149
|
+
*/
|
|
150
|
+
export declare const uTimePicker: WidgetClassStructure;
|
|
151
|
+
export interface CalendarWrapperClasses {
|
|
152
|
+
/** Main class for the calendar wrapper */
|
|
153
|
+
main?: string;
|
|
154
|
+
/** Prefix for the infinite calendar state */
|
|
155
|
+
infinite?: string;
|
|
156
|
+
/** Disabled state class for the calendar wrapper */
|
|
157
|
+
disabled?: string;
|
|
158
|
+
/** Week number class for the calendar */
|
|
159
|
+
weekNumber?: string;
|
|
160
|
+
/** Size configurations for the calendar */
|
|
161
|
+
size?: DateTimeSizeClasses;
|
|
162
|
+
}
|
|
163
|
+
export interface CalendarViewClasses {
|
|
164
|
+
/** Main class for the calendar view */
|
|
165
|
+
main?: string;
|
|
166
|
+
/** Vertical alignment class for the calendar view */
|
|
167
|
+
vertical?: string;
|
|
168
|
+
/** Month view class for the calendar */
|
|
169
|
+
month?: string;
|
|
170
|
+
/** Year view class for the calendar */
|
|
171
|
+
year?: string;
|
|
172
|
+
/** Decade view class for the calendar */
|
|
173
|
+
decade?: string;
|
|
174
|
+
/** Century view class for the calendar */
|
|
175
|
+
century?: string;
|
|
176
|
+
}
|
|
177
|
+
export interface CalendarTableClasses {
|
|
178
|
+
/** Main class for the calendar table */
|
|
179
|
+
main?: string;
|
|
180
|
+
/** Weekdays class for the calendar */
|
|
181
|
+
weekdays?: string;
|
|
182
|
+
}
|
|
183
|
+
export interface CalendarTdClasses {
|
|
184
|
+
/** Main class for the table cell */
|
|
185
|
+
main?: string;
|
|
186
|
+
/** Range start class for the table cell */
|
|
187
|
+
rangeStart?: string;
|
|
188
|
+
/** Range end class for the table cell */
|
|
189
|
+
rangeEnd?: string;
|
|
190
|
+
/** Range middle class for the table cell */
|
|
191
|
+
rangeMid?: string;
|
|
192
|
+
/** Range split end class for the table cell */
|
|
193
|
+
rangeSplitEnd?: string;
|
|
194
|
+
/** Range split start class for the table cell */
|
|
195
|
+
rangeSplitStart?: string;
|
|
196
|
+
/** Active state class for the table cell */
|
|
197
|
+
active?: string;
|
|
198
|
+
/** Focused state class for the table cell */
|
|
199
|
+
focused?: string;
|
|
200
|
+
/** Selected state class for the table cell */
|
|
201
|
+
selected?: string;
|
|
202
|
+
/** Today’s date class for the table cell */
|
|
203
|
+
today?: string;
|
|
204
|
+
/** Weekend class for the table cell */
|
|
205
|
+
weekend?: string;
|
|
206
|
+
/** Disabled state class for the table cell */
|
|
207
|
+
disabled?: string;
|
|
208
|
+
/** Other month class for the table cell */
|
|
209
|
+
isOtherMonth?: string;
|
|
210
|
+
/** Empty state class for the table cell */
|
|
211
|
+
isEmpty?: string;
|
|
212
|
+
/** Week state class for the table cell */
|
|
213
|
+
isWeek?: string;
|
|
214
|
+
}
|
|
215
|
+
export interface CalendarHeaderClasses {
|
|
216
|
+
/** Main class for the calendar header */
|
|
217
|
+
main?: string;
|
|
218
|
+
/** Vertical alignment class for the calendar header */
|
|
219
|
+
vertical?: string;
|
|
220
|
+
}
|
|
221
|
+
export interface CalendarTodayClasses {
|
|
222
|
+
/** Main class for today's calendar entry */
|
|
223
|
+
main?: string;
|
|
224
|
+
/** Disabled state class for today’s calendar entry */
|
|
225
|
+
disabled?: string;
|
|
226
|
+
}
|
|
227
|
+
export interface CalendarScrollableClasses {
|
|
228
|
+
/** Main class for the scrollable calendar area */
|
|
229
|
+
main?: string;
|
|
230
|
+
/** Content class for the scrollable area */
|
|
231
|
+
content?: string;
|
|
232
|
+
/** Horizontal scrollable state class */
|
|
233
|
+
horizontal?: string;
|
|
234
|
+
}
|
|
235
|
+
export interface CalendarClasses {
|
|
236
|
+
/** Wrapper configuration for the calendar */
|
|
237
|
+
wrapper?: CalendarWrapperClasses;
|
|
238
|
+
/** View configuration for the calendar */
|
|
239
|
+
view?: CalendarViewClasses;
|
|
240
|
+
/** Navigation class for the calendar */
|
|
241
|
+
navigation?: string;
|
|
242
|
+
/** Navigation highlight class for the calendar */
|
|
243
|
+
navigationHighlight?: string;
|
|
244
|
+
/** Table configuration for the calendar */
|
|
245
|
+
table?: CalendarTableClasses;
|
|
246
|
+
/** Header class for the calendar */
|
|
247
|
+
thead?: string;
|
|
248
|
+
/** Row class for the calendar */
|
|
249
|
+
tr?: string;
|
|
250
|
+
/** Header cell class for the calendar */
|
|
251
|
+
th?: string;
|
|
252
|
+
/** Caption class for the calendar */
|
|
253
|
+
caption?: string;
|
|
254
|
+
/** Body class for the calendar */
|
|
255
|
+
tbody?: string;
|
|
256
|
+
/** Unordered list class for the calendar */
|
|
257
|
+
ul?: string;
|
|
258
|
+
/** List item class for the calendar */
|
|
259
|
+
li?: string;
|
|
260
|
+
/** Table cell configuration for the calendar */
|
|
261
|
+
td?: CalendarTdClasses;
|
|
262
|
+
/** Title class for the calendar */
|
|
263
|
+
title?: string;
|
|
264
|
+
/** Header configuration for the calendar */
|
|
265
|
+
header?: CalendarHeaderClasses;
|
|
266
|
+
/** Spacer class for the calendar */
|
|
267
|
+
spacer?: string;
|
|
268
|
+
/** Navigation class for the calendar */
|
|
269
|
+
nav?: string;
|
|
270
|
+
/** Today configuration for the calendar */
|
|
271
|
+
today?: CalendarTodayClasses;
|
|
272
|
+
/** Scrollable configuration for the calendar */
|
|
273
|
+
scrollable?: CalendarScrollableClasses;
|
|
274
|
+
/** Scrollable selector class for the calendar */
|
|
275
|
+
scrollableSelector?: string;
|
|
276
|
+
/** Scrollable placeholder configuration for the calendar */
|
|
277
|
+
scrollablePlaceholder?: {
|
|
278
|
+
/** Main class for the scrollable placeholder */
|
|
279
|
+
main?: string;
|
|
280
|
+
/** Horizontal scrollable placeholder class */
|
|
281
|
+
horizontal?: string;
|
|
282
|
+
};
|
|
283
|
+
/** Link class for the calendar */
|
|
284
|
+
link?: string;
|
|
285
|
+
/** Navigation marker class for the calendar */
|
|
286
|
+
navigationMarker?: string;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* @hidden
|
|
290
|
+
*/
|
|
291
|
+
export declare const uCalendar: WidgetClassStructure;
|
|
292
|
+
export interface DateTimeSpinnerClasses {
|
|
293
|
+
/** Main class for the input spinner */
|
|
294
|
+
main?: string;
|
|
295
|
+
/** Button class for the input spinner */
|
|
296
|
+
button?: string;
|
|
297
|
+
}
|
|
298
|
+
export interface DateInputClasses {
|
|
299
|
+
/** Wrapper configuration for the date input */
|
|
300
|
+
wrapper?: {
|
|
301
|
+
/** Main class for the date input wrapper */
|
|
302
|
+
main?: string;
|
|
303
|
+
/** Prefix for the inner input element */
|
|
304
|
+
input?: string;
|
|
305
|
+
/** Size configurations for the date input */
|
|
306
|
+
size?: DateTimeSizeClasses;
|
|
307
|
+
/** Fill mode configurations for the date input */
|
|
308
|
+
fillMode?: DateTimeFillModeClasses;
|
|
309
|
+
/** Rounded configurations for the date input */
|
|
310
|
+
rounded?: DateTimeRoundedClasses;
|
|
311
|
+
/** Disabled state class for the date input */
|
|
312
|
+
disabled?: string;
|
|
313
|
+
/** Required state class for the date input */
|
|
314
|
+
required?: string;
|
|
315
|
+
/** Invalid state class for the date input */
|
|
316
|
+
invalid?: string;
|
|
317
|
+
};
|
|
318
|
+
/** Inner input class for the date input */
|
|
319
|
+
inputInner?: string;
|
|
320
|
+
/** Configuration for the input spinner */
|
|
321
|
+
inputSpinner?: DateTimeSpinnerClasses;
|
|
322
|
+
/** Spinner increase action class */
|
|
323
|
+
spinnerIncrease?: string;
|
|
324
|
+
/** Spinner decrease action class */
|
|
325
|
+
spinnerDecrease?: string;
|
|
326
|
+
/** Clear button class for the date input */
|
|
327
|
+
clearButton?: string;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* @hidden
|
|
331
|
+
*/
|
|
332
|
+
export declare const uDateInput: WidgetClassStructure;
|
|
333
|
+
export interface DateTimePopupClasses {
|
|
334
|
+
/** Main class for the popup container */
|
|
335
|
+
main?: string;
|
|
336
|
+
/** Reset class for the popup */
|
|
337
|
+
reset?: string;
|
|
338
|
+
}
|
|
339
|
+
export interface DateTimePickerClasses {
|
|
340
|
+
/** Wrapper configuration for the date-time picker */
|
|
341
|
+
wrapper?: {
|
|
342
|
+
/** Main class for the date-time picker wrapper */
|
|
343
|
+
main?: string;
|
|
344
|
+
/** Prefix for the inner input element */
|
|
345
|
+
input?: string;
|
|
346
|
+
/** Size configurations for the date-time picker */
|
|
347
|
+
size?: DateTimeSizeClasses;
|
|
348
|
+
/** Fill mode configurations for the date-time picker */
|
|
349
|
+
fillMode?: DateTimeFillModeClasses;
|
|
350
|
+
/** Rounded configurations for the date-time picker */
|
|
351
|
+
rounded?: DateTimeRoundedClasses;
|
|
352
|
+
/** Disabled state class for the date-time picker */
|
|
353
|
+
disabled?: string;
|
|
354
|
+
/** Required state class for the date-time picker */
|
|
355
|
+
required?: string;
|
|
356
|
+
/** Invalid state class for the date-time picker */
|
|
357
|
+
invalid?: string;
|
|
358
|
+
};
|
|
359
|
+
/** Input button class for the date-time picker */
|
|
360
|
+
inputButton?: string;
|
|
361
|
+
/** Configuration for the popup */
|
|
362
|
+
popup?: DateTimePopupClasses;
|
|
363
|
+
/** Wrap configurations for the date-time picker */
|
|
364
|
+
wrap?: {
|
|
365
|
+
/** Main class for the wrap element */
|
|
366
|
+
main?: string;
|
|
367
|
+
/** Date tab class for the wrap */
|
|
368
|
+
date?: string;
|
|
369
|
+
/** Time tab class for the wrap */
|
|
370
|
+
time?: string;
|
|
371
|
+
/** Disabled state class for the wrap */
|
|
372
|
+
disabled?: string;
|
|
373
|
+
};
|
|
374
|
+
/** Footer configurations for the time section */
|
|
375
|
+
timeFooter?: {
|
|
376
|
+
/** Main class for the time footer */
|
|
377
|
+
main?: string;
|
|
378
|
+
/** Actions class for the footer */
|
|
379
|
+
actions?: string;
|
|
380
|
+
/** Stretched state class for the footer */
|
|
381
|
+
stretched?: string;
|
|
382
|
+
};
|
|
383
|
+
/** Button group class for the date-time picker */
|
|
384
|
+
buttonGroup?: string;
|
|
385
|
+
/** Selector class for the date-time picker */
|
|
386
|
+
selector?: string;
|
|
387
|
+
/** Wrap class for the calendar */
|
|
388
|
+
calendarWrap?: string;
|
|
389
|
+
/** Wrap class for the time section */
|
|
390
|
+
timeWrap?: string;
|
|
391
|
+
/** Configuration for the time selector */
|
|
392
|
+
timeSelector?: TimeSelectorClasses;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* @hidden
|
|
396
|
+
*/
|
|
397
|
+
export declare const uDateTimePicker: WidgetClassStructure;
|
package/unstyled/dateinputs.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { getClassByName as d } from "./interfaces/common.mjs";
|
|
9
|
-
import { base as e,
|
|
9
|
+
import { base as e, states as s, containers as o, elements as b, dateInputs as n, actions as y, orientationMap as B, sizeMap as h, components as v, inputPrefix as p, roundedMap as z, fillModeMap as k, calendarPrefix as c, cssUtils as I, directionMap as P, inputs as W } from "./json-classes.mjs";
|
|
10
10
|
const x = {
|
|
11
11
|
footer: {
|
|
12
12
|
main: `${e.prefix}-${n.time}-${b.footer}`,
|
|
@@ -95,14 +95,14 @@ const x = {
|
|
|
95
95
|
large: `${p}-${h.large}`
|
|
96
96
|
},
|
|
97
97
|
fillMode: {
|
|
98
|
-
solid: `${p}-${
|
|
99
|
-
outline: `${p}-${
|
|
100
|
-
flat: `${p}-${
|
|
98
|
+
solid: `${p}-${k.solid}`,
|
|
99
|
+
outline: `${p}-${k.outline}`,
|
|
100
|
+
flat: `${p}-${k.flat}`
|
|
101
101
|
},
|
|
102
102
|
rounded: {
|
|
103
|
-
small: `${e.prefix}-${e.rounded}-${
|
|
104
|
-
medium: `${e.prefix}-${e.rounded}-${
|
|
105
|
-
large: `${e.prefix}-${e.rounded}-${
|
|
103
|
+
small: `${e.prefix}-${e.rounded}-${z.small}`,
|
|
104
|
+
medium: `${e.prefix}-${e.rounded}-${z.medium}`,
|
|
105
|
+
large: `${e.prefix}-${e.rounded}-${z.large}`
|
|
106
106
|
},
|
|
107
107
|
disabled: `${e.prefix}-${s.disabled}`,
|
|
108
108
|
required: `${e.prefix}-${s.required}`,
|
|
@@ -357,14 +357,14 @@ const x = {
|
|
|
357
357
|
large: `${p}-${h.large}`
|
|
358
358
|
},
|
|
359
359
|
fillMode: {
|
|
360
|
-
solid: `${p}-${
|
|
361
|
-
outline: `${p}-${
|
|
362
|
-
flat: `${p}-${
|
|
360
|
+
solid: `${p}-${k.solid}`,
|
|
361
|
+
outline: `${p}-${k.outline}`,
|
|
362
|
+
flat: `${p}-${k.flat}`
|
|
363
363
|
},
|
|
364
364
|
rounded: {
|
|
365
|
-
small: `${e.prefix}-${e.rounded}-${
|
|
366
|
-
medium: `${e.prefix}-${e.rounded}-${
|
|
367
|
-
large: `${e.prefix}-${e.rounded}-${
|
|
365
|
+
small: `${e.prefix}-${e.rounded}-${z.small}`,
|
|
366
|
+
medium: `${e.prefix}-${e.rounded}-${z.medium}`,
|
|
367
|
+
large: `${e.prefix}-${e.rounded}-${z.large}`
|
|
368
368
|
},
|
|
369
369
|
disabled: `${e.prefix}-${s.disabled}`,
|
|
370
370
|
required: `${e.prefix}-${s.required}`,
|
|
@@ -415,14 +415,14 @@ const x = {
|
|
|
415
415
|
large: `${p}-${h.large}`
|
|
416
416
|
},
|
|
417
417
|
fillMode: {
|
|
418
|
-
solid: `${p}-${
|
|
419
|
-
outline: `${p}-${
|
|
420
|
-
flat: `${p}-${
|
|
418
|
+
solid: `${p}-${k.solid}`,
|
|
419
|
+
outline: `${p}-${k.outline}`,
|
|
420
|
+
flat: `${p}-${k.flat}`
|
|
421
421
|
},
|
|
422
422
|
rounded: {
|
|
423
|
-
small: `${e.prefix}-${e.rounded}-${
|
|
424
|
-
medium: `${e.prefix}-${e.rounded}-${
|
|
425
|
-
large: `${e.prefix}-${e.rounded}-${
|
|
423
|
+
small: `${e.prefix}-${e.rounded}-${z.small}`,
|
|
424
|
+
medium: `${e.prefix}-${e.rounded}-${z.medium}`,
|
|
425
|
+
large: `${e.prefix}-${e.rounded}-${z.large}`
|
|
426
426
|
},
|
|
427
427
|
disabled: `${e.prefix}-${s.disabled}`,
|
|
428
428
|
required: `${e.prefix}-${s.required}`,
|