fit2cloud-ui-plus 1.1.17 → 1.2.0-beta.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.
Files changed (41) hide show
  1. package/lib/fit2cloud-ui-plus.es.js +53 -53
  2. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  3. package/package.json +3 -3
  4. package/src/locale/index.ts +4 -0
  5. package/src/locale/lang/ja.ts +59 -0
  6. package/src/locale/lang/ms.ts +59 -0
  7. package/src/locale/lang/pt-br.ts +59 -0
  8. package/src/locale/lang/ru.ts +59 -0
  9. package/src/styles/common/function.scss +9 -7
  10. package/src/styles/common/mixins.scss +3 -0
  11. package/types/examples/pages/search/attributes.d.ts +57 -0
  12. package/types/examples/pages/search/demo/BaseSearchbar.vue.d.ts +66 -0
  13. package/types/examples/pages/search/demo/ComplexComponentsDemo.vue.d.ts +60 -0
  14. package/types/examples/pages/search/demo/ComplexSearchDemo.vue.d.ts +84 -0
  15. package/types/examples/pages/search/demo/CustomComponentsDemo.vue.d.ts +50 -0
  16. package/types/examples/pages/search/demo/EchoConditionsDemo.vue.d.ts +52 -0
  17. package/types/examples/pages/search/demo/QuickSearchDemo.vue.d.ts +18 -0
  18. package/types/examples/pages/search/demo/SearchBarButtonDemo.vue.d.ts +54 -0
  19. package/types/examples/pages/search/index.vue.d.ts +150 -0
  20. package/types/src/components/ steps/FuHorizontalNavigation.vue.d.ts +13 -0
  21. package/types/src/components/ steps/FuHorizontalSteps.vue.d.ts +6 -0
  22. package/types/src/components/ steps/FuStep.vue.d.ts +2 -0
  23. package/types/src/components/ steps/FuStepButton.vue.d.ts +2 -0
  24. package/types/src/components/ steps/FuSteps.vue.d.ts +12 -0
  25. package/types/src/components/ steps/FuStepsFooter.d.ts +6 -0
  26. package/types/src/components/ steps/FuVerticalNavigation.vue.d.ts +14 -0
  27. package/types/src/components/ steps/FuVerticalSteps.vue.d.ts +6 -0
  28. package/types/src/components/ steps/Stepper.d.ts +39 -0
  29. package/types/src/components/ steps/index.d.ts +2 -0
  30. package/types/src/components/ steps/types.d.ts +27 -0
  31. package/types/src/components/filter-bar/FuSearchInput.vue.d.ts +17 -0
  32. package/types/src/components/search-bar/complex-components/index.d.ts +0 -0
  33. package/types/src/components/search-bar/complex-components/mixins.d.ts +6 -0
  34. package/types/src/components/table/FuTableBody-backup.d.ts +3 -0
  35. package/types/src/components/table/types.d.ts +2 -0
  36. package/types/src/locale/index.d.ts +4 -0
  37. package/types/src/locale/lang/ja.d.ts +60 -0
  38. package/types/src/locale/lang/ms.d.ts +60 -0
  39. package/types/src/locale/lang/pt-br.d.ts +60 -0
  40. package/types/src/locale/lang/ru.d.ts +60 -0
  41. package/types/src/tools/utils.d.ts +2 -0
