@qynpm/ui 1.0.28 → 1.0.29
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 +88 -0
- package/dist/index.cjs +6 -3
- package/dist/index.mjs +80 -61
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-aside/index.cjs +1 -0
- package/dist/qy-aside/index.mjs +7 -0
- package/dist/qy-button/index.cjs +1 -1
- package/dist/qy-button/index.mjs +1 -1
- package/dist/qy-cascader/index.cjs +1 -1
- package/dist/qy-cascader/index.mjs +1 -1
- package/dist/qy-col/index.cjs +1 -0
- package/dist/qy-col/index.mjs +7 -0
- package/dist/qy-collapse/index.cjs +1 -1
- package/dist/qy-collapse/index.mjs +1 -1
- package/dist/qy-container/index.cjs +1 -0
- package/dist/qy-container/index.mjs +7 -0
- package/dist/qy-date-picker/index.cjs +1 -1
- package/dist/qy-date-picker/index.mjs +1 -1
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-dropdown/index.cjs +1 -1
- package/dist/qy-dropdown/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-fullscreen/index.cjs +1 -0
- package/dist/qy-fullscreen/index.mjs +7 -0
- package/dist/qy-icon/index.cjs +1 -0
- package/dist/qy-icon/index.mjs +11 -0
- package/dist/qy-icon-picker/index.cjs +5 -0
- package/dist/qy-icon-picker/index.mjs +11 -0
- package/dist/qy-image/index.cjs +1 -1
- package/dist/qy-image/index.mjs +1 -1
- package/dist/qy-image-upload/index.cjs +1 -1
- package/dist/qy-image-upload/index.mjs +1 -1
- package/dist/qy-input/index.cjs +1 -1
- package/dist/qy-input/index.mjs +4 -5
- package/dist/qy-input-number/index.cjs +1 -1
- package/dist/qy-input-number/index.mjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
- package/dist/qy-link/index.cjs +1 -1
- package/dist/qy-link/index.mjs +1 -1
- package/dist/qy-main/index.cjs +1 -0
- package/dist/qy-main/index.mjs +7 -0
- package/dist/qy-menu-actions/index.cjs +1 -1
- package/dist/qy-menu-actions/index.mjs +1 -1
- package/dist/qy-money-input/index.cjs +1 -1
- package/dist/qy-money-input/index.mjs +1 -1
- package/dist/qy-popover/index.cjs +1 -1
- package/dist/qy-popover/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 +1 -1
- package/dist/qy-row/index.cjs +1 -0
- package/dist/qy-row/index.mjs +7 -0
- package/dist/qy-scrollbar/index.cjs +1 -1
- package/dist/qy-scrollbar/index.mjs +1 -1
- 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 -1
- package/dist/qy-selection-dialog/index.mjs +1 -1
- package/dist/qy-statistic/index.cjs +1 -0
- package/dist/qy-statistic/index.mjs +7 -0
- package/dist/qy-tabs/index.cjs +1 -1
- package/dist/qy-tabs/index.mjs +1 -1
- package/dist/qy-tooltip/index.cjs +1 -1
- package/dist/qy-tooltip/index.mjs +1 -1
- package/dist/qy-tree/index.cjs +1 -1
- package/dist/qy-tree/index.mjs +1 -1
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/shared/index-4cLP6sJP.cjs +1 -0
- package/dist/shared/index-AirHUQwm.cjs +1 -0
- package/dist/shared/index-B6xIO6kg.cjs +1 -0
- package/dist/shared/index-BNQxyXzB.cjs +1 -0
- package/dist/shared/{index-DleLvEzf.mjs → index-BQj_q6rA.mjs} +998 -972
- package/dist/shared/{index-CVoiIRas.mjs → index-BSxEaYHx.mjs} +1 -1
- package/dist/shared/{index-BTL45WYB.cjs → index-Bs6yjkZ5.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-aqtfjdVm.mjs → index-C2n0R6rA.mjs} +33 -31
- package/dist/shared/{index-CYn7TvRx.mjs → index-CR6yQfR2.mjs} +1 -1
- package/dist/shared/index-CaNxcPSD.mjs +254 -0
- package/dist/shared/index-Czrv5jUt.mjs +222 -0
- package/dist/shared/{index-DEkng5wh.cjs → index-YM4DcbBZ.cjs} +1 -1
- package/dist/shared/index-qwzyfx9S.cjs +1 -0
- package/dist/shared/index-xuTVtF4x.mjs +6 -0
- package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-BaIOvoQn.mjs +43 -0
- package/dist/shared/index.vue_vue_type_script_lang-BgapsQjI.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-Bk0kLg5l.mjs +34 -0
- package/dist/shared/index.vue_vue_type_script_lang-BnmY1ndj.mjs +77 -0
- package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-CCL57H5c.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-CKZUcaZ5.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-CWnNQBPN.mjs +31 -0
- package/dist/shared/index.vue_vue_type_script_lang-CfjfZCT3.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-ChS-3_vl.mjs +43 -0
- package/dist/shared/index.vue_vue_type_script_lang-DRvk4-_O.mjs +43 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs +63 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs +126 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BTqKOZ4L.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-Bc-Ya_zS.mjs +286 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +1 -0
- package/index.d.ts +101 -0
- package/package.json +55 -1
- package/qy-aside/index.d.ts +47 -0
- package/qy-col/index.d.ts +65 -0
- package/qy-container/index.d.ts +49 -0
- package/qy-fullscreen/index.d.ts +72 -0
- package/qy-icon/index.d.ts +105 -0
- package/qy-icon-picker/index.d.ts +56 -0
- package/qy-main/index.d.ts +45 -0
- package/qy-row/index.d.ts +59 -0
- package/qy-statistic/index.d.ts +61 -0
- package/dist/shared/index-B8phg478.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-CmQLfhRo.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DobP199g.mjs +0 -63
- package/dist/shared/index.vue_vue_type_style_index_0_lang-C6urLjSf.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CVxWn-Vs.mjs +0 -121
- package/dist/shared/index.vue_vue_type_style_index_0_lang-Dm1r1WBK.cjs +0 -1
- /package/dist/shared/{index-CpvFUems.cjs → index-C509sCx9.cjs} +0 -0
- /package/dist/shared/{index-DEZF-Fkt.mjs → index-CtF8Nz3g.mjs} +0 -0
- /package/dist/shared/{index-seQHtqdh.mjs → index-D0L-u1nt.mjs} +0 -0
- /package/dist/shared/{index-DIs6iPjF.cjs → index-D30m6gKz.cjs} +0 -0
- /package/dist/shared/{index-BDdhBEFr.cjs → index-D7A0RzWH.cjs} +0 -0
- /package/dist/shared/{index-hEy-3mcr.mjs → index-DJT4yz0h.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CWz689KH.cjs → index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DVqGYfD9.mjs → index.vue_vue_type_style_index_0_lang-B0CXLnL1.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DOfJV2oz.cjs → index.vue_vue_type_style_index_0_lang-CC2-igG3.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs → index.vue_vue_type_style_index_0_lang-CJaF7Ecm.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DIMCVnQm.mjs → index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CJhIFeBC.mjs → index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Cn3P9d4L.cjs → index.vue_vue_type_style_index_0_lang-CqKs13Fp.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CnL4aeg1.cjs → index.vue_vue_type_style_index_0_lang-D9DraThL.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Cb4yMk-r.cjs → index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-D1kpIund.mjs → index.vue_vue_type_style_index_0_lang-DSur831A.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs → index.vue_vue_type_style_index_0_lang-DUgOOzEZ.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs → index.vue_vue_type_style_index_0_lang-DWiolYb3.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs → index.vue_vue_type_style_index_0_lang-Dc84vYSd.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BtbAft4t.cjs → index.vue_vue_type_style_index_0_lang-DccRGtZE.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Q2gFF0PP.cjs → index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-dLpQXf6x.mjs → index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qynpm/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"description": "起印公共 UI 组件包。",
|
|
5
5
|
"author": "qy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,6 +83,46 @@
|
|
|
83
83
|
"import": "./dist/qy-step/index.mjs",
|
|
84
84
|
"require": "./dist/qy-step/index.cjs"
|
|
85
85
|
},
|
|
86
|
+
"./qy-icon": {
|
|
87
|
+
"types": "./qy-icon/index.d.ts",
|
|
88
|
+
"import": "./dist/qy-icon/index.mjs",
|
|
89
|
+
"require": "./dist/qy-icon/index.cjs"
|
|
90
|
+
},
|
|
91
|
+
"./qy-fullscreen": {
|
|
92
|
+
"types": "./qy-fullscreen/index.d.ts",
|
|
93
|
+
"import": "./dist/qy-fullscreen/index.mjs",
|
|
94
|
+
"require": "./dist/qy-fullscreen/index.cjs"
|
|
95
|
+
},
|
|
96
|
+
"./qy-icon-picker": {
|
|
97
|
+
"types": "./qy-icon-picker/index.d.ts",
|
|
98
|
+
"import": "./dist/qy-icon-picker/index.mjs",
|
|
99
|
+
"require": "./dist/qy-icon-picker/index.cjs"
|
|
100
|
+
},
|
|
101
|
+
"./qy-row": {
|
|
102
|
+
"types": "./qy-row/index.d.ts",
|
|
103
|
+
"import": "./dist/qy-row/index.mjs",
|
|
104
|
+
"require": "./dist/qy-row/index.cjs"
|
|
105
|
+
},
|
|
106
|
+
"./qy-col": {
|
|
107
|
+
"types": "./qy-col/index.d.ts",
|
|
108
|
+
"import": "./dist/qy-col/index.mjs",
|
|
109
|
+
"require": "./dist/qy-col/index.cjs"
|
|
110
|
+
},
|
|
111
|
+
"./qy-container": {
|
|
112
|
+
"types": "./qy-container/index.d.ts",
|
|
113
|
+
"import": "./dist/qy-container/index.mjs",
|
|
114
|
+
"require": "./dist/qy-container/index.cjs"
|
|
115
|
+
},
|
|
116
|
+
"./qy-aside": {
|
|
117
|
+
"types": "./qy-aside/index.d.ts",
|
|
118
|
+
"import": "./dist/qy-aside/index.mjs",
|
|
119
|
+
"require": "./dist/qy-aside/index.cjs"
|
|
120
|
+
},
|
|
121
|
+
"./qy-main": {
|
|
122
|
+
"types": "./qy-main/index.d.ts",
|
|
123
|
+
"import": "./dist/qy-main/index.mjs",
|
|
124
|
+
"require": "./dist/qy-main/index.cjs"
|
|
125
|
+
},
|
|
86
126
|
"./qy-descriptions": {
|
|
87
127
|
"types": "./qy-descriptions/index.d.ts",
|
|
88
128
|
"import": "./dist/qy-descriptions/index.mjs",
|
|
@@ -138,6 +178,11 @@
|
|
|
138
178
|
"import": "./dist/qy-progress/index.mjs",
|
|
139
179
|
"require": "./dist/qy-progress/index.cjs"
|
|
140
180
|
},
|
|
181
|
+
"./qy-statistic": {
|
|
182
|
+
"types": "./qy-statistic/index.d.ts",
|
|
183
|
+
"import": "./dist/qy-statistic/index.mjs",
|
|
184
|
+
"require": "./dist/qy-statistic/index.cjs"
|
|
185
|
+
},
|
|
141
186
|
"./qy-avatar": {
|
|
142
187
|
"types": "./qy-avatar/index.d.ts",
|
|
143
188
|
"import": "./dist/qy-avatar/index.mjs",
|
|
@@ -302,6 +347,14 @@
|
|
|
302
347
|
"qy-tab-pane/index.d.ts",
|
|
303
348
|
"qy-steps/index.d.ts",
|
|
304
349
|
"qy-step/index.d.ts",
|
|
350
|
+
"qy-icon/index.d.ts",
|
|
351
|
+
"qy-fullscreen/index.d.ts",
|
|
352
|
+
"qy-icon-picker/index.d.ts",
|
|
353
|
+
"qy-row/index.d.ts",
|
|
354
|
+
"qy-col/index.d.ts",
|
|
355
|
+
"qy-container/index.d.ts",
|
|
356
|
+
"qy-aside/index.d.ts",
|
|
357
|
+
"qy-main/index.d.ts",
|
|
305
358
|
"qy-descriptions/index.d.ts",
|
|
306
359
|
"qy-descriptions-item/index.d.ts",
|
|
307
360
|
"qy-collapse/index.d.ts",
|
|
@@ -313,6 +366,7 @@
|
|
|
313
366
|
"qy-card/index.d.ts",
|
|
314
367
|
"qy-scrollbar/index.d.ts",
|
|
315
368
|
"qy-progress/index.d.ts",
|
|
369
|
+
"qy-statistic/index.d.ts",
|
|
316
370
|
"qy-avatar/index.d.ts",
|
|
317
371
|
"qy-popover/index.d.ts",
|
|
318
372
|
"qy-image/index.d.ts",
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export interface QyAsideProps {
|
|
11
|
+
width?: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface QyAsideAttrs {
|
|
15
|
+
class?: unknown
|
|
16
|
+
style?: StyleValue
|
|
17
|
+
id?: string
|
|
18
|
+
role?: string
|
|
19
|
+
title?: string
|
|
20
|
+
[key: `data-${string}`]: unknown
|
|
21
|
+
[key: `aria-${string}`]: unknown
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface QyAsideSlots {
|
|
25
|
+
default?: () => unknown
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type QyAsideComponentProps = QyAsideProps & QyAsideAttrs
|
|
29
|
+
|
|
30
|
+
declare const QyAside: DefineComponent<
|
|
31
|
+
QyAsideProps,
|
|
32
|
+
{},
|
|
33
|
+
{},
|
|
34
|
+
{},
|
|
35
|
+
{},
|
|
36
|
+
ComponentOptionsMixin,
|
|
37
|
+
ComponentOptionsMixin,
|
|
38
|
+
{},
|
|
39
|
+
string,
|
|
40
|
+
PublicProps,
|
|
41
|
+
QyAsideComponentProps,
|
|
42
|
+
{},
|
|
43
|
+
SlotsType<QyAsideSlots>
|
|
44
|
+
> & Plugin
|
|
45
|
+
|
|
46
|
+
export { QyAside }
|
|
47
|
+
export default QyAside
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export interface QyColSizeObject {
|
|
11
|
+
span?: number
|
|
12
|
+
offset?: number
|
|
13
|
+
pull?: number
|
|
14
|
+
push?: number
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type QyColSize = number | QyColSizeObject
|
|
18
|
+
|
|
19
|
+
export interface QyColProps {
|
|
20
|
+
tag?: string
|
|
21
|
+
span?: number
|
|
22
|
+
offset?: number
|
|
23
|
+
pull?: number
|
|
24
|
+
push?: number
|
|
25
|
+
xs?: QyColSize
|
|
26
|
+
sm?: QyColSize
|
|
27
|
+
md?: QyColSize
|
|
28
|
+
lg?: QyColSize
|
|
29
|
+
xl?: QyColSize
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface QyColAttrs {
|
|
33
|
+
class?: unknown
|
|
34
|
+
style?: StyleValue
|
|
35
|
+
id?: string
|
|
36
|
+
role?: string
|
|
37
|
+
title?: string
|
|
38
|
+
[key: `data-${string}`]: unknown
|
|
39
|
+
[key: `aria-${string}`]: unknown
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface QyColSlots {
|
|
43
|
+
default?: () => unknown
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type QyColComponentProps = QyColProps & QyColAttrs
|
|
47
|
+
|
|
48
|
+
declare const QyCol: DefineComponent<
|
|
49
|
+
QyColProps,
|
|
50
|
+
{},
|
|
51
|
+
{},
|
|
52
|
+
{},
|
|
53
|
+
{},
|
|
54
|
+
ComponentOptionsMixin,
|
|
55
|
+
ComponentOptionsMixin,
|
|
56
|
+
{},
|
|
57
|
+
string,
|
|
58
|
+
PublicProps,
|
|
59
|
+
QyColComponentProps,
|
|
60
|
+
{},
|
|
61
|
+
SlotsType<QyColSlots>
|
|
62
|
+
> & Plugin
|
|
63
|
+
|
|
64
|
+
export { QyCol }
|
|
65
|
+
export default QyCol
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyContainerDirection = 'horizontal' | 'vertical'
|
|
11
|
+
|
|
12
|
+
export interface QyContainerProps {
|
|
13
|
+
direction?: QyContainerDirection
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface QyContainerAttrs {
|
|
17
|
+
class?: unknown
|
|
18
|
+
style?: StyleValue
|
|
19
|
+
id?: string
|
|
20
|
+
role?: string
|
|
21
|
+
title?: string
|
|
22
|
+
[key: `data-${string}`]: unknown
|
|
23
|
+
[key: `aria-${string}`]: unknown
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface QyContainerSlots {
|
|
27
|
+
default?: () => unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type QyContainerComponentProps = QyContainerProps & QyContainerAttrs
|
|
31
|
+
|
|
32
|
+
declare const QyContainer: DefineComponent<
|
|
33
|
+
QyContainerProps,
|
|
34
|
+
{},
|
|
35
|
+
{},
|
|
36
|
+
{},
|
|
37
|
+
{},
|
|
38
|
+
ComponentOptionsMixin,
|
|
39
|
+
ComponentOptionsMixin,
|
|
40
|
+
{},
|
|
41
|
+
string,
|
|
42
|
+
PublicProps,
|
|
43
|
+
QyContainerComponentProps,
|
|
44
|
+
{},
|
|
45
|
+
SlotsType<QyContainerSlots>
|
|
46
|
+
> & Plugin
|
|
47
|
+
|
|
48
|
+
export { QyContainer }
|
|
49
|
+
export default QyContainer
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
|
|
9
|
+
export type QyFullscreenSize = 'small' | 'default' | 'large'
|
|
10
|
+
|
|
11
|
+
export type QyFullscreenAction = 'enter' | 'exit'
|
|
12
|
+
|
|
13
|
+
export type QyFullscreenErrorCode =
|
|
14
|
+
| 'unsupported'
|
|
15
|
+
| 'target-unavailable'
|
|
16
|
+
| 'request-rejected'
|
|
17
|
+
|
|
18
|
+
export interface QyFullscreenErrorSnapshot {
|
|
19
|
+
readonly action: QyFullscreenAction
|
|
20
|
+
readonly code: QyFullscreenErrorCode
|
|
21
|
+
readonly message: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface QyFullscreenProps {
|
|
25
|
+
target?: HTMLElement | null
|
|
26
|
+
disabled?: boolean
|
|
27
|
+
size?: QyFullscreenSize
|
|
28
|
+
enterLabel?: string
|
|
29
|
+
exitLabel?: string
|
|
30
|
+
enterIcon?: string | number
|
|
31
|
+
exitIcon?: string | number
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface QyFullscreenExposed {
|
|
35
|
+
enter(): Promise<boolean>
|
|
36
|
+
exit(): Promise<boolean>
|
|
37
|
+
toggle(): Promise<boolean>
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type QyFullscreenEmits = {
|
|
41
|
+
change: (isFullscreen: boolean) => void
|
|
42
|
+
error: (snapshot: QyFullscreenErrorSnapshot) => void
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface QyFullscreenSlots {
|
|
46
|
+
'enter-icon'?: () => unknown
|
|
47
|
+
'exit-icon'?: () => unknown
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type QyFullscreenComponentProps = QyFullscreenProps & {
|
|
51
|
+
onChange?: QyFullscreenEmits['change']
|
|
52
|
+
onError?: QyFullscreenEmits['error']
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const QyFullscreen: DefineComponent<
|
|
56
|
+
QyFullscreenProps,
|
|
57
|
+
QyFullscreenExposed,
|
|
58
|
+
{},
|
|
59
|
+
{},
|
|
60
|
+
{},
|
|
61
|
+
ComponentOptionsMixin,
|
|
62
|
+
ComponentOptionsMixin,
|
|
63
|
+
QyFullscreenEmits,
|
|
64
|
+
string,
|
|
65
|
+
PublicProps,
|
|
66
|
+
QyFullscreenComponentProps,
|
|
67
|
+
{},
|
|
68
|
+
SlotsType<QyFullscreenSlots>
|
|
69
|
+
> & Plugin
|
|
70
|
+
|
|
71
|
+
export { QyFullscreen }
|
|
72
|
+
export default QyFullscreen
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { Component, DefineComponent, InjectionKey, Plugin, StyleValue } from 'vue'
|
|
2
|
+
|
|
3
|
+
export type QyIconSource = 'symbol' | 'component' | 'class'
|
|
4
|
+
|
|
5
|
+
export type QyIconDefinition =
|
|
6
|
+
| Readonly<{
|
|
7
|
+
name: string
|
|
8
|
+
source: 'symbol'
|
|
9
|
+
value: string
|
|
10
|
+
label?: string
|
|
11
|
+
keywords?: readonly string[]
|
|
12
|
+
}>
|
|
13
|
+
| Readonly<{
|
|
14
|
+
name: string
|
|
15
|
+
source: 'component'
|
|
16
|
+
value: Component
|
|
17
|
+
label?: string
|
|
18
|
+
keywords?: readonly string[]
|
|
19
|
+
}>
|
|
20
|
+
| Readonly<{
|
|
21
|
+
name: string
|
|
22
|
+
source: 'class'
|
|
23
|
+
value: string
|
|
24
|
+
label?: string
|
|
25
|
+
keywords?: readonly string[]
|
|
26
|
+
}>
|
|
27
|
+
|
|
28
|
+
export type QyIconDefinitionInput =
|
|
29
|
+
| {
|
|
30
|
+
name: string | number
|
|
31
|
+
source: 'symbol'
|
|
32
|
+
value: string
|
|
33
|
+
label?: string
|
|
34
|
+
keywords?: readonly string[]
|
|
35
|
+
}
|
|
36
|
+
| {
|
|
37
|
+
name: string | number
|
|
38
|
+
source: 'component'
|
|
39
|
+
value: Component
|
|
40
|
+
label?: string
|
|
41
|
+
keywords?: readonly string[]
|
|
42
|
+
}
|
|
43
|
+
| {
|
|
44
|
+
name: string | number
|
|
45
|
+
source: 'class'
|
|
46
|
+
value: string
|
|
47
|
+
label?: string
|
|
48
|
+
keywords?: readonly string[]
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type QyIconAlias = Readonly<{
|
|
52
|
+
name: string | number
|
|
53
|
+
target: string | number
|
|
54
|
+
}>
|
|
55
|
+
|
|
56
|
+
export type QyIconAliases =
|
|
57
|
+
| Readonly<Record<string, string | number>>
|
|
58
|
+
| readonly QyIconAlias[]
|
|
59
|
+
|
|
60
|
+
export type QyIconRegistryOptions = Readonly<{
|
|
61
|
+
icons: readonly QyIconDefinitionInput[]
|
|
62
|
+
aliases?: QyIconAliases
|
|
63
|
+
}>
|
|
64
|
+
|
|
65
|
+
export interface QyIconRegistry {
|
|
66
|
+
resolve(name: string | number): QyIconDefinition | undefined
|
|
67
|
+
has(name: string | number): boolean
|
|
68
|
+
list(): readonly QyIconDefinition[]
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface QyIconAttrs {
|
|
72
|
+
class?: string
|
|
73
|
+
style?: StyleValue
|
|
74
|
+
id?: string
|
|
75
|
+
role?: string
|
|
76
|
+
title?: string
|
|
77
|
+
[key: `data-${string}`]: unknown
|
|
78
|
+
[key: `aria-${string}`]: unknown
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface QyIconProps {
|
|
82
|
+
name?: string | number
|
|
83
|
+
icon?: Component
|
|
84
|
+
size?: number | string
|
|
85
|
+
color?: string
|
|
86
|
+
spin?: boolean
|
|
87
|
+
label?: string
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface QyIconFallbackSlotProps {
|
|
91
|
+
readonly name: string
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface QyIconSlots {
|
|
95
|
+
fallback?: (props: QyIconFallbackSlotProps) => unknown
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export const QY_ICON_REGISTRY_KEY: InjectionKey<QyIconRegistry>
|
|
99
|
+
export function createQyIconRegistry(options: QyIconRegistryOptions): QyIconRegistry
|
|
100
|
+
export function mergeQyIconRegistries(...registries: readonly QyIconRegistry[]): QyIconRegistry
|
|
101
|
+
export function createQyIconPlugin(registry: QyIconRegistry): Plugin
|
|
102
|
+
export function normalizeQyIconName(value: string | number): string
|
|
103
|
+
|
|
104
|
+
export const QyIcon: DefineComponent<QyIconProps & QyIconAttrs, any, any> & Plugin
|
|
105
|
+
export default QyIcon
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin
|
|
5
|
+
} from 'vue'
|
|
6
|
+
|
|
7
|
+
export type QyIconPickerSize = 'small' | 'default' | 'large'
|
|
8
|
+
export type QyIconPickerModelValue = string | null | undefined
|
|
9
|
+
|
|
10
|
+
export interface QyIconPickerProps {
|
|
11
|
+
modelValue?: QyIconPickerModelValue
|
|
12
|
+
allowedNames?: readonly (string | number)[]
|
|
13
|
+
disabled?: boolean
|
|
14
|
+
clearable?: boolean
|
|
15
|
+
size?: QyIconPickerSize
|
|
16
|
+
placeholder?: string
|
|
17
|
+
searchPlaceholder?: string
|
|
18
|
+
emptyText?: string
|
|
19
|
+
panelWidth?: number | string
|
|
20
|
+
open?: boolean
|
|
21
|
+
id?: string
|
|
22
|
+
ariaLabel?: string
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type QyIconPickerEmits = {
|
|
26
|
+
'update:modelValue': (value: string) => void
|
|
27
|
+
change: (value: string) => void
|
|
28
|
+
clear: () => void
|
|
29
|
+
'update:open': (value: boolean) => void
|
|
30
|
+
'open-change': (value: boolean) => void
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface QyIconPickerExposed {
|
|
34
|
+
focus: () => void
|
|
35
|
+
blur: () => void
|
|
36
|
+
open: () => void
|
|
37
|
+
close: () => void
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface QyIconPickerSlots {
|
|
41
|
+
empty?: () => unknown
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare const QyIconPicker: DefineComponent<
|
|
45
|
+
QyIconPickerProps,
|
|
46
|
+
QyIconPickerExposed,
|
|
47
|
+
{},
|
|
48
|
+
{},
|
|
49
|
+
{},
|
|
50
|
+
ComponentOptionsMixin,
|
|
51
|
+
ComponentOptionsMixin,
|
|
52
|
+
QyIconPickerEmits
|
|
53
|
+
> & Plugin
|
|
54
|
+
|
|
55
|
+
export { QyIconPicker }
|
|
56
|
+
export default QyIconPicker
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export interface QyMainProps {}
|
|
11
|
+
|
|
12
|
+
export interface QyMainAttrs {
|
|
13
|
+
class?: unknown
|
|
14
|
+
style?: StyleValue
|
|
15
|
+
id?: string
|
|
16
|
+
role?: string
|
|
17
|
+
title?: string
|
|
18
|
+
[key: `data-${string}`]: unknown
|
|
19
|
+
[key: `aria-${string}`]: unknown
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface QyMainSlots {
|
|
23
|
+
default?: () => unknown
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type QyMainComponentProps = QyMainProps & QyMainAttrs
|
|
27
|
+
|
|
28
|
+
declare const QyMain: DefineComponent<
|
|
29
|
+
QyMainProps,
|
|
30
|
+
{},
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
{},
|
|
34
|
+
ComponentOptionsMixin,
|
|
35
|
+
ComponentOptionsMixin,
|
|
36
|
+
{},
|
|
37
|
+
string,
|
|
38
|
+
PublicProps,
|
|
39
|
+
QyMainComponentProps,
|
|
40
|
+
{},
|
|
41
|
+
SlotsType<QyMainSlots>
|
|
42
|
+
> & Plugin
|
|
43
|
+
|
|
44
|
+
export { QyMain }
|
|
45
|
+
export default QyMain
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyRowJustify =
|
|
11
|
+
| 'start'
|
|
12
|
+
| 'center'
|
|
13
|
+
| 'end'
|
|
14
|
+
| 'space-around'
|
|
15
|
+
| 'space-between'
|
|
16
|
+
| 'space-evenly'
|
|
17
|
+
export type QyRowAlign = 'top' | 'middle' | 'bottom'
|
|
18
|
+
|
|
19
|
+
export interface QyRowProps {
|
|
20
|
+
tag?: string
|
|
21
|
+
gutter?: number
|
|
22
|
+
justify?: QyRowJustify
|
|
23
|
+
align?: QyRowAlign
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface QyRowAttrs {
|
|
27
|
+
class?: unknown
|
|
28
|
+
style?: StyleValue
|
|
29
|
+
id?: string
|
|
30
|
+
role?: string
|
|
31
|
+
title?: string
|
|
32
|
+
[key: `data-${string}`]: unknown
|
|
33
|
+
[key: `aria-${string}`]: unknown
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface QyRowSlots {
|
|
37
|
+
default?: () => unknown
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type QyRowComponentProps = QyRowProps & QyRowAttrs
|
|
41
|
+
|
|
42
|
+
declare const QyRow: DefineComponent<
|
|
43
|
+
QyRowProps,
|
|
44
|
+
{},
|
|
45
|
+
{},
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
ComponentOptionsMixin,
|
|
49
|
+
ComponentOptionsMixin,
|
|
50
|
+
{},
|
|
51
|
+
string,
|
|
52
|
+
PublicProps,
|
|
53
|
+
QyRowComponentProps,
|
|
54
|
+
{},
|
|
55
|
+
SlotsType<QyRowSlots>
|
|
56
|
+
> & Plugin
|
|
57
|
+
|
|
58
|
+
export { QyRow }
|
|
59
|
+
export default QyRow
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyStatisticFormatter = (value: number) => string | number
|
|
11
|
+
|
|
12
|
+
export interface QyStatisticProps {
|
|
13
|
+
value?: number
|
|
14
|
+
precision?: number
|
|
15
|
+
decimalSeparator?: string
|
|
16
|
+
groupSeparator?: string
|
|
17
|
+
formatter?: QyStatisticFormatter
|
|
18
|
+
valueStyle?: StyleValue
|
|
19
|
+
title?: string
|
|
20
|
+
prefix?: string
|
|
21
|
+
suffix?: string
|
|
22
|
+
animated?: boolean
|
|
23
|
+
duration?: number
|
|
24
|
+
startValue?: number
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface QyStatisticAttrs {
|
|
28
|
+
class?: unknown
|
|
29
|
+
style?: StyleValue
|
|
30
|
+
id?: string
|
|
31
|
+
role?: string
|
|
32
|
+
[key: `data-${string}`]: unknown
|
|
33
|
+
[key: `aria-${string}`]: unknown
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface QyStatisticSlots {
|
|
37
|
+
title?: () => unknown
|
|
38
|
+
prefix?: () => unknown
|
|
39
|
+
suffix?: () => unknown
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type QyStatisticComponentProps = QyStatisticProps & QyStatisticAttrs
|
|
43
|
+
|
|
44
|
+
declare const QyStatistic: DefineComponent<
|
|
45
|
+
QyStatisticComponentProps,
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
{},
|
|
49
|
+
{},
|
|
50
|
+
ComponentOptionsMixin,
|
|
51
|
+
ComponentOptionsMixin,
|
|
52
|
+
{},
|
|
53
|
+
string,
|
|
54
|
+
PublicProps,
|
|
55
|
+
QyStatisticComponentProps,
|
|
56
|
+
{},
|
|
57
|
+
SlotsType<QyStatisticSlots>
|
|
58
|
+
> & Plugin
|
|
59
|
+
|
|
60
|
+
export { QyStatistic }
|
|
61
|
+
export default QyStatistic
|