@wx-design/components 2.0.0-alpha.10 → 2.0.0-alpha.11

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 (55) hide show
  1. package/es/core/ConfigProvider/index.d.ts +109 -3
  2. package/es/core/Input/index.vue.d.ts +1114 -0
  3. package/es/core/Modal/index.vue.d.ts +14 -14
  4. package/es/core/Select/index.vue.d.ts +4 -4
  5. package/es/core/Table/components/CellEditors/Boolean.d.ts +6 -8
  6. package/es/core/Table/components/CellEditors/Select.d.ts +2 -2
  7. package/es/core/Table/components/FilterTagsDisplay/index.vue.d.ts +1 -1
  8. package/es/core/Table/components/TableSet/ColumnSet.vue.d.ts +2 -499
  9. package/es/core/Table/components/TableSet/ColumnSetBody.vue.d.ts +524 -0
  10. package/es/core/Table/components/TableSet/index.vue.d.ts +1 -6
  11. package/es/core/Table/components/TableSet/store.d.ts +11 -0
  12. package/es/core/Table/components/TableSet/utils.d.ts +9 -9
  13. package/es/core/Table/hooks/useTableCore.d.ts +1 -1
  14. package/es/core/Table/hooks/useTableFilters.d.ts +4 -3
  15. package/es/core/Table/index.vue.d.ts +12 -5
  16. package/es/core/Table/store.d.ts +4 -0
  17. package/es/index.d.ts +1 -0
  18. package/es/index.mjs +38798 -29763
  19. package/es/locales/lang/bn.d.ts +39 -1
  20. package/es/locales/lang/en.d.ts +39 -1
  21. package/es/locales/lang/vi.d.ts +39 -1
  22. package/es/locales/lang/zh-cn.d.ts +39 -1
  23. package/es/locales/useLocale.d.ts +39 -1
  24. package/es/style.css +1 -1
  25. package/lib/core/ConfigProvider/index.d.ts +109 -3
  26. package/lib/core/Input/index.vue.d.ts +1114 -0
  27. package/lib/core/Modal/index.vue.d.ts +14 -14
  28. package/lib/core/Select/index.vue.d.ts +4 -4
  29. package/lib/core/Table/components/CellEditors/Boolean.d.ts +6 -8
  30. package/lib/core/Table/components/CellEditors/Select.d.ts +2 -2
  31. package/lib/core/Table/components/FilterTagsDisplay/index.vue.d.ts +1 -1
  32. package/lib/core/Table/components/TableSet/ColumnSet.vue.d.ts +2 -499
  33. package/lib/core/Table/components/TableSet/ColumnSetBody.vue.d.ts +524 -0
  34. package/lib/core/Table/components/TableSet/index.vue.d.ts +1 -6
  35. package/lib/core/Table/components/TableSet/store.d.ts +11 -0
  36. package/lib/core/Table/components/TableSet/utils.d.ts +9 -9
  37. package/lib/core/Table/hooks/useTableCore.d.ts +1 -1
  38. package/lib/core/Table/hooks/useTableFilters.d.ts +4 -3
  39. package/lib/core/Table/index.vue.d.ts +12 -5
  40. package/lib/core/Table/store.d.ts +4 -0
  41. package/lib/index.d.ts +1 -0
  42. package/lib/index.js +6 -5
  43. package/lib/locales/lang/bn.d.ts +39 -1
  44. package/lib/locales/lang/en.d.ts +39 -1
  45. package/lib/locales/lang/vi.d.ts +39 -1
  46. package/lib/locales/lang/zh-cn.d.ts +39 -1
  47. package/lib/locales/useLocale.d.ts +39 -1
  48. package/lib/style.css +1 -1
  49. package/package.json +4 -4
  50. package/types/index.d.ts +27 -15
  51. package/types/input/index.d.ts +83 -0
  52. package/types/select/index.d.ts +2 -0
  53. package/types/table/column.d.ts +2 -2
  54. package/types/table/table-set.d.ts +4 -18
  55. package/types/table/table.d.ts +4 -0
