@vunk/form 2.3.1 → 2.3.2

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.
@@ -217,12 +217,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
217
217
  onSetData: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("setData", $event))
218
218
  }, {
219
219
  default: vue.withCtx(() => [
220
- vue.createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, null, 8, ["source"])
220
+ vue.createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, null, 8, ["source"]),
221
+ vue.renderSlot(_ctx.$slots, "default")
221
222
  ]),
222
- _: 1
223
- /* STABLE */
224
- }, 8, ["data"]),
225
- vue.renderSlot(_ctx.$slots, "default")
223
+ _: 3
224
+ /* FORWARDED */
225
+ }, 8, ["data"])
226
226
  ]),
227
227
  _: 3
228
228
  /* FORWARDED */
@@ -213,12 +213,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
213
213
  onSetData: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("setData", $event))
214
214
  }, {
215
215
  default: withCtx(() => [
216
- createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, null, 8, ["source"])
216
+ createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, null, 8, ["source"]),
217
+ renderSlot(_ctx.$slots, "default")
217
218
  ]),
218
- _: 1
219
- /* STABLE */
220
- }, 8, ["data"]),
221
- renderSlot(_ctx.$slots, "default")
219
+ _: 3
220
+ /* FORWARDED */
221
+ }, 8, ["data"])
222
222
  ]),
223
223
  _: 3
224
224
  /* FORWARDED */
@@ -8,7 +8,7 @@ export interface DefaultSlotArguments {
8
8
  /**
9
9
  * 根据 templateIf 生成的控制显隐事件
10
10
  */
11
- templateIf: (e?: NormalObject) => boolean;
11
+ templateIf: (e: NormalObject) => boolean;
12
12
  /**
13
13
  * @deprecated use props
14
14
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -5,7 +5,7 @@ import { __VkfTemplatesEsri } from '@vunk/form/components/templates-esri';
5
5
  import { NormalObject } from '@vunk/core';
6
6
  import { __VkfTemplatesVariant } from '@vunk/form/components/templates-variant';
7
7
  export interface BasicSource {
8
- templateIf?: ((data?: NormalObject) => boolean) | string | boolean;
8
+ templateIf?: ((data: NormalObject) => boolean) | string | boolean;
9
9
  templateType?: string;
10
10
  class?: any;
11
11
  prop?: any;