@kengic/vue 0.5.4 → 0.5.5

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.
@@ -45,6 +45,10 @@ export declare class VarButton {
45
45
  dis_no_select_flg?: number | null;
46
46
  /** 是否启用(EnableFlag). */
47
47
  ena_flg?: number | null;
48
+ /** 导出 EXCEL 的文件名. */
49
+ export_excel_filename?: string | null;
50
+ /** 导出 EXCEL 的文件名后缀. */
51
+ export_excel_suffix?: string | null;
48
52
  /** 界面标识(FormID). */
49
53
  frm_id?: string | null;
50
54
  /** 按钮图标(Icon). */
@@ -5,9 +5,9 @@ declare const _default: import("vue").DefineComponent<{
5
5
  kgType: import("vue").PropType<import("../../../consts").KG_BTN_TYPE | null>;
6
6
  kgPrimary: {
7
7
  type: import("vue").PropType<boolean | null | undefined>;
8
- /** 点击按钮. */
9
8
  default: undefined;
10
9
  };
10
+ /** 点击按钮. */
11
11
  kgIcon: import("vue").PropType<string | null>;
12
12
  kgText: import("vue").PropType<string | null>;
13
13
  kgColor: import("vue").PropType<KG_BTN_COLOR | null>;
@@ -20,9 +20,9 @@ declare const _default: import("vue").DefineComponent<{
20
20
  kgType: import("vue").PropType<import("../../../consts").KG_BTN_TYPE | null>;
21
21
  kgPrimary: {
22
22
  type: import("vue").PropType<boolean | null | undefined>;
23
- /** 点击按钮. */
24
23
  default: undefined;
25
24
  };
25
+ /** 点击按钮. */
26
26
  kgIcon: import("vue").PropType<string | null>;
27
27
  kgText: import("vue").PropType<string | null>;
28
28
  kgColor: import("vue").PropType<KG_BTN_COLOR | null>;
@@ -35,10 +35,10 @@ declare const _default: {
35
35
  KgTableSettingGridConfigModal: {
36
36
  title: string;
37
37
  };
38
- KgTableSettingVarGridMasterModal: {
38
+ KgTableSettingSaveGridMaster: {
39
39
  title: string;
40
40
  };
41
- KgTableSettingSaveGridMaster: {
41
+ KgTableSettingVarGridMasterModal: {
42
42
  title: string;
43
43
  };
44
44
  KgVarConfig: {
@@ -88,6 +88,7 @@ declare const _default: {
88
88
  edit: string;
89
89
  emptyText: string;
90
90
  export: string;
91
+ exportSuccess: string;
91
92
  import: string;
92
93
  lookup: string;
93
94
  no: string;
@@ -35,10 +35,10 @@ declare const _default: {
35
35
  KgTableSettingGridConfigModal: {
36
36
  title: string;
37
37
  };
38
- KgTableSettingVarGridMasterModal: {
38
+ KgTableSettingSaveGridMaster: {
39
39
  title: string;
40
40
  };
41
- KgTableSettingSaveGridMaster: {
41
+ KgTableSettingVarGridMasterModal: {
42
42
  title: string;
43
43
  };
44
44
  KgVarConfig: {
@@ -87,6 +87,7 @@ declare const _default: {
87
87
  edit: string;
88
88
  emptyText: string;
89
89
  export: string;
90
+ exportSuccess: string;
90
91
  import: string;
91
92
  lookup: string;
92
93
  no: string;
@@ -127,6 +127,11 @@ export declare const enum KG_WIDTH_UNIT {
127
127
  /** 像素. */
128
128
  PX = "PX"
129
129
  }
130
+ /** EXCEL 文件后缀. */
131
+ export declare const enum KG_EXCEL_SUFFIX {
132
+ XLS = "xls",
133
+ XLSX = "xlsx"
134
+ }
130
135
  /** 系统描述表中的键. */
131
136
  export declare const enum KG_DESCRIPTION_CODE_NAME {
132
137
  /** 是否. */
@@ -22,7 +22,7 @@ export declare class KgUtil {
22
22
  * @param fileName 文件名称, 包含后缀.
23
23
  * @param contentType 文件类型.
24
24
  */
25
- static downloadFile(data: string | BlobPart, fileName: string, contentType: string): void;
25
+ static downloadFile(data: string | BlobPart, fileName: string, contentType?: string): void;
26
26
  /**
27
27
  * 解析请求参数.
28
28
  * 1. 填充通用参数的值
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",