@snabcentr/vue-ui-lib 4.3.0 → 4.3.2
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/manifest.json +2 -2
- package/dist/release_notes.tmp +1 -1
- package/dist/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +2230 -2167
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +25 -25
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/inputs/debounced-input-number.vue.d.ts +4 -4
- package/dist/src/components/orders/simple/order-item-params.vue.d.ts +1 -1
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/validators.d.ts +15 -1
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
32
32
|
blur: () => void | undefined;
|
|
33
33
|
select: () => void | undefined;
|
|
34
34
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
35
|
-
focus: (focusEvent: FocusEvent) => any;
|
|
36
35
|
input: (inputEvent: Event) => any;
|
|
36
|
+
focus: (focusEvent: FocusEvent) => any;
|
|
37
37
|
keydown: (keyboardEvent: KeyboardEvent) => any;
|
|
38
38
|
"update:value": (value: number | null, ...additionalParams: any[]) => any;
|
|
39
39
|
}, string, import('vue').PublicProps, Readonly<import('../../properties').IValue<number | null> & import('../../properties').IClearable & IDebounced & IPlaceholder & {
|
|
@@ -62,17 +62,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
62
62
|
*/
|
|
63
63
|
showButton?: boolean;
|
|
64
64
|
}> & Readonly<{
|
|
65
|
-
onFocus?: ((focusEvent: FocusEvent) => any) | undefined;
|
|
66
65
|
onInput?: ((inputEvent: Event) => any) | undefined;
|
|
66
|
+
onFocus?: ((focusEvent: FocusEvent) => any) | undefined;
|
|
67
67
|
onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
68
68
|
"onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
value: number | null;
|
|
71
|
-
placeholder: string;
|
|
72
|
-
clearable: boolean;
|
|
73
71
|
validator: (value: number) => boolean;
|
|
74
72
|
min: number;
|
|
75
73
|
max: number;
|
|
74
|
+
placeholder: string;
|
|
75
|
+
clearable: boolean;
|
|
76
76
|
step: number;
|
|
77
77
|
showButton: boolean;
|
|
78
78
|
parse: (value: string) => number | null;
|
|
@@ -33,5 +33,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
33
33
|
}> & Readonly<{}>, {
|
|
34
34
|
eventEmitter: Emitter<IOrderEmits>;
|
|
35
35
|
allowEdit: boolean;
|
|
36
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
37
37
|
export default _default;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { FormItemRule } from 'naive-ui';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Объект валидаторов общих полей.
|
|
4
|
+
* Предоставляет статические методы для создания правил валидации общих полей.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CommonValidators: {
|
|
7
|
+
required: FormItemRule;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Объект валидаторов числовых полей.
|
|
4
11
|
* Предоставляет статические методы для создания правил валидации форм.
|
|
5
12
|
*/
|
|
6
13
|
export declare const NumericValidators: {
|
|
@@ -27,6 +34,13 @@ export declare const NumericValidators: {
|
|
|
27
34
|
*/
|
|
28
35
|
step(step: number): FormItemRule;
|
|
29
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Объект валидаторов дат.
|
|
39
|
+
* Предоставляет статические методы для создания правил валидации дат.
|
|
40
|
+
*/
|
|
41
|
+
export declare const DateValidators: {
|
|
42
|
+
required: FormItemRule;
|
|
43
|
+
};
|
|
30
44
|
/**
|
|
31
45
|
* Класс валидаторов полей.
|
|
32
46
|
* Предоставляет статические методы для создания правил валидации полей форм.
|