@kengic/vue 0.23.0 → 0.23.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +9391 -8199
  4. package/dist/project/build/script/buildConf.ts +1 -2
  5. package/dist/project/build/script/postBuild.ts +1 -1
  6. package/dist/project/src/api/sys/model/userModel.ts +1 -0
  7. package/dist/setting-outlined.7f72790b.mjs +8 -0
  8. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +2 -0
  9. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -7
  10. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  11. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  12. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +2 -0
  13. package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
  14. package/dist/src/apis/WMS/models.d.ts +27 -11
  15. package/dist/src/components/KgAppSelect/index.hooks.d.ts +3 -3
  16. package/dist/src/components/KgAppSelect/index.store.d.ts +30 -29
  17. package/dist/src/components/KgButton/KgButton.Item.d.ts +15 -15
  18. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +15 -15
  19. package/dist/src/components/KgButton/KgButton.d.ts +18 -12
  20. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +14 -14
  21. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +14 -14
  22. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +15 -15
  23. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +14 -14
  24. package/dist/src/components/KgButton/components/KgButton.ExportTemplate.d.ts +14 -14
  25. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +14 -14
  26. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +15 -15
  27. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +15 -15
  28. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +14 -14
  29. package/dist/src/components/KgButton/index.d.ts +4 -4
  30. package/dist/src/components/KgButton/index.hooks.d.ts +7 -5
  31. package/dist/src/components/KgButton/index.store.d.ts +19 -16
  32. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  33. package/dist/src/components/KgForm/index.d.ts +4 -4
  34. package/dist/src/components/KgForm/index.hooks.d.ts +21 -8
  35. package/dist/src/components/KgForm/index.store.d.ts +74 -34
  36. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
  37. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +3 -3
  38. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +8 -7
  39. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +6 -7
  40. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +6 -5
  41. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +6 -5
  42. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +3 -3
  43. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +6 -5
  44. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +6 -5
  45. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -5
  46. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -3
  47. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +16 -13
  48. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +6 -5
  49. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +6 -5
  50. package/dist/src/components/KgForm.Item/index.d.ts +1 -1
  51. package/dist/src/components/KgForm.Item/index.vm.d.ts +9 -7
  52. package/dist/src/components/KgModal/KgModal.d.ts +105 -21
  53. package/dist/src/components/KgModal/KgModal.service.d.ts +1 -1
  54. package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +18 -0
  55. package/dist/src/components/KgResizable/KgResizable.d.ts +55 -55
  56. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
  57. package/dist/src/components/KgSearch/KgSearch.service.d.ts +20 -16
  58. package/dist/src/components/KgSearch/index.hooks.d.ts +30 -12
  59. package/dist/src/components/KgSearch/index.store.d.ts +44 -37
  60. package/dist/src/components/KgSubmit/index.hooks.d.ts +48 -15
  61. package/dist/src/components/KgSubmit/index.store.d.ts +53 -47
  62. package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
  63. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
  64. package/dist/src/components/KgTable/index.hooks.d.ts +23 -8
  65. package/dist/src/components/KgTable/index.store.d.ts +48 -34
  66. package/dist/src/components/KgTable/index.vm.d.ts +1 -1
  67. package/dist/src/components/KgVar/index.hooks.d.ts +15 -11
  68. package/dist/src/components/KgVar/index.store.d.ts +55 -60
  69. package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
  70. package/dist/src/components/KgVar/index.vm.d.ts +7 -7
  71. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +1 -1
  72. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +6 -23
  73. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -16
  74. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +4 -21
  75. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  76. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  77. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  78. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  79. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  80. package/dist/src/components/KgVarConfig/index.d.ts +1 -0
  81. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  82. package/dist/src/components/KgVarConfig/index.store.d.ts +29 -16
  83. package/dist/src/components/KgVarConfig/index.vm.d.ts +40 -0
  84. package/dist/src/components/KgWarehouse/index.hooks.d.ts +10 -6
  85. package/dist/src/components/KgWarehouse/index.store.d.ts +15 -14
  86. package/dist/src/components/util.d.ts +7 -7
  87. package/dist/src/consts/i18n/en.d.ts +31 -11
  88. package/dist/src/consts/i18n/zh_CN.d.ts +31 -11
  89. package/dist/src/consts/index.d.ts +0 -284
  90. package/dist/src/consts/index.vm.d.ts +435 -24
  91. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  92. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -1
  93. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +117 -192
  94. package/dist/src/pages/KgPageDda/{index.const.d.ts → index.vm.d.ts} +1 -0
  95. package/dist/src/services/http-client.d.ts +2 -2
  96. package/dist/src/utils/kg-var.util.d.ts +4 -3
  97. package/dist/src/utils/kg.util.d.ts +42 -25
  98. package/package.json +2 -2
  99. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Delete.d.ts +0 -18
  100. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/DeleteBatch.d.ts +0 -18
  101. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Edit.d.ts +0 -16
  102. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ExportXls.d.ts +0 -30
  103. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ImportExcel.d.ts +0 -15
  104. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/List.d.ts +0 -37
  105. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/QueryById.d.ts +0 -19
  106. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
  107. /package/dist/src/components/KgTable/components/setting/config/{KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts → KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts} +0 -0
  108. /package/dist/src/components/KgVarConfig/components/var/{KgVarConfig.Modal.Var.Vars.d.ts → KgVarConfig.Modal.Var.VarConfigControl.d.ts} +0 -0
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  required: boolean;
6
6
  };
