@kengic/vue 0.4.3 → 0.4.4-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.
@@ -4,7 +4,6 @@ declare const _default: import("vue").DefineComponent<{
4
4
  kgType: import("vue").PropType<import("../../..").KG_BTN_TYPE | null>;
5
5
  kgPrimary: {
6
6
  type: import("vue").PropType<boolean | null | undefined>;
7
- /** 点击按钮. */
8
7
  default: undefined;
9
8
  };
10
9
  kgIcon: import("vue").PropType<string | null>;
@@ -18,7 +17,6 @@ declare const _default: import("vue").DefineComponent<{
18
17
  kgType: import("vue").PropType<import("../../..").KG_BTN_TYPE | null>;
19
18
  kgPrimary: {
20
19
  type: import("vue").PropType<boolean | null | undefined>;
21
- /** 点击按钮. */
22
20
  default: undefined;
23
21
  };
24
22
  kgIcon: import("vue").PropType<string | null>;
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
6
6
  kgPrimary: {
7
7
  type: import("vue").PropType<boolean | null | undefined>;
8
8
  default: undefined;
9
- };
9
+ }; /** 点击按钮. */
10
10
  kgIcon: import("vue").PropType<string | null>;
11
11
  kgText: import("vue").PropType<string | null>;
12
12
  kgColor: import("vue").PropType<KG_BTN_COLOR | null>;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  kgPrimary: {
20
20
  type: import("vue").PropType<boolean | null | undefined>;
21
21
  default: undefined;
22
- };
22
+ }; /** 点击按钮. */
23
23
  kgIcon: import("vue").PropType<string | null>;
24
24
  kgText: import("vue").PropType<string | null>;
25
25
  kgColor: import("vue").PropType<KG_BTN_COLOR | null>;
