@vunk/form 1.1.8 → 1.1.9

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.
@@ -376,7 +376,7 @@ declare const _default: import("vue").DefineComponent<{
376
376
  formEmits: {
377
377
  validate: (e: import("@vunk/core").SetDataEvent<any>) => void;
378
378
  };
379
- getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined | undefined) => any;
379
+ getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined | undefined, safe?: boolean | undefined) => any;
380
380
  getRef: (e: InstanceType<typeof ElForm>) => void;
381
381
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
382
382
  setData: (e: import("@vunk/core").SetDataEvent<any>) => import("@vunk/core").SetDataEvent<any>;
@@ -1,4 +1,4 @@
1
- import { defaultIntoUndefined } from '@vunk/core';
1
+ import { NOOP } from '@vunk/core/shared/utils-function';
2
2
  import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, normalizeProps, mergeProps, createCommentVNode, resolveDynamicComponent } from 'vue';
3
3
  import { VkfFormItemRendererTemplate } from '@vunk/form/components/form-item-renderer-template';
4
4
  import { VkfInput } from '@vunk/form/components/input';
@@ -16,7 +16,7 @@ import { VkfButton } from '@vunk/form/components/button';
16
16
  import { VkfCascader } from '@vunk/form/components/cascader';
17
17
  import { VkfInputLink } from '@vunk/form/components/input-link';
18
18
 
19
- const createIntoUndefined = () => defaultIntoUndefined;
19
+ const createIntoUndefined = () => NOOP;
20
20
  const props = {
21
21
  data: {
22
22
  type: Object,
@@ -65,7 +65,7 @@ const _sfc_main = defineComponent({
65
65
  raw,
66
66
  data: props2.data
67
67
  });
68
- return getValue(props2.data, prop, intoUndefined);
68
+ return getValue(props2.data, prop, intoUndefined, true);
69
69
  };
70
70
  return {
71
71
  pickObject,
@@ -9,11 +9,11 @@ export declare const props: {
9
9
  type: PropType<(arg: {
10
10
  raw: any;
11
11
  data: Record<string, any>;
12
- }) => import("@vunk/core").IntoUndefined>;
12
+ }) => import("@vunk/core/shared/types").IntoUndefined>;
13
13
  default: (arg: {
14
14
  raw: any;
15
15
  data: Record<string, any>;
16
- }) => import("@vunk/core").IntoUndefined;
16
+ }) => import("@vunk/core/shared/types").IntoUndefined;
17
17
  };
18
18
  };
19
19
  export declare const emits: {
@@ -1,6 +1,6 @@
1
- import { defaultIntoUndefined } from '@vunk/core';
1
+ import { NOOP } from '@vunk/core/shared/utils-function';
2
2
 
3
- const createIntoUndefined = () => defaultIntoUndefined;
3
+ const createIntoUndefined = () => NOOP;
4
4
  const props = {
5
5
  data: {
6
6
  type: Object,
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
4
4
  default: () => {};
5
5
  };
6
6
  }, {
7
- getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined | undefined) => any;
7
+ getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined | undefined, safe?: boolean | undefined) => any;
8
8
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  setData: (data: import("@vunk/core").SetDataEvent<any>) => import("@vunk/core").SetDataEvent<any>;
10
10
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {