@qynpm/ui 1.0.32 → 1.0.33
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 +101 -86
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/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-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-legacy-selection-dialog/index.cjs +1 -1
- package/dist/qy-legacy-selection-dialog/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-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-selection-dialog/index.cjs +1 -1
- package/dist/qy-selection-dialog/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/shared/{index-kiAR2M_e.mjs → index-B0zL9hEY.mjs} +1 -1
- package/dist/shared/{index-hEy-3mcr.mjs → index-CaDqecpT.mjs} +8 -8
- package/dist/shared/{index-CltDZpF9.cjs → index-D5DmmUX2.cjs} +1 -1
- package/dist/shared/{index-CpvFUems.cjs → index-DqsG1Mam.cjs} +1 -1
- package/dist/shared/index-gcsw_rtX.mjs +3529 -0
- package/dist/shared/index-uhxRj2ZT.cjs +1 -0
- package/index.d.ts +69 -63
- package/package.json +459 -459
- 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-descriptions/index.d.ts +47 -47
- package/qy-descriptions-item/index.d.ts +46 -46
- package/qy-dialog/index.d.ts +60 -2
- 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-image/index.d.ts +28 -28
- package/qy-image-preview/index.d.ts +20 -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-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/dist/shared/index-4wZQbpy3.mjs +0 -3457
- package/dist/shared/index-BvKFjDgX.cjs +0 -1
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
|
|
9
|
-
export type QyDescriptionsSize = '' | 'large' | 'default' | 'small'
|
|
10
|
-
export type QyDescriptionsDirection = 'horizontal' | 'vertical'
|
|
11
|
-
|
|
12
|
-
export interface QyDescriptionsProps {
|
|
13
|
-
border?: boolean
|
|
14
|
-
column?: number
|
|
15
|
-
direction?: QyDescriptionsDirection
|
|
16
|
-
size?: QyDescriptionsSize
|
|
17
|
-
title?: string
|
|
18
|
-
extra?: string
|
|
19
|
-
labelWidth?: string | number
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface QyDescriptionsSlots {
|
|
23
|
-
default?: () => unknown
|
|
24
|
-
title?: () => unknown
|
|
25
|
-
extra?: () => unknown
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type QyDescriptionsEmits = Record<never, never>
|
|
29
|
-
|
|
30
|
-
declare const QyDescriptions: DefineComponent<
|
|
31
|
-
QyDescriptionsProps,
|
|
32
|
-
{},
|
|
33
|
-
{},
|
|
34
|
-
{},
|
|
35
|
-
{},
|
|
36
|
-
ComponentOptionsMixin,
|
|
37
|
-
ComponentOptionsMixin,
|
|
38
|
-
QyDescriptionsEmits,
|
|
39
|
-
string,
|
|
40
|
-
PublicProps,
|
|
41
|
-
QyDescriptionsProps,
|
|
42
|
-
{},
|
|
43
|
-
SlotsType<QyDescriptionsSlots>
|
|
44
|
-
> & Plugin
|
|
45
|
-
|
|
46
|
-
export { QyDescriptions }
|
|
47
|
-
export default QyDescriptions
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
|
|
9
|
+
export type QyDescriptionsSize = '' | 'large' | 'default' | 'small'
|
|
10
|
+
export type QyDescriptionsDirection = 'horizontal' | 'vertical'
|
|
11
|
+
|
|
12
|
+
export interface QyDescriptionsProps {
|
|
13
|
+
border?: boolean
|
|
14
|
+
column?: number
|
|
15
|
+
direction?: QyDescriptionsDirection
|
|
16
|
+
size?: QyDescriptionsSize
|
|
17
|
+
title?: string
|
|
18
|
+
extra?: string
|
|
19
|
+
labelWidth?: string | number
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface QyDescriptionsSlots {
|
|
23
|
+
default?: () => unknown
|
|
24
|
+
title?: () => unknown
|
|
25
|
+
extra?: () => unknown
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type QyDescriptionsEmits = Record<never, never>
|
|
29
|
+
|
|
30
|
+
declare const QyDescriptions: DefineComponent<
|
|
31
|
+
QyDescriptionsProps,
|
|
32
|
+
{},
|
|
33
|
+
{},
|
|
34
|
+
{},
|
|
35
|
+
{},
|
|
36
|
+
ComponentOptionsMixin,
|
|
37
|
+
ComponentOptionsMixin,
|
|
38
|
+
QyDescriptionsEmits,
|
|
39
|
+
string,
|
|
40
|
+
PublicProps,
|
|
41
|
+
QyDescriptionsProps,
|
|
42
|
+
{},
|
|
43
|
+
SlotsType<QyDescriptionsSlots>
|
|
44
|
+
> & Plugin
|
|
45
|
+
|
|
46
|
+
export { QyDescriptions }
|
|
47
|
+
export default QyDescriptions
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
|
|
9
|
-
export type QyDescriptionsItemAlign = 'left' | 'center' | 'right'
|
|
10
|
-
|
|
11
|
-
export interface QyDescriptionsItemProps {
|
|
12
|
-
label?: string
|
|
13
|
-
span?: number
|
|
14
|
-
rowspan?: number
|
|
15
|
-
width?: string | number
|
|
16
|
-
minWidth?: string | number
|
|
17
|
-
labelWidth?: string | number
|
|
18
|
-
align?: QyDescriptionsItemAlign
|
|
19
|
-
labelAlign?: QyDescriptionsItemAlign
|
|
20
|
-
className?: string
|
|
21
|
-
labelClassName?: string
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface QyDescriptionsItemSlots {
|
|
25
|
-
default?: () => unknown
|
|
26
|
-
label?: () => unknown
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
declare const QyDescriptionsItem: DefineComponent<
|
|
30
|
-
QyDescriptionsItemProps,
|
|
31
|
-
{},
|
|
32
|
-
{},
|
|
33
|
-
{},
|
|
34
|
-
{},
|
|
35
|
-
ComponentOptionsMixin,
|
|
36
|
-
ComponentOptionsMixin,
|
|
37
|
-
{},
|
|
38
|
-
string,
|
|
39
|
-
PublicProps,
|
|
40
|
-
QyDescriptionsItemProps,
|
|
41
|
-
{},
|
|
42
|
-
SlotsType<QyDescriptionsItemSlots>
|
|
43
|
-
> & Plugin
|
|
44
|
-
|
|
45
|
-
export { QyDescriptionsItem }
|
|
46
|
-
export default QyDescriptionsItem
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
|
|
9
|
+
export type QyDescriptionsItemAlign = 'left' | 'center' | 'right'
|
|
10
|
+
|
|
11
|
+
export interface QyDescriptionsItemProps {
|
|
12
|
+
label?: string
|
|
13
|
+
span?: number
|
|
14
|
+
rowspan?: number
|
|
15
|
+
width?: string | number
|
|
16
|
+
minWidth?: string | number
|
|
17
|
+
labelWidth?: string | number
|
|
18
|
+
align?: QyDescriptionsItemAlign
|
|
19
|
+
labelAlign?: QyDescriptionsItemAlign
|
|
20
|
+
className?: string
|
|
21
|
+
labelClassName?: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface QyDescriptionsItemSlots {
|
|
25
|
+
default?: () => unknown
|
|
26
|
+
label?: () => unknown
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare const QyDescriptionsItem: DefineComponent<
|
|
30
|
+
QyDescriptionsItemProps,
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
{},
|
|
34
|
+
{},
|
|
35
|
+
ComponentOptionsMixin,
|
|
36
|
+
ComponentOptionsMixin,
|
|
37
|
+
{},
|
|
38
|
+
string,
|
|
39
|
+
PublicProps,
|
|
40
|
+
QyDescriptionsItemProps,
|
|
41
|
+
{},
|
|
42
|
+
SlotsType<QyDescriptionsItemSlots>
|
|
43
|
+
> & Plugin
|
|
44
|
+
|
|
45
|
+
export { QyDescriptionsItem }
|
|
46
|
+
export default QyDescriptionsItem
|
package/qy-dialog/index.d.ts
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin
|
|
5
|
+
} from 'vue'
|
|
2
6
|
|
|
3
|
-
|
|
7
|
+
export type QyDialogCloseReason =
|
|
8
|
+
| 'confirm'
|
|
9
|
+
| 'cancel'
|
|
10
|
+
| 'header'
|
|
11
|
+
| 'escape'
|
|
12
|
+
| 'overlay'
|
|
13
|
+
| 'external'
|
|
4
14
|
|
|
15
|
+
export interface QyDialogProps {
|
|
16
|
+
open: boolean
|
|
17
|
+
title?: string
|
|
18
|
+
width?: string | number
|
|
19
|
+
showFooter?: boolean
|
|
20
|
+
showConfirm?: boolean
|
|
21
|
+
showCancel?: boolean
|
|
22
|
+
confirmText?: string
|
|
23
|
+
cancelText?: string
|
|
24
|
+
confirmLoading?: boolean
|
|
25
|
+
confirmDisabled?: boolean
|
|
26
|
+
closeOnConfirm?: boolean
|
|
27
|
+
closeOnEscape?: boolean
|
|
28
|
+
closeOnOverlay?: boolean
|
|
29
|
+
fullscreen?: boolean
|
|
30
|
+
showFullscreen?: boolean
|
|
31
|
+
minimizable?: boolean
|
|
32
|
+
destroyOnClose?: boolean
|
|
33
|
+
draggable?: boolean
|
|
34
|
+
lockScroll?: boolean
|
|
35
|
+
top?: string
|
|
36
|
+
size?: 'default' | 'small'
|
|
37
|
+
zIndex?: number
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type QyDialogEmits = {
|
|
41
|
+
'update:open': (value: boolean) => void
|
|
42
|
+
'open-change': (value: boolean) => void
|
|
43
|
+
confirm: () => void
|
|
44
|
+
cancel: () => void
|
|
45
|
+
close: (reason: QyDialogCloseReason) => void
|
|
46
|
+
opened: () => void
|
|
47
|
+
closed: () => void
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare const QyDialog: DefineComponent<
|
|
51
|
+
QyDialogProps,
|
|
52
|
+
{},
|
|
53
|
+
{},
|
|
54
|
+
{},
|
|
55
|
+
{},
|
|
56
|
+
ComponentOptionsMixin,
|
|
57
|
+
ComponentOptionsMixin,
|
|
58
|
+
QyDialogEmits
|
|
59
|
+
> &
|
|
60
|
+
Plugin
|
|
61
|
+
|
|
62
|
+
export { QyDialog }
|
|
5
63
|
export default QyDialog
|
package/qy-divider/index.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
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 QyDividerDirection = 'horizontal' | 'vertical'
|
|
11
|
-
export type QyDividerContentPosition = 'left' | 'center' | 'right'
|
|
12
|
-
export type QyDividerBorderStyle = CSSStyleDeclaration['borderStyle']
|
|
13
|
-
|
|
14
|
-
export interface QyDividerProps {
|
|
15
|
-
direction?: QyDividerDirection
|
|
16
|
-
contentPosition?: QyDividerContentPosition
|
|
17
|
-
borderStyle?: QyDividerBorderStyle
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface QyDividerAttrs {
|
|
21
|
-
class?: unknown
|
|
22
|
-
style?: StyleValue
|
|
23
|
-
id?: string
|
|
24
|
-
title?: string
|
|
25
|
-
role?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface QyDividerSlots {
|
|
31
|
-
default?: () => unknown
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
type QyDividerComponentProps = QyDividerProps & QyDividerAttrs
|
|
35
|
-
|
|
36
|
-
declare const QyDivider: DefineComponent<
|
|
37
|
-
QyDividerComponentProps,
|
|
38
|
-
{},
|
|
39
|
-
{},
|
|
40
|
-
{},
|
|
41
|
-
{},
|
|
42
|
-
ComponentOptionsMixin,
|
|
43
|
-
ComponentOptionsMixin,
|
|
44
|
-
{},
|
|
45
|
-
string,
|
|
46
|
-
PublicProps,
|
|
47
|
-
QyDividerComponentProps,
|
|
48
|
-
{},
|
|
49
|
-
SlotsType<QyDividerSlots>
|
|
50
|
-
> & Plugin
|
|
51
|
-
|
|
52
|
-
export { QyDivider }
|
|
53
|
-
export default QyDivider
|
|
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 QyDividerDirection = 'horizontal' | 'vertical'
|
|
11
|
+
export type QyDividerContentPosition = 'left' | 'center' | 'right'
|
|
12
|
+
export type QyDividerBorderStyle = CSSStyleDeclaration['borderStyle']
|
|
13
|
+
|
|
14
|
+
export interface QyDividerProps {
|
|
15
|
+
direction?: QyDividerDirection
|
|
16
|
+
contentPosition?: QyDividerContentPosition
|
|
17
|
+
borderStyle?: QyDividerBorderStyle
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface QyDividerAttrs {
|
|
21
|
+
class?: unknown
|
|
22
|
+
style?: StyleValue
|
|
23
|
+
id?: string
|
|
24
|
+
title?: string
|
|
25
|
+
role?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface QyDividerSlots {
|
|
31
|
+
default?: () => unknown
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type QyDividerComponentProps = QyDividerProps & QyDividerAttrs
|
|
35
|
+
|
|
36
|
+
declare const QyDivider: DefineComponent<
|
|
37
|
+
QyDividerComponentProps,
|
|
38
|
+
{},
|
|
39
|
+
{},
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
ComponentOptionsMixin,
|
|
43
|
+
ComponentOptionsMixin,
|
|
44
|
+
{},
|
|
45
|
+
string,
|
|
46
|
+
PublicProps,
|
|
47
|
+
QyDividerComponentProps,
|
|
48
|
+
{},
|
|
49
|
+
SlotsType<QyDividerSlots>
|
|
50
|
+
> & Plugin
|
|
51
|
+
|
|
52
|
+
export { QyDivider }
|
|
53
|
+
export default QyDivider
|
package/qy-drawer/index.d.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
-
|
|
3
|
-
export type QyDrawerPlacement = 'left' | 'right' | 'top' | 'bottom'
|
|
4
|
-
export type QyDrawerCloseReason = 'close-button' | 'mask' | 'escape'
|
|
5
|
-
|
|
6
|
-
export interface QyDrawerProps {
|
|
7
|
-
modelValue: boolean
|
|
8
|
-
placement?: QyDrawerPlacement
|
|
9
|
-
size?: string | number
|
|
10
|
-
title?: string
|
|
11
|
-
showHeader?: boolean
|
|
12
|
-
showClose?: boolean
|
|
13
|
-
showOverlay?: boolean
|
|
14
|
-
closeOnMask?: boolean
|
|
15
|
-
closeOnEscape?: boolean
|
|
16
|
-
destroyOnClose?: boolean
|
|
17
|
-
lockScroll?: boolean
|
|
18
|
-
autoFocus?: boolean
|
|
19
|
-
restoreFocus?: boolean
|
|
20
|
-
closeDisabled?: boolean
|
|
21
|
-
teleportTo?: string | HTMLElement
|
|
22
|
-
bodyPadding?: 'default' | 'none'
|
|
23
|
-
overlayVariant?: 'default' | 'transparent'
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface QyDrawerEmits {
|
|
27
|
-
'update:modelValue': (value: boolean) => void
|
|
28
|
-
close: (reason: QyDrawerCloseReason) => void
|
|
29
|
-
opened: () => void
|
|
30
|
-
closed: () => void
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface QyDrawerSlotProps {
|
|
34
|
-
close: () => void
|
|
35
|
-
titleId?: string
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface QyDrawerSlots {
|
|
39
|
-
header?: (props: QyDrawerSlotProps) => unknown
|
|
40
|
-
default?: (props: QyDrawerSlotProps) => unknown
|
|
41
|
-
footer?: (props: QyDrawerSlotProps) => unknown
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
declare const QyDrawer: DefineComponent<
|
|
45
|
-
QyDrawerProps,
|
|
46
|
-
{},
|
|
47
|
-
{},
|
|
48
|
-
{},
|
|
49
|
-
{},
|
|
50
|
-
{},
|
|
51
|
-
{},
|
|
52
|
-
QyDrawerEmits
|
|
53
|
-
> & Plugin
|
|
54
|
-
|
|
55
|
-
export default QyDrawer
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
export type QyDrawerPlacement = 'left' | 'right' | 'top' | 'bottom'
|
|
4
|
+
export type QyDrawerCloseReason = 'close-button' | 'mask' | 'escape'
|
|
5
|
+
|
|
6
|
+
export interface QyDrawerProps {
|
|
7
|
+
modelValue: boolean
|
|
8
|
+
placement?: QyDrawerPlacement
|
|
9
|
+
size?: string | number
|
|
10
|
+
title?: string
|
|
11
|
+
showHeader?: boolean
|
|
12
|
+
showClose?: boolean
|
|
13
|
+
showOverlay?: boolean
|
|
14
|
+
closeOnMask?: boolean
|
|
15
|
+
closeOnEscape?: boolean
|
|
16
|
+
destroyOnClose?: boolean
|
|
17
|
+
lockScroll?: boolean
|
|
18
|
+
autoFocus?: boolean
|
|
19
|
+
restoreFocus?: boolean
|
|
20
|
+
closeDisabled?: boolean
|
|
21
|
+
teleportTo?: string | HTMLElement
|
|
22
|
+
bodyPadding?: 'default' | 'none'
|
|
23
|
+
overlayVariant?: 'default' | 'transparent'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface QyDrawerEmits {
|
|
27
|
+
'update:modelValue': (value: boolean) => void
|
|
28
|
+
close: (reason: QyDrawerCloseReason) => void
|
|
29
|
+
opened: () => void
|
|
30
|
+
closed: () => void
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface QyDrawerSlotProps {
|
|
34
|
+
close: () => void
|
|
35
|
+
titleId?: string
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface QyDrawerSlots {
|
|
39
|
+
header?: (props: QyDrawerSlotProps) => unknown
|
|
40
|
+
default?: (props: QyDrawerSlotProps) => unknown
|
|
41
|
+
footer?: (props: QyDrawerSlotProps) => unknown
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare const QyDrawer: DefineComponent<
|
|
45
|
+
QyDrawerProps,
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
{},
|
|
49
|
+
{},
|
|
50
|
+
{},
|
|
51
|
+
{},
|
|
52
|
+
QyDrawerEmits
|
|
53
|
+
> & Plugin
|
|
54
|
+
|
|
55
|
+
export default QyDrawer
|
package/qy-empty/index.d.ts
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
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 interface QyEmptyProps {
|
|
11
|
-
image?: string
|
|
12
|
-
imageSize?: number
|
|
13
|
-
description?: string
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface QyEmptyAttrs {
|
|
17
|
-
class?: unknown
|
|
18
|
-
style?: StyleValue
|
|
19
|
-
id?: string
|
|
20
|
-
title?: string
|
|
21
|
-
role?: string
|
|
22
|
-
[key: `data-${string}`]: unknown
|
|
23
|
-
[key: `aria-${string}`]: unknown
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface QyEmptySlots {
|
|
27
|
-
image?: () => unknown
|
|
28
|
-
description?: () => unknown
|
|
29
|
-
default?: () => unknown
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
type QyEmptyComponentProps = QyEmptyProps & QyEmptyAttrs
|
|
33
|
-
|
|
34
|
-
declare const QyEmpty: DefineComponent<
|
|
35
|
-
QyEmptyComponentProps,
|
|
36
|
-
{},
|
|
37
|
-
{},
|
|
38
|
-
{},
|
|
39
|
-
{},
|
|
40
|
-
ComponentOptionsMixin,
|
|
41
|
-
ComponentOptionsMixin,
|
|
42
|
-
{},
|
|
43
|
-
string,
|
|
44
|
-
PublicProps,
|
|
45
|
-
QyEmptyComponentProps,
|
|
46
|
-
{},
|
|
47
|
-
SlotsType<QyEmptySlots>
|
|
48
|
-
> & Plugin
|
|
49
|
-
|
|
50
|
-
export { QyEmpty }
|
|
51
|
-
export default QyEmpty
|
|
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 interface QyEmptyProps {
|
|
11
|
+
image?: string
|
|
12
|
+
imageSize?: number
|
|
13
|
+
description?: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface QyEmptyAttrs {
|
|
17
|
+
class?: unknown
|
|
18
|
+
style?: StyleValue
|
|
19
|
+
id?: string
|
|
20
|
+
title?: string
|
|
21
|
+
role?: string
|
|
22
|
+
[key: `data-${string}`]: unknown
|
|
23
|
+
[key: `aria-${string}`]: unknown
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface QyEmptySlots {
|
|
27
|
+
image?: () => unknown
|
|
28
|
+
description?: () => unknown
|
|
29
|
+
default?: () => unknown
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type QyEmptyComponentProps = QyEmptyProps & QyEmptyAttrs
|
|
33
|
+
|
|
34
|
+
declare const QyEmpty: DefineComponent<
|
|
35
|
+
QyEmptyComponentProps,
|
|
36
|
+
{},
|
|
37
|
+
{},
|
|
38
|
+
{},
|
|
39
|
+
{},
|
|
40
|
+
ComponentOptionsMixin,
|
|
41
|
+
ComponentOptionsMixin,
|
|
42
|
+
{},
|
|
43
|
+
string,
|
|
44
|
+
PublicProps,
|
|
45
|
+
QyEmptyComponentProps,
|
|
46
|
+
{},
|
|
47
|
+
SlotsType<QyEmptySlots>
|
|
48
|
+
> & Plugin
|
|
49
|
+
|
|
50
|
+
export { QyEmpty }
|
|
51
|
+
export default QyEmpty
|
package/qy-image/index.d.ts
CHANGED
|
@@ -1,28 +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
|
|
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
|
|
@@ -1,20 +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
|
|
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
|