@@ -0,0 +1,7 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type IKgSearchConfigModalConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import './KgSearch.ConfigModal.less';
3
+ export declare const getProps: () => {
4
+ /** 主页面的页面标识. */
5
+ hostFormID: PropType<string>;
6
+ };
7
+ export declare type IKgSearchConfigModalProfileProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
8
+ declare const _default: import("vue").DefineComponent<{
9
+ /** 主页面的页面标识. */
10
+ hostFormID: PropType<string>;
11
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
12
+ /** 主页面的页面标识. */
13
+ hostFormID: PropType<string>;
14
+ }>>, {}>;
15
+ export default _default;
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgSearch.ConfigModal.less';
3
2
  export declare const getProps: () => {
4
3
  visible: PropType<boolean>;
5
4
  'onUpdate:visible': PropType<(value: boolean) => void>;
@@ -1,17 +1,24 @@
1
1
  import { PropType } from 'vue';
2
+ import { IKgTableRecord } from '../index.vm';
2
3
  import './KgTable.Cell.less';
3
4
  export declare const getProps: () => {
5
+ /** 行. */
6
+ kgRow: PropType<IKgTableRecord<{}>>;
4
7
  /** 列值. */
5
8
  kgValue: PropType<any>;
6
9
  /** 变量名称. */
7
10
  kgVarName: PropType<string | null>;
8
11
  };
9
12
  declare const _default: import("vue").DefineComponent<{
13
+ /** 行. */
14
+ kgRow: PropType<IKgTableRecord<{}>>;
10
15
  /** 列值. */
11
16
  kgValue: PropType<any>;
12
17
  /** 变量名称. */
13
18
  kgVarName: PropType<string | null>;
14
19
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ /** 行. */
21
+ kgRow: PropType<IKgTableRecord<{}>>;
15
22
  /** 列值. */
16
23
  kgValue: PropType<any>;
17
24
  /** 变量名称. */
@@ -17,6 +17,8 @@ export interface IKgTableBodyCell<T = {}> {
17
17
  }
18
18
  /**
19
19
  * 对应于 {@link VarGridDetail.display_type_properties} 字段, 不同显示类型的参数.
20
+ * @see VarGridDetail.display_type_properties
21
+ * @see KG_TD_DISPLAY_TYPE
20
22
  */
21
23
  export interface IKgTableCellDisplayTypeProperties {
22
24
  YN: {
@@ -31,6 +33,21 @@ export interface IKgTableCellDisplayTypeProperties {
31
33
  */
32
34
  nValue: any;
33
35
  };
36
+ PROGRESS: {
37
+ /**
38
+ * 左侧数值对应的列.
39
+ */
40
+ leftColumn: string;
41
+ /**
42
+ * 右侧数值对应的列.
43
+ */
44
+ rightColumn: string;
45
+ /**
46
+ * 右侧文本的宽度.
47
+ * @default 'auto'
48
+ */
49
+ textWidth: 'auto' | string;
50
+ };
34
51
  }
35
52
  /** 列的默认宽度. 如果 VarGridDetail 没有配置宽度, 则使用该宽度. */
36
53
  export declare const KG_TABLE_TD_DEFAULT_WIDTH = 120;
@@ -3,13 +3,19 @@ import './KgVar.less';
3
3
  export declare const getProps: () => {
4
4
  /** 插槽. */
5
5
  kgSlots: PropType<Record<string, any>>;
6
+ /** 是否使用灰色背景. */
7
+ KgBackgroundGray: PropType<boolean>;
6
8
  };
7
9
  export declare type IKgVarProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
8
10
  declare const _default: import("vue").DefineComponent<{
9
11
  /** 插槽. */
10
12
  kgSlots: PropType<Record<string, any>>;
13
+ /** 是否使用灰色背景. */
14
+ KgBackgroundGray: PropType<boolean>;
11
15
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
12
16
  /** 插槽. */
13
17
  kgSlots: PropType<Record<string, any>>;
18
+ /** 是否使用灰色背景. */
19
+ KgBackgroundGray: PropType<boolean>;
14
20
  }>>, {}>;
15
21
  export default _default;
@@ -6,9 +6,10 @@ declare const _default: {
6
6
  KgSearchConfigModal: {
7
7
  canNotUpdateSystemVarProfileMaster: string;
8
8
  close: string;
9
+ config: string;
9
10
  formTitle: string;
10
11
  pleaseSelectVarProfileMaster: string;
11
- title: string;
12
+ profile: string;
12
13
  };
13
14
  KgTable: {
14
15
  column: string;
@@ -7,9 +7,10 @@ export declare const KG_I18N: {
7
7
  KgSearchConfigModal: {
8
8
  canNotUpdateSystemVarProfileMaster: string;
9
9
  close: string;
10
+ config: string;
10
11
  formTitle: string;
11
12
  pleaseSelectVarProfileMaster: string;
12
- title: string;
13
+ profile: string;
13
14
  };
14
15
  KgTable: {
15
16
  column: string;
@@ -87,9 +88,10 @@ export declare const KG_I18N: {
87
88
  KgSearchConfigModal: {
88
89
  canNotUpdateSystemVarProfileMaster: string;
89
90
  close: string;
91
+ config: string;
90
92
  formTitle: string;
91
93
  pleaseSelectVarProfileMaster: string;
92
- title: string;
94
+ profile: string;
93
95
  };
94
96
  KgTable: {
95
97
  column: string;
@@ -6,9 +6,10 @@ declare const _default: {
6
6
  KgSearchConfigModal: {
7
7
  canNotUpdateSystemVarProfileMaster: string;
8
8
  close: string;
9
+ config: string;
9
10
  formTitle: string;
10
11
  pleaseSelectVarProfileMaster: string;
11
- title: string;
12
+ profile: string;
12
13
  };
13
14
  KgTable: {
14
15
  column: string;
@@ -50,7 +50,9 @@ export declare const enum KG_CONTROL_CONTEXT {
50
50
  /** 表格单元格子显示类型. */
51
51
  export declare const enum KG_TD_DISPLAY_TYPE {
52
52
  /** 布尔数据, 使用 KgYesOrNo 组件显示. */
53
- YN = "YN"
53
+ YN = "YN",
54
+ /** 进度条, 使用 KgProgressA 组件显示. */
55
+ PROGRESS = "PROGRESS"
54
56
  }
55
57
  /** 所有模块. */
56
58
  export declare const KG_APPS: Array<KG_APP>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.4.3",
3
+ "version": "0.4.4-beta.0",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",