@@ -0,0 +1,54 @@
1
+ declare namespace _default {
2
+ const name: string;
3
+ function data(): {
4
+ options: {
5
+ label: string;
6
+ value: string;
7
+ }[];
8
+ components: ({
9
+ field: string;
10
+ label: string;
11
+ component: string;
12
+ options?: undefined;
13
+ } | {
14
+ field: string;
15
+ label: string;
16
+ component: string;
17
+ options: {
18
+ label: string;
19
+ value: string;
20
+ }[];
21
+ })[];
22
+ condition: {};
23
+ };
24
+ function data(): {
25
+ options: {
26
+ label: string;
27
+ value: string;
28
+ }[];
29
+ components: ({
30
+ field: string;
31
+ label: string;
32
+ component: string;
33
+ options?: undefined;
34
+ } | {
35
+ field: string;
36
+ label: string;
37
+ component: string;
38
+ options: {
39
+ label: string;
40
+ value: string;
41
+ }[];
42
+ })[];
43
+ condition: {};
44
+ };
45
+ namespace methods {
46
+ function download(e: any): void;
47
+ function download(e: any): void;
48
+ function upload(e: any): void;
49
+ function upload(e: any): void;
50
+ function search(condition: any): void;
51
+ function search(condition: any): void;
52
+ }
53
+ }
54
+ export default _default;
@@ -0,0 +1,150 @@
1
+ declare namespace _default {
2
+ const name: string;
3
+ const mixins: any[];
4
+ function data(): {
5
+ url: string;
6
+ attributes: {
7
+ name: string;
8
+ children: ({
9
+ name: string;
10
+ header: {
11
+ prop: string;
12
+ desc: string;
13
+ type: string;
14
+ enum: string;
15
+ default: string;
16
+ event?: undefined;
17
+ value?: undefined;
18
+ name?: undefined;
19
+ };
20
+ table: {
21
+ prop: string;
22
+ desc: string;
23
+ type: string;
24
+ enum: string;
25
+ default: string;
26
+ }[];
27
+ } | {
28
+ name: string;
29
+ header: {
30
+ event: string;
31
+ desc: string;
32
+ value: string;
33
+ prop?: undefined;
34
+ type?: undefined;
35
+ enum?: undefined;
36
+ default?: undefined;
37
+ name?: undefined;
38
+ };
39
+ table: {
40
+ event: string;
41
+ desc: string;
42
+ value: string;
43
+ }[];
44
+ } | {
45
+ name: string;
46
+ header: {
47
+ name: string;
48
+ desc: string;
49
+ prop?: undefined;
50
+ type?: undefined;
51
+ enum?: undefined;
52
+ default?: undefined;
53
+ event?: undefined;
54
+ value?: undefined;
55
+ };
56
+ table: {
57
+ name: string;
58
+ desc: string;
59
+ }[];
60
+ })[];
61
+ }[];
62
+ comList: ({
63
+ title: string;
64
+ titleDesc: string;
65
+ component: string;
66
+ description?: undefined;
67
+ } | {
68
+ title: string;
69
+ titleDesc: string;
70
+ component: string;
71
+ description: string;
72
+ })[];
73
+ };
74
+ function data(): {
75
+ url: string;
76
+ attributes: {
77
+ name: string;
78
+ children: ({
79
+ name: string;
80
+ header: {
81
+ prop: string;
82
+ desc: string;
83
+ type: string;
84
+ enum: string;
85
+ default: string;
86
+ event?: undefined;
87
+ value?: undefined;
88
+ name?: undefined;
89
+ };
90
+ table: {
91
+ prop: string;
92
+ desc: string;
93
+ type: string;
94
+ enum: string;
95
+ default: string;
96
+ }[];
97
+ } | {
98
+ name: string;
99
+ header: {
100
+ event: string;
101
+ desc: string;
102
+ value: string;
103
+ prop?: undefined;
104
+ type?: undefined;
105
+ enum?: undefined;
106
+ default?: undefined;
107
+ name?: undefined;
108
+ };
109
+ table: {
110
+ event: string;
111
+ desc: string;
112
+ value: string;
113
+ }[];
114
+ } | {
115
+ name: string;
116
+ header: {
117
+ name: string;
118
+ desc: string;
119
+ prop?: undefined;
120
+ type?: undefined;
121
+ enum?: undefined;
122
+ default?: undefined;
123
+ event?: undefined;
124
+ value?: undefined;
125
+ };
126
+ table: {
127
+ name: string;
128
+ desc: string;
129
+ }[];
130
+ })[];
131
+ }[];
132
+ comList: ({
133
+ title: string;
134
+ titleDesc: string;
135
+ component: string;
136
+ description?: undefined;
137
+ } | {
138
+ title: string;
139
+ titleDesc: string;
140
+ component: string;
141
+ description: string;
142
+ })[];
143
+ };
144
+ const methods: {};
145
+ function created(): void;
146
+ function created(): void;
147
+ function mounted(): void;
148
+ function mounted(): void;
149
+ }
150
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ stepper: ObjectConstructor;
4
+ steps: ArrayConstructor;
5
+ disable: PropType<(index: number) => boolean>;
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "active"[], "active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ stepper: ObjectConstructor;
8
+ steps: ArrayConstructor;
9
+ disable: PropType<(index: number) => boolean>;
10
+ }>> & {
11
+ onActive?: ((...args: any[]) => any) | undefined;
12
+ }, {}>;
13
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ onChange?: ((...args: any[]) => any) | undefined;
5
+ }, {}>;
6
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<Readonly<{
2
+ direction?: any;
3
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4
+ [key: string]: any;
5
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
6
+ direction?: any;
7
+ }>>> & {
8
+ onChange?: ((...args: any[]) => any) | undefined;
9
+ }, {
10
+ readonly direction?: any;
11
+ }>;
12
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "stepperFn"[], "stepperFn", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ onStepperFn?: ((...args: any[]) => any) | undefined;
5
+ }, {}>;
6
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { PropType } from 'vue';
2
+ import { Step } from "@/components/ steps/Stepper";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ stepper: ObjectConstructor;
5
+ steps: PropType<Step[]>;
6
+ disable: PropType<(index: number) => boolean>;
7
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "active"[], "active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ stepper: ObjectConstructor;
9
+ steps: PropType<Step[]>;
10
+ disable: PropType<(index: number) => boolean>;
11
+ }>> & {
12
+ onActive?: ((...args: any[]) => any) | undefined;
13
+ }, {}>;
14
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ onChange?: ((...args: any[]) => any) | undefined;
5
+ }, {}>;
6
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import { StepperOptions, StepOptions } from './types';
2
+ export declare class Stepper implements StepperOptions {
3
+ steps: [Step];
4
+ index: number;
5
+ activeSet: any;
6
+ isLoading: boolean;
7
+ onCancelButtonText: string;
8
+ onFinishButtonText: string;
9
+ prevButtonText: string;
10
+ nextButtonText: string;
11
+ buttonSize: string;
12
+ footerAlign: string;
13
+ showCancel: any;
14
+ beforeActive: Function;
15
+ beforeLeave: Function;
16
+ height: string;
17
+ constructor(options?: StepperOptions);
18
+ isFirst(index: number): boolean;
19
+ isLast(index: number): boolean;
20
+ isActive(index: number): boolean;
21
+ isCurrent(index: number): boolean;
22
+ active(index: number): Promise<void>;
23
+ next(): void;
24
+ prev(): void;
25
+ getStep(index: number): Step | undefined;
26
+ executeBeforeLeave(index: number, forward: boolean): any;
27
+ executeBeforeActive(index: number, forward: boolean): any;
28
+ }
29
+ export declare class Step implements StepOptions {
30
+ id?: string;
31
+ index: number;
32
+ beforeActive?: Function;
33
+ beforeLeave?: Function;
34
+ title?: string;
35
+ description?: string;
36
+ icon?: string;
37
+ status?: string;
38
+ constructor(options?: StepOptions);
39
+ }
@@ -0,0 +1,2 @@
1
+ import FuSteps from "./FuSteps.vue";
2
+ export default FuSteps;
@@ -0,0 +1,27 @@
1
+ import { Step } from "@/components/ steps/Stepper";
2
+ export interface StepperOptions {
3
+ steps: [Step];
4
+ index: number;
5
+ activeSet: any;
6
+ isLoading?: boolean;
7
+ onCancelButtonText: string;
8
+ onFinishButtonText: string;
9
+ prevButtonText: string;
10
+ nextButtonText: string;
11
+ buttonSize: string;
12
+ footerAlign: string;
13
+ showCancel: any;
14
+ beforeActive: Function;
15
+ beforeLeave: Function;
16
+ height: string;
17
+ }
18
+ export interface StepOptions {
19
+ id?: string;
20
+ index: number;
21
+ beforeActive?: Function;
22
+ beforeLeave?: Function;
23
+ title?: string;
24
+ description?: string;
25
+ icon?: string;
26
+ status?: string;
27
+ }
@@ -0,0 +1,17 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ size: {
3
+ type: StringConstructor;
4
+ validator: (val: string) => val is string;
5
+ };
6
+ value: StringConstructor;
7
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input")[], "input" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ size: {
9
+ type: StringConstructor;
10
+ validator: (val: string) => val is string;
11
+ };
12
+ value: StringConstructor;
13
+ }>> & {
14
+ onChange?: ((...args: any[]) => any) | undefined;
15
+ onInput?: ((...args: any[]) => any) | undefined;
16
+ }, {}>;
17
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare namespace _default {
2
+ const props: any;
3
+ const methods: any;
4
+ const computed: any;
5
+ }
6
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export declare const isFix: (node: any) => boolean;
2
+ export declare const getLabel: (node: any) => any;
3
+ export declare const FuTableBody: (props: any, context: any) => any;
@@ -0,0 +1,2 @@
1
+ import { InjectionKey } from "vue";
2
+ export declare const LocalKey: InjectionKey<string | undefined>;
@@ -1,6 +1,10 @@
1
1
  export { default as en } from './lang/en';
