@qynpm/ui 1.0.33 → 1.0.35
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 -5
- package/dist/index.cjs +7 -4
- package/dist/index.mjs +79 -72
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-button/index.cjs +1 -1
- package/dist/qy-button/index.mjs +1 -1
- package/dist/qy-checkbox/index.cjs +1 -1
- package/dist/qy-checkbox/index.mjs +1 -1
- package/dist/qy-checkbox-group/index.cjs +1 -1
- package/dist/qy-checkbox-group/index.mjs +1 -1
- package/dist/qy-collapse/index.cjs +1 -1
- package/dist/qy-collapse/index.mjs +1 -1
- package/dist/qy-color-picker/index.cjs +1 -0
- package/dist/qy-color-picker/index.mjs +7 -0
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +2 -2
- package/dist/qy-drawer/index.cjs +1 -1
- package/dist/qy-drawer/index.mjs +1 -1
- package/dist/qy-dropdown/index.cjs +1 -1
- package/dist/qy-dropdown/index.mjs +1 -1
- package/dist/qy-file-picker/index.cjs +1 -1
- package/dist/qy-file-picker/index.mjs +1 -1
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +1 -1
- package/dist/qy-fullscreen/index.cjs +1 -1
- package/dist/qy-fullscreen/index.mjs +1 -1
- package/dist/qy-icon/index.cjs +1 -1
- package/dist/qy-icon/index.mjs +2 -2
- package/dist/qy-icon-picker/index.cjs +1 -1
- package/dist/qy-icon-picker/index.mjs +1 -1
- package/dist/qy-iframe/index.cjs +1 -0
- package/dist/qy-iframe/index.mjs +7 -0
- package/dist/qy-image/index.cjs +1 -1
- package/dist/qy-image/index.mjs +1 -1
- package/dist/qy-image-preview/index.cjs +1 -1
- package/dist/qy-image-preview/index.mjs +2 -2
- 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 +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-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-popconfirm/index.cjs +2 -0
- package/dist/qy-popconfirm/index.mjs +8 -0
- package/dist/qy-popover/index.cjs +1 -1
- package/dist/qy-popover/index.mjs +1 -1
- package/dist/qy-radio/index.cjs +1 -1
- package/dist/qy-radio/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 +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-result/index.cjs +1 -1
- package/dist/qy-result/index.mjs +1 -1
- 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-switch/index.cjs +1 -1
- package/dist/qy-switch/index.mjs +1 -1
- package/dist/qy-table-column-settings/index.cjs +1 -1
- package/dist/qy-table-column-settings/index.mjs +1 -1
- package/dist/qy-tag/index.cjs +1 -1
- package/dist/qy-tag/index.mjs +1 -1
- package/dist/qy-tree/index.cjs +1 -1
- package/dist/qy-tree/index.mjs +1 -1
- package/dist/qy-tree-select/index.cjs +1 -1
- package/dist/qy-tree-select/index.mjs +1 -1
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/qy-watermark/index.cjs +1 -0
- package/dist/qy-watermark/index.mjs +7 -0
- package/dist/shared/{index-D-YyFaZ6.cjs → index-3qEac4h8.cjs} +1 -1
- package/dist/shared/{index-B0zL9hEY.mjs → index-4SkLDBra.mjs} +1 -1
- package/dist/shared/{index-gcsw_rtX.mjs → index-BekN1g_r.mjs} +967 -955
- package/dist/shared/{index-B6xIO6kg.cjs → index-Bi9wgcgT.cjs} +1 -1
- package/dist/shared/{index-D5DmmUX2.cjs → index-Bli6Gx5d.cjs} +1 -1
- package/dist/shared/{index-CaDqecpT.mjs → index-BuUtJrIy.mjs} +9 -9
- package/dist/shared/{index-DqsG1Mam.cjs → index-C7lRQtzs.cjs} +1 -1
- package/dist/shared/{index-DfR8Z9MN.mjs → index-CdnHMuo3.mjs} +1 -1
- package/dist/shared/index-Ce_hvR--.cjs +1 -0
- package/dist/shared/{index-BWDaV6FO.cjs → index-CwY_jv_I.cjs} +1 -1
- package/dist/shared/{index-xuTVtF4x.mjs → index-DY-CA7Vr.mjs} +1 -1
- package/dist/shared/index-DlGwHshu.cjs +1 -0
- package/dist/shared/{index-CwzztWPU.cjs → index-DnHfk7NM.cjs} +1 -1
- package/dist/shared/index-Dr-Q5krU.mjs +71 -0
- package/dist/shared/{index-1LT6Q6XJ.mjs → index-Dwf-JfXM.mjs} +1 -1
- package/dist/shared/{index-BmJPEXUM.mjs → index-S8HW36Mc.mjs} +2 -2
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-C91DUwOD.mjs → index.vue_vue_type_script_setup_true_lang-C6-hVGUO.mjs} +1 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-COAUEujY.mjs +48 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cr9PdvyR.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CuXBYNXZ.cjs → index.vue_vue_type_script_setup_true_lang-DOuk75uN.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DoL8xnpo.mjs → index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs} +9 -9
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DP-jqqo2.mjs → index.vue_vue_type_script_setup_true_lang-S-rQ0p3E.mjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DkDEcB4G.cjs → index.vue_vue_type_script_setup_true_lang-lvZQ_Cu6.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-CL_IFx-Z.cjs → index.vue_vue_type_style_index_0_lang-BcZb1U13.cjs} +1 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BoaO6MKl.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-C4Yk-UdJ.mjs +172 -0
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-DXQ9l1XF.mjs → index.vue_vue_type_style_index_0_lang-CIcZet5j.mjs} +3 -3
- package/dist/shared/index.vue_vue_type_style_index_0_lang-Ch3QcF8t.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs → index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs} +19 -17
- package/dist/shared/index.vue_vue_type_style_index_0_lang-b0y8p1p1.mjs +215 -0
- package/dist/shared/utils-BjEXwY3L.cjs +1 -0
- package/dist/shared/utils-DoyI5oM8.mjs +148 -0
- package/index.d.ts +60 -21
- package/package.json +25 -1
- package/qy-alert/index.d.ts +64 -64
- package/qy-autocomplete/index.d.ts +5 -5
- package/qy-avatar/index.d.ts +67 -67
- package/qy-badge/index.d.ts +63 -63
- package/qy-card/index.d.ts +64 -64
- package/qy-cascader/index.d.ts +198 -198
- package/qy-collapse/index.d.ts +59 -59
- package/qy-collapse-item/index.d.ts +45 -45
- package/qy-color-picker/index.d.ts +36 -0
- package/qy-descriptions/index.d.ts +47 -47
- package/qy-descriptions-item/index.d.ts +46 -46
- package/qy-dialog/index.d.ts +63 -63
- package/qy-divider/index.d.ts +53 -53
- package/qy-drawer/index.d.ts +55 -55
- package/qy-empty/index.d.ts +51 -51
- package/qy-iframe/index.d.ts +66 -0
- package/qy-image/index.d.ts +28 -28
- package/qy-image-preview/index.d.ts +21 -20
- package/qy-link/index.d.ts +69 -69
- package/qy-loading/index.d.ts +25 -25
- package/qy-menu-actions/index.d.ts +29 -29
- package/qy-popconfirm/index.d.ts +55 -0
- package/qy-progress/index.d.ts +74 -74
- package/qy-result/index.d.ts +64 -64
- package/qy-scrollbar/index.d.ts +85 -85
- package/qy-skeleton/index.d.ts +54 -54
- package/qy-skeleton-item/index.d.ts +48 -48
- package/qy-step/index.d.ts +55 -55
- package/qy-steps/index.d.ts +62 -62
- package/qy-tab-pane/index.d.ts +40 -40
- package/qy-table-column-settings/index.d.ts +18 -18
- package/qy-tabs/index.d.ts +84 -84
- package/qy-tree/index.d.ts +132 -132
- package/qy-tree-select/index.d.ts +123 -123
- package/qy-watermark/index.d.ts +72 -0
- package/dist/shared/index-uhxRj2ZT.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-5gku7Zwv.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +0 -1
- package/dist/shared/utils-D2KAQCCB.cjs +0 -1
- package/dist/shared/utils-DUntDntI.mjs +0 -112
- /package/dist/shared/{index-AirHUQwm.cjs → index-AMu0L6uU.cjs} +0 -0
- /package/dist/shared/{index-D6ybNdgn.mjs → index-B1b3BksF.mjs} +0 -0
- /package/dist/shared/{index-BpI0jwYK.cjs → index-BPaVDCe6.cjs} +0 -0
- /package/dist/shared/{index-CCZttbsg.cjs → index-BdTlpKtr.cjs} +0 -0
- /package/dist/shared/{index-Bxz4crCd.cjs → index-BkX9xlbI.cjs} +0 -0
- /package/dist/shared/{index-DLLDXfic.cjs → index-Bvot0uXo.cjs} +0 -0
- /package/dist/shared/{index-CaNxcPSD.mjs → index-C91mzAI3.mjs} +0 -0
- /package/dist/shared/{index-CmRclPWX.mjs → index-C_1KP3l9.mjs} +0 -0
- /package/dist/shared/{index-DEZF-Fkt.mjs → index-D5S48q1B.mjs} +0 -0
- /package/dist/shared/{index-Co0_4YEV.mjs → index-D8E_xu0N.mjs} +0 -0
- /package/dist/shared/{index-Bmw9BNXm.cjs → index-DCzxcvkn.cjs} +0 -0
- /package/dist/shared/{index-C31wpivi.mjs → index-DK0hjfWr.mjs} +0 -0
- /package/dist/shared/{index-D_rRdrge.mjs → index-DZRFSGxO.mjs} +0 -0
- /package/dist/shared/{index-BDdhBEFr.cjs → index-Dc6gLgAz.cjs} +0 -0
- /package/dist/shared/{index-C-ZAw_DP.mjs → index-DcohgM8A.mjs} +0 -0
- /package/dist/shared/{index-BxvS3vlc.cjs → index-Di4bIOiB.cjs} +0 -0
- /package/dist/shared/{index-Bs2OQHXk.mjs → index-JjHutKmT.mjs} +0 -0
- /package/dist/shared/{index-seQHtqdh.mjs → index-Od6HC8Un.mjs} +0 -0
- /package/dist/shared/{index-rcu9CzSn.cjs → index-nSFTxVz8.cjs} +0 -0
- /package/dist/shared/{index-DIs6iPjF.cjs → index-nos4Y-fm.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-S6QPMZay.cjs → index.vue_vue_type_script_setup_true_lang-CglCPcj-.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-BLF3RNlY.mjs → index.vue_vue_type_script_setup_true_lang-q37rBg6Z.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DUgOOzEZ.cjs → index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-lmRmXLwB.cjs → index.vue_vue_type_style_index_0_lang-BnPRHCwR.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DWiolYb3.mjs → index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs → index.vue_vue_type_style_index_0_lang-CVdFZeHK.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs → index.vue_vue_type_style_index_0_lang-KHk9wRYT.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CUqnwExG.mjs → index.vue_vue_type_style_index_0_lang-Tzo8o6M8.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DOfJV2oz.cjs → index.vue_vue_type_style_index_0_lang-WGzoSatU.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Cn3P9d4L.cjs → index.vue_vue_type_style_index_0_lang-hbNK_h45.cjs} +0 -0
package/qy-result/index.d.ts
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
import type { StyleValue } from 'vue'
|
|
9
|
-
|
|
10
|
-
export type QyResultStatus =
|
|
11
|
-
| 'success'
|
|
12
|
-
| 'warning'
|
|
13
|
-
| 'info'
|
|
14
|
-
| 'error'
|
|
15
|
-
| '401'
|
|
16
|
-
| '403'
|
|
17
|
-
| '404'
|
|
18
|
-
| '500'
|
|
19
|
-
|
|
20
|
-
export interface QyResultProps {
|
|
21
|
-
status?: QyResultStatus
|
|
22
|
-
title?: string
|
|
23
|
-
description?: string
|
|
24
|
-
image?: string
|
|
25
|
-
imageAlt?: string
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface QyResultAttrs {
|
|
29
|
-
class?: unknown
|
|
30
|
-
style?: StyleValue
|
|
31
|
-
id?: string
|
|
32
|
-
role?: string
|
|
33
|
-
title?: string
|
|
34
|
-
[key: `data-${string}`]: unknown
|
|
35
|
-
[key: `aria-${string}`]: unknown
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface QyResultSlots {
|
|
39
|
-
visual?: () => unknown
|
|
40
|
-
title?: () => unknown
|
|
41
|
-
description?: () => unknown
|
|
42
|
-
actions?: () => unknown
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
type QyResultComponentProps = QyResultProps & QyResultAttrs
|
|
46
|
-
|
|
47
|
-
declare const QyResult: DefineComponent<
|
|
48
|
-
QyResultComponentProps,
|
|
49
|
-
{},
|
|
50
|
-
{},
|
|
51
|
-
{},
|
|
52
|
-
{},
|
|
53
|
-
ComponentOptionsMixin,
|
|
54
|
-
ComponentOptionsMixin,
|
|
55
|
-
{},
|
|
56
|
-
string,
|
|
57
|
-
PublicProps,
|
|
58
|
-
QyResultComponentProps,
|
|
59
|
-
{},
|
|
60
|
-
SlotsType<QyResultSlots>
|
|
61
|
-
> & Plugin
|
|
62
|
-
|
|
63
|
-
export { QyResult }
|
|
64
|
-
export default QyResult
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
import type { StyleValue } from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyResultStatus =
|
|
11
|
+
| 'success'
|
|
12
|
+
| 'warning'
|
|
13
|
+
| 'info'
|
|
14
|
+
| 'error'
|
|
15
|
+
| '401'
|
|
16
|
+
| '403'
|
|
17
|
+
| '404'
|
|
18
|
+
| '500'
|
|
19
|
+
|
|
20
|
+
export interface QyResultProps {
|
|
21
|
+
status?: QyResultStatus
|
|
22
|
+
title?: string
|
|
23
|
+
description?: string
|
|
24
|
+
image?: string
|
|
25
|
+
imageAlt?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface QyResultAttrs {
|
|
29
|
+
class?: unknown
|
|
30
|
+
style?: StyleValue
|
|
31
|
+
id?: string
|
|
32
|
+
role?: string
|
|
33
|
+
title?: string
|
|
34
|
+
[key: `data-${string}`]: unknown
|
|
35
|
+
[key: `aria-${string}`]: unknown
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface QyResultSlots {
|
|
39
|
+
visual?: () => unknown
|
|
40
|
+
title?: () => unknown
|
|
41
|
+
description?: () => unknown
|
|
42
|
+
actions?: () => unknown
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type QyResultComponentProps = QyResultProps & QyResultAttrs
|
|
46
|
+
|
|
47
|
+
declare const QyResult: DefineComponent<
|
|
48
|
+
QyResultComponentProps,
|
|
49
|
+
{},
|
|
50
|
+
{},
|
|
51
|
+
{},
|
|
52
|
+
{},
|
|
53
|
+
ComponentOptionsMixin,
|
|
54
|
+
ComponentOptionsMixin,
|
|
55
|
+
{},
|
|
56
|
+
string,
|
|
57
|
+
PublicProps,
|
|
58
|
+
QyResultComponentProps,
|
|
59
|
+
{},
|
|
60
|
+
SlotsType<QyResultSlots>
|
|
61
|
+
> & Plugin
|
|
62
|
+
|
|
63
|
+
export { QyResult }
|
|
64
|
+
export default QyResult
|
package/qy-scrollbar/index.d.ts
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
import type { StyleValue } from 'vue'
|
|
9
|
-
|
|
10
|
-
export type QyScrollbarDirection = 'top' | 'bottom' | 'left' | 'right'
|
|
11
|
-
|
|
12
|
-
export interface QyScrollbarScrollPosition {
|
|
13
|
-
readonly scrollTop: number
|
|
14
|
-
readonly scrollLeft: number
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface QyScrollbarProps {
|
|
18
|
-
height?: string | number
|
|
19
|
-
maxHeight?: string | number
|
|
20
|
-
native?: boolean
|
|
21
|
-
always?: boolean
|
|
22
|
-
noresize?: boolean
|
|
23
|
-
minSize?: number
|
|
24
|
-
distance?: number
|
|
25
|
-
tag?: keyof HTMLElementTagNameMap | (string & {})
|
|
26
|
-
wrapStyle?: StyleValue
|
|
27
|
-
wrapClass?: string | string[]
|
|
28
|
-
viewStyle?: StyleValue
|
|
29
|
-
viewClass?: string | string[]
|
|
30
|
-
tabindex?: string | number
|
|
31
|
-
id?: string
|
|
32
|
-
role?: string
|
|
33
|
-
ariaLabel?: string
|
|
34
|
-
ariaOrientation?: 'horizontal' | 'vertical'
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface QyScrollbarAttrs {
|
|
38
|
-
class?: unknown
|
|
39
|
-
style?: StyleValue
|
|
40
|
-
title?: string
|
|
41
|
-
[key: `data-${string}`]: unknown
|
|
42
|
-
[key: `aria-${string}`]: unknown
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface QyScrollbarSlots {
|
|
46
|
-
default?: () => unknown
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type QyScrollbarEmits = {
|
|
50
|
-
scroll: (position: QyScrollbarScrollPosition) => void
|
|
51
|
-
'end-reached': (direction: QyScrollbarDirection) => void
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface QyScrollbarExposed {
|
|
55
|
-
scrollTo(x: number, y: number): void
|
|
56
|
-
scrollTo(options: ScrollToOptions): void
|
|
57
|
-
setScrollTop(value: number): void
|
|
58
|
-
setScrollLeft(value: number): void
|
|
59
|
-
update(): void
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
type QyScrollbarComponentProps = QyScrollbarProps & QyScrollbarAttrs & {
|
|
63
|
-
onScroll?: QyScrollbarEmits['scroll']
|
|
64
|
-
onEndReached?: QyScrollbarEmits['end-reached']
|
|
65
|
-
'onEnd-reached'?: QyScrollbarEmits['end-reached']
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
declare const QyScrollbar: DefineComponent<
|
|
69
|
-
QyScrollbarProps,
|
|
70
|
-
QyScrollbarExposed,
|
|
71
|
-
{},
|
|
72
|
-
{},
|
|
73
|
-
{},
|
|
74
|
-
ComponentOptionsMixin,
|
|
75
|
-
ComponentOptionsMixin,
|
|
76
|
-
QyScrollbarEmits,
|
|
77
|
-
string,
|
|
78
|
-
PublicProps,
|
|
79
|
-
QyScrollbarComponentProps,
|
|
80
|
-
{},
|
|
81
|
-
SlotsType<QyScrollbarSlots>
|
|
82
|
-
> & Plugin
|
|
83
|
-
|
|
84
|
-
export { QyScrollbar }
|
|
85
|
-
export default QyScrollbar
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
import type { StyleValue } from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyScrollbarDirection = 'top' | 'bottom' | 'left' | 'right'
|
|
11
|
+
|
|
12
|
+
export interface QyScrollbarScrollPosition {
|
|
13
|
+
readonly scrollTop: number
|
|
14
|
+
readonly scrollLeft: number
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface QyScrollbarProps {
|
|
18
|
+
height?: string | number
|
|
19
|
+
maxHeight?: string | number
|
|
20
|
+
native?: boolean
|
|
21
|
+
always?: boolean
|
|
22
|
+
noresize?: boolean
|
|
23
|
+
minSize?: number
|
|
24
|
+
distance?: number
|
|
25
|
+
tag?: keyof HTMLElementTagNameMap | (string & {})
|
|
26
|
+
wrapStyle?: StyleValue
|
|
27
|
+
wrapClass?: string | string[]
|
|
28
|
+
viewStyle?: StyleValue
|
|
29
|
+
viewClass?: string | string[]
|
|
30
|
+
tabindex?: string | number
|
|
31
|
+
id?: string
|
|
32
|
+
role?: string
|
|
33
|
+
ariaLabel?: string
|
|
34
|
+
ariaOrientation?: 'horizontal' | 'vertical'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface QyScrollbarAttrs {
|
|
38
|
+
class?: unknown
|
|
39
|
+
style?: StyleValue
|
|
40
|
+
title?: string
|
|
41
|
+
[key: `data-${string}`]: unknown
|
|
42
|
+
[key: `aria-${string}`]: unknown
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface QyScrollbarSlots {
|
|
46
|
+
default?: () => unknown
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type QyScrollbarEmits = {
|
|
50
|
+
scroll: (position: QyScrollbarScrollPosition) => void
|
|
51
|
+
'end-reached': (direction: QyScrollbarDirection) => void
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface QyScrollbarExposed {
|
|
55
|
+
scrollTo(x: number, y: number): void
|
|
56
|
+
scrollTo(options: ScrollToOptions): void
|
|
57
|
+
setScrollTop(value: number): void
|
|
58
|
+
setScrollLeft(value: number): void
|
|
59
|
+
update(): void
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
type QyScrollbarComponentProps = QyScrollbarProps & QyScrollbarAttrs & {
|
|
63
|
+
onScroll?: QyScrollbarEmits['scroll']
|
|
64
|
+
onEndReached?: QyScrollbarEmits['end-reached']
|
|
65
|
+
'onEnd-reached'?: QyScrollbarEmits['end-reached']
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare const QyScrollbar: DefineComponent<
|
|
69
|
+
QyScrollbarProps,
|
|
70
|
+
QyScrollbarExposed,
|
|
71
|
+
{},
|
|
72
|
+
{},
|
|
73
|
+
{},
|
|
74
|
+
ComponentOptionsMixin,
|
|
75
|
+
ComponentOptionsMixin,
|
|
76
|
+
QyScrollbarEmits,
|
|
77
|
+
string,
|
|
78
|
+
PublicProps,
|
|
79
|
+
QyScrollbarComponentProps,
|
|
80
|
+
{},
|
|
81
|
+
SlotsType<QyScrollbarSlots>
|
|
82
|
+
> & Plugin
|
|
83
|
+
|
|
84
|
+
export { QyScrollbar }
|
|
85
|
+
export default QyScrollbar
|
package/qy-skeleton/index.d.ts
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
|
|
9
|
-
export interface QySkeletonThrottle {
|
|
10
|
-
leading?: number
|
|
11
|
-
trailing?: number
|
|
12
|
-
initVal?: boolean
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface QySkeletonProps {
|
|
16
|
-
animated?: boolean
|
|
17
|
-
count?: number
|
|
18
|
-
rows?: number
|
|
19
|
-
loading?: boolean
|
|
20
|
-
throttle?: number | QySkeletonThrottle
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface QySkeletonAttrs {
|
|
24
|
-
role?: string
|
|
25
|
-
title?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface QySkeletonSlots {
|
|
31
|
-
default?: () => unknown
|
|
32
|
-
template?: () => unknown
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
type QySkeletonComponentProps = QySkeletonProps & QySkeletonAttrs
|
|
36
|
-
|
|
37
|
-
declare const QySkeleton: DefineComponent<
|
|
38
|
-
QySkeletonComponentProps,
|
|
39
|
-
{},
|
|
40
|
-
{},
|
|
41
|
-
{},
|
|
42
|
-
{},
|
|
43
|
-
ComponentOptionsMixin,
|
|
44
|
-
ComponentOptionsMixin,
|
|
45
|
-
{},
|
|
46
|
-
string,
|
|
47
|
-
PublicProps,
|
|
48
|
-
QySkeletonComponentProps,
|
|
49
|
-
{},
|
|
50
|
-
SlotsType<QySkeletonSlots>
|
|
51
|
-
> & Plugin
|
|
52
|
-
|
|
53
|
-
export { QySkeleton }
|
|
54
|
-
export default QySkeleton
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
|
|
9
|
+
export interface QySkeletonThrottle {
|
|
10
|
+
leading?: number
|
|
11
|
+
trailing?: number
|
|
12
|
+
initVal?: boolean
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface QySkeletonProps {
|
|
16
|
+
animated?: boolean
|
|
17
|
+
count?: number
|
|
18
|
+
rows?: number
|
|
19
|
+
loading?: boolean
|
|
20
|
+
throttle?: number | QySkeletonThrottle
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface QySkeletonAttrs {
|
|
24
|
+
role?: string
|
|
25
|
+
title?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface QySkeletonSlots {
|
|
31
|
+
default?: () => unknown
|
|
32
|
+
template?: () => unknown
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type QySkeletonComponentProps = QySkeletonProps & QySkeletonAttrs
|
|
36
|
+
|
|
37
|
+
declare const QySkeleton: DefineComponent<
|
|
38
|
+
QySkeletonComponentProps,
|
|
39
|
+
{},
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
{},
|
|
43
|
+
ComponentOptionsMixin,
|
|
44
|
+
ComponentOptionsMixin,
|
|
45
|
+
{},
|
|
46
|
+
string,
|
|
47
|
+
PublicProps,
|
|
48
|
+
QySkeletonComponentProps,
|
|
49
|
+
{},
|
|
50
|
+
SlotsType<QySkeletonSlots>
|
|
51
|
+
> & Plugin
|
|
52
|
+
|
|
53
|
+
export { QySkeleton }
|
|
54
|
+
export default QySkeleton
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps
|
|
6
|
-
} from 'vue'
|
|
7
|
-
|
|
8
|
-
export type QySkeletonItemVariant =
|
|
9
|
-
| 'p'
|
|
10
|
-
| 'text'
|
|
11
|
-
| 'h1'
|
|
12
|
-
| 'h3'
|
|
13
|
-
| 'caption'
|
|
14
|
-
| 'button'
|
|
15
|
-
| 'image'
|
|
16
|
-
| 'circle'
|
|
17
|
-
| 'rect'
|
|
18
|
-
|
|
19
|
-
export interface QySkeletonItemProps {
|
|
20
|
-
variant?: QySkeletonItemVariant
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface QySkeletonItemAttrs {
|
|
24
|
-
role?: string
|
|
25
|
-
title?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
type QySkeletonItemComponentProps = QySkeletonItemProps &
|
|
31
|
-
QySkeletonItemAttrs
|
|
32
|
-
|
|
33
|
-
declare const QySkeletonItem: DefineComponent<
|
|
34
|
-
QySkeletonItemComponentProps,
|
|
35
|
-
{},
|
|
36
|
-
{},
|
|
37
|
-
{},
|
|
38
|
-
{},
|
|
39
|
-
ComponentOptionsMixin,
|
|
40
|
-
ComponentOptionsMixin,
|
|
41
|
-
{},
|
|
42
|
-
string,
|
|
43
|
-
PublicProps,
|
|
44
|
-
QySkeletonItemComponentProps
|
|
45
|
-
> & Plugin
|
|
46
|
-
|
|
47
|
-
export { QySkeletonItem }
|
|
48
|
-
export default QySkeletonItem
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps
|
|
6
|
+
} from 'vue'
|
|
7
|
+
|
|
8
|
+
export type QySkeletonItemVariant =
|
|
9
|
+
| 'p'
|
|
10
|
+
| 'text'
|
|
11
|
+
| 'h1'
|
|
12
|
+
| 'h3'
|
|
13
|
+
| 'caption'
|
|
14
|
+
| 'button'
|
|
15
|
+
| 'image'
|
|
16
|
+
| 'circle'
|
|
17
|
+
| 'rect'
|
|
18
|
+
|
|
19
|
+
export interface QySkeletonItemProps {
|
|
20
|
+
variant?: QySkeletonItemVariant
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface QySkeletonItemAttrs {
|
|
24
|
+
role?: string
|
|
25
|
+
title?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type QySkeletonItemComponentProps = QySkeletonItemProps &
|
|
31
|
+
QySkeletonItemAttrs
|
|
32
|
+
|
|
33
|
+
declare const QySkeletonItem: DefineComponent<
|
|
34
|
+
QySkeletonItemComponentProps,
|
|
35
|
+
{},
|
|
36
|
+
{},
|
|
37
|
+
{},
|
|
38
|
+
{},
|
|
39
|
+
ComponentOptionsMixin,
|
|
40
|
+
ComponentOptionsMixin,
|
|
41
|
+
{},
|
|
42
|
+
string,
|
|
43
|
+
PublicProps,
|
|
44
|
+
QySkeletonItemComponentProps
|
|
45
|
+
> & Plugin
|
|
46
|
+
|
|
47
|
+
export { QySkeletonItem }
|
|
48
|
+
export default QySkeletonItem
|
package/qy-step/index.d.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
Component,
|
|
3
|
-
ComponentOptionsMixin,
|
|
4
|
-
DefineComponent,
|
|
5
|
-
Plugin,
|
|
6
|
-
PublicProps,
|
|
7
|
-
SlotsType,
|
|
8
|
-
StyleValue
|
|
9
|
-
} from 'vue'
|
|
10
|
-
|
|
11
|
-
export type QyStepIcon = string | Component
|
|
12
|
-
export type QyStepStatus = '' | 'wait' | 'process' | 'finish' | 'error' | 'success'
|
|
13
|
-
|
|
14
|
-
export interface QyStepProps {
|
|
15
|
-
title?: string
|
|
16
|
-
description?: string
|
|
17
|
-
icon?: QyStepIcon
|
|
18
|
-
status?: QyStepStatus
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface QyStepAttrs {
|
|
22
|
-
class?: unknown
|
|
23
|
-
style?: StyleValue
|
|
24
|
-
id?: string
|
|
25
|
-
role?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface QyStepSlots {
|
|
31
|
-
icon?: () => unknown
|
|
32
|
-
title?: () => unknown
|
|
33
|
-
description?: () => unknown
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
type QyStepComponentProps = QyStepProps & QyStepAttrs
|
|
37
|
-
|
|
38
|
-
declare const QyStep: DefineComponent<
|
|
39
|
-
QyStepProps,
|
|
40
|
-
{},
|
|
41
|
-
{},
|
|
42
|
-
{},
|
|
43
|
-
{},
|
|
44
|
-
ComponentOptionsMixin,
|
|
45
|
-
ComponentOptionsMixin,
|
|
46
|
-
{},
|
|
47
|
-
string,
|
|
48
|
-
PublicProps,
|
|
49
|
-
QyStepComponentProps,
|
|
50
|
-
{},
|
|
51
|
-
SlotsType<QyStepSlots>
|
|
52
|
-
> & Plugin
|
|
53
|
-
|
|
54
|
-
export { QyStep }
|
|
55
|
-
export default QyStep
|
|
1
|
+
import type {
|
|
2
|
+
Component,
|
|
3
|
+
ComponentOptionsMixin,
|
|
4
|
+
DefineComponent,
|
|
5
|
+
Plugin,
|
|
6
|
+
PublicProps,
|
|
7
|
+
SlotsType,
|
|
8
|
+
StyleValue
|
|
9
|
+
} from 'vue'
|
|
10
|
+
|
|
11
|
+
export type QyStepIcon = string | Component
|
|
12
|
+
export type QyStepStatus = '' | 'wait' | 'process' | 'finish' | 'error' | 'success'
|
|
13
|
+
|
|
14
|
+
export interface QyStepProps {
|
|
15
|
+
title?: string
|
|
16
|
+
description?: string
|
|
17
|
+
icon?: QyStepIcon
|
|
18
|
+
status?: QyStepStatus
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface QyStepAttrs {
|
|
22
|
+
class?: unknown
|
|
23
|
+
style?: StyleValue
|
|
24
|
+
id?: string
|
|
25
|
+
role?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface QyStepSlots {
|
|
31
|
+
icon?: () => unknown
|
|
32
|
+
title?: () => unknown
|
|
33
|
+
description?: () => unknown
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type QyStepComponentProps = QyStepProps & QyStepAttrs
|
|
37
|
+
|
|
38
|
+
declare const QyStep: DefineComponent<
|
|
39
|
+
QyStepProps,
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
{},
|
|
43
|
+
{},
|
|
44
|
+
ComponentOptionsMixin,
|
|
45
|
+
ComponentOptionsMixin,
|
|
46
|
+
{},
|
|
47
|
+
string,
|
|
48
|
+
PublicProps,
|
|
49
|
+
QyStepComponentProps,
|
|
50
|
+
{},
|
|
51
|
+
SlotsType<QyStepSlots>
|
|
52
|
+
> & Plugin
|
|
53
|
+
|
|
54
|
+
export { QyStep }
|
|
55
|
+
export default QyStep
|