7
7
  kgContext: {
8
- type: import("vue").PropType<string>;
8
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
9
9
  default: KG_FORM_CONTEXT;
10
10
  };
11
11
  kgDisabled: {
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  default: boolean;
21
21
  };
22
22
  kgAllowClear: {
23
+ /** 是否允许清空. */
23
24
  type: import("vue").PropType<boolean>;
24
25
  default: undefined;
25
26
  };
@@ -36,6 +37,7 @@ declare const _default: import("vue").DefineComponent<{
36
37
  type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
38
  default: undefined;
38
39
  };
40
+ /** 初始. */
39
41
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
40
42
  onKgSubmit: import("vue").PropType<() => void>;
41
43
  onKgChange: import("vue").PropType<(value: any) => void>;
@@ -47,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
47
49
  required: boolean;
48
50
  };
49
51
  kgContext: {
50
- type: import("vue").PropType<string>;
52
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
51
53
  default: KG_FORM_CONTEXT;
52
54
  };
53
55
  kgDisabled: {
@@ -62,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
62
64
  default: boolean;
63
65
  };
64
66
  kgAllowClear: {
67
+ /** 是否允许清空. */
65
68
  type: import("vue").PropType<boolean>;
66
69
  default: undefined;
67
70
  };
@@ -78,6 +81,7 @@ declare const _default: import("vue").DefineComponent<{
78
81
  type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
79
82
  default: undefined;
80
83
  };
84
+ /** 初始. */
81
85
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
82
86
  onKgSubmit: import("vue").PropType<() => void>;
83
87
  onKgChange: import("vue").PropType<(value: any) => void>;
