@farris/ui-vue 1.8.5-beta.3 → 1.8.5-beta.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.
Files changed (61) hide show
  1. package/components/batch-editor/index.esm.js +6850 -6840
  2. package/components/batch-editor/index.umd.cjs +20 -20
  3. package/components/button/index.esm.js +6852 -6842
  4. package/components/button/index.umd.cjs +20 -20
  5. package/components/button-edit/index.esm.js +140 -140
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/button-group/index.esm.js +46 -45
  8. package/components/button-group/index.umd.cjs +1 -1
  9. package/components/common/index.esm.js +16 -12
  10. package/components/common/index.umd.cjs +1 -1
  11. package/components/component/index.esm.js +411 -411
  12. package/components/component/index.umd.cjs +2 -2
  13. package/components/data-view/index.esm.js +6500 -6487
  14. package/components/data-view/index.umd.cjs +21 -21
  15. package/components/designer-canvas/index.esm.js +269 -269
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/expression-editor/index.esm.js +458 -458
  18. package/components/expression-editor/index.umd.cjs +2 -2
  19. package/components/filter-condition-editor/index.esm.js +386 -386
  20. package/components/filter-condition-editor/index.umd.cjs +1 -1
  21. package/components/flow-canvas/index.esm.js +1100 -1100
  22. package/components/flow-canvas/index.umd.cjs +7 -7
  23. package/components/mapping-editor/index.esm.js +243 -243
  24. package/components/mapping-editor/index.umd.cjs +2 -2
  25. package/components/message-box/index.esm.js +82 -82
  26. package/components/message-box/index.umd.cjs +1 -1
  27. package/components/modal/index.esm.js +76 -76
  28. package/components/modal/index.umd.cjs +1 -1
  29. package/components/order/index.esm.js +139 -138
  30. package/components/order/index.umd.cjs +1 -1
  31. package/components/query-solution/index.esm.js +891 -891
  32. package/components/query-solution/index.umd.cjs +1 -1
  33. package/components/response-toolbar/index.esm.js +151 -149
  34. package/components/response-toolbar/index.umd.cjs +1 -1
  35. package/components/schema-selector/index.esm.js +947 -941
  36. package/components/schema-selector/index.umd.cjs +6 -6
  37. package/components/section/index.esm.js +121 -121
  38. package/components/section/index.umd.cjs +2 -2
  39. package/components/sort-condition-editor/index.esm.js +539 -539
  40. package/components/sort-condition-editor/index.umd.cjs +1 -1
  41. package/components/tabs/index.esm.js +448 -442
  42. package/components/tabs/index.umd.cjs +1 -1
  43. package/designer/button-edit/index.esm.js +97 -97
  44. package/designer/button-edit/index.umd.cjs +1 -1
  45. package/designer/data-grid/index.esm.js +6483 -6470
  46. package/designer/data-grid/index.umd.cjs +21 -21
  47. package/designer/farris-designer.all.esm.js +1891 -1885
  48. package/designer/farris-designer.all.umd.cjs +14 -14
  49. package/designer/radio-group/index.esm.js +183 -183
  50. package/designer/radio-group/index.umd.cjs +2 -2
  51. package/designer/response-toolbar/index.esm.js +558 -556
  52. package/designer/response-toolbar/index.umd.cjs +1 -1
  53. package/designer/tabs/index.esm.js +416 -416
  54. package/designer/tabs/index.umd.cjs +2 -2
  55. package/farris.all.esm.js +9133 -9119
  56. package/farris.all.umd.cjs +35 -35
  57. package/package.json +1 -1
  58. package/types/common/index.d.ts +1 -0
  59. package/types/common/utils/attrs.d.ts +26 -0
  60. package/types/modal/src/composition/type.d.ts +2 -0
  61. package/types/tabs/src/composition/types.d.ts +2 -0
@@ -1,11 +1,11 @@
1
1
  var It = Object.defineProperty;
