@point-hub/papp 0.0.121 → 0.0.123

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@point-hub/papp",
3
- "version": "0.0.121",
3
+ "version": "0.0.123",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "dev:src": "vite dev",
27
27
  "build": "run-s clean-dist build:lib docs:build",
28
28
  "build:lib": "vite build",
29
- "build:watch": "vite build && chokidar 'src/**/*' -c 'vite build'",
29
+ "build:watch": "chokidar 'src/**/*' -c 'vite build' --initial",
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'",
@@ -41,10 +41,10 @@
41
41
  "dependencies": {
42
42
  "@headlessui/vue": "^1.7.23",
43
43
  "@point-hub/js-utils": "^0.0.6",
44
- "@point-hub/preset-papp-icon": "^0.0.3",
45
- "@unocss/vite": "^66.3.2",
46
- "@vueuse/components": "^13.4.0",
47
- "@vueuse/core": "^13.4.0",
44
+ "@point-hub/preset-papp-icon": "^0.0.7",
45
+ "@unocss/vite": "^66.3.3",
46
+ "@vueuse/components": "^13.5.0",
47
+ "@vueuse/core": "^13.5.0",
48
48
  "cleave.js": "^1.6.0",
49
49
  "date-fns": "^4.1.0",
50
50
  "pinia": "^3.0.3",
@@ -62,23 +62,23 @@
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.8",
65
+ "@types/node": "^24.0.13",
66
66
  "@types/uuid": "^10.0.0",
67
- "@unocss/preset-web-fonts": "^66.3.2",
68
- "@unocss/reset": "^66.3.2",
69
- "@unocss/transformer-directives": "^66.3.2",
67
+ "@unocss/preset-web-fonts": "^66.3.3",
68
+ "@unocss/reset": "^66.3.3",
69
+ "@unocss/transformer-directives": "^66.3.3",
70
70
  "@vitejs/plugin-vue": "^6.0.0",
71
- "@vitest/eslint-plugin": "^1.3.3",
71
+ "@vitest/eslint-plugin": "^1.3.4",
72
72
  "@vue/eslint-config-prettier": "^10.2.0",
73
- "@vue/eslint-config-typescript": "^14.5.1",
73
+ "@vue/eslint-config-typescript": "^14.6.0",
74
74
  "@vue/test-utils": "^2.4.6",
75
75
  "@vue/tsconfig": "^0.7.0",
76
76
  "ajv": "^8.17.1",
77
77
  "chokidar-cli": "^3.0.0",
78
78
  "cypress-file-upload": "^5.0.8",
79
- "eslint": "9.30.0",
79
+ "eslint": "9.31.0",
80
80
  "eslint-plugin-simple-import-sort": "^12.1.1",
81
- "eslint-plugin-vue": "^10.2.0",
81
+ "eslint-plugin-vue": "^10.3.0",
82
82
  "jsdom": "^26.1.0",
83
83
  "npm-run-all2": "^8.0.4",
84
84
  "postcss": "^8.5.6",
@@ -86,13 +86,13 @@
86
86
  "rimraf": "^6.0.1",
87
87
  "start-server-and-test": "^2.0.12",
88
88
  "typescript": "5.8.3",
89
- "unocss": "^66.3.2",
90
- "vite": "^7.0.0",
89
+ "unocss": "^66.3.3",
90
+ "vite": "^7.0.4",
91
91
  "vite-plugin-dts": "4.5.4",
92
92
  "vitepress": "1.6.3",
93
93
  "vitest": "^3.2.4",
94
94
  "vue": "^3.5.17",
95
- "vue-tsc": "^2.2.10"
95
+ "vue-tsc": "^3.0.1"
96
96
  },
97
97
  "repository": {
98
98
  "type": "git",
@@ -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;