@funcho/ui 1.1.29 → 1.1.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.
- package/README.md +1 -0
- package/dist/cjs/business/DataTable/DataTable.vue.js +91 -102
- package/dist/cjs/business/ProForm/ProForm.vue.js +37 -2
- package/dist/cjs/business/VerticalLayout/VerticalLayout.vue.js +99 -0
- package/dist/cjs/business/VerticalLayout/VerticalLayout.vue3.js +10 -0
- package/dist/cjs/business/VerticalLayout/index.js +12 -0
- package/dist/cjs/business/index.js +2 -0
- package/dist/cjs/components/DotStatus/DotStatus.vue.js +3 -7
- package/dist/cjs/components/DotStatus/DotStatus.vue2.js +52 -0
- package/dist/cjs/index.js +8 -6
- package/dist/cjs/packages/ui/package.json.js +1 -1
- package/dist/esm/business/DataTable/DataTable.vue.mjs +94 -105
- package/dist/esm/business/ProForm/ProForm.vue.mjs +38 -3
- package/dist/esm/business/VerticalLayout/VerticalLayout.vue.mjs +95 -0
- package/dist/esm/business/VerticalLayout/VerticalLayout.vue3.mjs +6 -0
- package/dist/esm/business/VerticalLayout/index.mjs +7 -0
- package/dist/esm/business/index.mjs +1 -0
- package/dist/esm/components/DotStatus/DotStatus.vue.mjs +3 -7
- package/dist/esm/components/DotStatus/DotStatus.vue2.mjs +48 -0
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/packages/ui/package.json.mjs +1 -1
- package/dist/style.css +81 -6
- package/dist/types/business/DataTable/DataTable.vue.d.ts +0 -6
- package/dist/types/business/DataTable/index.d.ts +0 -3
- package/dist/types/business/ProForm/ProForm.types.d.ts +2 -0
- package/dist/types/business/ProForm/ProForm.vue.d.ts +2 -2
- package/dist/types/business/VerticalLayout/VerticalLayout.types.d.ts +1 -0
- package/dist/types/business/VerticalLayout/VerticalLayout.vue.d.ts +41 -0
- package/dist/types/business/index.d.ts +1 -0
- package/dist/types/components/DotStatus/DotStatus.vue.d.ts +35 -1
- package/dist/types/components/DotStatus/index.d.ts +61 -3
- package/package.json +1 -1
|
@@ -5,6 +5,8 @@ export type TProFormField = {
|
|
|
5
5
|
span?: number | 'full';
|
|
6
6
|
prop: string;
|
|
7
7
|
label: string;
|
|
8
|
+
initialValue?: any;
|
|
9
|
+
clearInitialValueOnReset?: boolean;
|
|
8
10
|
tooltip?: string;
|
|
9
11
|
type?: (typeof ComponentsMap)[keyof typeof ComponentsMap]['name'];
|
|
10
12
|
attrs?: Record<string, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TProFormProps } from './ProForm.types';
|
|
1
|
+
import { TProFormField, TProFormProps } from './ProForm.types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<TProFormProps, {
|
|
3
3
|
$: import('vue').ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
@@ -175,7 +175,7 @@ declare const _default: import('vue').DefineComponent<TProFormProps, {
|
|
|
175
175
|
labelPosition: "top" | "left" | "right";
|
|
176
176
|
labelWidth: string | number;
|
|
177
177
|
inline: boolean;
|
|
178
|
-
fields: Array<
|
|
178
|
+
fields: Array<TProFormField>;
|
|
179
179
|
columns: number | "auto-fill" | "auto-fit";
|
|
180
180
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
181
181
|
formRef: ({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
gap?: number | string;
|
|
3
|
+
full?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
header?(_: {}): any;
|
|
9
|
+
body?(_: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
}): any;
|
|
13
|
+
footer?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
layoutRef: HTMLDivElement;
|
|
17
|
+
headerRef: HTMLDivElement;
|
|
18
|
+
bodyRef: HTMLDivElement;
|
|
19
|
+
footerRef: HTMLDivElement;
|
|
20
|
+
ghostBodyRef: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
rootEl: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
|
+
full: boolean;
|
|
27
|
+
gap: number | string;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
layoutRef: HTMLDivElement;
|
|
30
|
+
headerRef: HTMLDivElement;
|
|
31
|
+
bodyRef: HTMLDivElement;
|
|
32
|
+
footerRef: HTMLDivElement;
|
|
33
|
+
ghostBodyRef: HTMLDivElement;
|
|
34
|
+
}, HTMLDivElement>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
type?: 'primary' | 'success' | 'warning' | 'error' | 'danger' | 'info';
|
|
3
|
+
size?: 'small' | 'medium' | 'large';
|
|
4
|
+
color?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
lovId?: string;
|
|
7
|
+
value?: string | number | null;
|
|
8
|
+
isSql?: boolean;
|
|
9
|
+
isUpdateLovOptions?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
lovId: string;
|
|
22
|
+
size: "small" | "medium" | "large";
|
|
23
|
+
type: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
24
|
+
color: string;
|
|
25
|
+
label: string;
|
|
26
|
+
value: string | number | null;
|
|
27
|
+
isSql: boolean;
|
|
28
|
+
isUpdateLovOptions: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
31
|
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,15 +1,73 @@
|
|
|
1
1
|
export declare const FcDotStatus: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
type?: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
4
|
+
size?: "small" | "medium" | "large";
|
|
5
|
+
color?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
lovId?: string;
|
|
8
|
+
value?: string | number | null;
|
|
9
|
+
isSql?: boolean;
|
|
10
|
+
isUpdateLovOptions?: boolean;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
12
|
+
lovId: string;
|
|
13
|
+
size: "small" | "medium" | "large";
|
|
14
|
+
type: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
15
|
+
color: string;
|
|
16
|
+
label: string;
|
|
17
|
+
value: string | number | null;
|
|
18
|
+
isSql: boolean;
|
|
19
|
+
isUpdateLovOptions: boolean;
|
|
20
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
3
21
|
P: {};
|
|
4
22
|
B: {};
|
|
5
23
|
D: {};
|
|
6
24
|
C: {};
|
|
7
25
|
M: {};
|
|
8
26
|
Defaults: {};
|
|
9
|
-
}, Readonly<{
|
|
27
|
+
}, Readonly<{
|
|
28
|
+
type?: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
29
|
+
size?: "small" | "medium" | "large";
|
|
30
|
+
color?: string;
|
|
31
|
+
label?: string;
|
|
32
|
+
lovId?: string;
|
|
33
|
+
value?: string | number | null;
|
|
34
|
+
isSql?: boolean;
|
|
35
|
+
isUpdateLovOptions?: boolean;
|
|
36
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
37
|
+
lovId: string;
|
|
38
|
+
size: "small" | "medium" | "large";
|
|
39
|
+
type: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
40
|
+
color: string;
|
|
41
|
+
label: string;
|
|
42
|
+
value: string | number | null;
|
|
43
|
+
isSql: boolean;
|
|
44
|
+
isUpdateLovOptions: boolean;
|
|
45
|
+
}>;
|
|
10
46
|
__isFragment?: never;
|
|
11
47
|
__isTeleport?: never;
|
|
12
48
|
__isSuspense?: never;
|
|
13
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
50
|
+
type?: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
51
|
+
size?: "small" | "medium" | "large";
|
|
52
|
+
color?: string;
|
|
53
|
+
label?: string;
|
|
54
|
+
lovId?: string;
|
|
55
|
+
value?: string | number | null;
|
|
56
|
+
isSql?: boolean;
|
|
57
|
+
isUpdateLovOptions?: boolean;
|
|
58
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
59
|
+
lovId: string;
|
|
60
|
+
size: "small" | "medium" | "large";
|
|
61
|
+
type: "primary" | "success" | "warning" | "error" | "danger" | "info";
|
|
62
|
+
color: string;
|
|
63
|
+
label: string;
|
|
64
|
+
value: string | number | null;
|
|
65
|
+
isSql: boolean;
|
|
66
|
+
isUpdateLovOptions: boolean;
|
|
67
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
68
|
+
$slots: {
|
|
69
|
+
default?(_: {}): any;
|
|
70
|
+
};
|
|
71
|
+
}) & import('vue').Plugin;
|
|
14
72
|
export default FcDotStatus;
|
|
15
73
|
export * from './DotStatus.types';
|