@kengic/vue 0.27.1-beta.2 → 0.27.1-beta.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. package/dist/kengic-vue.js +7175 -7095
  2. package/dist/project/build/generate/icon/index.ts +2 -5
  3. package/dist/project/build/script/buildConf.ts +1 -1
  4. package/dist/project/build/script/postBuild.ts +1 -1
  5. package/dist/src/component/KgAppSelect/{index.hooks.d.ts → KgAppSelect.hooks.d.ts} +4 -3
  6. package/dist/src/component/KgAppSelect/{index.store.d.ts → KgAppSelect.store.d.ts} +3 -2
  7. package/dist/src/component/KgAppSelect/index.d.ts +2 -2
  8. package/dist/src/component/KgButton/{index.hooks.d.ts → KgButton.hooks.d.ts} +2 -2
  9. package/dist/src/component/KgButton/{index.store.d.ts → KgButton.store.d.ts} +1 -1
  10. package/dist/src/component/KgButton/index.d.ts +2 -2
  11. package/dist/src/component/KgCanvas/{index.hooks.d.ts → KgCanvas.hooks.d.ts} +2 -2
  12. package/dist/src/component/KgCanvas/index.d.ts +1 -1
  13. package/dist/src/component/KgForm/{index.hooks.d.ts → KgForm.hooks.d.ts} +2 -2
  14. package/dist/src/component/KgForm/{index.store.d.ts → KgForm.store.d.ts} +1 -1
  15. package/dist/src/component/KgForm/index.d.ts +2 -2
  16. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +5 -5
  17. package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
  18. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +7 -5
  19. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +7 -9
  20. package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +5 -5
  21. package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +5 -5
  22. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +11 -7
  23. package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +5 -5
  24. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +5 -5
  25. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +5 -5
  26. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +5 -9
  27. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +5 -7
  28. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
  29. package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +5 -5
  30. package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +5 -5
  31. package/dist/src/component/KgForm.Item/index.d.ts +1 -1
  32. package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
  33. package/dist/src/component/KgSearch/{index.hooks.d.ts → KgSearch.hooks.d.ts} +2 -2
  34. package/dist/src/component/KgSearch/{index.store.d.ts → KgSearch.store.d.ts} +1 -1
  35. package/dist/src/component/KgSearch/index.d.ts +2 -2
  36. package/dist/src/component/KgSubmit/{index.event.d.ts → KgSubmit.event.d.ts} +10 -10
  37. package/dist/src/component/KgSubmit/{index.hooks.d.ts → KgSubmit.hooks.d.ts} +9 -9
  38. package/dist/src/component/KgSubmit/{index.store.d.ts → KgSubmit.store.d.ts} +16 -16
  39. package/dist/src/component/KgSubmit/index.d.ts +3 -3
  40. package/dist/src/component/KgTable/{index.event.d.ts → KgTable.event.d.ts} +1 -1
  41. package/dist/src/component/KgTable/{index.hooks.d.ts → KgTable.hooks.d.ts} +2 -2
  42. package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
  43. package/dist/src/component/KgTable/{index.store.d.ts → KgTable.store.d.ts} +2 -2
  44. package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +1 -1
  45. package/dist/src/component/KgTable/index.d.ts +3 -3
  46. package/dist/src/component/KgVar/KgVar.d.ts +1 -1
  47. package/dist/src/component/KgVar/{index.hooks.d.ts → KgVar.hooks.d.ts} +4 -4
  48. package/dist/src/component/KgVar/{index.store.d.ts → KgVar.store.d.ts} +2 -2
  49. package/dist/src/component/KgVar/{index.vm.d.ts → KgVar.vm.d.ts} +1 -1
  50. package/dist/src/component/KgVar/KgVarFactory.d.ts +8 -8
  51. package/dist/src/component/KgVar/index.d.ts +3 -3
  52. package/dist/src/component/KgVarConfig/{index.hooks.d.ts → KgVarConfig.hooks.d.ts} +1 -1
  53. package/dist/src/component/KgVarConfig/index.d.ts +2 -2
  54. package/dist/src/component/KgWarehouse/{index.hooks.d.ts → KgWarehouse.hooks.d.ts} +1 -1
  55. package/dist/src/component/KgWarehouse/index.d.ts +3 -3
  56. package/dist/src/config/index.store.d.ts +2 -1
  57. package/dist/src/const/index.vm.d.ts +76 -12
  58. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +1 -1
  59. package/dist/src/util/kg-route.util.d.ts +2 -1
  60. package/dist/src/util/kg.util.d.ts +8 -15
  61. package/package.json +1 -1
  62. /package/dist/src/component/KgAppSelect/{index.event.d.ts → KgAppSelect.event.d.ts} +0 -0
  63. /package/dist/src/component/KgButton/{index.event.d.ts → KgButton.event.d.ts} +0 -0
  64. /package/dist/src/component/KgCanvas/{index.event.d.ts → KgCanvas.event.d.ts} +0 -0
  65. /package/dist/src/component/KgCanvas/{index.store.d.ts → KgCanvas.store.d.ts} +0 -0
  66. /package/dist/src/component/KgCanvas/{index.vm.d.ts → KgCanvas.vm.d.ts} +0 -0
  67. /package/dist/src/component/KgForm/{index.event.d.ts → KgForm.event.d.ts} +0 -0
  68. /package/dist/src/component/KgForm/{index.vm.d.ts → KgForm.vm.d.ts} +0 -0
  69. /package/dist/src/component/KgForm.Item/{index.vm.d.ts → KgForm.Item.vm.d.ts} +0 -0
  70. /package/dist/src/component/KgLayoutHeader/{index.hooks.d.ts → KgLayoutHeader.hooks.d.ts} +0 -0
  71. /package/dist/src/component/KgModal/{index.vm.d.ts → KgModal.vm.d.ts} +0 -0
  72. /package/dist/src/component/KgSearch/{index.event.d.ts → KgSearch.event.d.ts} +0 -0
  73. /package/dist/src/component/KgSearch/{index.vm.d.ts → KgSearch.vm.d.ts} +0 -0
  74. /package/dist/src/component/KgSubmit/{index.vm.d.ts → KgSubmit.vm.d.ts} +0 -0
  75. /package/dist/src/component/KgTable/{index.vm.d.ts → KgTable.vm.d.ts} +0 -0
  76. /package/dist/src/component/KgVar/{index.event.d.ts → KgVar.event.d.ts} +0 -0
  77. /package/dist/src/component/KgVar/{index.store.service.d.ts → KgVar.store.service.d.ts} +0 -0
  78. /package/dist/src/component/KgVarConfig/{index.store.d.ts → KgVarConfig.store.d.ts} +0 -0
  79. /package/dist/src/component/KgVarConfig/{index.vm.d.ts → KgVarConfig.vm.d.ts} +0 -0
  80. /package/dist/src/component/KgWarehouse/{index.guard.d.ts → KgWarehouse.guard.d.ts} +0 -0
  81. /package/dist/src/component/KgWarehouse/{index.store.d.ts → KgWarehouse.store.d.ts} +0 -0
  82. /package/dist/src/page/KgPageDda/{index.vm.d.ts → KgPageDda.vm.d.ts} +0 -0
