x-next 0.0.0-alpha.3 → 0.0.0-alpha.30

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.
Files changed (96) hide show
  1. package/README.md +1 -1
  2. package/{x-next → dist}/_utils/config.d.ts +1 -1
  3. package/dist/_utils/constant.d.ts +17 -0
  4. package/{x-next → dist}/_utils/is.d.ts +2 -0
  5. package/{x-next → dist}/_utils/vue-eco.d.ts +4 -1
  6. package/{x-next/componets/button/index.vue.d.ts → dist/components/button/Button.d.ts} +5 -70
  7. package/dist/components/button/index.d.ts +181 -0
  8. package/{x-next/componets/dialog/index.vue.d.ts → dist/components/dialog/Dialog.d.ts} +13 -46
  9. package/dist/components/dialog/index.d.ts +334 -0
  10. package/{x-next/componets → dist/components}/dialog/props.d.ts +5 -5
  11. package/dist/components/index.d.ts +7 -0
  12. package/dist/components/message/Message.d.ts +108 -0
  13. package/{x-next/componets/message/index.vue.d.ts → dist/components/message/MessageVue.vue.d.ts} +22 -47
  14. package/dist/components/message/index.d.ts +193 -0
  15. package/dist/components/message-box/index.d.ts +4 -0
  16. package/dist/components/message-box/warp.d.ts +2 -0
  17. package/dist/components/notification/Notification.d.ts +89 -0
  18. package/dist/components/notification/index.d.ts +166 -0
  19. package/dist/components/scrollbar/props.d.ts +16 -0
  20. package/{x-next/componets/space/index.d.ts → dist/components/space/Space.d.ts} +1 -1
  21. package/dist/components/space/index.d.ts +82 -0
  22. package/dist/components/tag-cloud/index.d.ts +0 -0
  23. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +111 -0
  24. package/dist/components/trend-chart/components/trend-chart-grid.d.ts +55 -0
  25. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +22 -0
  26. package/dist/components/trend-chart/components/trend-chart.d.ts +277 -0
  27. package/dist/components/trend-chart/helpers/genPath.d.ts +8 -0
  28. package/dist/components/trend-chart/helpers/genPoints.d.ts +3 -0
  29. package/dist/components/trend-chart/helpers/getPadding.d.ts +7 -0
  30. package/dist/components/trend-chart/helpers/validatePadding.d.ts +2 -0
  31. package/dist/components/trend-chart/index.d.ts +536 -0
  32. package/dist/components/trend-chart/props.d.ts +203 -0
  33. package/dist/components/trend-chart/themes.d.ts +128 -0
  34. package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart-curve.d.ts +2 -5
  35. package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart.d.ts +19 -15
  36. package/dist/components/trend-chart.bak/index.d.ts +530 -0
  37. package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/props.d.ts +10 -5
  38. package/dist/components/trend-chart.bak/themes.d.ts +152 -0
  39. package/dist/directives/clipboard/cache.d.ts +8 -0
  40. package/dist/directives/clipboard/clipboard.d.ts +18 -0
  41. package/dist/directives/clipboard/convert.d.ts +3 -0
  42. package/dist/directives/clipboard/index.d.ts +3 -0
  43. package/dist/directives/clipboard/plugin.d.ts +2 -0
  44. package/dist/directives/clipboard/textarea.d.ts +3 -0
  45. package/{x-next/icons/default/exclamation-circle-fill.vue.d.ts → dist/icons/animation/animation-loading.d.ts} +4 -9
  46. package/{x-next/icons/animation/animation-loading.vue.d.ts → dist/icons/default/check-circle-fill.d.ts} +4 -9
  47. package/{x-next/icons/default/close-circle-fill.vue.d.ts → dist/icons/default/close-circle-fill.d.ts} +4 -9
  48. package/{x-next/icons/default/check-circle-fill.vue.d.ts → dist/icons/default/exclamation-circle-fill.d.ts} +4 -9
  49. package/dist/icons/default/info-circle-fill.d.ts +50 -0
  50. package/dist/icons/default/logo-simple.d.ts +50 -0
  51. package/dist/icons/default/minus-circle-fill.d.ts +50 -0
  52. package/dist/icons/icon.d.ts +51 -0
  53. package/{x-next → dist}/icons/index.d.ts +8 -7
  54. package/dist/index.d.ts +13 -0
  55. package/dist/index.es.js +2064 -0
  56. package/dist/index.umd.js +1 -0
  57. package/dist/style.css +1 -0
  58. package/dist/types.d.ts +12 -0
  59. package/package.json +23 -13
  60. package/volar.d.ts +13 -0
  61. package/x-next/_utils/icon.d.ts +0 -59
  62. package/x-next/componets/message-box/warp.d.ts +0 -2
  63. package/x-next/componets/notification/index.vue.d.ts +0 -160
  64. package/x-next/componets/trend-chart/index.d.ts +0 -2
  65. package/x-next/icons/default/info-circle-fill.vue.d.ts +0 -55
  66. package/x-next/icons/default/minus-circle-fill.vue.d.ts +0 -55
  67. package/x-next/style.css +0 -1
  68. package/x-next/ui.d.ts +0 -5
  69. package/x-next/ui.js +0 -1357
  70. package/x-next/ui.umd.cjs +0 -1
  71. /package/{x-next → dist}/_hooks/use-overflow.d.ts +0 -0
  72. /package/{x-next → dist}/_hooks/use-popup-manager.d.ts +0 -0
  73. /package/{x-next → dist}/_props/css.d.ts +0 -0
  74. /package/{x-next → dist}/_props/global.d.ts +0 -0
  75. /package/{x-next → dist}/_utils/convert-case.d.ts +0 -0
  76. /package/{x-next → dist}/_utils/dom.d.ts +0 -0
  77. /package/{x-next → dist}/_utils/helpers.d.ts +0 -0
  78. /package/{x-next → dist}/_utils/keyboard.d.ts +0 -0
  79. /package/{x-next → dist}/_utils/number.d.ts +0 -0
  80. /package/{x-next/componets → dist/components}/button/props.d.ts +0 -0
  81. /package/{x-next/componets → dist/components}/dialog/use-props.d.ts +0 -0
  82. /package/{x-next/componets → dist/components}/dialog/use.d.ts +0 -0
  83. /package/{x-next/componets → dist/components}/dialog/warp.d.ts +0 -0
  84. /package/{x-next/componets → dist/components}/message/props.d.ts +0 -0
  85. /package/{x-next/componets → dist/components}/message/warp.d.ts +0 -0
  86. /package/{x-next/componets/message-box/index.d.ts → dist/components/message-box/MessageBox.d.ts} +0 -0
  87. /package/{x-next/componets → dist/components}/message-box/props.d.ts +0 -0
  88. /package/{x-next/componets → dist/components}/notification/props.d.ts +0 -0
  89. /package/{x-next/componets → dist/components}/notification/warp.d.ts +0 -0
  90. /package/{x-next/componets/tag-cloud → dist/components/scrollbar}/index.d.ts +0 -0
  91. /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart-grid.d.ts +0 -0
  92. /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/components/trend-chart-labels.d.ts +0 -0
  93. /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/genPath.d.ts +0 -0
  94. /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/genPoints.d.ts +0 -0
  95. /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/getPadding.d.ts +0 -0
  96. /package/{x-next/componets/trend-chart → dist/components/trend-chart.bak}/helpers/validatePadding.d.ts +0 -0
