@ftjs/tdesign 2.0.0 → 2.1.0

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { computed, toValue, createVNode, mergeProps, createTextVNode, h, isVNode, defineComponent, createBlock, openBlock, resolveDynamicComponent, unref, createElementBlock, Fragment, renderList, normalizeStyle, ref, useId, withCtx, renderSlot, createCommentVNode, toDisplayString, createElementVNode } from "vue";
1
+ import { computed, toValue, createVNode, mergeProps, createTextVNode, h, isVNode, defineComponent, createBlock, openBlock, resolveDynamicComponent, unref, createElementBlock, Fragment, renderList, normalizeClass, normalizeStyle, ref, useId, withCtx, renderSlot, createCommentVNode, toDisplayString, createElementVNode } from "vue";
2
2
  import { getField, set, useFormItem, useLocale, useFormInject, toValueWithForm, unrefs, useForm } from "@ftjs/core";
3
3
  import { FormItem, AutoComplete as AutoComplete$1, Cascader as Cascader$1, CheckboxGroup, ColorPicker as ColorPicker$1, DatePicker as DatePicker$1, DateRangePicker as DateRangePicker$1, Input as Input$1, InputAdornment, InputNumber as InputNumber$1, Tag, TagInput as TagInput$1, RadioGroup, RangeInput as RangeInput$1, Select as Select$1, Slider as Slider$1, Switch as Switch$1, Textarea as Textarea$1, TimePicker as TimePicker$1, TreeSelect as TreeSelect$1, Form, Button, Dialog, Tree } from "tdesign-vue-next";
4
4
  import { MoveIcon, SettingIcon } from "tdesign-icons-vue-next";
@@ -639,8 +639,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
639
639
  key: unref(getField)(column),
640
640
  column,
641
641
  "is-view": _ctx.isView,
642
- style: normalizeStyle(getStyle(column))
643
- }, null, 8, ["column", "is-view", "style"]);
642
+ style: normalizeStyle(getStyle(column)),
643
+ class: normalizeClass({
644
+ "ftjs-form-is-view": _ctx.isView
645
+ })
646
+ }, null, 8, ["column", "is-view", "style", "class"]);
644
647
  }), 128);
645
648
  };
646
649
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ftjs/tdesign",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "license": "MIT",