@@ -51,15 +51,12 @@ async function generateIcon() {
51
51
  const isLocal = useType === 'local';
52
52
  const icons = Object.keys(data.icons).map((item) => `${isLocal ? prefix + ':' : ''}${item}`);
53
53
 
54
- await fs.writeFileSync(
55
- path.join(output, `icons.data.ts`),
56
- `export default ${isLocal ? JSON.stringify(icons) : JSON.stringify({ prefix, icons })}`,
57
- );
54
+ await fs.writeFileSync(path.join(output, `icons.data.ts`), `export default ${isLocal ? JSON.stringify(icons) : JSON.stringify({ prefix, icons })}`);
58
55
  prefixSet.push(prefix);
59
56
  }
60
57
  }
61
58
  fs.emptyDir(path.join(process.cwd(), 'node_modules/.vite'));
62
- console.log(`✨` + ' - Icon generated successfully:' + `[${prefixSet}]`);
59
+ console.log('图标生成成功:' + `[${prefixSet}]`);
63
60
  });
64
61
  }
65
62
 
@@ -33,7 +33,7 @@ function createConfig(params: CreateConfigParams) {
33
33
 
34
34
  console.log(colors.green(`配置文件构建成功: `) + colors.gray(OUTPUT_DIR + '/' + colors.green(configFileName)));
35
35
  } catch (error) {
36
- console.log(colors.red('configuration file configuration file failed to package:\n' + error));
36
+ console.log(colors.red('配置文件构建失败:\n' + error));
37
37
  }
