@funcho/ui 1.1.29 → 1.1.31

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 (34) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/business/DataTable/DataTable.vue.js +91 -102
  3. package/dist/cjs/business/ProForm/ProForm.vue.js +37 -2
  4. package/dist/cjs/business/VerticalLayout/VerticalLayout.vue.js +99 -0
  5. package/dist/cjs/business/VerticalLayout/VerticalLayout.vue3.js +10 -0
  6. package/dist/cjs/business/VerticalLayout/index.js +12 -0
  7. package/dist/cjs/business/index.js +2 -0
  8. package/dist/cjs/components/DotStatus/DotStatus.vue.js +3 -7
  9. package/dist/cjs/components/DotStatus/DotStatus.vue2.js +52 -0
  10. package/dist/cjs/components/TableV2/TableV2.vue.js +5 -0
  11. package/dist/cjs/index.js +8 -6
  12. package/dist/cjs/packages/ui/package.json.js +1 -1
  13. package/dist/esm/business/DataTable/DataTable.vue.mjs +94 -105
  14. package/dist/esm/business/ProForm/ProForm.vue.mjs +38 -3
  15. package/dist/esm/business/VerticalLayout/VerticalLayout.vue.mjs +95 -0
  16. package/dist/esm/business/VerticalLayout/VerticalLayout.vue3.mjs +6 -0
  17. package/dist/esm/business/VerticalLayout/index.mjs +7 -0
  18. package/dist/esm/business/index.mjs +1 -0
  19. package/dist/esm/components/DotStatus/DotStatus.vue.mjs +3 -7
  20. package/dist/esm/components/DotStatus/DotStatus.vue2.mjs +48 -0
  21. package/dist/esm/components/TableV2/TableV2.vue.mjs +6 -1
  22. package/dist/esm/index.mjs +1 -0
  23. package/dist/esm/packages/ui/package.json.mjs +1 -1
  24. package/dist/style.css +84 -6
  25. package/dist/types/business/DataTable/DataTable.vue.d.ts +0 -6
  26. package/dist/types/business/DataTable/index.d.ts +0 -3
  27. package/dist/types/business/ProForm/ProForm.types.d.ts +2 -0
  28. package/dist/types/business/ProForm/ProForm.vue.d.ts +2 -2
  29. package/dist/types/business/VerticalLayout/VerticalLayout.types.d.ts +1 -0
  30. package/dist/types/business/VerticalLayout/VerticalLayout.vue.d.ts +41 -0
  31. package/dist/types/business/index.d.ts +1 -0
  32. package/dist/types/components/DotStatus/DotStatus.vue.d.ts +35 -1
  33. package/dist/types/components/DotStatus/index.d.ts +61 -3
  34. package/package.json +1 -1
@@ -37,7 +37,6 @@ declare function __VLS_template(): {
37
37
  tools?(_: {}): any;
38
38
  };
39
39
  refs: {
40
- containerRef: HTMLDivElement;
41
40
  queryBoxRef: ({
42
41
  $: import('vue').ComponentInternalInstance;
43
42
  $data: {};
@@ -1498,8 +1497,6 @@ declare function __VLS_template(): {
1498
1497
  tools?(_: {}): any;
1499
1498
  };
1500
1499
  }) | null;
1501
- splitLineRef: HTMLDivElement;
1502
- paginationBoxRef: HTMLDivElement;
1503
1500
  };
1504
1501
  rootEl: any;
1505
1502
  };
@@ -1525,7 +1522,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1525
1522
  actions: Array<ButtonProps>;
1526
1523
  actionsWidth: number;
1527
1524
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
1528
- containerRef: HTMLDivElement;
1529
1525
  queryBoxRef: ({
1530
1526
  $: import('vue').ComponentInternalInstance;
1531
1527
  $data: {};
@@ -2986,8 +2982,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
2986
2982
  tools?(_: {}): any;
2987
2983
  };
2988
2984
  }) | null;
2989
- splitLineRef: HTMLDivElement;
2990
- paginationBoxRef: HTMLDivElement;
2991
2985
  }, any>;
2992
2986
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2993
2987
  export default _default;
@@ -83,7 +83,6 @@ export declare const FcProDataTable: {
83
83
  }>;
84
84
  actionsWidth: number;
85
85
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
86
- containerRef: HTMLDivElement;
87
86
  queryBoxRef: ({
88
87
  $: import('vue').ComponentInternalInstance;
89
88
  $data: {};
@@ -1544,8 +1543,6 @@ export declare const FcProDataTable: {
1544
1543
  tools?(_: {}): any;
1545
1544
  };
1546
1545
  }) | null;
1547
- splitLineRef: HTMLDivElement;
1548
- paginationBoxRef: HTMLDivElement;
1549
1546
  }, any, import('vue').ComponentProvideOptions, {
1550
1547
  P: {};
1551
1548
  B: {};
@@ -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<import('./ProForm.types').TProFormField>;
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,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
+ };
@@ -6,3 +6,4 @@ export * from './TreeTransfer';
6
6
  export * from './EditFormCard';
7
7
  export * from './FormDialog';
8
8
  export * from './QueryForm';
9
+ export * from './VerticalLayout';
@@ -1,2 +1,36 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
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<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
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<{}> & 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<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
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';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funcho/ui",
3
3
  "description": "@funcho ui library",
4
- "version": "1.1.29",
4
+ "version": "1.1.31",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.mjs",