@qynpm/ui 1.0.39 → 1.0.41
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 +1797 -1797
- package/dist/index.cjs +15 -15
- package/dist/index.mjs +17 -17
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-button/index.cjs +2 -2
- package/dist/qy-button/index.mjs +2 -2
- 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-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-dropdown/index.cjs +2 -2
- package/dist/qy-dropdown/index.mjs +2 -2
- 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 +2 -2
- package/dist/qy-icon-picker/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-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-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-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-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/shared/{index-lKF1vwdE.mjs → index-2D5AFexl.mjs} +1 -1
- package/dist/shared/{index-BzjGYfVd.mjs → index-8Iwma3ls.mjs} +3 -3
- package/dist/shared/{index-D7WmSi5s.mjs → index-B3XwO-Lc.mjs} +1 -1
- package/dist/shared/{index-GQheV777.mjs → index-B3YHS3Aa.mjs} +1 -1
- package/dist/shared/{index-DQosPVrl.mjs → index-BEcS8y8g.mjs} +5 -5
- package/dist/shared/{index-DpSbQfft.mjs → index-BNssRW4d.mjs} +1 -1
- package/dist/shared/{index-nVNx7f9k.mjs → index-BSTMCPDj.mjs} +5 -5
- package/dist/shared/{index-BXWEn5kQ.mjs → index-BhvOSOfi.mjs} +1 -1
- package/dist/shared/{index-CJeoAmoJ.mjs → index-BjqJCq-6.mjs} +2 -2
- package/dist/shared/{index-D377Dw9z.cjs → index-Bq9quq2D.cjs} +1 -1
- package/dist/shared/{index-D8OXRBGc.mjs → index-ByQyMTPg.mjs} +1 -1
- package/dist/shared/{index-DYLQNCm_.cjs → index-CUlhX6fW.cjs} +1 -1
- package/dist/shared/{index-9GEoEe00.cjs → index-CVWru9T3.cjs} +1 -1
- package/dist/shared/{index-Db0-JPH3.cjs → index-CVYNG8Fc.cjs} +1 -1
- package/dist/shared/{index-KNAOQ6lE.mjs → index-Co84fsS5.mjs} +1 -1
- package/dist/shared/{index-Dt5TyzGy.cjs → index-D27mwR57.cjs} +1 -1
- package/dist/shared/{index-CCd7dB4w.cjs → index-DAztNKSp.cjs} +1 -1
- package/dist/shared/{index-G3BezuiV.cjs → index-DKw-seoh.cjs} +1 -1
- package/dist/shared/{index-Bd_aS-_F.mjs → index-DRIoLeFE.mjs} +1 -1
- package/dist/shared/{index-MPd3qxAh.cjs → index-DTbGlDqr.cjs} +1 -1
- package/dist/shared/{index-D1Xkf7rL.mjs → index-DXZ6Y6wd.mjs} +2 -2
- package/dist/shared/{index-Br_34fum.cjs → index-DiEag4sK.cjs} +1 -1
- package/dist/shared/{index-BFG8tzQV.mjs → index-DvFMgAcu.mjs} +1 -1
- package/dist/shared/{index-_IQS5Lxm.mjs → index-E3zI0Ugj.mjs} +24 -24
- package/dist/shared/{index-BsDC3meI.cjs → index-Mj7JZt7y.cjs} +1 -1
- package/dist/shared/{index-elwxiSmc.cjs → index-MyDDX-zj.cjs} +1 -1
- package/dist/shared/{index-Dus42W4E.cjs → index-R_hSPemR.cjs} +1 -1
- package/dist/shared/{index-MNEYnZEw.cjs → index-d76Z3yrB.cjs} +1 -1
- package/dist/shared/{index-D0hSquu3.cjs → index-gMrQlV5n.cjs} +1 -1
- package/dist/shared/{index-C1gEZRI5.cjs → index-rSrDnOpu.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CcbBUYM3.cjs → index.vue_vue_type_script_setup_true_lang-DbLp1kvW.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-OmrHTMpe.mjs → index.vue_vue_type_script_setup_true_lang-Dn29lZTs.mjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-Cswf_owk.cjs → index.vue_vue_type_script_setup_true_lang-UBQQ6Z03.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-BvnOeUIM.mjs → index.vue_vue_type_script_setup_true_lang-r7iyZzDS.mjs} +1 -1
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-DOAbOPGO.mjs → index.vue_vue_type_style_index_0_lang-B6cv-Ra3.mjs} +2 -1
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-BfQd7yxi.cjs → index.vue_vue_type_style_index_0_lang-CU9gg9t5.cjs} +1 -1
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-Daww52B9.mjs → index.vue_vue_type_style_index_0_lang-DbQkbvgb.mjs} +2 -2
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-D2CH70ZX.cjs → index.vue_vue_type_style_index_0_lang-OHPkiKBo.cjs} +1 -1
- package/index.d.ts +592 -592
- package/package.json +500 -496
- package/qy-action-bar/index.d.ts +5 -5
- package/qy-aside/index.d.ts +47 -47
- package/qy-button/index.d.ts +34 -34
- package/qy-checkbox/index.d.ts +45 -45
- package/qy-checkbox-group/index.d.ts +48 -48
- package/qy-col/index.d.ts +65 -65
- package/qy-color-picker/index.d.ts +36 -36
- package/qy-container/index.d.ts +49 -49
- package/qy-date-picker/index.d.ts +140 -140
- package/qy-dropdown/index.d.ts +40 -40
- package/qy-file-picker/index.d.ts +48 -48
- package/qy-form-section/index.d.ts +5 -5
- package/qy-fullscreen/index.d.ts +72 -72
- package/qy-icon/index.d.ts +99 -99
- package/qy-icon-picker/index.d.ts +56 -56
- package/qy-input/index.d.ts +32 -32
- package/qy-input-number/index.d.ts +15 -15
- package/qy-legacy-selection-dialog/index.d.ts +5 -5
- package/qy-main/index.d.ts +45 -45
- package/qy-popconfirm/index.d.ts +55 -55
- package/qy-popover/index.d.ts +63 -63
- package/qy-radio/index.d.ts +44 -44
- package/qy-radio-group/index.d.ts +60 -60
- package/qy-record-quote-search/index.d.ts +5 -5
- package/qy-remark-image/index.d.ts +5 -5
- package/qy-remote-select/index.d.ts +12 -12
- package/qy-row/index.d.ts +59 -59
- package/qy-search-input/index.d.ts +5 -5
- package/qy-select/index.d.ts +67 -67
- package/qy-selection-dialog/index.d.ts +5 -5
- package/qy-statistic/index.d.ts +61 -61
- package/qy-switch/index.d.ts +46 -46
- package/qy-tag/index.d.ts +44 -44
- package/qy-tooltip/index.d.ts +54 -54
- package/qy-watermark/index.d.ts +72 -72
package/qy-icon/index.d.ts
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
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
|
-
|
|
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
60
|
export type QyIconRegistryOptions = Readonly<{
|
|
61
61
|
icons: readonly QyIconDefinitionInput[]
|
|
62
62
|
aliases?: QyIconAliases
|
|
63
63
|
loader?: () => Promise<QyIconRegistryOptions>
|
|
64
64
|
}>
|
|
65
|
-
|
|
66
|
-
export interface QyIconRegistry {
|
|
67
|
-
resolve(name: string | number): QyIconDefinition | undefined
|
|
68
|
-
has(name: string | number): boolean
|
|
65
|
+
|
|
66
|
+
export interface QyIconRegistry {
|
|
67
|
+
resolve(name: string | number): QyIconDefinition | undefined
|
|
68
|
+
has(name: string | number): boolean
|
|
69
69
|
list(): readonly QyIconDefinition[]
|
|
70
70
|
load(): Promise<void>
|
|
71
71
|
retry(): Promise<void>
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
export interface QyIconAttrs {
|
|
75
|
-
class?: string
|
|
76
|
-
style?: StyleValue
|
|
77
|
-
id?: string
|
|
78
|
-
role?: string
|
|
79
|
-
title?: string
|
|
80
|
-
[key: `data-${string}`]: unknown
|
|
81
|
-
[key: `aria-${string}`]: unknown
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface QyIconProps {
|
|
85
|
-
name?: string | number
|
|
86
|
-
icon?: Component
|
|
87
|
-
size?: number | string
|
|
88
|
-
color?: string
|
|
89
|
-
spin?: boolean
|
|
90
|
-
label?: string
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export interface QyIconFallbackSlotProps {
|
|
94
|
-
readonly name: string
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export interface QyIconSlots {
|
|
98
|
-
fallback?: (props: QyIconFallbackSlotProps) => unknown
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export const QY_ICON_REGISTRY_KEY: InjectionKey<QyIconRegistry>
|
|
102
|
-
export function createQyIconRegistry(options: QyIconRegistryOptions): QyIconRegistry
|
|
103
|
-
export function mergeQyIconRegistries(...registries: readonly QyIconRegistry[]): QyIconRegistry
|
|
104
|
-
export function createQyIconPlugin(registry: QyIconRegistry): Plugin
|
|
105
|
-
export function normalizeQyIconName(value: string | number): string
|
|
106
|
-
|
|
107
|
-
export const QyIcon: DefineComponent<QyIconProps & QyIconAttrs, any, any> & Plugin
|
|
108
|
-
export default QyIcon
|
|
73
|
+
|
|
74
|
+
export interface QyIconAttrs {
|
|
75
|
+
class?: string
|
|
76
|
+
style?: StyleValue
|
|
77
|
+
id?: string
|
|
78
|
+
role?: string
|
|
79
|
+
title?: string
|
|
80
|
+
[key: `data-${string}`]: unknown
|
|
81
|
+
[key: `aria-${string}`]: unknown
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface QyIconProps {
|
|
85
|
+
name?: string | number
|
|
86
|
+
icon?: Component
|
|
87
|
+
size?: number | string
|
|
88
|
+
color?: string
|
|
89
|
+
spin?: boolean
|
|
90
|
+
label?: string
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface QyIconFallbackSlotProps {
|
|
94
|
+
readonly name: string
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface QyIconSlots {
|
|
98
|
+
fallback?: (props: QyIconFallbackSlotProps) => unknown
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export const QY_ICON_REGISTRY_KEY: InjectionKey<QyIconRegistry>
|
|
102
|
+
export function createQyIconRegistry(options: QyIconRegistryOptions): QyIconRegistry
|
|
103
|
+
export function mergeQyIconRegistries(...registries: readonly QyIconRegistry[]): QyIconRegistry
|
|
104
|
+
export function createQyIconPlugin(registry: QyIconRegistry): Plugin
|
|
105
|
+
export function normalizeQyIconName(value: string | number): string
|
|
106
|
+
|
|
107
|
+
export const QyIcon: DefineComponent<QyIconProps & QyIconAttrs, any, any> & Plugin
|
|
108
|
+
export default QyIcon
|
|
@@ -1,56 +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
|
|
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
|
package/qy-input/index.d.ts
CHANGED
|
@@ -74,35 +74,35 @@ export interface QyInputProps {
|
|
|
74
74
|
removeSpace?: boolean
|
|
75
75
|
trimMode?: QyInputTrimMode
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
export type QyInputEmits = {
|
|
79
|
-
'update:modelValue': (value: QyInputValue) => void
|
|
80
|
-
input: (value: QyInputValue) => void
|
|
81
|
-
change: (value: QyInputValue) => void
|
|
82
|
-
focus: (event: FocusEvent) => void
|
|
83
|
-
blur: (event: FocusEvent) => void
|
|
84
|
-
clear: () => void
|
|
85
|
-
enter: (event: KeyboardEvent) => void
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface QyInputExposed {
|
|
89
|
-
focus(): void
|
|
90
|
-
blur(): void
|
|
91
|
-
select(): void
|
|
92
|
-
clear(): void
|
|
93
|
-
resizeTextarea(): void
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
declare const QyInput: DefineComponent<
|
|
97
|
-
QyInputProps,
|
|
98
|
-
QyInputExposed,
|
|
99
|
-
{},
|
|
100
|
-
{},
|
|
101
|
-
{},
|
|
102
|
-
{},
|
|
103
|
-
{},
|
|
104
|
-
QyInputEmits
|
|
105
|
-
> & Plugin
|
|
106
|
-
|
|
107
|
-
export { QyInput }
|
|
108
|
-
export default QyInput
|
|
77
|
+
|
|
78
|
+
export type QyInputEmits = {
|
|
79
|
+
'update:modelValue': (value: QyInputValue) => void
|
|
80
|
+
input: (value: QyInputValue) => void
|
|
81
|
+
change: (value: QyInputValue) => void
|
|
82
|
+
focus: (event: FocusEvent) => void
|
|
83
|
+
blur: (event: FocusEvent) => void
|
|
84
|
+
clear: () => void
|
|
85
|
+
enter: (event: KeyboardEvent) => void
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface QyInputExposed {
|
|
89
|
+
focus(): void
|
|
90
|
+
blur(): void
|
|
91
|
+
select(): void
|
|
92
|
+
clear(): void
|
|
93
|
+
resizeTextarea(): void
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
declare const QyInput: DefineComponent<
|
|
97
|
+
QyInputProps,
|
|
98
|
+
QyInputExposed,
|
|
99
|
+
{},
|
|
100
|
+
{},
|
|
101
|
+
{},
|
|
102
|
+
{},
|
|
103
|
+
{},
|
|
104
|
+
QyInputEmits
|
|
105
|
+
> & Plugin
|
|
106
|
+
|
|
107
|
+
export { QyInput }
|
|
108
|
+
export default QyInput
|
|
@@ -5,9 +5,9 @@ import type {
|
|
|
5
5
|
PublicProps,
|
|
6
6
|
SlotsType
|
|
7
7
|
} from 'vue'
|
|
8
|
-
|
|
9
|
-
export type QyInputNumberValue = number | null | undefined
|
|
10
|
-
export type QyInputNumberClearValue = 'min' | 'max' | number | null
|
|
8
|
+
|
|
9
|
+
export type QyInputNumberValue = number | null | undefined
|
|
10
|
+
export type QyInputNumberClearValue = 'min' | 'max' | number | null
|
|
11
11
|
export type QyInputNumberControlsPosition = '' | 'right'
|
|
12
12
|
export type QyInputNumberSize = 'small' | 'default' | 'large'
|
|
13
13
|
|
|
@@ -30,15 +30,15 @@ export interface QyInputNumberProps {
|
|
|
30
30
|
validateEvent?: boolean
|
|
31
31
|
ariaLabel?: string
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
export type QyInputNumberEmits = {
|
|
35
|
-
'update:modelValue': (value: QyInputNumberValue) => void
|
|
36
|
-
input: (value: QyInputNumberValue) => void
|
|
37
|
-
change: (currentValue: QyInputNumberValue, oldValue: QyInputNumberValue) => void
|
|
38
|
-
focus: (event: FocusEvent) => void
|
|
39
|
-
blur: (event: FocusEvent) => void
|
|
40
|
-
}
|
|
41
|
-
|
|
33
|
+
|
|
34
|
+
export type QyInputNumberEmits = {
|
|
35
|
+
'update:modelValue': (value: QyInputNumberValue) => void
|
|
36
|
+
input: (value: QyInputNumberValue) => void
|
|
37
|
+
change: (currentValue: QyInputNumberValue, oldValue: QyInputNumberValue) => void
|
|
38
|
+
focus: (event: FocusEvent) => void
|
|
39
|
+
blur: (event: FocusEvent) => void
|
|
40
|
+
}
|
|
41
|
+
|
|
42
42
|
export interface QyInputNumberExposed {
|
|
43
43
|
focus(): void
|
|
44
44
|
blur(): void
|
|
@@ -74,6 +74,6 @@ declare const QyInputNumber: DefineComponent<
|
|
|
74
74
|
{},
|
|
75
75
|
SlotsType<QyInputNumberSlots>
|
|
76
76
|
> & Plugin
|
|
77
|
-
|
|
78
|
-
export { QyInputNumber }
|
|
79
|
-
export default QyInputNumber
|
|
77
|
+
|
|
78
|
+
export { QyInputNumber }
|
|
79
|
+
export default QyInputNumber
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
-
|
|
3
|
-
declare const QyLegacySelectionDialog: DefineComponent<any, any, any> & Plugin
|
|
4
|
-
|
|
5
|
-
export default QyLegacySelectionDialog
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
declare const QyLegacySelectionDialog: DefineComponent<any, any, any> & Plugin
|
|
4
|
+
|
|
5
|
+
export default QyLegacySelectionDialog
|
package/qy-main/index.d.ts
CHANGED
|
@@ -1,45 +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
|
|
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
|
package/qy-popconfirm/index.d.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin
|
|
5
|
-
} from 'vue'
|
|
6
|
-
import type { QyPopoverPlacement } from '../qy-popover'
|
|
7
|
-
|
|
8
|
-
export type QyPopconfirmVariant = 'warning' | 'danger' | 'info'
|
|
9
|
-
export type QyPopconfirmConfirmType = 'primary' | 'danger'
|
|
10
|
-
export type QyPopconfirmCloseReason =
|
|
11
|
-
| 'confirm'
|
|
12
|
-
| 'cancel'
|
|
13
|
-
| 'outside'
|
|
14
|
-
| 'escape'
|
|
15
|
-
| 'trigger'
|
|
16
|
-
| 'external'
|
|
17
|
-
| 'disabled'
|
|
18
|
-
|
|
19
|
-
export interface QyPopconfirmProps {
|
|
20
|
-
title: string
|
|
21
|
-
open?: boolean
|
|
22
|
-
disabled?: boolean
|
|
23
|
-
placement?: QyPopoverPlacement
|
|
24
|
-
width?: number | string
|
|
25
|
-
confirmText?: string
|
|
26
|
-
cancelText?: string
|
|
27
|
-
variant?: QyPopconfirmVariant
|
|
28
|
-
confirmType?: QyPopconfirmConfirmType
|
|
29
|
-
showIcon?: boolean
|
|
30
|
-
confirmLoading?: boolean
|
|
31
|
-
closeOnConfirm?: boolean
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export type QyPopconfirmEmits = {
|
|
35
|
-
'update:open': (value: boolean) => void
|
|
36
|
-
'open-change': (value: boolean) => void
|
|
37
|
-
confirm: () => void
|
|
38
|
-
cancel: () => void
|
|
39
|
-
close: (reason: QyPopconfirmCloseReason) => void
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
declare const QyPopconfirm: DefineComponent<
|
|
43
|
-
QyPopconfirmProps,
|
|
44
|
-
{},
|
|
45
|
-
{},
|
|
46
|
-
{},
|
|
47
|
-
{},
|
|
48
|
-
ComponentOptionsMixin,
|
|
49
|
-
ComponentOptionsMixin,
|
|
50
|
-
QyPopconfirmEmits
|
|
51
|
-
> &
|
|
52
|
-
Plugin
|
|
53
|
-
|
|
54
|
-
export { QyPopconfirm }
|
|
55
|
-
export default QyPopconfirm
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin
|
|
5
|
+
} from 'vue'
|
|
6
|
+
import type { QyPopoverPlacement } from '../qy-popover'
|
|
7
|
+
|
|
8
|
+
export type QyPopconfirmVariant = 'warning' | 'danger' | 'info'
|
|
9
|
+
export type QyPopconfirmConfirmType = 'primary' | 'danger'
|
|
10
|
+
export type QyPopconfirmCloseReason =
|
|
11
|
+
| 'confirm'
|
|
12
|
+
| 'cancel'
|
|
13
|
+
| 'outside'
|
|
14
|
+
| 'escape'
|
|
15
|
+
| 'trigger'
|
|
16
|
+
| 'external'
|
|
17
|
+
| 'disabled'
|
|
18
|
+
|
|
19
|
+
export interface QyPopconfirmProps {
|
|
20
|
+
title: string
|
|
21
|
+
open?: boolean
|
|
22
|
+
disabled?: boolean
|
|
23
|
+
placement?: QyPopoverPlacement
|
|
24
|
+
width?: number | string
|
|
25
|
+
confirmText?: string
|
|
26
|
+
cancelText?: string
|
|
27
|
+
variant?: QyPopconfirmVariant
|
|
28
|
+
confirmType?: QyPopconfirmConfirmType
|
|
29
|
+
showIcon?: boolean
|
|
30
|
+
confirmLoading?: boolean
|
|
31
|
+
closeOnConfirm?: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type QyPopconfirmEmits = {
|
|
35
|
+
'update:open': (value: boolean) => void
|
|
36
|
+
'open-change': (value: boolean) => void
|
|
37
|
+
confirm: () => void
|
|
38
|
+
cancel: () => void
|
|
39
|
+
close: (reason: QyPopconfirmCloseReason) => void
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare const QyPopconfirm: DefineComponent<
|
|
43
|
+
QyPopconfirmProps,
|
|
44
|
+
{},
|
|
45
|
+
{},
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
ComponentOptionsMixin,
|
|
49
|
+
ComponentOptionsMixin,
|
|
50
|
+
QyPopconfirmEmits
|
|
51
|
+
> &
|
|
52
|
+
Plugin
|
|
53
|
+
|
|
54
|
+
export { QyPopconfirm }
|
|
55
|
+
export default QyPopconfirm
|