@kengic/vue 0.25.3-beta.0 → 0.25.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,265 @@
1
+ declare const _default: {
2
+ kg: {
3
+ KgAppSelect: {
4
+ businessManager: string;
5
+ dataManager: string;
6
+ sys: string;
7
+ tooltip: string;
8
+ };
9
+ KgButton: {
10
+ noApiUrl: string;
11
+ noVarSubmitConfig: string;
12
+ };
13
+ KgFormItem: {
14
+ formValidationMessageForGT: string;
15
+ formValidationMessageForGTE: string;
16
+ formValidationMessageForInvalidFloat: string;
17
+ formValidationMessageForInvalidInteger: string;
18
+ formValidationMessageForInvalidJSON: string;
19
+ formValidationMessageForInvalidLetter: string;
20
+ formValidationMessageForInvalidLowerLetter: string;
21
+ formValidationMessageForInvalidUpperLetter: string;
22
+ formValidationMessageForLT: string;
23
+ formValidationMessageForLTE: string;
24
+ formValidationMessageForMaxLength: string;
25
+ formValidationMessageForMinLength: string;
26
+ formValidationMessageForRegularExpression: string;
27
+ };
28
+ KgPageDdaCreate: {
29
+ 'confirm-cancel': string;
30
+ done: string;
31
+ 'next-step': string;
32
+ 'previous-step': string;
33
+ };
34
+ KgPageDdaCreateBasic: {
35
+ 'form-id': string;
36
+ 'form-name': string;
37
+ maintenance: string;
38
+ sql: string;
39
+ type: string;
40
+ };
41
+ KgPageDdaCreateButton: {
42
+ 'button-var-name-reserved': string;
43
+ 'button-var-name-used': string;
44
+ };
45
+ KgPageDdaCreateMenu: {
46
+ 'parent-menu': string;
47
+ };
48
+ KgPageDdaCreateSearch: {
49
+ available: string;
50
+ 'column-desc': string;
51
+ 'column-name': string;
52
+ 'column-type': string;
53
+ selected: string;
54
+ };
55
+ KgPageDdaCreateSubmit: {
56
+ available: string;
57
+ 'column-desc': string;
58
+ 'column-name': string;
59
+ 'column-type': string;
60
+ selected: string;
61
+ };
62
+ KgPageDdaCreateTable: {
63
+ available: string;
64
+ 'column-desc': string;
65
+ 'column-name': string;
66
+ 'column-type': string;
67
+ selected: string;
68
+ };
69
+ KgSearch: {
70
+ title: string;
71
+ };
72
+ KgSearchConfigModal: {
73
+ BETWEEN: string;
74
+ 'BETWEEN-desc': string;
75
+ CONTAIN: string;
76
+ 'CONTAIN-desc': string;
77
+ END_WITH: string;
78
+ 'END_WITH-desc': string;
79
+ EQ: string;
80
+ 'EQ-desc': string;
81
+ GT: string;
82
+ 'GT-desc': string;
83
+ GTE: string;
84
+ 'GTE-desc': string;
85
+ IN: string;
86
+ 'IN-desc': string;
87
+ LT: string;
88
+ 'LT-desc': string;
89
+ LTE: string;
90
+ 'LTE-desc': string;
91
+ NE: string;
92
+ 'NE-desc': string;
93
+ START_WITH: string;
94
+ 'START_WITH-desc': string;
95
+ close: string;
96
+ formTitle: string;
97
+ pleaseSelectVarProfileMaster: string;
98
+ };
99
+ KgTable: {
100
+ apiNotSupportDynamicQuery: string;
101
+ column: string;
102
+ config: string;
103
+ emptyText: string;
104
+ isShowDescription: string;
105
+ other: string;
106
+ 'request-fail-error': string;
107
+ 'request-fail-no-data': string;
108
+ rowHeight: string;
109
+ rowHeightH: string;
110
+ rowHeightL: string;
111
+ rowHeightM: string;
112
+ 'save-var-grid-master-as-success-message': string;
113
+ saveVarGridMaster: string;
114
+ saveVarGridMasterAs: string;
115
+ saveVarGridMasterSuccessMessage: string;
116
+ totalText: string;
117
+ varGridMasters: string;
118
+ };
119
+ KgTableHeaderCell: {
120
+ align: string;
121
+ alignCenter: string;
122
+ alignLeft: string;
123
+ alignRight: string;
124
+ hide: string;
125
+ isEllipsis: string;
126
+ isFilter: string;
127
+ isFixToLeft: string;
128
+ isFixToRight: string;
129
+ isSort: string;
130
+ };
131
+ KgTableInfo: {
132
+ check: string;
133
+ clearCheck: string;
134
+ clearTable: string;
135
+ locate: string;
136
+ row: string;
137
+ };
138
+ KgTableSettingConfigModal: {};
139
+ KgTableSettingVarGridConfig: {};
140
+ KgTableSettingVarGridMasterSaveAs: {
141
+ title: string;
142
+ };
143
+ KgVar: {};
144
+ KgVarConfig: {
145
+ VarGridConfig: string;
146
+ VarGridMaster: string;
147
+ VarProfileConfig: string;
148
+ VarProfileMaster: string;
149
+ action: string;
150
+ allForm: string;
151
+ allLanguage: string;
152
+ canNotUpdateSystemVarGridMaster: string;
153
+ canNotUpdateSystemVarProfileMaster: string;
154
+ confirm: string;
155
+ createConfig: string;
156
+ currentForm: string;
157
+ currentLanguage: string;
158
+ customLevel: string;
159
+ emptyPageSizeOptions: string;
160
+ formId: string;
161
+ formValidationMessageForMaxAndMin: string;
162
+ formValidationMessageForMaxLengthAndMinLength: string;
163
+ invalidCommandParameter: string;
164
+ invalidPageSizeOption: string;
165
+ invalidPageSizeOptions: string;
166
+ pleaseSelectVariable: string;
167
+ tabButton: string;
168
+ tabChild: string;
169
+ tabSearch: string;
170
+ tabSubmit: string;
171
+ tabTable: string;
172
+ varVariable: string;
173
+ variable: string;
174
+ };
175
+ KgVarConfigModalButton: {
176
+ VarButton: string;
177
+ VarButtonConfig: string;
178
+ };
179
+ KgVarConfigModalChild: {
180
+ childVarName: string;
181
+ childVarNameDuplicate: string;
182
+ childVarNameRequired: string;
183
+ parentVarName: string;
184
+ parentVarNameDuplicate: string;
185
+ parentVarNameRequired: string;
186
+ };
187
+ KgVarConfigModalSubmit: {
188
+ VarSubmitConfig: string;
189
+ VarSubmitDetail: string;
190
+ };
191
+ KgVarConfigModalSubmitVarSubmitConfig: {
192
+ invalidWidthForSpan: string;
193
+ };
194
+ KgVarConfigModalTableVarGridMaster: {
195
+ DESC: string;
196
+ FILE_SIZE: string;
197
+ ICON: string;
198
+ IMAGE: string;
199
+ PROGRESS: string;
200
+ ROUTE_LINK: string;
201
+ UPDATE_LINK: string;
202
+ YN: string;
203
+ center: string;
204
+ left: string;
205
+ notSort: string;
206
+ right: string;
207
+ };
208
+ KgVarConfigSelectFormIdModal: {
209
+ title: string;
210
+ };
211
+ KgWarehouse: {
212
+ reloadMessage: string;
213
+ selectWarehouse: string;
214
+ title: string;
215
+ warehouse: string;
216
+ };
217
+ action: string;
218
+ add: string;
219
+ asc: string;
220
+ button: string;
221
+ cancel: string;
222
+ close: string;
223
+ confirm: string;
224
+ confirmDelete: string;
225
+ copy: string;
226
+ copySuccess: string;
227
+ create: string;
228
+ createSuccess: string;
229
+ default: string;
230
+ delete: string;
231
+ deleteSuccess: string;
232
+ desc: string;
233
+ edit: string;
234
+ empty: string;
235
+ emptyText: string;
236
+ executeSuccess: string;
237
+ export: string;
238
+ exportSuccess: string;
239
+ formId: string;
240
+ formName: string;
241
+ formValidationFail: string;
242
+ import: string;
243
+ 'import-template': string;
244
+ importSuccess: string;
245
+ importTemplate: string;
246
+ loading: string;
247
+ lookup: string;
248
+ no: string;
249
+ ok: string;
250
+ query: string;
251
+ refresh: string;
252
+ required: string;
253
+ reset: string;
254
+ save: string;
255
+ search: string;
256
+ selectAll: string;
257
+ show: string;
258
+ succeed: string;
259
+ tip: string;
260
+ update: string;
261
+ updateSuccess: string;
262
+ yes: string;
263
+ };
264
+ };
265
+ export default _default;
@@ -514,8 +514,6 @@ export interface Menu {
514
514
  children?: Menu[];
515
515
  [key: string]: any;
516
516
  }
