pangea-lib 4.0.510 → 4.0.512
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/main.cjs.js +1831 -1831
- package/dist/main.css +1 -1
- package/dist/main.es.js +38302 -38407
- package/dist/types/api/create-api.d.ts +38 -0
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/methods/call-axios.d.ts +4 -0
- package/dist/types/api/methods/connect-to-api.d.ts +7 -0
- package/dist/types/api/methods/convert-json-to-model.d.ts +3 -0
- package/dist/types/api/methods/get-finals.d.ts +6 -0
- package/dist/types/components/form/PgaInputGroup.vue.d.ts +2 -24
- package/dist/types/components/form/inputs/PgaColorSelector.vue.d.ts +23 -11
- package/dist/types/components/form/inputs/PgaDatePicker.vue.d.ts +21 -9
- package/dist/types/components/form/inputs/PgaDatetimePicker.vue.d.ts +17 -5
- package/dist/types/components/form/inputs/PgaIconSelector.vue.d.ts +23 -11
- package/dist/types/components/form/inputs/PgaInput.vue.d.ts +15 -3
- package/dist/types/components/form/inputs/PgaInputSelect.vue.d.ts +15 -3
- package/dist/types/components/form/inputs/PgaMonthPicker.vue.d.ts +17 -5
- package/dist/types/components/form/inputs/PgaRangePicker.vue.d.ts +17 -5
- package/dist/types/components/form/inputs/PgaSelect.vue.d.ts +38 -26
- package/dist/types/components/form/inputs/PgaSwitch.vue.d.ts +28 -18
- package/dist/types/components/form/inputs/PgaSwitchOptions.vue.d.ts +21 -9
- package/dist/types/components/form/inputs/PgaTextarea.vue.d.ts +15 -3
- package/dist/types/components/form/inputs/PgaYearPicker.vue.d.ts +17 -5
- package/dist/types/components/form/inputs/components/PgaDatePickerInputGroup.vue.d.ts +122 -0
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/use-input-group-props.composable.d.ts +3 -0
- package/dist/types/main.d.ts +1 -1
- package/dist/types/types/api.types.d.ts +39 -0
- package/dist/types/types/form.types.d.ts +13 -0
- package/dist/types/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/api-connections/create-api-connections.d.ts +0 -38
- package/dist/types/api-connections/index.d.ts +0 -1
- package/dist/types/api-connections/methods/call-axios.d.ts +0 -4
- package/dist/types/api-connections/methods/connect-to-api.d.ts +0 -7
- package/dist/types/api-connections/methods/convert-json-to-model.d.ts +0 -3
- package/dist/types/api-connections/methods/get-finals.d.ts +0 -6
- package/dist/types/types/api-connections.types.d.ts +0 -39
- /package/dist/types/{api-connections → api}/i18n/api-connections-error.i18n.d.ts +0 -0
- /package/dist/types/{api-connections → api}/i18n/api-connections-success.i18n.d.ts +0 -0
- /package/dist/types/{api-connections → api}/methods/convert-params-into-form-data.d.ts +0 -0
- /package/dist/types/{api-connections → api}/methods/display-error.d.ts +0 -0
- /package/dist/types/{api-connections → api}/methods/display-success.d.ts +0 -0
- /package/dist/types/{api-connections → api}/methods/get-request-config.d.ts +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Arrayify } from 'pangea-helpers';
|
|
2
|
+
import { Id } from '../types';
|
|
3
|
+
import { CallConfig, Endpoints, EndpointName, ParamsOf, ResponseOf, ApiConfig } from '../types/api.types';
|
|
4
|
+
|
|
5
|
+
export declare function createApi<AE extends Endpoints>(endpoints: AE, appVersion: string, apiConfig?: ApiConfig): {
|
|
6
|
+
getOne<T extends EndpointName<AE, "getOne">>(url: T, id?: Id, params?: ParamsOf<AE, T, "getOne">, callConfig?: CallConfig<ResponseOf<AE, T, "getOne">>): Promise<{
|
|
7
|
+
data: ResponseOf<AE, T, "getOne">;
|
|
8
|
+
totalCount: undefined;
|
|
9
|
+
}>;
|
|
10
|
+
getMany<T_1 extends EndpointName<AE, "getMany">>(url: T_1, params?: ParamsOf<AE, T_1, "getMany">, callConfig?: CallConfig<Arrayify<ResponseOf<AE, T_1, "getMany">>, number>): Promise<{
|
|
11
|
+
data: Arrayify<ResponseOf<AE, T_1, "getMany">>;
|
|
12
|
+
totalCount: number;
|
|
13
|
+
}>;
|
|
14
|
+
postOne<T_2 extends EndpointName<AE, "postOne">>(url: T_2, params?: ParamsOf<AE, T_2, "postOne">, callConfig?: CallConfig<ResponseOf<AE, T_2, "postOne">>): Promise<{
|
|
15
|
+
data: ResponseOf<AE, T_2, "postOne">;
|
|
16
|
+
totalCount: undefined;
|
|
17
|
+
}>;
|
|
18
|
+
postMany<T_3 extends EndpointName<AE, "postMany">>(url: T_3, params: ParamsOf<AE, T_3, "postMany">[], callConfig?: CallConfig<ResponseOf<AE, T_3, "postMany">>): Promise<{
|
|
19
|
+
data: ResponseOf<AE, T_3, "postMany">;
|
|
20
|
+
totalCount: undefined;
|
|
21
|
+
}>;
|
|
22
|
+
putOne<T_4 extends EndpointName<AE, "putOne">>(url: T_4, id?: Id, params?: ParamsOf<AE, T_4, "putOne">, callConfig?: CallConfig<ResponseOf<AE, T_4, "putOne">>): Promise<{
|
|
23
|
+
data: ResponseOf<AE, T_4, "putOne">;
|
|
24
|
+
totalCount: undefined;
|
|
25
|
+
}>;
|
|
26
|
+
putMany<T_5 extends EndpointName<AE, "putMany">>(url: T_5, params: ParamsOf<AE, T_5, "putMany">[], callConfig?: CallConfig<ResponseOf<AE, T_5, "putMany">>): Promise<{
|
|
27
|
+
data: ResponseOf<AE, T_5, "putMany">;
|
|
28
|
+
totalCount: undefined;
|
|
29
|
+
}>;
|
|
30
|
+
deleteOne<T_6 extends EndpointName<AE, "deleteOne">>(url: T_6, id?: Id, callConfig?: CallConfig<ResponseOf<AE, T_6, "deleteOne">>): Promise<{
|
|
31
|
+
data: ResponseOf<AE, T_6, "deleteOne">;
|
|
32
|
+
totalCount: undefined;
|
|
33
|
+
}>;
|
|
34
|
+
deleteMany<T_7 extends EndpointName<AE, "deleteMany">>(url: T_7, ids: Id[], callConfig?: CallConfig<ResponseOf<AE, T_7, "deleteMany">>): Promise<{
|
|
35
|
+
data: ResponseOf<AE, T_7, "deleteMany">;
|
|
36
|
+
totalCount: undefined;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createApi } from './create-api';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PlainObject } from 'pangea-helpers';
|
|
2
|
+
import { HttpMethod, CallConfig, Endpoint, ApiConfig } from '../../types/api.types';
|
|
3
|
+
|
|
4
|
+
export declare function connectToApi<T extends HttpMethod, SuccessRes, TCount>(method: T, url: string, endpoint: Endpoint, params: PlainObject | Array<any>, appVersion: string, apiConfig: ApiConfig | undefined, callConfig?: CallConfig<SuccessRes, TCount>): Promise<{
|
|
5
|
+
data: SuccessRes;
|
|
6
|
+
totalCount: TCount;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PlainObject } from 'pangea-helpers';
|
|
2
|
+
import { Id } from '../../types';
|
|
3
|
+
import { EndpointParams } from '../../types/api.types';
|
|
4
|
+
|
|
5
|
+
export declare function getFinalUrl(url: string, id?: Id): string;
|
|
6
|
+
export declare function getFinalParams(Model: EndpointParams, params: PlainObject | PlainObject[]): import('../../models').BaseParams;
|
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputGroupProps } from '../../types';
|
|
2
2
|
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
label?: StrOrFn;
|
|
5
|
-
withRequiredLabel?: boolean;
|
|
6
|
-
withOptionalLabel?: boolean;
|
|
7
|
-
withLabelSpace?: boolean;
|
|
8
|
-
info?: StrOrFn;
|
|
9
|
-
description?: StrOrFn;
|
|
10
|
-
errors?: InputError[];
|
|
11
|
-
fitContent?: boolean;
|
|
12
|
-
grow?: number;
|
|
13
|
-
inputId?: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
label?: StrOrFn;
|
|
16
|
-
withRequiredLabel?: boolean;
|
|
17
|
-
withOptionalLabel?: boolean;
|
|
18
|
-
withLabelSpace?: boolean;
|
|
19
|
-
info?: StrOrFn;
|
|
20
|
-
description?: StrOrFn;
|
|
21
|
-
errors?: InputError[];
|
|
22
|
-
fitContent?: boolean;
|
|
23
|
-
grow?: number;
|
|
24
|
-
inputId?: string;
|
|
25
|
-
}>>>, {}, {}>, {
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<InputGroupProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputGroupProps>>>, {}, {}>, {
|
|
26
4
|
default?(_: {}): any;
|
|
27
5
|
descriptionRight?(_: {}): any;
|
|
28
6
|
}>;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Color } from '../../../types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
6
|
type: import('vue').PropType<Color>;
|
|
7
7
|
};
|
|
8
|
+
id: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
8
11
|
label: {
|
|
9
|
-
type: import('vue').PropType<StrOrFn>;
|
|
12
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
10
13
|
};
|
|
11
14
|
withRequiredLabel: {
|
|
12
15
|
type: import('vue').PropType<boolean>;
|
|
@@ -18,27 +21,33 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
21
|
type: import('vue').PropType<boolean>;
|
|
19
22
|
};
|
|
20
23
|
info: {
|
|
21
|
-
type: import('vue').PropType<StrOrFn>;
|
|
24
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
22
25
|
};
|
|
23
26
|
description: {
|
|
24
|
-
type: import('vue').PropType<StrOrFn>;
|
|
27
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
25
28
|
};
|
|
26
29
|
errors: {
|
|
27
|
-
type: import('vue').PropType<InputError[]>;
|
|
30
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
28
31
|
};
|
|
29
|
-
|
|
32
|
+
fitContent: {
|
|
30
33
|
type: import('vue').PropType<boolean>;
|
|
31
34
|
};
|
|
32
35
|
grow: {
|
|
33
36
|
type: import('vue').PropType<number>;
|
|
34
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
35
41
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
42
|
modelValue: {
|
|
37
43
|
required: true;
|
|
38
44
|
type: import('vue').PropType<Color>;
|
|
39
45
|
};
|
|
46
|
+
id: {
|
|
47
|
+
type: import('vue').PropType<string>;
|
|
48
|
+
};
|
|
40
49
|
label: {
|
|
41
|
-
type: import('vue').PropType<StrOrFn>;
|
|
50
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
42
51
|
};
|
|
43
52
|
withRequiredLabel: {
|
|
44
53
|
type: import('vue').PropType<boolean>;
|
|
@@ -50,19 +59,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
50
59
|
type: import('vue').PropType<boolean>;
|
|
51
60
|
};
|
|
52
61
|
info: {
|
|
53
|
-
type: import('vue').PropType<StrOrFn>;
|
|
62
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
54
63
|
};
|
|
55
64
|
description: {
|
|
56
|
-
type: import('vue').PropType<StrOrFn>;
|
|
65
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
57
66
|
};
|
|
58
67
|
errors: {
|
|
59
|
-
type: import('vue').PropType<InputError[]>;
|
|
68
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
60
69
|
};
|
|
61
|
-
|
|
70
|
+
fitContent: {
|
|
62
71
|
type: import('vue').PropType<boolean>;
|
|
63
72
|
};
|
|
64
73
|
grow: {
|
|
65
74
|
type: import('vue').PropType<number>;
|
|
66
75
|
};
|
|
76
|
+
disabled: {
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
78
|
+
};
|
|
67
79
|
}>>, {}, {}>;
|
|
68
80
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StrOrFn
|
|
1
|
+
import { StrOrFn } from '../../../types';
|
|
2
2
|
|
|
3
3
|
type ModelValue = Date | string | null;
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
@@ -6,8 +6,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
6
6
|
required: true;
|
|
7
7
|
type: import('vue').PropType<ModelValue>;
|
|
8
8
|
};
|
|
9
|
-
|
|
10
|
-
type: import('vue').PropType<
|
|
9
|
+
id: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
11
|
};
|
|
12
12
|
label: {
|
|
13
13
|
type: import('vue').PropType<StrOrFn>;
|
|
@@ -28,14 +28,20 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
28
28
|
type: import('vue').PropType<StrOrFn>;
|
|
29
29
|
};
|
|
30
30
|
errors: {
|
|
31
|
-
type: import('vue').PropType<InputError[]>;
|
|
31
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
fitContent: {
|
|
34
34
|
type: import('vue').PropType<boolean>;
|
|
35
35
|
};
|
|
36
36
|
grow: {
|
|
37
37
|
type: import('vue').PropType<number>;
|
|
38
38
|
};
|
|
39
|
+
isDateModel: {
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: import('vue').PropType<boolean>;
|
|
44
|
+
};
|
|
39
45
|
notClearable: {
|
|
40
46
|
type: import('vue').PropType<boolean>;
|
|
41
47
|
};
|
|
@@ -47,8 +53,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
47
53
|
required: true;
|
|
48
54
|
type: import('vue').PropType<ModelValue>;
|
|
49
55
|
};
|
|
50
|
-
|
|
51
|
-
type: import('vue').PropType<
|
|
56
|
+
id: {
|
|
57
|
+
type: import('vue').PropType<string>;
|
|
52
58
|
};
|
|
53
59
|
label: {
|
|
54
60
|
type: import('vue').PropType<StrOrFn>;
|
|
@@ -69,14 +75,20 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
69
75
|
type: import('vue').PropType<StrOrFn>;
|
|
70
76
|
};
|
|
71
77
|
errors: {
|
|
72
|
-
type: import('vue').PropType<InputError[]>;
|
|
78
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
73
79
|
};
|
|
74
|
-
|
|
80
|
+
fitContent: {
|
|
75
81
|
type: import('vue').PropType<boolean>;
|
|
76
82
|
};
|
|
77
83
|
grow: {
|
|
78
84
|
type: import('vue').PropType<number>;
|
|
79
85
|
};
|
|
86
|
+
isDateModel: {
|
|
87
|
+
type: import('vue').PropType<boolean>;
|
|
88
|
+
};
|
|
89
|
+
disabled: {
|
|
90
|
+
type: import('vue').PropType<boolean>;
|
|
91
|
+
};
|
|
80
92
|
notClearable: {
|
|
81
93
|
type: import('vue').PropType<boolean>;
|
|
82
94
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { StrOrFn
|
|
1
|
+
import { StrOrFn } from '../../../types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
6
|
type: import('vue').PropType<any>;
|
|
7
7
|
};
|
|
8
|
+
id: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
8
11
|
label: {
|
|
9
12
|
type: import('vue').PropType<StrOrFn>;
|
|
10
13
|
};
|
|
@@ -24,14 +27,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
27
|
type: import('vue').PropType<StrOrFn>;
|
|
25
28
|
};
|
|
26
29
|
errors: {
|
|
27
|
-
type: import('vue').PropType<InputError[]>;
|
|
30
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
28
31
|
};
|
|
29
|
-
|
|
32
|
+
fitContent: {
|
|
30
33
|
type: import('vue').PropType<boolean>;
|
|
31
34
|
};
|
|
32
35
|
grow: {
|
|
33
36
|
type: import('vue').PropType<number>;
|
|
34
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
35
41
|
notClearable: {
|
|
36
42
|
type: import('vue').PropType<boolean>;
|
|
37
43
|
};
|
|
@@ -43,6 +49,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
49
|
required: true;
|
|
44
50
|
type: import('vue').PropType<any>;
|
|
45
51
|
};
|
|
52
|
+
id: {
|
|
53
|
+
type: import('vue').PropType<string>;
|
|
54
|
+
};
|
|
46
55
|
label: {
|
|
47
56
|
type: import('vue').PropType<StrOrFn>;
|
|
48
57
|
};
|
|
@@ -62,14 +71,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
62
71
|
type: import('vue').PropType<StrOrFn>;
|
|
63
72
|
};
|
|
64
73
|
errors: {
|
|
65
|
-
type: import('vue').PropType<InputError[]>;
|
|
74
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
66
75
|
};
|
|
67
|
-
|
|
76
|
+
fitContent: {
|
|
68
77
|
type: import('vue').PropType<boolean>;
|
|
69
78
|
};
|
|
70
79
|
grow: {
|
|
71
80
|
type: import('vue').PropType<number>;
|
|
72
81
|
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: import('vue').PropType<boolean>;
|
|
84
|
+
};
|
|
73
85
|
notClearable: {
|
|
74
86
|
type: import('vue').PropType<boolean>;
|
|
75
87
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Icon } from '../../../types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
6
|
type: import('vue').PropType<Icon>;
|
|
7
7
|
};
|
|
8
|
+
id: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
8
11
|
label: {
|
|
9
|
-
type: import('vue').PropType<StrOrFn>;
|
|
12
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
10
13
|
};
|
|
11
14
|
withRequiredLabel: {
|
|
12
15
|
type: import('vue').PropType<boolean>;
|
|
@@ -18,27 +21,33 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
21
|
type: import('vue').PropType<boolean>;
|
|
19
22
|
};
|
|
20
23
|
info: {
|
|
21
|
-
type: import('vue').PropType<StrOrFn>;
|
|
24
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
22
25
|
};
|
|
23
26
|
description: {
|
|
24
|
-
type: import('vue').PropType<StrOrFn>;
|
|
27
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
25
28
|
};
|
|
26
29
|
errors: {
|
|
27
|
-
type: import('vue').PropType<InputError[]>;
|
|
30
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
28
31
|
};
|
|
29
|
-
|
|
32
|
+
fitContent: {
|
|
30
33
|
type: import('vue').PropType<boolean>;
|
|
31
34
|
};
|
|
32
35
|
grow: {
|
|
33
36
|
type: import('vue').PropType<number>;
|
|
34
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
35
41
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
42
|
modelValue: {
|
|
37
43
|
required: true;
|
|
38
44
|
type: import('vue').PropType<Icon>;
|
|
39
45
|
};
|
|
46
|
+
id: {
|
|
47
|
+
type: import('vue').PropType<string>;
|
|
48
|
+
};
|
|
40
49
|
label: {
|
|
41
|
-
type: import('vue').PropType<StrOrFn>;
|
|
50
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
42
51
|
};
|
|
43
52
|
withRequiredLabel: {
|
|
44
53
|
type: import('vue').PropType<boolean>;
|
|
@@ -50,19 +59,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
50
59
|
type: import('vue').PropType<boolean>;
|
|
51
60
|
};
|
|
52
61
|
info: {
|
|
53
|
-
type: import('vue').PropType<StrOrFn>;
|
|
62
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
54
63
|
};
|
|
55
64
|
description: {
|
|
56
|
-
type: import('vue').PropType<StrOrFn>;
|
|
65
|
+
type: import('vue').PropType<import('../../../types').StrOrFn>;
|
|
57
66
|
};
|
|
58
67
|
errors: {
|
|
59
|
-
type: import('vue').PropType<InputError[]>;
|
|
68
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
60
69
|
};
|
|
61
|
-
|
|
70
|
+
fitContent: {
|
|
62
71
|
type: import('vue').PropType<boolean>;
|
|
63
72
|
};
|
|
64
73
|
grow: {
|
|
65
74
|
type: import('vue').PropType<number>;
|
|
66
75
|
};
|
|
76
|
+
disabled: {
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
78
|
+
};
|
|
67
79
|
}>>, {}, {}>;
|
|
68
80
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StrOrFn,
|
|
1
|
+
import { StrOrFn, Icon } from '../../../types';
|
|
2
2
|
|
|
3
3
|
type ModelValue = string | number | null;
|
|
4
4
|
type PropsType = 'text' | 'password' | 'number';
|
|
@@ -11,6 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
11
11
|
info: {
|
|
12
12
|
type: import('vue').PropType<StrOrFn>;
|
|
13
13
|
};
|
|
14
|
+
id: {
|
|
15
|
+
type: import('vue').PropType<string>;
|
|
16
|
+
};
|
|
14
17
|
description: {
|
|
15
18
|
type: import('vue').PropType<StrOrFn>;
|
|
16
19
|
};
|
|
@@ -24,6 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
24
27
|
label: {
|
|
25
28
|
type: import('vue').PropType<StrOrFn>;
|
|
26
29
|
};
|
|
30
|
+
fitContent: {
|
|
31
|
+
type: import('vue').PropType<boolean>;
|
|
32
|
+
};
|
|
27
33
|
disabled: {
|
|
28
34
|
type: import('vue').PropType<boolean>;
|
|
29
35
|
};
|
|
@@ -31,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
31
37
|
type: import('vue').PropType<boolean>;
|
|
32
38
|
};
|
|
33
39
|
errors: {
|
|
34
|
-
type: import('vue').PropType<InputError[]>;
|
|
40
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
35
41
|
};
|
|
36
42
|
withRequiredLabel: {
|
|
37
43
|
type: import('vue').PropType<boolean>;
|
|
@@ -65,6 +71,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
65
71
|
info: {
|
|
66
72
|
type: import('vue').PropType<StrOrFn>;
|
|
67
73
|
};
|
|
74
|
+
id: {
|
|
75
|
+
type: import('vue').PropType<string>;
|
|
76
|
+
};
|
|
68
77
|
description: {
|
|
69
78
|
type: import('vue').PropType<StrOrFn>;
|
|
70
79
|
};
|
|
@@ -78,6 +87,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
78
87
|
label: {
|
|
79
88
|
type: import('vue').PropType<StrOrFn>;
|
|
80
89
|
};
|
|
90
|
+
fitContent: {
|
|
91
|
+
type: import('vue').PropType<boolean>;
|
|
92
|
+
};
|
|
81
93
|
disabled: {
|
|
82
94
|
type: import('vue').PropType<boolean>;
|
|
83
95
|
};
|
|
@@ -85,7 +97,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
85
97
|
type: import('vue').PropType<boolean>;
|
|
86
98
|
};
|
|
87
99
|
errors: {
|
|
88
|
-
type: import('vue').PropType<InputError[]>;
|
|
100
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
89
101
|
};
|
|
90
102
|
withRequiredLabel: {
|
|
91
103
|
type: import('vue').PropType<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Id, Item, StrOrFn
|
|
1
|
+
import { Id, Item, StrOrFn } from '../../../types';
|
|
2
2
|
|
|
3
3
|
type OptionId = string | number | Id | null;
|
|
4
4
|
type Option = string | number | Item;
|
|
@@ -11,6 +11,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
11
|
info: {
|
|
12
12
|
type: import('vue').PropType<StrOrFn>;
|
|
13
13
|
};
|
|
14
|
+
id: {
|
|
15
|
+
type: import('vue').PropType<string>;
|
|
16
|
+
};
|
|
14
17
|
options: {
|
|
15
18
|
type: import('vue').PropType<Option[]>;
|
|
16
19
|
required: true;
|
|
@@ -27,6 +30,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
30
|
noResultsText: {
|
|
28
31
|
type: import('vue').PropType<StrOrFn>;
|
|
29
32
|
};
|
|
33
|
+
fitContent: {
|
|
34
|
+
type: import('vue').PropType<boolean>;
|
|
35
|
+
};
|
|
30
36
|
disabled: {
|
|
31
37
|
type: import('vue').PropType<boolean>;
|
|
32
38
|
};
|
|
@@ -34,7 +40,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
34
40
|
type: import('vue').PropType<boolean>;
|
|
35
41
|
};
|
|
36
42
|
errors: {
|
|
37
|
-
type: import('vue').PropType<InputError[]>;
|
|
43
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
38
44
|
};
|
|
39
45
|
withRequiredLabel: {
|
|
40
46
|
type: import('vue').PropType<boolean>;
|
|
@@ -70,6 +76,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
70
76
|
info: {
|
|
71
77
|
type: import('vue').PropType<StrOrFn>;
|
|
72
78
|
};
|
|
79
|
+
id: {
|
|
80
|
+
type: import('vue').PropType<string>;
|
|
81
|
+
};
|
|
73
82
|
options: {
|
|
74
83
|
type: import('vue').PropType<Option[]>;
|
|
75
84
|
required: true;
|
|
@@ -86,6 +95,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
86
95
|
noResultsText: {
|
|
87
96
|
type: import('vue').PropType<StrOrFn>;
|
|
88
97
|
};
|
|
98
|
+
fitContent: {
|
|
99
|
+
type: import('vue').PropType<boolean>;
|
|
100
|
+
};
|
|
89
101
|
disabled: {
|
|
90
102
|
type: import('vue').PropType<boolean>;
|
|
91
103
|
};
|
|
@@ -93,7 +105,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
93
105
|
type: import('vue').PropType<boolean>;
|
|
94
106
|
};
|
|
95
107
|
errors: {
|
|
96
|
-
type: import('vue').PropType<InputError[]>;
|
|
108
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
97
109
|
};
|
|
98
110
|
withRequiredLabel: {
|
|
99
111
|
type: import('vue').PropType<boolean>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { StrOrFn
|
|
1
|
+
import { StrOrFn } from '../../../types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
6
|
type: import('vue').PropType<any>;
|
|
7
7
|
};
|
|
8
|
+
id: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
8
11
|
label: {
|
|
9
12
|
type: import('vue').PropType<StrOrFn>;
|
|
10
13
|
};
|
|
@@ -24,14 +27,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
27
|
type: import('vue').PropType<StrOrFn>;
|
|
25
28
|
};
|
|
26
29
|
errors: {
|
|
27
|
-
type: import('vue').PropType<InputError[]>;
|
|
30
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
28
31
|
};
|
|
29
|
-
|
|
32
|
+
fitContent: {
|
|
30
33
|
type: import('vue').PropType<boolean>;
|
|
31
34
|
};
|
|
32
35
|
grow: {
|
|
33
36
|
type: import('vue').PropType<number>;
|
|
34
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
35
41
|
notClearable: {
|
|
36
42
|
type: import('vue').PropType<boolean>;
|
|
37
43
|
};
|
|
@@ -43,6 +49,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
49
|
required: true;
|
|
44
50
|
type: import('vue').PropType<any>;
|
|
45
51
|
};
|
|
52
|
+
id: {
|
|
53
|
+
type: import('vue').PropType<string>;
|
|
54
|
+
};
|
|
46
55
|
label: {
|
|
47
56
|
type: import('vue').PropType<StrOrFn>;
|
|
48
57
|
};
|
|
@@ -62,14 +71,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
62
71
|
type: import('vue').PropType<StrOrFn>;
|
|
63
72
|
};
|
|
64
73
|
errors: {
|
|
65
|
-
type: import('vue').PropType<InputError[]>;
|
|
74
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
66
75
|
};
|
|
67
|
-
|
|
76
|
+
fitContent: {
|
|
68
77
|
type: import('vue').PropType<boolean>;
|
|
69
78
|
};
|
|
70
79
|
grow: {
|
|
71
80
|
type: import('vue').PropType<number>;
|
|
72
81
|
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: import('vue').PropType<boolean>;
|
|
84
|
+
};
|
|
73
85
|
notClearable: {
|
|
74
86
|
type: import('vue').PropType<boolean>;
|
|
75
87
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { StrOrFn
|
|
1
|
+
import { StrOrFn } from '../../../types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
6
|
type: import('vue').PropType<any>;
|
|
7
7
|
};
|
|
8
|
+
id: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
8
11
|
label: {
|
|
9
12
|
type: import('vue').PropType<StrOrFn>;
|
|
10
13
|
};
|
|
@@ -24,14 +27,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
27
|
type: import('vue').PropType<StrOrFn>;
|
|
25
28
|
};
|
|
26
29
|
errors: {
|
|
27
|
-
type: import('vue').PropType<InputError[]>;
|
|
30
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
28
31
|
};
|
|
29
|
-
|
|
32
|
+
fitContent: {
|
|
30
33
|
type: import('vue').PropType<boolean>;
|
|
31
34
|
};
|
|
32
35
|
grow: {
|
|
33
36
|
type: import('vue').PropType<number>;
|
|
34
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
35
41
|
notClearable: {
|
|
36
42
|
type: import('vue').PropType<boolean>;
|
|
37
43
|
};
|
|
@@ -43,6 +49,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
49
|
required: true;
|
|
44
50
|
type: import('vue').PropType<any>;
|
|
45
51
|
};
|
|
52
|
+
id: {
|
|
53
|
+
type: import('vue').PropType<string>;
|
|
54
|
+
};
|
|
46
55
|
label: {
|
|
47
56
|
type: import('vue').PropType<StrOrFn>;
|
|
48
57
|
};
|
|
@@ -62,14 +71,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
62
71
|
type: import('vue').PropType<StrOrFn>;
|
|
63
72
|
};
|
|
64
73
|
errors: {
|
|
65
|
-
type: import('vue').PropType<InputError[]>;
|
|
74
|
+
type: import('vue').PropType<import('../../../types').InputError[]>;
|
|
66
75
|
};
|
|
67
|
-
|
|
76
|
+
fitContent: {
|
|
68
77
|
type: import('vue').PropType<boolean>;
|
|
69
78
|
};
|
|
70
79
|
grow: {
|
|
71
80
|
type: import('vue').PropType<number>;
|
|
72
81
|
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: import('vue').PropType<boolean>;
|
|
84
|
+
};
|
|
73
85
|
notClearable: {
|
|
74
86
|
type: import('vue').PropType<boolean>;
|
|
75
87
|
};
|