@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.
Files changed (72) hide show
  1. package/README.md +278 -29
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.mjs +21 -16
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/{qy-voucher-upload → qy-date-picker}/index.cjs +1 -1
  7. package/dist/qy-date-picker/index.mjs +4 -0
  8. package/dist/qy-dialog/index.cjs +1 -1
  9. package/dist/qy-dialog/index.mjs +1 -1
  10. package/dist/qy-form-section/index.cjs +1 -1
  11. package/dist/qy-form-section/index.mjs +2 -2
  12. package/dist/qy-image-upload/index.cjs +1 -0
  13. package/dist/qy-image-upload/index.mjs +4 -0
  14. package/dist/qy-input/index.cjs +1 -1
  15. package/dist/qy-input/index.mjs +1 -1
  16. package/dist/qy-input-number/index.cjs +1 -0
  17. package/dist/qy-input-number/index.mjs +4 -0
  18. package/dist/qy-legacy-selection-dialog/index.cjs +1 -0
  19. package/dist/qy-legacy-selection-dialog/index.mjs +4 -0
  20. package/dist/qy-money-input/index.cjs +1 -1
  21. package/dist/qy-money-input/index.mjs +2 -2
  22. package/dist/qy-radio-group/index.cjs +1 -1
  23. package/dist/qy-radio-group/index.mjs +1 -1
  24. package/dist/qy-record-quote-search/index.cjs +1 -1
  25. package/dist/qy-record-quote-search/index.mjs +1 -1
  26. package/dist/qy-remark-image/index.cjs +1 -1
  27. package/dist/qy-remark-image/index.mjs +1 -1
  28. package/dist/qy-remote-select/index.cjs +1 -1
  29. package/dist/qy-remote-select/index.mjs +2 -2
  30. package/dist/qy-search-input/index.cjs +1 -1
  31. package/dist/qy-search-input/index.mjs +1 -1
  32. package/dist/qy-select/index.cjs +1 -1
  33. package/dist/qy-select/index.mjs +1 -1
  34. package/dist/qy-selection-dialog/index.cjs +1 -0
  35. package/dist/qy-selection-dialog/index.mjs +4 -0
  36. package/dist/qy-tree-select/index.cjs +1 -0
  37. package/dist/qy-tree-select/index.mjs +4 -0
  38. package/dist/qy-upload/index.cjs +1 -1
  39. package/dist/qy-upload/index.mjs +1 -1
  40. package/dist/shared/index-Bk5wZECl.cjs +1 -0
  41. package/dist/shared/index-CulYemoD.mjs +3904 -0
  42. package/index.d.ts +18 -8
  43. package/package.json +36 -6
  44. package/qy-action-bar/index.js +1 -1
  45. package/qy-date-picker/index.d.ts +5 -0
  46. package/qy-date-picker/index.js +1 -0
  47. package/qy-dialog/index.js +1 -1
  48. package/qy-form-section/index.js +1 -1
  49. package/qy-image-upload/index.d.ts +12 -0
  50. package/qy-image-upload/index.js +1 -0
  51. package/qy-input/index.js +1 -1
  52. package/qy-input-number/index.d.ts +5 -0
  53. package/qy-input-number/index.js +1 -0
  54. package/qy-legacy-selection-dialog/index.d.ts +5 -0
  55. package/qy-legacy-selection-dialog/index.js +1 -0
  56. package/qy-money-input/index.js +1 -1
  57. package/qy-radio-group/index.js +1 -1
  58. package/qy-record-quote-search/index.js +1 -1
  59. package/qy-remark-image/index.js +1 -1
  60. package/qy-remote-select/index.js +1 -1
  61. package/qy-search-input/index.js +1 -1
  62. package/qy-select/index.js +1 -1
  63. package/qy-selection-dialog/index.d.ts +5 -0
  64. package/qy-selection-dialog/index.js +1 -0
  65. package/qy-tree-select/index.d.ts +5 -0
  66. package/qy-tree-select/index.js +1 -0
  67. package/qy-upload/index.js +1 -1
  68. package/dist/qy-voucher-upload/index.mjs +0 -4
  69. package/dist/shared/index-CbFvRxuh.mjs +0 -2592
  70. package/dist/shared/index-GDrnDY44.cjs +0 -1
  71. package/qy-voucher-upload/index.d.ts +0 -12
  72. 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 QyVoucherUpload: Plugin
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
- QyVoucherUpload: typeof QyVoucherUpload
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.7",
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-voucher-upload": {
22
- "types": "./qy-voucher-upload/index.d.ts",
23
- "import": "./dist/qy-voucher-upload/index.mjs",
24
- "require": "./dist/qy-voucher-upload/index.cjs"
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-voucher-upload",
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"
@@ -1 +1 @@
1
- export { QyActionBar as default } from '../index.js'
1
+ export { QyActionBar as default } from '../index.js'
@@ -0,0 +1,5 @@
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QyDatePicker: DefineComponent<any, any, any> & Plugin
4
+
5
+ export default QyDatePicker
@@ -0,0 +1 @@
1
+ export { QyDatePicker as default } from '../index.js'
@@ -1 +1 @@
1
- export { QyDialog as default } from '../index.js'
1
+ export { QyDialog as default } from '../index.js'
@@ -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,5 @@
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QyInputNumber: DefineComponent<any, any, any> & Plugin
4
+
5
+ export default QyInputNumber
@@ -0,0 +1 @@
1
+ export { QyInputNumber as default } from '../index.js'
@@ -0,0 +1,5 @@
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QyLegacySelectionDialog: DefineComponent<any, any, any> & Plugin
4
+
5
+ export default QyLegacySelectionDialog
@@ -0,0 +1 @@
1
+ export { QyLegacySelectionDialog as default } from '../index.js'
@@ -1 +1 @@
1
- export { QyMoneyInput as default } from '../index.js'
1
+ export { QyMoneyInput as default } from '../index.js'
@@ -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'
@@ -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'
@@ -1 +1 @@
1
- export { QySearchInput as default } from '../index.js'
1
+ export { QySearchInput as default } from '../index.js'
@@ -1 +1 @@
1
- export { QySelect as default } from '../index.js'
1
+ export { QySelect as default } from '../index.js'
@@ -0,0 +1,5 @@
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QySelectionDialog: DefineComponent<any, any, any> & Plugin
4
+
5
+ export default QySelectionDialog
@@ -0,0 +1 @@
1
+ export { QySelectionDialog as default } from '../index.js'
@@ -0,0 +1,5 @@
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QyTreeSelect: DefineComponent<any, any, any> & Plugin
4
+
5
+ export default QyTreeSelect
@@ -0,0 +1 @@
1
+ export { QyTreeSelect as default } from '../index.js'
@@ -1 +1 @@
1
- export { QyUpload as default } from '../index.js'
1
+ export { QyUpload as default } from '../index.js'
@@ -1,4 +0,0 @@
1
- import { a as f } from "../shared/index-CbFvRxuh.mjs";
2
- export {
3
- f as default
4
- };