@fecp/designer 5.4.77 → 5.4.79

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 (51) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/packages/dialog/index.vue.mjs +1 -1
  3. package/es/designer/src/packages/dialog/index.vue2.mjs +1 -1
  4. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  5. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +8 -17
  6. package/es/designer/src/packages/form/property/contract.vue.mjs +13 -22
  7. package/es/designer/src/packages/form/property/document.vue.mjs +11 -20
  8. package/es/designer/src/packages/form/property/subForm.vue.mjs +16 -25
  9. package/es/designer/src/packages/form/property/subTable.vue.mjs +17 -26
  10. package/es/designer/src/packages/form/property/subTitleH2.vue.mjs +5 -14
  11. package/es/designer/src/packages/form/property/widgets.vue.mjs +81 -90
  12. package/es/designer/src/packages/table/property/widgets.vue.mjs +25 -34
  13. package/es/designer.css +248 -229
  14. package/es/packages/mobile/src/components/base/button/Button.vue.mjs +3 -3
  15. package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +22 -8
  16. package/es/packages/vue/index.mjs +2 -0
  17. package/es/packages/vue/src/components/details/footer/Footer.vue.mjs +7 -4
  18. package/es/packages/vue/src/components/details/header/Header.vue.mjs +7 -4
  19. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +3 -3
  20. package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +1 -1
  21. package/es/packages/vue/src/components/layout/Layout.vue.mjs +8 -15
  22. package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +11 -6
  23. package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +7 -4
  24. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +18 -2
  25. package/es/packages/vue/src/directive/auth.mjs +29 -0
  26. package/lib/designer/package.json.js +1 -1
  27. package/lib/designer/src/packages/dialog/index.vue.js +1 -1
  28. package/lib/designer/src/packages/dialog/index.vue2.js +1 -1
  29. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  30. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +8 -17
  31. package/lib/designer/src/packages/form/property/contract.vue.js +13 -22
  32. package/lib/designer/src/packages/form/property/document.vue.js +11 -20
  33. package/lib/designer/src/packages/form/property/subForm.vue.js +16 -25
  34. package/lib/designer/src/packages/form/property/subTable.vue.js +17 -26
  35. package/lib/designer/src/packages/form/property/subTitleH2.vue.js +5 -14
  36. package/lib/designer/src/packages/form/property/widgets.vue.js +81 -90
  37. package/lib/designer/src/packages/table/property/widgets.vue.js +25 -34
  38. package/lib/designer.css +248 -229
  39. package/lib/packages/mobile/src/components/base/button/Button.vue.js +2 -2
  40. package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +21 -7
  41. package/lib/packages/vue/index.js +2 -0
  42. package/lib/packages/vue/src/components/details/footer/Footer.vue.js +6 -3
  43. package/lib/packages/vue/src/components/details/header/Header.vue.js +6 -3
  44. package/lib/packages/vue/src/components/forms/form/Form.vue.js +3 -3
  45. package/lib/packages/vue/src/components/forms/h2/H2.vue.js +1 -1
  46. package/lib/packages/vue/src/components/layout/Layout.vue.js +8 -15
  47. package/lib/packages/vue/src/components/table/CustomButtons.vue.js +10 -5
  48. package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +6 -3
  49. package/lib/packages/vue/src/components/table/TableColumn.vue.js +18 -2
  50. package/lib/packages/vue/src/directive/auth.js +29 -0
  51. package/package.json +1 -1
