yxuse 3.0.102 → 3.0.104
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/README.md +89 -89
- package/lib/index.cjs11.js +1 -1
- package/lib/index.cjs2.js +1 -1
- package/lib/index.cjs5.js +1 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.cjs6.js +1 -1
- package/lib/index.es11.js +8 -2
- package/lib/index.es11.js.gz +0 -0
- package/lib/index.es2.js +209 -33
- package/lib/index.es2.js.gz +0 -0
- package/lib/index.es5.js +79 -8
- package/lib/index.es5.js.gz +0 -0
- package/lib/index.es6.js +3 -3
- package/lib/index.es6.js.gz +0 -0
- package/lib/utils.cjs.js +1 -1
- package/lib/utils.es.js +9 -1
- package/lib/vendor-axios.cjs.js.gz +0 -0
- package/lib/vendor-axios.es.js.gz +0 -0
- package/lib/vendor-dayjs.es.js.gz +0 -0
- package/lib/vendor-localforage.cjs.js.gz +0 -0
- package/lib/vendor-localforage.es.js.gz +0 -0
- package/lib/vendor-lodash.cjs.js.gz +0 -0
- package/lib/vendor-lodash.es.js.gz +0 -0
- package/lib/vendor-mqtt.cjs.js.gz +0 -0
- package/lib/vendor-mqtt.es.js.gz +0 -0
- package/lib/vendor-sortablejs.cjs.js.gz +0 -0
- package/lib/vendor-sortablejs.es.js.gz +0 -0
- package/lib/version.json +12 -12
- package/lib/yxuse.css +1 -1
- package/lib/yxuse.css.gz +0 -0
- package/package.json +178 -178
- package/types/api/modules/auth/index.d.ts +13 -13
- package/types/components/Common/DynamicComponent/index.vue.d.ts +21 -21
- package/types/components/CommonPage/index.d.ts +3 -3
- package/types/components/CommonPage/page.d.ts +64 -64
- package/types/components/CommonPage/pagination.d.ts +9 -9
- package/types/components/CommonPage/props.d.ts +36 -36
- package/types/components/CommonPage/search.d.ts +4 -4
- package/types/components/CommonPage/table.d.ts +3 -3
- package/types/components/CommonPage/type.d.ts +1 -1
- package/types/components/SearchForm/index.d.ts +3 -3
- package/types/components/SearchForm/index.vue.d.ts +2 -2
- package/types/components/YxForm/form.type.d.ts +183 -183
- package/types/components/YxForm/form.vaildator.d.ts +57 -57
- package/types/components/YxForm/form.vue.d.ts +66 -66
- package/types/components/YxFormV2/index.d.ts +3 -3
- package/types/components/YxFormV2/index.vue.d.ts +46 -46
- package/types/components/YxFormV2/type.d.ts +54 -54
- package/types/components/YxFrom/form.type.d.ts +179 -179
- package/types/components/YxFrom/form.vaildator.d.ts +57 -57
- package/types/components/YxFrom/form.vue.d.ts +66 -66
- package/types/components/YxFrom/index.d.ts +3 -3
- package/types/components/YxIcon/index.vue.d.ts +22 -22
- package/types/components/YxSearchForm/index.d.ts +3 -3
- package/types/components/YxSearchForm/index.vue.d.ts +36 -36
- package/types/components/YxSearchForm/type.d.ts +52 -52
- package/types/components/YxTable3/index.d.ts +1 -1
- package/types/components/YxTable3/src/index.d.ts +31 -31
- package/types/icons/index.d.ts +1 -1
- package/types/icons/src/index.d.ts +4 -4
- package/types/theme/checkVersion.d.ts +1 -0
- package/types/theme/config.d.ts +1 -0
- package/types/theme/type.d.ts +2 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/mqtt/index.d.ts +24 -12
- package/types/utils/mqtt/interface.d.ts +6 -2
- package/types/utils/mqtt/singleton.d.ts +50 -0
package/package.json
CHANGED
|
@@ -1,179 +1,179 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "yxuse",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"keywords": [
|
|
5
|
-
"yx"
|
|
6
|
-
],
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "node ./build/log.ts dev && vite",
|
|
9
|
-
"build": "node ./build/log.ts build && vite build --mode production && node ./build/log.ts end",
|
|
10
|
-
"notice": "node ./build/msg.ts",
|
|
11
|
-
"preview": "vite preview",
|
|
12
|
-
"build-only": "vite build",
|
|
13
|
-
"type-check": "vue-tsc --noEmit",
|
|
14
|
-
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
|
|
15
|
-
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
|
16
|
-
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
17
|
-
"prepare": "husky install",
|
|
18
|
-
"lint:lint-staged": "lint-staged",
|
|
19
|
-
"commit": "git pull && git add -A && git-cz && git push",
|
|
20
|
-
"tsc": "tsc --noEmit --watch"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"lib",
|
|
24
|
-
"types"
|
|
25
|
-
],
|
|
26
|
-
"main": "lib/index.es.js",
|
|
27
|
-
"module": "lib/index.es.js",
|
|
28
|
-
"types": "types/index.d.ts",
|
|
29
|
-
"exports": {
|
|
30
|
-
".": {
|
|
31
|
-
"types": "./types/index.d.ts",
|
|
32
|
-
"import": "./lib/index.es.js",
|
|
33
|
-
"require": "./lib/index.cls.js"
|
|
34
|
-
},
|
|
35
|
-
"./utils": {
|
|
36
|
-
"types": "./types/utils/index.d.ts",
|
|
37
|
-
"import": "./lib/utils.es.js",
|
|
38
|
-
"require": "./lib/utils.cls.js"
|
|
39
|
-
},
|
|
40
|
-
"./api": {
|
|
41
|
-
"types": "./types/api/index.d.ts",
|
|
42
|
-
"import": "./lib/api.es.js",
|
|
43
|
-
"require": "./lib/api.cls.js"
|
|
44
|
-
},
|
|
45
|
-
"./theme": {
|
|
46
|
-
"types": "./types/theme/index.d.ts",
|
|
47
|
-
"import": "./lib/theme.es.js",
|
|
48
|
-
"require": "./lib/theme.cls.js"
|
|
49
|
-
},
|
|
50
|
-
"./directives": {
|
|
51
|
-
"types": "./types/directives/index.d.ts",
|
|
52
|
-
"import": "./lib/directives.es.js",
|
|
53
|
-
"require": "./lib/directives.cls.js"
|
|
54
|
-
},
|
|
55
|
-
"./yxIcon": {
|
|
56
|
-
"types": "./types/yxIcon/index.d.ts",
|
|
57
|
-
"import": "./lib/yxIcon.es.js",
|
|
58
|
-
"require": "./lib/yxIcon.cls.js"
|
|
59
|
-
},
|
|
60
|
-
"./components": {
|
|
61
|
-
"types": "./types/components/index.d.ts",
|
|
62
|
-
"import": "./lib/components.es.js",
|
|
63
|
-
"require": "./lib/components.cls.js"
|
|
64
|
-
},
|
|
65
|
-
"./translate": {
|
|
66
|
-
"types": "./types/translate/index.d.ts",
|
|
67
|
-
"import": "./lib/translate.es.js",
|
|
68
|
-
"require": "./lib/translate.cls.js"
|
|
69
|
-
},
|
|
70
|
-
"./hooks": {
|
|
71
|
-
"types": "./types/hooks/index.d.ts",
|
|
72
|
-
"import": "./lib/hooks.es.js",
|
|
73
|
-
"require": "./lib/hooks.cls.js"
|
|
74
|
-
},
|
|
75
|
-
"./app": {
|
|
76
|
-
"types": "./types/app/index.d.ts",
|
|
77
|
-
"import": "./lib/app.es.js",
|
|
78
|
-
"require": "./lib/app.cls.js"
|
|
79
|
-
},
|
|
80
|
-
"./yxi18n": {
|
|
81
|
-
"types": "./types/yxi18n/index.d.ts",
|
|
82
|
-
"import": "./lib/yxi18n.es.js",
|
|
83
|
-
"require": "./lib/yxi18n.cls.js"
|
|
84
|
-
},
|
|
85
|
-
"./style": {
|
|
86
|
-
"import": "./lib/yxuse.css",
|
|
87
|
-
"require": "./lib/yxuse.css"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"dependencies": {
|
|
91
|
-
"axios": "^1.3.3",
|
|
92
|
-
"dayjs": "^1.11.10",
|
|
93
|
-
"file-saver": "^2.0.5",
|
|
94
|
-
"localforage": "^1.10.0",
|
|
95
|
-
"lodash": "^4.17.21",
|
|
96
|
-
"mqtt": "^4.0.1",
|
|
97
|
-
"nprogress": "^0.2.0",
|
|
98
|
-
"pinia": "^2.0.30",
|
|
99
|
-
"qs": "^6.11.0",
|
|
100
|
-
"sortablejs": "^1.15.0",
|
|
101
|
-
"vue-i18n": "^10.0.4",
|
|
102
|
-
"xlsx": "^0.18.5",
|
|
103
|
-
"xlsx-js-style": "^1.2.0"
|
|
104
|
-
},
|
|
105
|
-
"devDependencies": {
|
|
106
|
-
"@commitlint/cli": "^17.5.1",
|
|
107
|
-
"@commitlint/config-conventional": "^17.4.4",
|
|
108
|
-
"@rushstack/eslint-patch": "^1.2.0",
|
|
109
|
-
"@types/node": "^18.14.0",
|
|
110
|
-
"@types/nprogress": "^0.2.0",
|
|
111
|
-
"@types/sortablejs": "^1.15.8",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
113
|
-
"@typescript-eslint/parser": "^6.19.0",
|
|
114
|
-
"@vitejs/plugin-vue": "^5.0.2",
|
|
115
|
-
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
116
|
-
"@vue/eslint-config-prettier": "^7.0.0",
|
|
117
|
-
"@vue/eslint-config-typescript": "^11.0.2",
|
|
118
|
-
"@vue/tsconfig": "^0.7.0",
|
|
119
|
-
"autoprefixer": "^10.4.13",
|
|
120
|
-
"commitizen": "^4.3.0",
|
|
121
|
-
"cssnano": "^5.1.15",
|
|
122
|
-
"cz-git": "^1.6.1",
|
|
123
|
-
"element-plus": "^2.10.7",
|
|
124
|
-
"eslint": "^8.56.0",
|
|
125
|
-
"eslint-plugin-vue": "^9.20.1",
|
|
126
|
-
"figlet": "^1.6.0",
|
|
127
|
-
"husky": "^8.0.3",
|
|
128
|
-
"lint-staged": "^13.2.0",
|
|
129
|
-
"npm-run-all": "^4.1.5",
|
|
130
|
-
"pinia-plugin-persistedstate": "^3.1.0",
|
|
131
|
-
"postcss": "^8.4.21",
|
|
132
|
-
"postcss-html": "^1.5.0",
|
|
133
|
-
"postcss-import": "^15.1.0",
|
|
134
|
-
"postcss-nesting": "^11.2.2",
|
|
135
|
-
"postcss-preset-env": "^8.4.2",
|
|
136
|
-
"postcss-px-to-viewport": "^1.1.1",
|
|
137
|
-
"postcss-scss": "^4.0.6",
|
|
138
|
-
"prettier": "^2.8.4",
|
|
139
|
-
"rollup-plugin-visualizer": "^5.9.2",
|
|
140
|
-
"sass": "^1.89.0",
|
|
141
|
-
"stylelint": "^15.6.0",
|
|
142
|
-
"stylelint-config-prettier": "^9.0.3",
|
|
143
|
-
"stylelint-config-recess-order": "^4.0.0",
|
|
144
|
-
"stylelint-config-recommended-scss": "^11.0.0",
|
|
145
|
-
"stylelint-config-recommended-vue": "^1.4.0",
|
|
146
|
-
"stylelint-config-standard": "^33.0.0",
|
|
147
|
-
"stylelint-config-standard-scss": "^9.0.0",
|
|
148
|
-
"tailwindcss": "^3.2.7",
|
|
149
|
-
"terser": "^5.33.0",
|
|
150
|
-
"typescript": "~5.3.3",
|
|
151
|
-
"unplugin-auto-import": "^0.16.6",
|
|
152
|
-
"unplugin-element-plus": "^0.8.0",
|
|
153
|
-
"unplugin-vue-components": "^0.25.1",
|
|
154
|
-
"vite": "^6.3.5",
|
|
155
|
-
"vite-plugin-compression": "^0.5.1",
|
|
156
|
-
"vite-plugin-dts": "^3.7.0",
|
|
157
|
-
"vite-plugin-lazy-import": "^1.0.7",
|
|
158
|
-
"vite-plugin-remove-console": "^2.1.0",
|
|
159
|
-
"vite-plugin-windicss": "^1.9.3",
|
|
160
|
-
"vite-svg-loader": "^5.1.0",
|
|
161
|
-
"vue": "^3.5.13",
|
|
162
|
-
"vue-router": "^4.5.1",
|
|
163
|
-
"vue-tsc": "^1.1.4"
|
|
164
|
-
},
|
|
165
|
-
"pnpm": {
|
|
166
|
-
"peerDependencyRules": {
|
|
167
|
-
"ignoreMissing": [
|
|
168
|
-
"rollup",
|
|
169
|
-
"webpack"
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"config": {
|
|
174
|
-
"commitizen": {
|
|
175
|
-
"path": "node_modules/cz-git"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"packageManager": "pnpm@8.15.5+sha512.b051a32c7e695833b84926d3b29b8cca57254b589f0649d899c6e9d0edb670b91ec7e2a43459bae73759bb5ce619c3266f116bf931ce22d1ef1759a7e45aa96f"
|
|
1
|
+
{
|
|
2
|
+
"name": "yxuse",
|
|
3
|
+
"version": "3.0.104",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"yx"
|
|
6
|
+
],
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "node ./build/log.ts dev && vite",
|
|
9
|
+
"build": "node ./build/log.ts build && vite build --mode production && node ./build/log.ts end",
|
|
10
|
+
"notice": "node ./build/msg.ts",
|
|
11
|
+
"preview": "vite preview",
|
|
12
|
+
"build-only": "vite build",
|
|
13
|
+
"type-check": "vue-tsc --noEmit",
|
|
14
|
+
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
|
|
15
|
+
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
|
16
|
+
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
17
|
+
"prepare": "husky install",
|
|
18
|
+
"lint:lint-staged": "lint-staged",
|
|
19
|
+
"commit": "git pull && git add -A && git-cz && git push",
|
|
20
|
+
"tsc": "tsc --noEmit --watch"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"lib",
|
|
24
|
+
"types"
|
|
25
|
+
],
|
|
26
|
+
"main": "lib/index.es.js",
|
|
27
|
+
"module": "lib/index.es.js",
|
|
28
|
+
"types": "types/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./types/index.d.ts",
|
|
32
|
+
"import": "./lib/index.es.js",
|
|
33
|
+
"require": "./lib/index.cls.js"
|
|
34
|
+
},
|
|
35
|
+
"./utils": {
|
|
36
|
+
"types": "./types/utils/index.d.ts",
|
|
37
|
+
"import": "./lib/utils.es.js",
|
|
38
|
+
"require": "./lib/utils.cls.js"
|
|
39
|
+
},
|
|
40
|
+
"./api": {
|
|
41
|
+
"types": "./types/api/index.d.ts",
|
|
42
|
+
"import": "./lib/api.es.js",
|
|
43
|
+
"require": "./lib/api.cls.js"
|
|
44
|
+
},
|
|
45
|
+
"./theme": {
|
|
46
|
+
"types": "./types/theme/index.d.ts",
|
|
47
|
+
"import": "./lib/theme.es.js",
|
|
48
|
+
"require": "./lib/theme.cls.js"
|
|
49
|
+
},
|
|
50
|
+
"./directives": {
|
|
51
|
+
"types": "./types/directives/index.d.ts",
|
|
52
|
+
"import": "./lib/directives.es.js",
|
|
53
|
+
"require": "./lib/directives.cls.js"
|
|
54
|
+
},
|
|
55
|
+
"./yxIcon": {
|
|
56
|
+
"types": "./types/yxIcon/index.d.ts",
|
|
57
|
+
"import": "./lib/yxIcon.es.js",
|
|
58
|
+
"require": "./lib/yxIcon.cls.js"
|
|
59
|
+
},
|
|
60
|
+
"./components": {
|
|
61
|
+
"types": "./types/components/index.d.ts",
|
|
62
|
+
"import": "./lib/components.es.js",
|
|
63
|
+
"require": "./lib/components.cls.js"
|
|
64
|
+
},
|
|
65
|
+
"./translate": {
|
|
66
|
+
"types": "./types/translate/index.d.ts",
|
|
67
|
+
"import": "./lib/translate.es.js",
|
|
68
|
+
"require": "./lib/translate.cls.js"
|
|
69
|
+
},
|
|
70
|
+
"./hooks": {
|
|
71
|
+
"types": "./types/hooks/index.d.ts",
|
|
72
|
+
"import": "./lib/hooks.es.js",
|
|
73
|
+
"require": "./lib/hooks.cls.js"
|
|
74
|
+
},
|
|
75
|
+
"./app": {
|
|
76
|
+
"types": "./types/app/index.d.ts",
|
|
77
|
+
"import": "./lib/app.es.js",
|
|
78
|
+
"require": "./lib/app.cls.js"
|
|
79
|
+
},
|
|
80
|
+
"./yxi18n": {
|
|
81
|
+
"types": "./types/yxi18n/index.d.ts",
|
|
82
|
+
"import": "./lib/yxi18n.es.js",
|
|
83
|
+
"require": "./lib/yxi18n.cls.js"
|
|
84
|
+
},
|
|
85
|
+
"./style": {
|
|
86
|
+
"import": "./lib/yxuse.css",
|
|
87
|
+
"require": "./lib/yxuse.css"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"dependencies": {
|
|
91
|
+
"axios": "^1.3.3",
|
|
92
|
+
"dayjs": "^1.11.10",
|
|
93
|
+
"file-saver": "^2.0.5",
|
|
94
|
+
"localforage": "^1.10.0",
|
|
95
|
+
"lodash": "^4.17.21",
|
|
96
|
+
"mqtt": "^4.0.1",
|
|
97
|
+
"nprogress": "^0.2.0",
|
|
98
|
+
"pinia": "^2.0.30",
|
|
99
|
+
"qs": "^6.11.0",
|
|
100
|
+
"sortablejs": "^1.15.0",
|
|
101
|
+
"vue-i18n": "^10.0.4",
|
|
102
|
+
"xlsx": "^0.18.5",
|
|
103
|
+
"xlsx-js-style": "^1.2.0"
|
|
104
|
+
},
|
|
105
|
+
"devDependencies": {
|
|
106
|
+
"@commitlint/cli": "^17.5.1",
|
|
107
|
+
"@commitlint/config-conventional": "^17.4.4",
|
|
108
|
+
"@rushstack/eslint-patch": "^1.2.0",
|
|
109
|
+
"@types/node": "^18.14.0",
|
|
110
|
+
"@types/nprogress": "^0.2.0",
|
|
111
|
+
"@types/sortablejs": "^1.15.8",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
113
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
114
|
+
"@vitejs/plugin-vue": "^5.0.2",
|
|
115
|
+
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
116
|
+
"@vue/eslint-config-prettier": "^7.0.0",
|
|
117
|
+
"@vue/eslint-config-typescript": "^11.0.2",
|
|
118
|
+
"@vue/tsconfig": "^0.7.0",
|
|
119
|
+
"autoprefixer": "^10.4.13",
|
|
120
|
+
"commitizen": "^4.3.0",
|
|
121
|
+
"cssnano": "^5.1.15",
|
|
122
|
+
"cz-git": "^1.6.1",
|
|
123
|
+
"element-plus": "^2.10.7",
|
|
124
|
+
"eslint": "^8.56.0",
|
|
125
|
+
"eslint-plugin-vue": "^9.20.1",
|
|
126
|
+
"figlet": "^1.6.0",
|
|
127
|
+
"husky": "^8.0.3",
|
|
128
|
+
"lint-staged": "^13.2.0",
|
|
129
|
+
"npm-run-all": "^4.1.5",
|
|
130
|
+
"pinia-plugin-persistedstate": "^3.1.0",
|
|
131
|
+
"postcss": "^8.4.21",
|
|
132
|
+
"postcss-html": "^1.5.0",
|
|
133
|
+
"postcss-import": "^15.1.0",
|
|
134
|
+
"postcss-nesting": "^11.2.2",
|
|
135
|
+
"postcss-preset-env": "^8.4.2",
|
|
136
|
+
"postcss-px-to-viewport": "^1.1.1",
|
|
137
|
+
"postcss-scss": "^4.0.6",
|
|
138
|
+
"prettier": "^2.8.4",
|
|
139
|
+
"rollup-plugin-visualizer": "^5.9.2",
|
|
140
|
+
"sass": "^1.89.0",
|
|
141
|
+
"stylelint": "^15.6.0",
|
|
142
|
+
"stylelint-config-prettier": "^9.0.3",
|
|
143
|
+
"stylelint-config-recess-order": "^4.0.0",
|
|
144
|
+
"stylelint-config-recommended-scss": "^11.0.0",
|
|
145
|
+
"stylelint-config-recommended-vue": "^1.4.0",
|
|
146
|
+
"stylelint-config-standard": "^33.0.0",
|
|
147
|
+
"stylelint-config-standard-scss": "^9.0.0",
|
|
148
|
+
"tailwindcss": "^3.2.7",
|
|
149
|
+
"terser": "^5.33.0",
|
|
150
|
+
"typescript": "~5.3.3",
|
|
151
|
+
"unplugin-auto-import": "^0.16.6",
|
|
152
|
+
"unplugin-element-plus": "^0.8.0",
|
|
153
|
+
"unplugin-vue-components": "^0.25.1",
|
|
154
|
+
"vite": "^6.3.5",
|
|
155
|
+
"vite-plugin-compression": "^0.5.1",
|
|
156
|
+
"vite-plugin-dts": "^3.7.0",
|
|
157
|
+
"vite-plugin-lazy-import": "^1.0.7",
|
|
158
|
+
"vite-plugin-remove-console": "^2.1.0",
|
|
159
|
+
"vite-plugin-windicss": "^1.9.3",
|
|
160
|
+
"vite-svg-loader": "^5.1.0",
|
|
161
|
+
"vue": "^3.5.13",
|
|
162
|
+
"vue-router": "^4.5.1",
|
|
163
|
+
"vue-tsc": "^1.1.4"
|
|
164
|
+
},
|
|
165
|
+
"pnpm": {
|
|
166
|
+
"peerDependencyRules": {
|
|
167
|
+
"ignoreMissing": [
|
|
168
|
+
"rollup",
|
|
169
|
+
"webpack"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"config": {
|
|
174
|
+
"commitizen": {
|
|
175
|
+
"path": "node_modules/cz-git"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"packageManager": "pnpm@8.15.5+sha512.b051a32c7e695833b84926d3b29b8cca57254b589f0649d899c6e9d0edb670b91ec7e2a43459bae73759bb5ce619c3266f116bf931ce22d1ef1759a7e45aa96f"
|
|
179
179
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 登录信息
|
|
3
|
-
*/
|
|
4
|
-
export interface LoginParams {
|
|
5
|
-
/**
|
|
6
|
-
* 密码
|
|
7
|
-
*/
|
|
8
|
-
password?: string;
|
|
9
|
-
/**
|
|
10
|
-
* 用户名
|
|
11
|
-
*/
|
|
12
|
-
userName?: string;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 登录信息
|
|
3
|
+
*/
|
|
4
|
+
export interface LoginParams {
|
|
5
|
+
/**
|
|
6
|
+
* 密码
|
|
7
|
+
*/
|
|
8
|
+
password?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 用户名
|
|
11
|
+
*/
|
|
12
|
+
userName?: string;
|
|
13
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ComponentInterFace } from './index.d';
|
|
2
|
-
|
|
3
|
-
interface DynamicComponentsProps {
|
|
4
|
-
conf: ComponentInterFace;
|
|
5
|
-
model: any;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DynamicComponentsProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
change: (data: any) => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DynamicComponentsProps>>> & Readonly<{
|
|
10
|
-
onChange?: ((data: any) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
1
|
+
import { ComponentInterFace } from './index.d';
|
|
2
|
+
|
|
3
|
+
interface DynamicComponentsProps {
|
|
4
|
+
conf: ComponentInterFace;
|
|
5
|
+
model: any;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DynamicComponentsProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
change: (data: any) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DynamicComponentsProps>>> & Readonly<{
|
|
10
|
+
onChange?: ((data: any) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as CommonPage } from './page.ts';
|
|
2
|
-
export * from './type';
|
|
3
|
-
export * from './page.ts';
|
|
1
|
+
export { default as CommonPage } from './page.ts';
|
|
2
|
+
export * from './type';
|
|
3
|
+
export * from './page.ts';
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
searchProps: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => {};
|
|
5
|
-
};
|
|
6
|
-
tableProps: {
|
|
7
|
-
type: ObjectConstructor;
|
|
8
|
-
default: () => {};
|
|
9
|
-
};
|
|
10
|
-
pageInfo: {
|
|
11
|
-
type: ObjectConstructor;
|
|
12
|
-
default: () => {
|
|
13
|
-
pageSize: number;
|
|
14
|
-
pageIndex: number;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
pageConfig: {
|
|
18
|
-
type: ObjectConstructor;
|
|
19
|
-
default: () => {
|
|
20
|
-
isPage: boolean;
|
|
21
|
-
gap: number;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
requestConfig: {
|
|
25
|
-
type: ObjectConstructor;
|
|
26
|
-
default: () => {};
|
|
27
|
-
};
|
|
28
|
-
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
-
searchProps: {
|
|
32
|
-
type: ObjectConstructor;
|
|
33
|
-
default: () => {};
|
|
34
|
-
};
|
|
35
|
-
tableProps: {
|
|
36
|
-
type: ObjectConstructor;
|
|
37
|
-
default: () => {};
|
|
38
|
-
};
|
|
39
|
-
pageInfo: {
|
|
40
|
-
type: ObjectConstructor;
|
|
41
|
-
default: () => {
|
|
42
|
-
pageSize: number;
|
|
43
|
-
pageIndex: number;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
pageConfig: {
|
|
47
|
-
type: ObjectConstructor;
|
|
48
|
-
default: () => {
|
|
49
|
-
isPage: boolean;
|
|
50
|
-
gap: number;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
requestConfig: {
|
|
54
|
-
type: ObjectConstructor;
|
|
55
|
-
default: () => {};
|
|
56
|
-
};
|
|
57
|
-
}>> & Readonly<{}>, {
|
|
58
|
-
pageInfo: Record<string, any>;
|
|
59
|
-
searchProps: Record<string, any>;
|
|
60
|
-
tableProps: Record<string, any>;
|
|
61
|
-
pageConfig: Record<string, any>;
|
|
62
|
-
requestConfig: Record<string, any>;
|
|
63
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
|
-
export default _default;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
searchProps: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
tableProps: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
pageInfo: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => {
|
|
13
|
+
pageSize: number;
|
|
14
|
+
pageIndex: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
pageConfig: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default: () => {
|
|
20
|
+
isPage: boolean;
|
|
21
|
+
gap: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
requestConfig: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default: () => {};
|
|
27
|
+
};
|
|
28
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
searchProps: {
|
|
32
|
+
type: ObjectConstructor;
|
|
33
|
+
default: () => {};
|
|
34
|
+
};
|
|
35
|
+
tableProps: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
39
|
+
pageInfo: {
|
|
40
|
+
type: ObjectConstructor;
|
|
41
|
+
default: () => {
|
|
42
|
+
pageSize: number;
|
|
43
|
+
pageIndex: number;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
pageConfig: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
default: () => {
|
|
49
|
+
isPage: boolean;
|
|
50
|
+
gap: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
requestConfig: {
|
|
54
|
+
type: ObjectConstructor;
|
|
55
|
+
default: () => {};
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
pageInfo: Record<string, any>;
|
|
59
|
+
searchProps: Record<string, any>;
|
|
60
|
+
tableProps: Record<string, any>;
|
|
61
|
+
pageConfig: Record<string, any>;
|
|
62
|
+
requestConfig: Record<string, any>;
|
|
63
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: wangxin wangxin@emposat.com
|
|
3
|
-
* @Date: 2025-08-12 16:18:41
|
|
4
|
-
* @LastEditors: wangxin wangxin@emposat.com
|
|
5
|
-
* @LastEditTime: 2025-08-13 15:58:03
|
|
6
|
-
* @FilePath: types/components/CommonPage/pagination.d.ts
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
export declare const paginationRender: (pageInfo: any, updatePage: any) => import("vue/jsx-runtime").JSX.Element | null;
|
|
1
|
+
/**
|
|
2
|
+
* @Author: wangxin wangxin@emposat.com
|
|
3
|
+
* @Date: 2025-08-12 16:18:41
|
|
4
|
+
* @LastEditors: wangxin wangxin@emposat.com
|
|
5
|
+
* @LastEditTime: 2025-08-13 15:58:03
|
|
6
|
+
* @FilePath: types/components/CommonPage/pagination.d.ts
|
|
7
|
+
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
+
*/
|
|
9
|
+
export declare const paginationRender: (pageInfo: any, updatePage: any) => import("vue/jsx-runtime").JSX.Element | null;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: wangxin wangxin@emposat.com
|
|
3
|
-
* @Date: 2025-08-12 15:42:00
|
|
4
|
-
* @LastEditors: wangxin wangxin@emposat.com
|
|
5
|
-
* @LastEditTime: 2025-08-13 15:58:03
|
|
6
|
-
* @FilePath: types/components/CommonPage/props.d.ts
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
export declare const pageProps: {
|
|
10
|
-
searchProps: {
|
|
11
|
-
type: ObjectConstructor;
|
|
12
|
-
default: () => {};
|
|
13
|
-
};
|
|
14
|
-
tableProps: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
default: () => {};
|
|
17
|
-
};
|
|
18
|
-
pageInfo: {
|
|
19
|
-
type: ObjectConstructor;
|
|
20
|
-
default: () => {
|
|
21
|
-
pageSize: number;
|
|
22
|
-
pageIndex: number;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
pageConfig: {
|
|
26
|
-
type: ObjectConstructor;
|
|
27
|
-
default: () => {
|
|
28
|
-
isPage: boolean;
|
|
29
|
-
gap: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
requestConfig: {
|
|
33
|
-
type: ObjectConstructor;
|
|
34
|
-
default: () => {};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @Author: wangxin wangxin@emposat.com
|
|
3
|
+
* @Date: 2025-08-12 15:42:00
|
|
4
|
+
* @LastEditors: wangxin wangxin@emposat.com
|
|
5
|
+
* @LastEditTime: 2025-08-13 15:58:03
|
|
6
|
+
* @FilePath: types/components/CommonPage/props.d.ts
|
|
7
|
+
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
+
*/
|
|
9
|
+
export declare const pageProps: {
|
|
10
|
+
searchProps: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
tableProps: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
pageInfo: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: () => {
|
|
21
|
+
pageSize: number;
|
|
22
|
+
pageIndex: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
pageConfig: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
default: () => {
|
|
28
|
+
isPage: boolean;
|
|
29
|
+
gap: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
requestConfig: {
|
|
33
|
+
type: ObjectConstructor;
|
|
34
|
+
default: () => {};
|
|
35
|
+
};
|
|
36
|
+
};
|