2
2
  export { default as zhCn } from './lang/zh-cn';
3
3
  export { default as zhTw } from './lang/zh-tw';
4
+ export { default as ja } from './lang/ja';
5
+ export { default as ms } from './lang/ms';
6
+ export { default as ru } from './lang/ru';
7
+ export { default as ptBr } from './lang/pt-br';
4
8
  export declare type TranslatePair = {
5
9
  [key: string]: string | string[] | TranslatePair;
6
10
  };
@@ -0,0 +1,60 @@
1
+ declare const _default: {
2
+ name: string;
3
+ fu: {
4
+ filter_bar: {
5
+ filter: string;
6
+ results: string;
7
+ clear: string;
8
+ drawer_title: string;
9
+ cancel: string;
10
+ search: string;
11
+ refresh: string;
12
+ select_all: string;
13
+ more: string;
14
+ };
15
+ search_bar: {
16
+ search: string;
17
+ adv_search: string;
18
+ ok: string;
19
+ cancel: string;
20
+ please_select: string;
21
+ please_input: string;
22
+ like: string;
23
+ not_like: string;
24
+ in: string;
25
+ not_in: string;
26
+ gt: string;
27
+ ge: string;
28
+ lt: string;
29
+ le: string;
30
+ eq: string;
31
+ ne: string;
32
+ between: string;
33
+ select_date: string;
34
+ start_date: string;
35
+ end_date: string;
36
+ select_date_time: string;
37
+ start_date_time: string;
38
+ end_date_time: string;
39
+ range_separator: string;
40
+ data_time_error: string;
41
+ clean: string;
42
+ refresh: string;
43
+ };
44
+ table: {
45
+ ok: string;
46
+ cancel: string;
47
+ custom_table_fields: string;
48
+ custom_table_fields_desc: string;
49
+ custom_table_rows: string;
50
+ more: string;
51
+ };
52
+ steps: {
53
+ cancel: string;
54
+ next: string;
55
+ prev: string;
56
+ finish: string;
57
+ };
58
+ };
59
+ };
60
+ export default _default;
@@ -0,0 +1,60 @@
1
+ declare const _default: {
2
+ name: string;
3
+ fu: {
4
+ filter_bar: {
5
+ filter: string;
6
+ results: string;
7
+ clear: string;
8
+ drawer_title: string;
9
+ cancel: string;
10
+ search: string;
11
+ refresh: string;
12
+ select_all: string;
13
+ more: string;
14
+ };
15
+ search_bar: {
16
+ search: string;
17
+ adv_search: string;
18
+ ok: string;
19
+ cancel: string;
20
+ please_select: string;
21
+ please_input: string;
22
+ like: string;
23
+ not_like: string;
24
+ in: string;
25
+ not_in: string;
26
+ gt: string;
27
+ ge: string;
28
+ lt: string;
29
+ le: string;
30
+ eq: string;
31
+ ne: string;
32
+ between: string;
33
+ select_date: string;
34
+ start_date: string;
35
+ end_date: string;
36
+ select_date_time: string;
37
+ start_date_time: string;
38
+ end_date_time: string;
39
+ range_separator: string;
40
+ data_time_error: string;
41
+ clean: string;
42
+ refresh: string;
43
+ };
44
+ table: {
45
+ ok: string;
46
+ cancel: string;
47
+ custom_table_fields: string;
48
+ custom_table_fields_desc: string;
49
+ custom_table_rows: string;
50
+ more: string;
51
+ };
52
+ steps: {
53
+ cancel: string;
54
+ next: string;
55
+ prev: string;
56
+ finish: string;
57
+ };
58
+ };
59
+ };
60
+ export default _default;
@@ -0,0 +1,60 @@
1
+ declare const _default: {
2
+ name: string;
3
+ fu: {
4
+ filter_bar: {
5
+ filter: string;
6
+ results: string;
7
+ clear: string;
8
+ drawer_title: string;
9
+ cancel: string;
10
+ search: string;
11
+ refresh: string;
12
+ select_all: string;
13
+ more: string;
14
+ };
15
+ search_bar: {
16
+ search: string;
17
+ adv_search: string;
18
+ ok: string;
19
+ cancel: string;
20
+ please_select: string;
21
+ please_input: string;
22
+ like: string;
23
+ not_like: string;
24
+ in: string;
25
+ not_in: string;
26
+ gt: string;
27
+ ge: string;
28
+ lt: string;
29
+ le: string;
30
+ eq: string;
31
+ ne: string;
32
+ between: string;
33
+ select_date: string;
34
+ start_date: string;
35
+ end_date: string;
36
+ select_date_time: string;
37
+ start_date_time: string;
38
+ end_date_time: string;
39
+ range_separator: string;
40
+ data_time_error: string;
41
+ clean: string;
42
+ refresh: string;
43
+ };
44
+ table: {
45
+ ok: string;
46
+ cancel: string;
47
+ custom_table_fields: string;
48
+ custom_table_fields_desc: string;
49
+ custom_table_rows: string;
50
+ more: string;
51
+ };
52
+ steps: {
53
+ cancel: string;
54
+ next: string;
55
+ prev: string;
56
+ finish: string;
57
+ };
58
+ };
59
+ };
60
+ export default _default;
@@ -0,0 +1,60 @@
1
+ declare const _default: {
2
+ name: string;
3
+ fu: {
4
+ filter_bar: {
5
+ filter: string;
6
+ results: string;
7
+ clear: string;
8
+ drawer_title: string;
9
+ cancel: string;
10
+ search: string;
11
+ refresh: string;
12
+ select_all: string;
13
+ more: string;
14
+ };
15
+ search_bar: {
16
+ search: string;
17
+ adv_search: string;
18
+ ok: string;
19
+ cancel: string;
20
+ please_select: string;
21
+ please_input: string;
22
+ like: string;
23
+ not_like: string;
24
+ in: string;
25
+ not_in: string;
26
+ gt: string;
27
+ ge: string;
28
+ lt: string;
29
+ le: string;
30
+ eq: string;
31
+ ne: string;
32
+ between: string;
33
+ select_date: string;
34
+ start_date: string;
35
+ end_date: string;
36
+ select_date_time: string;
37
+ start_date_time: string;
38
+ end_date_time: string;
39
+ range_separator: string;
40
+ data_time_error: string;
41
+ clean: string;
42
+ refresh: string;
43
+ };
44
+ table: {
45
+ ok: string;
46
+ cancel: string;
47
+ custom_table_fields: string;
48
+ custom_table_fields_desc: string;
49
+ custom_table_rows: string;
50
+ more: string;
51
+ };
52
+ steps: {
53
+ cancel: string;
54
+ next: string;
55
+ prev: string;
56
+ finish: string;
57
+ };
58
+ };
59
+ };
60
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export declare const uuid: () => string;
2
+ export declare const randomId: () => number;