@qynpm/ui 1.0.7 → 1.0.10
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 +278 -29
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +21 -16
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/{qy-voucher-upload → qy-date-picker}/index.cjs +1 -1
- package/dist/qy-date-picker/index.mjs +4 -0
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +2 -2
- package/dist/qy-image-upload/index.cjs +1 -0
- package/dist/qy-image-upload/index.mjs +4 -0
- package/dist/qy-input/index.cjs +1 -1
- package/dist/qy-input/index.mjs +1 -1
- package/dist/qy-input-number/index.cjs +1 -0
- package/dist/qy-input-number/index.mjs +4 -0
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -0
- package/dist/qy-legacy-selection-dialog/index.mjs +4 -0
- package/dist/qy-money-input/index.cjs +1 -1
- package/dist/qy-money-input/index.mjs +2 -2
- package/dist/qy-radio-group/index.cjs +1 -1
- package/dist/qy-radio-group/index.mjs +1 -1
- package/dist/qy-record-quote-search/index.cjs +1 -1
- package/dist/qy-record-quote-search/index.mjs +1 -1
- package/dist/qy-remark-image/index.cjs +1 -1
- package/dist/qy-remark-image/index.mjs +1 -1
- package/dist/qy-remote-select/index.cjs +1 -1
- package/dist/qy-remote-select/index.mjs +2 -2
- package/dist/qy-search-input/index.cjs +1 -1
- package/dist/qy-search-input/index.mjs +1 -1
- package/dist/qy-select/index.cjs +1 -1
- package/dist/qy-select/index.mjs +1 -1
- package/dist/qy-selection-dialog/index.cjs +1 -0
- package/dist/qy-selection-dialog/index.mjs +4 -0
- package/dist/qy-tree-select/index.cjs +1 -0
- package/dist/qy-tree-select/index.mjs +4 -0
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/shared/index-Bk5wZECl.cjs +1 -0
- package/dist/shared/index-CulYemoD.mjs +3904 -0
- package/index.d.ts +18 -8
- package/package.json +36 -6
- package/qy-action-bar/index.js +1 -1
- package/qy-date-picker/index.d.ts +5 -0
- package/qy-date-picker/index.js +1 -0
- package/qy-dialog/index.js +1 -1
- package/qy-form-section/index.js +1 -1
- package/qy-image-upload/index.d.ts +12 -0
- package/qy-image-upload/index.js +1 -0
- package/qy-input/index.js +1 -1
- package/qy-input-number/index.d.ts +5 -0
- package/qy-input-number/index.js +1 -0
- package/qy-legacy-selection-dialog/index.d.ts +5 -0
- package/qy-legacy-selection-dialog/index.js +1 -0
- package/qy-money-input/index.js +1 -1
- package/qy-radio-group/index.js +1 -1
- package/qy-record-quote-search/index.js +1 -1
- package/qy-remark-image/index.js +1 -1
- package/qy-remote-select/index.js +1 -1
- package/qy-search-input/index.js +1 -1
- package/qy-select/index.js +1 -1
- package/qy-selection-dialog/index.d.ts +5 -0
- package/qy-selection-dialog/index.js +1 -0
- package/qy-tree-select/index.d.ts +5 -0
- package/qy-tree-select/index.js +1 -0
- package/qy-upload/index.js +1 -1
- package/dist/qy-voucher-upload/index.mjs +0 -4
- package/dist/shared/index-CbFvRxuh.mjs +0 -2592
- package/dist/shared/index-GDrnDY44.cjs +0 -1
- package/qy-voucher-upload/index.d.ts +0 -12
- package/qy-voucher-upload/index.js +0 -1
package/index.d.ts
CHANGED
|
@@ -2,15 +2,20 @@ import type { App, Plugin } from 'vue'
|
|
|
2
2
|
|
|
3
3
|
// 根入口类型声明,对应 @qynpm/ui 的命名导出和 app.use(QyUI) 整包注册。
|
|
4
4
|
export const QyUpload: Plugin
|
|
5
|
-
export const
|
|
5
|
+
export const QyImageUpload: Plugin
|
|
6
6
|
export const QyDialog: Plugin
|
|
7
7
|
export const QyInput: Plugin
|
|
8
|
+
export const QyInputNumber: Plugin
|
|
8
9
|
export const QyMoneyInput: Plugin
|
|
10
|
+
export const QyDatePicker: Plugin
|
|
9
11
|
export const QyRadioGroup: Plugin
|
|
10
12
|
export const QyRemoteSelect: Plugin
|
|
11
|
-
export const QySearchInput: Plugin
|
|
12
|
-
export const QyRecordQuoteSearch: Plugin
|
|
13
|
-
export const QySelect: Plugin
|
|
13
|
+
export const QySearchInput: Plugin
|
|
14
|
+
export const QyRecordQuoteSearch: Plugin
|
|
15
|
+
export const QySelect: Plugin
|
|
16
|
+
export const QyTreeSelect: Plugin
|
|
17
|
+
export const QySelectionDialog: Plugin
|
|
18
|
+
export const QyLegacySelectionDialog: Plugin
|
|
14
19
|
export const QyFormSection: Plugin
|
|
15
20
|
export const QyActionBar: Plugin
|
|
16
21
|
export const QyRemarkImage: Plugin
|
|
@@ -24,15 +29,20 @@ export function parseRemarkWithImage(text: string, imageUrl?: string): string
|
|
|
24
29
|
declare const _default: Plugin & {
|
|
25
30
|
install(app: App): void
|
|
26
31
|
QyUpload: typeof QyUpload
|
|
27
|
-
|
|
32
|
+
QyImageUpload: typeof QyImageUpload
|
|
28
33
|
QyDialog: typeof QyDialog
|
|
29
34
|
QyInput: typeof QyInput
|
|
35
|
+
QyInputNumber: typeof QyInputNumber
|
|
30
36
|
QyMoneyInput: typeof QyMoneyInput
|
|
37
|
+
QyDatePicker: typeof QyDatePicker
|
|
31
38
|
QyRadioGroup: typeof QyRadioGroup
|
|
32
39
|
QyRemoteSelect: typeof QyRemoteSelect
|
|
33
|
-
QySearchInput: typeof QySearchInput
|
|
34
|
-
QyRecordQuoteSearch: typeof QyRecordQuoteSearch
|
|
35
|
-
QySelect: typeof QySelect
|
|
40
|
+
QySearchInput: typeof QySearchInput
|
|
41
|
+
QyRecordQuoteSearch: typeof QyRecordQuoteSearch
|
|
42
|
+
QySelect: typeof QySelect
|
|
43
|
+
QyTreeSelect: typeof QyTreeSelect
|
|
44
|
+
QySelectionDialog: typeof QySelectionDialog
|
|
45
|
+
QyLegacySelectionDialog: typeof QyLegacySelectionDialog
|
|
36
46
|
QyFormSection: typeof QyFormSection
|
|
37
47
|
QyActionBar: typeof QyActionBar
|
|
38
48
|
QyRemarkImage: typeof QyRemarkImage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qynpm/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "起印公共 UI 组件包。",
|
|
5
5
|
"author": "qy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"import": "./dist/qy-upload/index.mjs",
|
|
19
19
|
"require": "./dist/qy-upload/index.cjs"
|
|
20
20
|
},
|
|
21
|
-
"./qy-
|
|
22
|
-
"types": "./qy-
|
|
23
|
-
"import": "./dist/qy-
|
|
24
|
-
"require": "./dist/qy-
|
|
21
|
+
"./qy-image-upload": {
|
|
22
|
+
"types": "./qy-image-upload/index.d.ts",
|
|
23
|
+
"import": "./dist/qy-image-upload/index.mjs",
|
|
24
|
+
"require": "./dist/qy-image-upload/index.cjs"
|
|
25
25
|
},
|
|
26
26
|
"./qy-dialog": {
|
|
27
27
|
"types": "./qy-dialog/index.d.ts",
|
|
@@ -33,11 +33,21 @@
|
|
|
33
33
|
"import": "./dist/qy-input/index.mjs",
|
|
34
34
|
"require": "./dist/qy-input/index.cjs"
|
|
35
35
|
},
|
|
36
|
+
"./qy-input-number": {
|
|
37
|
+
"types": "./qy-input-number/index.d.ts",
|
|
38
|
+
"import": "./dist/qy-input-number/index.mjs",
|
|
39
|
+
"require": "./dist/qy-input-number/index.cjs"
|
|
40
|
+
},
|
|
36
41
|
"./qy-money-input": {
|
|
37
42
|
"types": "./qy-money-input/index.d.ts",
|
|
38
43
|
"import": "./dist/qy-money-input/index.mjs",
|
|
39
44
|
"require": "./dist/qy-money-input/index.cjs"
|
|
40
45
|
},
|
|
46
|
+
"./qy-date-picker": {
|
|
47
|
+
"types": "./qy-date-picker/index.d.ts",
|
|
48
|
+
"import": "./dist/qy-date-picker/index.mjs",
|
|
49
|
+
"require": "./dist/qy-date-picker/index.cjs"
|
|
50
|
+
},
|
|
41
51
|
"./qy-radio-group": {
|
|
42
52
|
"types": "./qy-radio-group/index.d.ts",
|
|
43
53
|
"import": "./dist/qy-radio-group/index.mjs",
|
|
@@ -63,6 +73,21 @@
|
|
|
63
73
|
"import": "./dist/qy-select/index.mjs",
|
|
64
74
|
"require": "./dist/qy-select/index.cjs"
|
|
65
75
|
},
|
|
76
|
+
"./qy-tree-select": {
|
|
77
|
+
"types": "./qy-tree-select/index.d.ts",
|
|
78
|
+
"import": "./dist/qy-tree-select/index.mjs",
|
|
79
|
+
"require": "./dist/qy-tree-select/index.cjs"
|
|
80
|
+
},
|
|
81
|
+
"./qy-selection-dialog": {
|
|
82
|
+
"types": "./qy-selection-dialog/index.d.ts",
|
|
83
|
+
"import": "./dist/qy-selection-dialog/index.mjs",
|
|
84
|
+
"require": "./dist/qy-selection-dialog/index.cjs"
|
|
85
|
+
},
|
|
86
|
+
"./qy-legacy-selection-dialog": {
|
|
87
|
+
"types": "./qy-legacy-selection-dialog/index.d.ts",
|
|
88
|
+
"import": "./dist/qy-legacy-selection-dialog/index.mjs",
|
|
89
|
+
"require": "./dist/qy-legacy-selection-dialog/index.cjs"
|
|
90
|
+
},
|
|
66
91
|
"./qy-form-section": {
|
|
67
92
|
"types": "./qy-form-section/index.d.ts",
|
|
68
93
|
"import": "./dist/qy-form-section/index.mjs",
|
|
@@ -84,15 +109,20 @@
|
|
|
84
109
|
"dist",
|
|
85
110
|
"README.md",
|
|
86
111
|
"qy-upload",
|
|
87
|
-
"qy-
|
|
112
|
+
"qy-image-upload",
|
|
88
113
|
"qy-dialog",
|
|
89
114
|
"qy-input",
|
|
115
|
+
"qy-input-number",
|
|
90
116
|
"qy-money-input",
|
|
117
|
+
"qy-date-picker",
|
|
91
118
|
"qy-radio-group",
|
|
92
119
|
"qy-remote-select",
|
|
93
120
|
"qy-search-input",
|
|
94
121
|
"qy-record-quote-search",
|
|
95
122
|
"qy-select",
|
|
123
|
+
"qy-tree-select",
|
|
124
|
+
"qy-selection-dialog",
|
|
125
|
+
"qy-legacy-selection-dialog",
|
|
96
126
|
"qy-form-section",
|
|
97
127
|
"qy-action-bar",
|
|
98
128
|
"qy-remark-image"
|
package/qy-action-bar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyActionBar as default } from '../index.js'
|
|
1
|
+
export { QyActionBar as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyDatePicker as default } from '../index.js'
|
package/qy-dialog/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyDialog as default } from '../index.js'
|
|
1
|
+
export { QyDialog as default } from '../index.js'
|
package/qy-form-section/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyFormSection as default } from '../index.js'
|
|
1
|
+
export { QyFormSection as default } from '../index.js'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* QyImageUpload 单组件入口类型声明。
|
|
5
|
+
*
|
|
6
|
+
* 这里同时声明 DefineComponent 和 Plugin:
|
|
7
|
+
* - DefineComponent 用于模板、TSX 或局部 components 注册时获得组件类型。
|
|
8
|
+
* - Plugin 用于 app.use(QyImageUpload) 时通过 Vue 插件类型校验。
|
|
9
|
+
*/
|
|
10
|
+
declare const QyImageUpload: DefineComponent<any, any, any> & Plugin
|
|
11
|
+
|
|
12
|
+
export default QyImageUpload
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyImageUpload as default } from '../index.js'
|
package/qy-input/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyInput as default } from '../index.js'
|
|
1
|
+
export { QyInput as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyInputNumber as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyLegacySelectionDialog as default } from '../index.js'
|
package/qy-money-input/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyMoneyInput as default } from '../index.js'
|
|
1
|
+
export { QyMoneyInput as default } from '../index.js'
|
package/qy-radio-group/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyRadioGroup as default } from '../index.js'
|
|
1
|
+
export { QyRadioGroup as default } from '../index.js'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyRecordQuoteSearch as default } from '../index.js'
|
|
1
|
+
export { QyRecordQuoteSearch as default } from '../index.js'
|
package/qy-remark-image/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyRemarkImage as default } from '../index.js'
|
|
1
|
+
export { QyRemarkImage as default } from '../index.js'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyRemoteSelect as default } from '../index.js'
|
|
1
|
+
export { QyRemoteSelect as default } from '../index.js'
|
package/qy-search-input/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QySearchInput as default } from '../index.js'
|
|
1
|
+
export { QySearchInput as default } from '../index.js'
|
package/qy-select/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QySelect as default } from '../index.js'
|
|
1
|
+
export { QySelect as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QySelectionDialog as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyTreeSelect as default } from '../index.js'
|
package/qy-upload/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyUpload as default } from '../index.js'
|
|
1
|
+
export { QyUpload as default } from '../index.js'
|