@farris/ui-vue 1.8.0-alpha.0 → 1.8.0-beta.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.
Files changed (193) hide show
  1. package/components/avatar/index.esm.js +138 -1526
  2. package/components/avatar/index.umd.cjs +1 -6
  3. package/components/button/index.css +1 -1
  4. package/components/button/index.esm.js +15951 -15410
  5. package/components/button/index.umd.cjs +27 -27
  6. package/components/calendar/index.esm.js +269 -255
  7. package/components/calendar/index.umd.cjs +3 -3
  8. package/components/collection-property-editor/index.esm.js +243 -229
  9. package/components/collection-property-editor/index.umd.cjs +2 -2
  10. package/components/combo-list/index.esm.js +32 -32
  11. package/components/combo-list/index.umd.cjs +1 -1
  12. package/components/comment/index.esm.js +473 -456
  13. package/components/comment/index.umd.cjs +6 -6
  14. package/components/component/index.css +1 -1
  15. package/components/component/index.esm.js +2503 -2239
  16. package/components/component/index.umd.cjs +2 -2
  17. package/components/condition/index.esm.js +1064 -954
  18. package/components/condition/index.umd.cjs +2 -2
  19. package/components/data-grid/index.esm.js +1 -1
  20. package/components/data-grid/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.css +1 -1
  22. package/components/designer-canvas/index.esm.js +3894 -3058
  23. package/components/designer-canvas/index.umd.cjs +1 -1
  24. package/components/drawer/index.esm.js +91 -77
  25. package/components/drawer/index.umd.cjs +2 -2
  26. package/components/dynamic-form/index.esm.js +220 -215
  27. package/components/dynamic-form/index.umd.cjs +1 -1
  28. package/components/dynamic-resolver/index.esm.js +145 -131
  29. package/components/dynamic-resolver/index.umd.cjs +2 -2
  30. package/components/dynamic-view/index.esm.js +336 -329
  31. package/components/dynamic-view/index.umd.cjs +1 -1
  32. package/components/events-editor/index.esm.js +1611 -1536
  33. package/components/events-editor/index.umd.cjs +3 -3
  34. package/components/expression-editor/index.esm.js +219 -219
  35. package/components/expression-editor/index.umd.cjs +2 -2
  36. package/components/external-container/index.esm.js +179 -178
  37. package/components/external-container/index.umd.cjs +1 -1
  38. package/components/fieldset/index.esm.js +285 -221
  39. package/components/fieldset/index.umd.cjs +1 -1
  40. package/components/filter-bar/index.css +1 -0
  41. package/components/filter-bar/index.esm.js +1512 -1290
  42. package/components/filter-bar/index.umd.cjs +7 -7
  43. package/components/filter-condition-editor/index.esm.js +851 -831
  44. package/components/filter-condition-editor/index.umd.cjs +3 -3
  45. package/components/flow-canvas/index.esm.js +520 -501
  46. package/components/flow-canvas/index.umd.cjs +8 -8
  47. package/components/image/index.esm.js +101 -79
  48. package/components/image/index.umd.cjs +3 -3
  49. package/components/language-textbox/index.esm.js +330 -251
  50. package/components/language-textbox/index.umd.cjs +2 -2
  51. package/components/list-nav/index.esm.js +399 -313
  52. package/components/list-nav/index.umd.cjs +1 -1
  53. package/components/locale/index.esm.js +3 -0
  54. package/components/locale/index.umd.cjs +1 -1
  55. package/components/lookup/index.esm.js +997 -976
  56. package/components/lookup/index.umd.cjs +2 -2
  57. package/components/mapping-editor/index.esm.js +725 -705
  58. package/components/mapping-editor/index.umd.cjs +1 -1
  59. package/components/message-box/index.esm.js +542 -522
  60. package/components/message-box/index.umd.cjs +1 -1
  61. package/components/nav/index.esm.js +95 -308
  62. package/components/nav/index.umd.cjs +1 -1
  63. package/components/number-range/index.esm.js +115 -107
  64. package/components/number-range/index.umd.cjs +2 -2
  65. package/components/order/index.esm.js +56 -54
  66. package/components/order/index.umd.cjs +1 -1
  67. package/components/page-footer/index.esm.js +135 -123
  68. package/components/page-footer/index.umd.cjs +1 -1
  69. package/components/page-header/index.esm.js +266 -222
  70. package/components/page-header/index.umd.cjs +1 -1
  71. package/components/property-panel/index.esm.js +402 -375
  72. package/components/property-panel/index.umd.cjs +4 -4
  73. package/components/query-solution/index.esm.js +3171 -3061
  74. package/components/query-solution/index.umd.cjs +7 -7
  75. package/components/response-toolbar/index.esm.js +1 -1
  76. package/components/response-toolbar/index.umd.cjs +1 -1
  77. package/components/schema-selector/index.esm.js +1620 -1608
  78. package/components/schema-selector/index.umd.cjs +5 -5
  79. package/components/scroll-navbar/index.esm.js +150 -136
  80. package/components/scroll-navbar/index.umd.cjs +2 -2
  81. package/components/section/index.esm.js +323 -311
  82. package/components/section/index.umd.cjs +2 -2
  83. package/components/sort-condition-editor/index.esm.js +850 -830
  84. package/components/sort-condition-editor/index.umd.cjs +3 -3
  85. package/components/step/index.esm.js +991 -224
  86. package/components/step/index.umd.cjs +1 -1
  87. package/components/tabs/index.esm.js +356 -334
  88. package/components/tabs/index.umd.cjs +1 -1
  89. package/components/wizard/index.esm.js +159 -162
  90. package/components/wizard/index.umd.cjs +1 -1
  91. package/designer/avatar/index.esm.js +1721 -0
  92. package/designer/avatar/index.umd.cjs +6 -0
  93. package/designer/button-edit/index.esm.js +2 -1
  94. package/designer/button-edit/index.umd.cjs +1 -1
  95. package/designer/data-grid/index.esm.js +693 -659
  96. package/designer/data-grid/index.umd.cjs +6 -6
  97. package/designer/data-view/index.esm.js +90 -78
  98. package/designer/data-view/index.umd.cjs +2 -2
  99. package/designer/date-picker/index.esm.js +203 -203
  100. package/designer/date-picker/index.umd.cjs +1 -1
  101. package/designer/drawer/index.esm.js +181 -167
  102. package/designer/drawer/index.umd.cjs +2 -2
  103. package/designer/dynamic-form/index.esm.js +228 -206
  104. package/designer/dynamic-form/index.umd.cjs +2 -2
  105. package/designer/farris-designer.all.esm.js +10014 -9692
  106. package/designer/farris-designer.all.umd.cjs +18 -18
  107. package/designer/index.css +1 -1
  108. package/designer/input-group/index.esm.js +15 -15
  109. package/designer/input-group/index.umd.cjs +1 -1
  110. package/designer/nav/index.esm.js +1719 -0
  111. package/designer/nav/index.umd.cjs +6 -0
  112. package/designer/number-spinner/index.esm.js +8 -7
  113. package/designer/number-spinner/index.umd.cjs +1 -1
  114. package/designer/radio-group/index.esm.js +133 -125
  115. package/designer/radio-group/index.umd.cjs +2 -2
  116. package/designer/response-toolbar/index.esm.js +864 -863
  117. package/designer/response-toolbar/index.umd.cjs +1 -1
  118. package/designer/section/index.esm.js +245 -183
  119. package/designer/section/index.umd.cjs +1 -1
  120. package/designer/tabs/index.css +1 -1
  121. package/designer/tabs/index.esm.js +3667 -2810
  122. package/designer/tabs/index.umd.cjs +2 -2
  123. package/designer/time-picker/index.esm.js +26 -17
  124. package/designer/time-picker/index.umd.cjs +2 -2
  125. package/designer/tree-grid/index.esm.js +69 -37
  126. package/designer/tree-grid/index.umd.cjs +1 -1
  127. package/designer/wizard/index.esm.js +110 -110
  128. package/designer/wizard/index.umd.cjs +3 -3
  129. package/farris.all.esm.js +39993 -39089
  130. package/farris.all.umd.cjs +36 -36
  131. package/index.css +1 -1
  132. package/locales/filter-bar/ui/en.json +1 -0
  133. package/locales/filter-bar/ui/zh-CHS.json +1 -0
  134. package/locales/filter-bar/ui/zh-CHT.json +1 -0
  135. package/locales/ui/en.json +1 -0
  136. package/locales/ui/zh-CHS.json +1 -0
  137. package/locales/ui/zh-CHT.json +1 -0
  138. package/package.json +1 -1
  139. package/types/avatar/designer.d.ts +28 -0
  140. package/types/avatar/index.d.ts +0 -15
  141. package/types/avatar/src/composition/types.d.ts +3 -0
  142. package/types/avatar/src/composition/use-file.d.ts +19 -0
  143. package/types/avatar/src/composition/use-image.d.ts +1 -1
  144. package/types/avatar/src/designer/avatar.design.props.d.ts +24 -0
  145. package/types/avatar/src/property-config/avatar.property-config.d.ts +11 -13
  146. package/types/avatar/src/schema/schema-mapper.d.ts +2 -0
  147. package/types/components.d.ts +3 -0
  148. package/types/condition/index.d.ts +18 -6
  149. package/types/condition/src/condition-fields.component.d.ts +9 -3
  150. package/types/condition/src/condition-fields.design.component.d.ts +9 -3
  151. package/types/condition/src/condition-list.component.d.ts +9 -3
  152. package/types/condition/src/condition.props.d.ts +11 -0
  153. package/types/data-view/designer/property-config/use-appearance.d.ts +17 -10
  154. package/types/data-view/designer/property-config/use-pagination.d.ts +0 -6
  155. package/types/designer-canvas/src/composition/dg-control.d.ts +13 -0
  156. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -0
  157. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +4 -0
  158. package/types/dynamic-resolver/src/converter/tree-auto-check.converter.d.ts +3 -0
  159. package/types/dynamic-view/src/components/maps.d.ts +130 -4
  160. package/types/filter-bar/src/composition/types.d.ts +2 -0
  161. package/types/filter-bar/src/filter-bar.props.d.ts +0 -1
  162. package/types/filter-bar/src/locale/locale.d.ts +2 -1
  163. package/types/filter-bar/src/property-config/filter-bar.property-config.d.ts +0 -1
  164. package/types/language-textbox/index.d.ts +65 -2
  165. package/types/language-textbox/src/designer/language-textbox.design.component.d.ts +36 -0
  166. package/types/language-textbox/src/language-textbox.component.d.ts +38 -1
  167. package/types/language-textbox/src/language-textbox.props.d.ts +20 -0
  168. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  169. package/types/lookup/src/composition/use-compat.d.ts +28 -0
  170. package/types/lookup/src/composition/use-state.d.ts +1 -0
  171. package/types/message-box/src/message-box.service.d.ts +2 -1
  172. package/types/nav/designer.d.ts +28 -0
  173. package/types/nav/index.d.ts +24 -20
  174. package/types/nav/src/designer/nav.design.props.d.ts +29 -0
  175. package/types/nav/src/designer/use-design-rules.d.ts +3 -0
  176. package/types/nav/src/property-config/nav.property-config.d.ts +9 -0
  177. package/types/nav/src/schema/schema-mapper.d.ts +4 -0
  178. package/types/page-footer/src/designer/use-designer-rules.d.ts +2 -2
  179. package/types/page-header/src/designer/use-designer-rules.d.ts +2 -2
  180. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -0
  181. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  182. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -1
  183. package/types/section/src/designer/section.design.props.d.ts +4 -0
  184. package/types/section/src/property-config/section.property-config.d.ts +39 -0
  185. package/types/section/src/schema/toolbar-resolver.d.ts +0 -1
  186. package/types/step/src/designer/use-designer-rules.d.ts +3 -0
  187. package/types/step/src/designer/use-step-creator.d.ts +6 -0
  188. package/types/step/src/property-config/step.property-config.d.ts +15 -0
  189. package/types/step/src/schema/schema-resolver.d.ts +2 -1
  190. package/types/tabs/src/composition/types.d.ts +4 -0
  191. package/types/tabs/src/tabs.props.d.ts +6 -0
  192. package/types/tooltip/index.d.ts +3 -3
  193. package/types/tooltip/src/tooltip.component.d.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  var Ce = Object.defineProperty;
