@kengic/vue 0.23.7 → 0.23.8-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2437,7 +2437,7 @@ const emptyIcon = {
2437
2437
  ...t.data
2438
2438
  }, r);
2439
2439
  }
2440
- }), version = "0.23.7";
2440
+ }), version = "0.23.8-beta.0";
2441
2441
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2442
2442
  const freeGlobal$1 = freeGlobal;
2443
2443
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
@@ -24377,8 +24377,8 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24377
24377
  }
24378
24378
  }), getProps$1 = () => ({
24379
24379
  kgVisible: Boolean,
24380
- "onUpdate:kgVisible": Function,
24381
- onKgOk: Function
24380
+ onKgOk: Function,
24381
+ "onUpdate:kgVisible": Function
24382
24382
  }), KgPageDdaCreate = defineComponent({
24383
24383
  name: "KgPageDdaCreate",
24384
24384
  props: getProps$1(),
@@ -24583,6 +24583,17 @@ const getProps$8 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24583
24583
  }
24584
24584
  }
24585
24585
  return !1;
24586
+ }), t.kgSubmit.onOpen(async () => {
24587
+ switch (!0) {
24588
+ case t.isCopying.value: {
24589
+ if (t.kgSubmit.formModel.value) {
24590
+ const i = t.kgTable.selectedRow.value;
24591
+ t.kgSubmit.formModel.value.from_frm_id = i == null ? void 0 : i.frm_id, t.kgSubmit.formModel.value.to_frm_id = i == null ? void 0 : i.frm_id, t.kgSubmit.formModel.value.to_frm_nam = i == null ? void 0 : i.frm_nam;
24592
+ }
24593
+ break;
24594
+ }
24595
+ }
24596
+ return !1;
24586
24597
  });
24587
24598
  const r = ref({
24588
24599
  kgVisible: !1
@@ -6,26 +6,26 @@ export declare const getProps: () => {
6
6
  * @default false
7
7
  */
8
8
  kgVisible: PropType<boolean>;
9
- 'onUpdate:kgVisible': PropType<(value: boolean) => void>;
10
9
  onKgOk: PropType<() => void>;
10
+ 'onUpdate:kgVisible': PropType<(value: boolean) => void>;
11
11
  };
12
- export declare type IKgPageDdaCreateProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
12
+ export declare type KgPageDdaCreateProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
13
13
  declare const _default: import("vue").DefineComponent<{
14
14
  /**
15
15
  * 是否显示.
16
16
  * @default false
17
17
  */
18
18
  kgVisible: PropType<boolean>;
19
- 'onUpdate:kgVisible': PropType<(value: boolean) => void>;
20
19
  onKgOk: PropType<() => void>;
20
+ 'onUpdate:kgVisible': PropType<(value: boolean) => void>;
21
21
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgOk" | "update:kgVisible")[], "kgOk" | "update:kgVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
22
22
  /**
23
23
  * 是否显示.
24
24
  * @default false
25
25
  */
26
26
  kgVisible: PropType<boolean>;
27
- 'onUpdate:kgVisible': PropType<(value: boolean) => void>;
28
27
  onKgOk: PropType<() => void>;
28
+ 'onUpdate:kgVisible': PropType<(value: boolean) => void>;
29
29
  }>> & {
30
30
  onKgOk?: ((...args: any[]) => any) | undefined;
31
31
  "onUpdate:kgVisible"?: ((...args: any[]) => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.23.7",
3
+ "version": "0.23.8-beta.0",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",