@qynpm/ui 1.0.8 → 1.0.11
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 +508 -47
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +30 -20
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/{qy-voucher-upload → qy-autocomplete}/index.cjs +1 -1
- package/dist/qy-autocomplete/index.mjs +4 -0
- package/dist/qy-checkbox/index.cjs +1 -0
- package/dist/qy-checkbox/index.mjs +4 -0
- package/dist/qy-date-picker/index.cjs +1 -1
- package/dist/qy-date-picker/index.mjs +2 -2
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +2 -2
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +1 -1
- package/dist/qy-image/index.cjs +1 -0
- package/dist/qy-image/index.mjs +4 -0
- package/dist/qy-image-preview/index.cjs +1 -0
- package/dist/qy-image-preview/index.mjs +5 -0
- 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 -1
- package/dist/qy-input-number/index.mjs +2 -2
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -0
- package/dist/qy-legacy-selection-dialog/index.mjs +4 -0
- package/dist/qy-menu-actions/index.cjs +1 -0
- package/dist/qy-menu-actions/index.mjs +7 -0
- package/dist/qy-money-input/index.cjs +1 -1
- package/dist/qy-money-input/index.mjs +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/qy-search-input/index.cjs +1 -1
- package/dist/qy-search-input/index.mjs +2 -2
- 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-table-column-settings/index.cjs +1 -0
- package/dist/qy-table-column-settings/index.mjs +10 -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-B1BqPX66.cjs +1 -0
- package/dist/shared/index-BCxeV3b1.mjs +219 -0
- package/dist/shared/index-BZaLAQWR.mjs +106 -0
- package/dist/shared/index-Cy8BKei3.cjs +1 -0
- package/dist/shared/index-D5Hges_w.cjs +1 -0
- package/dist/shared/index-DAHl11pF.mjs +4301 -0
- package/dist/shared/install-DMq9RQ-h.mjs +15 -0
- package/dist/shared/install-DNgKRKb2.cjs +1 -0
- package/index.d.ts +51 -25
- package/package.json +61 -6
- package/qy-action-bar/index.js +1 -1
- package/qy-autocomplete/index.d.ts +5 -0
- package/qy-autocomplete/index.js +1 -0
- package/qy-checkbox/index.d.ts +5 -0
- package/qy-checkbox/index.js +1 -0
- package/qy-date-picker/index.d.ts +5 -5
- package/qy-date-picker/index.js +1 -1
- package/qy-dialog/index.js +1 -1
- package/qy-form-section/index.js +1 -1
- package/qy-image/index.d.ts +28 -0
- package/qy-image/index.js +1 -0
- package/qy-image-preview/index.d.ts +20 -0
- package/qy-image-preview/index.js +1 -0
- 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 -5
- package/qy-input-number/index.js +1 -1
- package/qy-legacy-selection-dialog/index.d.ts +5 -0
- package/qy-legacy-selection-dialog/index.js +1 -0
- package/qy-menu-actions/index.d.ts +29 -0
- package/qy-menu-actions/index.js +7 -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-table-column-settings/index.d.ts +18 -0
- package/qy-table-column-settings/index.js +10 -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-C5EAafC0.cjs +0 -1
- package/dist/shared/index-DB0Fuuxi.mjs +0 -2784
- package/qy-voucher-upload/index.d.ts +0 -12
- package/qy-voucher-upload/index.js +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const _ = (r, s) => {
|
|
2
|
+
const t = r.__vccOpts || r;
|
|
3
|
+
for (const [a, l] of s)
|
|
4
|
+
t[a] = l;
|
|
5
|
+
return t;
|
|
6
|
+
};
|
|
7
|
+
function f(r, s = r == null ? void 0 : r.name) {
|
|
8
|
+
return s && (r.install = (t) => {
|
|
9
|
+
t.component(s, r);
|
|
10
|
+
}), r;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
_,
|
|
14
|
+
f as w
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const _=(r,t)=>{const s=r.__vccOpts||r;for(const[l,i]of t)s[l]=i;return s};function a(r,t=r==null?void 0:r.name){return t&&(r.install=s=>{s.component(t,r)}),r}exports._export_sfc=_;exports.withInstall=a;
|
package/index.d.ts
CHANGED
|
@@ -1,45 +1,71 @@
|
|
|
1
1
|
import type { App, Plugin } from 'vue'
|
|
2
2
|
|
|
3
3
|
// 根入口类型声明,对应 @qynpm/ui 的命名导出和 app.use(QyUI) 整包注册。
|
|
4
|
-
export const QyUpload: Plugin
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
4
|
+
export const QyUpload: Plugin
|
|
5
|
+
export const QyImage: Plugin
|
|
6
|
+
export const QyImagePreview: Plugin
|
|
7
|
+
export const QyImageUpload: Plugin
|
|
8
|
+
export const QyDialog: Plugin
|
|
9
|
+
export const QyInput: Plugin
|
|
10
|
+
export const QyInputNumber: Plugin
|
|
9
11
|
export const QyMoneyInput: Plugin
|
|
10
12
|
export const QyDatePicker: Plugin
|
|
13
|
+
export const QyCheckbox: Plugin
|
|
14
|
+
export const QyAutocomplete: Plugin
|
|
15
|
+
export const QyMenuActions: Plugin
|
|
16
|
+
export const QyTableColumnSettings: Plugin
|
|
11
17
|
export const QyRadioGroup: Plugin
|
|
12
18
|
export const QyRemoteSelect: Plugin
|
|
13
|
-
export const QySearchInput: Plugin
|
|
14
|
-
export const QyRecordQuoteSearch: Plugin
|
|
15
|
-
export const QySelect: Plugin
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export
|
|
19
|
+
export const QySearchInput: Plugin
|
|
20
|
+
export const QyRecordQuoteSearch: Plugin
|
|
21
|
+
export const QySelect: Plugin
|
|
22
|
+
export const QyTreeSelect: Plugin
|
|
23
|
+
export const QySelectionDialog: Plugin
|
|
24
|
+
export const QyLegacySelectionDialog: Plugin
|
|
25
|
+
export const QyFormSection: Plugin
|
|
26
|
+
export const QyActionBar: Plugin
|
|
27
|
+
export const QyRemarkImage: Plugin
|
|
28
|
+
export function parseRemarkText(remarkText: string): {
|
|
20
29
|
imageUrl: string
|
|
21
30
|
text: string
|
|
22
31
|
}
|
|
23
32
|
export function formatRemarkText(text: string): string
|
|
24
|
-
export function parseRemarkWithImage(text: string, imageUrl?: string): string
|
|
33
|
+
export function parseRemarkWithImage(text: string, imageUrl?: string): string
|
|
34
|
+
export function openQyImagePreview(options: {
|
|
35
|
+
url?: string
|
|
36
|
+
urlList?: string[]
|
|
37
|
+
initialIndex?: number
|
|
38
|
+
hideOnClickModal?: boolean
|
|
39
|
+
}): {
|
|
40
|
+
close(): void
|
|
41
|
+
}
|
|
25
42
|
|
|
26
43
|
declare const _default: Plugin & {
|
|
27
44
|
install(app: App): void
|
|
28
|
-
QyUpload: typeof QyUpload
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
45
|
+
QyUpload: typeof QyUpload
|
|
46
|
+
QyImage: typeof QyImage
|
|
47
|
+
QyImagePreview: typeof QyImagePreview
|
|
48
|
+
QyImageUpload: typeof QyImageUpload
|
|
49
|
+
QyDialog: typeof QyDialog
|
|
50
|
+
QyInput: typeof QyInput
|
|
51
|
+
QyInputNumber: typeof QyInputNumber
|
|
33
52
|
QyMoneyInput: typeof QyMoneyInput
|
|
34
53
|
QyDatePicker: typeof QyDatePicker
|
|
54
|
+
QyCheckbox: typeof QyCheckbox
|
|
55
|
+
QyAutocomplete: typeof QyAutocomplete
|
|
56
|
+
QyMenuActions: typeof QyMenuActions
|
|
57
|
+
QyTableColumnSettings: typeof QyTableColumnSettings
|
|
35
58
|
QyRadioGroup: typeof QyRadioGroup
|
|
36
59
|
QyRemoteSelect: typeof QyRemoteSelect
|
|
37
|
-
QySearchInput: typeof QySearchInput
|
|
38
|
-
QyRecordQuoteSearch: typeof QyRecordQuoteSearch
|
|
39
|
-
QySelect: typeof QySelect
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
60
|
+
QySearchInput: typeof QySearchInput
|
|
61
|
+
QyRecordQuoteSearch: typeof QyRecordQuoteSearch
|
|
62
|
+
QySelect: typeof QySelect
|
|
63
|
+
QyTreeSelect: typeof QyTreeSelect
|
|
64
|
+
QySelectionDialog: typeof QySelectionDialog
|
|
65
|
+
QyLegacySelectionDialog: typeof QyLegacySelectionDialog
|
|
66
|
+
QyFormSection: typeof QyFormSection
|
|
67
|
+
QyActionBar: typeof QyActionBar
|
|
68
|
+
QyRemarkImage: typeof QyRemarkImage
|
|
69
|
+
}
|
|
44
70
|
|
|
45
71
|
export default _default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qynpm/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "起印公共 UI 组件包。",
|
|
5
5
|
"author": "qy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,10 +18,20 @@
|
|
|
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": {
|
|
22
|
+
"types": "./qy-image/index.d.ts",
|
|
23
|
+
"import": "./dist/qy-image/index.mjs",
|
|
24
|
+
"require": "./dist/qy-image/index.cjs"
|
|
25
|
+
},
|
|
26
|
+
"./qy-image-preview": {
|
|
27
|
+
"types": "./qy-image-preview/index.d.ts",
|
|
28
|
+
"import": "./dist/qy-image-preview/index.mjs",
|
|
29
|
+
"require": "./dist/qy-image-preview/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./qy-image-upload": {
|
|
32
|
+
"types": "./qy-image-upload/index.d.ts",
|
|
33
|
+
"import": "./dist/qy-image-upload/index.mjs",
|
|
34
|
+
"require": "./dist/qy-image-upload/index.cjs"
|
|
25
35
|
},
|
|
26
36
|
"./qy-dialog": {
|
|
27
37
|
"types": "./qy-dialog/index.d.ts",
|
|
@@ -48,6 +58,26 @@
|
|
|
48
58
|
"import": "./dist/qy-date-picker/index.mjs",
|
|
49
59
|
"require": "./dist/qy-date-picker/index.cjs"
|
|
50
60
|
},
|
|
61
|
+
"./qy-checkbox": {
|
|
62
|
+
"types": "./qy-checkbox/index.d.ts",
|
|
63
|
+
"import": "./dist/qy-checkbox/index.mjs",
|
|
64
|
+
"require": "./dist/qy-checkbox/index.cjs"
|
|
65
|
+
},
|
|
66
|
+
"./qy-autocomplete": {
|
|
67
|
+
"types": "./qy-autocomplete/index.d.ts",
|
|
68
|
+
"import": "./dist/qy-autocomplete/index.mjs",
|
|
69
|
+
"require": "./dist/qy-autocomplete/index.cjs"
|
|
70
|
+
},
|
|
71
|
+
"./qy-menu-actions": {
|
|
72
|
+
"types": "./qy-menu-actions/index.d.ts",
|
|
73
|
+
"import": "./dist/qy-menu-actions/index.mjs",
|
|
74
|
+
"require": "./dist/qy-menu-actions/index.cjs"
|
|
75
|
+
},
|
|
76
|
+
"./qy-table-column-settings": {
|
|
77
|
+
"types": "./qy-table-column-settings/index.d.ts",
|
|
78
|
+
"import": "./dist/qy-table-column-settings/index.mjs",
|
|
79
|
+
"require": "./dist/qy-table-column-settings/index.cjs"
|
|
80
|
+
},
|
|
51
81
|
"./qy-radio-group": {
|
|
52
82
|
"types": "./qy-radio-group/index.d.ts",
|
|
53
83
|
"import": "./dist/qy-radio-group/index.mjs",
|
|
@@ -73,6 +103,21 @@
|
|
|
73
103
|
"import": "./dist/qy-select/index.mjs",
|
|
74
104
|
"require": "./dist/qy-select/index.cjs"
|
|
75
105
|
},
|
|
106
|
+
"./qy-tree-select": {
|
|
107
|
+
"types": "./qy-tree-select/index.d.ts",
|
|
108
|
+
"import": "./dist/qy-tree-select/index.mjs",
|
|
109
|
+
"require": "./dist/qy-tree-select/index.cjs"
|
|
110
|
+
},
|
|
111
|
+
"./qy-selection-dialog": {
|
|
112
|
+
"types": "./qy-selection-dialog/index.d.ts",
|
|
113
|
+
"import": "./dist/qy-selection-dialog/index.mjs",
|
|
114
|
+
"require": "./dist/qy-selection-dialog/index.cjs"
|
|
115
|
+
},
|
|
116
|
+
"./qy-legacy-selection-dialog": {
|
|
117
|
+
"types": "./qy-legacy-selection-dialog/index.d.ts",
|
|
118
|
+
"import": "./dist/qy-legacy-selection-dialog/index.mjs",
|
|
119
|
+
"require": "./dist/qy-legacy-selection-dialog/index.cjs"
|
|
120
|
+
},
|
|
76
121
|
"./qy-form-section": {
|
|
77
122
|
"types": "./qy-form-section/index.d.ts",
|
|
78
123
|
"import": "./dist/qy-form-section/index.mjs",
|
|
@@ -94,17 +139,26 @@
|
|
|
94
139
|
"dist",
|
|
95
140
|
"README.md",
|
|
96
141
|
"qy-upload",
|
|
97
|
-
"qy-
|
|
142
|
+
"qy-image",
|
|
143
|
+
"qy-image-preview",
|
|
144
|
+
"qy-image-upload",
|
|
98
145
|
"qy-dialog",
|
|
99
146
|
"qy-input",
|
|
100
147
|
"qy-input-number",
|
|
101
148
|
"qy-money-input",
|
|
102
149
|
"qy-date-picker",
|
|
150
|
+
"qy-checkbox",
|
|
151
|
+
"qy-autocomplete",
|
|
152
|
+
"qy-menu-actions",
|
|
153
|
+
"qy-table-column-settings",
|
|
103
154
|
"qy-radio-group",
|
|
104
155
|
"qy-remote-select",
|
|
105
156
|
"qy-search-input",
|
|
106
157
|
"qy-record-quote-search",
|
|
107
158
|
"qy-select",
|
|
159
|
+
"qy-tree-select",
|
|
160
|
+
"qy-selection-dialog",
|
|
161
|
+
"qy-legacy-selection-dialog",
|
|
108
162
|
"qy-form-section",
|
|
109
163
|
"qy-action-bar",
|
|
110
164
|
"qy-remark-image"
|
|
@@ -142,6 +196,7 @@
|
|
|
142
196
|
"scripts": {
|
|
143
197
|
"dev": "vite",
|
|
144
198
|
"build": "vite build",
|
|
199
|
+
"test": "vitest run --config vitest.config.ts",
|
|
145
200
|
"preview": "vite preview",
|
|
146
201
|
"release": "node scripts/publish.js"
|
|
147
202
|
}
|
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 { QyAutocomplete as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyCheckbox as default } from '../index.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
-
|
|
3
|
-
declare const QyDatePicker: DefineComponent<any, any, any> & Plugin
|
|
4
|
-
|
|
5
|
-
export default QyDatePicker
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
declare const QyDatePicker: DefineComponent<any, any, any> & Plugin
|
|
4
|
+
|
|
5
|
+
export default QyDatePicker
|
package/qy-date-picker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyDatePicker as default } from '../index.js'
|
|
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,28 @@
|
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
export type QyImageFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'
|
|
4
|
+
|
|
5
|
+
export type QyImageCompressor =
|
|
6
|
+
| boolean
|
|
7
|
+
| {
|
|
8
|
+
w?: number
|
|
9
|
+
h?: number
|
|
10
|
+
q?: number
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const QyImage: DefineComponent<{
|
|
14
|
+
src?: string
|
|
15
|
+
width?: number | string
|
|
16
|
+
height?: number | string
|
|
17
|
+
size?: number
|
|
18
|
+
fit?: QyImageFit
|
|
19
|
+
placeholder?: boolean
|
|
20
|
+
lazy?: boolean
|
|
21
|
+
compressor?: QyImageCompressor
|
|
22
|
+
preview?: boolean
|
|
23
|
+
previewList?: string[]
|
|
24
|
+
initialIndex?: number
|
|
25
|
+
}> &
|
|
26
|
+
Plugin
|
|
27
|
+
|
|
28
|
+
export default QyImage
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyImage as default } from '../index.js'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
declare const QyImagePreview: DefineComponent<{
|
|
4
|
+
open?: boolean
|
|
5
|
+
urlList?: string[]
|
|
6
|
+
initialIndex?: number
|
|
7
|
+
hideOnClickModal?: boolean
|
|
8
|
+
}> &
|
|
9
|
+
Plugin
|
|
10
|
+
|
|
11
|
+
export function openQyImagePreview(options: {
|
|
12
|
+
url?: string
|
|
13
|
+
urlList?: string[]
|
|
14
|
+
initialIndex?: number
|
|
15
|
+
hideOnClickModal?: boolean
|
|
16
|
+
}): {
|
|
17
|
+
close(): void
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export default QyImagePreview
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyImagePreview as default, openQyImagePreview } 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'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
-
|
|
3
|
-
declare const QyInputNumber: DefineComponent<any, any, any> & Plugin
|
|
4
|
-
|
|
5
|
-
export default QyInputNumber
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
declare const QyInputNumber: DefineComponent<any, any, any> & Plugin
|
|
4
|
+
|
|
5
|
+
export default QyInputNumber
|
package/qy-input-number/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QyInputNumber as default } from '../index.js'
|
|
1
|
+
export { QyInputNumber as default } from '../index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QyLegacySelectionDialog as default } from '../index.js'
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
export type QyMenuActionType =
|
|
4
|
+
| 'default'
|
|
5
|
+
| 'primary'
|
|
6
|
+
| 'success'
|
|
7
|
+
| 'warning'
|
|
8
|
+
| 'danger'
|
|
9
|
+
|
|
10
|
+
export interface QyMenuActionContext<Row = Record<string, unknown>> {
|
|
11
|
+
row?: Row
|
|
12
|
+
rowIndex?: number
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface QyMenuAction<Row = Record<string, unknown>> {
|
|
16
|
+
key: string
|
|
17
|
+
label: string
|
|
18
|
+
type?: QyMenuActionType
|
|
19
|
+
disabled?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
|
|
20
|
+
hidden?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
|
|
21
|
+
loading?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
|
|
22
|
+
confirm?: boolean | string
|
|
23
|
+
meta?: Record<string, unknown>
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare const QyMenuActions: Plugin
|
|
27
|
+
|
|
28
|
+
export { QyMenuActions }
|
|
29
|
+
export default QyMenuActions
|
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,18 @@
|
|
|
1
|
+
import type { Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
export type QyColumnFixed = 'left' | 'right' | false
|
|
4
|
+
|
|
5
|
+
export interface QyTableColumnSetting {
|
|
6
|
+
key: string
|
|
7
|
+
type?: string
|
|
8
|
+
label?: string
|
|
9
|
+
prop?: string
|
|
10
|
+
visible: boolean
|
|
11
|
+
width?: string | number
|
|
12
|
+
fixed: QyColumnFixed
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare const QyTableColumnSettings: Plugin
|
|
16
|
+
|
|
17
|
+
export { QyTableColumnSettings }
|
|
18
|
+
export default QyTableColumnSettings
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { withInstall } from '../lib/utils/install'
|
|
2
|
+
import TableColumnSettings from '../lib/qy-table-column-settings/index.vue'
|
|
3
|
+
|
|
4
|
+
const QyTableColumnSettings = withInstall(
|
|
5
|
+
TableColumnSettings,
|
|
6
|
+
'QyTableColumnSettings'
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
export { QyTableColumnSettings }
|
|
10
|
+
export default QyTableColumnSettings
|
|
@@ -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'
|