fit2cloud-ui-plus 0.0.1-beta.12 → 0.0.1-beta.13

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 (40) hide show
  1. package/README.md +1 -1
  2. package/lib/fit2cloud-ui-plus.es.js +28 -27
  3. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  4. package/package.json +2 -1
  5. package/src/.DS_Store +0 -0
  6. package/src/components/.DS_Store +0 -0
  7. package/src/styles/components/table.scss +0 -3
  8. package/types/examples/pages/table/demo/TablePagination.vue.d.ts +1 -1
  9. package/src/components/filter-bar/index.d.ts +0 -2
  10. package/src/components/filter-bar/types.d.ts +0 -22
  11. package/src/components/read-write-switch/index.d.ts +0 -2
  12. package/src/components/read-write-switch/types.d.ts +0 -4
  13. package/src/components/speed-dial/FuSpeedDial.vue.d.ts +0 -218
  14. package/src/components/speed-dial/FuSpeedDialActionButton.vue.d.ts +0 -32
  15. package/src/components/speed-dial/FuSpeedDialButton.vue.d.ts +0 -42
  16. package/src/components/speed-dial/FuSpeedDialItem.vue.d.ts +0 -12
  17. package/src/components/speed-dial/index.d.ts +0 -2
  18. package/src/components/speed-dial/types.d.ts +0 -8
  19. package/src/components/split-pane/FuSplitPane.vue.d.ts +0 -59
  20. package/src/components/split-pane/index.d.ts +0 -2
  21. package/src/components/table/index.d.ts +0 -2
  22. package/src/components/table/table-column-select/utils.d.ts +0 -8
  23. package/src/components/table/types.d.ts +0 -2
  24. package/src/components/tabs/FuTabs.vue.d.ts +0 -54
  25. package/src/components/tabs/index.d.ts +0 -2
  26. package/src/hooks/index.d.ts +0 -3
  27. package/src/hooks/use-global-config/index.d.ts +0 -1
  28. package/src/hooks/use-locale/index.d.ts +0 -14
  29. package/src/hooks/use-size/index.d.ts +0 -5
  30. package/src/index.d.ts +0 -7
  31. package/src/locale/index.d.ts +0 -10
  32. package/src/locale/lang/en.d.ts +0 -59
  33. package/src/locale/lang/zh-cn.d.ts +0 -59
  34. package/src/locale/lang/zh-tw.d.ts +0 -59
  35. package/src/tools/size.d.ts +0 -4
  36. package/src/tools/theme.d.ts +0 -1
  37. package/src/tools/time.d.ts +0 -2
  38. package/src/tools/types.d.ts +0 -8
  39. package/src/tools/utils.d.ts +0 -2
  40. package/src/tools/vnode.d.ts +0 -9