38
38
  }
39
39
 
@@ -14,7 +14,7 @@ export const runBuild = async () => {
14
14
 
15
15
  console.log(colors.green('打包成功.'));
16
16
  } catch (error) {
17
- console.log(colors.red('vite build error:\n' + error));
17
+ console.log(colors.red('打包失败:\n' + error));
18
18
  process.exit(1);
19
19
  }
20
20
  };
@@ -1,7 +1,8 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
- import { KG_APP, Menu } from '../../const';
3
- import { IKgAppSelectOnGotoAppEventListener, IKgAppSelectOnGotoPathEventListener } from './index.event';
4
- import { IKgAppSelectStore } from './index.store';
2
+ import { KG_APP } from '../../const';
3
+ import { Menu } from '../../project/src/router/types';
4
+ import { IKgAppSelectOnGotoAppEventListener, IKgAppSelectOnGotoPathEventListener } from './KgAppSelect.event';
5
+ import { IKgAppSelectStore } from './KgAppSelect.store';
5
6
  export declare type IUseKgAppSelect = {
6
7
  /**
7
8
  * 进入某个模块.
@@ -1,6 +1,7 @@
1
1
  import { StoreDefinition } from 'pinia';
2
- import { KG_APP, Menu } from '../../const';
3
- import { IKgAppSelectEvent, IKgAppSelectEventListenerParameter, IKgAppSelectOnGotoAppEventListener, IKgAppSelectOnGotoPathEventListener } from './index.event';
2
+ import { KG_APP } from '../../const';
3
+ import { Menu } from '../../project/src/router/types';
4
+ import { IKgAppSelectEvent, IKgAppSelectEventListenerParameter, IKgAppSelectOnGotoAppEventListener, IKgAppSelectOnGotoPathEventListener } from './KgAppSelect.event';
4
5
  export interface IUseKgAppSelectStoreState {
5
6
  /**
6
7
  * 当前模块.
@@ -1,3 +1,3 @@
1
1
  export { default as KgAppSelect } from './KgAppSelect';
2
- export * from './index.hooks';
3
- export * from './index.store';
2
+ export * from './KgAppSelect.hooks';
3
+ export * from './KgAppSelect.store';
@@ -1,8 +1,8 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
3
  import { KG__VAR_BUTTON__TYPE } from '../../const';
4
- import { IKgButtonOnAfterRequestEventListener, IKgButtonOnBeforeRequestEventListener, IKgButtonOnClickEventListener, IKgButtonOnImportOkEventListener, IKgButtonOnSubmitCancelEventListener, IKgButtonOnSubmitSaveEventListener } from './index.event';
5
- import { IKgButtonStore } from './index.store';
4
+ import { IKgButtonOnAfterRequestEventListener, IKgButtonOnBeforeRequestEventListener, IKgButtonOnClickEventListener, IKgButtonOnImportOkEventListener, IKgButtonOnSubmitCancelEventListener, IKgButtonOnSubmitSaveEventListener } from './KgButton.event';
5
+ import { IKgButtonStore } from './KgButton.store';
6
6
  export interface IUseKgButton {
7
7
  /**
8
8
  * <p>手动点击某个按钮.</p>
@@ -1,7 +1,7 @@
1
1
  import { StoreDefinition } from 'pinia';
2
2
  import { VarButton, VarButtonConfig } from '../../api/WMS/models';
3
3
  import { KG__VAR_BUTTON__TYPE } from '../../const';
4
- import { IKgButtonEvent, IKgButtonEventListenerParameter, IKgButtonOnAfterRequestEventListener, IKgButtonOnBeforeRequestEventListener, IKgButtonOnClickEventListener, IKgButtonOnImportOkEventListener, IKgButtonOnSubmitCancelEventListener, IKgButtonOnSubmitSaveEventListener } from './index.event';
4
+ import { IKgButtonEvent, IKgButtonEventListenerParameter, IKgButtonOnAfterRequestEventListener, IKgButtonOnBeforeRequestEventListener, IKgButtonOnClickEventListener, IKgButtonOnImportOkEventListener, IKgButtonOnSubmitCancelEventListener, IKgButtonOnSubmitSaveEventListener } from './KgButton.event';
5
5
  export interface IUseKgButtonStoreState {
6
6
  /**
7
7
  * <p>当前按钮.</p>
@@ -58,5 +58,5 @@ declare const _default: {
58
58
  };
59
59
  export default _default;
60
60
  export { type IKgButtonProps } from './KgButton';
61
- export * from './index.hooks';
62
- export * from './index.store';
61
+ export * from './KgButton.hooks';
62
+ export * from './KgButton.store';
@@ -1,6 +1,6 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
- import { IKgCanvasOnClickEventListener, IKgCanvasOnContextMenuCloseEventListener, IKgCanvasOnContextMenuOpenEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnResizeEventListener, IKgCanvasOnRightClickEventListener } from './index.event';
3
- import { IKgCanvasStore } from './index.store';
2
+ import { IKgCanvasOnClickEventListener, IKgCanvasOnContextMenuCloseEventListener, IKgCanvasOnContextMenuOpenEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnResizeEventListener, IKgCanvasOnRightClickEventListener } from './KgCanvas.event';
3
+ import { IKgCanvasStore } from './KgCanvas.store';
4
4
  export declare type IUseKgCanvas = {
5
5
  /**
6
6
  * 监听事件: 单击鼠标左键.
@@ -1,4 +1,4 @@
1
1
  export { default as KgCanvas } from './KgCanvas';
2
2
  export { type IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
3
- export * from './index.hooks';
3
+ export * from './KgCanvas.hooks';
4
4
  export { type IKgCanvasElementProperties } from './KgCanvas.service';
@@ -1,6 +1,6 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
- import { IKgFormOnBlurEventListener, IKgFormOnChangeEventListener, IKgFormOnLookupBeforeOkEventListener, IKgFormOnLookupBeforeOpenEventListener, IKgFormOnLookupOkEventListener, IKgFormOnSelectBeforeRequestEventListener, IKgFormOnSelectBeforeSetDatasEventListener, IKgFormOnSelectChangeEventListener } from './index.event';
3
- import { IKgFormStore } from './index.store';
2
+ import { IKgFormOnBlurEventListener, IKgFormOnChangeEventListener, IKgFormOnLookupBeforeOkEventListener, IKgFormOnLookupBeforeOpenEventListener, IKgFormOnLookupOkEventListener, IKgFormOnSelectBeforeRequestEventListener, IKgFormOnSelectBeforeSetDatasEventListener, IKgFormOnSelectChangeEventListener } from './KgForm.event';
3
+ import { IKgFormStore } from './KgForm.store';
4
4
  export declare type IUseKgForm = {
5
5
  Select: {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { StoreDefinition } from 'pinia';
2
- import { IKgFormEvent, IKgFormEventListenerParameter, IKgFormOnBlurEventListener, IKgFormOnChangeEventListener, IKgFormOnLookupBeforeOkEventListener, IKgFormOnLookupBeforeOpenEventListener, IKgFormOnLookupOkEventListener, IKgFormOnSelectBeforeRequestEventListener, IKgFormOnSelectBeforeSetDatasEventListener, IKgFormOnSelectChangeEventListener } from './index.event';
2
+ import { IKgFormEvent, IKgFormEventListenerParameter, IKgFormOnBlurEventListener, IKgFormOnChangeEventListener, IKgFormOnLookupBeforeOkEventListener, IKgFormOnLookupBeforeOpenEventListener, IKgFormOnLookupOkEventListener, IKgFormOnSelectBeforeRequestEventListener, IKgFormOnSelectBeforeSetDatasEventListener, IKgFormOnSelectChangeEventListener } from './KgForm.event';
3
3
  export interface IUseKgFormStoreState {
4
4
  onBlur: Map<string, Array<IKgFormOnBlurEventListener>>;
5
5
  onChange: Map<string, Array<IKgFormOnChangeEventListener>>;
@@ -600,5 +600,5 @@ declare const _default: {
600
600
  };
601
601
  export default _default;
602
602
  export { type IKgFormProps } from './KgForm';
603
- export * from './index.hooks';
604
- export * from './index.store';
603
+ export * from './KgForm.hooks';
604
+ export * from './KgForm.store';
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<{
34
34
  };
35
35
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
36
  value: {
37
- type: import("vue").PropType<import("./index.vm").IKgFormItemValue>;
37
+ type: import("vue").PropType<import("./KgForm.Item.vm").IKgFormItemValue>;
38
38
  default: undefined;
39
39
  };
40
- 'onUpdate:value': import("vue").PropType<(value: import("./index.vm").IKgFormItemValue | null) => void>;
40
+ 'onUpdate:value': import("vue").PropType<(value: import("./KgForm.Item.vm").IKgFormItemValue | null) => void>;
41
41
  onKgSubmit: import("vue").PropType<() => void>;
42
42
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
43
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<{
75
75
  };
76
76
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
77
  value: {
78
- type: import("vue").PropType<import("./index.vm").IKgFormItemValue>;
78
+ type: import("vue").PropType<import("./KgForm.Item.vm").IKgFormItemValue>;
79
79
  default: undefined;
80
80
  };
81
- 'onUpdate:value': import("vue").PropType<(value: import("./index.vm").IKgFormItemValue | null) => void>;
81
+ 'onUpdate:value': import("vue").PropType<(value: import("./KgForm.Item.vm").IKgFormItemValue | null) => void>;
82
82
  onKgSubmit: import("vue").PropType<() => void>;
83
83
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
84
84
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -86,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
86
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
87
87
  onKgSelectChange?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
- value: import("./index.vm").IKgFormItemValue;
89
+ value: import("./KgForm.Item.vm").IKgFormItemValue;
90
90
  kgDisabled: boolean;
91
91
  kgContext: KG_FORM_CONTEXT;
92
92
  kgShowLabel: boolean;
@@ -1,5 +1,5 @@
1
1
  import { RuleObject } from 'ant-design-vue/es/form';
2
- import { KgFormItemProps } from './index.vm';
2
+ import { KgFormItemProps } from './KgForm.Item.vm';
3
3
  export declare function useFormRules(props: KgFormItemProps): {
4
4
  /** 表单验证规则. */
5
5
  formRules: import("vue").ComputedRef<RuleObject[]>;
@@ -9,6 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  /** 是否勾选. */
10
10
  required: boolean;
11
11
  };
