template-designer 0.12.3 → 0.12.4

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.
@@ -1,6 +1,6 @@
1
- import { R as l } from "./index-9e0dff3c.mjs";
1
+ import { R as e } from "./index-1edadc62.mjs";
2
2
  import "vue";
3
- const t = {
3
+ const a = {
4
4
  text: {
5
5
  // 组件默认宽度 单位mm
6
6
  width: 20,
@@ -87,7 +87,7 @@ const t = {
87
87
  prop: "rotation",
88
88
  label: "旋转角度",
89
89
  type: "select",
90
- options: l,
90
+ options: e,
91
91
  default: 0,
92
92
  layout: "half"
93
93
  }
@@ -124,7 +124,7 @@ const t = {
124
124
  prop: "rotation",
125
125
  label: "旋转角度",
126
126
  type: "select",
127
- options: l,
127
+ options: e,
128
128
  default: 0,
129
129
  layout: "half"
130
130
  }
@@ -169,7 +169,27 @@ const t = {
169
169
  // 是否允许旋转
170
170
  desc: "",
171
171
  propertyPanel: [
172
- { prop: "ImageSrc", label: "图片地址", type: "file", accept: "image/*", default: "" }
172
+ { prop: "ImageSrc", label: "图片地址", type: "file", accept: "image/*", default: "" },
173
+ {
174
+ prop: "IsPrint",
175
+ label: "是否打印",
176
+ type: "select",
177
+ options: [
178
+ { label: "是", value: !0 },
179
+ { label: "否", value: !1 }
180
+ ],
181
+ default: !0,
182
+ hidden: !0
183
+ },
184
+ {
185
+ prop: "rotation",
186
+ label: "旋转角度",
187
+ type: "select",
188
+ options: e,
189
+ default: 0,
190
+ layout: "half",
191
+ hidden: !0
192
+ }
173
193
  ]
174
194
  },
175
195
  line: {
@@ -211,12 +231,12 @@ const t = {
211
231
  prop: "rotation",
212
232
  label: "旋转角度",
213
233
  type: "select",
214
- options: l,
234
+ options: e,
215
235
  default: 0
216
236
  }
217
237
  ]
218
238
  }
219
239
  };
220
240
  export {
221
- t as default
241
+ a as default
222
242
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "template-designer",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "模板拖拽设计器组件库",
5
5
  "main": "dist/template-designer.umd.js",
6
6
  "module": "dist/template-designer.esm.js",