@vtj/ui 0.15.1 → 0.16.0
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/dist/index.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +13 -13
- package/types/components/action/hooks.d.ts +4 -4
- package/types/components/action-bar/ActionBar.d.ts +9 -9
- package/types/components/attachment/Attachment.d.ts +553 -634
- package/types/components/container/Container.d.ts +4 -4
- package/types/components/container/types.d.ts +2 -2
- package/types/components/data-item/DataItem.d.ts +13 -13
- package/types/components/data-item/types.d.ts +2 -2
- package/types/components/dialog/Dialog.d.ts +32 -32
- package/types/components/dialog/types.d.ts +4 -4
- package/types/components/dialog-form/DialogForm.d.ts +357 -278
- package/types/components/dialog-grid/DialogGrid.d.ts +44 -44
- package/types/components/field/Field.d.ts +186 -175
- package/types/components/field/types.d.ts +1 -1
- package/types/components/form/Form.d.ts +294 -215
- package/types/components/grid/renderers/components/GridEdit.d.ts +275 -273
- package/types/components/grid-editor/GridEditor.d.ts +275 -273
- package/types/components/input-unit/InputUnit.d.ts +2 -2
- package/types/components/input-unit/types.d.ts +1 -1
- package/types/components/list/List.d.ts +4 -4
- package/types/components/list/types.d.ts +2 -2
- package/types/components/mask/Mask.d.ts +18 -18
- package/types/components/mask/components/Tabs.d.ts +4 -4
- package/types/components/panel/Panel.d.ts +12 -12
- package/types/components/panel/types.d.ts +2 -2
- package/types/components/picker/props.d.ts +1 -1
- package/types/components/query-form/QueryForm.d.ts +623 -464
- package/types/components/tabs/Tabs.d.ts +5 -5
- package/types/components/test/Test.d.ts +2 -2
- package/types/version.d.ts +2 -2
|
@@ -3,7 +3,7 @@ import { TabsItem } from './types';
|
|
|
3
3
|
import { IconParam } from '../icon';
|
|
4
4
|
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, StyleValue, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
5
|
import { ActionMode } from '../action';
|
|
6
|
-
import { ElTooltipProps, BadgeProps, Measurable, PopperEffect, ButtonProps } from 'element-plus';
|
|
6
|
+
import { ElTooltipProps, BadgeProps, Measurable, PopperEffect, Placement, Options, ButtonProps } from 'element-plus';
|
|
7
7
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
8
8
|
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
9
9
|
import { BaseSize, BaseType } from '../shared';
|
|
@@ -124,13 +124,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
124
124
|
readonly __epPropKey: true;
|
|
125
125
|
};
|
|
126
126
|
readonly type: {
|
|
127
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() =>
|
|
127
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | ((new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger"))[], unknown, unknown>>;
|
|
128
128
|
readonly required: false;
|
|
129
129
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
130
|
__epPropKey: true;
|
|
131
131
|
};
|
|
132
132
|
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
|
133
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
133
|
+
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
134
134
|
readonly id: StringConstructor;
|
|
135
135
|
readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
136
136
|
readonly splitButton: BooleanConstructor;
|
|
@@ -361,13 +361,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
361
361
|
readonly __epPropKey: true;
|
|
362
362
|
};
|
|
363
363
|
readonly type: {
|
|
364
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() =>
|
|
364
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | ((new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger"))[], unknown, unknown>>;
|
|
365
365
|
readonly required: false;
|
|
366
366
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
367
367
|
__epPropKey: true;
|
|
368
368
|
};
|
|
369
369
|
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
|
370
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
370
|
+
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
371
371
|
readonly id: StringConstructor;
|
|
372
372
|
readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
373
373
|
readonly splitButton: BooleanConstructor;
|
|
@@ -107,6 +107,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
107
107
|
type: StringConstructor;
|
|
108
108
|
};
|
|
109
109
|
}>>>) => any;
|
|
110
|
+
change: (data: any) => any;
|
|
110
111
|
submit: (props: Readonly<Partial< ExtractPropTypes<{
|
|
111
112
|
stringProp: {
|
|
112
113
|
type: StringConstructor;
|
|
@@ -139,7 +140,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
139
140
|
type: StringConstructor;
|
|
140
141
|
};
|
|
141
142
|
}>>>) => any;
|
|
142
|
-
change: (data: any) => any;
|
|
143
143
|
"update:modelValue": (value?: string | undefined) => any;
|
|
144
144
|
"update:syncProp": (value?: string | undefined) => any;
|
|
145
145
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -206,6 +206,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
206
206
|
type: StringConstructor;
|
|
207
207
|
};
|
|
208
208
|
}>>>) => any) | undefined;
|
|
209
|
+
onChange?: ((data: any) => any) | undefined;
|
|
209
210
|
onSubmit?: ((props: Readonly<Partial< ExtractPropTypes<{
|
|
210
211
|
stringProp: {
|
|
211
212
|
type: StringConstructor;
|
|
@@ -238,7 +239,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
238
239
|
type: StringConstructor;
|
|
239
240
|
};
|
|
240
241
|
}>>>) => any) | undefined;
|
|
241
|
-
onChange?: ((data: any) => any) | undefined;
|
|
242
242
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
243
243
|
"onUpdate:syncProp"?: ((value?: string | undefined) => any) | undefined;
|
|
244
244
|
}>, {
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/ui
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.15.
|
|
5
|
+
* @version 0.15.2
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.15.
|
|
8
|
+
export declare const version = "0.15.2";
|