2
2
  var Ft = (n, t, e) => t in n ? It(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var T = (n, t, e) => Ft(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { radioCheckboxCommonProps as Bt, FormSchemaEntityField$Type as Pe, FormSchemaEntityFieldType$Type as Ne, EVENT_PROPERTY_TAB_IDS as Ve, isMobilePhone as re, getMaxZIndex as Re, useGuid as Ee, withInstall as Tt } from "../../components/common/index.esm.js";
5
- import { resolveAppearance as St, createPropsResolver as Ae, getPropsResolverGenerator as He } from "../../components/dynamic-resolver/index.esm.js";
6
- import Pt, { radioGroupProps as ze } from "../../components/radio-group/index.esm.js";
7
- import { computed as B, createVNode as p, Fragment as J, createTextVNode as Y, nextTick as ie, defineComponent as Z, ref as v, inject as fe, onMounted as Q, Teleport as $e, createApp as Me, onUnmounted as ge, watch as G, onBeforeMount as Vt, watchEffect as Rt, Transition as Ue, shallowRef as Ot, render as Ce, h as Lt, cloneVNode as Nt, mergeProps as me, withDirectives as we, vShow as At, onUpdated as Ht, onBeforeUnmount as zt, reactive as $t, vModelText as Oe } from "vue";
8
- import { DgControl as b, canvasChanged as de, refreshCanvas as Ut, useDesignerComponent as Wt } from "../../components/designer-canvas/index.esm.js";
4
+ import { radioCheckboxCommonProps as Bt, FormSchemaEntityField$Type as Pe, FormSchemaEntityFieldType$Type as Ne, EVENT_PROPERTY_TAB_IDS as Ve, isMobilePhone as re, getMaxZIndex as Re, extractDataAttrs as Tt, useGuid as Ee, withInstall as St } from "../../components/common/index.esm.js";
5
+ import { resolveAppearance as Pt, createPropsResolver as Ae, getPropsResolverGenerator as He } from "../../components/dynamic-resolver/index.esm.js";
6
+ import Vt, { radioGroupProps as ze } from "../../components/radio-group/index.esm.js";
7
+ import { computed as B, createVNode as p, Fragment as J, createTextVNode as Y, nextTick as ie, defineComponent as Z, ref as v, inject as me, onMounted as Q, Teleport as $e, createApp as Me, onUnmounted as ge, watch as G, onBeforeMount as Rt, watchEffect as Ot, Transition as Ue, mergeProps as ue, shallowRef as Lt, render as Ce, h as Nt, cloneVNode as At, withDirectives as we, vShow as Ht, onUpdated as zt, onBeforeUnmount as $t, reactive as Ut, vModelText as Oe } from "vue";
8
+ import { DgControl as b, canvasChanged as ce, refreshCanvas as Wt, useDesignerComponent as qt } from "../../components/designer-canvas/index.esm.js";
9
9
  import { cloneDeep as We, debounce as qe } from "lodash-es";
10
10
  import { LocaleService as oe } from "../../components/locale/index.esm.js";
11
11
  import ke from "../../components/drawer/index.esm.js";
@@ -13,13 +13,13 @@ import "../../components/property-panel/index.esm.js";
13
13
  import "../../components/button/index.esm.js";
14
14
  import "../../components/field-selector/index.esm.js";
15
15
  import "../../components/collection-property-editor/index.esm.js/src/use-button-items.designer";
16
- import qt from "../../components/tags/index.esm.js";
17
- import { useInputExpand as jt } from "../../components/common/index.esm.js/text-box/use-input-expand";
18
- import Gt from "../../components/popover/index.esm.js";
16
+ import jt from "../../components/tags/index.esm.js";
17
+ import { useInputExpand as Gt } from "../../components/common/index.esm.js/text-box/use-input-expand";
18
+ import Dt from "../../components/popover/index.esm.js";
19
19
  import Kt from "../../components/data-grid/index.esm.js";
20
20
  import { FNotifyService as Xt } from "../../components/notify/index.esm.js";
21
21
  import "bignumber.js";
22
- const Dt = {
22
+ const _t = {
23
23
  ...Bt,
24
24
  /**
25
25
  * 组件标识
@@ -70,7 +70,7 @@ const Dt = {
70
70
  */
71
71
  valueField: { type: String, default: "value" }
72
72
  };
73
- function _t(n, t, e) {
73
+ function Yt(n, t, e) {
74
74
  const o = B(() => !n.disabled), i = B(() => n.data || n.enumData || n.options || []);
75
75
  function l(s) {
76
76
  return s[n.valueField];
@@ -92,7 +92,7 @@ function _t(n, t, e) {
92
92
  onClickRadio: r
93
93
  };
94
94
  }
95
- class Yt {
95
+ class Jt {
96
96
  constructor(t) {
97
97
  T(this, "sessionVariables", [
98
98
  {
@@ -360,7 +360,7 @@ class Yt {
360
360
  };
361
361
  }
362
362
  }
363
- function Jt(n) {
363
+ function Zt(n) {
364
364
  const { formSchemaUtils: t, formStateMachineUtils: e } = n;
365
365
  function o(s, d = "") {
366
366
  return {
@@ -388,8 +388,8 @@ function Jt(n) {
388
388
  }
389
389
  return { getVariables: l, getControlName: a, getStateMachines: r };
390
390
  }
391
- function Zt(n, t, e, o) {
392
- const { getVariables: i, getControlName: l, getStateMachines: a } = Jt(n);
391
+ function Qt(n, t, e, o) {
392
+ const { getVariables: i, getControlName: l, getStateMachines: a } = Zt(n);
393
393
  return (r, s = [], d = {}, c = {}, u) => {
394
394
  const y = s && s.length > 0 ? s : ["Const", "Variable", "StateMachine", "Expression"], m = {
395
395
  type: "property-editor",
@@ -424,7 +424,7 @@ function Zt(n, t, e, o) {
424
424
  }), m;
425
425
  };
426
426
  }
427
- class Qt {
427
+ class en {
428
428
  constructor(t, e) {
429
429
  T(this, "componentId");
430
430
  T(this, "viewModelId");
@@ -447,7 +447,7 @@ class Qt {
447
447
  });
448
448
  T(this, "expressionProperty");
449
449
  var o;
450
- this.componentId = t, this.designerHostService = e, this.eventsEditorUtils = e.eventsEditorUtils, this.formSchemaUtils = e.formSchemaUtils, this.formMetadataConverter = e.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = e.designViewModelUtils, this.controlCreatorUtils = e.controlCreatorUtils, this.metadataService = e.metadataService, this.schemaService = e.schemaService, this.designerContext = e.designerContext, this.modalService = e.modalService, this.expressionProperty = new Yt(this.formSchemaUtils);
450
+ this.componentId = t, this.designerHostService = e, this.eventsEditorUtils = e.eventsEditorUtils, this.formSchemaUtils = e.formSchemaUtils, this.formMetadataConverter = e.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = e.designViewModelUtils, this.controlCreatorUtils = e.controlCreatorUtils, this.metadataService = e.metadataService, this.schemaService = e.schemaService, this.designerContext = e.designerContext, this.modalService = e.modalService, this.expressionProperty = new Jt(this.formSchemaUtils);
451
451
  }
452
452
  /**
453
453
  * 是否在响应式表单中
@@ -532,7 +532,7 @@ class Qt {
532
532
  switch (a && a.propertyID) {
533
533
  case "class":
534
534
  case "style": {
535
- de.value++;
535
+ ce.value++;
536
536
  break;
537
537
  }
538
538
  }
@@ -552,7 +552,7 @@ class Qt {
552
552
  * @returns
553
553
  */
554
554
  getPropertyEditorParams(t, e = [], o = "visible", i = {}, l = {}, a = "") {
555
- const s = Zt(
555
+ const s = Qt(
556
556
  this.designerHostService,
557
557
  this.viewModelId,
558
558
  this.componentId,
@@ -626,7 +626,7 @@ class Qt {
626
626
  if (!o)
627
627
  return;
628
628
  const i = o.contents.findIndex((a) => a.id === t), l = We(o.contents[i]);
629
- o.contents.splice(i, 1), o.contents.splice(i, 0, l), Ut();
629
+ o.contents.splice(i, 1), o.contents.splice(i, 0, l), Wt();
630
630
  }
631
631
  /**
632
632
  * 属性编辑器,在编辑过程中会新增变量,此处需要将新增的变量追加到ViewModel中
@@ -853,7 +853,7 @@ class Le {
853
853
  T(this, "fieldSetId", "");
854
854
  }
855
855
  }
856
- function en(n) {
856
+ function tn(n) {
857
857
  let t, e;
858
858
  const o = /* @__PURE__ */ new Map();
859
859
  let i = [];
@@ -936,7 +936,7 @@ function en(n) {
936
936
  getResonseFormLayoutConfig: a
937
937
  };
938
938
  }
939
- const tn = (n) => p(J, null, [p("h5", null, [Y("代码示例")]), p("pre", {
939
+ const nn = (n) => p(J, null, [p("h5", null, [Y("代码示例")]), p("pre", {
940
940
  style: "background-color: #f5f5f5; padding: 10px; border-radius: 5px;"
941
941
  }, [p("code", null, [`
942
942
  <h3>Tips:</h3>
@@ -944,7 +944,7 @@ const tn = (n) => p(J, null, [p("h5", null, [Y("代码示例")]), p("pre", {
944
944
  自定义提示内容
945
945
  </span>
946
946
  `])])]);
947
- class nn extends Qt {
947
+ class on extends en {
948
948
  constructor(e, o) {
949
949
  super(e, o);
950
950
  T(this, "responseLayoutEditorFunction");
@@ -975,7 +975,7 @@ class nn extends Qt {
975
975
  const o = this.designViewModelField != null && ((i = this.designViewModelField) == null ? void 0 : i.type.name) !== "Boolean";
976
976
  return this.formRule ? e.dataType !== "boolean" : o;
977
977
  });
978
- this.responseLayoutEditorFunction = en(this.formSchemaUtils);
978
+ this.responseLayoutEditorFunction = tn(this.formSchemaUtils);
979
979
  }
980
980
  getCommonPropertyConfig(e, o, i = "Card") {
981
981
  if (this.propertyConfig.categories.basic = this.getBasicProperties(e, o, i), this.propertyConfig.categories.appearance = this.getAppearanceProperties(e, o), this.propertyConfig.categories.behavior = this.getBehaviorConfig(e, "form-group"), i === "Card") {
@@ -1245,10 +1245,10 @@ class nn extends Qt {
1245
1245
  i.responseLayoutEditorFunction.changeFormControlsByResponseLayoutConfig(l.propertyValue, i.componentId || e.id), i.updateUnifiedLayoutAfterResponseLayoutChanged(i.componentId), i.updateElementByParentContainer(e.id, o), delete e.responseLayout;
1246
1246
  break;
1247
1247
  case "class":
1248
- i.updateUnifiedLayoutAfterControlChanged(l.propertyValue, e.id, this.componentId), de.value++;
1248
+ i.updateUnifiedLayoutAfterControlChanged(l.propertyValue, e.id, this.componentId), ce.value++;
1249
1249
  break;
1250
1250
  case "style": {
1251
- de.value++;
1251
+ ce.value++;
1252
1252
  break;
1253
1253
  }
1254
1254
  }
@@ -1291,7 +1291,7 @@ class nn extends Qt {
1291
1291
  (f) => f.classList.remove("dgComponentSelected")
1292
1292
  ), Array.from(document.getElementsByClassName("dgComponentFocused")).forEach(
1293
1293
  (f) => f.classList.remove("dgComponentFocused")
1294
- ), ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "textarea", "rich-text-editor", "language-textbox"].includes(e.editor.type) || (e.enableTips = !1), de.value++, ie(() => {
1294
+ ), ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "textarea", "rich-text-editor", "language-textbox"].includes(e.editor.type) || (e.enableTips = !1), ce.value++, ie(() => {
1295
1295
  this.getFormDesignerInstance().reloadPropertyPanel();
1296
1296
  });
1297
1297
  }
@@ -1312,7 +1312,7 @@ class nn extends Qt {
1312
1312
  editor: {
1313
1313
  type: "code-editor",
1314
1314
  language: "html",
1315
- leftTemplate: tn
1315
+ leftTemplate: nn
1316
1316
  },
1317
1317
  visible: !!e.enableTips && !this.formRule
1318
1318
  }
@@ -1551,7 +1551,7 @@ class nn extends Qt {
1551
1551
  };
1552
1552
  }
1553
1553
  }
1554
- class on extends nn {
1554
+ class ln extends on {
1555
1555
  constructor(t, e) {
1556
1556
  super(t, e);
1557
1557
  }
@@ -1654,26 +1654,26 @@ class on extends nn {
1654
1654
  t.editor && ((l = i == null ? void 0 : i.type) == null ? void 0 : l.$type) === Ne.EnumType && (t.editor.data = i.type.enumValues || []);
1655
1655
  }
1656
1656
  }
1657
- function ln(n, t) {
1657
+ function an(n, t) {
1658
1658
  const e = n.schema;
1659
1659
  function o(i, l) {
1660
- return new on(i, t).getPropertyConfig(e, l);
1660
+ return new ln(i, t).getPropertyConfig(e, l);
1661
1661
  }
1662
1662
  return { getPropsConfig: o };
1663
1663
  }
1664
1664
  const he = /* @__PURE__ */ Z({
1665
1665
  name: "FRadioGroupDesign",
1666
- props: Dt,
1666
+ props: _t,
1667
1667
  emits: ["changeValue", "update:modelValue"],
1668
1668
  setup(n, t) {
1669
1669
  const e = v(n.modelValue), {
1670
1670
  enumData: o,
1671
1671
  getValue: i,
1672
1672
  getText: l
1673
- } = _t(n, t, e), a = B(() => ({
1673
+ } = Yt(n, t, e), a = B(() => ({
1674
1674
  "farris-checkradio-hor": n.direction === "horizontal",
1675
1675
  "farris-checkradio-ver": n.direction === "vertical"
1676
- })), r = v(), s = fe("designer-host-service"), d = fe("design-item-context"), c = ln(d, s), u = Wt(r, d, c);
1676
+ })), r = v(), s = me("designer-host-service"), d = me("design-item-context"), c = an(d, s), u = qt(r, d, c);
1677
1677
  Q(() => {
1678
1678
  r.value.componentInstance = u;
1679
1679
  });
@@ -1713,7 +1713,7 @@ const he = /* @__PURE__ */ Z({
1713
1713
  }, [l(m)])]);
1714
1714
  })]);
1715
1715
  }
1716
- }), an = {
1716
+ }), sn = {
1717
1717
  /**
1718
1718
  * 标记组件的唯一标识
1719
1719
  */
@@ -1884,23 +1884,23 @@ const he = /* @__PURE__ */ Z({
1884
1884
  * 扩展按钮是否禁用
1885
1885
  */
1886
1886
  expandDisabled: { type: Boolean, default: !1 }
1887
- }, sn = {
1887
+ }, rn = {
1888
1888
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
1889
1889
  host: { type: Object },
1890
1890
  backgroundColor: { type: String, default: "" }
1891
1891
  };
1892
- function rn() {
1892
+ function un() {
1893
1893
  const n = v(!1);
1894
1894
  return Q(() => {
1895
1895
  n.value = !0;
1896
1896
  }), n;
1897
1897
  }
1898
- const un = /* @__PURE__ */ Z({
1898
+ const dn = /* @__PURE__ */ Z({
1899
1899
  name: "FOverlay",
1900
- props: sn,
1900
+ props: rn,
1901
1901
  emits: ["click"],
1902
1902
  setup(n, t) {
1903
- const e = v(n.popupContentPosition), o = v(n.host), i = rn(), l = B(() => ({
1903
+ const e = v(n.popupContentPosition), o = v(n.host), i = un(), l = B(() => ({
1904
1904
  backgroundColor: n.backgroundColor || "",
1905
1905
  pointerEvents: "auto"
1906
1906
  }));
@@ -1943,13 +1943,13 @@ const un = /* @__PURE__ */ Z({
1943
1943
  }) : null;
1944
1944
  }
1945
1945
  });
1946
- function dn(n) {
1946
+ function cn(n) {
1947
1947
  if (n.content && n.content.render)
1948
1948
  return n.content.render;
1949
1949
  if (n.render && typeof n.render == "function")
1950
1950
  return n.render;
1951
1951
  }
1952
- function cn(n) {
1952
+ function fn(n) {
1953
1953
  const t = document.createElement("div");
1954
1954
  t.style.display = "contents";
1955
1955
  let e;
@@ -1962,8 +1962,8 @@ function cn(n) {
1962
1962
  ge(() => {
1963
1963
  document.body.removeChild(t);
1964
1964
  });
1965
- const l = dn(n);
1966
- return () => p(un, {
1965
+ const l = cn(n);
1966
+ return () => p(dn, {
1967
1967
  "popup-content-position": n.popupPosition,
1968
1968
  host: n.host,
1969
1969
  onClick: i,
@@ -1974,12 +1974,12 @@ function cn(n) {
1974
1974
  }
1975
1975
  }), document.body.appendChild(t), e.mount(t), e;
1976
1976
  }
1977
- class fn {
1977
+ class mn {
1978
1978
  static show(t) {
1979
- return cn(t);
1979
+ return fn(t);
1980
1980
  }
1981
1981
  }
1982
- const mn = {
1982
+ const pn = {
1983
1983
  /**
1984
1984
  * 允许点击蒙层关闭对话框
1985
1985
  * @default false
@@ -2197,7 +2197,7 @@ class ne {
2197
2197
  return this.width = t.width, this.height = t.height, this;
2198
2198
  }
2199
2199
  }
2200
- function pn(n, t) {
2200
+ function hn(n, t) {
2201
2201
  const e = v(), o = v(), i = v(), l = v(), a = v(), r = v(), s = v(), d = v(), c = v(), u = v(), y = v(), m = v(n.resizeable), h = v(), f = v(n.draggable), M = v(!1);
2202
2202
  function E() {
2203
2203
  const x = o.value || document.body, k = window.getComputedStyle(x);
@@ -2333,7 +2333,7 @@ function pn(n, t) {
2333
2333
  }
2334
2334
  }, f.value = !1, M.value = !0);
2335
2335
  }
2336
- function K() {
2336
+ function D() {
2337
2337
  var x, k;
2338
2338
  if (document.body.click(), h.value) {
2339
2339
  const O = {
@@ -2363,7 +2363,7 @@ function pn(n, t) {
2363
2363
  }
2364
2364
  }
2365
2365
  }
2366
- function X() {
2366
+ function K() {
2367
2367
  const x = () => {
2368
2368
  M.value ? H(!1) : _(), document.body.click();
2369
2369
  };
@@ -2371,20 +2371,20 @@ function pn(n, t) {
2371
2371
  window.removeEventListener("resize", x);
2372
2372
  };
2373
2373
  }
2374
- const D = X();
2374
+ const X = K();
2375
2375
  return {
2376
2376
  renderResizeBar: R,
2377
2377
  boundingElement: o,
2378
2378
  resizedEventParam: y,
2379
2379
  maximize: H,
2380
- restore: K,
2380
+ restore: D,
2381
2381
  allowDrag: f,
2382
2382
  isMaximized: M,
2383
- unWindowResizeHandle: D,
2383
+ unWindowResizeHandle: X,
2384
2384
  moveToCenter: _
2385
2385
  };
2386
2386
  }
2387
- function hn(n, t, e) {
2387
+ function gn(n, t, e) {
2388
2388
  const o = v(), i = v(n.draggable), l = v(n.lockAxis), a = v(), r = v(), s = v(!1), d = v(new q(0, 0)), c = v(new q(0, 0)), u = v(new q(0, 0)), y = v(new q(0, 0));
2389
2389
  G(() => e.value, (C) => {
2390
2390
  a.value.style.cursor = C ? "move" : "default";
@@ -2480,7 +2480,7 @@ function je(n, t) {
2480
2480
  };
2481
2481
  }
2482
2482
  }
2483
- function gn(n, t) {
2483
+ function vn(n, t) {
2484
2484
  const e = v(n.enableEsc);
2485
2485
  let o = null;
2486
2486
  return e.value ? (o = je("Escape", (i) => {
@@ -2489,7 +2489,7 @@ function gn(n, t) {
2489
2489
  remove: o
2490
2490
  }) : null;
2491
2491
  }
2492
- function vn(n, t) {
2492
+ function yn(n, t) {
2493
2493
  const e = v(n.enableEnter);
2494
2494
  let o = null;
2495
2495
  return e.value ? (o = je("Enter", (i) => {
@@ -2500,7 +2500,7 @@ function vn(n, t) {
2500
2500
  }
2501
2501
  const se = /* @__PURE__ */ Z({
2502
2502
  name: "FModal",
2503
- props: mn,
2503
+ props: pn,
2504
2504
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
2505
2505
  setup(n, t) {
2506
2506
  const e = v(n.width || 300), o = v(n.height || 200), i = v(n.modelValue), l = v(""), a = v(n.class), r = v(n.fitContent), s = v(n.showHeader), d = v(""), c = v(n.showCloseButton), u = v(n.showMaxButton), y = v(!1), m = v(n.dialogType), h = v(n.src), f = v(""), M = v(n.showButtons), E = v(n.title), w = v(n.containment || null), S = v();
@@ -2536,17 +2536,17 @@ const se = /* @__PURE__ */ Z({
2536
2536
  $(g, !0);
2537
2537
  }
2538
2538
  }], I = v(n.buttons && n.buttons.length ? n.buttons : C), P = B(() => !!d.value), A = B(() => !!M.value && !!I.value), F = v(), R = v(), H = v(n.maximized || !1), {
2539
- renderResizeBar: K,
2539
+ renderResizeBar: D,
2540
2540
  maximize: _,
2541
- restore: X,
2542
- boundingElement: D,
2541
+ restore: K,
2542
+ boundingElement: X,
2543
2543
  resizedEventParam: x,
2544
2544
  allowDrag: k,
2545
2545
  unWindowResizeHandle: O,
2546
2546
  moveToCenter: z
2547
- } = pn(n), {
2547
+ } = hn(n), {
2548
2548
  registerDraggle: j
2549
- } = hn(n, t, k);
2549
+ } = gn(n, t, k);
2550
2550
  function Fe() {
2551
2551
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
2552
2552
  }
@@ -2554,7 +2554,7 @@ const se = /* @__PURE__ */ Z({
2554
2554
  g !== V && (E.value = g);
2555
2555
  }), G(() => n.modelValue, (g, V) => {
2556
2556
  g !== V && (i.value = g, i.value && n.draggable && ie(() => {
2557
- R.value && !w.value && (w.value = R.value.parentElement, D.value = w.value, j(F.value, R.value, D.value), z());
2557
+ R.value && !w.value && (w.value = R.value.parentElement, X.value = w.value, j(F.value, R.value, X.value), z());
2558
2558
  }), g || (w.value && (w.value = null), L())), i.value ? N.value = Fe() : (H.value = !1, k.value = n.draggable);
2559
2559
  }), G(() => n.showHeader, (g, V) => {
2560
2560
  g !== V && (s.value = g);
@@ -2572,7 +2572,7 @@ const se = /* @__PURE__ */ Z({
2572
2572
  }), G(() => n.class, (g, V) => {
2573
2573
  a.value = g;
2574
2574
  });
2575
- const ue = B(() => (i.value && document.body.classList.add("modal-open"), i.value)), it = B(() => {
2575
+ const de = B(() => (i.value && document.body.classList.add("modal-open"), i.value)), it = B(() => {
2576
2576
  var U;
2577
2577
  const g = {
2578
2578
  modal: !0,
@@ -2580,7 +2580,7 @@ const se = /* @__PURE__ */ Z({
2580
2580
  fade: !0,
2581
2581
  "fe-cmp-page-modal": !!n.showFloatingClose
2582
2582
  };
2583
- g["f-modal-fitContent"] = !!r.value, g.show = !!ue.value;
2583
+ g["f-modal-fitContent"] = !!r.value, g.show = !!de.value;
2584
2584
  const V = (U = n.maskClass) == null ? void 0 : U.split(" ");
2585
2585
  return V == null || V.reduce((W, ee) => (W[ee] = !0, W), g), g;
2586
2586
  }), ot = B(() => {
@@ -2645,7 +2645,7 @@ const se = /* @__PURE__ */ Z({
2645
2645
  });
2646
2646
  function ve(g) {
2647
2647
  if (g == null || g.stopPropagation(), H.value) {
2648
- H.value = !1, X();
2648
+ H.value = !1, K();
2649
2649
  return;
2650
2650
  }
2651
2651
  _(), H.value = !0;
@@ -2660,10 +2660,10 @@ const se = /* @__PURE__ */ Z({
2660
2660
  g.width && (e.value = g.width), g.height && (o.value = g.height), g.buttons && (I.value = g.buttons), g.title && (E.value = g.title);
2661
2661
  }
2662
2662
  let ye = null, be = null;
2663
- Vt(() => {
2663
+ Rt(() => {
2664
2664
  N.value = Fe();
2665
2665
  }), Q(() => {
2666
- R.value && !w.value && (w.value = R.value.parentElement, D.value = w.value, j(F.value, R.value, D.value)), ue.value && document.body.classList.add("modal-open"), ye = gn(n, t), be = vn(n, t);
2666
+ R.value && !w.value && (w.value = R.value.parentElement, X.value = w.value, j(F.value, R.value, X.value)), de.value && document.body.classList.add("modal-open"), ye = vn(n, t), be = yn(n, t);
2667
2667
  }), ge(() => {
2668
2668
  O && O(), ye && ye.remove(), be && be.remove();
2669
2669
  }), t.expose({
@@ -2721,8 +2721,8 @@ const se = /* @__PURE__ */ Z({
2721
2721
  onWheel: yt
2722
2722
  }, [I.value.map((g) => {
2723
2723
  var W;
2724
- const V = v(g.disabled), U = g.class || ((W = g.appearance) == null ? void 0 : W.class);
2725
- return p("button", {
2724
+ const V = v(g.disabled), U = g.class || ((W = g.appearance) == null ? void 0 : W.class) || "btn btn-secondary";
2725
+ return p("button", ue(Tt(g), {
2726
2726
  name: g.name,
2727
2727
  style: g.styles,
2728
2728
  type: "button",
@@ -2731,7 +2731,7 @@ const se = /* @__PURE__ */ Z({
2731
2731
  onClick: (ee) => {
2732
2732
  pt(g, ee);
2733
2733
  }
2734
- }, [!!g.iconClass && p("i", {
2734
+ }), [!!g.iconClass && p("i", {
2735
2735
  class: g.iconClass
2736
2736
  }, null), g.text]);
2737
2737
  })])]);
@@ -2787,17 +2787,17 @@ const se = /* @__PURE__ */ Z({
2787
2787
  width: "100%",
2788
2788
  frameborder: "0",
2789
2789
  src: h.value
2790
- }, null)]), wt()]), !r.value && R.value && !H.value && K(R.value)]);
2790
+ }, null)]), wt()]), !r.value && R.value && !H.value && D(R.value)]);
2791
2791
  }
2792
2792
  function Mt(g) {
2793
2793
  return g || "body";
2794
2794
  }
2795
- return Rt(() => {
2796
- ue.value && (Be.value = Re() || 1050);
2795
+ return Ot(() => {
2796
+ de.value && (Be.value = Re() || 1050);
2797
2797
  }), () => p($e, {
2798
2798
  to: Mt(n.host)
2799
2799
  }, {
2800
- default: () => [ue.value && p(Ue, {
2800
+ default: () => [de.value && p(Ue, {
2801
2801
  name: "fade",
2802
2802
  appear: !0
2803
2803
  }, {
@@ -2817,7 +2817,7 @@ function Ge(n) {
2817
2817
  if (n.render && typeof n.render == "function")
2818
2818
  return n.render;
2819
2819
  }
2820
- function yn(n) {
2820
+ function bn(n) {
2821
2821
  const t = document.createElement("div");
2822
2822
  t.style.display = "contents";
2823
2823
  const e = n.type || "modal", o = Me({
@@ -2887,7 +2887,7 @@ function yn(n) {
2887
2887
  });
2888
2888
  return document.body.appendChild(t), o.use(oe.i18n), o.mount(t), o;
2889
2889
  }
2890
- class bn {
2890
+ class Cn {
2891
2891
  // private activeModalInstance = computed(() => {
2892
2892
  // return this.modalRefs[this.activeModalIndex.value];
2893
2893
  // });
@@ -2921,7 +2921,7 @@ class bn {
2921
2921
  showButtons: !0,
2922
2922
  showHeader: !0
2923
2923
  }, t);
2924
- return yn(e);
2924
+ return bn(e);
2925
2925
  }
2926
2926
  close(t) {
2927
2927
  var e, o;
@@ -2930,7 +2930,7 @@ class bn {
2930
2930
  open(t) {
2931
2931
  const e = document.createDocumentFragment(), o = t.type || "modal";
2932
2932
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
2933
- const i = Ot(Object.assign({
2933
+ const i = Lt(Object.assign({
2934
2934
  title: "",
2935
2935
  showButtons: !0,
2936
2936
  showHeader: !0,
@@ -2955,7 +2955,7 @@ class bn {
2955
2955
  }, y = v();
2956
2956
  let m;
2957
2957
  if (o === "drawer")
2958
- m = () => p(ke, me({
2958
+ m = () => p(ke, ue({
2959
2959
  ref: y,
2960
2960
  modelValue: l.value,
2961
2961
  "onUpdate:modelValue": (E) => l.value = E,
@@ -2977,7 +2977,7 @@ class bn {
2977
2977
  width: $,
2978
2978
  height: C
2979
2979
  } = i.value, I = this.adaptToWindow(Number($) || 500, Number(C) || 320);
2980
- Object.assign(i.value, I), m = () => p(se, me({
2980
+ Object.assign(i.value, I), m = () => p(se, ue({
2981
2981
  ref: y,
2982
2982
  modelValue: l.value,
2983
2983
  "onUpdate:modelValue": (P) => l.value = P
@@ -2995,7 +2995,7 @@ class bn {
2995
2995
  });
2996
2996
  }
2997
2997
  d = ((E) => {
2998
- const w = Lt(m, E);
2998
+ const w = Nt(m, E);
2999
2999
  return w.appContext = this.appContext, Ce(w, e), w;
3000
3000
  })({
3001
3001
  ...i.value
@@ -3006,7 +3006,7 @@ class bn {
3006
3006
  i.value = {
3007
3007
  ...i.value,
3008
3008
  ...E
3009
- }, d && Ce(Nt(d, {
3009
+ }, d && Ce(At(d, {
3010
3010
  ...i
3011
3011
  }), e);
3012
3012
  };
@@ -3027,13 +3027,13 @@ class bn {
3027
3027
  };
3028
3028
  }
3029
3029
  }
3030
- const Ke = Symbol("FModalService");
3030
+ const De = Symbol("FModalService");
3031
3031
  se.install = (n) => {
3032
3032
  n.component(se.name, se);
3033
- const t = new bn(n);
3034
- n.provide(Ke, t), n.provide("FModalService", t);
3033
+ const t = new Cn(n);
3034
+ n.provide(De, t), n.provide("FModalService", t);
3035
3035
  };
3036
- function Xe(n, t) {
3036
+ function Ke(n, t) {
3037
3037
  function e() {
3038
3038
  const o = n.beforeOpen || n.beforeClickButton || null;
3039
3039
  let i = Promise.resolve(!0);
@@ -3047,11 +3047,11 @@ function Xe(n, t) {
3047
3047
  }
3048
3048
  return { judgeCanOpen: e };
3049
3049
  }
3050
- function Cn(n, t, e, o, i) {
3050
+ function wn(n, t, e, o, i) {
3051
3051
  const l = v(n.buttonBehavior), a = v(n.popupOnInput), r = B(() => ({
3052
3052
  "input-group-append": !0,
3053
3053
  "append-force-show": n.showButtonWhenDisabled && (n.readonly || n.disable)
3054
- })), { judgeCanOpen: s } = Xe(n, i), d = B(() => n.showButtonWhenDisabled || (!n.editable || !n.readonly) && !n.disable), c = fe(Ke, null), u = v();
3054
+ })), { judgeCanOpen: s } = Ke(n, i), d = B(() => n.showButtonWhenDisabled || (!n.editable || !n.readonly) && !n.disable), c = me(De, null), u = v();
3055
3055
  async function y(f) {
3056
3056
  if (await s() && d.value) {
3057
3057
  const M = !!t.slots.default;
@@ -3062,7 +3062,7 @@ function Cn(n, t, e, o, i) {
3062
3062
  });
3063
3063
  u.value = w == null ? void 0 : w.modalRef;
3064
3064
  }
3065
- l.value === "Overlay" && fn.show({
3065
+ l.value === "Overlay" && mn.show({
3066
3066
  // host: buttonEditRef.value,
3067
3067
  host: document.body,
3068
3068
  backgroundColor: "rgba(0,0,0,.15)",
@@ -3084,7 +3084,7 @@ function Cn(n, t, e, o, i) {
3084
3084
  modalRef: u
3085
3085
  };
3086
3086
  }
3087
- function wn(n, t, e, o, i, l) {
3087
+ function xn(n, t, e, o, i, l) {
3088
3088
  const a = v(!1), r = B(() => n.enableClear && !n.readonly && !n.disable && !re()), { changeTextBoxValue: s, hasClearClass: d } = l, c = v(!1);
3089
3089
  function u(M) {
3090
3090
  a.value = M, d.value = M;
@@ -3117,7 +3117,7 @@ function wn(n, t, e, o, i, l) {
3117
3117
  onMouseLeaveTextBox: f
3118
3118
  };
3119
3119
  }
3120
- function xn(n, t, e, o, i) {
3120
+ function En(n, t, e, o, i) {
3121
3121
  const l = B(() => n.popupOnInput), a = B(() => n.popupOnFocus), { shouldPopupContent: r, closeAllPopover: s } = i, d = v(!1), c = B(() => n.enableTitle ? e.value : ""), u = B(() => (n.disable || n.readonly) && !n.forcePlaceholder ? "" : n.placeholder), y = B(() => n.readonly || !n.editable || re()), m = v(!1), h = B(() => !n.disable && m.value), f = B(() => ({
3122
3122
  "text-left": n.textAlign === "left",
3123
3123
  "text-center": n.textAlign === "center",
@@ -3192,8 +3192,8 @@ function xn(n, t, e, o, i) {
3192
3192
  };
3193
3193
  }
3194
3194
  const te = "FarrisVue_PopoverInstancesKey";
3195
- function En(n, t, e, o) {
3196
- const i = v(), l = v(!1), { judgeCanOpen: a } = Xe(n, o);
3195
+ function Mn(n, t, e, o) {
3196
+ const i = v(), l = v(!1), { judgeCanOpen: a } = Ke(n, o);
3197
3197
  G(() => i.value, (m, h) => {
3198
3198
  window[te] = window[te] || /* @__PURE__ */ new WeakMap(), m ? window[te].set(e.value, m) : window[te].delete(e.value);
3199
3199
  });
@@ -3234,7 +3234,7 @@ function En(n, t, e, o) {
3234
3234
  }
3235
3235
  return { hidePopup: u, showPopup: y, popup: c, shouldPopupContent: l, togglePopup: d, popoverRef: i, closeAllPopover: r };
3236
3236
  }
3237
- function Mn(n, t, e) {
3237
+ function kn(n, t, e) {
3238
3238
  const o = v(), {
3239
3239
  isTextBoxReadonly: i,
3240
3240
  textBoxClass: l,
@@ -3296,7 +3296,7 @@ function Mn(n, t, e) {
3296
3296
  onCompositionstart: N
3297
3297
  }, null);
3298
3298
  }
3299
- function kn(n, t, e) {
3299
+ function In(n, t, e) {
3300
3300
  const o = v(n.separator), i = B(() => n.readonly || n.disable), {
3301
3301
  changeTextBoxValue: l,
3302
3302
  onFocusTextBox: a,
@@ -3320,7 +3320,7 @@ function kn(n, t, e) {
3320
3320
  function m(h) {
3321
3321
  s(h);
3322
3322
  }
3323
- return () => p(qt, {
3323
+ return () => p(jt, {
3324
3324
  tabindex: n.tabIndex,
3325
3325
  onFocus: a,
3326
3326
  onBlur: r,
@@ -3335,7 +3335,7 @@ function kn(n, t, e) {
3335
3335
  onClick: m
3336
3336
  }, null);
3337
3337
  }
3338
- function In(n, t, e, o) {
3338
+ function Fn(n, t, e, o) {
3339
3339
  const {
3340
3340
  buttonGroupClass: i,
3341
3341
  onClickButton: l,
@@ -3351,7 +3351,7 @@ function In(n, t, e, o) {
3351
3351
  t.emit("beforeClearValue");
3352
3352
  }, {
3353
3353
  renderExpandContent: h
3354
- } = jt(n, t);
3354
+ } = Gt(n, t);
3355
3355
  return {
3356
3356
  renderButtonGroup: () => p(J, null, [p("div", {
3357
3357
  id: n.id ? `${n.id}-button-group` : void 0,
@@ -3362,7 +3362,7 @@ function In(n, t, e, o) {
3362
3362
  onMousedown: m
3363
3363
  }, [p("i", {
3364
3364
  class: "f-icon modal_close"
3365
- }, null)]), [[At, d.value]]), t.slots.buttonContent ? p("span", {
3365
+ }, null)]), [[Ht, d.value]]), t.slots.buttonContent ? p("span", {
3366
3366
  class: "input-group-text input-group-append-button",
3367
3367
  onClick: y,
3368
3368
  onMouseenter: a,
@@ -3378,7 +3378,7 @@ function In(n, t, e, o) {
3378
3378
  buttonHandleElement: u
3379
3379
  };
3380
3380
  }
3381
- function Fn(n, t, e) {
3381
+ function Bn(n, t, e) {
3382
3382
  const o = v(n.popupMinWidth), {
3383
3383
  hidePopup: i,
3384
3384
  popoverRef: l
@@ -3403,7 +3403,7 @@ function Fn(n, t, e) {
3403
3403
  var s, d;
3404
3404
  return [Y(" "), (d = (s = t.slots).default) == null ? void 0 : d.call(s), Y(" ")];
3405
3405
  }
3406
- }) : p(Gt, {
3406
+ }) : p(Dt, {
3407
3407
  id: `${n.id}-popover`,
3408
3408
  ref: l,
3409
3409
  placement: n.placement,
@@ -3426,22 +3426,22 @@ function Fn(n, t, e) {
3426
3426
  }
3427
3427
  });
3428
3428
  }
3429
- const Bn = /* @__PURE__ */ Z({
3429
+ const Tn = /* @__PURE__ */ Z({
3430
3430
  name: "FButtonEdit",
3431
- props: an,
3431
+ props: sn,
3432
3432
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue", "expandClick", "hidden", "shown"],
3433
3433
  setup(n, t) {
3434
- const e = v(), o = v(n.customClass), i = v(n.modelValue), l = En(n, t, e, i), {
3434
+ const e = v(), o = v(n.customClass), i = v(n.modelValue), l = Mn(n, t, e, i), {
3435
3435
  shouldPopupContent: a,
3436
3436
  hidePopup: r,
3437
3437
  showPopup: s,
3438
3438
  togglePopup: d
3439
- } = l, c = Cn(n, t, e, l, i), u = v(""), y = xn(n, t, i, u, l), {
3439
+ } = l, c = wn(n, t, e, l, i), u = v(""), y = En(n, t, i, u, l), {
3440
3440
  hasFocusedTextBox: m,
3441
3441
  commitValue: h,
3442
3442
  inputGroupClass: f,
3443
3443
  changeTextBoxValue: M
3444
- } = y, E = wn(n, t, i, m, u, y), {
3444
+ } = y, E = xn(n, t, i, m, u, y), {
3445
3445
  onMouseEnterTextBox: w,
3446
3446
  onMouseLeaveTextBox: S
3447
3447
  } = E, N = v(!1), L = B(() => {
@@ -3465,16 +3465,16 @@ const Bn = /* @__PURE__ */ Z({
3465
3465
  return k && k.length && (x = k.map((O) => O.offsetTop).filter((O) => O > 20).length), x;
3466
3466
  }
3467
3467
  const A = v(P());
3468
- Ht(() => {
3468
+ zt(() => {
3469
3469
  A.value = P();
3470
3470
  });
3471
3471
  function F() {
3472
- return n.multiSelect && n.inputType === "tag" ? () => p(J, null, [kn(n, i, y)(), !!A.value && p("div", {
3472
+ return n.multiSelect && n.inputType === "tag" ? () => p(J, null, [In(n, i, y)(), !!A.value && p("div", {
3473
3473
  class: "d-flex flex-row mr-2 more-tags",
3474
3474
  "more-tags": !0
3475
3475
  }, [p("span", {
3476
3476
  class: "multi--more-text"
3477
- }, [Y("+"), A.value])])]) : Mn(n, i, y);
3477
+ }, [Y("+"), A.value])])]) : kn(n, i, y);
3478
3478
  }
3479
3479
  let R = F();
3480
3480
  G([() => n.multiSelect, () => n.inputType], () => {
@@ -3482,8 +3482,8 @@ const Bn = /* @__PURE__ */ Z({
3482
3482
  });
3483
3483
  const {
3484
3484
  renderButtonGroup: H,
3485
- buttonHandleElement: K
3486
- } = In(n, t, c, E), _ = Fn(n, t, l), X = v(a.value), D = {
3485
+ buttonHandleElement: D
3486
+ } = Fn(n, t, c, E), _ = Bn(n, t, l), K = v(a.value), X = {
3487
3487
  displayText: u,
3488
3488
  commitValue: h,
3489
3489
  elementRef: e,
@@ -3493,7 +3493,7 @@ const Bn = /* @__PURE__ */ Z({
3493
3493
  shouldPopupContent: a,
3494
3494
  togglePopup: d,
3495
3495
  openDialog: () => {
3496
- K.value && n.buttonBehavior === "Modal" && K.value.click(), t.slots.content && qe(() => {
3496
+ D.value && n.buttonBehavior === "Modal" && D.value.click(), t.slots.content && qe(() => {
3497
3497
  c.onClickButton(null);
3498
3498
  }, n.buttonBehavior === "Modal" ? 0 : 200)();
3499
3499
  },
@@ -3506,7 +3506,7 @@ const Bn = /* @__PURE__ */ Z({
3506
3506
  return (x = e.value) == null ? void 0 : x.querySelector("input");
3507
3507
  },
3508
3508
  forceClosePopup: () => {
3509
- X.value = !1, N.value = !0, a.value = !1;
3509
+ K.value = !1, N.value = !0, a.value = !1;
3510
3510
  },
3511
3511
  clear: () => {
3512
3512
  M(""), u.value = "";
@@ -3516,30 +3516,30 @@ const Bn = /* @__PURE__ */ Z({
3516
3516
  }
3517
3517
  };
3518
3518
  return Q(() => {
3519
- e.value.componentInstance = D, window.onresize = () => {
3519
+ e.value.componentInstance = X, window.onresize = () => {
3520
3520
  document.body.click();
3521
3521
  };
3522
- }), zt(() => {
3522
+ }), $t(() => {
3523
3523
  var x;
3524
3524
  window.onresize = null, (x = window[te]) == null || x.delete(e.value);
3525
- }), t.expose(D), G(() => a.value, async (x, k) => {
3525
+ }), t.expose(X), G(() => a.value, async (x, k) => {
3526
3526
  if (N.value) {
3527
- X.value = x, N.value = !1;
3527
+ K.value = x, N.value = !1;
3528
3528
  return;
3529
3529
  }
3530
3530
  if (!x && n.beforeClosePopup && typeof n.beforeClosePopup == "function") {
3531
3531
  try {
3532
3532
  const O = await n.beforeClosePopup();
3533
- X.value = !O, (!O || n.readonly) && (a.value = !0);
3533
+ K.value = !O, (!O || n.readonly) && (a.value = !0);
3534
3534
  } catch (O) {
3535
- console.error("Error in beforeClosePopup:", O), X.value = k, a.value = k;
3535
+ console.error("Error in beforeClosePopup:", O), K.value = k, a.value = k;
3536
3536
  }
3537
3537
  return;
3538
3538
  }
3539
- X.value = x;
3539
+ K.value = x;
3540
3540
  }), () => {
3541
3541
  var x, k;
3542
- return p(J, null, [p("div", me(t.attrs, {
3542
+ return p(J, null, [p("div", ue(t.attrs, {
3543
3543
  ref: e,
3544
3544
  class: L.value,
3545
3545
  id: n.id ? n.id : void 0,
@@ -3550,19 +3550,19 @@ const Bn = /* @__PURE__ */ Z({
3550
3550
  style: C.value,
3551
3551
  onMouseenter: w,
3552
3552
  onMouseleave: S
3553
- }, [(k = (x = t.slots).precontent) == null ? void 0 : k.call(x), t.slots.content ? t.slots.content() : R(), t.slots.content ? null : I.value && H()])]), X.value && _()]);
3553
+ }, [(k = (x = t.slots).precontent) == null ? void 0 : k.call(x), t.slots.content ? t.slots.content() : R(), t.slots.content ? null : I.value && H()])]), K.value && _()]);
3554
3554
  };
3555
3555
  }
3556
3556
  });
3557
- function De(n, t, e) {
3557
+ function Xe(n, t, e) {
3558
3558
  return t;
3559
3559
  }
3560
3560
  function _e(n, t, e) {
3561
3561
  return t;
3562
3562
  }
3563
3563
  const Ye = /* @__PURE__ */ new Map([
3564
- ["appearance", St]
3565
- ]), Je = /* @__PURE__ */ new Map([]), Tn = "https://json-schema.org/draft/2020-12/schema", Sn = "https://farris-design.gitee.io/radio-group.schema.json", Pn = "item-collection-editor", Vn = "A Farris Input Component", Rn = "object", On = {
3564
+ ["appearance", Pt]
3565
+ ]), Je = /* @__PURE__ */ new Map([]), Sn = "https://json-schema.org/draft/2020-12/schema", Pn = "https://farris-design.gitee.io/radio-group.schema.json", Vn = "item-collection-editor", Rn = "A Farris Input Component", On = "object", Ln = {
3566
3566
  id: {
3567
3567
  description: "The unique identifier for a item-collection-editor",
3568
3568
  type: "string"
@@ -3646,18 +3646,18 @@ const Ye = /* @__PURE__ */ new Map([
3646
3646
  type: "number",
3647
3647
  default: 600
3648
3648
  }
3649
- }, Ln = [
3649
+ }, Nn = [
3650
3650
  "id",
3651
3651
  "type"
3652
- ], Nn = [], Ze = {
3653
- $schema: Tn,
3654
- $id: Sn,
3655
- title: Pn,
3656
- description: Vn,
3657
- type: Rn,
3658
- properties: On,
3659
- required: Ln,
3660
- ignore: Nn
3652
+ ], An = [], Ze = {
3653
+ $schema: Sn,
3654
+ $id: Pn,
3655
+ title: Vn,
3656
+ description: Rn,
3657
+ type: On,
3658
+ properties: Ln,
3659
+ required: Nn,
3660
+ ignore: An
3661
3661
  }, Ie = {
3662
3662
  /**
3663
3663
  * 必填的列
@@ -3716,12 +3716,12 @@ const Ye = /* @__PURE__ */ new Map([
3716
3716
  modalHeight: { type: Number, default: 600 }
3717
3717
  };
3718
3718
  Ae(Ie, Ze, Je, _e);
3719
- const An = He(
3719
+ const Hn = He(
3720
3720
  Ie,
3721
3721
  Ze,
3722
3722
  Je,
3723
3723
  _e
3724
- ), Hn = {
3724
+ ), zn = {
3725
3725
  /**
3726
3726
  * 必填的列
3727
3727
  */
@@ -3756,9 +3756,9 @@ const An = He(
3756
3756
  */
3757
3757
  readonly: { type: Boolean, default: !1 },
3758
3758
  commandOption: { type: Object, default: { enable: !1 } }
3759
- }, zn = /* @__PURE__ */ Z({
3759
+ }, $n = /* @__PURE__ */ Z({
3760
3760
  name: "FItemCollectionEditorInner",
3761
- props: Hn,
3761
+ props: zn,
3762
3762
  emits: ["change"],
3763
3763
  setup(n, t) {
3764
3764
  let e = "";
@@ -3801,27 +3801,27 @@ const An = He(
3801
3801
  const P = n.requiredFields || [], A = "不允许为空。";
3802
3802
  for (const R of C)
3803
3803
  for (const H of Object.keys(R)) {
3804
- const K = c.find((_) => _.field === H);
3805
- if (K && K.editor && (K.editor.type === "checkbox" || K.editor.type === "switch")) {
3804
+ const D = c.find((_) => _.field === H);
3805
+ if (D && D.editor && (D.editor.type === "checkbox" || D.editor.type === "switch")) {
3806
3806
  if (P.includes(H) && (R[H] === null || R[H] === void 0))
3807
3807
  return i.warning({
3808
3808
  position: "top-center",
3809
- message: K.title + A
3809
+ message: D.title + A
3810
3810
  }), !1;
3811
3811
  } else if (P.includes(H) && (R[H] === void 0 || R[H] === "" || R[H] === null))
3812
3812
  return i.warning({
3813
3813
  position: "top-center",
3814
- message: K.title + A
3814
+ message: D.title + A
3815
3815
  }), !1;
3816
3816
  }
3817
3817
  const F = n.uniqueFields || [];
3818
3818
  for (const R of F) {
3819
- const H = C.map((X) => X[R]), K = new Set(H), _ = Array.from(K);
3819
+ const H = C.map((K) => K[R]), D = new Set(H), _ = Array.from(D);
3820
3820
  if (H.length !== _.length) {
3821
- const X = c.find((D) => D.field === R);
3821
+ const K = c.find((X) => X.field === R);
3822
3822
  return i.warning({
3823
3823
  position: "top-center",
3824
- message: X.title + I
3824
+ message: K.title + I
3825
3825
  }), !1;
3826
3826
  }
3827
3827
  }
@@ -3926,7 +3926,7 @@ const An = He(
3926
3926
  onSelectionChange: $
3927
3927
  }, null)])]);
3928
3928
  }
3929
- }), $n = {
3929
+ }), Un = {
3930
3930
  showCloseButton: { type: Boolean, default: !0 },
3931
3931
  position: { type: String, default: "top-center" },
3932
3932
  timeout: { type: Number, default: 3e3 },
@@ -3939,13 +3939,13 @@ const An = He(
3939
3939
  animate: { type: String, default: "fadeIn" },
3940
3940
  options: { type: Object },
3941
3941
  safeHtml: { type: Boolean, default: !0 }
3942
- }, Un = {
3942
+ }, Wn = {
3943
3943
  showCloseButton: { type: Boolean, default: !0 },
3944
3944
  animate: { type: String, default: "fadeIn" },
3945
3945
  options: { type: Object }
3946
3946
  }, xe = /* @__PURE__ */ Z({
3947
3947
  name: "Toast",
3948
- props: Un,
3948
+ props: Wn,
3949
3949
  emits: ["close", "click"],
3950
3950
  setup: (n, t) => {
3951
3951
  const e = v(n.animate), o = "fadeOut", i = B(() => n.options), l = v(!1), a = B(() => i.value.title && i.value.message), r = B(() => !i.value.title && i.value.message), s = B(() => {
@@ -4024,8 +4024,8 @@ const An = He(
4024
4024
  innerHTML: i.value.message
4025
4025
  }, null))])])]);
4026
4026
  }
4027
- }), Wn = ["moz", "ms", "webkit"];
4028
- function qn() {
4027
+ }), qn = ["moz", "ms", "webkit"];
4028
+ function jn() {
4029
4029
  let n = 0;
4030
4030
  return (t) => {
4031
4031
  const e = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (e - n)), i = setTimeout(() => {
@@ -4034,15 +4034,15 @@ function qn() {
4034
4034
  return n = e + o, i;
4035
4035
  };
4036
4036
  }
4037
- function jn() {
4037
+ function Gn() {
4038
4038
  if (typeof window > "u")
4039
4039
  return () => 0;
4040
4040
  if (window.requestAnimationFrame)
4041
4041
  return window.requestAnimationFrame.bind(window);
4042
- const n = Wn.filter((t) => `${t}RequestAnimationFrame` in window)[0];
4043
- return n ? window[`${n}RequestAnimationFrame`] : qn();
4042
+ const n = qn.filter((t) => `${t}RequestAnimationFrame` in window)[0];
4043
+ return n ? window[`${n}RequestAnimationFrame`] : jn();
4044
4044
  }
4045
- jn();
4045
+ Gn();
4046
4046
  v("");
4047
4047
  function Qe() {
4048
4048
  if (typeof window > "u" || typeof navigator > "u")
@@ -4077,14 +4077,14 @@ function Qe() {
4077
4077
  const o = "ontouchstart" in window || navigator.maxTouchPoints > 0, i = screen.width, l = screen.height, a = Math.min(i, l);
4078
4078
  return !!(o && a <= 768);
4079
4079
  }
4080
- function Gn() {
4080
+ function Dn() {
4081
4081
  const n = Qe();
4082
4082
  return n && document.body.classList.add("f-mobile"), n;
4083
4083
  }
4084
- typeof document < "u" && Gn();
4085
- const ce = /* @__PURE__ */ Z({
4084
+ typeof document < "u" && Dn();
4085
+ const fe = /* @__PURE__ */ Z({
4086
4086
  name: "Notify",
4087
- props: $n,
4087
+ props: Un,
4088
4088
  emits: ["close", "empty"],
4089
4089
  setup(n, t) {
4090
4090
  var f;
@@ -4140,7 +4140,7 @@ const ce = /* @__PURE__ */ Z({
4140
4140
  class Kn {
4141
4141
  constructor() {
4142
4142
  T(this, "notifyRefs", []);
4143
- T(this, "globalConfig", $t({}));
4143
+ T(this, "globalConfig", Ut({}));
4144
4144
  }
4145
4145
  escapeAllHtml(t) {
4146
4146
  if (typeof t != "string" || !t)
@@ -4183,7 +4183,7 @@ class Kn {
4183
4183
  name: "fade",
4184
4184
  appear: !0
4185
4185
  }, {
4186
- default: () => [p(ce, me({
4186
+ default: () => [p(fe, ue({
4187
4187
  ref: r
4188
4188
  }, i, {
4189
4189
  onClose: s
@@ -4257,8 +4257,8 @@ class Kn {
4257
4257
  }
4258
4258
  }
4259
4259
  const et = Symbol("NOTIFY_SERVICE_TOKEN");
4260
- ce.install = (n) => {
4261
- n.component(ce.name, ce), n.component(xe.name, xe);
4260
+ fe.install = (n) => {
4261
+ n.component(fe.name, fe), n.component(xe.name, xe);
4262
4262
  const t = new Kn();
4263
4263
  n.provide(et, t), n.provide("FNotifyService", t);
4264
4264
  };
@@ -4268,7 +4268,7 @@ const Xn = /* @__PURE__ */ Z({
4268
4268
  components: {},
4269
4269
  emits: ["change"],
4270
4270
  setup(n, t) {
4271
- const e = fe(et), {
4271
+ const e = me(et), {
4272
4272
  guid: o
4273
4273
  } = Ee(), i = v(`共 ${(n.modelValue || []).length} 项`), l = v(n.valueField), a = v(n.nameField), r = v();
4274
4274
  function s() {
@@ -4337,7 +4337,7 @@ const Xn = /* @__PURE__ */ Z({
4337
4337
  return G(() => n.modelValue, (m) => {
4338
4338
  i.value = `共 ${(n.modelValue || []).length} 项`;
4339
4339
  }), Q(() => {
4340
- }), () => p(Bn, {
4340
+ }), () => p(Tn, {
4341
4341
  "button-behavior": "Modal",
4342
4342
  "modal-options": u,
4343
4343
  modelValue: i.value,
@@ -4383,7 +4383,7 @@ const Xn = /* @__PURE__ */ Z({
4383
4383
  class: "form-control",
4384
4384
  "onUpdate:modelValue": (m) => a.value = m,
4385
4385
  readonly: n.readonly
4386
- }, null), [[Oe, a.value]])])])])]), p(zn, {
4386
+ }, null), [[Oe, a.value]])])])])]), p($n, {
4387
4387
  ref: r,
4388
4388
  valueField: l.value,
4389
4389
  nameField: a.value,
@@ -4398,7 +4398,7 @@ const Xn = /* @__PURE__ */ Z({
4398
4398
  }, null)])]
4399
4399
  });
4400
4400
  }
4401
- }), Dn = "https://json-schema.org/draft/2020-12/schema", _n = "https://farris-design.gitee.io/radio-group.schema.json", Yn = "radio-group", Jn = "A Farris Input Component", Zn = "object", Qn = {
4401
+ }), _n = "https://json-schema.org/draft/2020-12/schema", Yn = "https://farris-design.gitee.io/radio-group.schema.json", Jn = "radio-group", Zn = "A Farris Input Component", Qn = "object", ei = {
4402
4402
  id: {
4403
4403
  description: "The unique identifier for a radio-group",
4404
4404
  type: "string"
@@ -4487,38 +4487,38 @@ const Xn = /* @__PURE__ */ Z({
4487
4487
  description: "值变化事件(对应 emit changeValue)",
4488
4488
  type: "string"
4489
4489
  }
4490
- }, ei = [
4490
+ }, ti = [
4491
4491
  "type"
4492
- ], ti = [
4492
+ ], ni = [
4493
4493
  "id",
4494
4494
  "appearance",
4495
4495
  "binding",
4496
4496
  "visible"
4497
4497
  ], tt = {
4498
- $schema: Dn,
4499
- $id: _n,
4500
- title: Yn,
4501
- description: Jn,
4502
- type: Zn,
4503
- properties: Qn,
4504
- required: ei,
4505
- ignore: ti
4506
- }, wi = Ae(ze, tt, Ye, De), nt = He(
4498
+ $schema: _n,
4499
+ $id: Yn,
4500
+ title: Jn,
4501
+ description: Zn,
4502
+ type: Qn,
4503
+ properties: ei,
4504
+ required: ti,
4505
+ ignore: ni
4506
+ }, xi = Ae(ze, tt, Ye, Xe), nt = He(
4507
4507
  ze,
4508
4508
  tt,
4509
4509
  Ye,
4510
- De
4510
+ Xe
4511
4511
  );
4512
4512
  he.register = (n, t, e, o, i) => {
4513
- n["radio-group"] = Pt, t["radio-group"] = nt(i), n["item-collection-editor"] = Xn, t["item-collection-editor"] = An(i);
4513
+ n["radio-group"] = Vt, t["radio-group"] = nt(i), n["item-collection-editor"] = Xn, t["item-collection-editor"] = Hn(i);
4514
4514
  };
4515
4515
  he.registerDesigner = (n, t, e, o) => {
4516
4516
  n["radio-group"] = he, t["radio-group"] = nt(o);
4517
4517
  };
4518
- const xi = Tt(he);
4518
+ const Ei = St(he);
4519
4519
  export {
4520
4520
  he as FRadioGroupDesign,
4521
- xi as default,
4522
- wi as propsResolver,
4521
+ Ei as default,
4522
+ xi as propsResolver,
4523
4523
  nt as propsResolverGenerator
4524
4524
  };