@kengic/vue 0.28.1-beta.9 → 0.28.2-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.
- package/dist/caret-right-outlined-Btgsw6a_.0434903b.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +72273 -70262
- package/dist/project/build/vite/plugin/index.ts +2 -3
- package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/SqlClientController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/api/WMS/models.d.ts +51 -1
- package/dist/src/component/KgModal/KgModal.d.ts +1 -1
- package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +1 -1
- package/dist/src/component/KgTable/KgTable.event.d.ts +6 -0
- package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.VarConfigDescription.store.d.ts +12 -0
- package/dist/src/component/KgVar/KgVar.VarGridConfig.store.d.ts +10 -0
- package/dist/src/component/KgVar/KgVar.VarGridMaster.store.d.ts +10 -0
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +25 -5
- package/dist/src/component/KgVar/KgVar.store.d.ts +1 -7
- package/dist/src/component/KgVarConfig/KgVarConfig.vm.d.ts +0 -5
- package/dist/src/const/const.vm.d.ts +3 -5
- package/dist/src/const/form-id.const.d.ts +6 -0
- package/dist/src/i18n/cs_CZ.d.ts +288 -0
- package/dist/src/i18n/en.d.ts +14 -0
- package/dist/src/i18n/es_ES.d.ts +14 -0
- package/dist/src/i18n/fr_FR.d.ts +14 -0
- package/dist/src/i18n/i18n.setup.d.ts +4 -3
- package/dist/src/i18n/km_KH.d.ts +14 -0
- package/dist/src/i18n/ko_KR.d.ts +14 -0
- package/dist/src/i18n/vi_VN.d.ts +14 -0
- package/dist/src/i18n/zh_CN.d.ts +14 -0
- package/dist/src/page/KgPageSqlClient/KgPageSqlClient.d.ts +12 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Editor.d.ts +11 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +36 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.d.ts +7 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.d.ts +5 -0
- package/dist/src/page/KgPageSqlClient/index.d.ts +1 -0
- package/dist/src/page/index.d.ts +0 -2
- package/dist/src/project/types/config.d.ts +2 -1
- package/dist/src/util/kg.util.d.ts +26 -6
- package/package.json +4 -4
- /package/dist/{close-outlined-DMcSQWxQ.084c8247.mjs → close-outlined-DMcSQWxQ.5c3bee6f.mjs} +0 -0
- /package/dist/{exclamation-circle-outlined-DZrXCnvM.731e46ba.mjs → exclamation-circle-outlined-DZrXCnvM.d94561db.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.01c6bbb7.mjs → fullscreen-exit-outlined-X1iYkFc4.a1640595.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.3b4bc9b9.mjs → fullscreen-outlined-DDBrsRcy.b9f9d4a1.mjs} +0 -0
- /package/dist/{search-outlined-Od1M_oxf.efc43746.mjs → search-outlined-Od1M_oxf.71fb0c01.mjs} +0 -0
- /package/dist/{three-dots-loading-bIlrTJYR.d0516412.mjs → three-dots-loading-bIlrTJYR.f189f620.mjs} +0 -0
@@ -5,6 +5,7 @@ import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '
|
|
5
5
|
* <p>已支持的语言.</p>
|
6
6
|
* <ul>
|
7
7
|
* <li> en: 英语</li>
|
8
|
+
* <li>cs_CZ: 捷克语_捷克</li>
|
8
9
|
* <li>es_ES: 西班牙语_西班牙</li>
|
9
10
|
* <li>fr_FR: 法语_法国</li>
|
10
11
|
* <li>km_KH: 高棉语_柬埔寨</li>
|
@@ -13,7 +14,7 @@ import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '
|
|
13
14
|
* <li>zh_CN: 汉语_中国</li>
|
14
15
|
* </ul>
|
15
16
|
*/
|
16
|
-
export declare type LocaleType = 'en' | 'es_ES' | 'fr_FR' | 'km_KH' | 'ko_KR' | 'vi_VN' | 'zh_CN';
|
17
|
+
export declare type LocaleType = 'en' | 'cs_CZ' | 'es_ES' | 'fr_FR' | 'km_KH' | 'ko_KR' | 'vi_VN' | 'zh_CN';
|
17
18
|
export interface MenuSetting {
|
18
19
|
bgColor: string;
|
19
20
|
fixed: boolean;
|
@@ -75,9 +75,10 @@ export declare class KgUtil {
|
|
75
75
|
value: any;
|
76
76
|
}): string;
|
77
77
|
/**
|
78
|
-
*
|
79
|
-
*
|
80
|
-
* https://www.antdv.com/components/modal
|
78
|
+
* <p>确认弹窗.</p>
|
79
|
+
* <p>设置了多个属性的默认值, 简化使用.</p>
|
80
|
+
* <p>https://www.antdv.com/components/modal</p>
|
81
|
+
*
|
81
82
|
* @param props
|
82
83
|
*/
|
83
84
|
static confirm(props: IKgVarButtonModalProperties): ModalFunc;
|
@@ -114,7 +115,7 @@ export declare class KgUtil {
|
|
114
115
|
/** 隐藏全局遮罩. */
|
115
116
|
static hideLoading(): void;
|
116
117
|
/**
|
117
|
-
* <p>使用 lodash 的 snakeCase() 将字符串转换为 snake_case
|
118
|
+
* <p>使用 lodash 的 snakeCase() 将字符串转换为 snake_case 的命名方式, 并且去掉数字前面的下划线.</p>
|
118
119
|
*
|
119
120
|
* @param value 转换前的字符串.
|
120
121
|
* @return 转换后的字符串.
|
@@ -259,9 +260,15 @@ export declare class KgUtil {
|
|
259
260
|
* @param controlType 控件类型.
|
260
261
|
*/
|
261
262
|
static getDynamicQueryOperatorSelectOptions(controlType: KG__VAR_CONFIG_CONTROL__CONTROL_TYPE | null | undefined): any;
|
263
|
+
/**
|
264
|
+
* 如果属性值是动态参数值 {@link KG__DYNAMIC_PARAM}, 则给属性值的花括号里面的前后加上特殊字符 #, 防止它被解析成实际的值.
|
265
|
+
*
|
266
|
+
* @param params
|
267
|
+
*/
|
268
|
+
static insertHashToDynamicQueryParams(params: any): void;
|
262
269
|
/**
|
263
270
|
* <p>根据查询条件拼接 SQL 语句片段.</p>
|
264
|
-
* <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY
|
271
|
+
* <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY ...`, 每一个片段会单独作为一个属性返回.</p>
|
265
272
|
* <ul>
|
266
273
|
* <li>如果 dynamicQueryOperatorModel 传值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
|
267
274
|
* <li>如果 dynamicQueryOperatorModel 没有传值, 但是 formID 传值, 表示通过变量配置获取高级查询操作符.</li>
|
@@ -280,11 +287,24 @@ export declare class KgUtil {
|
|
280
287
|
kgSearchFormID: string | null | undefined;
|
281
288
|
params: Record<string, any> | null | undefined;
|
282
289
|
}): {
|
283
|
-
offsetSql: string;
|
284
290
|
operatorJSON: string;
|
285
291
|
orderBySql: string;
|
286
292
|
sql: string;
|
287
293
|
whereSql: string;
|
294
|
+
} | {
|
295
|
+
/**
|
296
|
+
* 查询操作符的 JSON 字符串.
|
297
|
+
*/
|
298
|
+
operatorJSON: string;
|
299
|
+
/**
|
300
|
+
* ORDER BY.
|
301
|
+
*/
|
302
|
+
orderBySql: string;
|
303
|
+
/**
|
304
|
+
* WHERE .
|
305
|
+
*/
|
306
|
+
whereSql: string;
|
307
|
+
sql?: undefined;
|
288
308
|
};
|
289
309
|
}
|
290
310
|
export declare type ModalFunc = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.28.
|
3
|
+
"version": "0.28.2-beta.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -17,12 +17,12 @@
|
|
17
17
|
"------- ------------------------------------------": "",
|
18
18
|
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
19
19
|
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
20
|
-
"----- --------------------------------------------": "",
|
20
|
+
"----- --------------------------------------------": "更新组件库的版本",
|
21
21
|
"bump:major": "npm run use-node && tsx script/bump.ts major",
|
22
22
|
"bump:minor": "npm run use-node && tsx script/bump.ts minor",
|
23
23
|
"bump:patch": "npm run use-node && tsx script/bump.ts patch",
|
24
24
|
"bump:beta": "npm run use-node && tsx script/bump.ts beta",
|
25
|
-
"---- ---------------------------------------------": "",
|
25
|
+
"---- ---------------------------------------------": "发布到 npmjs 仓库",
|
26
26
|
"publish:npm": "npm run use-node && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
|
27
27
|
},
|
28
28
|
"peerDependencies": {
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"@iconify-icons/ph": "1.2.5",
|
40
40
|
"@iconify/vue": "4.1.2",
|
41
41
|
"@kengic/core.core": "0.0.1-beta.22",
|
42
|
-
"@kengic/core.react": "0.0.2-beta.
|
42
|
+
"@kengic/core.react": "0.0.2-beta.42",
|
43
43
|
"@kengic/pont": "1.2.17-beta.5",
|
44
44
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
45
45
|
"@thymine/xunee": "0.4.9-beta.8",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{search-outlined-Od1M_oxf.efc43746.mjs → search-outlined-Od1M_oxf.71fb0c01.mjs}
RENAMED
File without changes
|
/package/dist/{three-dots-loading-bIlrTJYR.d0516412.mjs → three-dots-loading-bIlrTJYR.f189f620.mjs}
RENAMED
File without changes
|