dlzn-ui 1.68.0 → 1.70.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/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/components/form/src/form.vue.d.ts +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/input/src/input.vue.d.ts +1 -1
- package/components/input-number/src/input-number.vue.d.ts +1 -1
- package/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
- package/components/popup/src/popup.vue.d.ts +1 -1
- package/components/range-input/src/range-input.vue.d.ts +1 -1
- package/components/select/src/select.vue.d.ts +5 -5
- package/components/textarea/src/textarea.vue.d.ts +1 -1
- package/components/upload/src/upload.vue.d.ts +2 -2
- package/index.d.ts +1 -1
- package/package.json +6 -4
- package/store/modules/router.d.ts +2 -2
- package/store/modules/router.mjs +1 -1
- package/types/globle.d.ts +3 -1
|
@@ -5,9 +5,9 @@ declare const __VLS_export: import("vue").DefineComponent<CheckboxProps, {}, {},
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
value: string | number | boolean;
|
|
8
9
|
disabled: boolean;
|
|
9
10
|
readonly: boolean;
|
|
10
|
-
value: string | number | boolean;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
//#endregion
|
|
@@ -3,9 +3,9 @@ import { FormInstance, FormProps, FormPropsData } from "./form.js";
|
|
|
3
3
|
declare var __VLS_15: string, __VLS_16: {};
|
|
4
4
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any; };
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<FormProps, FormInstance, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormProps> & Readonly<{}>, {
|
|
6
|
+
data: FormPropsData;
|
|
6
7
|
disabled: boolean;
|
|
7
8
|
readonly: boolean;
|
|
8
|
-
data: FormPropsData;
|
|
9
9
|
labelAlign: "right" | "top";
|
|
10
10
|
colon: boolean;
|
|
11
11
|
layout: "vertical" | "inline";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ImageViewerProps } from "./image-viewer.js";
|
|
2
2
|
//#region ../../packages/dlzn-ui/components/image-viewer/src/image-viewer.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<ImageViewerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageViewerProps> & Readonly<{}>, {
|
|
4
|
+
draggable: boolean;
|
|
4
5
|
closeBtn: boolean | import("tdesign-vue-next").TNode;
|
|
5
6
|
closeOnEscKeydown: boolean;
|
|
6
|
-
draggable: boolean;
|
|
7
7
|
showOverlay: boolean;
|
|
8
8
|
visible: boolean;
|
|
9
9
|
closeOnOverlay: boolean;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<InputProps$1, {}, {},
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: InputValue) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
disabled: boolean;
|
|
10
|
-
readonly: boolean;
|
|
11
10
|
placeholder: string;
|
|
11
|
+
readonly: boolean;
|
|
12
12
|
autocomplete: string;
|
|
13
13
|
clearable: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<InputNumberProps$1, {}
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: InputNumberValue) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
disabled: boolean;
|
|
10
|
-
readonly: boolean;
|
|
11
10
|
theme: "normal" | "row";
|
|
11
|
+
readonly: boolean;
|
|
12
12
|
min: InputNumberValue;
|
|
13
13
|
autoWidth: boolean;
|
|
14
14
|
decimalPlaces: import("tdesign-vue-next").InputNumberDecimalPlaces;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PopconfirmProps } from "./popconfirm.js";
|
|
2
2
|
//#region ../../packages/dlzn-ui/components/popconfirm/src/popconfirm.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<PopconfirmProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopconfirmProps> & Readonly<{}>, {
|
|
4
|
-
destroyOnClose: boolean;
|
|
5
4
|
theme: "default" | "warning" | "danger";
|
|
5
|
+
destroyOnClose: boolean;
|
|
6
6
|
visible: boolean;
|
|
7
7
|
showArrow: boolean;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,8 +2,8 @@ import { PopupProps } from "./popup.js";
|
|
|
2
2
|
//#region ../../packages/dlzn-ui/components/popup/src/popup.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<PopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopupProps> & Readonly<{}>, {
|
|
4
4
|
visible: boolean;
|
|
5
|
-
showArrow: boolean;
|
|
6
5
|
delay: number | Array<number>;
|
|
6
|
+
showArrow: boolean;
|
|
7
7
|
hideEmptyPopup: boolean;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
12
12
|
"onUpdate:modelValue"?: ((value: RangeInputValue) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
disabled: boolean | Array<boolean>;
|
|
15
|
-
readonly: boolean;
|
|
16
15
|
max: number;
|
|
16
|
+
readonly: boolean;
|
|
17
17
|
min: number;
|
|
18
18
|
decimalPlaces: number;
|
|
19
19
|
isNumberRange: boolean;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { SelectProps } from "./select.js";
|
|
2
2
|
//#region ../../packages/dlzn-ui/components/select/src/select.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<SelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectProps> & Readonly<{}>, {
|
|
4
|
+
keys: import("tdesign-vue-next").KeysType;
|
|
4
5
|
disabled: boolean;
|
|
6
|
+
multiple: boolean;
|
|
7
|
+
placeholder: string;
|
|
5
8
|
readonly: boolean;
|
|
6
|
-
|
|
7
|
-
showCheckAll: boolean;
|
|
9
|
+
scroll: import("tdesign-vue-next").InfinityScroll;
|
|
8
10
|
showArrow: boolean;
|
|
9
|
-
|
|
11
|
+
showCheckAll: boolean;
|
|
10
12
|
clearable: boolean;
|
|
11
|
-
multiple: boolean;
|
|
12
|
-
scroll: import("tdesign-vue-next").InfinityScroll;
|
|
13
13
|
filterable: boolean;
|
|
14
14
|
inputValue: string;
|
|
15
15
|
minCollapsedNum: number;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<TextareaProps$1, {}, {
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: TextareaValue) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
disabled: boolean;
|
|
10
|
-
readonly: boolean;
|
|
11
10
|
placeholder: string;
|
|
11
|
+
readonly: boolean;
|
|
12
12
|
maxlength: string | number;
|
|
13
13
|
autosize: boolean | {
|
|
14
14
|
minRows?: number;
|
|
@@ -3,10 +3,10 @@ import { UploadInstanceFunctions, UploadProps } from "./upload.js";
|
|
|
3
3
|
declare var __VLS_10: string, __VLS_11: any;
|
|
4
4
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any; };
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<UploadProps, UploadInstanceFunctions, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UploadProps> & Readonly<{}>, {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
theme: "custom" | "file" | "file-input" | "file-flow" | "image" | "image-flow";
|
|
8
6
|
accept: string;
|
|
7
|
+
disabled: boolean;
|
|
9
8
|
multiple: boolean;
|
|
9
|
+
theme: "custom" | "file" | "file-input" | "file-flow" | "image" | "image-flow";
|
|
10
10
|
useMockProgress: boolean;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/index.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface AppParams {
|
|
|
59
59
|
busComponentPropsMap: Record<string, any>;
|
|
60
60
|
busFormItems: Map<string, AsyncComponentLoader>;
|
|
61
61
|
useListPromiseMap: Record<string, () => Promise<ListItem[]>>;
|
|
62
|
-
viewsEntryLazyImport: Record<string,
|
|
62
|
+
viewsEntryLazyImport: Record<string, AsyncVueComponentLoaderDefault>;
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
65
|
export { AllowedComponentProps, ButtonProps, CardProps, CheckboxGroupProps, CheckboxProps, DEFAULT_ACCEPT, FormExposed, FormInstance, FormItem, FormItemComponentPropsUnderlyingWithMeta, FormItemProps, FormProps, FormPropsData, GetFormData, IconProps, ImageProps, ImageViewerProps, InputNumberProps, InputProps, LinkProps, PaginationProps, PopconfirmProps, PopupProps, RadioGroupProps, RangeInputProps, ResolvedFormItem, SelectProps, SetFormData, SliderProps, SlotItem, SwitchProps, _default as TButton, _default$1 as TCard, _default$2 as TCheckbox, _default$3 as TCheckboxGroup, _default$4 as TForm, _default$5 as TIcon, _default$6 as TImage, _default$7 as TImageViewer, _default$8 as TInput, _default$9 as TInputNumber, _default$10 as TLink, _default$11 as TPagination, _default$12 as TPopconfirm, _default$13 as TPopup, _default$14 as TRadioGroup, _default$15 as TRangeInput, _default$16 as TSelect, _default$17 as TSlider, _default$18 as TSwitch, _default$19 as TTabPanel, _default$20 as TTag, _default$21 as TTagInput, _default$22 as TTextarea, _default$23 as TTree, _default$24 as TTreeSelect, _default$25 as TUpload, type TabPanelProps, TagInputProps, TagProps, TextareaProps, TreeProps, TreeSelectProps, UploadFile, UploadInstanceFunctions, UploadProps, buttonPropsInit, cardPropsInit, formPropsInit, imagePropsInit, imageViewerPropsInit, inputNumberPropsInit, inputPropsInit, linkPropsInit, selectPropsInit, sliderPropsInit, switchPropsInit, tagInputPropsInit, tagPropsInit, treePropsInit };
|
package/package.json
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
"name": "dlzn-ui",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"sideEffects":
|
|
6
|
-
"**/*.css"
|
|
7
|
-
],
|
|
5
|
+
"sideEffects": false,
|
|
8
6
|
"exports": {
|
|
9
7
|
".": {
|
|
10
8
|
"types": "./index.d.ts",
|
|
11
9
|
"import": "./index.mjs"
|
|
12
10
|
},
|
|
11
|
+
"./components/*": {
|
|
12
|
+
"types": "./components/*/index.d.ts",
|
|
13
|
+
"import": "./components/*/index.mjs"
|
|
14
|
+
},
|
|
13
15
|
"./utils": {
|
|
14
16
|
"types": "./utils/index.d.ts",
|
|
15
17
|
"import": "./utils/index.mjs"
|
|
@@ -66,5 +68,5 @@
|
|
|
66
68
|
"> 1%",
|
|
67
69
|
"not dead"
|
|
68
70
|
],
|
|
69
|
-
"version": "1.
|
|
71
|
+
"version": "1.70.0"
|
|
70
72
|
}
|
|
@@ -2,7 +2,7 @@ import { Component, Ref } from "vue";
|
|
|
2
2
|
//#region ../../packages/dlzn-ui/store/modules/router.d.ts
|
|
3
3
|
export interface RouteRecordRaw {
|
|
4
4
|
children?: RouteRecordRaw[];
|
|
5
|
-
component?:
|
|
5
|
+
component?: AsyncVueComponentLoaderDefault | Component;
|
|
6
6
|
meta: {
|
|
7
7
|
fullScreen: boolean;
|
|
8
8
|
hidden: boolean;
|
|
@@ -19,7 +19,7 @@ export interface RouteRecordRaw {
|
|
|
19
19
|
}
|
|
20
20
|
interface ResRouterItem extends Omit<RouteRecordRaw, 'children' | 'component' | 'meta' | 'redirect'> {
|
|
21
21
|
children?: ResRouterItem[];
|
|
22
|
-
component?:
|
|
22
|
+
component?: AsyncVueComponentLoaderDefault | Component | string;
|
|
23
23
|
hidden?: boolean;
|
|
24
24
|
meta?: {
|
|
25
25
|
fullScreen?: boolean;
|
package/store/modules/router.mjs
CHANGED
package/types/globle.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import type { Component } from 'vue'
|
|
|
3
3
|
export {} // 为了让这个声明文件变成模块声明文件,而不是一个全局声明文件
|
|
4
4
|
|
|
5
5
|
declare global {
|
|
6
|
-
export type
|
|
6
|
+
export type AsyncVueComponentLoaderDefault = () => Promise<{
|
|
7
|
+
default: Component
|
|
8
|
+
}>
|
|
7
9
|
|
|
8
10
|
type PettyPrimitive = null | number | string | undefined
|
|
9
11
|
interface Window {
|