@point-hub/papp 0.0.120 → 0.0.122
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/components/base-checkbox.vue.d.ts +4 -2
- package/dist/components/base-choosen.vue.d.ts +8 -6
- package/dist/components/base-datepicker.vue.d.ts +2 -0
- package/dist/components/base-file-upload.vue.d.ts +2 -0
- package/dist/components/base-input-mask.vue.d.ts +2 -0
- package/dist/components/base-input-number.vue.d.ts +2 -0
- package/dist/components/base-input.vue.d.ts +1 -1
- package/dist/components/base-radio.vue.d.ts +2 -0
- package/dist/components/base-select.vue.d.ts +156 -10
- package/dist/components/base-switch.vue.d.ts +1 -0
- package/dist/components/base-textarea.vue.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4099 -4439
- package/dist/index.umd.cjs +6 -6
- package/package.json +5 -4
- package/dist/components/base-autocomplete.vue.d.ts +0 -183
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@point-hub/papp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.122",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.umd.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"./index.css": "./dist/index.css"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
|
-
"dev": "run-s clean-dist build:lib && run-p
|
|
25
|
+
"dev": "run-s clean-dist build:lib && run-p build:watch docs:dev",
|
|
26
26
|
"dev:src": "vite dev",
|
|
27
|
-
"dev:lib": "vite build --watch",
|
|
28
27
|
"build": "run-s clean-dist build:lib docs:build",
|
|
29
28
|
"build:lib": "vite build",
|
|
29
|
+
"build:watch": "vite build && chokidar 'src/**/*' -c 'vite build'",
|
|
30
30
|
"test": "vitest",
|
|
31
31
|
"test:e2e": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress run --e2e'",
|
|
32
32
|
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@tsconfig/node20": "^20.1.6",
|
|
63
63
|
"@types/cleave.js": "^1.4.12",
|
|
64
64
|
"@types/jsdom": "^21.1.7",
|
|
65
|
-
"@types/node": "^24.0.
|
|
65
|
+
"@types/node": "^24.0.8",
|
|
66
66
|
"@types/uuid": "^10.0.0",
|
|
67
67
|
"@unocss/preset-web-fonts": "^66.3.2",
|
|
68
68
|
"@unocss/reset": "^66.3.2",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@vue/test-utils": "^2.4.6",
|
|
75
75
|
"@vue/tsconfig": "^0.7.0",
|
|
76
76
|
"ajv": "^8.17.1",
|
|
77
|
+
"chokidar-cli": "^3.0.0",
|
|
77
78
|
"cypress-file-upload": "^5.0.8",
|
|
78
79
|
"eslint": "9.30.0",
|
|
79
80
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { BaseFormLayoutType } from './base-form.vue';
|
|
2
|
-
export type BaseAutocompleteBorderType = 'none' | 'simple' | 'full';
|
|
3
|
-
export interface BaseAutocompleteOptionInterface {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}
|
|
8
|
-
export interface Props {
|
|
9
|
-
id?: string;
|
|
10
|
-
options: BaseAutocompleteOptionInterface[];
|
|
11
|
-
label?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
border?: BaseAutocompleteBorderType;
|
|
15
|
-
layout?: BaseFormLayoutType;
|
|
16
|
-
autofocus?: boolean;
|
|
17
|
-
required?: boolean;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
helpers?: string[];
|
|
20
|
-
dataTestid?: string;
|
|
21
|
-
}
|
|
22
|
-
type __VLS_Props = Props;
|
|
23
|
-
type __VLS_PublicProps = {
|
|
24
|
-
'selected-label'?: any;
|
|
25
|
-
'selected-value'?: any;
|
|
26
|
-
modelValue?: BaseAutocompleteOptionInterface;
|
|
27
|
-
'isLoading'?: boolean;
|
|
28
|
-
'query'?: string;
|
|
29
|
-
'errors'?: string[];
|
|
30
|
-
} & __VLS_Props;
|
|
31
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
32
|
-
inputRef: import('vue').Ref<any, any>;
|
|
33
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
-
"update:modelValue": (value: BaseAutocompleteOptionInterface) => any;
|
|
35
|
-
"update:selected-label": (value: any) => any;
|
|
36
|
-
"update:selected-value": (value: any) => any;
|
|
37
|
-
"update:isLoading": (value: boolean) => any;
|
|
38
|
-
"update:query": (value: string) => any;
|
|
39
|
-
"update:errors": (value: string[]) => any;
|
|
40
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
41
|
-
"onUpdate:modelValue"?: ((value: BaseAutocompleteOptionInterface) => any) | undefined;
|
|
42
|
-
"onUpdate:selected-label"?: ((value: any) => any) | undefined;
|
|
43
|
-
"onUpdate:selected-value"?: ((value: any) => any) | undefined;
|
|
44
|
-
"onUpdate:isLoading"?: ((value: boolean) => any) | undefined;
|
|
45
|
-
"onUpdate:query"?: ((value: string) => any) | undefined;
|
|
46
|
-
"onUpdate:errors"?: ((value: string[]) => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
required: boolean;
|
|
49
|
-
disabled: boolean;
|
|
50
|
-
layout: BaseFormLayoutType;
|
|
51
|
-
border: BaseAutocompleteBorderType;
|
|
52
|
-
autofocus: boolean;
|
|
53
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
54
|
-
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
55
|
-
as: {
|
|
56
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
static: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
unmount: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
displayValue: {
|
|
68
|
-
type: import('vue').PropType<(item: unknown) => string>;
|
|
69
|
-
};
|
|
70
|
-
defaultValue: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: undefined;
|
|
73
|
-
};
|
|
74
|
-
id: {
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
default: null;
|
|
77
|
-
};
|
|
78
|
-
}>> & {
|
|
79
|
-
onChange?: ((_value: Event & {
|
|
80
|
-
target: HTMLInputElement;
|
|
81
|
-
}) => any) | undefined;
|
|
82
|
-
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
83
|
-
[key: string]: any;
|
|
84
|
-
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
85
|
-
[key: string]: any;
|
|
86
|
-
}>[] | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
87
|
-
change: (_value: Event & {
|
|
88
|
-
target: HTMLInputElement;
|
|
89
|
-
}) => true;
|
|
90
|
-
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
91
|
-
id: string;
|
|
92
|
-
as: string | Record<string, any>;
|
|
93
|
-
unmount: boolean;
|
|
94
|
-
static: boolean;
|
|
95
|
-
defaultValue: string;
|
|
96
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
97
|
-
P: {};
|
|
98
|
-
B: {};
|
|
99
|
-
D: {};
|
|
100
|
-
C: {};
|
|
101
|
-
M: {};
|
|
102
|
-
Defaults: {};
|
|
103
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
104
|
-
as: {
|
|
105
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
static: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
unmount: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
displayValue: {
|
|
117
|
-
type: import('vue').PropType<(item: unknown) => string>;
|
|
118
|
-
};
|
|
119
|
-
defaultValue: {
|
|
120
|
-
type: StringConstructor;
|
|
121
|
-
default: undefined;
|
|
122
|
-
};
|
|
123
|
-
id: {
|
|
124
|
-
type: StringConstructor;
|
|
125
|
-
default: null;
|
|
126
|
-
};
|
|
127
|
-
}>> & {
|
|
128
|
-
onChange?: ((_value: Event & {
|
|
129
|
-
target: HTMLInputElement;
|
|
130
|
-
}) => any) | undefined;
|
|
131
|
-
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
132
|
-
[key: string]: any;
|
|
133
|
-
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
134
|
-
[key: string]: any;
|
|
135
|
-
}>[] | null, {}, {}, {}, {
|
|
136
|
-
id: string;
|
|
137
|
-
as: string | Record<string, any>;
|
|
138
|
-
unmount: boolean;
|
|
139
|
-
static: boolean;
|
|
140
|
-
defaultValue: string;
|
|
141
|
-
}> | null;
|
|
142
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
143
|
-
as: {
|
|
144
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
145
|
-
default: string;
|
|
146
|
-
};
|
|
147
|
-
id: {
|
|
148
|
-
type: StringConstructor;
|
|
149
|
-
default: null;
|
|
150
|
-
};
|
|
151
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
152
|
-
[key: string]: any;
|
|
153
|
-
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
154
|
-
[key: string]: any;
|
|
155
|
-
}>[] | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
156
|
-
id: string;
|
|
157
|
-
as: string | Record<string, any>;
|
|
158
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
159
|
-
P: {};
|
|
160
|
-
B: {};
|
|
161
|
-
D: {};
|
|
162
|
-
C: {};
|
|
163
|
-
M: {};
|
|
164
|
-
Defaults: {};
|
|
165
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
166
|
-
as: {
|
|
167
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
id: {
|
|
171
|
-
type: StringConstructor;
|
|
172
|
-
default: null;
|
|
173
|
-
};
|
|
174
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
175
|
-
[key: string]: any;
|
|
176
|
-
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
177
|
-
[key: string]: any;
|
|
178
|
-
}>[] | null, {}, {}, {}, {
|
|
179
|
-
id: string;
|
|
180
|
-
as: string | Record<string, any>;
|
|
181
|
-
}> | null;
|
|
182
|
-
}, any>;
|
|
183
|
-
export default _default;
|