@@ -92,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
92
96
  }, {
93
97
  value: import("../index.vm").IKgFormItemValue;
94
98
  kgDisabled: boolean;
95
- kgContext: string;
99
+ kgContext: KG_FORM_CONTEXT;
96
100
  kgShowLabel: boolean;
97
101
  kgAllowClear: boolean;
98
102
  kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
@@ -1,27 +1,30 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { VarConfigPossibility } from '../../../apis/WMS/models';
3
+ import { KgFormItemProps } from '../index.vm';
3
4
  export declare type IUseKgFormItemSelect = {
4
- /** VarConfigPossibility 配置. */
5
- varPossibility: ComputedRef<VarConfigPossibility | null>;
6
- /** 作为数据的列. */
7
- val_clm: ComputedRef<string>;
8
- /** 作为显示的列. */
9
- lbl_clm: ComputedRef<string>;
10
- /** 查询参数. */
11
- requestParams: ComputedRef<Record<string, any>>;
12
5
  /** 列表数据. */
13
6
  datas: Ref<Array<Record<string, any>>>;
14
7
  /** 是否正在查询列表数据. */
15
8
  isDatasRequesting: Ref<boolean>;
9
+ /** 作为显示的列. */
10
+ lbl_clm: ComputedRef<string>;
11
+ /**
12
+ * 查询列表数据.
13
+ */
14
+ requestDatas(): Promise<void>;
15
+ /** 查询参数. */
16
+ requestParams: ComputedRef<Record<string, any>>;
16
17
  /**
17
18
  * 处理列表数据.
18
19
  * @param datas 原始列表数据.
19
20
  * @return {} 处理后的列表数据.
20
21
  */
21
22
  transformDatas(datas?: Array<Record<string, any>> | null): Array<Record<string, any>>;
22
- /**
23
- * 查询列表数据.
24
- */
25
- requestDatas(): Promise<void>;
23
+ /** 作为数据的列. */
24
+ val_clm: ComputedRef<string>;
25
+ /** VarConfigPossibility 配置. */
26
+ varConfigPossibility: ComputedRef<VarConfigPossibility | null>;
26
27
  };
27
- export declare function useKgFormItemSelect(): IUseKgFormItemSelect;
28
+ export declare function useKgFormItemSelect(param: {
29
+ props: KgFormItemProps;
30
+ }): IUseKgFormItemSelect;
@@ -1,11 +1,12 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  kgVarName: {
3
4
  type: import("vue").PropType<string>;
4
5
  required: boolean;
5
6
  };
6
7
  kgContext: {
7
- type: import("vue").PropType<string>;
8
- default: import("../../..").KG_FORM_CONTEXT;
8
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
9
+ default: KG_FORM_CONTEXT;
9
10
  };
10
11
  kgDisabled: {
11
12
  type: import("vue").PropType<boolean>;
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
46
47
  required: boolean;
47
48
  };
48
49
  kgContext: {
49
- type: import("vue").PropType<string>;
50
- default: import("../../..").KG_FORM_CONTEXT;
50
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
51
+ default: KG_FORM_CONTEXT;
51
52
  };
52
53
  kgDisabled: {
53
54
  type: import("vue").PropType<boolean>;
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
89
90
  }, {
90
91
  value: import("../index.vm").IKgFormItemValue;
91
92
  kgDisabled: boolean;
92
- kgContext: string;
93
+ kgContext: KG_FORM_CONTEXT;
93
94
  kgShowLabel: boolean;
94
95
  kgAllowClear: boolean;
95
96
  kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
@@ -1,11 +1,12 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  kgVarName: {
3
4
  type: import("vue").PropType<string>;
4
5
  required: boolean;
5
6
  };
6
7
  kgContext: {
7
- type: import("vue").PropType<string>;
8
- default: import("../../../consts").KG_FORM_CONTEXT;
8
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
9
+ default: KG_FORM_CONTEXT;
9
10
  };
10
11
  kgDisabled: {
11
12
  type: import("vue").PropType<boolean>;
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
46
47
  required: boolean;
47
48
  };
48
49
  kgContext: {
49
- type: import("vue").PropType<string>;
50
- default: import("../../../consts").KG_FORM_CONTEXT;
50
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
51
+ default: KG_FORM_CONTEXT;
51
52
  };
52
53
  kgDisabled: {
53
54
  type: import("vue").PropType<boolean>;
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
89
90
  }, {
90
91
  value: import("../index.vm").IKgFormItemValue;
91
92
  kgDisabled: boolean;
92
- kgContext: string;
93
+ kgContext: KG_FORM_CONTEXT;
93
94
  kgShowLabel: boolean;
94
95
  kgAllowClear: boolean;
95
96
  kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
@@ -1,2 +1,2 @@
1
1
  export { default as KgFormItem } from './KgForm.Item';
2
- export { type IKgFormItemProps } from './index.vm';
2
+ export { type KgFormItemProps } from './index.vm';
@@ -3,7 +3,7 @@ import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
3
3
  import { PickerMode } from 'ant-design-vue/lib/vc-picker/interface';
4
4
  import { Dayjs } from 'dayjs';
5
5
  import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue';
6
- import { VarProfileDetail, VarSubmitDetail, VarConfigControl } from '../../apis/WMS/models';
6
+ import { VarConfigControl, VarProfileDetail, VarSubmitDetail } from '../../apis/WMS/models';
7
7
  import { KG_FORM_CONTEXT } from '../../consts';
8
8
  export declare type IKgFormItemValue = string | number | Array<string | number>;
9
9
  export declare const getProps: () => {
@@ -14,10 +14,12 @@ export declare const getProps: () => {
14
14
  };
15
15
  /**
16
16
  * 控件所处环境.
17
- * @default {@link KG_FORM_CONTEXT.SUBMIT}
17
+ *
18
+ * @default KG_FORM_CONTEXT.SUBMIT
19
+ * @see KG_FORM_CONTEXT
18
20
  */
19
21
  kgContext: {
20
- type: PropType<string>;
22
+ type: PropType<KG_FORM_CONTEXT>;
21
23
  default: KG_FORM_CONTEXT;
22
24
  };
23
25
  /** 是否禁用. */
@@ -83,12 +85,12 @@ export declare const getProps: () => {
83
85
  /** 下拉列表数据发生变更. */
84
86
  onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
85
87
  };
86
- export declare type IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
88
+ export declare type KgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
87
89
  /** 插槽 control 的参数. */
88
90
  export declare type IKgFormItemSlotControlParam = {
89
91
  frm_id: string;
90
92
  varName: string;
91
- props: ComputedRef<IKgFormItemProps>;
93
+ props: ComputedRef<KgFormItemProps>;
92
94
  model: ComputedRef<Record<string, any>>;
93
95
  varConfigControl: VarConfigControl;
94
96
  varProfileDetail: VarProfileDetail;
@@ -98,11 +100,11 @@ export declare type IKgFormItemSlotControlParam = {
98
100
  export declare type IKgFormItemSlotControlRightParam = {
99
101
  frm_id: string;
100
102
  varName: string;
101
- props: ComputedRef<IKgFormItemProps>;
103
+ props: ComputedRef<KgFormItemProps>;
102
104
  model: ComputedRef<Record<string, any>>;
103
105
  varConfigControl: VarConfigControl;
104
106
  varProfileDetail: VarProfileDetail;
105
107
  varSubmitDetail: VarSubmitDetail;
106
108
  };
107
109
  /** 依赖注入 kgContext 参数. */
108
- export declare const DI_KG_CONTEXT: InjectionKey<string>;
110
+ export declare const DI_KG_CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
@@ -3,6 +3,8 @@ import './KgModal.less';
3
3
  export declare const getProps: () => {
4
4
  /**
5
5
  * 高度是否撑满屏幕.
6
+ *
7
+ * @default true
6
8
  */
7
9
  kgFullHeight: {
8
10
  type: PropType<boolean>;
@@ -10,6 +12,8 @@ export declare const getProps: () => {
10
12
  };
11
13
  /**
12
14
  * 是否默认全屏.
15
+ *
16
+ * @default false
13
17
  */
14
18
  kgIsDefaultFullscreen: {
15
19
  type: PropType<boolean>;
@@ -17,6 +21,8 @@ export declare const getProps: () => {
17
21
  };
18
22
  /**
19
23
  * 是否可以拖拽改变位置.
24
+ *
25
+ * @default true
20
26
  */
21
27
  kgIsDragToMove: {
22
28
  type: PropType<boolean>;
@@ -24,42 +30,64 @@ export declare const getProps: () => {
24
30
  };
25
31
  /**
26
32
  * 是否可以拖拽改变大小.
33
+ *
34
+ * @default true
27
35
  */
28
36
  kgIsDragToResize: {
29
37
  type: PropType<boolean>;
30
38
  default: boolean;
31
39
  };
32
- /** 是否显示全屏按钮. */
40
+ /**
41
+ * 是否显示全屏按钮.
42
+ *
43
+ * @default true
44
+ */
33
45
  kgIsShowFullscreenButton: {
34
46
  type: PropType<boolean>;
35
47
  default: boolean;
36
48
  };
37
- /** 最大高度. */
49
+ /**
50
+ * 最大高度.
51
+ */
38
52
  kgMaxHeight: {
39
53
  type: PropType<number>;
40
54
  default: undefined;
41
55
  };
42
- /** 最大宽度. */
56
+ /**
57
+ * 最大宽度.
58
+ */
43
59
  kgMaxWidth: {
44
60
  type: PropType<number>;
45
61
  default: undefined;
46
62
  };
47
- /** 最小高度. */
63
+ /**
64
+ * 最小高度.
65
+ */
48
66
  kgMinHeight: {
49
67
  type: PropType<number>;
50
68
  default: undefined;
51
69
  };
52
- /** 最小宽度. */
70
+ /**
71
+ * 最小宽度.
72
+ */
53
73
  kgMinWidth: {
54
74
  type: PropType<number>;
55
75
  default: undefined;
56
76
  };
57
- /** 是否显示取消按钮. */
77
+ /**
78
+ * 是否显示取消按钮.
79
+ *
80
+ * @default true
81
+ */
58
82
  kgShowCancelButton: {
59
83
  type: PropType<boolean>;
60
84
  default: boolean;
61
85
  };
62
- /** 是否显示确定按钮. */
86
+ /**
87
+ * 是否显示确定按钮.
88
+ *
89
+ * @default true
90
+ */
63
91
  kgShowOkButton: {
64
92
  type: PropType<boolean>;
65
93
  default: boolean;
@@ -239,6 +267,8 @@ export declare type IKgModalProps = Partial<ExtractPropTypes<ReturnType<typeof g
239
267
  declare const _default: import("vue").DefineComponent<{
240
268
  /**
241
269
  * 高度是否撑满屏幕.
270
+ *
271
+ * @default true
242
272
  */
243
273
  kgFullHeight: {
244
274
  type: PropType<boolean>;
@@ -246,6 +276,8 @@ declare const _default: import("vue").DefineComponent<{
246
276
  };
247
277
  /**
248
278
  * 是否默认全屏.
279
+ *
280
+ * @default false
249
281
  */
250
282
  kgIsDefaultFullscreen: {
251
283
  type: PropType<boolean>;
@@ -253,6 +285,8 @@ declare const _default: import("vue").DefineComponent<{
253
285
  };
254
286
  /**
255
287
  * 是否可以拖拽改变位置.
288
+ *
289
+ * @default true
256
290
  */
257
291
  kgIsDragToMove: {
258
292
  type: PropType<boolean>;
@@ -260,42 +294,64 @@ declare const _default: import("vue").DefineComponent<{
260
294
  };
261
295
  /**
262
296
  * 是否可以拖拽改变大小.
297
+ *
298
+ * @default true
263
299
  */
264
300
  kgIsDragToResize: {
265
301
  type: PropType<boolean>;
266
302
  default: boolean;
267
303
  };
268
- /** 是否显示全屏按钮. */
304
+ /**
305
+ * 是否显示全屏按钮.
306
+ *
307
+ * @default true
308
+ */
269
309
  kgIsShowFullscreenButton: {
270
310
  type: PropType<boolean>;
271
311
  default: boolean;
272
312
  };
273
- /** 最大高度. */
313
+ /**
314
+ * 最大高度.
315
+ */
274
316
  kgMaxHeight: {
275
317
  type: PropType<number>;
276
318
  default: undefined;
277
319
  };
278
- /** 最大宽度. */
320
+ /**
321
+ * 最大宽度.
322
+ */
279
323
  kgMaxWidth: {
280
324
  type: PropType<number>;
281
325
  default: undefined;
282
326
  };
283
- /** 最小高度. */
327
+ /**
328
+ * 最小高度.
329
+ */
284
330
  kgMinHeight: {
285
331
  type: PropType<number>;
286
332
  default: undefined;
287
333
  };
288
- /** 最小宽度. */
334
+ /**
335
+ * 最小宽度.
336
+ */
289
337
  kgMinWidth: {
290
338
  type: PropType<number>;
291
339
  default: undefined;
292
340
  };
293
- /** 是否显示取消按钮. */
341
+ /**
342
+ * 是否显示取消按钮.
343
+ *
344
+ * @default true
345
+ */
294
346
  kgShowCancelButton: {
295
347
  type: PropType<boolean>;
296
348
  default: boolean;
297
349
  };
298
- /** 是否显示确定按钮. */
350
+ /**
351
+ * 是否显示确定按钮.
352
+ *
353
+ * @default true
354
+ */
299
355
  kgShowOkButton: {
300
356
  type: PropType<boolean>;
301
357
  default: boolean;
@@ -473,6 +529,8 @@ declare const _default: import("vue").DefineComponent<{
473
529
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
474
530
  /**
475
531
  * 高度是否撑满屏幕.
532
+ *
533
+ * @default true
476
534
  */
477
535
  kgFullHeight: {
478
536
  type: PropType<boolean>;
@@ -480,6 +538,8 @@ declare const _default: import("vue").DefineComponent<{
480
538
  };
481
539
  /**
482
540
  * 是否默认全屏.
541
+ *
542
+ * @default false
483
543
  */
484
544
  kgIsDefaultFullscreen: {
485
545
  type: PropType<boolean>;
@@ -487,6 +547,8 @@ declare const _default: import("vue").DefineComponent<{
487
547
  };
488
548
  /**
489
549
  * 是否可以拖拽改变位置.
550
+ *
551
+ * @default true
490
552
  */
491
553
  kgIsDragToMove: {
492
554
  type: PropType<boolean>;
@@ -494,42 +556,64 @@ declare const _default: import("vue").DefineComponent<{
494
556
  };
495
557
  /**
496
558
  * 是否可以拖拽改变大小.
559
+ *
560
+ * @default true
497
561
  */
498
562
  kgIsDragToResize: {
499
563
  type: PropType<boolean>;
500
564
  default: boolean;
501
565
  };
502
- /** 是否显示全屏按钮. */
566
+ /**
567
+ * 是否显示全屏按钮.
568
+ *
569
+ * @default true
570
+ */
503
571
  kgIsShowFullscreenButton: {
504
572
  type: PropType<boolean>;
505
573
  default: boolean;
506
574
  };
507
- /** 最大高度. */
575
+ /**
576
+ * 最大高度.
577
+ */
508
578
  kgMaxHeight: {
509
579
  type: PropType<number>;
510
580
  default: undefined;
511
581
  };
512
- /** 最大宽度. */
582
+ /**
583
+ * 最大宽度.
584
+ */
513
585
  kgMaxWidth: {
514
586
  type: PropType<number>;
515
587
  default: undefined;
516
588
  };
517
- /** 最小高度. */
589
+ /**
590
+ * 最小高度.
591
+ */
518
592
  kgMinHeight: {
519
593
  type: PropType<number>;
520
594
  default: undefined;
521
595
  };
522
- /** 最小宽度. */
596
+ /**
597
+ * 最小宽度.
598
+ */
523
599
  kgMinWidth: {
524
600
  type: PropType<number>;
525
601
  default: undefined;
526
602
  };
527
- /** 是否显示取消按钮. */
603
+ /**
604
+ * 是否显示取消按钮.
605
+ *
606
+ * @default true
607
+ */
528
608
  kgShowCancelButton: {
529
609
  type: PropType<boolean>;
530
610
  default: boolean;
531
611
  };
532
- /** 是否显示确定按钮. */
612
+ /**
613
+ * 是否显示确定按钮.
614
+ *
615
+ * @default true
616
+ */
533
617
  kgShowOkButton: {
534
618
  type: PropType<boolean>;
535
619
  default: boolean;
@@ -28,6 +28,6 @@ export declare function useDragToResize(param: {
28
28
  */
29
29
  onMousedown: (param: {
30
30
  event: MouseEvent;
31
- handleType: "top" | "left" | "right" | "bottom" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
31
+ handleType: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
32
32
  }) => void;
33
33
  };
@@ -2,6 +2,8 @@ import { PropType } from 'vue';
2
2
  export declare const getProps: () => {
3
3
  /**
4
4
  * 是否默认全屏.
5
+ *
6
+ * @default false
5
7
  */
6
8
  kgIsDefaultFullscreen: {
7
9
  type: PropType<boolean>;
@@ -9,6 +11,8 @@ export declare const getProps: () => {
9
11
  };
10
12
  /**
11
13
  * 是否显示关闭按钮.
14
+ *
15
+ * @default true
12
16
  */
13
17
  kgIsShowCloseButton: {
14
18
  type: PropType<boolean>;
@@ -16,6 +20,8 @@ export declare const getProps: () => {
16
20
  };
17
21
  /**
18
22
  * 是否显示全屏按钮.
23
+ *
24
+ * @default true
19
25
  */
20
26
  kgIsShowFullscreenButton: {
21
27
  type: PropType<boolean>;
@@ -25,6 +31,8 @@ export declare const getProps: () => {
25
31
  declare const _default: import("vue").DefineComponent<{
26
32
  /**
27
33
  * 是否默认全屏.
34
+ *
35
+ * @default false
28
36
  */
29
37
  kgIsDefaultFullscreen: {
30
38
  type: PropType<boolean>;
@@ -32,6 +40,8 @@ declare const _default: import("vue").DefineComponent<{
32
40
  };
33
41
  /**
34
42
  * 是否显示关闭按钮.
43
+ *
44
+ * @default true
35
45
  */
36
46
  kgIsShowCloseButton: {
37
47
  type: PropType<boolean>;
@@ -39,6 +49,8 @@ declare const _default: import("vue").DefineComponent<{
39
49
  };
40
50
  /**
41
51
  * 是否显示全屏按钮.
52
+ *
53
+ * @default true
42
54
  */
43
55
  kgIsShowFullscreenButton: {
44
56
  type: PropType<boolean>;
@@ -47,6 +59,8 @@ declare const _default: import("vue").DefineComponent<{
47
59
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
60
  /**
49
61
  * 是否默认全屏.
62
+ *
63
+ * @default false
50
64
  */
51
65
  kgIsDefaultFullscreen: {
52
66
  type: PropType<boolean>;
@@ -54,6 +68,8 @@ declare const _default: import("vue").DefineComponent<{
54
68
  };
55
69
  /**
56
70
  * 是否显示关闭按钮.
71
+ *
72
+ * @default true
57
73
  */
58
74
  kgIsShowCloseButton: {
59
75
  type: PropType<boolean>;
@@ -61,6 +77,8 @@ declare const _default: import("vue").DefineComponent<{
61
77
  };
62
78
  /**
63
79
  * 是否显示全屏按钮.
80
+ *
81
+ * @default true
64
82
  */
65
83
  kgIsShowFullscreenButton: {
66
84
  type: PropType<boolean>;