517
- /** 语言. */
518
- export declare type IKgLocale = 'zh_CN' | 'en' | 'ru' | 'ja' | 'ko';
519
517
  /**
520
518
  * 按钮确认弹窗的参数.
521
519
  * <p>对应于 {@link VarButton#modal_props} 字段.</p>
@@ -6,7 +6,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
6
6
  import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
7
7
  import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
8
8
  export declare const formProps: () => {
9
- layout: PropType<"inline" | "vertical" | "horizontal">;
9
+ layout: PropType<"vertical" | "horizontal" | "inline">;
10
10
  labelCol: {
11
11
  type: PropType<Partial<ExtractPropTypes<{
12
12
  span: (NumberConstructor | StringConstructor)[];
@@ -1,3 +1,4 @@
1
1
  export * from './api';
2
+ export * from './components';
2
3
  export * from './enums';
3
4
  export * from './settings';
@@ -1,7 +1,19 @@
1
1
  import { ContentEnum, PermissionModeEnum, RouterTransitionEnum, SessionTimeoutProcessingEnum, SettingButtonPositionEnum, ThemeEnum } from '../src/enums/appEnum';
2
2
  import { CacheTypeEnum } from '../src/enums/cacheEnum';
3
3
  import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '../src/enums/menuEnum';
4
- export declare type LocaleType = 'zh_CN' | 'en' | 'ru' | 'ja' | 'ko';
4
+ /**
5
+ * <p>已支持的语言.</p>
6
+ * <ul>
7
+ * <li> en: 英语</li>
8
+ * <li>es_ES: 西班牙语_西班牙</li>
9
+ * <li>fr_FR: 法语_法国</li>
10
+ * <li>km_KH: 高棉语_柬埔寨</li>
11
+ * <li>ko_KR: 韩语_韩国</li>
12
+ * <li>vi_VN: 越南语_越南</li>
13
+ * <li>zh_CN: 汉语_中国</li>
14
+ * </ul>
15
+ */
16
+ export declare type LocaleType = 'en' | 'es_ES' | 'fr_FR' | 'km_KH' | 'ko_KR' | 'vi_VN' | 'zh_CN';
5
17
  export interface MenuSetting {
6
18
  bgColor: string;
7
19
  fixed: boolean;
@@ -35,7 +35,7 @@ declare class KgLogger {
35
35
  * @param collapsed 是否折叠.
36
36
  * @param style 样式.
37
37
  */
38
- static log(level: "debug" | "info" | "warn" | "error" | "deprecated" | undefined, message: string, args?: Record<string, any>, collapsed?: boolean, style?: string | null): void;
38
+ static log(level: "error" | "debug" | "info" | "warn" | "deprecated" | undefined, message: string, args?: Record<string, any>, collapsed?: boolean, style?: string | null): void;
39
39
  /**
40
40
  * 打印警告日志.
41
41
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.25.3-beta.0",
3
+ "version": "0.25.3",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
@@ -24,10 +24,12 @@
24
24
  "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
25
25
  "------- ------------------------------------------": "",
26
26
  "copy-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
27
+ "copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
27
28
  "copy-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts",
28
29
  "copy-to:luotao:smartfactory.tyre.haohua.gantry.was-java--main": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts",
29
30
  "--- ----------------------------------------------": "",
30
31
  "bump-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
32
+ "bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
31
33
  "bump-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts"
32
34
  },
33
35
  "peerDependencies": {