@@ -1,218 +0,0 @@
1
- import { PropType } from "vue";
2
- import type { ZIndexProperty, PositionProperty } from 'csstype';
3
- declare const _default: import("vue").DefineComponent<{
4
- modelValue: BooleanConstructor;
5
- id: StringConstructor;
6
- type: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- items: any;
11
- size: {
12
- type: StringConstructor;
13
- default: string;
14
- validator: (value: string) => boolean;
15
- };
16
- direction: {
17
- type: StringConstructor;
18
- default: string;
19
- validator: (value: string) => boolean;
20
- };
21
- icon: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- activeIcon: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- movable: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- position: {
34
- type: PropType<PositionProperty>;
35
- validator: (value: string) => boolean;
36
- };
37
- left: StringConstructor;
38
- top: StringConstructor;
39
- right: StringConstructor;
40
- bottom: StringConstructor;
41
- zIndex: {
42
- type: PropType<ZIndexProperty>;
43
- default: number;
44
- };
45
- itemClickClose: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- outsideClose: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- manual: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- localKey: StringConstructor;
58
- sizeOptions: {
59
- type: ObjectConstructor;
60
- default: () => {
61
- large: {
62
- fab: {
63
- size: number;
64
- fontSize: string;
65
- };
66
- item: {
67
- size: number;
68
- spacing: number;
69
- titleFontSize: string;
70
- buttonFontSize: string;
71
- };
72
- };
73
- default: {
74
- fab: {
75
- size: number;
76
- fontSize: string;
77
- };
78
- item: {
79
- size: number;
80
- spacing: number;
81
- titleFontSize: string;
82
- buttonFontSize: string;
83
- };
84
- };
85
- small: {
86
- fab: {
87
- size: number;
88
- fontSize: string;
89
- padding: number;
90
- };
91
- item: {
92
- size: number;
93
- spacing: number;
94
- titleFontSize: string;
95
- buttonFontSize: string;
96
- };
97
- };
98
- };
99
- };
100
- }, {
101
- close: () => void;
102
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "outside-click")[], "click" | "close" | "outside-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
103
- modelValue: BooleanConstructor;
104
- id: StringConstructor;
105
- type: {
106
- type: StringConstructor;
107
- default: string;
108
- };
109
- items: any;
110
- size: {
111
- type: StringConstructor;
112
- default: string;
113
- validator: (value: string) => boolean;
114
- };
115
- direction: {
116
- type: StringConstructor;
117
- default: string;
118
- validator: (value: string) => boolean;
119
- };
120
- icon: {
121
- type: StringConstructor;
122
- default: string;
123
- };
124
- activeIcon: {
125
- type: StringConstructor;
126
- default: string;
127
- };
128
- movable: {
129
- type: BooleanConstructor;
130
- default: boolean;
131
- };
132
- position: {
133
- type: PropType<PositionProperty>;
134
- validator: (value: string) => boolean;
135
- };
136
- left: StringConstructor;
137
- top: StringConstructor;
138
- right: StringConstructor;
139
- bottom: StringConstructor;
140
- zIndex: {
141
- type: PropType<ZIndexProperty>;
142
- default: number;
143
- };
144
- itemClickClose: {
145
- type: BooleanConstructor;
146
- default: boolean;
147
- };
148
- outsideClose: {
149
- type: BooleanConstructor;
150
- default: boolean;
151
- };
152
- manual: {
153
- type: BooleanConstructor;
154
- default: boolean;
155
- };
156
- localKey: StringConstructor;
157
- sizeOptions: {
158
- type: ObjectConstructor;
159
- default: () => {
160
- large: {
161
- fab: {
162
- size: number;
163
- fontSize: string;
164
- };
165
- item: {
166
- size: number;
167
- spacing: number;
168
- titleFontSize: string;
169
- buttonFontSize: string;
170
- };
171
- };
172
- default: {
173
- fab: {
174
- size: number;
175
- fontSize: string;
176
- };
177
- item: {
178
- size: number;
179
- spacing: number;
180
- titleFontSize: string;
181
- buttonFontSize: string;
182
- };
183
- };
184
- small: {
185
- fab: {
186
- size: number;
187
- fontSize: string;
188
- padding: number;
189
- };
190
- item: {
191
- size: number;
192
- spacing: number;
193
- titleFontSize: string;
194
- buttonFontSize: string;
195
- };
196
- };
197
- };
198
- };
199
- }>> & {
200
- onClick?: ((...args: any[]) => any) | undefined;
201
- onClose?: ((...args: any[]) => any) | undefined;
202
- "onOutside-click"?: ((...args: any[]) => any) | undefined;
203
- }, {
204
- type: string;
205
- icon: string;
206
- zIndex: ZIndexProperty;
207
- size: string;
208
- modelValue: boolean;
209
- direction: string;
210
- movable: boolean;
211
- manual: boolean;
212
- items: any;
213
- activeIcon: string;
214
- itemClickClose: boolean;
215
- outsideClose: boolean;
216
- sizeOptions: Record<string, any>;
217
- }>;
218
- export default _default;
@@ -1,32 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- index: NumberConstructor;
3
- icon: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- titleClass: StringConstructor;
8
- titleBgColor: StringConstructor;
9
- titleColor: StringConstructor;
10
- buttonClass: StringConstructor;
11
- bgColor: StringConstructor;
12
- color: StringConstructor;
13
- title: (StringConstructor | NumberConstructor)[];
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- index: NumberConstructor;
16
- icon: {
17
- type: StringConstructor;
18
- default: string;
19
- };
20
- titleClass: StringConstructor;
21
- titleBgColor: StringConstructor;
22
- titleColor: StringConstructor;
23
- buttonClass: StringConstructor;
24
- bgColor: StringConstructor;
25
- color: StringConstructor;
26
- title: (StringConstructor | NumberConstructor)[];
27
- }>> & {
28
- onClick?: ((...args: any[]) => any) | undefined;
29
- }, {
30
- icon: string;
31
- }>;
32
- export default _default;
@@ -1,42 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- type: {
3
- type: StringConstructor;
4
- default: string;
5
- validator: (value: string) => boolean;
6
- };
7
- rotate: BooleanConstructor;
8
- disabled: BooleanConstructor;
9
- active: BooleanConstructor;
10
- icon: StringConstructor;
11
- size: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- backgroundColor: StringConstructor;
16
- color: StringConstructor;
17
- fontSize: StringConstructor;
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- type: {
20
- type: StringConstructor;
21
- default: string;
22
- validator: (value: string) => boolean;
23
- };
24
- rotate: BooleanConstructor;
25
- disabled: BooleanConstructor;
26
- active: BooleanConstructor;
27
- icon: StringConstructor;
28
- size: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- backgroundColor: StringConstructor;
33
- color: StringConstructor;
34
- fontSize: StringConstructor;
35
- }>>, {
36
- type: string;
37
- disabled: boolean;
38
- size: string;
39
- active: boolean;
40
- rotate: boolean;
41
- }>;
42
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- index: {
3
- type: NumberConstructor;
4
- required: true;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- index: {
8
- type: NumberConstructor;
9
- required: true;
10
- };
11
- }>>, {}>;
12
- export default _default;
@@ -1,2 +0,0 @@
1
- import FuSpeedDial from "./FuSpeedDial.vue";
2
- export default FuSpeedDial;
@@ -1,8 +0,0 @@
1
- import { InjectionKey, ComputedRef, Ref } from "vue";
2
- export interface SpeedDialContext {
3
- config?: any;
4
- direction: ComputedRef<string>;
5
- active?: Ref<boolean>;
6
- close(): void;
7
- }
8
- export declare const SpeedDialKey: InjectionKey<SpeedDialContext>;
@@ -1,59 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- min: {
3
- type: (StringConstructor | NumberConstructor)[];
4
- default: string;
5
- };
6
- left: (StringConstructor | NumberConstructor)[];
7
- right: (StringConstructor | NumberConstructor)[];
8
- top: (StringConstructor | NumberConstructor)[];
9
- bottom: (StringConstructor | NumberConstructor)[];
10
- direction: {
11
- validator: (val: string) => boolean;
12
- default: string;
13
- };
14
- localKey: StringConstructor;
15
- resizable: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- resizerType: {
20
- validator: (val: string) => boolean;
21
- default: string;
22
- };
23
- resizerClass: StringConstructor;
24
- resizerStyle: ObjectConstructor;
25
- resizerHoverClass: StringConstructor;
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeSplit"[], "changeSplit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- min: {
28
- type: (StringConstructor | NumberConstructor)[];
29
- default: string;
30
- };
31
- left: (StringConstructor | NumberConstructor)[];
32
- right: (StringConstructor | NumberConstructor)[];
33
- top: (StringConstructor | NumberConstructor)[];
34
- bottom: (StringConstructor | NumberConstructor)[];
35
- direction: {
36
- validator: (val: string) => boolean;
37
- default: string;
38
- };
39
- localKey: StringConstructor;
40
- resizable: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- resizerType: {
45
- validator: (val: string) => boolean;
46
- default: string;
47
- };
48
- resizerClass: StringConstructor;
49
- resizerStyle: ObjectConstructor;
50
- resizerHoverClass: StringConstructor;
51
- }>> & {
52
- onChangeSplit?: ((...args: any[]) => any) | undefined;
53
- }, {
54
- min: string | number;
55
- direction: string;
56
- resizable: boolean;
57
- resizerType: string;
58
- }>;
59
- export default _default;
@@ -1,2 +0,0 @@
1
- import FuSplitPane from './FuSplitPane.vue';
2
- export default FuSplitPane;
@@ -1,2 +0,0 @@
1
- import FuTable from "./FuTable.vue";
2
- export default FuTable;
@@ -1,8 +0,0 @@
1
- export declare const tableColumnSelect: (localKey: any) => {
2
- columnsKey: import("vue").ComputedRef<string>;
3
- dragstart: (event: DragEvent, index: any) => void;
4
- dragenter: (event: DragEvent) => void;
5
- dragleave: (event: DragEvent) => void;
6
- dragend: (event: DragEvent) => void;
7
- drop: (event: DragEvent, list: any, index: number) => void;
8
- };
@@ -1,2 +0,0 @@
1
- import { InjectionKey } from "vue";
2
- export declare const LocalKey: InjectionKey<string | undefined>;
@@ -1,54 +0,0 @@
1
- import { PropType } from "vue";
2
- import { DropdownProps } from "@/tools/types";
3
- declare const _default: import("vue").DefineComponent<{
4
- addType: {
5
- type: StringConstructor;
6
- default: string;
7
- validator: (val: string) => boolean;
8
- };
9
- dropdownMenus: {
10
- type: PropType<DropdownProps[]>;
11
- default: () => never[];
12
- };
13
- addTrigger: {
14
- type: StringConstructor;
15
- default: string;
16
- validator: (val: string) => boolean;
17
- };
18
- addIcon: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- addButtonLabel: StringConstructor;
23
- addable: BooleanConstructor;
24
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "command"[], "command", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- addType: {
26
- type: StringConstructor;
27
- default: string;
28
- validator: (val: string) => boolean;
29
- };
30
- dropdownMenus: {
31
- type: PropType<DropdownProps[]>;
32
- default: () => never[];
33
- };
34
- addTrigger: {
35
- type: StringConstructor;
36
- default: string;
37
- validator: (val: string) => boolean;
38
- };
39
- addIcon: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- addButtonLabel: StringConstructor;
44
- addable: BooleanConstructor;
45
- }>> & {
46
- onCommand?: ((...args: any[]) => any) | undefined;
47
- }, {
48
- addable: boolean;
49
- addType: string;
50
- dropdownMenus: DropdownProps[];
51
- addTrigger: string;
52
- addIcon: string;
53
- }>;
54
- export default _default;
@@ -1,2 +0,0 @@
1
- import FuTabs from "./FuTabs.vue";
2
- export default FuTabs;
@@ -1,3 +0,0 @@
1
- export * from './use-global-config';
2
- export * from './use-locale';
3
- export * from './use-size';
@@ -1 +0,0 @@
1
- export declare function useGlobalConfig(key?: keyof any, defaultValue?: undefined): import("vue").Ref<any>;
@@ -1,14 +0,0 @@
1
- import type { MaybeRef } from '@vueuse/core';
2
- import type { Ref } from 'vue';
3
- import type { Language } from '@/locale';
4
- export declare type TranslatorOption = Record<string, string | number>;
5
- export declare type Translator = (path: string, option?: TranslatorOption) => string;
6
- export declare type LocaleContext = {
7
- locale: Ref<Language>;
8
- lang: Ref<string>;
9
- t: Translator;
10
- };
11
- export declare const buildTranslator: (locale: MaybeRef<Language>) => Translator;
12
- export declare const translate: (path: string, option: undefined | TranslatorOption, locale: Language) => string;
13
- export declare const buildLocaleContext: (locale: MaybeRef<Language>) => LocaleContext;
14
- export declare const useLocale: () => LocaleContext;
@@ -1,5 +0,0 @@
1
- import type { ComputedRef } from 'vue';
2
- import type { ComponentSize } from '@/tools/size';
3
- import type { MaybeRef } from '@vueuse/core';
4
- export declare const useProp: <T>(name: string) => ComputedRef<T | undefined>;
5
- export declare const useSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<'prop' | 'global', boolean>>) => ComputedRef<string>;
package/src/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { App } from 'vue';
2
- declare const plugin: {
3
- name: string;
4
- version: string;
5
- install: (app: App) => void;
6
- };
7
- export default plugin;
@@ -1,10 +0,0 @@
1
- export { default as en } from './lang/en';
2
- export { default as zhCn } from './lang/zh-cn';
3
- export { default as zhTw } from './lang/zh-tw';
4
- export declare type TranslatePair = {
5
- [key: string]: string | string[] | TranslatePair;
6
- };
7
- export declare type Language = {
8
- name: string;
9
- el: TranslatePair;
10
- };
@@ -1,59 +0,0 @@
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
- select_all: string;
12
- more: string;
13
- };
14
- search_bar: {
15
- search: string;
16
- adv_search: string;
17
- ok: string;
18
- cancel: string;
19
- please_select: string;
20
- please_input: string;
21
- like: string;
22
- not_like: string;
23
- in: string;
24
- not_in: string;
25
- gt: string;
26
- ge: string;
27
- lt: string;
28
- le: string;
29
- eq: string;
30
- ne: string;
31
- between: string;
32
- select_date: string;
33
- start_date: string;
34
- end_date: string;
35
- select_date_time: string;
36
- start_date_time: string;
37
- end_date_time: string;
38
- range_separator: string;
39
- data_time_error: string;
40
- clean: string;
41
- refresh: string;
42
- };
43
- table: {
44
- ok: string;
45
- reset: string;
46
- custom_table_fields: string;
47
- custom_table_fields_desc: string;
48
- custom_table_rows: string;
49
- more: string;
50
- };
51
- steps: {
52
- cancel: string;
53
- next: string;
54
- prev: string;
55
- finish: string;
56
- };
57
- };
58
- };
59
- export default _default;
@@ -1,59 +0,0 @@
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
- select_all: string;
12
- more: string;
13
- };
14
- search_bar: {
15
- search: string;
16
- adv_search: string;
17
- ok: string;
18
- cancel: string;
19
- please_select: string;
20
- please_input: string;
21
- like: string;
22
- not_like: string;
23
- in: string;
24
- not_in: string;
25
- gt: string;
26
- ge: string;
27
- lt: string;
28
- le: string;
29
- eq: string;
30
- ne: string;
31
- between: string;
32
- select_date: string;
33
- start_date: string;
34
- end_date: string;
35
- select_date_time: string;
36
- start_date_time: string;
37
- end_date_time: string;
38
- range_separator: string;
39
- data_time_error: string;
40
- clean: string;
41
- refresh: string;
42
- };
43
- table: {
44
- ok: string;
45
- reset: string;
46
- custom_table_fields: string;
47
- custom_table_fields_desc: string;
48
- custom_table_rows: string;
49
- more: string;
50
- };
51
- steps: {
52
- cancel: string;
53
- next: string;
54
- prev: string;
55
- finish: string;
56
- };
57
- };
58
- };
59
- export default _default;
@@ -1,59 +0,0 @@
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
- select_all: string;
12
- more: string;
13
- };
14
- search_bar: {
15
- search: string;
16
- adv_search: string;
17
- ok: string;
18
- cancel: string;
19
- please_select: string;
20
- please_input: string;
21
- like: string;
22
- not_like: string;
23
- in: string;
24
- not_in: string;
25
- gt: string;
26
- ge: string;
27
- lt: string;
28
- le: string;
29
- eq: string;
30
- ne: string;
31
- between: string;
32
- select_date: string;
33
- start_date: string;
34
- end_date: string;
35
- select_date_time: string;
36
- start_date_time: string;
37
- end_date_time: string;
38
- range_separator: string;
39
- data_time_error: string;
40
- clean: string;
41
- refresh: string;
42
- };
43
- table: {
44
- ok: string;
45
- reset: string;
46
- custom_table_fields: string;
47
- custom_table_fields_desc: string;
48
- custom_table_rows: string;
49
- more: string;
50
- };
51
- steps: {
52
- cancel: string;
53
- next: string;
54
- prev: string;
55
- finish: string;
56
- };
57
- };
58
- };
59
- export default _default;