@mythpe/quasar-ui-qui 0.2.43 → 0.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -1
- package/src/boot/register.ts +1 -2
- package/src/components/index.ts +2 -1
- package/src/components/map/MMap.vue +69 -0
- package/src/components/map/index.ts +12 -0
- package/src/global.d.ts +16 -0
- package/src/plugin/defineAsyncComponents.ts +2 -0
- package/src/types/api/MAvatarViewer.d.ts +2 -1
- package/src/types/api/MBlock.d.ts +29 -0
- package/src/types/api/MBtn.d.ts +25 -0
- package/src/types/api/MCheckbox.d.ts +33 -0
- package/src/types/api/MCkeditor.d.ts +40 -0
- package/src/types/api/MCol.d.ts +55 -0
- package/src/types/api/MColumn.d.ts +16 -0
- package/src/types/api/MContainer.d.ts +19 -0
- package/src/types/api/MDate.d.ts +15 -0
- package/src/types/api/MDialog.d.ts +18 -0
- package/src/types/api/MEditor.d.ts +13 -0
- package/src/types/api/MField.d.ts +12 -0
- package/src/types/api/MFile.d.ts +21 -0
- package/src/types/api/MForm.d.ts +55 -0
- package/src/types/api/MHelpRow.d.ts +19 -0
- package/src/types/api/MHidden.d.ts +20 -0
- package/src/types/api/MHiddenInput.d.ts +26 -0
- package/src/types/api/MInput.d.ts +159 -0
- package/src/types/api/MInputFieldControl.d.ts +16 -0
- package/src/types/api/MInputLabel.d.ts +17 -0
- package/src/types/api/MMap.d.ts +24 -0
- package/src/types/api/MModalMenu.d.ts +17 -0
- package/src/types/api/MOptions.d.ts +62 -0
- package/src/types/api/MOtp.d.ts +52 -0
- package/src/types/api/MPassword.d.ts +20 -0
- package/src/types/api/MPicker.d.ts +41 -0
- package/src/types/api/MRadio.d.ts +13 -0
- package/src/types/api/MRow.d.ts +24 -0
- package/src/types/api/MSar.d.ts +25 -0
- package/src/types/api/MSelect.d.ts +1 -1
- package/src/types/api/MSignaturePad.d.ts +2 -1
- package/src/types/api/MTime.d.ts +12 -0
- package/src/types/api/MToggle.d.ts +39 -0
- package/src/types/api/MTooltip.d.ts +136 -0
- package/src/types/api/MTypingString.d.ts +24 -0
- package/src/types/api/MUploader.d.ts +163 -0
- package/src/types/components.d.ts +38 -984
- package/src/types/google.d.ts +19 -0
- package/src/types/index.d.ts +86 -2
- package/src/types/m-datatable.d.ts +3 -1
- package/src/types/{myth-api.ts → myth-api.d.ts} +9 -2
- package/src/types/plugin-props-option.d.ts +24 -26
- package/src/types/theme.d.ts +3 -1
- package/src/utils/createMyth.ts +13 -15
- package/src/utils/vue-plugin.ts +4 -3
- package/tsconfig.json +5 -1
- package/src/types/install-options.d.ts +0 -14
- package/src/types/m-geolocation.d.ts +0 -16
|
@@ -6,996 +6,47 @@
|
|
|
6
6
|
* Github: https://github.com/mythpe
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import type {
|
|
10
|
-
|
|
11
|
-
QBtnProps,
|
|
12
|
-
QBtnSlots,
|
|
13
|
-
QCheckboxProps,
|
|
14
|
-
QDateProps,
|
|
15
|
-
QDialogProps,
|
|
16
|
-
QEditorProps,
|
|
17
|
-
QEditorSlots,
|
|
18
|
-
QFieldSlots,
|
|
19
|
-
QFileProps,
|
|
20
|
-
QFileSlots,
|
|
21
|
-
QIconProps,
|
|
22
|
-
QInputProps,
|
|
23
|
-
QInputSlots,
|
|
24
|
-
QItemProps,
|
|
25
|
-
QMenuProps,
|
|
26
|
-
QOptionGroupProps,
|
|
27
|
-
QOptionGroupSlots,
|
|
28
|
-
QPopupProxyProps,
|
|
29
|
-
QRadioProps,
|
|
30
|
-
QTimeProps,
|
|
31
|
-
QToggleProps,
|
|
32
|
-
QTooltipProps,
|
|
33
|
-
QUploaderProps,
|
|
34
|
-
QUploaderSlots
|
|
35
|
-
} from 'quasar'
|
|
36
|
-
import type { MaybeRefOrGetter, UnwrapNestedRefs, VNode } from 'vue'
|
|
37
|
-
import type { TypedOptions } from 'typed.js'
|
|
38
|
-
import type { FieldContext, FieldOptions, FormContext, FormOptions, FormState } from 'vee-validate'
|
|
39
|
-
import type { ThemeShadow, ThemeSize } from './theme'
|
|
40
|
-
import type { ApiInterface, HelpersStubSchema } from './api-helpers'
|
|
9
|
+
import type { GlobalComponentConstructor } from 'quasar'
|
|
10
|
+
import type { ApiInterface } from './api-helpers'
|
|
41
11
|
import type { MDatatableProps, MDatatableSlots, MDtAvatarProps, MDtAvatarSlots, MDtBtnProps, MDtBtnSlots, MDtContextmenuItemsProps, MDtContextmenuItemsSlots } from './m-datatable'
|
|
42
|
-
import type { EditorConfig } from 'https://cdn.ckeditor.com/typings/ckeditor5.d.ts'
|
|
43
12
|
import type { MAvatarViewerProps, MAvatarViewerSlots } from './api/MAvatarViewer'
|
|
44
13
|
import type { MTransitionGroupProps, MTransitionProps, MTransitionsSlots } from './api/MTransition'
|
|
45
14
|
import type { MAxiosProps, MAxiosSlots } from './api/MAxios'
|
|
46
15
|
import type { MSelectProps, MSelectSlots } from './api/MSelect'
|
|
47
16
|
import type { MSignaturePadProps, MSignaturePadSlots } from './api/MSignaturePad'
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export type MBlockSlots = {
|
|
82
|
-
default?: () => VNode[];
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export type ColStyleType =
|
|
86
|
-
boolean
|
|
87
|
-
| undefined
|
|
88
|
-
| string
|
|
89
|
-
| number
|
|
90
|
-
| 'auto'
|
|
91
|
-
| 'grow'
|
|
92
|
-
| 'shrink'
|
|
93
|
-
| '1'
|
|
94
|
-
| '2'
|
|
95
|
-
| '3'
|
|
96
|
-
| '4'
|
|
97
|
-
| '5'
|
|
98
|
-
| '6'
|
|
99
|
-
| '7'
|
|
100
|
-
| '8'
|
|
101
|
-
| '9'
|
|
102
|
-
| '10'
|
|
103
|
-
| '11'
|
|
104
|
-
| '12'
|
|
105
|
-
| 1
|
|
106
|
-
| 2
|
|
107
|
-
| 3
|
|
108
|
-
| 4
|
|
109
|
-
| 5
|
|
110
|
-
| 6
|
|
111
|
-
| 7
|
|
112
|
-
| 8
|
|
113
|
-
| 9
|
|
114
|
-
| 10
|
|
115
|
-
| 11
|
|
116
|
-
| 12
|
|
117
|
-
|
|
118
|
-
export type MColProps = {
|
|
119
|
-
auto?: boolean;
|
|
120
|
-
col?: ColStyleType;
|
|
121
|
-
xs?: ColStyleType;
|
|
122
|
-
sm?: ColStyleType;
|
|
123
|
-
md?: ColStyleType;
|
|
124
|
-
lg?: ColStyleType;
|
|
125
|
-
xl?: ColStyleType;
|
|
126
|
-
name?: string;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export type MColSlots = {
|
|
130
|
-
default?: () => VNode[];
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export type MColumnProps = {
|
|
134
|
-
[key: string]: any;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export type MColumnSlots = {
|
|
138
|
-
default?: () => VNode[];
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export type MContainerProps = {
|
|
142
|
-
size?: ThemeSize | string | undefined;
|
|
143
|
-
dense?: boolean | undefined;
|
|
144
|
-
fluid?: boolean | undefined;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export type MContainerSlots = {
|
|
148
|
-
default?: () => VNode[];
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export type MRowProps = {
|
|
152
|
-
/**
|
|
153
|
-
* Default: false.
|
|
154
|
-
*/
|
|
155
|
-
gutter?: boolean | ThemeSize | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* Default: false.
|
|
158
|
-
*/
|
|
159
|
-
col?: boolean | ThemeSize | undefined;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export type MRowSlots = {
|
|
163
|
-
default?: () => VNode[];
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export type MHelpRowProps = Partial<QItemProps> & {
|
|
167
|
-
text?: string | undefined;
|
|
168
|
-
icon?: string | undefined;
|
|
169
|
-
tooltip?: boolean | undefined;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export type MHelpRowSlots = {
|
|
173
|
-
default?: () => VNode[];
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export type MTypingStringProps = {
|
|
177
|
-
name: number | string;
|
|
178
|
-
tag?: string;
|
|
179
|
-
string: string | string[];
|
|
180
|
-
loop?: TypedOptions['loop'];
|
|
181
|
-
typeSpeed?: TypedOptions['typeSpeed'];
|
|
182
|
-
backDelay?: TypedOptions['backDelay'];
|
|
183
|
-
fadeOut?: TypedOptions['fadeOut'];
|
|
184
|
-
options?: Omit<TypedOptions, 'loop' | 'typeSpeed' | 'backDelay' | 'fadeOut'>;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export type MTypingStringSlots = {
|
|
188
|
-
default?: () => VNode[];
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export type BaseInputFieldPropContext = FieldContext<any>
|
|
192
|
-
|
|
193
|
-
export type BaseInputFieldProps = {
|
|
194
|
-
/**
|
|
195
|
-
* Context of field input.
|
|
196
|
-
*/
|
|
197
|
-
field: UnwrapNestedRefs<BaseInputFieldPropContext>;
|
|
198
|
-
label?: string | undefined;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export type MInputFieldControlProps = {
|
|
202
|
-
[k: string]: any;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export type MInputFieldControlSlots = {
|
|
206
|
-
default: () => VNode[];
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export type MInputLabelProps = BaseInputFieldProps
|
|
210
|
-
|
|
211
|
-
export type MInputLabelSlots = {
|
|
212
|
-
before?: () => VNode[];
|
|
213
|
-
default?: () => VNode[];
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
export type ViewModeProps = {
|
|
217
|
-
/**
|
|
218
|
-
* Set input to vie mode use q-field
|
|
219
|
-
*/
|
|
220
|
-
viewMode?: boolean;
|
|
221
|
-
/**
|
|
222
|
-
* View Mode value for input or modelValue.
|
|
223
|
-
*/
|
|
224
|
-
viewModeValue?: any | undefined;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export type InputHelpProps = {
|
|
228
|
-
/**
|
|
229
|
-
* Information text with Icon.
|
|
230
|
-
*/
|
|
231
|
-
help?: string;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export type InputHelpSlots = {
|
|
235
|
-
/**
|
|
236
|
-
* VNode bottom of input & before 'bottom-input slot'.
|
|
237
|
-
*/
|
|
238
|
-
help: () => VNode[];
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
export type InputRulesContext = string | string[] | Record<string, any> | undefined;
|
|
242
|
-
export type InputErrorsContext = string[];
|
|
243
|
-
export type InputFormErrorsContext = Record<string, InputErrorsContext> | undefined;
|
|
244
|
-
|
|
245
|
-
export type BaseInputFormProps = {
|
|
246
|
-
/**
|
|
247
|
-
* Input name.
|
|
248
|
-
*/
|
|
249
|
-
name: string;
|
|
250
|
-
/**
|
|
251
|
-
* Input model value.
|
|
252
|
-
* can be used instead of initialValue.
|
|
253
|
-
*/
|
|
254
|
-
modelValue?: any;
|
|
255
|
-
/**
|
|
256
|
-
* Input Label.
|
|
257
|
-
*/
|
|
258
|
-
label?: string | null;
|
|
259
|
-
/**
|
|
260
|
-
* Caption under label.
|
|
261
|
-
*/
|
|
262
|
-
caption?: string | undefined;
|
|
263
|
-
/**
|
|
264
|
-
* Input Hint.
|
|
265
|
-
*/
|
|
266
|
-
hint?: string | undefined;
|
|
267
|
-
/**
|
|
268
|
-
* Input Placeholder.
|
|
269
|
-
*/
|
|
270
|
-
placeholder?: string | undefined;
|
|
271
|
-
/**
|
|
272
|
-
* Input Required validation.
|
|
273
|
-
*/
|
|
274
|
-
required?: boolean;
|
|
275
|
-
/**
|
|
276
|
-
* Input Validation Rules.
|
|
277
|
-
*/
|
|
278
|
-
rules?: InputRulesContext;
|
|
279
|
-
/**
|
|
280
|
-
* Input Error Messages.
|
|
281
|
-
*/
|
|
282
|
-
// errors?: InputErrorsContext;
|
|
283
|
-
/**
|
|
284
|
-
* Form Error Messages.
|
|
285
|
-
*/
|
|
286
|
-
// formErrors?: InputFormErrorsContext;
|
|
287
|
-
/**
|
|
288
|
-
* Input autocomplete attribute.
|
|
289
|
-
* if true, will set from input name.
|
|
290
|
-
* if false, will set 'off'.
|
|
291
|
-
* else, will set the attribute value.
|
|
292
|
-
* Default: undefined.
|
|
293
|
-
*/
|
|
294
|
-
autocomplete?: boolean | string | undefined;
|
|
295
|
-
/**
|
|
296
|
-
* Inputs Top Label.
|
|
297
|
-
*/
|
|
298
|
-
topLabel?: boolean;
|
|
299
|
-
/**
|
|
300
|
-
* Mobile Rule.
|
|
301
|
-
*/
|
|
302
|
-
mobile?: boolean | string | number | ((value: unknown) => number | undefined) | undefined;
|
|
303
|
-
/**
|
|
304
|
-
* Email Rule.
|
|
305
|
-
*/
|
|
306
|
-
email?: boolean;
|
|
307
|
-
/**
|
|
308
|
-
* Number Rule.
|
|
309
|
-
*/
|
|
310
|
-
float?: boolean;
|
|
311
|
-
/**
|
|
312
|
-
* vee-validate Field Options.
|
|
313
|
-
*/
|
|
314
|
-
fieldOptions?: Partial<FieldOptions> | MaybeRefOrGetter<Partial<FieldOptions>>;
|
|
315
|
-
/**
|
|
316
|
-
* choice key of auto placeholder.
|
|
317
|
-
*/
|
|
318
|
-
useChoice?: boolean | string;
|
|
319
|
-
prependIcon?: string;
|
|
320
|
-
prependIconProps?: Partial<QIconProps>;
|
|
321
|
-
appendIcon?: string;
|
|
322
|
-
appendIconProps?: Partial<QIconProps>;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
export type BaseInputsProps = ViewModeProps & InputHelpProps & Omit<MColProps, 'name'> & BaseInputFormProps
|
|
326
|
-
|
|
327
|
-
export type BaseInputsSlots = InputHelpSlots & {
|
|
328
|
-
/**
|
|
329
|
-
* VNode top of input & top of 'top label slot'.
|
|
330
|
-
*/
|
|
331
|
-
'top-input': () => VNode[];
|
|
332
|
-
/**
|
|
333
|
-
* The label top on input
|
|
334
|
-
*/
|
|
335
|
-
'top-label': () => VNode[];
|
|
336
|
-
/**
|
|
337
|
-
* VNode top of input & after top label.
|
|
338
|
-
*/
|
|
339
|
-
caption: () => VNode[];
|
|
340
|
-
/**
|
|
341
|
-
* Field main content
|
|
342
|
-
*/
|
|
343
|
-
default: () => VNode[];
|
|
344
|
-
/**
|
|
345
|
-
* VNode bottom of input.
|
|
346
|
-
*/
|
|
347
|
-
'bottom-input': () => VNode[];
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export interface MInputProps extends Omit<QInputProps, 'rules' | 'name' | 'modelValue' | 'label' | 'hint'>, BaseInputsProps {
|
|
351
|
-
sar?: boolean;
|
|
352
|
-
prependIcon?: string;
|
|
353
|
-
prependIconProps?: Partial<QIconProps>;
|
|
354
|
-
appendIcon?: string;
|
|
355
|
-
appendIconProps?: Partial<QIconProps>;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
export type MInputSlots = QInputSlots & QFieldSlots & BaseInputsSlots
|
|
359
|
-
|
|
360
|
-
export type MPasswordProps = MInputProps & {
|
|
361
|
-
/**
|
|
362
|
-
* icon prepend it to password input.
|
|
363
|
-
*/
|
|
364
|
-
icon?: boolean | undefined;
|
|
365
|
-
/**
|
|
366
|
-
* toggle password append icon.
|
|
367
|
-
*/
|
|
368
|
-
noToggle?: boolean | undefined;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
export type MEditorProps = Omit<QEditorProps, 'modelValue' | 'placeholder'> & BaseInputsProps
|
|
372
|
-
|
|
373
|
-
export type MEditorSlots = QEditorSlots & BaseInputsSlots
|
|
374
|
-
|
|
375
|
-
export type MFileProps = Omit<QFileProps, 'modelValue' | 'rules' | 'name' | 'label' | 'hint'> & Omit<BaseInputsProps, 'autocomplete'> & {
|
|
376
|
-
accept?: string | undefined
|
|
377
|
-
images?: boolean | string
|
|
378
|
-
svg?: boolean | string
|
|
379
|
-
video?: boolean | string
|
|
380
|
-
pdf?: boolean | string
|
|
381
|
-
excel?: boolean | string
|
|
382
|
-
dragDrop?: boolean | undefined
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
export type MFileSlots = QFileSlots & BaseInputsSlots
|
|
386
|
-
|
|
387
|
-
export type BaseCheckboxProps = Omit<BaseInputsProps, 'topLabel'> & {
|
|
388
|
-
/**
|
|
389
|
-
* Input row props.
|
|
390
|
-
*/
|
|
391
|
-
rowProps?: Record<string, any>;
|
|
392
|
-
/**
|
|
393
|
-
* Input column props.
|
|
394
|
-
*/
|
|
395
|
-
colProps?: Record<string, any>;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export type MCheckboxProps = BaseCheckboxProps & Omit<QCheckboxProps, 'name' | 'modelValue' | 'label'>
|
|
399
|
-
|
|
400
|
-
export type MCheckboxSlots = Omit<BaseInputsSlots & 'top-label'> & {
|
|
401
|
-
/**
|
|
402
|
-
* VNode before field main content.
|
|
403
|
-
*/
|
|
404
|
-
before: () => VNode[];
|
|
405
|
-
/**
|
|
406
|
-
* VNode after field main content.
|
|
407
|
-
*/
|
|
408
|
-
after: () => VNode[];
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
export type MRadioProps = Omit<QRadioProps, 'name' | 'modelValue' | 'label'> & BaseCheckboxProps
|
|
412
|
-
|
|
413
|
-
export type MRadioSlots = MCheckboxSlots
|
|
414
|
-
|
|
415
|
-
export interface MPickerProps extends BaseInputsProps, Omit<QDateProps, 'modelValue' | 'options'>, Omit<QTimeProps, 'modelValue'> {
|
|
416
|
-
/**
|
|
417
|
-
* Initial value of the picker.
|
|
418
|
-
* Default is: null.
|
|
419
|
-
*/
|
|
420
|
-
modelValue?: string | any[] | any | null | undefined;
|
|
421
|
-
/**
|
|
422
|
-
* Type of picker. 'date' or 'time'.
|
|
423
|
-
* Default is: 'date'.
|
|
424
|
-
*/
|
|
425
|
-
type?: 'date' | 'time';
|
|
426
|
-
/**
|
|
427
|
-
* QBtn props for append button.
|
|
428
|
-
*/
|
|
429
|
-
btnProps?: QBtnProps;
|
|
430
|
-
/**
|
|
431
|
-
* Value of separator for range picker.
|
|
432
|
-
* Default is: ' - '.
|
|
433
|
-
*/
|
|
434
|
-
rangeSeparator?: string;
|
|
435
|
-
/**
|
|
436
|
-
* User long days & months names.
|
|
437
|
-
* Only work for 'date' type.
|
|
438
|
-
*/
|
|
439
|
-
noDefaultLocale?: boolean;
|
|
440
|
-
prependIcon?: string;
|
|
441
|
-
prependIconProps?: Partial<QIconProps>;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
export type MPickerSlots = MInputSlots
|
|
445
|
-
|
|
446
|
-
export interface MDateProps extends Omit<MPickerProps, 'type'> {
|
|
447
|
-
type?: 'date'
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
export type MDateSlots = MPickerSlots
|
|
451
|
-
|
|
452
|
-
export type MTimeProps = Omit<MPickerProps, 'type'>
|
|
453
|
-
|
|
454
|
-
export type MTimeSlots = MPickerSlots
|
|
455
|
-
|
|
456
|
-
export type MFieldProps = Omit<MInputProps, 'viewMode' | 'viewModeValue' | 'fieldOptions'>
|
|
457
|
-
|
|
458
|
-
export type MFieldSlots = MInputSlots
|
|
459
|
-
|
|
460
|
-
export type MHiddenInputSlots = {
|
|
461
|
-
[key: string]: () => VNode[]
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export type MHiddenInputProps = Pick<BaseInputFormProps, 'rules' | 'required'> & Pick<QInputProps, 'type'> & {
|
|
465
|
-
/**
|
|
466
|
-
* Input name.
|
|
467
|
-
*/
|
|
468
|
-
name: string
|
|
469
|
-
/**
|
|
470
|
-
* Input model value.
|
|
471
|
-
*/
|
|
472
|
-
modelValue?: any
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
export type MHiddenProps = MHiddenInputProps & Pick<ViewModeProps, 'viewMode'> & Omit<MColProps, 'name'>
|
|
476
|
-
|
|
477
|
-
export type MHiddenSlots = {
|
|
478
|
-
/**
|
|
479
|
-
* Field main content
|
|
480
|
-
*/
|
|
481
|
-
default: () => VNode[];
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
export type MFormScope = FormContext;
|
|
485
|
-
|
|
486
|
-
export type MFormProps = {
|
|
487
|
-
/**
|
|
488
|
-
* Form HTML element attributes.
|
|
489
|
-
*/
|
|
490
|
-
formProps?: Record<string, any>;
|
|
491
|
-
/**
|
|
492
|
-
* Default options of useForm.
|
|
493
|
-
*/
|
|
494
|
-
opts?: FormOptions<Record<string, any>>;
|
|
495
|
-
/**
|
|
496
|
-
* The target to which the page will be scrolled.
|
|
497
|
-
* Default is: Window.
|
|
498
|
-
*/
|
|
499
|
-
target?: HTMLElement | string | undefined;
|
|
500
|
-
/**
|
|
501
|
-
* Emit values instead controlled values.
|
|
502
|
-
* Default is: false.
|
|
503
|
-
*/
|
|
504
|
-
emitValues?: boolean;
|
|
505
|
-
/**
|
|
506
|
-
* Watch to reset form values.
|
|
507
|
-
*/
|
|
508
|
-
readonly state?: MaybeRefOrGetter<Partial<FormState<Record<string, any>>>>;
|
|
509
|
-
/**
|
|
510
|
-
* Watch to reset form values.
|
|
511
|
-
*/
|
|
512
|
-
readonly form?: MaybeRefOrGetter<Record<string, any>>;
|
|
513
|
-
/**
|
|
514
|
-
* Watch to set form values.
|
|
515
|
-
*/
|
|
516
|
-
readonly values?: MaybeRefOrGetter<Record<string, any>>;
|
|
517
|
-
/**
|
|
518
|
-
* Watch to set form errors.
|
|
519
|
-
*/
|
|
520
|
-
readonly errors?: MaybeRefOrGetter<Record<string, string | string[]>>;
|
|
521
|
-
/**
|
|
522
|
-
* Apply padding to form.
|
|
523
|
-
*/
|
|
524
|
-
readonly padding?: boolean;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
export type MFormSlots = {
|
|
528
|
-
default: (scope: MFormScope) => VNode[];
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
export declare type GenericFormValues = Record<any, any>;
|
|
532
|
-
|
|
533
|
-
export interface MOptionsOptionContext extends Omit<QToggleProps, 'modelValue'>, Omit<QRadioProps, 'modelValue'>, Omit<QCheckboxProps, 'modelValue'> {
|
|
534
|
-
/**
|
|
535
|
-
* Label to display along the component
|
|
536
|
-
*/
|
|
537
|
-
label: string;
|
|
538
|
-
/**
|
|
539
|
-
* Value of the option that will be used by the component model
|
|
540
|
-
*/
|
|
541
|
-
value: any;
|
|
542
|
-
/**
|
|
543
|
-
* If true, the option will be disabled
|
|
544
|
-
*/
|
|
545
|
-
disable?: boolean;
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Any other props from QToggle & QCheckbox, or QRadio
|
|
549
|
-
*/
|
|
550
|
-
[key: string]: any;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export type MOptionsProps = Omit<QOptionGroupProps, 'name' | 'modelValue' | 'options'> &
|
|
554
|
-
Omit<BaseInputsProps, 'autocomplete' | 'modelValue'> & {
|
|
555
|
-
modelValue?: any;
|
|
556
|
-
/**
|
|
557
|
-
* Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle & QCheckbox or QRadio can also be added as key/value pairs to control the components singularly
|
|
558
|
-
*/
|
|
559
|
-
options?: MOptionsOptionContext[];
|
|
560
|
-
/**
|
|
561
|
-
* Uset auto static index myth api helpers.
|
|
562
|
-
*/
|
|
563
|
-
guest?: boolean | undefined;
|
|
564
|
-
/**
|
|
565
|
-
* Get options by function. any send the current value to this function to get options.
|
|
566
|
-
*/
|
|
567
|
-
service?: ((value?: any) => Promise<ApiInterface>) | string;
|
|
568
|
-
/**
|
|
569
|
-
* Service loading.
|
|
570
|
-
*/
|
|
571
|
-
loading?: boolean | undefined;
|
|
572
|
-
/**
|
|
573
|
-
* Set content to be full width.
|
|
574
|
-
*/
|
|
575
|
-
fullWidth?: boolean;
|
|
576
|
-
/**
|
|
577
|
-
* Set width of content to be equals.
|
|
578
|
-
* Default is: 33.33333333%
|
|
579
|
-
*/
|
|
580
|
-
fitWidth?: boolean;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
export type MOtpProps = Omit<QInputProps, 'modelValue'> & {
|
|
584
|
-
/**
|
|
585
|
-
* Value of input after typing all inputs.
|
|
586
|
-
*/
|
|
587
|
-
modelValue?: any;
|
|
588
|
-
/**
|
|
589
|
-
* Length of inputs.
|
|
590
|
-
*/
|
|
591
|
-
inputLength?: string | number;
|
|
592
|
-
/**
|
|
593
|
-
* Values is string not number.
|
|
594
|
-
*/
|
|
595
|
-
string?: boolean;
|
|
596
|
-
/**
|
|
597
|
-
* Resend time countdown in seconds.
|
|
598
|
-
*/
|
|
599
|
-
time?: string | number;
|
|
600
|
-
/**
|
|
601
|
-
* Don't use timing to resend code.
|
|
602
|
-
*/
|
|
603
|
-
noTiming?: boolean;
|
|
604
|
-
/**
|
|
605
|
-
* Don't use send again button.
|
|
606
|
-
*/
|
|
607
|
-
noSendAgain?: boolean;
|
|
608
|
-
/**
|
|
609
|
-
* Top input label.
|
|
610
|
-
*/
|
|
611
|
-
topLabel?: string | undefined;
|
|
612
|
-
/**
|
|
613
|
-
* Top input props.
|
|
614
|
-
*/
|
|
615
|
-
topLabelProps?: any | undefined;
|
|
616
|
-
errors?: string[];
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
export type MOtpSlots = QInputSlots & {
|
|
620
|
-
default: () => VNode[];
|
|
621
|
-
'before-all': () => VNode[];
|
|
622
|
-
'after-all': () => VNode[];
|
|
623
|
-
'after-input': () => VNode[];
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
export type MOptionsSlots = QOptionGroupSlots & QFieldSlots & BaseInputsSlots
|
|
627
|
-
|
|
628
|
-
export type MToggleProps = Omit<BaseInputsProps, 'placeholder' | 'topLabel' | 'autocomplete' | 'modelValue'> &
|
|
629
|
-
Omit<QToggleProps, 'modelValue' | 'label' | 'name'> & {
|
|
630
|
-
modelValue?: any;
|
|
631
|
-
/**
|
|
632
|
-
* Customize the label when the toggle is true.
|
|
633
|
-
* Default is: Yes.
|
|
634
|
-
*/
|
|
635
|
-
activeLabel?: string;
|
|
636
|
-
/**
|
|
637
|
-
* Customize the label when the toggle is false.
|
|
638
|
-
* Default is: No.
|
|
639
|
-
*/
|
|
640
|
-
inactiveLabel?: string;
|
|
641
|
-
/**
|
|
642
|
-
* Set labels of toggle to status, Active & Inactive.
|
|
643
|
-
*/
|
|
644
|
-
status?: boolean;
|
|
645
|
-
/**
|
|
646
|
-
* Input row props.
|
|
647
|
-
*/
|
|
648
|
-
rowProps?: Record<string, any>;
|
|
649
|
-
/**
|
|
650
|
-
* Input column props.
|
|
651
|
-
*/
|
|
652
|
-
colProps?: Record<string, any>;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
export type MToggleSlots = MCheckboxSlots & Pick<BaseInputsProps, 'topLabel'>
|
|
656
|
-
|
|
657
|
-
export type MUploaderMediaItem = {
|
|
658
|
-
id: number;
|
|
659
|
-
value: number;
|
|
660
|
-
name: string;
|
|
661
|
-
file_name: string;
|
|
662
|
-
type: string;
|
|
663
|
-
size: number;
|
|
664
|
-
size_to_string: string;
|
|
665
|
-
url: string;
|
|
666
|
-
download_url: string;
|
|
667
|
-
icon: string;
|
|
668
|
-
description: string;
|
|
669
|
-
attachment_type: string;
|
|
670
|
-
attachment_type_id: number;
|
|
671
|
-
attachment_type_id_to_string: string;
|
|
672
|
-
user_id: number | null;
|
|
673
|
-
user_id_to_string: string;
|
|
674
|
-
order_column: number;
|
|
675
|
-
[k: string]: any;
|
|
676
|
-
};
|
|
677
|
-
|
|
678
|
-
export type MUploaderServiceType = Pick<HelpersStubSchema, 'getUploadAttachmentsUrl' | 'updateAttachment' | 'uploadAttachments' | 'deleteAttachment'>
|
|
679
|
-
|
|
680
|
-
export type MUploaderProps = Omit<QUploaderProps, 'formFields' | 'headers' | 'url'> & MColProps & Pick<BaseInputsProps, 'fieldOptions'> & {
|
|
681
|
-
/**
|
|
682
|
-
* Name fo field input, Attachments key name.
|
|
683
|
-
* Default is: 'attachments'
|
|
684
|
-
*/
|
|
685
|
-
name?: string;
|
|
686
|
-
/**
|
|
687
|
-
* Put component in disabled mode
|
|
688
|
-
*/
|
|
689
|
-
disable?: boolean;
|
|
690
|
-
/**
|
|
691
|
-
* Put component in readonly mode
|
|
692
|
-
*/
|
|
693
|
-
readonly?: boolean;
|
|
694
|
-
/**
|
|
695
|
-
* Comma separated list of unique file type specifiers. Maps to 'accept' attribute of native input type=file element
|
|
696
|
-
*/
|
|
697
|
-
accept?: string;
|
|
698
|
-
/**
|
|
699
|
-
* Support for uploading images
|
|
700
|
-
*/
|
|
701
|
-
images?: boolean;
|
|
702
|
-
/**
|
|
703
|
-
* Support for uploading svg
|
|
704
|
-
*/
|
|
705
|
-
svg?: boolean;
|
|
706
|
-
/**
|
|
707
|
-
* Support for uploading videos
|
|
708
|
-
*/
|
|
709
|
-
video?: boolean;
|
|
710
|
-
/**
|
|
711
|
-
* Support for uploading pdf
|
|
712
|
-
*/
|
|
713
|
-
pdf?: boolean;
|
|
714
|
-
/**
|
|
715
|
-
* Support for uploading excel
|
|
716
|
-
*/
|
|
717
|
-
excel?: boolean;
|
|
718
|
-
/**
|
|
719
|
-
* Upload files immediately when added
|
|
720
|
-
*/
|
|
721
|
-
autoUpload?: boolean;
|
|
722
|
-
/**
|
|
723
|
-
* Field name for each file upload; This goes into the following header: 'Content-Disposition: form-data; name="__HERE__"; filename="somefile.png"; If using a function then for best performance, reference it from your scope and do not define it inline
|
|
724
|
-
* Default value: (file) => file.name
|
|
725
|
-
* @param files The current file being processed
|
|
726
|
-
* @returns Field name for the current file upload
|
|
727
|
-
*/
|
|
728
|
-
fieldName?: string | ((files: File) => string);
|
|
729
|
-
/**
|
|
730
|
-
* Collection send to API
|
|
731
|
-
*/
|
|
732
|
-
collection?: string | number | symbol;
|
|
733
|
-
/**
|
|
734
|
-
* Field Attachment Type
|
|
735
|
-
*/
|
|
736
|
-
attachmentType?: any;
|
|
737
|
-
/**
|
|
738
|
-
* return attachments after upload;
|
|
739
|
-
* Default current collection name;
|
|
740
|
-
*/
|
|
741
|
-
returnType?: 'all' | 'current' | undefined;
|
|
742
|
-
/**
|
|
743
|
-
* Object with additional fields definitions (used by Form to be uploaded);
|
|
744
|
-
*/
|
|
745
|
-
formFields?: Record<string, any>;
|
|
746
|
-
/**
|
|
747
|
-
* Extra headers
|
|
748
|
-
*/
|
|
749
|
-
headers?: Record<string, any>;
|
|
750
|
-
/**
|
|
751
|
-
* Label for the uploader
|
|
752
|
-
*/
|
|
753
|
-
label?: string | null | undefined;
|
|
754
|
-
/**
|
|
755
|
-
* The Attachments list.
|
|
756
|
-
*/
|
|
757
|
-
modelValue?: MUploaderMediaItem[];
|
|
758
|
-
/**
|
|
759
|
-
* Hide delete media items from uploader, no delete media For API
|
|
760
|
-
*/
|
|
761
|
-
hideDeleteMedia?: boolean;
|
|
762
|
-
/**
|
|
763
|
-
* Show update button of media.
|
|
764
|
-
*/
|
|
765
|
-
updateBtn?: boolean;
|
|
766
|
-
/**
|
|
767
|
-
* User APi service for upload & delete
|
|
768
|
-
*/
|
|
769
|
-
service: string | MUploaderServiceType;
|
|
770
|
-
/**
|
|
771
|
-
* The ID of model will use in attachments
|
|
772
|
-
*/
|
|
773
|
-
modelId?: string | number | undefined;
|
|
774
|
-
uploading?: boolean | undefined;
|
|
775
|
-
defaultFileIcon?: string | undefined;
|
|
776
|
-
deleteMediaIcon?: string | undefined;
|
|
777
|
-
uploadFilesIcon?: string | undefined;
|
|
778
|
-
pickFilesIcon?: string | undefined;
|
|
779
|
-
removeUploadedIcon?: string | undefined;
|
|
780
|
-
removeQueuedIcon?: string | undefined;
|
|
781
|
-
abortUploadIcon?: string | undefined;
|
|
782
|
-
downloadFileIcon?: string | undefined;
|
|
783
|
-
errorsIcon?: string | undefined;
|
|
784
|
-
iconsSize?: string | undefined;
|
|
785
|
-
displayMode?: 'list' | 'card' | undefined;
|
|
786
|
-
shadow?: string | undefined;
|
|
787
|
-
/**
|
|
788
|
-
* Media Item Label Field.
|
|
789
|
-
* Default is: name.
|
|
790
|
-
*/
|
|
791
|
-
mediaLabel?: string | undefined;
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
export type MUploaderSlots = QUploaderSlots & {
|
|
795
|
-
/**
|
|
796
|
-
* Field main content
|
|
797
|
-
*/
|
|
798
|
-
default: () => VNode[];
|
|
799
|
-
/**
|
|
800
|
-
* list of item will be display
|
|
801
|
-
*/
|
|
802
|
-
// list: (scope: { item: MUploaderMediaItem, index: number }) => VNode[];
|
|
803
|
-
/**
|
|
804
|
-
* list of item will be display
|
|
805
|
-
*/
|
|
806
|
-
'item-list': (scope: { item: MUploaderMediaItem, index: number }) => VNode[];
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
export type MUploaderXhrInfo = { files: readonly any[]; xhr: any; }
|
|
810
|
-
|
|
811
|
-
export type MModalMenuProps = Partial<QDialogProps> & Partial<QMenuProps> & Partial<QPopupProxyProps> & {
|
|
812
|
-
noCloseBtn?: boolean;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
export type MModalMenuSlots = {
|
|
816
|
-
default: () => VNode[];
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
export type MTooltipProps = Partial<QTooltipProps> & {
|
|
820
|
-
/**
|
|
821
|
-
* One of Quasar's embedded transitions
|
|
822
|
-
* Default value: jump-down
|
|
823
|
-
*/
|
|
824
|
-
transitionShow?: string | undefined;
|
|
825
|
-
/**
|
|
826
|
-
* One of Quasar's embedded transitions
|
|
827
|
-
* Default value: jump-up
|
|
828
|
-
*/
|
|
829
|
-
transitionHide?: string | undefined;
|
|
830
|
-
/**
|
|
831
|
-
* Transition duration (in milliseconds, without unit)
|
|
832
|
-
* Default value: 300
|
|
833
|
-
*/
|
|
834
|
-
transitionDuration?: string | number | undefined;
|
|
835
|
-
/**
|
|
836
|
-
* Model of the component defining shown/hidden state; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive
|
|
837
|
-
*/
|
|
838
|
-
modelValue?: boolean;
|
|
839
|
-
/**
|
|
840
|
-
* The maximum height of the Tooltip; Size in CSS units, including unit name
|
|
841
|
-
*/
|
|
842
|
-
maxHeight?: string | undefined;
|
|
843
|
-
/**
|
|
844
|
-
* The maximum width of the Tooltip; Size in CSS units, including unit name
|
|
845
|
-
*/
|
|
846
|
-
maxWidth?: string | undefined;
|
|
847
|
-
/**
|
|
848
|
-
* Two values setting the starting position or anchor point of the Tooltip relative to its target
|
|
849
|
-
* Default value: bottom middle
|
|
850
|
-
*/
|
|
851
|
-
anchor?:
|
|
852
|
-
| 'top left'
|
|
853
|
-
| 'top middle'
|
|
854
|
-
| 'top right'
|
|
855
|
-
| 'top start'
|
|
856
|
-
| 'top end'
|
|
857
|
-
| 'center left'
|
|
858
|
-
| 'center middle'
|
|
859
|
-
| 'center right'
|
|
860
|
-
| 'center start'
|
|
861
|
-
| 'center end'
|
|
862
|
-
| 'bottom left'
|
|
863
|
-
| 'bottom middle'
|
|
864
|
-
| 'bottom right'
|
|
865
|
-
| 'bottom start'
|
|
866
|
-
| 'bottom end'
|
|
867
|
-
| undefined;
|
|
868
|
-
/**
|
|
869
|
-
* Two values setting the Tooltip's own position relative to its target
|
|
870
|
-
* Default value: top middle
|
|
871
|
-
*/
|
|
872
|
-
self?:
|
|
873
|
-
| 'top left'
|
|
874
|
-
| 'top middle'
|
|
875
|
-
| 'top right'
|
|
876
|
-
| 'top start'
|
|
877
|
-
| 'top end'
|
|
878
|
-
| 'center left'
|
|
879
|
-
| 'center middle'
|
|
880
|
-
| 'center right'
|
|
881
|
-
| 'center start'
|
|
882
|
-
| 'center end'
|
|
883
|
-
| 'bottom left'
|
|
884
|
-
| 'bottom middle'
|
|
885
|
-
| 'bottom right'
|
|
886
|
-
| 'bottom start'
|
|
887
|
-
| 'bottom end'
|
|
888
|
-
| undefined;
|
|
889
|
-
/**
|
|
890
|
-
* An array of two numbers to offset the Tooltip horizontally and vertically in pixels
|
|
891
|
-
* Default value: [14, 14]
|
|
892
|
-
*/
|
|
893
|
-
offset?: readonly any[] | undefined;
|
|
894
|
-
/**
|
|
895
|
-
* CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
|
|
896
|
-
*/
|
|
897
|
-
scrollTarget?: Element | string | undefined;
|
|
898
|
-
/**
|
|
899
|
-
* Configure a target element to trigger Tooltip toggle; 'true' means it enables the parent DOM element, 'false' means it disables attaching events to any DOM elements; By using a String (CSS selector) it attaches the events to the specified DOM element (if it exists)
|
|
900
|
-
* Default value: true
|
|
901
|
-
*/
|
|
902
|
-
target?: boolean | string | undefined;
|
|
903
|
-
/**
|
|
904
|
-
* Skips attaching events to the target DOM element (that trigger the element to get shown)
|
|
905
|
-
*/
|
|
906
|
-
noParentEvent?: boolean | undefined;
|
|
907
|
-
/**
|
|
908
|
-
* Configure Tooltip to appear with delay
|
|
909
|
-
*/
|
|
910
|
-
delay?: number | undefined;
|
|
911
|
-
/**
|
|
912
|
-
* Configure Tooltip to disappear with delay
|
|
913
|
-
*/
|
|
914
|
-
hideDelay?: number | undefined;
|
|
915
|
-
/**
|
|
916
|
-
* Emitted when showing/hidden state changes; Is also used by v-model
|
|
917
|
-
* @param value New state (showing/hidden)
|
|
918
|
-
*/
|
|
919
|
-
'onUpdate:modelValue'?: (value: boolean) => void;
|
|
920
|
-
/**
|
|
921
|
-
* Emitted after component has triggered show()
|
|
922
|
-
* @param evt JS event object
|
|
923
|
-
*/
|
|
924
|
-
onShow?: (evt: Event) => void;
|
|
925
|
-
/**
|
|
926
|
-
* Emitted when component triggers show() but before it finishes doing it
|
|
927
|
-
* @param evt JS event object
|
|
928
|
-
*/
|
|
929
|
-
onBeforeShow?: (evt: Event) => void;
|
|
930
|
-
/**
|
|
931
|
-
* Emitted after component has triggered hide()
|
|
932
|
-
* @param evt JS event object
|
|
933
|
-
*/
|
|
934
|
-
onHide?: (evt: Event) => void;
|
|
935
|
-
/**
|
|
936
|
-
* Emitted when component triggers hide() but before it finishes doing it
|
|
937
|
-
* @param evt JS event object
|
|
938
|
-
*/
|
|
939
|
-
onBeforeHide?: (evt: Event) => void;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
export type MTooltipSlots = {
|
|
943
|
-
default: () => VNode[];
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
export type MDialogProps = Partial<QDialogProps> & {
|
|
947
|
-
slide?: boolean | undefined;
|
|
948
|
-
from?: 'up' | 'down' | 'left' | 'right';
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
export type MDialogSlots = {
|
|
952
|
-
default: () => VNode[];
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
export type MCkeditorProps = Omit<BaseInputsProps, 'hint' | 'topLabel' | 'placeholder' | 'autocomplete'> & {
|
|
956
|
-
/**
|
|
957
|
-
* Editor language.
|
|
958
|
-
* Default value: ar.
|
|
959
|
-
*/
|
|
960
|
-
lang: 'ar' | 'en';
|
|
961
|
-
/**
|
|
962
|
-
* Specifies the configuration of the editor.
|
|
963
|
-
* https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html
|
|
964
|
-
*/
|
|
965
|
-
config?: (config: EditorConfig) => EditorConfig;
|
|
966
|
-
/**
|
|
967
|
-
* By default, the editor component creates a <div> container which is used as an element passed to the editor (for example, ClassicEditor#element).
|
|
968
|
-
* The element can be configured, so for example to create a <textarea>, use the following directive:
|
|
969
|
-
* tag-name="textarea"
|
|
970
|
-
* Default value: div.
|
|
971
|
-
*/
|
|
972
|
-
tagName?: string;
|
|
973
|
-
/**
|
|
974
|
-
* This directive controls the isReadOnly property of the editor.
|
|
975
|
-
* Default value: false.
|
|
976
|
-
*/
|
|
977
|
-
disabled?: boolean;
|
|
978
|
-
/**
|
|
979
|
-
* Use HTML instead of Markdown.
|
|
980
|
-
*/
|
|
981
|
-
html?: boolean;
|
|
982
|
-
}
|
|
983
|
-
export type MCkeditorSlots = BaseInputsSlots
|
|
984
|
-
|
|
985
|
-
export type MSarIconProps = Omit<QIconProps, 'name'> & Record<string, any>;
|
|
986
|
-
|
|
987
|
-
export interface MSarIconSlots {
|
|
988
|
-
default: () => VNode[]
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
export type MSarStringProps = {
|
|
992
|
-
text?: any;
|
|
993
|
-
string?: boolean;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
export interface MSarStringSlots {
|
|
997
|
-
default: () => VNode[]
|
|
998
|
-
}
|
|
17
|
+
import type { MColProps, MColSlots } from './api/MCol'
|
|
18
|
+
import type { MBtnProps, MBtnSlots } from './api/MBtn'
|
|
19
|
+
import type { MCheckboxProps, MCheckboxSlots } from './api/MCheckbox'
|
|
20
|
+
import type { MCkeditorProps, MCkeditorSlots } from './api/MCkeditor'
|
|
21
|
+
import type { MInputProps, MInputSlots } from './api/MInput'
|
|
22
|
+
import type { MDateProps, MDateSlots } from './api/MDate'
|
|
23
|
+
import type { MEditorProps, MEditorSlots } from './api/MEditor'
|
|
24
|
+
import type { MFieldProps, MFieldSlots } from './api/MField'
|
|
25
|
+
import type { MFileProps, MFileSlots } from './api/MFile'
|
|
26
|
+
import type { MFormProps, MFormSlots } from './api/MForm'
|
|
27
|
+
import type { MHiddenProps, MHiddenSlots } from './api/MHidden'
|
|
28
|
+
import type { MHiddenInputProps, MHiddenInputSlots } from './api/MHiddenInput'
|
|
29
|
+
import type { MInputFieldControlProps, MInputFieldControlSlots } from './api/MInputFieldControl'
|
|
30
|
+
import type { MInputLabelProps, MInputLabelSlots } from './api/MInputLabel'
|
|
31
|
+
import type { MOptionsProps, MOptionsSlots } from './api/MOptions'
|
|
32
|
+
import type { MOtpProps, MOtpSlots } from './api/MOtp'
|
|
33
|
+
import type { MPasswordProps } from './api/MPassword'
|
|
34
|
+
import type { MPickerProps, MPickerSlots } from './api/MPicker'
|
|
35
|
+
import type { MRadioProps, MRadioSlots } from './api/MRadio'
|
|
36
|
+
import type { MTimeProps, MTimeSlots } from './api/MTime'
|
|
37
|
+
import type { MToggleProps, MToggleSlots } from './api/MToggle'
|
|
38
|
+
import type { MUploaderProps, MUploaderSlots } from './api/MUploader'
|
|
39
|
+
import type { MBlockProps, MBlockSlots } from './api/MBlock'
|
|
40
|
+
import type { MColumnProps, MColumnSlots } from './api/MColumn'
|
|
41
|
+
import type { MContainerProps, MContainerSlots } from './api/MContainer'
|
|
42
|
+
import type { MHelpRowProps, MHelpRowSlots } from './api/MHelpRow'
|
|
43
|
+
import type { MRowProps, MRowSlots } from './api/MRow'
|
|
44
|
+
import type { MTypingStringProps, MTypingStringSlots } from './api/MTypingString'
|
|
45
|
+
import type { MDialogProps, MDialogSlots } from './api/MDialog'
|
|
46
|
+
import type { MModalMenuProps, MModalMenuSlots } from './api/MModalMenu'
|
|
47
|
+
import type { MTooltipProps, MTooltipSlots } from './api/MTooltip'
|
|
48
|
+
import type { MSarIconProps, MSarIconSlots, MSarStringProps, MSarStringSlots } from './api/MSar'
|
|
49
|
+
import type { MMapProps, MMapSlots } from './api/MMap'
|
|
999
50
|
|
|
1000
51
|
declare module '@vue/runtime-core' {
|
|
1001
52
|
interface GlobalComponents {
|
|
@@ -1057,5 +108,8 @@ declare module '@vue/runtime-core' {
|
|
|
1057
108
|
// Utils.
|
|
1058
109
|
MSarIcon: GlobalComponentConstructor<MSarIconProps, MSarIconSlots>;
|
|
1059
110
|
MSarString: GlobalComponentConstructor<MSarStringProps, MSarStringSlots>;
|
|
111
|
+
|
|
112
|
+
// Map
|
|
113
|
+
MMap: GlobalComponentConstructor<MMapProps, MMapSlots>;
|
|
1060
114
|
}
|
|
1061
115
|
}
|