package/README.md CHANGED
@@ -16,7 +16,7 @@ pnpm i x-next
16
16
  // main.ts
17
17
  import { createApp } from 'vue'
18
18
  import XNext from 'x-next'
19
- import "x-next/packages/style.css"; //引入组件样式
19
+ import "x-next/dist/style.css"; //引入组件样式
20
20
  import App from './App.vue'
21
21
 
22
22
  const app = createApp(App)
@@ -1,6 +1,6 @@
1
1
  export declare const COMPONENT_INSTALLED_KEY: unique symbol;
2
2
  export declare const getClassPrefix: (name?: string) => string;
3
- export declare const getComponentPrefix: (name: string) => string;
3
+ export declare const getComponentPrefix: (name: string) => `X${string}`;
4
4
  export declare const getClassNameMixin: (name: string) => {
5
5
  block: string;
6
6
  element: (className: string) => string;
@@ -0,0 +1,17 @@
1
+ export declare const SIZES: readonly ["mini", "small", "medium", "large"];
2
+ export type Size = typeof SIZES[number];
3
+ export declare const BORDER_SHAPES: readonly ["square", "round", "circle"];
4
+ export type BorderShape = typeof BORDER_SHAPES[number];
5
+ export declare const STATUSES: readonly ["normal", "success", "warning", "danger"];
6
+ export type Status = typeof STATUSES[number];
7
+ export declare const MESSAGE_TYPES: readonly ["info", "success", "warning", "error"];
8
+ export type MessageType = typeof MESSAGE_TYPES[number];
9
+ export declare const TRIGGER_POSITIONS: readonly ["top", "tl", "tr", "bottom", "bl", "br", "left", "lt", "lb", "right", "rt", "rb"];
10
+ export type TriggerPosition = typeof TRIGGER_POSITIONS[number];
11
+ export declare const TRIGGER_EVENTS: readonly ["hover", "click", "focus", "contextMenu"];
12
+ export type TriggerEvent = typeof TRIGGER_EVENTS[number];
13
+ export declare const DIRECTIONS: readonly ["horizontal", "vertical"];
14
+ export type Direction = typeof DIRECTIONS[number];
15
+ export declare const INPUT_EVENTS: string[];
16
+ export declare const TEXT_ALIGNS: readonly ["left", "center", "right"];
17
+ export type TextAlign = typeof TEXT_ALIGNS[number];
@@ -5,6 +5,8 @@ export declare function isNull(obj: any): obj is null;
5
5
  export declare function isBoolean(obj: unknown): obj is boolean;
6
6
  export declare function isObject<T>(obj: T): obj is Extract<T, Record<string, any>>;
7
7
  export declare const isPromise: <T>(obj: unknown) => obj is Promise<T>;
8
+ export declare const isAsync: (fn: unknown) => boolean;
9
+ export declare const isAsyncOrPromise: (fn: unknown) => boolean;
8
10
  export declare function isString(obj: any): obj is string;
9
11
  export declare function isNumber(obj: any): obj is number;
10
12
  export declare function isRegExp(obj: any): boolean;
@@ -1,4 +1,4 @@
1
- import { VNodeTypes, VNode, PropType, Component, Slots, Plugin } from 'vue';
1
+ import { VNodeTypes, VNode, PropType, Component, Slots, App, Plugin, DefineComponent } from 'vue';
2
2
  export type SFCWithInstall<T> = T & Plugin;
3
3
  /**
4
4
  * @description Vue生态操作封装
@@ -26,3 +26,6 @@ export declare const getAllElements: (children: VNode[] | undefined, includeText
26
26
  [key: string]: any;
27
27
  }>[];
28
28
  export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
29
+ export declare const generateComponent: <T extends Component | DefineComponent>(name: string, component: T) => T & {
30
+ install(app: App): void;
31
+ };
@@ -38,17 +38,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
38
38
  type: BooleanConstructor;
39
39
  default: boolean;
40
40
  };
41
- }>, {
42
- cn: {
43
- block: string;
44
- element: (className: string) => string;
45
- modifier: (className: string) => string;
46
- is: (className: string) => string;
47
- };
48
- cls: import('vue').ComputedRef<(string | false | undefined)[]>;
49
- handleClick: (event: MouseEvent) => Promise<void>;
50
- isLoading: import('vue').ComputedRef<boolean>;
51
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
52
42
  disabled: BooleanConstructor;
53
43
  block: BooleanConstructor;
54
44
  loading: BooleanConstructor;
@@ -92,71 +82,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
92
82
  onClick?: ((...args: any[]) => any) | undefined;
93
83
  }>, {
94
84
  size: import('./props').ButtonSize;
95
- border: boolean;
85
+ type: import('./props').ButtonType;
96
86
  link: boolean;
97
- block: boolean;
98
87
  disabled: boolean;
99
- type: import('./props').ButtonType;
88
+ block: boolean;
100
89
  loading: boolean;
101
90
  loadingFill: boolean;
102
91
  debounce: number;
103
92
  shape: import('./props').ButtonShape;
104
93
  status: import('./props').ButtonStatus;
105
94
  plain: boolean;
106
- }, {}, {
107
- AnimationLoading: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
108
- size: {
109
- type: (StringConstructor | NumberConstructor)[];
110
- default: undefined;
111
- };
112
- rotate: {
113
- type: NumberConstructor;
114
- default: undefined;
115
- };
116
- spin: {
117
- type: BooleanConstructor;
118
- default: boolean;
119
- };
120
- color: {
121
- type: StringConstructor;
122
- default: undefined;
123
- };
124
- fillColor: {
125
- type: ArrayConstructor;
126
- default: undefined;
127
- };
128
- }>, {
129
- cls: import('vue').ComputedRef<(string | {
130
- "x-icon-loading": boolean;
131
- })[]>;
132
- styles: import('vue').ComputedRef<import('vue').CSSProperties>;
133
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
134
- size: {
135
- type: (StringConstructor | NumberConstructor)[];
136
- default: undefined;
137
- };
138
- rotate: {
139
- type: NumberConstructor;
140
- default: undefined;
141
- };
142
- spin: {
143
- type: BooleanConstructor;
144
- default: boolean;
145
- };
146
- color: {
147
- type: StringConstructor;
148
- default: undefined;
149
- };
150
- fillColor: {
151
- type: ArrayConstructor;
152
- default: undefined;
153
- };
154
- }>> & Readonly<{}>, {
155
- size: string | number;
156
- color: string;
157
- rotate: number;
158
- spin: boolean;
159
- fillColor: unknown[];
160
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
161
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
95
+ border: boolean;
96
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
162
97
  export default _default;
@@ -0,0 +1,181 @@
1
+ export declare const XButton: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ disabled: BooleanConstructor;
4
+ block: BooleanConstructor;
5
+ loading: BooleanConstructor;
6
+ loadingFill: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ debounce: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ shape: {
15
+ type: import('vue').PropType<import('./props').ButtonShape>;
16
+ default: undefined;
17
+ };
18
+ link: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ type: {
23
+ type: import('vue').PropType<import('./props').ButtonType>;
24
+ default: undefined;
25
+ };
26
+ status: {
27
+ type: import('vue').PropType<import('./props').ButtonStatus>;
28
+ default: undefined;
29
+ };
30
+ plain: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ size: {
35
+ type: import('vue').PropType<import('./props').ButtonSize>;
36
+ default: string;
37
+ };
38
+ border: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }>> & Readonly<{
43
+ onClick?: ((...args: any[]) => any) | undefined;
44
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], import('vue').PublicProps, {
45
+ size: import('./props').ButtonSize;
46
+ type: import('./props').ButtonType;
47
+ link: boolean;
48
+ disabled: boolean;
49
+ block: boolean;
50
+ loading: boolean;
51
+ loadingFill: boolean;
52
+ debounce: number;
53
+ shape: import('./props').ButtonShape;
54
+ status: import('./props').ButtonStatus;
55
+ plain: boolean;
56
+ border: boolean;
57
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
58
+ P: {};
59
+ B: {};
60
+ D: {};
61
+ C: {};
62
+ M: {};
63
+ Defaults: {};
64
+ }, Readonly<import('vue').ExtractPropTypes<{
65
+ disabled: BooleanConstructor;
66
+ block: BooleanConstructor;
67
+ loading: BooleanConstructor;
68
+ loadingFill: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ debounce: {
73
+ type: NumberConstructor;
74
+ default: number;
75
+ };
76
+ shape: {
77
+ type: import('vue').PropType<import('./props').ButtonShape>;
78
+ default: undefined;
79
+ };
80
+ link: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ type: {
85
+ type: import('vue').PropType<import('./props').ButtonType>;
86
+ default: undefined;
87
+ };
88
+ status: {
89
+ type: import('vue').PropType<import('./props').ButtonStatus>;
90
+ default: undefined;
91
+ };
92
+ plain: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ size: {
97
+ type: import('vue').PropType<import('./props').ButtonSize>;
98
+ default: string;
99
+ };
100
+ border: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ }>> & Readonly<{
105
+ onClick?: ((...args: any[]) => any) | undefined;
106
+ }>, () => any, {}, {}, {}, {
107
+ size: import('./props').ButtonSize;
108
+ type: import('./props').ButtonType;
109
+ link: boolean;
110
+ disabled: boolean;
111
+ block: boolean;
112
+ loading: boolean;
113
+ loadingFill: boolean;
114
+ debounce: number;
115
+ shape: import('./props').ButtonShape;
116
+ status: import('./props').ButtonStatus;
117
+ plain: boolean;
118
+ border: boolean;
119
+ }>;
120
+ __isFragment?: never;
121
+ __isTeleport?: never;
122
+ __isSuspense?: never;
123
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
124
+ disabled: BooleanConstructor;
125
+ block: BooleanConstructor;
126
+ loading: BooleanConstructor;
127
+ loadingFill: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ debounce: {
132
+ type: NumberConstructor;
133
+ default: number;
134
+ };
135
+ shape: {
136
+ type: import('vue').PropType<import('./props').ButtonShape>;
137
+ default: undefined;
138
+ };
139
+ link: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ type: {
144
+ type: import('vue').PropType<import('./props').ButtonType>;
145
+ default: undefined;
146
+ };
147
+ status: {
148
+ type: import('vue').PropType<import('./props').ButtonStatus>;
149
+ default: undefined;
150
+ };
151
+ plain: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ size: {
156
+ type: import('vue').PropType<import('./props').ButtonSize>;
157
+ default: string;
158
+ };
159
+ border: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ }>> & Readonly<{
164
+ onClick?: ((...args: any[]) => any) | undefined;
165
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", {
166
+ size: import('./props').ButtonSize;
167
+ type: import('./props').ButtonType;
168
+ link: boolean;
169
+ disabled: boolean;
170
+ block: boolean;
171
+ loading: boolean;
172
+ loadingFill: boolean;
173
+ debounce: number;
174
+ shape: import('./props').ButtonShape;
175
+ status: import('./props').ButtonStatus;
176
+ plain: boolean;
177
+ border: boolean;
178
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
179
+ install(app: import('vue').App): void;
180
+ };
181
+ export { XButton as default };
@@ -12,7 +12,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
12
  default: boolean;
13
13
  };
14
14
  top: {
15
- type: (StringConstructor | NumberConstructor)[];
15
+ type: (NumberConstructor | StringConstructor)[];
16
16
  default: string;
17
17
  };
18
18
  center: {
@@ -20,19 +20,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
20
20
  default: boolean;
21
21
  };
22
22
  width: {
23
- type: (StringConstructor | NumberConstructor)[];
23
+ type: (NumberConstructor | StringConstructor)[];
24
24
  default: number;
25
25
  };
26
26
  height: {
27
- type: (StringConstructor | NumberConstructor)[];
27
+ type: (NumberConstructor | StringConstructor)[];
28
28
  default: number;
29
29
  };
30
30
  minWidth: {
31
- type: (StringConstructor | NumberConstructor)[];
31
+ type: (NumberConstructor | StringConstructor)[];
32
32
  default: number;
33
33
  };
34
34
  minHeight: {
35
- type: (StringConstructor | NumberConstructor)[];
35
+ type: (NumberConstructor | StringConstructor)[];
36
36
  default: number;
37
37
  };
38
38
  title: {
@@ -78,40 +78,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
78
78
  type: BooleanConstructor;
79
79
  default: boolean;
80
80
  };
81
- }>, {
82
- cls: import('vue').ComputedRef<(string | false | undefined)[]>;
83
- ns: string;
84
- cn: {
85
- block: string;
86
- element: (className: string) => string;
87
- modifier: (className: string) => string;
88
- is: (className: string) => string;
89
- };
90
- cnOMB: {
91
- block: string;
92
- element: (className: string) => string;
93
- modifier: (className: string) => string;
94
- is: (className: string) => string;
95
- };
96
- messageBoxNs: string;
97
- containerStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
98
- dialogStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
99
- dialogRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
100
- teleportContainer: import('vue').ComputedRef<HTMLElement | undefined>;
101
- teleportDisabled: import('vue').ComputedRef<boolean>;
102
- modelVisible: import('vue').ComputedRef<boolean>;
103
- mergeVisible: import('vue').ComputedRef<boolean>;
104
- interceptClose: (action: "cancel" | "ok", e?: Event) => void;
105
- afterLeave: () => void;
106
- afterEnter: () => void;
107
- handleMaskClick: () => void;
108
- handleCancel: (e: Event) => void;
109
- handleOk: (e: Event) => void;
110
- loadingObj: {
111
- ok: boolean;
112
- cancel: boolean;
113
- };
114
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "open" | "closed" | "opened" | "update:modelValue")[], "close" | "open" | "closed" | "opened" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
81
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "open" | "closed" | "opened" | "update:modelValue")[], "close" | "open" | "closed" | "opened" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
115
82
  renderTo: {
116
83
  type: import('vue').PropType<string | HTMLElement>;
117
84
  default: string;
@@ -125,7 +92,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
125
92
  default: boolean;
126
93
  };
127
94
  top: {
128
- type: (StringConstructor | NumberConstructor)[];
95
+ type: (NumberConstructor | StringConstructor)[];
129
96
  default: string;
130
97
  };
131
98
  center: {
@@ -133,19 +100,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
133
100
  default: boolean;
134
101
  };
135
102
  width: {
136
- type: (StringConstructor | NumberConstructor)[];
103
+ type: (NumberConstructor | StringConstructor)[];
137
104
  default: number;
138
105
  };
139
106
  height: {
140
- type: (StringConstructor | NumberConstructor)[];
107
+ type: (NumberConstructor | StringConstructor)[];
141
108
  default: number;
142
109
  };
143
110
  minWidth: {
144
- type: (StringConstructor | NumberConstructor)[];
111
+ type: (NumberConstructor | StringConstructor)[];
145
112
  default: number;
146
113
  };
147
114
  minHeight: {
148
- type: (StringConstructor | NumberConstructor)[];
115
+ type: (NumberConstructor | StringConstructor)[];
149
116
  default: number;
150
117
  };
151
118
  title: {
@@ -198,15 +165,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
198
165
  onOpened?: ((...args: any[]) => any) | undefined;
199
166
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
200
167
  }>, {
168
+ title: string;
169
+ disabled: boolean;
201
170
  height: string | number;
202
171
  minHeight: string | number;
203
172
  minWidth: string | number;
204
173
  top: string | number;
205
174
  width: string | number;
206
175
  mask: boolean;
207
- title: string;
208
176
  center: boolean;
209
- disabled: boolean;
210
177
  renderTo: string | HTMLElement;
211
178
  modelValue: boolean;
212
179
  destroyOnClosed: boolean;