knt-shared 1.4.0 → 1.4.1

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.
package/dist/index.esm.js CHANGED
@@ -2726,6 +2726,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2726
2726
  schemas: { default: () => [] },
2727
2727
  layout: { default: "horizontal" },
2728
2728
  size: {},
2729
+ gutter: { default: 24 },
2729
2730
  disabled: { type: Boolean, default: false },
2730
2731
  labelAlign: { default: "right" },
2731
2732
  autoLabelWidth: { type: Boolean },
@@ -2767,8 +2768,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2767
2768
  };
2768
2769
  });
2769
2770
  const getRow = computed(() => {
2771
+ const propsData = unref(getProps);
2770
2772
  return {
2771
- gutter: 24
2773
+ gutter: propsData.gutter || 24
2772
2774
  };
2773
2775
  });
2774
2776
  const getActionProps = computed(() => {
@@ -3065,8 +3067,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3065
3067
  default: withCtx(() => [
3066
3068
  schema.slotName ? renderSlot(_ctx.$slots, schema.slotName, {
3067
3069
  key: 0,
3070
+ field: schema.field,
3068
3071
  schema,
3069
- model: formModel
3072
+ formModel
3070
3073
  }) : schema.renderComponentContent ? (openBlock(), createBlock(resolveDynamicComponent(schema.renderComponentContent(schema, formModel)), { key: 1 })) : (openBlock(), createBlock(resolveDynamicComponent(unref(getComponent)(schema.component)), mergeProps({
3071
3074
  key: 2,
3072
3075
  modelValue: formModel[schema.field],