@kengic/vue 0.14.1 → 0.14.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,11 +3,14 @@ import { VarButton } from '../../apis/WMS/models';
3
3
  import './KgButton.less';
4
4
  export declare const getProps: () => {
5
5
  kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
6
+ KgLoading: PropType<(button: VarButton) => boolean | undefined>;
6
7
  };
7
8
  export declare type IKgButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
8
9
  declare const _default: import("vue").DefineComponent<{
9
10
  kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
11
+ KgLoading: PropType<(button: VarButton) => boolean | undefined>;
10
12
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
11
13
  kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
14
+ KgLoading: PropType<(button: VarButton) => boolean | undefined>;
12
15
  }>>, {}>;
13
16
  export default _default;
@@ -5,6 +5,7 @@ declare const _default: {
5
5
  $data: {};
6
6
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
7
7
  kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
8
+ KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
8
9
  }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
9
10
  $attrs: {
10
11
  [x: string]: unknown;
@@ -21,6 +22,7 @@ declare const _default: {
21
22
  $el: any;
22
23
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
23
24
  kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
25
+ KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
24
26
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
25
27
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
26
28
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -43,12 +45,14 @@ declare const _default: {
43
45
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
44
46
  } & Readonly<import("vue").ExtractPropTypes<{
45
47
  kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
48
+ KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
46
49
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
47
50
  __isFragment?: undefined;
48
51
  __isTeleport?: undefined;
49
52
  __isSuspense?: undefined;
50
53
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
51
54
  kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
55
+ KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
52
56
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
53
57
  Item: typeof KgButtonItem;
54
58
  };
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange")[], "update:value" | "kgSubmit" | "kgChange" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange")[], "kgSubmit" | "kgChange" | "update:value" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
41
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
42
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  kgVarName: {
45
45
  type: import("vue").PropType<string>;
46
46
  required: boolean;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
41
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
42
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  kgVarName: {
45
45
  type: import("vue").PropType<string>;
46
46
  required: boolean;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange" | "kgRadioGroupDatasChange")[], "update:value" | "kgSubmit" | "kgChange" | "kgRadioGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value" | "kgRadioGroupDatasChange")[], "kgSubmit" | "kgChange" | "update:value" | "kgRadioGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
41
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
42
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange" | "kgSelectChange" | "kgSelectDatasChange")[], "update:value" | "kgSubmit" | "kgChange" | "kgSelectChange" | "kgSelectDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "kgSelectChange" | "update:value" | "kgSelectDatasChange")[], "kgSubmit" | "kgChange" | "kgSelectChange" | "update:value" | "kgSelectDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  kgVarName: {
45
45
  type: import("vue").PropType<string>;
46
46
  required: boolean;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
41
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  kgVarName: {
44
44
  type: import("vue").PropType<string>;
45
45
  required: boolean;
@@ -78,6 +78,8 @@ export declare type IKgSubmitOkCbParam = {
78
78
  isDeleting: boolean | null;
79
79
  row: IKgTableRow | null;
80
80
  model: Ref<Record<string, any>>;
81
+ /** 接口返回结果. */
82
+ result: any | null;
81
83
  };
82
84
  export declare type IKgSubmitOkCb = ((param: IKgSubmitOkCbParam) => Promise<boolean>) & IKgEventCb;
83
85
  /** 事件监听函数: error. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.14.1",
3
+ "version": "0.14.3",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",