12
+ /** 是否勾选. */
12
13
  kgContext: {
13
14
  type: import("vue").PropType<KG_FORM_CONTEXT>;
14
15
  default: KG_FORM_CONTEXT;
@@ -38,10 +39,10 @@ declare const _default: import("vue").DefineComponent<{
38
39
  };
39
40
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
40
41
  value: {
41
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
42
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
42
43
  default: undefined;
43
44
  };
44
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
45
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
45
46
  onKgSubmit: import("vue").PropType<() => void>;
46
47
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
47
48
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -51,6 +52,7 @@ declare const _default: import("vue").DefineComponent<{
51
52
  /** 是否勾选. */
52
53
  required: boolean;
53
54
  };
55
+ /** 是否勾选. */
54
56
  kgContext: {
55
57
  type: import("vue").PropType<KG_FORM_CONTEXT>;
56
58
  default: KG_FORM_CONTEXT;
@@ -80,10 +82,10 @@ declare const _default: import("vue").DefineComponent<{
80
82
  };
81
83
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
82
84
  value: {
83
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
85
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
84
86
  default: undefined;
85
87
  };
86
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
88
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
87
89
  onKgSubmit: import("vue").PropType<() => void>;
88
90
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
89
91
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -91,7 +93,7 @@ declare const _default: import("vue").DefineComponent<{
91
93
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
92
94
  onKgSubmit?: ((...args: any[]) => any) | undefined;
93
95
  }, {
94
- value: import("../index.vm").IKgFormItemValue;
96
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
95
97
  kgDisabled: boolean;
96
98
  kgContext: KG_FORM_CONTEXT;
97
99
  kgShowLabel: boolean;
@@ -20,13 +20,12 @@ declare const _default: import("vue").DefineComponent<{
20
20
  default: boolean;
21
21
  };
22
22
  kgAllowClear: {
23
- /** 是否全选. */
24
23
  type: import("vue").PropType<boolean>;
25
24
  default: undefined;
26
25
  };
27
26
  kgShowTime: {
28
27
  type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
29
- default: undefined;
28
+ default: undefined; /** 全选框是否处于半选状态, 即列表数据中部分已勾选, 部分未勾选. */
30
29
  };
31
30
  kgPicker: {
32
31
  type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
@@ -34,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
34
33
  };
35
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
35
  value: {
37
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
38
37
  default: undefined;
39
38
  };
40
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
41
40
  onKgSubmit: import("vue").PropType<() => void>;
42
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -62,13 +61,12 @@ declare const _default: import("vue").DefineComponent<{
62
61
  default: boolean;
63
62
  };
64
63
  kgAllowClear: {
65
- /** 是否全选. */
66
64
  type: import("vue").PropType<boolean>;
67
65
  default: undefined;
68
66
  };
69
67
  kgShowTime: {
70
68
  type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
71
- default: undefined;
69
+ default: undefined; /** 全选框是否处于半选状态, 即列表数据中部分已勾选, 部分未勾选. */
72
70
  };
73
71
  kgPicker: {
74
72
  type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
@@ -76,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
76
74
  };
77
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
78
76
  value: {
79
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
80
78
  default: undefined;
81
79
  };
82
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
83
81
  onKgSubmit: import("vue").PropType<() => void>;
84
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
85
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -88,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
88
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
89
87
  onKgCheckboxGroupChange?: ((...args: any[]) => any) | undefined;
90
88
  }, {
91
- value: import("../index.vm").IKgFormItemValue;
89
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
92
90
  kgDisabled: boolean;
93
91
  kgContext: KG_FORM_CONTEXT;
94
92
  kgShowLabel: boolean;
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<{
34
34
  };
35
35
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
36
  value: {
37
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
38
38
  default: undefined;
39
39
  };
40
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
40
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
41
41
  onKgSubmit: import("vue").PropType<() => void>;
42
42
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
43
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<{
75
75
  };
76
76
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
77
  value: {
78
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
79
79
  default: undefined;
80
80
  };
81
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
81
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
82
82
  onKgSubmit: import("vue").PropType<() => void>;
83
83
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
84
84
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -86,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
86
86
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
87
87
  onKgSubmit?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
- value: import("../index.vm").IKgFormItemValue;
89
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
90
90
  kgDisabled: boolean;
91
91
  kgContext: KG_FORM_CONTEXT;
92
92
  kgShowLabel: boolean;
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<{
34
34
  };
35
35
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
36
  value: {
37
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
38
38
  default: undefined;
39
39
  };
40
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
40
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
41
41
  onKgSubmit: import("vue").PropType<() => void>;
42
42
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
43
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<{
75
75
  };
76
76
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
77
  value: {
78
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
79
79
  default: undefined;
80
80
  };
81
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
81
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
82
82
  onKgSubmit: import("vue").PropType<() => void>;
83
83
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
84
84
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -86,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
86
86
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
87
87
  onKgSubmit?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
- value: import("../index.vm").IKgFormItemValue;
89
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
90
90
  kgDisabled: boolean;
91
91
  kgContext: KG_FORM_CONTEXT;
92
92
  kgShowLabel: boolean;
@@ -1,7 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  kgVarName: {
3
3
  type: import("vue").PropType<string>;
4
- required: boolean;
4
+ required: boolean; /**
5
+ * 图片显示宽度.
6
+ */
5
7
  };
6
8
  kgContext: {
7
9
  type: import("vue").PropType<import("../../../const").KG_FORM_CONTEXT>;
@@ -32,17 +34,19 @@ declare const _default: import("vue").DefineComponent<{
32
34
  };
33
35
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
36
  value: {
35
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
36
38
  default: undefined;
37
39
  };
38
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
40
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
39
41
  onKgSubmit: import("vue").PropType<() => void>;
40
42
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
43
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
44
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
45
  kgVarName: {
44
46
  type: import("vue").PropType<string>;
45
- required: boolean;
47
+ required: boolean; /**
48
+ * 图片显示宽度.
49
+ */
46
50
  };
47
51
  kgContext: {
48
52
  type: import("vue").PropType<import("../../../const").KG_FORM_CONTEXT>;
@@ -73,15 +77,15 @@ declare const _default: import("vue").DefineComponent<{
73
77
  };
74
78
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
79
  value: {
76
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
80
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
77
81
  default: undefined;
78
82
  };
79
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
83
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
80
84
  onKgSubmit: import("vue").PropType<() => void>;
81
85
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
82
86
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
87
  }>>, {
84
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
85
89
  kgDisabled: boolean;
86
90
  kgContext: import("../../../const").KG_FORM_CONTEXT;
87
91
  kgShowLabel: boolean;
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
35
  value: {
36
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
37
37
  default: undefined;
38
38
  };
39
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
40
40
  onKgSubmit: import("vue").PropType<() => void>;
41
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -74,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
74
74
  };
75
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
76
  value: {
77
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
78
78
  default: undefined;
79
79
  };
80
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
81
81
  onKgSubmit: import("vue").PropType<() => void>;
82
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
89
89
  kgDisabled: boolean;
90
90
  kgContext: KG_FORM_CONTEXT;
91
91
  kgShowLabel: boolean;
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
35
  value: {
36
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
37
37
  default: undefined;
38
38
  };
39
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
40
40
  onKgSubmit: import("vue").PropType<() => void>;
41
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -74,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
74
74
  };
75
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
76
  value: {
77
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
78
78
  default: undefined;
79
79
  };
80
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
81
81
  onKgSubmit: import("vue").PropType<() => void>;
82
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
89
89
  kgDisabled: boolean;
90
90
  kgContext: KG_FORM_CONTEXT;
91
91
  kgShowLabel: boolean;
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
35
  value: {
36
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
37
37
  default: undefined;
38
38
  };
39
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
40
40
  onKgSubmit: import("vue").PropType<() => void>;
41
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -74,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
74
74
  };
75
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
76
  value: {
77
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
78
78
  default: undefined;
79
79
  };
80
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
81
81
  onKgSubmit: import("vue").PropType<() => void>;
82
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
89
89
  kgDisabled: boolean;
90
90
  kgContext: KG_FORM_CONTEXT;
91
91
  kgShowLabel: boolean;
@@ -15,12 +15,10 @@ declare const _default: import("vue").DefineComponent<{
15
15
  kgSpan: import("vue").PropType<number>;
16
16
  kgPlaceholder: import("vue").PropType<string>;
17
17
  kgMode: import("vue").PropType<"multiple" | "tags">;
18
- /** 初始. */
19
18
  kgShowLabel: {
20
19
  type: import("vue").PropType<boolean>;
21
20
  default: boolean;
22
21
  };
23
- /** 初始. */
24
22
  kgAllowClear: {
25
23
  type: import("vue").PropType<boolean>;
26
24
  default: undefined;
@@ -35,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
35
33
  };
36
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
37
35
  value: {
38
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
39
37
  default: undefined;
40
38
  };
41
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
42
40
  onKgSubmit: import("vue").PropType<() => void>;
43
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
44
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -58,12 +56,10 @@ declare const _default: import("vue").DefineComponent<{
58
56
  kgSpan: import("vue").PropType<number>;
59
57
  kgPlaceholder: import("vue").PropType<string>;
60
58
  kgMode: import("vue").PropType<"multiple" | "tags">;
61
- /** 初始. */
62
59
  kgShowLabel: {
63
60
  type: import("vue").PropType<boolean>;
64
61
  default: boolean;
65
62
  };
66
- /** 初始. */
67
63
  kgAllowClear: {
68
64
  type: import("vue").PropType<boolean>;
69
65
  default: undefined;
@@ -78,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
78
74
  };
79
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
80
76
  value: {
81
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
82
78
  default: undefined;
83
79
  };
84
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
85
81
  onKgSubmit: import("vue").PropType<() => void>;
86
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
87
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -89,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
89
85
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
90
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
91
87
  }, {
92
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
93
89
  kgDisabled: boolean;
94
90
  kgContext: KG_FORM_CONTEXT;
95
91
  kgShowLabel: boolean;