@@ -96,7 +96,7 @@ const _sfc_main = {
96
96
  return openBlock(), createBlock(_component_el_collapse, {
97
97
  class: "setting",
98
98
  modelValue: unref(activeName),
99
- "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => isRef(activeName) ? activeName.value = $event : null)
99
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => isRef(activeName) ? activeName.value = $event : null)
100
100
  }, {
101
101
  default: withCtx(() => [
102
102
  createVNode(_component_el_collapse_item, {
@@ -153,21 +153,12 @@ const _sfc_main = {
153
153
  ]),
154
154
  _: 1
155
155
  }),
156
- createVNode(_component_el_form_item, { label: "权限标识" }, {
157
- default: withCtx(() => [
158
- createVNode(_component_el_input, {
159
- modelValue: unref(currentItem).permission,
160
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(currentItem).permission = $event)
161
- }, null, 8, ["modelValue"])
162
- ]),
163
- _: 1
164
- }),
165
156
  unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
166
157
  createVNode(_component_el_form_item, { label: "格式" }, {
167
158
  default: withCtx(() => [
168
159
  createVNode(_component_el_select, {
169
160
  modelValue: unref(currentItem).format,
170
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(currentItem).format = $event),
161
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(currentItem).format = $event),
171
162
  teleported: false,
172
163
  onChange: handleFormatChange
173
164
  }, {
@@ -210,14 +201,14 @@ const _sfc_main = {
210
201
  default: withCtx(() => [
211
202
  createVNode(_component_el_checkbox, {
212
203
  modelValue: unref(currentItem).hasDecimalPlaces,
213
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
204
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
214
205
  label: "保留小数位数"
215
206
  }, null, 8, ["modelValue"]),
216
207
  unref(currentItem).hasDecimalPlaces ? (openBlock(), createBlock(_component_el_input_number, {
217
208
  key: 0,
218
209
  style: { "margin-left": "10px", "width": "80px" },
219
210
  modelValue: unref(currentItem).decimalPlaces,
220
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).decimalPlaces = $event),
211
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).decimalPlaces = $event),
221
212
  min: 0,
222
213
  max: 10,
223
214
  "controls-position": "right",
@@ -230,13 +221,13 @@ const _sfc_main = {
230
221
  unref(currentItem).fieldType === "select" || unref(currentItem).fieldType === "multipleSelection" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
231
222
  createVNode(OptionConfig, {
232
223
  modelValue: unref(currentItem).optionConfig,
233
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).optionConfig = $event)
224
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).optionConfig = $event)
234
225
  }, null, 8, ["modelValue"]),
235
226
  createVNode(_component_el_form_item, { label: "标签效果" }, {
236
227
  default: withCtx(() => [
237
228
  createVNode(_component_el_select, {
238
229
  modelValue: unref(currentItem).optionStyle,
239
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(currentItem).optionStyle = $event),
230
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).optionStyle = $event),
240
231
  teleported: false
241
232
  }, {
242
233
  default: withCtx(() => [
@@ -258,7 +249,7 @@ const _sfc_main = {
258
249
  default: withCtx(() => [
259
250
  createVNode(_component_el_select, {
260
251
  modelValue: unref(currentItem).dateType,
261
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(currentItem).dateType = $event),
252
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(currentItem).dateType = $event),
262
253
  teleported: false
263
254
  }, {
264
255
  default: withCtx(() => [
@@ -300,18 +291,18 @@ const _sfc_main = {
300
291
  default: withCtx(() => [
301
292
  createVNode(_component_el_radio_group, {
302
293
  modelValue: unref(currentItem).widthMode,
303
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(currentItem).widthMode = $event),
294
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(currentItem).widthMode = $event),
304
295
  size: "small"
305
296
  }, {
306
297
  default: withCtx(() => [
307
298
  createVNode(_component_el_radio_button, { value: "auto" }, {
308
- default: withCtx(() => _cache[24] || (_cache[24] = [
299
+ default: withCtx(() => _cache[23] || (_cache[23] = [
309
300
  createTextVNode("自适应")
310
301
  ])),
311
302
  _: 1
312
303
  }),
313
304
  createVNode(_component_el_radio_button, { value: "fixed" }, {
314
- default: withCtx(() => _cache[25] || (_cache[25] = [
305
+ default: withCtx(() => _cache[24] || (_cache[24] = [
315
306
  createTextVNode("固定宽度")
316
307
  ])),
317
308
  _: 1
@@ -329,12 +320,12 @@ const _sfc_main = {
329
320
  default: withCtx(() => [
330
321
  createVNode(_component_el_input_number, {
331
322
  modelValue: unref(currentItem).width,
332
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(currentItem).width = $event),
323
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(currentItem).width = $event),
333
324
  min: 80,
334
325
  max: 500,
335
326
  class: "width-input"
336
327
  }, {
337
- append: withCtx(() => _cache[26] || (_cache[26] = [
328
+ append: withCtx(() => _cache[25] || (_cache[25] = [
338
329
  createTextVNode("px")
339
330
  ])),
340
331
  _: 1
@@ -349,12 +340,12 @@ const _sfc_main = {
349
340
  default: withCtx(() => [
350
341
  createVNode(_component_el_input_number, {
351
342
  modelValue: unref(currentItem).minWidth,
352
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(currentItem).minWidth = $event),
343
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(currentItem).minWidth = $event),
353
344
  min: 80,
354
345
  max: 500,
355
346
  class: "width-input"
356
347
  }, {
357
- append: withCtx(() => _cache[27] || (_cache[27] = [
348
+ append: withCtx(() => _cache[26] || (_cache[26] = [
358
349
  createTextVNode("px")
359
350
  ])),
360
351
  _: 1
@@ -366,7 +357,7 @@ const _sfc_main = {
366
357
  default: withCtx(() => [
367
358
  createVNode(_component_el_switch, {
368
359
  modelValue: unref(currentItem).isOverflowWrap,
369
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(currentItem).isOverflowWrap = $event)
360
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(currentItem).isOverflowWrap = $event)
370
361
  }, null, 8, ["modelValue"])
371
362
  ]),
372
363
  _: 1
@@ -375,7 +366,7 @@ const _sfc_main = {
375
366
  default: withCtx(() => [
376
367
  createVNode(_component_el_select, {
377
368
  modelValue: unref(currentItem).headerAlign,
378
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(currentItem).headerAlign = $event),
369
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(currentItem).headerAlign = $event),
379
370
  teleported: false
380
371
  }, {
381
372
  default: withCtx(() => [
@@ -401,7 +392,7 @@ const _sfc_main = {
401
392
  default: withCtx(() => [
402
393
  createVNode(_component_el_select, {
403
394
  modelValue: unref(currentItem).align,
404
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(currentItem).align = $event),
395
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(currentItem).align = $event),
405
396
  teleported: false
406
397
  }, {
407
398
  default: withCtx(() => [
@@ -427,7 +418,7 @@ const _sfc_main = {
427
418
  default: withCtx(() => [
428
419
  createVNode(_component_el_input, {
429
420
  modelValue: unref(currentItem).prefix,
430
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).prefix = $event)
421
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(currentItem).prefix = $event)
431
422
  }, null, 8, ["modelValue"])
432
423
  ]),
433
424
  _: 1
@@ -436,7 +427,7 @@ const _sfc_main = {
436
427
  default: withCtx(() => [
437
428
  createVNode(_component_el_input, {
438
429
  modelValue: unref(currentItem).suffix,
439
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffix = $event)
430
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).suffix = $event)
440
431
  }, null, 8, ["modelValue"])
441
432
  ]),
442
433
  _: 1
@@ -445,7 +436,7 @@ const _sfc_main = {
445
436
  default: withCtx(() => [
446
437
  createVNode(_component_el_input, {
447
438
  modelValue: unref(currentItem).dataMasking,
448
- "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).dataMasking = $event)
439
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).dataMasking = $event)
449
440
  }, null, 8, ["modelValue"])
450
441
  ]),
451
442
  _: 1
@@ -454,7 +445,7 @@ const _sfc_main = {
454
445
  default: withCtx(() => [
455
446
  createVNode(_component_el_checkbox, {
456
447
  modelValue: unref(currentItem).isLink,
457
- "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).isLink = $event),
448
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).isLink = $event),
458
449
  label: "启用超链接"
459
450
  }, null, 8, ["modelValue"]),
460
451
  unref(currentItem).isLink ? (openBlock(), createBlock(EventConfigButton, {
@@ -469,17 +460,17 @@ const _sfc_main = {
469
460
  default: withCtx(() => [
470
461
  createVNode(_component_el_checkbox, {
471
462
  modelValue: unref(currentItem).canSort,
472
- "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).canSort = $event),
463
+ "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).canSort = $event),
473
464
  label: "排序"
474
465
  }, null, 8, ["modelValue"]),
475
466
  createVNode(_component_el_checkbox, {
476
467
  modelValue: unref(currentItem).canCopy,
477
- "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => unref(currentItem).canCopy = $event),
468
+ "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).canCopy = $event),
478
469
  label: "复制"
479
470
  }, null, 8, ["modelValue"]),
480
471
  createVNode(_component_el_checkbox, {
481
472
  modelValue: unref(currentItem).isFixed,
482
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => unref(currentItem).isFixed = $event),
473
+ "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => unref(currentItem).isFixed = $event),
483
474
  label: "左侧固定"
484
475
  }, null, 8, ["modelValue"])
485
476
  ]),
@@ -497,7 +488,7 @@ const _sfc_main = {
497
488
  };
498
489
  }
499
490
  };
500
- const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f6e822bf"]]);
491
+ const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1b079e6c"]]);
501
492
  export {
502
493
  widgets as default
503
494
  };