sprof 0.3.1 → 0.3.3
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/core/components/atoms/PDateInput/PDateInput.stories.d.ts +72 -0
- package/dist/core/components/atoms/PDateInput/PDateInput.vue.d.ts +12 -0
- package/dist/core/components/atoms/PDateTimeInput/PDateTimeInput.vue.d.ts +12 -0
- package/dist/core/components/atoms/PForm/PForm.test.d.ts +1 -0
- package/dist/core/components/atoms/PForm/PForm.vue.d.ts +68 -0
- package/dist/core/components/atoms/PInputNumber/PInputNumber.stories.d.ts +11 -0
- package/dist/core/components/atoms/PInputNumber/PInputNumber.vue.d.ts +12 -0
- package/dist/core/components/atoms/PSelect/PSelect.stories.d.ts +36 -0
- package/dist/core/components/atoms/PSelect/PSelect.vue.d.ts +12 -0
- package/dist/core/components/atoms/PTextarea/PTextarea.stories.d.ts +36 -0
- package/dist/core/components/atoms/PTextarea/PTextarea.vue.d.ts +12 -0
- package/dist/core/components/atoms/index.d.ts +2 -1
- package/dist/core/components/molecules/PCrudList/PCrudList.stories.d.ts +18 -9
- package/dist/core/components/molecules/PCrudList/PCrudList.vue.d.ts +3 -2
- package/dist/core/helpers/Validate.d.ts +18 -0
- package/dist/core/helpers/Validate.test.d.ts +1 -0
- package/dist/core/helpers/index.d.ts +2 -2
- package/dist/core/interfaces/index.d.ts +0 -1
- package/dist/global-components.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/modules/schedule/components/ScheduleGridEditor.vue.d.ts +7 -0
- package/dist/sprof.js +6032 -5819
- package/dist/sprof.umd.cjs +16 -16
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/core/helpers/validate.d.ts +0 -3
- package/dist/core/interfaces/IForm.d.ts +0 -5
|
@@ -38,6 +38,11 @@ declare const _default: {
|
|
|
38
38
|
default: string;
|
|
39
39
|
required: false;
|
|
40
40
|
};
|
|
41
|
+
rules: {
|
|
42
|
+
type: globalThis.PropType<import('quasar').ValidationRule[]>;
|
|
43
|
+
required: false;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
41
46
|
modelValue: {
|
|
42
47
|
type: globalThis.PropType<string>;
|
|
43
48
|
};
|
|
@@ -59,6 +64,7 @@ declare const _default: {
|
|
|
59
64
|
mask: string;
|
|
60
65
|
margin: string;
|
|
61
66
|
borderColor: string;
|
|
67
|
+
rules: import('quasar').ValidationRule[];
|
|
62
68
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
63
69
|
P: {};
|
|
64
70
|
B: {};
|
|
@@ -102,6 +108,11 @@ declare const _default: {
|
|
|
102
108
|
default: string;
|
|
103
109
|
required: false;
|
|
104
110
|
};
|
|
111
|
+
rules: {
|
|
112
|
+
type: globalThis.PropType<import('quasar').ValidationRule[]>;
|
|
113
|
+
required: false;
|
|
114
|
+
default: undefined;
|
|
115
|
+
};
|
|
105
116
|
modelValue: {
|
|
106
117
|
type: globalThis.PropType<string>;
|
|
107
118
|
};
|
|
@@ -118,6 +129,7 @@ declare const _default: {
|
|
|
118
129
|
mask: string;
|
|
119
130
|
margin: string;
|
|
120
131
|
borderColor: string;
|
|
132
|
+
rules: import('quasar').ValidationRule[];
|
|
121
133
|
}>;
|
|
122
134
|
__isFragment?: undefined;
|
|
123
135
|
__isTeleport?: undefined;
|
|
@@ -158,6 +170,11 @@ declare const _default: {
|
|
|
158
170
|
default: string;
|
|
159
171
|
required: false;
|
|
160
172
|
};
|
|
173
|
+
rules: {
|
|
174
|
+
type: globalThis.PropType<import('quasar').ValidationRule[]>;
|
|
175
|
+
required: false;
|
|
176
|
+
default: undefined;
|
|
177
|
+
};
|
|
161
178
|
modelValue: {
|
|
162
179
|
type: globalThis.PropType<string>;
|
|
163
180
|
};
|
|
@@ -179,6 +196,7 @@ declare const _default: {
|
|
|
179
196
|
mask: string;
|
|
180
197
|
margin: string;
|
|
181
198
|
borderColor: string;
|
|
199
|
+
rules: import('quasar').ValidationRule[];
|
|
182
200
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
183
201
|
$slots: {
|
|
184
202
|
default?(_: {}): any;
|
|
@@ -262,6 +280,11 @@ export declare const Default: StoryFn<{
|
|
|
262
280
|
default: string;
|
|
263
281
|
required: false;
|
|
264
282
|
};
|
|
283
|
+
rules: {
|
|
284
|
+
type: globalThis.PropType<import('quasar').ValidationRule[]>;
|
|
285
|
+
required: false;
|
|
286
|
+
default: undefined;
|
|
287
|
+
};
|
|
265
288
|
modelValue: {
|
|
266
289
|
type: globalThis.PropType<string>;
|
|
267
290
|
};
|
|
@@ -283,6 +306,7 @@ export declare const Default: StoryFn<{
|
|
|
283
306
|
mask: string;
|
|
284
307
|
margin: string;
|
|
285
308
|
borderColor: string;
|
|
309
|
+
rules: import('quasar').ValidationRule[];
|
|
286
310
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
287
311
|
P: {};
|
|
288
312
|
B: {};
|
|
@@ -326,6 +350,11 @@ export declare const Default: StoryFn<{
|
|
|
326
350
|
default: string;
|
|
327
351
|
required: false;
|
|
328
352
|
};
|
|
353
|
+
rules: {
|
|
354
|
+
type: globalThis.PropType<import('quasar').ValidationRule[]>;
|
|
355
|
+
required: false;
|
|
356
|
+
default: undefined;
|
|
357
|
+
};
|
|
329
358
|
modelValue: {
|
|
330
359
|
type: globalThis.PropType<string>;
|
|
331
360
|
};
|
|
@@ -342,6 +371,7 @@ export declare const Default: StoryFn<{
|
|
|
342
371
|
mask: string;
|
|
343
372
|
margin: string;
|
|
344
373
|
borderColor: string;
|
|
374
|
+
rules: import('quasar').ValidationRule[];
|
|
345
375
|
}>;
|
|
346
376
|
__isFragment?: undefined;
|
|
347
377
|
__isTeleport?: undefined;
|
|
@@ -382,6 +412,11 @@ export declare const Default: StoryFn<{
|
|
|
382
412
|
default: string;
|
|
383
413
|
required: false;
|
|
384
414
|
};
|
|
415
|
+
rules: {
|
|
416
|
+
type: globalThis.PropType<import('quasar').ValidationRule[]>;
|
|
417
|
+
required: false;
|
|
418
|
+
default: undefined;
|
|
419
|
+
};
|
|
385
420
|
modelValue: {
|
|
386
421
|
type: globalThis.PropType<string>;
|
|
387
422
|
};
|
|
@@ -403,6 +438,7 @@ export declare const Default: StoryFn<{
|
|
|
403
438
|
mask: string;
|
|
404
439
|
margin: string;
|
|
405
440
|
borderColor: string;
|
|
441
|
+
rules: import('quasar').ValidationRule[];
|
|
406
442
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
407
443
|
$slots: {
|
|
408
444
|
default?(_: {}): any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ValidationRule } from 'quasar';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
3
|
label: {
|
|
3
4
|
type: StringConstructor;
|
|
@@ -34,6 +35,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
34
35
|
default: string;
|
|
35
36
|
required: false;
|
|
36
37
|
};
|
|
38
|
+
rules: {
|
|
39
|
+
type: globalThis.PropType<ValidationRule[]>;
|
|
40
|
+
required: false;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
37
43
|
modelValue: {
|
|
38
44
|
type: globalThis.PropType<string>;
|
|
39
45
|
};
|
|
@@ -78,6 +84,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
78
84
|
default: string;
|
|
79
85
|
required: false;
|
|
80
86
|
};
|
|
87
|
+
rules: {
|
|
88
|
+
type: globalThis.PropType<ValidationRule[]>;
|
|
89
|
+
required: false;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
81
92
|
modelValue: {
|
|
82
93
|
type: globalThis.PropType<string>;
|
|
83
94
|
};
|
|
@@ -94,6 +105,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
94
105
|
mask: string;
|
|
95
106
|
margin: string;
|
|
96
107
|
borderColor: string;
|
|
108
|
+
rules: ValidationRule[];
|
|
97
109
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
98
110
|
default?(_: {}): any;
|
|
99
111
|
right?(_: {}): any;
|
|
@@ -7,6 +7,7 @@ import { default as PDatePicker } from './PDatePicker/PDatePicker.vue';
|
|
|
7
7
|
import { default as PDateTimeInput } from './PDateTimeInput/PDateTimeInput.vue';
|
|
8
8
|
import { default as PDialog } from './PDialog/PDialog.vue';
|
|
9
9
|
import { default as PFlex } from './PFlex/PFlex.vue';
|
|
10
|
+
import { default as PForm } from './PForm/PForm.vue';
|
|
10
11
|
import { default as PHint } from './PHint/PHint.vue';
|
|
11
12
|
import { default as PInput } from './PInput/PInput.vue';
|
|
12
13
|
import { default as PInputDate } from './PInputDate/PInputDate.vue';
|
|
@@ -29,4 +30,4 @@ import { default as PTopSlider } from './PTopSlider/PTopSlider.vue';
|
|
|
29
30
|
export default function install(app: {
|
|
30
31
|
component: (a: string, b: unknown) => void;
|
|
31
32
|
}): void;
|
|
32
|
-
export { PBadge, PButton, PCheckBox, PChip, PDateInput, PDatePicker, PDateTimeInput, PDialog, PFlex, PHint, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, POptionsListSingle, POpts, PRadio, PRightSlider, PSelect, PSticky, PString, PTableToggle, PTextarea, PToggle, PTooltip, PTopSlider, };
|
|
33
|
+
export { PBadge, PButton, PCheckBox, PChip, PDateInput, PDatePicker, PDateTimeInput, PDialog, PFlex, PForm, PHint, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, POptionsListSingle, POpts, PRadio, PRightSlider, PSelect, PSticky, PString, PTableToggle, PTextarea, PToggle, PTooltip, PTopSlider, };
|
|
@@ -30,7 +30,7 @@ declare const _default: {
|
|
|
30
30
|
};
|
|
31
31
|
addFunc: {
|
|
32
32
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
33
|
-
|
|
33
|
+
default: undefined;
|
|
34
34
|
};
|
|
35
35
|
addToList: {
|
|
36
36
|
type: BooleanConstructor;
|
|
@@ -69,6 +69,7 @@ declare const _default: {
|
|
|
69
69
|
sortable: boolean;
|
|
70
70
|
showAdd: boolean;
|
|
71
71
|
showDelete: boolean;
|
|
72
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
72
73
|
addToList: boolean;
|
|
73
74
|
removeFromList: boolean;
|
|
74
75
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -106,7 +107,7 @@ declare const _default: {
|
|
|
106
107
|
};
|
|
107
108
|
addFunc: {
|
|
108
109
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
109
|
-
|
|
110
|
+
default: undefined;
|
|
110
111
|
};
|
|
111
112
|
addToList: {
|
|
112
113
|
type: BooleanConstructor;
|
|
@@ -140,6 +141,7 @@ declare const _default: {
|
|
|
140
141
|
sortable: boolean;
|
|
141
142
|
showAdd: boolean;
|
|
142
143
|
showDelete: boolean;
|
|
144
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
143
145
|
addToList: boolean;
|
|
144
146
|
removeFromList: boolean;
|
|
145
147
|
}>;
|
|
@@ -174,7 +176,7 @@ declare const _default: {
|
|
|
174
176
|
};
|
|
175
177
|
addFunc: {
|
|
176
178
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
177
|
-
|
|
179
|
+
default: undefined;
|
|
178
180
|
};
|
|
179
181
|
addToList: {
|
|
180
182
|
type: BooleanConstructor;
|
|
@@ -213,6 +215,7 @@ declare const _default: {
|
|
|
213
215
|
sortable: boolean;
|
|
214
216
|
showAdd: boolean;
|
|
215
217
|
showDelete: boolean;
|
|
218
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
216
219
|
addToList: boolean;
|
|
217
220
|
removeFromList: boolean;
|
|
218
221
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -289,7 +292,7 @@ export declare const Sortable: StoryFn<{
|
|
|
289
292
|
};
|
|
290
293
|
addFunc: {
|
|
291
294
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
292
|
-
|
|
295
|
+
default: undefined;
|
|
293
296
|
};
|
|
294
297
|
addToList: {
|
|
295
298
|
type: BooleanConstructor;
|
|
@@ -328,6 +331,7 @@ export declare const Sortable: StoryFn<{
|
|
|
328
331
|
sortable: boolean;
|
|
329
332
|
showAdd: boolean;
|
|
330
333
|
showDelete: boolean;
|
|
334
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
331
335
|
addToList: boolean;
|
|
332
336
|
removeFromList: boolean;
|
|
333
337
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -365,7 +369,7 @@ export declare const Sortable: StoryFn<{
|
|
|
365
369
|
};
|
|
366
370
|
addFunc: {
|
|
367
371
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
368
|
-
|
|
372
|
+
default: undefined;
|
|
369
373
|
};
|
|
370
374
|
addToList: {
|
|
371
375
|
type: BooleanConstructor;
|
|
@@ -399,6 +403,7 @@ export declare const Sortable: StoryFn<{
|
|
|
399
403
|
sortable: boolean;
|
|
400
404
|
showAdd: boolean;
|
|
401
405
|
showDelete: boolean;
|
|
406
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
402
407
|
addToList: boolean;
|
|
403
408
|
removeFromList: boolean;
|
|
404
409
|
}>;
|
|
@@ -433,7 +438,7 @@ export declare const Sortable: StoryFn<{
|
|
|
433
438
|
};
|
|
434
439
|
addFunc: {
|
|
435
440
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
436
|
-
|
|
441
|
+
default: undefined;
|
|
437
442
|
};
|
|
438
443
|
addToList: {
|
|
439
444
|
type: BooleanConstructor;
|
|
@@ -472,6 +477,7 @@ export declare const Sortable: StoryFn<{
|
|
|
472
477
|
sortable: boolean;
|
|
473
478
|
showAdd: boolean;
|
|
474
479
|
showDelete: boolean;
|
|
480
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
475
481
|
addToList: boolean;
|
|
476
482
|
removeFromList: boolean;
|
|
477
483
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -518,7 +524,7 @@ export declare const Static: StoryFn<{
|
|
|
518
524
|
};
|
|
519
525
|
addFunc: {
|
|
520
526
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
521
|
-
|
|
527
|
+
default: undefined;
|
|
522
528
|
};
|
|
523
529
|
addToList: {
|
|
524
530
|
type: BooleanConstructor;
|
|
@@ -557,6 +563,7 @@ export declare const Static: StoryFn<{
|
|
|
557
563
|
sortable: boolean;
|
|
558
564
|
showAdd: boolean;
|
|
559
565
|
showDelete: boolean;
|
|
566
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
560
567
|
addToList: boolean;
|
|
561
568
|
removeFromList: boolean;
|
|
562
569
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -594,7 +601,7 @@ export declare const Static: StoryFn<{
|
|
|
594
601
|
};
|
|
595
602
|
addFunc: {
|
|
596
603
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
597
|
-
|
|
604
|
+
default: undefined;
|
|
598
605
|
};
|
|
599
606
|
addToList: {
|
|
600
607
|
type: BooleanConstructor;
|
|
@@ -628,6 +635,7 @@ export declare const Static: StoryFn<{
|
|
|
628
635
|
sortable: boolean;
|
|
629
636
|
showAdd: boolean;
|
|
630
637
|
showDelete: boolean;
|
|
638
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
631
639
|
addToList: boolean;
|
|
632
640
|
removeFromList: boolean;
|
|
633
641
|
}>;
|
|
@@ -662,7 +670,7 @@ export declare const Static: StoryFn<{
|
|
|
662
670
|
};
|
|
663
671
|
addFunc: {
|
|
664
672
|
type: globalThis.PropType<() => import('../../../interfaces').IOrdered>;
|
|
665
|
-
|
|
673
|
+
default: undefined;
|
|
666
674
|
};
|
|
667
675
|
addToList: {
|
|
668
676
|
type: BooleanConstructor;
|
|
@@ -701,6 +709,7 @@ export declare const Static: StoryFn<{
|
|
|
701
709
|
sortable: boolean;
|
|
702
710
|
showAdd: boolean;
|
|
703
711
|
showDelete: boolean;
|
|
712
|
+
addFunc: () => import('../../../interfaces').IOrdered;
|
|
704
713
|
addToList: boolean;
|
|
705
714
|
removeFromList: boolean;
|
|
706
715
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
27
27
|
};
|
|
28
28
|
addFunc: {
|
|
29
29
|
type: globalThis.PropType<() => IOrdered>;
|
|
30
|
-
|
|
30
|
+
default: undefined;
|
|
31
31
|
};
|
|
32
32
|
addToList: {
|
|
33
33
|
type: BooleanConstructor;
|
|
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
80
80
|
};
|
|
81
81
|
addFunc: {
|
|
82
82
|
type: globalThis.PropType<() => IOrdered>;
|
|
83
|
-
|
|
83
|
+
default: undefined;
|
|
84
84
|
};
|
|
85
85
|
addToList: {
|
|
86
86
|
type: BooleanConstructor;
|
|
@@ -114,6 +114,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
114
114
|
sortable: boolean;
|
|
115
115
|
showAdd: boolean;
|
|
116
116
|
showDelete: boolean;
|
|
117
|
+
addFunc: () => IOrdered;
|
|
117
118
|
addToList: boolean;
|
|
118
119
|
removeFromList: boolean;
|
|
119
120
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ValidationRule } from 'quasar';
|
|
2
|
+
export type { ValidationRule };
|
|
3
|
+
/** Обязательное поле */
|
|
4
|
+
export declare const Required: (msg?: string) => ValidationRule;
|
|
5
|
+
/** Корректный email */
|
|
6
|
+
export declare const Email: (msg?: string) => ValidationRule;
|
|
7
|
+
/** Минимальная длина строки */
|
|
8
|
+
export declare const MinLen: (min: number, msg?: string) => ValidationRule;
|
|
9
|
+
/** Максимальная длина строки */
|
|
10
|
+
export declare const MaxLen: (max: number, msg?: string) => ValidationRule;
|
|
11
|
+
/** Совпадение с регулярным выражением */
|
|
12
|
+
export declare const Regex: (re: RegExp, msg?: string) => ValidationRule;
|
|
13
|
+
/**
|
|
14
|
+
* Композиция правил: выполняются по очереди, возвращается первая ошибка.
|
|
15
|
+
* Пустое значение: если НЕТ правила Required — считается валидным (пропускаем
|
|
16
|
+
* необязательные поля), иначе Required даст ошибку.
|
|
17
|
+
*/
|
|
18
|
+
export declare const Compose: (...rules: ValidationRule[]) => ValidationRule;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -27,8 +27,8 @@ import { default as Static } from './Static';
|
|
|
27
27
|
import { default as Strings } from './Strings';
|
|
28
28
|
import { default as Time } from './Time';
|
|
29
29
|
import { default as Timer } from './Timer';
|
|
30
|
-
import { default as validate } from './validate';
|
|
31
30
|
import { default as WebSocketClient } from './WebSocketClient';
|
|
31
|
+
import * as Validate from './Validate';
|
|
32
32
|
export default abstract class H {
|
|
33
33
|
static Arrays: typeof Arrays;
|
|
34
34
|
static Axios: typeof Axios;
|
|
@@ -81,7 +81,7 @@ export default abstract class H {
|
|
|
81
81
|
updateHuman: (human: import('../classes/Human').default) => void;
|
|
82
82
|
};
|
|
83
83
|
static Menus: typeof Menus;
|
|
84
|
-
static
|
|
84
|
+
static Validate: typeof Validate;
|
|
85
85
|
static WaitElement: (selector: string) => Promise<unknown>;
|
|
86
86
|
static WebSocketClient: typeof WebSocketClient;
|
|
87
87
|
}
|
|
@@ -18,7 +18,6 @@ export type { default as IFiler } from './IFiler';
|
|
|
18
18
|
export type { default as IFIlesList } from './IFIlesList';
|
|
19
19
|
export type { default as IFilter } from './IFilter';
|
|
20
20
|
export type { default as IFilterQuery } from './IFilterQuery';
|
|
21
|
-
export type { default as IForm } from './IForm';
|
|
22
21
|
export type { IBodilessParams, IBodyfulParams } from './IHTTPTypes';
|
|
23
22
|
export type { default as IMessage } from './IMessage';
|
|
24
23
|
export type { default as IOption } from './IOption';
|
|
@@ -16,6 +16,7 @@ declare module 'vue' {
|
|
|
16
16
|
PDateTimeInput: typeof Atoms.PDateTimeInput;
|
|
17
17
|
PDialog: typeof Atoms.PDialog;
|
|
18
18
|
PFlex: typeof Atoms.PFlex;
|
|
19
|
+
PForm: typeof Atoms.PForm;
|
|
19
20
|
PHint: typeof Atoms.PHint;
|
|
20
21
|
PInput: typeof Atoms.PInput;
|
|
21
22
|
PInputDate: typeof Atoms.PInputDate;
|
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export { PContactForm, PContactFormDeleteDialog, PContactFormEdit, PContactFormE
|
|
|
35
35
|
export type { ContactsAdapter, ContactsLabels } from './modules/contacts/types';
|
|
36
36
|
export { defaultContactsLabels } from './modules/contacts/types';
|
|
37
37
|
export type { IAdminMenu } from './core/interfaces';
|
|
38
|
+
export type { ClassNameGetter } from './core/interfaces/Class';
|
|
38
39
|
export type { default as IOption } from './core/interfaces/IOption';
|
|
39
40
|
export type { default as IOrdered } from './core/interfaces/IOrdered';
|
|
40
41
|
export type { default as IWithId } from './core/interfaces/IWithId';
|
|
@@ -19,6 +19,12 @@ type __VLS_Props = {
|
|
|
19
19
|
slotListOf?: (schedule: any) => any[];
|
|
20
20
|
/** Список слотов, вложенных в секцию (по умолчанию — session.slots) */
|
|
21
21
|
nestedSlotListOf?: (session: any) => any[];
|
|
22
|
+
/**
|
|
23
|
+
* Включить секции (по умолчанию — true). Для простых расписаний
|
|
24
|
+
* (приём врача) секции не нужны: скрываются кнопки/блоки/списки секций
|
|
25
|
+
* и селект «Секция» у слотов.
|
|
26
|
+
*/
|
|
27
|
+
sessionsEnabled?: boolean;
|
|
22
28
|
};
|
|
23
29
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
30
|
labels: Partial<ScheduleLabels>;
|
|
@@ -30,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
30
36
|
sessionName: (session: any) => string;
|
|
31
37
|
slotListOf: (schedule: any) => any[];
|
|
32
38
|
nestedSlotListOf: (session: any) => any[];
|
|
39
|
+
sessionsEnabled: boolean;
|
|
33
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
41
|
gridScrollRef: HTMLDivElement;
|
|
35
42
|
}, HTMLDivElement>, {
|