@rebilly/revel 4.21.3 → 5.0.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/CHANGELOG.md +22 -47
- package/README.md +23 -14
- package/dist/common/date-picker-compat.d.ts +1 -0
- package/dist/common/datetime-formats.d.ts +28 -0
- package/dist/common/helpers/debounce.d.ts +2 -0
- package/dist/common/helpers/deep-clone.d.ts +2 -0
- package/dist/common/helpers/format-date.d.ts +4 -0
- package/dist/common/helpers/index.d.ts +6 -0
- package/dist/common/helpers/is-object.d.ts +2 -0
- package/dist/common/helpers/kebab-case.d.ts +2 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/r-avatar/r-avatar.vue.d.ts +86 -0
- package/dist/components/r-badge/r-badge.vue.d.ts +40 -0
- package/dist/components/r-button/r-button.vue.d.ts +195 -0
- package/dist/components/r-button-group/r-button-group.vue.d.ts +18 -0
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +148 -0
- package/dist/components/r-date-input/calendar-presets.d.ts +36 -0
- package/dist/components/r-date-input/r-calendar.vue.d.ts +159 -0
- package/dist/components/r-date-input/r-date-input.vue.d.ts +297 -0
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +167 -0
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +211 -0
- package/dist/components/r-date-input/shared-calendar-options.d.ts +64 -0
- package/dist/components/r-date-input/types.d.ts +8 -0
- package/dist/components/r-date-input/v-calendar.es.d.ts +459 -0
- package/dist/components/r-file-upload/r-file-upload.vue.d.ts +68 -0
- package/dist/components/r-grid/columnTypes/badge.vue.d.ts +42 -0
- package/dist/components/r-grid/columnTypes/date.vue.d.ts +25 -0
- package/dist/components/r-grid/columnTypes/index.d.ts +93 -0
- package/dist/components/r-grid/columnTypes/numeric.vue.d.ts +24 -0
- package/dist/components/r-grid/columnTypes/text.vue.d.ts +26 -0
- package/dist/components/r-grid/columnTypes/types.d.ts +24 -0
- package/dist/components/r-grid/helpers/color-generator.d.ts +4 -0
- package/dist/components/r-grid/r-grid.vue.d.ts +196 -0
- package/dist/components/r-icon/r-icon-sprites.d.ts +128 -0
- package/dist/components/r-icon/r-icon.vue.d.ts +61 -0
- package/dist/components/r-icon-button/r-icon-button.vue.d.ts +133 -0
- package/dist/components/r-img/r-img.vue.d.ts +96 -0
- package/dist/components/r-input/r-input.vue.d.ts +411 -0
- package/dist/components/r-loader/r-loader.vue.d.ts +55 -0
- package/dist/components/r-modal/r-modal.vue.d.ts +132 -0
- package/dist/components/r-month-picker/months.d.ts +1 -0
- package/dist/components/r-month-picker/r-month-picker.vue.d.ts +122 -0
- package/dist/components/r-pagination/r-pagination.vue.d.ts +97 -0
- package/dist/components/r-pagination/types.d.ts +8 -0
- package/dist/components/r-pagination-control/r-pagination-control.vue.d.ts +33 -0
- package/dist/components/r-popper/r-popper.vue.d.ts +275 -0
- package/dist/components/r-radio/r-radio.vue.d.ts +132 -0
- package/dist/components/r-repeater/r-repeater.vue.d.ts +58 -0
- package/dist/components/r-select/async-extension.d.ts +91 -0
- package/dist/components/r-select/r-select.vue.d.ts +733 -0
- package/dist/components/r-select/types.d.ts +29 -0
- package/dist/components/r-tabs/r-tab.vue.d.ts +70 -0
- package/dist/components/r-tabs/r-tabs.vue.d.ts +6983 -0
- package/dist/components/r-tabs/types.d.ts +23 -0
- package/dist/components/r-tile/r-tile.vue.d.ts +2 -0
- package/dist/components/r-toast/default-error-handler.d.ts +4 -0
- package/dist/components/r-toast/r-toast-manager.d.ts +17 -0
- package/dist/components/r-toast/r-toast.vue.d.ts +141 -0
- package/dist/components/r-toast/types.d.ts +19 -0
- package/dist/components/r-toggle/r-toggle.vue.d.ts +69 -0
- package/dist/directives/index.d.ts +8 -0
- package/dist/directives/r-click-outside/r-click-outside.d.ts +10 -0
- package/dist/directives/r-content/r-content.d.ts +9 -0
- package/dist/directives/r-fs-exclude.d.ts +7 -0
- package/dist/directives/r-lazy.d.ts +5 -0
- package/dist/directives/r-tooltip/r-tooltip.d.ts +12 -0
- package/dist/index.d.ts +20 -0
- package/dist/playground/Playground-copyme.vue.d.ts +2 -0
- package/dist/playground/main.d.ts +1 -0
- package/dist/revel.mjs +5577 -4744
- package/dist/revel.umd.js +115 -115
- package/dist/style.css +1 -1
- package/dist/styles/config.d.ts +32 -0
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/tokens.d.ts +130 -0
- package/dist/types.d.ts +24 -0
- package/package.json +107 -85
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const disabledAttribute: {
|
|
2
|
+
contentStyle: {
|
|
3
|
+
color: string;
|
|
4
|
+
fontWeight: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const themeStyles: {
|
|
8
|
+
wrapper: {
|
|
9
|
+
background: string;
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
boxShadow: string;
|
|
12
|
+
border: string;
|
|
13
|
+
fontFamily: string;
|
|
14
|
+
};
|
|
15
|
+
header: {
|
|
16
|
+
padding: string;
|
|
17
|
+
};
|
|
18
|
+
headerTitle: {
|
|
19
|
+
fontSize: string;
|
|
20
|
+
lineHeight: string;
|
|
21
|
+
fontFamily: string;
|
|
22
|
+
fontWeight: string;
|
|
23
|
+
color: string;
|
|
24
|
+
};
|
|
25
|
+
weekdays: {
|
|
26
|
+
fontSize: string;
|
|
27
|
+
lineHeight: string;
|
|
28
|
+
color: string;
|
|
29
|
+
fontWeight: string;
|
|
30
|
+
};
|
|
31
|
+
dayCell: {
|
|
32
|
+
backgroundColor: string;
|
|
33
|
+
};
|
|
34
|
+
dayContent: {
|
|
35
|
+
fontSize: string;
|
|
36
|
+
lineHeight: string;
|
|
37
|
+
color: string;
|
|
38
|
+
width: string;
|
|
39
|
+
height: string;
|
|
40
|
+
};
|
|
41
|
+
dayContentHover: {
|
|
42
|
+
backgroundColor: string;
|
|
43
|
+
};
|
|
44
|
+
verticalDivider: {
|
|
45
|
+
borderLeft: string;
|
|
46
|
+
};
|
|
47
|
+
bars: {
|
|
48
|
+
backgroundColor: string;
|
|
49
|
+
};
|
|
50
|
+
tintColor: string;
|
|
51
|
+
};
|
|
52
|
+
export declare const getComputedPopoverConfigs: (context: {
|
|
53
|
+
attrs: Record<string, unknown>;
|
|
54
|
+
}) => {
|
|
55
|
+
placement: {};
|
|
56
|
+
visibility: string;
|
|
57
|
+
modifiers: {
|
|
58
|
+
name: string;
|
|
59
|
+
options: {
|
|
60
|
+
allowedAutoPlacements: string[];
|
|
61
|
+
fallbackPlacements: string[];
|
|
62
|
+
};
|
|
63
|
+
}[];
|
|
64
|
+
};
|
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
declare const _sfc_main$9: {
|
|
2
|
+
name: string;
|
|
3
|
+
compatConfig: {
|
|
4
|
+
MODE: number;
|
|
5
|
+
};
|
|
6
|
+
emits: string[];
|
|
7
|
+
render(): any;
|
|
8
|
+
props: {
|
|
9
|
+
id: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: boolean;
|
|
12
|
+
};
|
|
13
|
+
contentClass: StringConstructor;
|
|
14
|
+
};
|
|
15
|
+
data(): {
|
|
16
|
+
ref: null;
|
|
17
|
+
opts: null;
|
|
18
|
+
data: null;
|
|
19
|
+
transition: string;
|
|
20
|
+
transitionTranslate: string;
|
|
21
|
+
transitionDuration: string;
|
|
22
|
+
placement: string;
|
|
23
|
+
positionFixed: boolean;
|
|
24
|
+
modifiers: never[];
|
|
25
|
+
isInteractive: boolean;
|
|
26
|
+
isHovered: boolean;
|
|
27
|
+
isFocused: boolean;
|
|
28
|
+
showDelay: number;
|
|
29
|
+
hideDelay: number;
|
|
30
|
+
autoHide: boolean;
|
|
31
|
+
popperEl: null;
|
|
32
|
+
};
|
|
33
|
+
computed: {
|
|
34
|
+
content(): any;
|
|
35
|
+
contentStyle(): any;
|
|
36
|
+
popperOptions(): any;
|
|
37
|
+
isVisible(): any;
|
|
38
|
+
direction(): any;
|
|
39
|
+
alignment(): any;
|
|
40
|
+
};
|
|
41
|
+
watch: {
|
|
42
|
+
opts(val: any, oldVal: any): void;
|
|
43
|
+
};
|
|
44
|
+
mounted(): void;
|
|
45
|
+
beforeUnmount(): void;
|
|
46
|
+
methods: {
|
|
47
|
+
addEvents(): void;
|
|
48
|
+
removeEvents(): void;
|
|
49
|
+
onClick(e: any): void;
|
|
50
|
+
onMouseOver(): void;
|
|
51
|
+
onMouseLeave(): void;
|
|
52
|
+
onFocusIn(): void;
|
|
53
|
+
onFocusOut(e: any): void;
|
|
54
|
+
onDocumentClick(e: any): void;
|
|
55
|
+
onDocumentKeydown(e: any): void;
|
|
56
|
+
onDocumentShowPopover({ detail }: {
|
|
57
|
+
detail: any;
|
|
58
|
+
}): void;
|
|
59
|
+
onDocumentHidePopover({ detail }: {
|
|
60
|
+
detail: any;
|
|
61
|
+
}): void;
|
|
62
|
+
onDocumentTogglePopover({ detail }: {
|
|
63
|
+
detail: any;
|
|
64
|
+
}): void;
|
|
65
|
+
onDocumentUpdatePopover({ detail }: {
|
|
66
|
+
detail: any;
|
|
67
|
+
}): void;
|
|
68
|
+
show(opts?: {}): void;
|
|
69
|
+
hide(opts?: {}): void;
|
|
70
|
+
toggle(opts?: {}): void;
|
|
71
|
+
update(opts?: {}): void;
|
|
72
|
+
setupPopper(): void;
|
|
73
|
+
onPopperUpdate(args: any): void;
|
|
74
|
+
beforeEnter(e: any): void;
|
|
75
|
+
afterEnter(e: any): void;
|
|
76
|
+
beforeLeave(e: any): void;
|
|
77
|
+
afterLeave(e: any): void;
|
|
78
|
+
destroyPopper(): void;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
declare const PopoverRow: any;
|
|
82
|
+
declare function getPopoverTriggerEvents(opts: any): {
|
|
83
|
+
[x: string]: (e: any) => void;
|
|
84
|
+
};
|
|
85
|
+
declare const _sfc_main$3: {
|
|
86
|
+
name: string;
|
|
87
|
+
compatConfig: {
|
|
88
|
+
MODE: number;
|
|
89
|
+
};
|
|
90
|
+
emits: string[];
|
|
91
|
+
render(): any;
|
|
92
|
+
mixins: ({
|
|
93
|
+
props: {
|
|
94
|
+
color: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: () => any;
|
|
97
|
+
};
|
|
98
|
+
isDark: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: () => any;
|
|
101
|
+
};
|
|
102
|
+
firstDayOfWeek: NumberConstructor;
|
|
103
|
+
masks: ObjectConstructor;
|
|
104
|
+
locale: (StringConstructor | ObjectConstructor)[];
|
|
105
|
+
timezone: StringConstructor;
|
|
106
|
+
minDate: null;
|
|
107
|
+
maxDate: null;
|
|
108
|
+
minDateExact: null;
|
|
109
|
+
maxDateExact: null;
|
|
110
|
+
disabledDates: null;
|
|
111
|
+
availableDates: null;
|
|
112
|
+
theme: null;
|
|
113
|
+
};
|
|
114
|
+
computed: {
|
|
115
|
+
$theme(): any;
|
|
116
|
+
$locale(): any;
|
|
117
|
+
disabledDates_(): any;
|
|
118
|
+
availableDates_(): any;
|
|
119
|
+
disabledAttribute(): any;
|
|
120
|
+
};
|
|
121
|
+
methods: {
|
|
122
|
+
formatDate(date: any, mask: any): any;
|
|
123
|
+
parseDate(text: any, mask: any): any;
|
|
124
|
+
normalizeDate(date: any, config: any): any;
|
|
125
|
+
normalizeDates(dates: any): any;
|
|
126
|
+
pageForDate(date: any): any;
|
|
127
|
+
pageForThisMonth(): any;
|
|
128
|
+
};
|
|
129
|
+
} | {
|
|
130
|
+
methods: {
|
|
131
|
+
safeSlot(name: any, args: any, def?: null): any;
|
|
132
|
+
};
|
|
133
|
+
})[];
|
|
134
|
+
provide(): {
|
|
135
|
+
sharedState: any;
|
|
136
|
+
};
|
|
137
|
+
props: {
|
|
138
|
+
rows: {
|
|
139
|
+
type: NumberConstructor;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
columns: {
|
|
143
|
+
type: NumberConstructor;
|
|
144
|
+
default: number;
|
|
145
|
+
};
|
|
146
|
+
step: NumberConstructor;
|
|
147
|
+
titlePosition: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: () => any;
|
|
150
|
+
};
|
|
151
|
+
isExpanded: BooleanConstructor;
|
|
152
|
+
fromDate: DateConstructor;
|
|
153
|
+
toDate: DateConstructor;
|
|
154
|
+
fromPage: ObjectConstructor;
|
|
155
|
+
toPage: ObjectConstructor;
|
|
156
|
+
minPage: ObjectConstructor;
|
|
157
|
+
maxPage: ObjectConstructor;
|
|
158
|
+
transition: StringConstructor;
|
|
159
|
+
attributes: (ObjectConstructor | ArrayConstructor)[];
|
|
160
|
+
trimWeeks: BooleanConstructor;
|
|
161
|
+
disablePageSwipe: BooleanConstructor;
|
|
162
|
+
};
|
|
163
|
+
data(): {
|
|
164
|
+
pages: never[];
|
|
165
|
+
store: null;
|
|
166
|
+
lastFocusedDay: null;
|
|
167
|
+
focusableDay: number;
|
|
168
|
+
transitionName: string;
|
|
169
|
+
inTransition: boolean;
|
|
170
|
+
sharedState: {
|
|
171
|
+
navPopoverId: string;
|
|
172
|
+
dayPopoverId: string;
|
|
173
|
+
theme: {};
|
|
174
|
+
masks: {};
|
|
175
|
+
locale: {};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
computed: {
|
|
179
|
+
firstPage(): any;
|
|
180
|
+
lastPage(): any;
|
|
181
|
+
minPage_(): any;
|
|
182
|
+
maxPage_(): any;
|
|
183
|
+
count(): any;
|
|
184
|
+
step_(): any;
|
|
185
|
+
canMovePrev(): any;
|
|
186
|
+
canMoveNext(): any;
|
|
187
|
+
};
|
|
188
|
+
watch: {
|
|
189
|
+
$locale(): void;
|
|
190
|
+
$theme(): void;
|
|
191
|
+
fromDate(): void;
|
|
192
|
+
fromPage(val: any): void;
|
|
193
|
+
toPage(val: any): void;
|
|
194
|
+
count(): void;
|
|
195
|
+
attributes: {
|
|
196
|
+
handler(val: any): void;
|
|
197
|
+
deep: boolean;
|
|
198
|
+
};
|
|
199
|
+
pages(val: any): void;
|
|
200
|
+
disabledAttribute(): void;
|
|
201
|
+
lastFocusedDay(val: any): void;
|
|
202
|
+
inTransition(val: any): void;
|
|
203
|
+
};
|
|
204
|
+
created(): void;
|
|
205
|
+
mounted(): void;
|
|
206
|
+
beforeUnmount(): void;
|
|
207
|
+
methods: {
|
|
208
|
+
refreshLocale(): void;
|
|
209
|
+
refreshTheme(): void;
|
|
210
|
+
canMove(arg: any, opts?: {}): any;
|
|
211
|
+
movePrev(opts: any): any;
|
|
212
|
+
moveNext(opts: any): any;
|
|
213
|
+
move(arg: any, opts?: {}): Promise<unknown>;
|
|
214
|
+
focusDate(date: any, opts?: {}): Promise<boolean>;
|
|
215
|
+
showPageRange(range: any, opts: any): Promise<unknown>;
|
|
216
|
+
getTargetPageRange(page: any, { position, force }?: {
|
|
217
|
+
position: any;
|
|
218
|
+
force: any;
|
|
219
|
+
}): {
|
|
220
|
+
fromPage: any;
|
|
221
|
+
toPage: {
|
|
222
|
+
month: any;
|
|
223
|
+
year: any;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
getDefaultInitialPage(): any;
|
|
227
|
+
refreshPages({ page, position, force, transition, ignoreCache }?: {
|
|
228
|
+
page: any;
|
|
229
|
+
position?: number | undefined;
|
|
230
|
+
force: any;
|
|
231
|
+
transition: any;
|
|
232
|
+
ignoreCache: any;
|
|
233
|
+
}): Promise<unknown>;
|
|
234
|
+
refreshDisabledDays(pages: any): void;
|
|
235
|
+
refreshFocusableDays(pages: any): void;
|
|
236
|
+
getPageDays(pages?: any): any;
|
|
237
|
+
getPageTransition(oldPage: any, newPage: any, transition?: any): any;
|
|
238
|
+
getPageForAttributes(): any;
|
|
239
|
+
buildPage({ month, year }: {
|
|
240
|
+
month: any;
|
|
241
|
+
year: any;
|
|
242
|
+
}, ignoreCache: any): any;
|
|
243
|
+
initStore(): void;
|
|
244
|
+
refreshAttrs(pages: never[] | undefined, adds: never[] | undefined, deletes: never[] | undefined, reset: any): void;
|
|
245
|
+
handleKeydown(e: any): void;
|
|
246
|
+
handleDayKeydown(day: any): void;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
250
|
+
mode: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
modelValue: {
|
|
255
|
+
type: null;
|
|
256
|
+
required: true;
|
|
257
|
+
};
|
|
258
|
+
modelConfig: {
|
|
259
|
+
type: ObjectConstructor;
|
|
260
|
+
default: () => {};
|
|
261
|
+
};
|
|
262
|
+
is24hr: BooleanConstructor;
|
|
263
|
+
minuteIncrement: NumberConstructor;
|
|
264
|
+
isRequired: BooleanConstructor;
|
|
265
|
+
isRange: BooleanConstructor;
|
|
266
|
+
updateOnInput: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: () => any;
|
|
269
|
+
};
|
|
270
|
+
inputDebounce: {
|
|
271
|
+
type: NumberConstructor;
|
|
272
|
+
default: () => any;
|
|
273
|
+
};
|
|
274
|
+
popover: {
|
|
275
|
+
type: ObjectConstructor;
|
|
276
|
+
default: () => {};
|
|
277
|
+
};
|
|
278
|
+
dragAttribute: ObjectConstructor;
|
|
279
|
+
selectAttribute: ObjectConstructor;
|
|
280
|
+
attributes: ArrayConstructor;
|
|
281
|
+
validHours: (ObjectConstructor | ArrayConstructor | FunctionConstructor)[];
|
|
282
|
+
}, unknown, {
|
|
283
|
+
value_: null;
|
|
284
|
+
dateParts: null;
|
|
285
|
+
activeDate: string;
|
|
286
|
+
dragValue: null;
|
|
287
|
+
inputValues: string[];
|
|
288
|
+
updateTimeout: null;
|
|
289
|
+
watchValue: boolean;
|
|
290
|
+
datePickerPopoverId: string;
|
|
291
|
+
}, {
|
|
292
|
+
isDate(): boolean;
|
|
293
|
+
isDateTime(): boolean;
|
|
294
|
+
isTime(): boolean;
|
|
295
|
+
isDragging(): false;
|
|
296
|
+
modelConfig_(): any;
|
|
297
|
+
inputMask(): any;
|
|
298
|
+
inputMaskHasTime(): boolean;
|
|
299
|
+
inputMaskHasDate(): boolean;
|
|
300
|
+
inputMaskPatch(): number | undefined;
|
|
301
|
+
slotArgs(): {
|
|
302
|
+
inputValue: string | {
|
|
303
|
+
start: string;
|
|
304
|
+
end: string;
|
|
305
|
+
};
|
|
306
|
+
inputEvents: any;
|
|
307
|
+
isDragging: false;
|
|
308
|
+
updateValue: (value: any, opts?: {}) => Promise<unknown>;
|
|
309
|
+
showPopover: (opts?: {}) => void;
|
|
310
|
+
hidePopover: (opts?: {}) => void;
|
|
311
|
+
togglePopover: (opts: any) => void;
|
|
312
|
+
getPopoverTriggerEvents: typeof getPopoverTriggerEvents;
|
|
313
|
+
};
|
|
314
|
+
popover_(): any;
|
|
315
|
+
selectAttribute_(): any;
|
|
316
|
+
dragAttribute_(): any;
|
|
317
|
+
attributes_(): any[];
|
|
318
|
+
}, {
|
|
319
|
+
getDateParts(date: any): any;
|
|
320
|
+
getDateFromParts(parts: any): any;
|
|
321
|
+
refreshDateParts(): void;
|
|
322
|
+
onDocumentKeyDown(e: any): void;
|
|
323
|
+
onDocumentClick(e: any): void;
|
|
324
|
+
onDayClick(day: any): void;
|
|
325
|
+
onDayKeydown(day: any): void;
|
|
326
|
+
handleDayClick(day: any): void;
|
|
327
|
+
onDayMouseEnter(day: any): void;
|
|
328
|
+
onTimeInput(parts: any, isStart: any): void;
|
|
329
|
+
onInputInput(isStart: any): (e: any) => void;
|
|
330
|
+
onInputChange(isStart: any): (e: any) => void;
|
|
331
|
+
onInputUpdate(inputValue: any, isStart: any, opts: any): void;
|
|
332
|
+
onInputShow(isStart: any): void;
|
|
333
|
+
onInputKeyup(e: any): void;
|
|
334
|
+
updateValue(value: any, opts?: {}): Promise<unknown>;
|
|
335
|
+
normalizeConfig(config: any, baseConfig?: any): any;
|
|
336
|
+
forceUpdateValue(value: any, { config, patch, clearIfEqual, formatInput, hidePopover: hidePopover2, isDragging, rangePriority, }?: {
|
|
337
|
+
config?: any;
|
|
338
|
+
patch?: number | undefined;
|
|
339
|
+
clearIfEqual?: boolean | undefined;
|
|
340
|
+
formatInput?: boolean | undefined;
|
|
341
|
+
hidePopover?: boolean | undefined;
|
|
342
|
+
isDragging?: any;
|
|
343
|
+
rangePriority?: number | undefined;
|
|
344
|
+
}): void;
|
|
345
|
+
hasValue(value: any): boolean;
|
|
346
|
+
normalizeValue(value: any, config: any, patch: any, rangePriority: any): any;
|
|
347
|
+
adjustTimeForValue(value: any, config: any): any;
|
|
348
|
+
sortRange(range: any, priority?: number): {
|
|
349
|
+
start: any;
|
|
350
|
+
end: any;
|
|
351
|
+
};
|
|
352
|
+
denormalizeValue(value: any, config?: any): any;
|
|
353
|
+
valuesAreEqual(a: any, b: any): boolean;
|
|
354
|
+
valueIsDisabled(value: any): any;
|
|
355
|
+
formatInput(): void;
|
|
356
|
+
showPopover(opts?: {}): void;
|
|
357
|
+
hidePopover(opts?: {}): void;
|
|
358
|
+
togglePopover(opts: any): void;
|
|
359
|
+
adjustPageRange(isStart: any): void;
|
|
360
|
+
getPageForValue(isStart: any): any;
|
|
361
|
+
move(args: any, opts: any): any;
|
|
362
|
+
focusDate(date: any, opts: any): any;
|
|
363
|
+
}, {
|
|
364
|
+
props: {
|
|
365
|
+
color: {
|
|
366
|
+
type: StringConstructor;
|
|
367
|
+
default: () => any;
|
|
368
|
+
};
|
|
369
|
+
isDark: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: () => any;
|
|
372
|
+
};
|
|
373
|
+
firstDayOfWeek: NumberConstructor;
|
|
374
|
+
masks: ObjectConstructor;
|
|
375
|
+
locale: (StringConstructor | ObjectConstructor)[];
|
|
376
|
+
timezone: StringConstructor;
|
|
377
|
+
minDate: null;
|
|
378
|
+
maxDate: null;
|
|
379
|
+
minDateExact: null;
|
|
380
|
+
maxDateExact: null;
|
|
381
|
+
disabledDates: null;
|
|
382
|
+
availableDates: null;
|
|
383
|
+
theme: null;
|
|
384
|
+
};
|
|
385
|
+
computed: {
|
|
386
|
+
$theme(): any;
|
|
387
|
+
$locale(): any;
|
|
388
|
+
disabledDates_(): any;
|
|
389
|
+
availableDates_(): any;
|
|
390
|
+
disabledAttribute(): any;
|
|
391
|
+
};
|
|
392
|
+
methods: {
|
|
393
|
+
formatDate(date: any, mask: any): any;
|
|
394
|
+
parseDate(text: any, mask: any): any;
|
|
395
|
+
normalizeDate(date: any, config: any): any;
|
|
396
|
+
normalizeDates(dates: any): any;
|
|
397
|
+
pageForDate(date: any): any;
|
|
398
|
+
pageForThisMonth(): any;
|
|
399
|
+
};
|
|
400
|
+
}, import("vue").ComponentOptionsMixin, ("drag" | "update:modelValue" | "dayclick" | "daykeydown" | "popover-will-show" | "popover-did-show" | "popover-will-hide" | "popover-did-hide")[], "drag" | "update:modelValue" | "dayclick" | "daykeydown" | "popover-will-show" | "popover-did-show" | "popover-will-hide" | "popover-did-hide", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
401
|
+
mode: {
|
|
402
|
+
type: StringConstructor;
|
|
403
|
+
default: string;
|
|
404
|
+
};
|
|
405
|
+
modelValue: {
|
|
406
|
+
type: null;
|
|
407
|
+
required: true;
|
|
408
|
+
};
|
|
409
|
+
modelConfig: {
|
|
410
|
+
type: ObjectConstructor;
|
|
411
|
+
default: () => {};
|
|
412
|
+
};
|
|
413
|
+
is24hr: BooleanConstructor;
|
|
414
|
+
minuteIncrement: NumberConstructor;
|
|
415
|
+
isRequired: BooleanConstructor;
|
|
416
|
+
isRange: BooleanConstructor;
|
|
417
|
+
updateOnInput: {
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
default: () => any;
|
|
420
|
+
};
|
|
421
|
+
inputDebounce: {
|
|
422
|
+
type: NumberConstructor;
|
|
423
|
+
default: () => any;
|
|
424
|
+
};
|
|
425
|
+
popover: {
|
|
426
|
+
type: ObjectConstructor;
|
|
427
|
+
default: () => {};
|
|
428
|
+
};
|
|
429
|
+
dragAttribute: ObjectConstructor;
|
|
430
|
+
selectAttribute: ObjectConstructor;
|
|
431
|
+
attributes: ArrayConstructor;
|
|
432
|
+
validHours: (ObjectConstructor | ArrayConstructor | FunctionConstructor)[];
|
|
433
|
+
}>> & {
|
|
434
|
+
onDrag?: ((...args: any[]) => any) | undefined;
|
|
435
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
436
|
+
onDayclick?: ((...args: any[]) => any) | undefined;
|
|
437
|
+
onDaykeydown?: ((...args: any[]) => any) | undefined;
|
|
438
|
+
"onPopover-will-show"?: ((...args: any[]) => any) | undefined;
|
|
439
|
+
"onPopover-did-show"?: ((...args: any[]) => any) | undefined;
|
|
440
|
+
"onPopover-will-hide"?: ((...args: any[]) => any) | undefined;
|
|
441
|
+
"onPopover-did-hide"?: ((...args: any[]) => any) | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
mode: string;
|
|
444
|
+
modelConfig: Record<string, any>;
|
|
445
|
+
is24hr: boolean;
|
|
446
|
+
isRequired: boolean;
|
|
447
|
+
isRange: boolean;
|
|
448
|
+
updateOnInput: boolean;
|
|
449
|
+
inputDebounce: number;
|
|
450
|
+
popover: Record<string, any>;
|
|
451
|
+
}>;
|
|
452
|
+
declare const screensPlugin: {
|
|
453
|
+
install: (app: any, screens: any) => void;
|
|
454
|
+
};
|
|
455
|
+
declare const setup: (app: any, defaults2: any) => void;
|
|
456
|
+
declare const index: {
|
|
457
|
+
install: (app: any, defaults2?: {}) => void;
|
|
458
|
+
};
|
|
459
|
+
export { _sfc_main$3 as Calendar, _sfc_main as DatePicker, _sfc_main$9 as Popover, PopoverRow, screensPlugin as Screens, setup as SetupCalendar, index as default, };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Allow to submit multiple files
|
|
4
|
+
*/
|
|
5
|
+
multiple: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Limit allowed file extensions
|
|
11
|
+
*/
|
|
12
|
+
accept: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Similar to native disabled property
|
|
18
|
+
*/
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, unknown, {
|
|
24
|
+
open: boolean;
|
|
25
|
+
}, {}, {
|
|
26
|
+
/**
|
|
27
|
+
* Open picker with files
|
|
28
|
+
* This function is passed as slot props so child called using scoped slots in order to work.
|
|
29
|
+
*/
|
|
30
|
+
openFileBrowser(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Workaround since 'cancel' and 'close' events for file picker are not explicit emitted.
|
|
33
|
+
* This function is passed as slot props so child called using scoped slots in order to work.
|
|
34
|
+
*/
|
|
35
|
+
setFocus(): void;
|
|
36
|
+
change(event: Event): void;
|
|
37
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "input" | "cancel")[], "close" | "input" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
/**
|
|
39
|
+
* Allow to submit multiple files
|
|
40
|
+
*/
|
|
41
|
+
multiple: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Limit allowed file extensions
|
|
47
|
+
*/
|
|
48
|
+
accept: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Similar to native disabled property
|
|
54
|
+
*/
|
|
55
|
+
disabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
}>> & {
|
|
60
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
accept: string;
|
|
66
|
+
multiple: boolean;
|
|
67
|
+
}>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { GridColumn } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* renderOptions:
|
|
5
|
+
* backgroundColor: a color value for the background-color of the badge
|
|
6
|
+
* color: a color value for the color of the badge text
|
|
7
|
+
* styles: an object for additional styles for the badge
|
|
8
|
+
* type: type of the badge: default, negative or any other
|
|
9
|
+
*
|
|
10
|
+
* If column value is an array, place each item of that array inside a badge,
|
|
11
|
+
* otherwise add the column value in the badge.
|
|
12
|
+
*/
|
|
13
|
+
declare const _default: import("vue").DefineComponent<{
|
|
14
|
+
value: {
|
|
15
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
row: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
column: {
|
|
23
|
+
type: PropType<GridColumn>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}, unknown, unknown, {
|
|
27
|
+
badgeType(): unknown;
|
|
28
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
value: {
|
|
30
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
row: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
column: {
|
|
38
|
+
type: PropType<GridColumn>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
}>>, {}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { DateColumn } from './types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
column: {
|
|
5
|
+
type: PropType<DateColumn>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, unknown, unknown, {
|
|
13
|
+
displayValue(): string;
|
|
14
|
+
title(): string;
|
|
15
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
column: {
|
|
17
|
+
type: PropType<DateColumn>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
value: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>>, {}>;
|
|
25
|
+
export default _default;
|