@@ -2,7 +2,7 @@ import { App, Ref, InjectionKey } from 'vue';
2
2
  import { default as zhCn } from '../../locales/lang/zh-cn';
3
3
  export declare const injectSabDesignLocaleKey: InjectionKey<Ref<typeof zhCn>>;
4
4
  export declare const useConfigProvide: () => {
5
- locale: {
5
+ locale: Ref<{
6
6
  sabDesign: {
7
7
  table: {
8
8
  set: {
@@ -11,13 +11,42 @@ export declare const useConfigProvide: () => {
11
11
  seq: string;
12
12
  fieldName: string;
13
13
  show: string;
14
- enableBatchAction: string;
15
14
  field: string;
15
+ renderFixed: string;
16
+ width: string;
17
+ fixedLeft: string;
18
+ fixedRight: string;
19
+ fixedNone: string;
16
20
  };
17
21
  filter: {
18
22
  selectAll: string;
19
23
  filter: string;
20
24
  reset: string;
25
+ custom: string;
26
+ customFilter: {
27
+ title: string;
28
+ condition1: string;
29
+ condition2: string;
30
+ confirm: string;
31
+ cancel: string;
32
+ required: string;
33
+ operators: {
34
+ eq: string;
35
+ gt: string;
36
+ gte: string;
37
+ lt: string;
38
+ lte: string;
39
+ null: string;
40
+ notNull: string;
41
+ like: string;
42
+ startsWith: string;
43
+ endsWith: string;
44
+ };
45
+ connectors: {
46
+ and: string;
47
+ or: string;
48
+ };
49
+ };
21
50
  };
22
51
  filterTags: {
23
52
  label: string;
@@ -30,9 +59,86 @@ export declare const useConfigProvide: () => {
30
59
  total: string;
31
60
  close: string;
32
61
  confirm: string;
62
+ custom: {
63
+ confirmButtonText: string;
64
+ resetButtonText: string;
65
+ cancelButtonText: string;
66
+ closeButtonText: string;
67
+ modal: {
68
+ title: string;
69
+ };
70
+ };
71
+ };
72
+ };
73
+ }, {
74
+ sabDesign: {
75
+ table: {
76
+ set: {
77
+ selectAll: string;
78
+ tableConfig: string;
79
+ seq: string;
80
+ fieldName: string;
81
+ show: string;
82
+ field: string;
83
+ renderFixed: string;
84
+ width: string;
85
+ fixedLeft: string;
86
+ fixedRight: string;
87
+ fixedNone: string;
88
+ };
89
+ filter: {
90
+ selectAll: string;
91
+ filter: string;
92
+ reset: string;
93
+ custom: string;
94
+ customFilter: {
95
+ title: string;
96
+ condition1: string;
97
+ condition2: string;
98
+ confirm: string;
99
+ cancel: string;
100
+ required: string;
101
+ operators: {
102
+ eq: string;
103
+ gt: string;
104
+ gte: string;
105
+ lt: string;
106
+ lte: string;
107
+ null: string;
108
+ notNull: string;
109
+ like: string;
110
+ startsWith: string;
111
+ endsWith: string;
112
+ };
113
+ connectors: {
114
+ and: string;
115
+ or: string;
116
+ };
117
+ };
118
+ };
119
+ filterTags: {
120
+ label: string;
121
+ clearAll: string;
122
+ booleanTrue: string;
123
+ booleanFalse: string;
124
+ };
125
+ loadingText: string;
126
+ emptyText: string;
127
+ total: string;
128
+ close: string;
129
+ confirm: string;
130
+ custom: {
131
+ confirmButtonText: string;
132
+ resetButtonText: string;
133
+ cancelButtonText: string;
134
+ closeButtonText: string;
135
+ modal: {
136
+ title: string;
137
+ };
138
+ };
33
139
  };
34
140
  };
35
- };
141
+ }>;
36
142
  };
37
143
  export declare const ConfigProvider: {
38
144
  install(app: App): any;