2
2
  var Ae = (i, t, e) => t in i ? Ce(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var C = (i, t, e) => Ae(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as N, computed as R, defineComponent as ee, watch as X, createVNode as V, Fragment as Fe, createTextVNode as Ee, nextTick as we, inject as $, onMounted as xe } from "vue";
4
+ import { ref as L, computed as R, defineComponent as ee, watch as X, createVNode as V, Fragment as Ee, createTextVNode as Fe, nextTick as we, inject as $, onMounted as xe } from "vue";
5
5
  import { isPlainObject as K, cloneDeep as Z } from "lodash-es";
6
6
  import { resolveAppearance as Se } from "../dynamic-resolver/index.esm.js";
7
7
  import { getCustomClass as te, FormSchemaEntityField$Type as _, FormSchemaEntityFieldType$Type as Ie, withInstall as Me } from "../common/index.esm.js";
@@ -138,12 +138,12 @@ function Be(i = {}) {
138
138
  }
139
139
  return { parseValueSchema: d };
140
140
  }
141
- const Ne = {
141
+ const Le = {
142
142
  convertTo: (i, t, e, n) => {
143
143
  i.appearance || (i.appearance = {}), i.appearance[t] = e;
144
144
  },
145
145
  convertFrom: (i, t, e) => i.appearance ? i.appearance[t] : i[t]
146
- }, Le = {
146
+ }, Ne = {
147
147
  convertFrom: (i, t, e) => i.buttons && i.buttons.length ? `共 ${i.buttons.length} 项` : "无"
148
148
  }, Ge = {
149
149
  convertTo: (i, t, e, n) => {
@@ -196,10 +196,12 @@ const Ne = {
196
196
  drawer: { type: "drawer", name: "抽屉" },
197
197
  "external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
198
198
  "list-nav": { type: "list-nav", name: "列表导航" },
199
+ nav: { type: "nav", name: "标签类导航" },
199
200
  "list-view": { type: "list-view", name: "列表" },
200
201
  "filter-bar": { type: "filter-bar", name: "筛选条" },
201
202
  "language-textbox": { type: "language-textbox", name: "多语输入框" },
202
203
  image: { type: "image", name: "图像" },
204
+ avatar: { type: "avatar", name: "头像" },
203
205
  "discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
204
206
  "discussion-list": { type: "discussion-list", name: "评论列表" },
205
207
  comment: { type: "comment", name: "评论区" },
@@ -207,7 +209,8 @@ const Ne = {
207
209
  calendar: { type: "calendar", name: "日历", icon: "date-picker" },
208
210
  wizard: { type: "wizard", name: "向导", icon: "wizard" },
209
211
  "wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
210
- "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" }
212
+ "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
213
+ step: { type: "step", name: "步骤条", icon: "step" }
211
214
  }, je = {
212
215
  convertFrom: (i, t, e) => {
213
216
  var r;
@@ -451,11 +454,21 @@ const Ne = {
451
454
  </span>`), t === "columnTemplateType" && e === "default" && (i.columnTemplate = ""), t === "columnTemplateType" && e === "custom" && (i.columnTemplate = ""));
452
455
  },
453
456
  convertFrom: (i, t, e) => t === "columnTemplate" ? i.columnTemplate : t === "columnTemplateType" ? i.columnTemplateType ? i.columnTemplateType || "default" : i.columnTemplate && !i.onClickLinkCommand ? "custom" : i.columnTemplate && i.onClickLinkCommand ? "hyperlink" : "default" : ""
457
+ }, rt = {
458
+ convertTo: (i, t, e, n) => {
459
+ i.hierarchy || (i.hierarchy = {
460
+ cascadeOption: {}
461
+ }), i.hierarchy.cascadeOption || (i.hierarchy.cascadeOption = {}), i.hierarchy.cascadeOption[t] = e;
462
+ },
463
+ convertFrom: (i, t, e) => {
464
+ var n, r;
465
+ return !!((r = (n = i.hierarchy) == null ? void 0 : n.cascadeOption) != null && r[t]);
466
+ }
454
467
  };
455
468
  function oe(i, t, e) {
456
469
  const n = /* @__PURE__ */ new Map([
457
- ["/converter/appearance.converter", Ne],
458
- ["/converter/buttons.converter", Le],
470
+ ["/converter/appearance.converter", Le],
471
+ ["/converter/buttons.converter", Ne],
459
472
  ["/converter/property-editor.converter", Ge],
460
473
  ["/converter/items-count.converter", Xe],
461
474
  ["/converter/type.converter", je],
@@ -475,7 +488,8 @@ function oe(i, t, e) {
475
488
  ["/converter/grid-sort.converter", et],
476
489
  ["/converter/grid-filter.converter", tt],
477
490
  ["/converter/row-option.converter", it],
478
- ["/converter/change-formatter-type.converter", nt]
491
+ ["/converter/change-formatter-type.converter", nt],
492
+ ["/converter/tree-auto-check.converter", rt]
479
493
  ]), r = /* @__PURE__ */ new Map([
480
494
  ["string", { type: "input-group", enableClear: !1 }],
481
495
  ["boolean", {
@@ -515,39 +529,39 @@ function oe(i, t, e) {
515
529
  return typeof h == "string" && h && n.has(h) ? n.get(h) || null : h || null;
516
530
  }
517
531
  function c(a, p, h, v, b, w = "", S = "") {
518
- return Object.keys(a).map((E) => {
519
- const M = N(1), I = E, F = a[E], A = Object.keys(F), G = F.title, O = F.type, B = r.get(O) || { type: "input-group", enableClear: !1 }, k = F.editor ? Object.assign({}, B, F.editor) : Object.assign({}, B), W = g(A, F, p), j = d(A, F, p);
532
+ return Object.keys(a).map((F) => {
533
+ const M = L(1), I = F, E = a[F], A = Object.keys(E), G = E.title, O = E.type, B = r.get(O) || { type: "input-group", enableClear: !1 }, k = E.editor ? Object.assign({}, B, E.editor) : Object.assign({}, B), W = g(A, E, p), j = d(A, E, p);
520
534
  k.readonly = k.readonly === void 0 ? j() : k.readonly;
521
- const H = F.type === "cascade" ? c(F.properties, p, h, v, b, w, S) : [], J = !0;
522
- let P = u(F, S);
535
+ const H = E.type === "cascade" ? c(E.properties, p, h, v, b, w, S) : [], J = !0;
536
+ let P = u(E, S);
523
537
  const fe = R({
524
538
  get() {
525
539
  if (M.value) {
526
540
  if (["class", "style"].find((be) => be === I) && !P && (P = n.get("/converter/appearance.converter") || null), P && P.convertFrom)
527
- return P.convertFrom(h, E, b, w);
528
- const T = h[E];
529
- return Object.prototype.hasOwnProperty.call(F, "defaultValue") && (T === void 0 || typeof T == "string" && T === "") ? F.type === "boolean" ? F.defaultValue : F.defaultValue || "" : T;
541
+ return P.convertFrom(h, F, b, w);
542
+ const T = h[F];
543
+ return Object.prototype.hasOwnProperty.call(E, "defaultValue") && (T === void 0 || typeof T == "string" && T === "") ? E.type === "boolean" ? E.defaultValue : E.defaultValue || "" : T;
530
544
  }
531
545
  return null;
532
546
  },
533
547
  set(T) {
534
- M.value += 1, P && P.convertTo ? (P.convertTo(v, E, T, b, w), P.convertTo(h, E, T, b, w)) : (v[E] = T, h[E] = T);
548
+ M.value += 1, P && P.convertTo ? (P.convertTo(v, F, T, b, w), P.convertTo(h, F, T, b, w)) : (v[F] = T, h[F] = T);
535
549
  }
536
- }), { refreshPanelAfterChanged: ge, description: he, isExpand: ye, parentPropertyID: ve } = F, D = { propertyID: I, propertyName: G, propertyType: O, propertyValue: fe, editor: k, visible: W, readonly: j, cascadeConfig: H, hideCascadeTitle: J, refreshPanelAfterChanged: ge, description: he, isExpand: ye, parentPropertyID: ve };
550
+ }), { refreshPanelAfterChanged: ge, description: he, isExpand: ye, parentPropertyID: ve } = E, D = { propertyID: I, propertyName: G, propertyType: O, propertyValue: fe, editor: k, visible: W, readonly: j, cascadeConfig: H, hideCascadeTitle: J, refreshPanelAfterChanged: ge, description: he, isExpand: ye, parentPropertyID: ve };
537
551
  return p[I] = D, D;
538
552
  });
539
553
  }
540
554
  function o(a, p, h = {}) {
541
555
  const v = {}, b = i[a];
542
556
  return b && b.categories ? Object.keys(b.categories).map((S) => {
543
- const x = b.categories[S], E = x == null ? void 0 : x.title, M = c(x.properties || {}, v, {}, h, p);
544
- return { categoryId: S, categoryName: E, properties: M };
557
+ const x = b.categories[S], F = x == null ? void 0 : x.title, M = c(x.properties || {}, v, {}, h, p);
558
+ return { categoryId: S, categoryName: F, properties: M };
545
559
  }) : [];
546
560
  }
547
561
  function m(a, p, h, v, b = "") {
548
- const w = p.$ref.schema, S = p.$ref.converter, x = h[w], E = x.type, M = e(x), I = {}, F = i[E];
549
- if (F && F.categories) {
550
- const A = F.categories[a], G = A == null ? void 0 : A.title;
562
+ const w = p.$ref.schema, S = p.$ref.converter, x = h[w], F = x.type, M = e(x), I = {}, E = i[F];
563
+ if (E && E.categories) {
564
+ const A = E.categories[a], G = A == null ? void 0 : A.title;
551
565
  S && Object.keys(A.properties).forEach((k) => {
552
566
  A.properties[k].$converter = S;
553
567
  });
@@ -558,17 +572,17 @@ function oe(i, t, e) {
558
572
  }
559
573
  function y(a, p, h, v, b) {
560
574
  const w = a.type, S = e(a), x = {};
561
- let E = b || i[w];
562
- if (!(E && Object.keys(E).length > 0) && h && h.getPropConfig && (E = h.getPropConfig(v)), E && E.categories) {
575
+ let F = b || i[w];
576
+ if (!(F && Object.keys(F).length > 0) && h && h.getPropConfig && (F = h.getPropConfig(v)), F && F.categories) {
563
577
  const I = [];
564
- return Object.keys(E.categories).map((F) => {
565
- const A = E.categories[F];
578
+ return Object.keys(F.categories).map((E) => {
579
+ const A = F.categories[E];
566
580
  if (A.$ref) {
567
- I.push(m(F, A, a, p, v));
581
+ I.push(m(E, A, a, p, v));
568
582
  return;
569
583
  }
570
584
  const G = A == null ? void 0 : A.title, O = A == null ? void 0 : A.tabId, B = A == null ? void 0 : A.tabName, k = A == null ? void 0 : A.hide, W = A == null ? void 0 : A.hideTitle, j = c(A.properties || {}, x, S, a, p, v, A.$converter), { setPropertyRelates: H } = A, J = A == null ? void 0 : A.parentPropertyID;
571
- I.push({ categoryId: F, categoryName: G, tabId: O, tabName: B, hide: k, properties: j, hideTitle: W, setPropertyRelates: H, parentPropertyID: J });
585
+ I.push({ categoryId: E, categoryName: G, tabId: O, tabName: B, hide: k, properties: j, hideTitle: W, setPropertyRelates: H, parentPropertyID: J });
572
586
  }), I;
573
587
  }
574
588
  return [];
@@ -581,9 +595,9 @@ function oe(i, t, e) {
581
595
  }
582
596
  const se = {}, le = {};
583
597
  oe(se, le, ke);
584
- const ae = {}, de = {}, { resolveSchemaWithDefaultValue: rt } = ie(ae, de), ce = {}, ue = {};
585
- oe(ce, ue, rt);
586
- function ot(i, t, e = /* @__PURE__ */ new Map(), n = (l, g, d, u) => g, r = {}, s = (l) => l) {
598
+ const ae = {}, de = {}, { resolveSchemaWithDefaultValue: ot } = ie(ae, de), ce = {}, ue = {};
599
+ oe(ce, ue, ot);
600
+ function st(i, t, e = /* @__PURE__ */ new Map(), n = (l, g, d, u) => g, r = {}, s = (l) => l) {
587
601
  return ne[t.title] = t, re[t.title] = n, se[t.title] = r, le[t.title] = s, ae[t.title] = t, de[t.title] = n, ce[t.title] = r, ue[t.title] = s, (l = {}, g = !0) => {
588
602
  if (!g)
589
603
  return Oe(l, e);
@@ -591,12 +605,12 @@ function ot(i, t, e = /* @__PURE__ */ new Map(), n = (l, g, d, u) => g, r = {},
591
605
  return Object.assign(u, d);
592
606
  };
593
607
  }
594
- function st(i, t, e) {
608
+ function lt(i, t, e) {
595
609
  return t;
596
610
  }
597
- const lt = /* @__PURE__ */ new Map([
611
+ const at = /* @__PURE__ */ new Map([
598
612
  ["appearance", Se]
599
- ]), at = "https://json-schema.org/draft/2020-12/schema", dt = "https://farris-design.gitee.io/image.schema.json", ct = "image", ut = "A Farris Component", pt = "object", mt = {
613
+ ]), dt = "https://json-schema.org/draft/2020-12/schema", ct = "https://farris-design.gitee.io/image.schema.json", ut = "image", pt = "A Farris Component", mt = "object", ft = {
600
614
  id: {
601
615
  description: "The unique identifier for image",
602
616
  type: "string"
@@ -662,23 +676,23 @@ const lt = /* @__PURE__ */ new Map([
662
676
  description: "",
663
677
  type: "Number"
664
678
  }
665
- }, ft = [
679
+ }, gt = [
666
680
  "id",
667
681
  "type"
668
- ], gt = [
682
+ ], ht = [
669
683
  "id",
670
684
  "appearance",
671
685
  "binding",
672
686
  "visible"
673
- ], ht = {
674
- $schema: at,
675
- $id: dt,
676
- title: ct,
677
- description: ut,
678
- type: pt,
679
- properties: mt,
680
- required: ft,
681
- ignore: gt
687
+ ], yt = {
688
+ $schema: dt,
689
+ $id: ct,
690
+ title: ut,
691
+ description: pt,
692
+ type: mt,
693
+ properties: ft,
694
+ required: gt,
695
+ ignore: ht
682
696
  }, Q = {
683
697
  // 绑定特殊字段,辅助构造src,指定服务器端图像Id
684
698
  modelValue: { type: String, default: "" },
@@ -695,19 +709,19 @@ const lt = /* @__PURE__ */ new Map([
695
709
  // 是否只读
696
710
  readonly: { type: Boolean, default: !1 },
697
711
  visible: { type: Boolean, default: !0 }
698
- }, pe = ot(Q, ht, lt, st), yt = Object.assign({}, Q, {
712
+ }, pe = st(Q, yt, at, lt), vt = Object.assign({}, Q, {
699
713
  componentId: { type: String, default: "" }
700
714
  }), Y = /* @__PURE__ */ ee({
701
715
  name: "FImage",
702
716
  props: Q,
703
- emits: ["change", "update:modelValue"],
717
+ emits: ["change", "update:modelValue", "click"],
704
718
  setup(i, t) {
705
- const e = N(i.modelValue), n = R(() => te({
719
+ const e = L(i.modelValue), n = R(() => te({
706
720
  "f-imgcontainer-in-form": !0
707
721
  }, i.customClass)), r = R(() => {
708
722
  const o = {};
709
723
  return i.width && i.width > 0 && (o.width = i.width + "px"), i.height && i.height > 0 && (o.height = i.height + "px"), o;
710
- }), s = N(i.alt ? i.alt : void 0), l = N(i.title ? i.title : void 0), g = i.errorSrc ? i.errorSrc : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABWCAYAAAE1c8GoAAAAAXNSR0IArs4c6QAACEZJREFUeAHtnIt23DQQhgkkodzKrVxKaJqkSd7/eUoJp7QNDRBaaAulLSnzOTs+Y62klWzLu954zlEsS6PRr9+yNJK12XjnUo5n10WXuyikKle67y4y6ea7BagtWqNbwDU4d7/ppFSNctIat4tqmIMYK2DbUsdtAWutVjB4qrQNSfBlGr1m9L3Z7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HiUOLjH+s/nGx/SHEuzP+OS2vYyVcCY8TomVFs5lH0h4LQHiuXaSsRHu/nu/To3PKMxEvC+BIQbi+S8iraQE4cz6LNs79wbTIrYEcPGWvV/OtsRtCUyqjPG0M0v6IhwifAdBWVywyGgr9KxdCbl7623rSy2nHhFuJMQn/8+croRTMT9hCnkIPAQCryDuVmqvh2BcPMbQVRY6Gm8egh+/8PtsW8IpR0WphOAbMwYiv0v4o4rN/6EBOxJwz8YmdDwCK1d2SL1CA489OfTI+550iIPoPl5xXC56PVeEn30x/q+LMNzAb0NSezjeAU9vzkDDWt4Nb8deXpFRaXu5WkT4UP7uqJjsApan4BtSuticykYYwMuYZEAGJsIHJJuqJsKXQLjvpxEDw7gy1b2kh+MLF//ScWUoDTcUjk/VV+Ta1yZ+uMqrm/MCsiW8VcItFawmOcvN/gh+uk9HkicJMEBPfiMBklnis2qv5X8shM3uwwEEhgAAAABJRU5ErkJggg==", d = N(i.modelValue || i.src);
724
+ }), s = L(i.alt ? i.alt : void 0), l = L(i.title ? i.title : void 0), g = i.errorSrc ? i.errorSrc : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABWCAYAAAE1c8GoAAAAAXNSR0IArs4c6QAACEZJREFUeAHtnIt23DQQhgkkodzKrVxKaJqkSd7/eUoJp7QNDRBaaAulLSnzOTs+Y62klWzLu954zlEsS6PRr9+yNJK12XjnUo5n10WXuyikKle67y4y6ea7BagtWqNbwDU4d7/ppFSNctIat4tqmIMYK2DbUsdtAWutVjB4qrQNSfBlGr1m9L3Z7YfN5PAdNbwv4XZYpc55SywZjm1sbSIUcZWjtbjKIaN1eszajVpLIm6fsXlq5ANJfEBGCIYqooPyHSJqeVvieyQEhAd4rJb3AkqNZFVuJIZueNxAOQgpdEm3hhe+bZkV1ZyEymnPD+VH0/Xp+JTs42zVqpjxVgYtyphxq+eLa8ueSeYvPoU2xtWo2vtEIoTXEn7SRK4+43TPIwkuItco5a1syQ06jFA/kIEhLfRY4t+S2JfY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N/6EBOxJwz8YmdDwCK1d2SL1CA489OfTI+550iIPoPl5xXC56PVeEn30x/q+LMNzAb0NSezjeAU9vzkDDWt4Nb8deXpFRaXu5WkT4UP7uqJjsApan4BtSuticykYYwMuYZEAGJsIHJJuqJsKXQLjvpxEDw7gy1b2kh+MLF//ScWUoDTcUjk/VV+Ta1yZ+uMqrm/MCsiW8VcItFawmOcvN/gh+uk9HkicJMEBPfiMBklnis2qv5X8shM3uwwEEhgAAAABJRU5ErkJggg==", d = L(i.modelValue || i.src);
711
725
  function u() {
712
726
  i.title && (l.value = i.title);
713
727
  }
@@ -730,7 +744,7 @@ const lt = /* @__PURE__ */ new Map([
730
744
  }, null)]) : null;
731
745
  }
732
746
  });
733
- function vt(i) {
747
+ function bt(i) {
734
748
  const { formSchemaUtils: t, formStateMachineUtils: e } = i;
735
749
  function n(d, u = "") {
736
750
  return {
@@ -1025,7 +1039,7 @@ class me {
1025
1039
  };
1026
1040
  }
1027
1041
  }
1028
- class bt {
1042
+ class Ct {
1029
1043
  constructor(t, e) {
1030
1044
  C(this, "componentId");
1031
1045
  C(this, "viewModelId");
@@ -1142,7 +1156,7 @@ class bt {
1142
1156
  * @returns
1143
1157
  */
1144
1158
  getPropertyEditorParams(t, e = [], n = "visible", r = {}, s = {}, l = "") {
1145
- const { getVariables: g, getControlName: d, getStateMachines: u } = vt(this.designerHostService), c = this.getRealTargetType(t), o = e && e.length > 0 ? e : ["Const", "Variable", "StateMachine", "Expression"], m = {
1159
+ const { getVariables: g, getControlName: d, getStateMachines: u } = bt(this.designerHostService), c = this.getRealTargetType(t), o = e && e.length > 0 ? e : ["Const", "Variable", "StateMachine", "Expression"], m = {
1146
1160
  type: "property-editor",
1147
1161
  propertyTypes: o
1148
1162
  };
@@ -1314,14 +1328,14 @@ class bt {
1314
1328
  }, e;
1315
1329
  }
1316
1330
  }
1317
- const L = class L {
1331
+ const N = class N {
1318
1332
  /**
1319
1333
  * 根据绑定字段类型获取可用的输入类控件
1320
1334
  */
1321
1335
  static getEditorTypesByMDataType(t, e = !1, n = "") {
1322
1336
  if (e)
1323
1337
  return [{ key: f["language-textbox"].type, value: f["language-textbox"].name }];
1324
- let r = L.fieldControlTypeMapping[t];
1338
+ let r = N.fieldControlTypeMapping[t];
1325
1339
  if (n === "data-grid-column" && (r != null && r.length)) {
1326
1340
  const s = [f["check-group"].type, f["radio-group"].type, f.image.type, f["rich-text-editor"].type];
1327
1341
  r = r.filter((l) => !s.includes(l.key));
@@ -1333,8 +1347,8 @@ const L = class L {
1333
1347
  */
1334
1348
  static getAllInputTypes() {
1335
1349
  const t = [];
1336
- for (const e in L.fieldControlTypeMapping)
1337
- L.fieldControlTypeMapping[e].forEach((n) => {
1350
+ for (const e in N.fieldControlTypeMapping)
1351
+ N.fieldControlTypeMapping[e].forEach((n) => {
1338
1352
  t.find((r) => r.key === n.key && r.value === n.value) || t.push({ key: n.key, value: n.value });
1339
1353
  });
1340
1354
  return t;
@@ -1352,7 +1366,7 @@ const L = class L {
1352
1366
  /**
1353
1367
  * <字段类型,可配置的控件类型列表>的映射
1354
1368
  */
1355
- C(L, "fieldControlTypeMapping", {
1369
+ C(N, "fieldControlTypeMapping", {
1356
1370
  String: [
1357
1371
  { key: f["input-group"].type, value: f["input-group"].name },
1358
1372
  { key: f.lookup.type, value: f.lookup.name },
@@ -1370,6 +1384,7 @@ C(L, "fieldControlTypeMapping", {
1370
1384
  { key: f.textarea.type, value: f.textarea.name },
1371
1385
  { key: f.lookup.type, value: f.lookup.name },
1372
1386
  { key: f.image.type, value: f.image.name },
1387
+ { key: f.avatar.type, value: f.avatar.name },
1373
1388
  { key: f["rich-text-editor"].type, value: f["rich-text-editor"].name }
1374
1389
  ],
1375
1390
  Decimal: [
@@ -1406,9 +1421,9 @@ C(L, "fieldControlTypeMapping", {
1406
1421
  { key: f["radio-group"].type, value: f["radio-group"].name }
1407
1422
  ]
1408
1423
  });
1409
- let q = L;
1424
+ let q = N;
1410
1425
  var z = /* @__PURE__ */ ((i) => (i.Form = "Form", i.Variable = "Variable", i))(z || {});
1411
- class Ct {
1426
+ class At {
1412
1427
  constructor() {
1413
1428
  /** 控件标题 */
1414
1429
  C(this, "label", "");
@@ -1438,7 +1453,7 @@ class Ct {
1438
1453
  C(this, "fieldSetId", "");
1439
1454
  }
1440
1455
  }
1441
- function At(i) {
1456
+ function Et(i) {
1442
1457
  let t, e;
1443
1458
  const n = /* @__PURE__ */ new Map();
1444
1459
  let r = [];
@@ -1459,7 +1474,7 @@ function At(i) {
1459
1474
  return;
1460
1475
  }
1461
1476
  a && (m += 1, a = !1);
1462
- const h = p.appearance && p.appearance.class, v = new Ct();
1477
+ const h = p.appearance && p.appearance.class, v = new At();
1463
1478
  h ? s(h, v) : v.isSupportedClass = !1, v.label = p.label || p.id, v.id = p.id, v.group = m, y && (v.fieldSetId = c.id), e === p.id && (t = m), n.set(p.id, p), o.push(v);
1464
1479
  });
1465
1480
  }
@@ -1497,8 +1512,8 @@ function At(i) {
1497
1512
  var b;
1498
1513
  const h = n.get(p.id), v = h.appearance && h.appearance.class;
1499
1514
  if (v) {
1500
- const S = v.split(" ").filter((A) => !A.startsWith("col-")), x = "col-" + p.columnInSM, E = "col-md-" + p.columnInMD, M = "col-xl-" + p.columnInLG, I = "col-el-" + p.columnInEL, F = [x, E, M, I].concat(S);
1501
- h.appearance.class = F.join(" ");
1515
+ const S = v.split(" ").filter((A) => !A.startsWith("col-")), x = "col-" + p.columnInSM, F = "col-md-" + p.columnInMD, M = "col-xl-" + p.columnInLG, I = "col-el-" + p.columnInEL, E = [x, F, M, I].concat(S);
1516
+ h.appearance.class = E.join(" ");
1502
1517
  }
1503
1518
  if (p.fieldSetId) {
1504
1519
  const w = y.contents.find((x) => x.id === p.fieldSetId), S = a.find((x) => x.id === p.fieldSetId);
@@ -1514,7 +1529,7 @@ function At(i) {
1514
1529
  getResonseFormLayoutConfig: l
1515
1530
  };
1516
1531
  }
1517
- const Ft = (i) => V(Fe, null, [V("h5", null, [Ee("代码示例")]), V("pre", {
1532
+ const Ft = (i) => V(Ee, null, [V("h5", null, [Fe("代码示例")]), V("pre", {
1518
1533
  style: "background-color: #f5f5f5; padding: 10px; border-radius: 5px;"
1519
1534
  }, [V("code", null, [`
1520
1535
  <h3>Tips:</h3>
@@ -1522,7 +1537,7 @@ const Ft = (i) => V(Fe, null, [V("h5", null, [Ee("代码示例")]), V("pre", {
1522
1537
  自定义提示内容
1523
1538
  </span>
1524
1539
  `])])]);
1525
- class Et extends bt {
1540
+ class wt extends Ct {
1526
1541
  constructor(e, n) {
1527
1542
  super(e, n);
1528
1543
  C(this, "responseLayoutEditorFunction");
@@ -1539,7 +1554,7 @@ class Et extends bt {
1539
1554
  },
1540
1555
  {
1541
1556
  label: "onClickLabel",
1542
- name: "点击标签事件"
1557
+ name: "标签点击事件"
1543
1558
  }
1544
1559
  ]);
1545
1560
  C(this, "numberEditorOptions", {
@@ -1548,12 +1563,12 @@ class Et extends bt {
1548
1563
  keyboard: !1,
1549
1564
  showButton: !1
1550
1565
  });
1551
- this.responseLayoutEditorFunction = At(this.formSchemaUtils);
1566
+ this.responseLayoutEditorFunction = Et(this.formSchemaUtils);
1552
1567
  }
1553
1568
  getCommonPropertyConfig(e, n, r = "Card") {
1554
1569
  if (this.propertyConfig.categories.basic = this.getBasicProperties(e, n, r), this.propertyConfig.categories.appearance = this.getAppearanceProperties(e, n), this.propertyConfig.categories.behavior = this.getBehaviorConfig(e, "form-group"), r === "Card") {
1555
1570
  const s = this.getTipsConfig(e);
1556
- this.propertyConfig.categories.behavior.properties = { ...this.propertyConfig.categories.behavior.properties, ...s }, ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group"].includes(e.editor.type) && (this.propertyConfig.categories.expansion = this.getExpandProperties(e));
1571
+ this.propertyConfig.categories.behavior.properties = { ...this.propertyConfig.categories.behavior.properties, ...s }, ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "language-textbox"].includes(e.editor.type) && (this.propertyConfig.categories.expansion = this.getExpandProperties(e));
1557
1572
  }
1558
1573
  }
1559
1574
  getPropertyConfig(e, n) {
@@ -1824,7 +1839,7 @@ class Et extends bt {
1824
1839
  });
1825
1840
  }
1826
1841
  getTipsConfig(e) {
1827
- return ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "textarea", "rich-text-editor"].includes(e.editor.type) ? {
1842
+ return ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "textarea", "rich-text-editor", "language-textbox"].includes(e.editor.type) ? {
1828
1843
  enableTips: {
1829
1844
  refreshPanelAfterChanged: !0,
1830
1845
  description: "",
@@ -1990,6 +2005,13 @@ class Et extends bt {
1990
2005
  }
1991
2006
  return e.type;
1992
2007
  }
2008
+ updateLinkedLabel(e, n) {
2009
+ if (e.boundEventsList && e.boundEventsList.length > 0) {
2010
+ const r = e.boundEventsList.find((s) => s.boundEvents && s.boundEvents.label === "onClickLabel");
2011
+ n.linkLabel = !!r;
2012
+ } else
2013
+ n.linkLabel = !1;
2014
+ }
1993
2015
  /**
1994
2016
  * 组装输入类控件的交互面板:包含标签超链、绑定字段值变化前后事件等。
1995
2017
  * @param propertyData 属性值
@@ -2022,7 +2044,7 @@ class Et extends bt {
2022
2044
  tabName: "交互",
2023
2045
  setPropertyRelates(m, y) {
2024
2046
  const a = m.propertyValue;
2025
- delete e[l.viewModelId], a && (a.setPropertyRelates = this.setPropertyRelates, a.controlInfo = { type: l.getControlMethodType(e), name: e.title }, l.eventsEditorUtils.saveRelatedParameters(e, l.viewModelId, a.events, a)), s && s(m, y, a);
2047
+ delete e[l.viewModelId], a && (a.setPropertyRelates = this.setPropertyRelates, a.controlInfo = { type: l.getControlMethodType(e), name: e.title }, l.eventsEditorUtils.saveRelatedParameters(e, l.viewModelId, a.events, a), l.updateLinkedLabel(a, y)), s && s(m, y, a);
2026
2048
  const p = l.designViewModelUtils.getDgViewModel(l.viewModelId);
2027
2049
  p && l.designViewModelField && p.changeField(l.designViewModelField.id, { valueChanging: e.fieldValueChanging, valueChanged: e.fieldValueChanged });
2028
2050
  }
@@ -2061,7 +2083,7 @@ class Et extends bt {
2061
2083
  };
2062
2084
  }
2063
2085
  }
2064
- class wt extends Et {
2086
+ class xt extends wt {
2065
2087
  constructor(t, e) {
2066
2088
  super(t, e);
2067
2089
  }
@@ -2130,21 +2152,21 @@ class wt extends Et {
2130
2152
  };
2131
2153
  }
2132
2154
  }
2133
- function xt(i, t) {
2155
+ function St(i, t) {
2134
2156
  const e = i.schema;
2135
2157
  function n(r, s) {
2136
- return new wt(r, t).getPropertyConfig(e, s);
2158
+ return new xt(r, t).getPropertyConfig(e, s);
2137
2159
  }
2138
2160
  return {
2139
2161
  getPropsConfig: n
2140
2162
  };
2141
2163
  }
2142
- const St = /* @__PURE__ */ ee({
2164
+ const It = /* @__PURE__ */ ee({
2143
2165
  name: "FImageDesign",
2144
- props: yt,
2166
+ props: vt,
2145
2167
  emits: ["change", "update:modelValue"],
2146
2168
  setup(i, t) {
2147
- const e = N(), n = $("designer-host-service"), r = $("design-item-context"), s = xt(r, n), l = Te(e, r, s);
2169
+ const e = L(), n = $("designer-host-service"), r = $("design-item-context"), s = St(r, n), l = Te(e, r, s);
2148
2170
  xe(() => {
2149
2171
  e.value.componentInstance = l;
2150
2172
  }), t.expose(l.value);
@@ -2169,13 +2191,13 @@ Y.register = (i, t, e, n) => {
2169
2191
  i.image = Y, t.image = pe;
2170
2192
  };
2171
2193
  Y.registerDesigner = (i, t, e) => {
2172
- i.image = St, t.image = pe;
2194
+ i.image = It, t.image = pe;
2173
2195
  };
2174
- const Ot = Me(Y);
2196
+ const Bt = Me(Y);
2175
2197
  export {
2176
2198
  Y as FImage,
2177
- Ot as default,
2178
- yt as imageDesignProps,
2199
+ Bt as default,
2200
+ vt as imageDesignProps,
2179
2201
  Q as imageProps,
2180
2202
  pe as propsResolver
2181
2203
  };