@kengic/vue 0.23.3-beta.1 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +2718 -2332
- package/dist/search-outlined.8364f123.mjs +8 -0
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +4 -4
- package/dist/src/components/KgAppSelect/index.store.d.ts +2 -2
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +3 -3
- package/dist/src/components/KgButton/index.hooks.d.ts +11 -9
- package/dist/src/components/KgButton/index.store.d.ts +2 -2
- package/dist/src/components/KgForm/index.hooks.d.ts +18 -18
- package/dist/src/components/KgForm/index.store.d.ts +9 -3
- package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +3 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +2 -2
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -4
- package/dist/src/components/KgSearch/index.hooks.d.ts +6 -6
- package/dist/src/components/KgSearch/index.store.d.ts +2 -2
- package/dist/src/components/KgSubmit/index.hooks.d.ts +16 -16
- package/dist/src/components/KgSubmit/index.store.d.ts +2 -2
- package/dist/src/components/KgTable/index.hooks.d.ts +18 -18
- package/dist/src/components/KgTable/index.store.d.ts +3 -3
- package/dist/src/components/KgVar/index.hooks.d.ts +2 -2
- package/dist/src/components/KgVar/index.store.d.ts +2 -2
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +2 -2
- package/dist/src/components/KgWarehouse/index.store.d.ts +2 -2
- package/dist/src/consts/index.vm.d.ts +17 -12
- package/dist/src/utils/kg.util.d.ts +2 -2
- package/dist/upload-outlined.7ffb99b8.mjs +8 -0
- package/package.json +1 -1
- /package/dist/src/components/KgButton/components/{KgButton.ExportTemplate.d.ts → KgButton.ImportTemplate.d.ts} +0 -0
@@ -28,7 +28,7 @@ export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
|
|
28
28
|
/**
|
29
29
|
* 表单控件类型.
|
30
30
|
* @see VarConfigControl.ctrl_prop
|
31
|
-
* @see
|
31
|
+
* @see IKgVarConfigControlControlProperties
|
32
32
|
*/
|
33
33
|
export declare enum KG__VAR_CONFIG_CONTROL__CONTROL_TYPE {
|
34
34
|
/** 单行文本. */
|
@@ -39,26 +39,26 @@ export declare enum KG__VAR_CONFIG_CONTROL__CONTROL_TYPE {
|
|
39
39
|
INPUT_NUMBER = "INPUT_NUMBER",
|
40
40
|
/**
|
41
41
|
* <p>多行文本.</p>
|
42
|
-
* <p>配置属性参见 {@link
|
42
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.TEXT_AREA}.</p>
|
43
43
|
*/
|
44
44
|
TEXT_AREA = "TEXT_AREA",
|
45
45
|
/** 多选框. */
|
46
46
|
CHECKBOX = "CHECKBOX",
|
47
47
|
/**
|
48
48
|
* <p>多选框列表.</p>
|
49
|
-
* <p>配置属性参见 {@link
|
49
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.CHECKBOX_GROUP}.</p>
|
50
50
|
*/
|
51
51
|
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
52
52
|
/**
|
53
53
|
* <p>单选框列表.</p>
|
54
|
-
* <p>配置属性参见 {@link
|
54
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.RADIO_GROUP}.</p>
|
55
55
|
*/
|
56
56
|
RADIO_GROUP = "RADIO_GROUP",
|
57
57
|
/** 开关. */
|
58
58
|
SWITCH = "SWITCH",
|
59
59
|
/**
|
60
60
|
* <p>单选下拉列表.<p>
|
61
|
-
* <p>配置属性参见 {@link
|
61
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.SELECT}.</p>
|
62
62
|
*/
|
63
63
|
SELECT = "SELECT",
|
64
64
|
/** 多选下拉列表. */
|
@@ -130,7 +130,7 @@ export declare enum KG__API_METHOD {
|
|
130
130
|
* @see VarGridDetail.display_type_properties
|
131
131
|
* @see IKgVarGridDetailDisplayTypeProperties
|
132
132
|
*/
|
133
|
-
export declare const enum
|
133
|
+
export declare const enum KG__VAR_GRID_DETAIL__DISPLAY_TYPE {
|
134
134
|
/** 布尔数据, 使用 KgYesOrNo 组件显示. */
|
135
135
|
YN = "YN",
|
136
136
|
/**
|
@@ -147,7 +147,7 @@ export declare const enum KG_TABLE_CELL_DISPLAY_TYPE {
|
|
147
147
|
* </p>
|
148
148
|
*/
|
149
149
|
DESC = "DESC",
|
150
|
-
/** @deprecated 请使用 {@link
|
150
|
+
/** @deprecated 请使用 {@link KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC}. */
|
151
151
|
ENUM = "ENUM",
|
152
152
|
/** 进度条, 使用 KgProgressA 组件显示. */
|
153
153
|
PROGRESS = "PROGRESS",
|
@@ -160,7 +160,11 @@ export declare const enum KG_TABLE_CELL_DISPLAY_TYPE {
|
|
160
160
|
/**
|
161
161
|
* <p>图片, 可以点击预览大图.</p>
|
162
162
|
*/
|
163
|
-
IMAGE = "IMAGE"
|
163
|
+
IMAGE = "IMAGE",
|
164
|
+
/**
|
165
|
+
* <p>图标, 使用 iconify 进行渲染.</p>
|
166
|
+
*/
|
167
|
+
ICON = "ICON"
|
164
168
|
}
|
165
169
|
/** 按钮类型. */
|
166
170
|
export declare const enum KG_BUTTON_TYPE {
|
@@ -331,8 +335,8 @@ export declare const enum KG__VAR_SUBMIT_CONFIG_LABEL_COLUMN_UNIT {
|
|
331
335
|
* 导出 EXCEL 文件的后缀.
|
332
336
|
*/
|
333
337
|
export declare const enum KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX {
|
334
|
-
XLS = "
|
335
|
-
XLSX = "
|
338
|
+
XLS = "XLS",
|
339
|
+
XLSX = "XLSX"
|
336
340
|
}
|
337
341
|
/** 系统描述表中的键. */
|
338
342
|
export declare const enum KG_DESCRIPTION_CODE_NAME {
|
@@ -456,7 +460,7 @@ export interface IKgVarSubmitConfigProperties {
|
|
456
460
|
* @see VarConfigControl.ctrl_prop
|
457
461
|
* @see KG_FORM_ITEM_TYPE
|
458
462
|
*/
|
459
|
-
export interface
|
463
|
+
export interface IKgVarConfigControlControlProperties {
|
460
464
|
CHECKBOX_GROUP: {
|
461
465
|
/**
|
462
466
|
* 数据项的宽度.
|
@@ -516,7 +520,7 @@ export interface IKgVarConfigControlProperties {
|
|
516
520
|
* 对应的是 {@link VarGridDetail.display_type_properties} 字段, 根据显示类型, 设置额外的参数.
|
517
521
|
*
|
518
522
|
* @see VarGridDetail.display_type_properties
|
519
|
-
* @see
|
523
|
+
* @see KG__VAR_GRID_DETAIL__DISPLAY_TYPE
|
520
524
|
*/
|
521
525
|
export interface IKgVarGridDetailDisplayTypeProperties {
|
522
526
|
DESC: {
|
@@ -632,4 +636,5 @@ export interface IKgVarGridDetailDisplayTypeProperties {
|
|
632
636
|
*/
|
633
637
|
yValue?: any;
|
634
638
|
};
|
639
|
+
ICON: {};
|
635
640
|
}
|
@@ -23,8 +23,8 @@ export declare class KgUtil {
|
|
23
23
|
* @param fileName 文件名称, 包含后缀.
|
24
24
|
* @param contentType <p>文件类型. 如果为空, 则根据文件名的后缀自动设置.</p>
|
25
25
|
* <ul>
|
26
|
-
* <li
|
27
|
-
* <li
|
26
|
+
* <li>{@link KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX.XLS}: <code>application/vnd.ms-excel</code></li>
|
27
|
+
* <li>{@link KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX.XLSX}: <code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code></li>
|
28
28
|
* </ul>
|
29
29
|
*/
|
30
30
|
static downloadFile(data: string | BlobPart, fileName: string, contentType?: string): void;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
const c = {
|
2
|
+
width: 1024,
|
3
|
+
height: 1024,
|
4
|
+
body: '<path fill="currentColor" d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 0 0-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"/>'
|
5
|
+
};
|
6
|
+
export {
|
7
|
+
c as default
|
8
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.23.3
|
3
|
+
"version": "0.23.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",
|
File without changes
|