@farris/ui-vue 1.2.6 → 1.2.8

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 (210) hide show
  1. package/components/accordion/index.esm.js +150 -142
  2. package/components/avatar/index.esm.js +393 -457
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +491 -554
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +479 -513
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +857 -743
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4883 -5182
  17. package/components/data-view/index.esm.js +3072 -2949
  18. package/components/date-picker/index.esm.js +2626 -2689
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +940 -998
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +307 -293
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1747 -1627
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5877 -6176
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1454 -1524
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +659 -722
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1643 -1524
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6502 -6770
  47. package/components/mapping-editor/index.esm.js +5639 -5939
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +1098 -1130
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1317
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1479 -1513
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +706 -778
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +453 -516
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +555 -526
  74. package/components/response-toolbar/index.esm.js +1009 -1247
  75. package/components/schema-selector/index.esm.js +3261 -3373
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +441 -504
  83. package/components/tabs/index.esm.js +1849 -2039
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +445 -493
  87. package/components/time-picker/index.esm.js +1350 -1414
  88. package/components/transfer/index.esm.js +146 -144
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5948 -6237
  91. package/components/tree-view/index.esm.js +2381 -2255
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +27221 -26804
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  102. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  103. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  104. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  105. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  106. package/types/data-view/composition/types.d.ts +1 -1
  107. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  108. package/types/designer-canvas/src/types.d.ts +1 -1
  109. package/types/dynamic-form/index.d.ts +1 -0
  110. package/types/dynamic-form/src/types.d.ts +1 -1
  111. package/types/dynamic-resolver/index.d.ts +1 -0
  112. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  113. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  114. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
  115. package/types/lookup/src/property-config/lookup.property-config.d.ts +4 -3
  116. package/types/modal/src/modal.props.d.ts +1 -4
  117. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -28
  118. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -5
  119. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  120. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  121. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  122. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  123. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  124. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  125. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  126. package/components/accordion/index.umd.cjs +0 -1
  127. package/components/avatar/index.umd.cjs +0 -1
  128. package/components/border-editor/index.umd.cjs +0 -1
  129. package/components/button/index.umd.cjs +0 -1
  130. package/components/button-edit/index.umd.cjs +0 -1
  131. package/components/button-group/index.umd.cjs +0 -1
  132. package/components/calculator/index.umd.cjs +0 -1
  133. package/components/calendar/index.umd.cjs +0 -1
  134. package/components/capsule/index.umd.cjs +0 -1
  135. package/components/checkbox/index.umd.cjs +0 -1
  136. package/components/color-picker/index.umd.cjs +0 -3
  137. package/components/combo-list/index.umd.cjs +0 -1
  138. package/components/combo-tree/index.umd.cjs +0 -1
  139. package/components/common/index.umd.cjs +0 -1
  140. package/components/component/index.umd.cjs +0 -1
  141. package/components/condition/index.umd.cjs +0 -1
  142. package/components/content-container/index.umd.cjs +0 -1
  143. package/components/data-grid/index.umd.cjs +0 -1
  144. package/components/data-view/index.umd.cjs +0 -1
  145. package/components/date-picker/index.umd.cjs +0 -1
  146. package/components/designer-canvas/index.umd.cjs +0 -1
  147. package/components/designer-outline/index.umd.cjs +0 -1
  148. package/components/designer-toolbox/index.umd.cjs +0 -1
  149. package/components/discussion-editor/index.umd.cjs +0 -3
  150. package/components/discussion-list/index.umd.cjs +0 -1
  151. package/components/drawer/index.umd.cjs +0 -1
  152. package/components/dropdown/index.umd.cjs +0 -2
  153. package/components/dynamic-form/index.umd.cjs +0 -1
  154. package/components/dynamic-resolver/index.umd.cjs +0 -1
  155. package/components/dynamic-view/index.umd.cjs +0 -1
  156. package/components/enum-editor/index.umd.cjs +0 -1
  157. package/components/events-editor/index.umd.cjs +0 -1
  158. package/components/expression-editor/index.umd.cjs +0 -1
  159. package/components/external-container/index.umd.cjs +0 -1
  160. package/components/field-selector/index.umd.cjs +0 -1
  161. package/components/filter-bar/index.umd.cjs +0 -1
  162. package/components/flow-canvas/index.umd.cjs +0 -1
  163. package/components/image-cropper/index.umd.cjs +0 -1
  164. package/components/input-group/index.umd.cjs +0 -1
  165. package/components/layout/index.umd.cjs +0 -1
  166. package/components/list-nav/index.umd.cjs +0 -1
  167. package/components/list-view/index.umd.cjs +0 -1
  168. package/components/loading/index.umd.cjs +0 -8
  169. package/components/locale/index.umd.cjs +0 -1
  170. package/components/lookup/index.umd.cjs +0 -1
  171. package/components/mapping-editor/index.umd.cjs +0 -1
  172. package/components/message-box/index.umd.cjs +0 -1
  173. package/components/modal/index.umd.cjs +0 -1
  174. package/components/nav/index.umd.cjs +0 -3
  175. package/components/notify/index.umd.cjs +0 -1
  176. package/components/order/index.umd.cjs +0 -1
  177. package/components/page-footer/index.umd.cjs +0 -1
  178. package/components/page-header/index.umd.cjs +0 -1
  179. package/components/pagination/index.umd.cjs +0 -1
  180. package/components/popover/index.umd.cjs +0 -1
  181. package/components/progress/index.umd.cjs +0 -3
  182. package/components/property-editor/index.umd.cjs +0 -3
  183. package/components/property-panel/index.umd.cjs +0 -1
  184. package/components/radio-button/index.umd.cjs +0 -1
  185. package/components/radio-group/index.umd.cjs +0 -1
  186. package/components/rate/index.umd.cjs +0 -1
  187. package/components/response-layout/index.umd.cjs +0 -1
  188. package/components/response-layout-editor/index.umd.cjs +0 -1
  189. package/components/response-toolbar/index.umd.cjs +0 -1
  190. package/components/schema-selector/index.umd.cjs +0 -8
  191. package/components/search-box/index.umd.cjs +0 -1
  192. package/components/section/index.umd.cjs +0 -1
  193. package/components/smoke-detector/index.umd.cjs +0 -1
  194. package/components/spacing-editor/index.umd.cjs +0 -1
  195. package/components/splitter/index.umd.cjs +0 -1
  196. package/components/step/index.umd.cjs +0 -1
  197. package/components/switch/index.umd.cjs +0 -1
  198. package/components/tabs/index.umd.cjs +0 -1
  199. package/components/tags/index.umd.cjs +0 -1
  200. package/components/text/index.umd.cjs +0 -1
  201. package/components/textarea/index.umd.cjs +0 -1
  202. package/components/time-picker/index.umd.cjs +0 -1
  203. package/components/tooltip/index.umd.cjs +0 -1
  204. package/components/transfer/index.umd.cjs +0 -1
  205. package/components/tree-grid/index.umd.cjs +0 -1
  206. package/components/tree-view/index.umd.cjs +0 -1
  207. package/components/uploader/index.umd.cjs +0 -2
  208. package/components/verify-detail/index.umd.cjs +0 -1
  209. package/components/video/index.umd.cjs +0 -1
  210. package/components/weather/index.umd.cjs +0 -16
@@ -1,42 +1,42 @@
1
- import { ref as N, watch as B, createVNode as i, computed as w, defineComponent as K, watchEffect as pe, Fragment as _, createTextVNode as H, nextTick as ue, inject as fe, onMounted as de } from "vue";
1
+ import { ref as N, watch as B, createVNode as p, computed as w, defineComponent as R, watchEffect as pe, Fragment as _, createTextVNode as H, nextTick as ue, inject as fe, onMounted as de } from "vue";
2
2
  import { cloneDeep as ge } from "lodash-es";
3
- import { withInstall as be } from "@farris/ui-vue/components/common";
4
- const R = {}, ee = {};
3
+ import { withInstall as be } from "../common/index.esm.js";
4
+ const K = {}, ee = {};
5
5
  function Y(n) {
6
- const { properties: e, title: t } = n, u = Object.keys(e).reduce((a, g) => (a[g] = e[g].type === "object" && e[g].properties ? Y(e[g]) : ge(e[g].default), a), {});
7
- return u.id = `${t}-${Date.now()}`, u;
6
+ const { properties: e, title: t } = n, l = Object.keys(e).reduce((o, g) => (o[g] = e[g].type === "object" && e[g].properties ? Y(e[g]) : ge(e[g].default), o), {});
7
+ return l.id = `${t}-${Date.now()}`, l;
8
8
  }
9
9
  function q(n, e = {}) {
10
- const t = R[n];
10
+ const t = K[n];
11
11
  if (t) {
12
- let u = Y(t);
13
- const a = ee[n];
14
- return u = a ? a({ getSchemaByType: q }, u, e) : u, u;
12
+ let l = Y(t);
13
+ const o = ee[n];
14
+ return l = o ? o({ getSchemaByType: q }, l, e) : l, l;
15
15
  }
16
16
  return null;
17
17
  }
18
18
  function ye(n, e) {
19
19
  const t = Y(e);
20
- return Object.keys(n).reduce((u, a) => (u[a] = n[a], u), t), t;
20
+ return Object.keys(n).reduce((l, o) => (l[o] && typeof l[o] == "object" ? Object.assign(l[o], n[o]) : l[o] = n[o], l), t), t;
21
21
  }
22
22
  function me(n, e) {
23
- return Object.keys(n).filter((u) => n[u] != null).reduce((u, a) => {
24
- if (e.has(a)) {
25
- const g = e.get(a);
23
+ return Object.keys(n).filter((l) => n[l] != null).reduce((l, o) => {
24
+ if (e.has(o)) {
25
+ const g = e.get(o);
26
26
  if (typeof g == "string")
27
- u[g] = n[a];
27
+ l[g] = n[o];
28
28
  else {
29
- const o = g(a, n[a], n);
30
- Object.assign(u, o);
29
+ const a = g(o, n[o], n);
30
+ Object.assign(l, a);
31
31
  }
32
32
  } else
33
- u[a] = n[a];
34
- return u;
33
+ l[o] = n[o];
34
+ return l;
35
35
  }, {});
36
36
  }
37
37
  function he(n, e, t = /* @__PURE__ */ new Map()) {
38
- const u = ye(n, e);
39
- return me(u, t);
38
+ const l = ye(n, e);
39
+ return me(l, t);
40
40
  }
41
41
  function ve(n = {}) {
42
42
  function e(f, b, h, m) {
@@ -56,12 +56,12 @@ function ve(n = {}) {
56
56
  function t(f, b, h, m) {
57
57
  return m[f] && m[f].propertyValue && String(m[f].propertyValue.value) === String(h);
58
58
  }
59
- const u = /* @__PURE__ */ new Map([
59
+ const l = /* @__PURE__ */ new Map([
60
60
  ["length", e],
61
61
  ["getProperty", t]
62
62
  ]);
63
- Object.keys(n).reduce((f, b) => (f.set(b, n[b]), f), u);
64
- function a(f, b) {
63
+ Object.keys(n).reduce((f, b) => (f.set(b, n[b]), f), l);
64
+ function o(f, b) {
65
65
  const h = f;
66
66
  return typeof b == "number" ? [{ target: h, operator: "length", param: null, value: Number(b) }] : typeof b == "boolean" ? [{ target: h, operator: "getProperty", param: f, value: !!b }] : typeof b == "object" ? Object.keys(b).map((m) => {
67
67
  if (m === "length")
@@ -72,32 +72,32 @@ function ve(n = {}) {
72
72
  }
73
73
  function g(f) {
74
74
  return Object.keys(f).reduce((h, m) => {
75
- const P = a(m, f[m]);
75
+ const P = o(m, f[m]);
76
76
  return h.push(...P), h;
77
77
  }, []);
78
78
  }
79
- function o(f, b) {
80
- if (u.has(f.operator)) {
81
- const h = u.get(f.operator);
79
+ function a(f, b) {
80
+ if (l.has(f.operator)) {
81
+ const h = l.get(f.operator);
82
82
  return h && h(f.target, f.param, f.value, b) || !1;
83
83
  }
84
84
  return !1;
85
85
  }
86
86
  function s(f, b) {
87
- return g(f).reduce((P, c) => P && o(c, b), !0);
87
+ return g(f).reduce((P, c) => P && a(c, b), !0);
88
88
  }
89
- function l(f, b) {
89
+ function i(f, b) {
90
90
  const h = Object.keys(f), m = h.includes("allOf"), P = h.includes("anyOf"), c = m || P, y = (c ? f[c ? m ? "allOf" : "anyOf" : "allOf"] : [f]).map((C) => s(C, b));
91
91
  return m ? !y.includes(!1) : y.includes(!0);
92
92
  }
93
- return { parseValueSchema: l };
93
+ return { parseValueSchema: i };
94
94
  }
95
95
  const je = {}, Ce = {};
96
96
  ve();
97
- function Pe(n, e, t = /* @__PURE__ */ new Map(), u = (o, s, l) => s, a = {}, g = (o) => o) {
98
- return R[e.title] = e, ee[e.title] = u, je[e.title] = a, Ce[e.title] = g, (o = {}) => {
99
- const s = he(o, e, t), l = Object.keys(n).reduce((f, b) => (f[b] = n[b].default, f), {});
100
- return Object.assign(l, s);
97
+ function Pe(n, e, t = /* @__PURE__ */ new Map(), l = (a, s, i) => s, o = {}, g = (a) => a) {
98
+ return K[e.title] = e, ee[e.title] = l, je[e.title] = o, Ce[e.title] = g, (a = {}) => {
99
+ const s = he(a, e, t), i = Object.keys(n).reduce((f, b) => (f[b] = n[b].default, f), {});
100
+ return Object.assign(i, s);
101
101
  };
102
102
  }
103
103
  function we(n, e) {
@@ -334,87 +334,87 @@ const Z = {
334
334
  pageList: { type: Array, default: [20, 50, 100] }
335
335
  }, te = Pe(Z, De, Ne, Ve, Fe);
336
336
  function ne(n, e) {
337
- const t = N("跳转至"), u = N(""), a = N(n.value);
338
- B(a, (l, f) => {
339
- l >= 1 && l <= e.value ? n.value = l : a.value = f;
340
- }), B(n, (l) => {
341
- a.value !== l && (a.value = l);
337
+ const t = N("跳转至"), l = N(""), o = N(n.value);
338
+ B(o, (i, f) => {
339
+ i >= 1 && i <= e.value ? n.value = i : o.value = f;
340
+ }), B(n, (i) => {
341
+ o.value !== i && (o.value = i);
342
342
  });
343
- function g(l) {
344
- a.value = l.target.valueAsNumber;
343
+ function g(i) {
344
+ o.value = i.target.valueAsNumber;
345
345
  }
346
- function o(l) {
347
- l.key === "Enter" && (a.value = l.target.valueAsNumber);
346
+ function a(i) {
347
+ i.key === "Enter" && (o.value = i.target.valueAsNumber);
348
348
  }
349
349
  function s() {
350
- return i("li", {
350
+ return p("li", {
351
351
  class: "page-goto-input d-flex flex-row",
352
352
  style: "padding-left: 10px; white-space: nowrap;"
353
- }, [i("span", {
353
+ }, [p("span", {
354
354
  class: "pg-message-text"
355
- }, [t.value]), i("input", {
355
+ }, [t.value]), p("input", {
356
356
  type: "number",
357
357
  class: "form-control farris-gotopagenumber",
358
- value: a.value,
358
+ value: o.value,
359
359
  min: "1",
360
360
  max: e.value,
361
361
  style: "display: inline-block;margin-left:3px;",
362
- onBlur: (l) => g(l),
363
- onKeyup: (l) => o(l)
364
- }, null), u.value]);
362
+ onBlur: (i) => g(i),
363
+ onKeyup: (i) => a(i)
364
+ }, null), l.value]);
365
365
  }
366
366
  return {
367
367
  renderGotoButton: s
368
368
  };
369
369
  }
370
370
  function oe(n, e, t) {
371
- const u = w(() => ({
371
+ const l = w(() => ({
372
372
  "page-item": !0,
373
373
  disabled: e.value
374
374
  }));
375
- function a(l) {
375
+ function o(i) {
376
376
  n.value = n.value < t.value ? n.value + 1 : t.value;
377
377
  }
378
- function g(l) {
378
+ function g(i) {
379
379
  n.value = t.value;
380
380
  }
381
- function o() {
382
- return i("li", {
383
- class: u.value
384
- }, [!e.value && i("a", {
381
+ function a() {
382
+ return p("li", {
383
+ class: l.value
384
+ }, [!e.value && p("a", {
385
385
  class: "page-link",
386
386
  tabindex: "0",
387
- onClick: (l) => a()
388
- }, [i("span", {
387
+ onClick: (i) => o()
388
+ }, [p("span", {
389
389
  class: "f-icon f-page-next"
390
- }, null)]), e.value && i("span", {
390
+ }, null)]), e.value && p("span", {
391
391
  class: "page-link"
392
- }, [i("span", {
392
+ }, [p("span", {
393
393
  class: "f-icon f-page-next"
394
394
  }, null)])]);
395
395
  }
396
396
  function s() {
397
- return i("li", {
398
- class: u.value
399
- }, [!e.value && i("a", {
397
+ return p("li", {
398
+ class: l.value
399
+ }, [!e.value && p("a", {
400
400
  class: "page-link",
401
401
  tabindex: "0",
402
- onClick: (l) => g()
403
- }, [i("span", {
402
+ onClick: (i) => g()
403
+ }, [p("span", {
404
404
  class: "f-icon f-page-last"
405
- }, null)]), e.value && i("span", {
405
+ }, null)]), e.value && p("span", {
406
406
  class: "page-link"
407
- }, [i("span", {
407
+ }, [p("span", {
408
408
  class: "f-icon f-page-last"
409
409
  }, null)])]);
410
410
  }
411
411
  return {
412
412
  renderLastPage: s,
413
- renderNextPage: o
413
+ renderNextPage: a
414
414
  };
415
415
  }
416
416
  function ae(n, e) {
417
- const t = N("共"), u = N("条"), a = w(() => ({
417
+ const t = N("共"), l = N("条"), o = w(() => ({
418
418
  "pagination-message": !0,
419
419
  "text-truncate": !0,
420
420
  "d-flex": !0,
@@ -422,260 +422,260 @@ function ae(n, e) {
422
422
  "flex-fill": n.value === "right"
423
423
  }));
424
424
  function g() {
425
- return i("li", {
426
- class: a.value
427
- }, [i("div", {
425
+ return p("li", {
426
+ class: o.value
427
+ }, [p("div", {
428
428
  class: "text-truncate",
429
429
  style: "line-height: 26px"
430
- }, [i("span", {
430
+ }, [p("span", {
431
431
  class: "pg-message-text"
432
- }, [t.value]), i("b", {
432
+ }, [t.value]), p("b", {
433
433
  class: "pg-message-total"
434
- }, [e.value]), i("span", {
434
+ }, [e.value]), p("span", {
435
435
  class: "pg-message-text"
436
- }, [u.value])])]);
436
+ }, [l.value])])]);
437
437
  }
438
438
  return {
439
439
  renderPageInfo: g
440
440
  };
441
441
  }
442
- function se(n, e, t, u) {
443
- const a = N(!1), g = N("显示"), o = N("条"), s = w(() => ({
442
+ function se(n, e, t, l) {
443
+ const o = N(!1), g = N("显示"), a = N("条"), s = w(() => ({
444
444
  dropup: !0,
445
445
  "dropdown-right": !0,
446
446
  "pg-pagelist": !0,
447
- "pagelist-disabled": u.value === 0,
448
- show: a.value
449
- })), l = w(() => ({
447
+ "pagelist-disabled": l.value === 0,
448
+ show: o.value
449
+ })), i = w(() => ({
450
450
  "dropdown-menu": !0,
451
- show: a.value
451
+ show: o.value
452
452
  })), f = (r) => ({
453
453
  "w-100": !0,
454
454
  "dropdown-item": !0,
455
455
  active: e.value === r
456
456
  });
457
457
  function b(r) {
458
- a.value = !0;
458
+ o.value = !0;
459
459
  }
460
460
  function h(r) {
461
- a.value = !1;
461
+ o.value = !1;
462
462
  }
463
- function m(r, p, y) {
464
- const C = r * p - p + 1;
463
+ function m(r, u, y) {
464
+ const C = r * u - u + 1;
465
465
  return Math.ceil(C / y);
466
466
  }
467
- function P(r, p) {
468
- n.value = m(n.value, e.value, p), e.value = p, a.value = !1;
467
+ function P(r, u) {
468
+ n.value = m(n.value, e.value, u), e.value = u, o.value = !1;
469
469
  }
470
470
  function c() {
471
- return i("li", {
471
+ return p("li", {
472
472
  class: "pagination-pagelist"
473
- }, [i("div", {
473
+ }, [p("div", {
474
474
  class: s.value,
475
475
  onMouseenter: (r) => b(),
476
476
  onMouseleave: (r) => h()
477
- }, [i("div", {
477
+ }, [p("div", {
478
478
  class: "pg-pagelist-info"
479
- }, [i("span", {
479
+ }, [p("span", {
480
480
  class: "pagelist-text"
481
- }, [g.value]), i("b", {
481
+ }, [g.value]), p("b", {
482
482
  class: "cur-pagesize"
483
- }, [e.value]), i("span", {
483
+ }, [e.value]), p("span", {
484
484
  class: "pagelist-text"
485
- }, [o.value]), i("i", {
485
+ }, [a.value]), p("i", {
486
486
  class: "f-icon f-icon-dropdown"
487
- }, null)]), i("div", {
488
- class: l.value,
487
+ }, null)]), p("div", {
488
+ class: i.value,
489
489
  style: "margin-bottom: -1px;"
490
- }, [t.value.map((r) => i("li", {
490
+ }, [t.value.map((r) => p("li", {
491
491
  class: f(r),
492
- onClick: (p) => P(p, r)
493
- }, [i("span", null, [r])]))])])]);
492
+ onClick: (u) => P(u, r)
493
+ }, [p("span", null, [r])]))])])]);
494
494
  }
495
495
  return {
496
496
  renderPageList: c
497
497
  };
498
498
  }
499
499
  function re(n, e) {
500
- const t = (o) => ({
500
+ const t = (a) => ({
501
501
  "page-item": !0,
502
- current: n.value === o.value,
503
- ellipsis: o.label === "..."
504
- }), u = (o) => ({
502
+ current: n.value === a.value,
503
+ ellipsis: a.label === "..."
504
+ }), l = (a) => ({
505
505
  "f-icon": !0,
506
- "f-icon-arrow-seek-left": o.value < n.value,
507
- "f-icon-arrow-seek-right": o.value > n.value
506
+ "f-icon-arrow-seek-left": a.value < n.value,
507
+ "f-icon-arrow-seek-right": a.value > n.value
508
508
  });
509
- function a(o, s) {
509
+ function o(a, s) {
510
510
  n.value = s;
511
511
  }
512
512
  function g() {
513
- return e.value.map((o) => i("li", {
514
- class: t(o)
515
- }, [n.value !== o.value && i("a", {
513
+ return e.value.map((a) => p("li", {
514
+ class: t(a)
515
+ }, [n.value !== a.value && p("a", {
516
516
  class: "page-link",
517
517
  tabindex: "0",
518
- onClick: (s) => a(s, o.value)
519
- }, [i("span", {
518
+ onClick: (s) => o(s, a.value)
519
+ }, [p("span", {
520
520
  class: "page-link-label"
521
- }, [o.label]), o.label === "..." && i("i", {
522
- class: u(o)
523
- }, null)]), n.value === o.value && i("span", {
521
+ }, [a.label]), a.label === "..." && p("i", {
522
+ class: l(a)
523
+ }, null)]), n.value === a.value && p("span", {
524
524
  class: "page-link"
525
- }, [o.label])]));
525
+ }, [a.label])]));
526
526
  }
527
527
  return {
528
528
  renderPageNumbers: g
529
529
  };
530
530
  }
531
531
  function ce(n, e, t) {
532
- const u = w(() => ({
532
+ const l = w(() => ({
533
533
  "page-item": !0,
534
534
  disabled: e.value
535
535
  }));
536
- function a(l) {
536
+ function o(i) {
537
537
  n.value = 1;
538
538
  }
539
- function g(l) {
539
+ function g(i) {
540
540
  n.value = n.value > 2 ? n.value - 1 : 1;
541
541
  }
542
- function o() {
543
- return i("li", {
544
- class: u.value
545
- }, [t.value && i("a", {
542
+ function a() {
543
+ return p("li", {
544
+ class: l.value
545
+ }, [t.value && p("a", {
546
546
  tabindex: "0",
547
547
  class: "page-link",
548
- onClick: (l) => a()
549
- }, [i("span", {
548
+ onClick: (i) => o()
549
+ }, [p("span", {
550
550
  class: "f-icon f-page-first"
551
- }, null)]), e.value && i("span", {
551
+ }, null)]), e.value && p("span", {
552
552
  class: "page-link"
553
- }, [i("span", {
553
+ }, [p("span", {
554
554
  class: "f-icon f-page-first"
555
555
  }, null)])]);
556
556
  }
557
557
  function s() {
558
- return i("li", {
559
- class: u.value
560
- }, [t.value && i("a", {
558
+ return p("li", {
559
+ class: l.value
560
+ }, [t.value && p("a", {
561
561
  tabindex: "0",
562
562
  class: "page-link",
563
- onClick: (l) => g()
564
- }, [i("span", {
563
+ onClick: (i) => g()
564
+ }, [p("span", {
565
565
  class: "f-icon f-page-pre"
566
- }, null)]), e.value && i("span", {
566
+ }, null)]), e.value && p("span", {
567
567
  class: "page-link"
568
- }, [i("span", {
568
+ }, [p("span", {
569
569
  class: "f-icon f-page-pre"
570
570
  }, null)])]);
571
571
  }
572
572
  return {
573
- renderFirstPage: o,
573
+ renderFirstPage: a,
574
574
  renderPreviousPage: s
575
575
  };
576
576
  }
577
577
  function le(n) {
578
578
  const e = N([]);
579
- function t(a, g, o, s) {
580
- const l = Math.ceil(o / 2);
581
- return a === o ? s : a === 1 ? a : o < s ? s - l < g ? s - o + a : l < g ? g - l + a : a : a;
579
+ function t(o, g, a, s) {
580
+ const i = Math.ceil(a / 2);
581
+ return o === a ? s : o === 1 ? o : a < s ? s - i < g ? s - a + o : i < g ? g - i + o : o : o;
582
582
  }
583
- function u(a, g, o, s) {
584
- const l = [], f = Math.ceil(o / g), b = Math.ceil(s / 2), h = a <= b, m = f - b < a, P = !h && !m, c = s < f;
583
+ function l(o, g, a, s) {
584
+ const i = [], f = Math.ceil(a / g), b = Math.ceil(s / 2), h = o <= b, m = f - b < o, P = !h && !m, c = s < f;
585
585
  let r = 1;
586
586
  for (; r <= f && r <= s; ) {
587
- const p = t(r, a, s, f), y = r === 2 && (P || m), T = r === s - 1 && (P || h), C = c && (y || T) ? "..." : "" + p;
588
- l.push({ label: C, value: p }), r++;
587
+ const u = t(r, o, s, f), y = r === 2 && (P || m), T = r === s - 1 && (P || h), C = c && (y || T) ? "..." : "" + u;
588
+ i.push({ label: C, value: u }), r++;
589
589
  }
590
- e.value = l;
590
+ e.value = i;
591
591
  }
592
- return { pages: e, updatePages: u };
592
+ return { pages: e, updatePages: l };
593
593
  }
594
- const J = /* @__PURE__ */ K({
594
+ const J = /* @__PURE__ */ R({
595
595
  name: "FPagination",
596
596
  props: Z,
597
597
  emits: ["pageIndexChanged", "pageSizeChanged", "update:currentPage", "update:pageSize"],
598
598
  setup(n, e) {
599
- const t = N(!1), u = N(n.mode), a = N(""), g = N(!1), o = N(n.pageSize), s = N(n.currentPage), l = N(n.totalItems), {
599
+ const t = N(!1), l = N(n.mode), o = N(""), g = N(!1), a = N(n.pageSize), s = N(n.currentPage), i = N(n.totalItems), {
600
600
  pages: f,
601
601
  updatePages: b
602
- } = le(), h = w(() => s.value === 1), m = w(() => n.pageList), P = w(() => Math.ceil(l.value / o.value)), c = w(() => s.value === P.value), r = w(() => n.showGoButton), p = w(() => s.value > 1), y = w(() => !(g.value && f.value.length <= 1)), T = w(() => !0), C = w(() => n.showPageList), S = w(() => n.showPageNumbers), A = w(() => !0), {
602
+ } = le(), h = w(() => s.value === 1), m = w(() => n.pageList), P = w(() => Math.ceil(i.value / a.value)), c = w(() => s.value === P.value), r = w(() => n.showGoButton), u = w(() => s.value > 1), y = w(() => !(g.value && f.value.length <= 1)), T = w(() => !0), C = w(() => n.showPageList), S = w(() => n.showPageNumbers), A = w(() => !0), {
603
603
  renderFirstPage: j,
604
604
  renderPreviousPage: O
605
- } = ce(s, h, p), {
605
+ } = ce(s, h, u), {
606
606
  renderLastPage: d,
607
607
  renderNextPage: v
608
608
  } = oe(s, c, P), {
609
609
  renderPageInfo: M
610
- } = ae(a, l), {
610
+ } = ae(o, i), {
611
611
  renderPageList: k
612
- } = se(s, o, m, l), {
612
+ } = se(s, a, m, i), {
613
613
  renderPageNumbers: D
614
614
  } = re(s, f), {
615
615
  renderGotoButton: x
616
616
  } = ne(s, P);
617
- b(s.value, o.value, l.value, 7), B(() => n.totalItems, (E) => {
618
- l.value = E;
619
- }), B([s, o, l], () => {
620
- b(s.value, o.value, l.value, 7);
617
+ b(s.value, a.value, i.value, 7), B(() => n.totalItems, (E) => {
618
+ i.value = E;
619
+ }), B([s, a, i], () => {
620
+ b(s.value, a.value, i.value, 7);
621
621
  }), B(s, () => {
622
622
  e.emit("update:currentPage", s.value), e.emit("pageIndexChanged", s.value);
623
- }), B(o, () => {
624
- e.emit("update:pageSize", o.value), e.emit("pageSizeChanged", o.value);
623
+ }), B(a, () => {
624
+ e.emit("update:pageSize", a.value), e.emit("pageSizeChanged", a.value);
625
625
  }), B(() => n.totalItems, (E) => {
626
- l.value = E, b(s.value, o.value, l.value, 7);
626
+ i.value = E, b(s.value, a.value, i.value, 7);
627
627
  }), pe(() => {
628
- const E = m.value.includes(o.value);
629
- o.value = E ? o.value : m.value[0];
628
+ const E = m.value.includes(a.value);
629
+ a.value = E ? a.value : m.value[0];
630
630
  })();
631
631
  const $ = w(() => ({
632
632
  "ngx-pagination": !0,
633
633
  pagination: !0,
634
634
  responsive: t.value,
635
- "pager-viewmode-default": u.value === "default",
636
- "pager-viewmode-simple": u.value === "simple"
635
+ "pager-viewmode-default": l.value === "default",
636
+ "pager-viewmode-simple": l.value === "simple"
637
637
  })), F = w(() => ({
638
638
  position: "relative",
639
- "justify-content": a.value === "center" ? "center" : "start"
639
+ "justify-content": o.value === "center" ? "center" : "start"
640
640
  }));
641
641
  function V() {
642
- return i(_, null, [T.value && M(), C.value && k(), A.value && j(), A.value && O(), S.value && D(), A.value && v(), A.value && d(), r.value && x()]);
642
+ return p(_, null, [T.value && M(), C.value && k(), A.value && j(), A.value && O(), S.value && D(), A.value && v(), A.value && d(), r.value && x()]);
643
643
  }
644
644
  function z() {
645
- return i(_, null, [i("li", {
645
+ return p(_, null, [p("li", {
646
646
  class: "page-item d-flex flex-fill"
647
- }, null), A.value && j(), A.value && O(), x(), i("li", {
647
+ }, null), A.value && j(), A.value && O(), x(), p("li", {
648
648
  class: "page-item page-separator",
649
649
  style: "margin-left: 10px"
650
- }, [i("span", {
650
+ }, [p("span", {
651
651
  style: "font-size: 15px; font-weight: 200;"
652
- }, [H(" /")])]), i("li", {
652
+ }, [H(" /")])]), p("li", {
653
653
  class: "page-item page-total",
654
654
  style: "margin-left: 5px"
655
- }, [i("span", {
655
+ }, [p("span", {
656
656
  style: "font-size: 16px; font-weight: 600;"
657
657
  }, [H(" "), P.value])]), A.value && v(), A.value && d()]);
658
658
  }
659
- return () => i("div", {
659
+ return () => p("div", {
660
660
  class: "pagination-container"
661
- }, [y.value && i("ul", {
661
+ }, [y.value && p("ul", {
662
662
  role: "navigation",
663
663
  class: $.value,
664
664
  style: F.value
665
- }, [u.value === "default" ? V() : z()])]);
665
+ }, [l.value === "default" ? V() : z()])]);
666
666
  }
667
667
  });
668
668
  function ze(n, e, t) {
669
669
  var A;
670
- function u() {
670
+ function l() {
671
671
  t != null && t.resolveComponentContext && t.resolveComponentContext();
672
672
  }
673
- u();
674
- const a = t && t.getStyles && t.getStyles() || "", g = t && t.getDesignerClass && t.getDesignerClass() || "", o = N();
673
+ l();
674
+ const o = t && t.getStyles && t.getStyles() || "", g = t && t.getDesignerClass && t.getDesignerClass() || "", a = N();
675
675
  function s() {
676
676
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
677
677
  }
678
- function l() {
678
+ function i() {
679
679
  return !1;
680
680
  }
681
681
  function f() {
@@ -704,7 +704,7 @@ function ze(n, e, t) {
704
704
  }
705
705
  function r() {
706
706
  }
707
- function p(j, O) {
707
+ function u(j, O) {
708
708
  O && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(O);
709
709
  }
710
710
  function y(j) {
@@ -716,7 +716,7 @@ function ze(n, e, t) {
716
716
  }
717
717
  function T(j, O) {
718
718
  const d = String(j.getAttribute("data-controltype")), v = j.getAttribute("data-feature"), M = v ? JSON.parse(v) : {};
719
- M.parentComponentInstance = o.value;
719
+ M.parentComponentInstance = a.value;
720
720
  let k = q(d, M);
721
721
  t && t.onAcceptNewChildElement && (k = t.onAcceptNewChildElement(j, O, k));
722
722
  const D = d.toLowerCase().replace("-", "_");
@@ -728,16 +728,16 @@ function ze(n, e, t) {
728
728
  if (t && t.getPropsConfig)
729
729
  return t.getPropsConfig(...j);
730
730
  }
731
- return o.value = {
731
+ return a.value = {
732
732
  canMove: s(),
733
- canSelectParent: l(),
733
+ canSelectParent: i(),
734
734
  canDelete: f(),
735
735
  canNested: !b(),
736
736
  contents: e == null ? void 0 : e.schema.contents,
737
737
  elementRef: n,
738
738
  parent: (A = e == null ? void 0 : e.parent) == null ? void 0 : A.componentInstance,
739
739
  schema: e == null ? void 0 : e.schema,
740
- styles: a,
740
+ styles: o,
741
741
  designerClass: g,
742
742
  canAccepts: P,
743
743
  getBelongedComponentInstance: h,
@@ -745,26 +745,26 @@ function ze(n, e, t) {
745
745
  getDraggingDisplayText: c,
746
746
  getPropConfig: S,
747
747
  getDragScopeElement: r,
748
- onAcceptMovedChildElement: p,
748
+ onAcceptMovedChildElement: u,
749
749
  onAcceptNewChildElement: T,
750
750
  onChildElementMovedOut: C,
751
751
  addNewChildComponentSchema: y,
752
- updateDragAndDropRules: u,
752
+ updateDragAndDropRules: l,
753
753
  triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || N(!1),
754
754
  triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || N(!1)
755
- }, o;
755
+ }, a;
756
756
  }
757
757
  function We() {
758
758
  function n(e) {
759
- var a, g;
759
+ var o, g;
760
760
  if (!e)
761
761
  return !1;
762
- const t = ((a = e.targetContainer) == null ? void 0 : a.componentInstance) && e.targetContainer.componentInstance.value;
762
+ const t = ((o = e.targetContainer) == null ? void 0 : o.componentInstance) && e.targetContainer.componentInstance.value;
763
763
  if (!t)
764
764
  return !1;
765
- const u = (g = t.schema.appearance) == null ? void 0 : g.class;
765
+ const l = (g = t.schema.appearance) == null ? void 0 : g.class;
766
766
  if (e.controlCategory === "input" || e.controlType === "form-group") {
767
- const o = t.schema.type, s = (o === "response-form" || o === "content-container") && u && u.includes("farris-form");
767
+ const a = t.schema.type, s = (a === "response-form" || a === "content-container") && l && l.includes("farris-form");
768
768
  if (t.schema.type !== "response-layout-item" && !s)
769
769
  return !1;
770
770
  }
@@ -1348,12 +1348,12 @@ const Ge = "https://json-schema.org/draft/2020-12/schema", qe = "https://farris-
1348
1348
  required: Ue
1349
1349
  }, X = /* @__PURE__ */ new Map();
1350
1350
  function Ye() {
1351
- function n(c, r, p, y) {
1351
+ function n(c, r, u, y) {
1352
1352
  var T;
1353
- if (typeof p == "number")
1354
- return ((T = y[c]) == null ? void 0 : T.length) === p;
1355
- if (typeof p == "object") {
1356
- const C = Object.keys(p)[0], S = p[C];
1353
+ if (typeof u == "number")
1354
+ return ((T = y[c]) == null ? void 0 : T.length) === u;
1355
+ if (typeof u == "object") {
1356
+ const C = Object.keys(u)[0], S = u[C];
1357
1357
  if (C === "not")
1358
1358
  return Number(y[c].length) !== Number(S);
1359
1359
  if (C === "moreThan")
@@ -1363,34 +1363,34 @@ function Ye() {
1363
1363
  }
1364
1364
  return !1;
1365
1365
  }
1366
- function e(c, r, p, y) {
1367
- return typeof p == "boolean" ? y.childrenClassList.includes(r) === !!p : !1;
1366
+ function e(c, r, u, y) {
1367
+ return typeof u == "boolean" ? y.childrenClassList.includes(r) === !!u : !1;
1368
1368
  }
1369
- function t(c, r, p, y) {
1370
- return typeof p == "boolean" ? y.parentClassList.includes(r) === !!p : !1;
1369
+ function t(c, r, u, y) {
1370
+ return typeof u == "boolean" ? y.parentClassList.includes(r) === !!u : !1;
1371
1371
  }
1372
- function u(c, r, p, y) {
1373
- return typeof p == "boolean" ? y.parentClassList.includes(r) === !!p : !1;
1372
+ function l(c, r, u, y) {
1373
+ return typeof u == "boolean" ? y.parentClassList.includes(r) === !!u : !1;
1374
1374
  }
1375
- const a = /* @__PURE__ */ new Map([
1375
+ const o = /* @__PURE__ */ new Map([
1376
1376
  ["length", n],
1377
1377
  ["hasChildren", e],
1378
- ["hasSibling", u],
1378
+ ["hasSibling", l],
1379
1379
  ["hasParent", t]
1380
1380
  ]);
1381
1381
  function g(c, r) {
1382
- const p = c;
1383
- return typeof r == "number" ? [{ target: p, operator: "length", param: null, value: Number(r) }] : typeof r == "object" ? Object.keys(r).map((y) => {
1382
+ const u = c;
1383
+ return typeof r == "number" ? [{ target: u, operator: "length", param: null, value: Number(r) }] : typeof r == "object" ? Object.keys(r).map((y) => {
1384
1384
  if (y === "length")
1385
- return { target: p, operator: "length", param: null, value: r[y] };
1385
+ return { target: u, operator: "length", param: null, value: r[y] };
1386
1386
  const T = y, C = r[y];
1387
- return { target: p, operator: c === "children" ? "hasChildren" : c === "parent" ? "hasParent" : "hasSibling", param: T, value: C };
1387
+ return { target: u, operator: c === "children" ? "hasChildren" : c === "parent" ? "hasParent" : "hasSibling", param: T, value: C };
1388
1388
  }) : [];
1389
1389
  }
1390
- function o(c, r) {
1391
- if (a.has(c.operator)) {
1392
- const p = a.get(c.operator);
1393
- return p && p(c.target, c.param, c.value, r) || !1;
1390
+ function a(c, r) {
1391
+ if (o.has(c.operator)) {
1392
+ const u = o.get(c.operator);
1393
+ return u && u(c.target, c.param, c.value, r) || !1;
1394
1394
  }
1395
1395
  return !1;
1396
1396
  }
@@ -1398,30 +1398,30 @@ function Ye() {
1398
1398
  return Object.keys(c).reduce((C, S) => {
1399
1399
  const A = g(S, c[S]);
1400
1400
  return C.push(...A), C;
1401
- }, []).reduce((C, S) => C && o(S, r), !0);
1401
+ }, []).reduce((C, S) => C && a(S, r), !0);
1402
1402
  }
1403
- function l(c, r) {
1404
- const p = Object.keys(c), y = p.includes("allOf"), T = p.includes("anyOf"), C = y || T, j = (C ? c[C ? y ? "allOf" : "anyOf" : "allOf"] : [c]).map((d) => s(d, r));
1403
+ function i(c, r) {
1404
+ const u = Object.keys(c), y = u.includes("allOf"), T = u.includes("anyOf"), C = y || T, j = (C ? c[C ? y ? "allOf" : "anyOf" : "allOf"] : [c]).map((d) => s(d, r));
1405
1405
  return y ? !j.includes(!1) : j.includes(!0);
1406
1406
  }
1407
1407
  function f(c, r) {
1408
- const p = c.const;
1409
- return p ? typeof p == "boolean" ? p : typeof p == "object" ? l(p, r) : !1 : !1;
1408
+ const u = c.const;
1409
+ return u ? typeof u == "boolean" ? u : typeof u == "object" ? i(u, r) : !1 : !1;
1410
1410
  }
1411
1411
  function b(c) {
1412
1412
  return (r) => {
1413
- const p = { canAccept: !0, fixed: !1, hidePadding: !1 };
1413
+ const u = { canAccept: !0, fixed: !1, hidePadding: !1 };
1414
1414
  return c && c.properties && Object.keys(c.properties).reduce((y, T) => {
1415
1415
  const C = c.properties[T];
1416
1416
  return y[T] = f(C, r), y;
1417
- }, p), p;
1417
+ }, u), u;
1418
1418
  };
1419
1419
  }
1420
- function h(c, r, p) {
1420
+ function h(c, r, u) {
1421
1421
  if (r.type === "object" && r.properties) {
1422
1422
  const { rules: y, contents: T } = r.properties;
1423
- p.set(c, b(y)), T && Object.keys(T.properties).forEach(
1424
- (C) => h(C, T.properties[C], p)
1423
+ u.set(c, b(y)), T && Object.keys(T.properties).forEach(
1424
+ (C) => h(C, T.properties[C], u)
1425
1425
  );
1426
1426
  }
1427
1427
  }
@@ -1432,15 +1432,15 @@ function Ye() {
1432
1432
  });
1433
1433
  }
1434
1434
  function P(c, r) {
1435
- const p = { canAccept: !0, fixed: !1, hidePadding: !0 };
1436
- return X.has(c) ? X.get(c)(r) : p;
1435
+ const u = { canAccept: !0, fixed: !1, hidePadding: !0 };
1436
+ return X.has(c) ? X.get(c)(r) : u;
1437
1437
  }
1438
1438
  return m(), { getRuleValue: P };
1439
1439
  }
1440
1440
  function Ze(n, e) {
1441
1441
  var O;
1442
- const t = n.schema, u = (O = n.parent) == null ? void 0 : O.schema, a = Ye(), g = N(!1), o = N(!1);
1443
- let s = !0, l = !1, f, b = !1;
1442
+ const t = n.schema, l = (O = n.parent) == null ? void 0 : O.schema, o = Ye(), g = N(!1), a = N(!1);
1443
+ let s = !0, i = !1, f, b = !1;
1444
1444
  function h(d) {
1445
1445
  return f && f.componentClassList && f.componentClassList.includes("f-form-layout") && f.componentClassList.includes("farris-form") ? d.sourceType === "control" && d.controlCategory === "input" || d.sourceType === "move" && d.controlType === "form-group" : !0;
1446
1446
  }
@@ -1448,11 +1448,11 @@ function Ze(n, e) {
1448
1448
  return !(!We().basalDragulaRuleForContainer(d) || !s || !h(d));
1449
1449
  }
1450
1450
  function P() {
1451
- g.value = !1, o.value = !1;
1451
+ g.value = !1, a.value = !1;
1452
1452
  const d = t, v = d.appearance && d.appearance.class || "", M = v.split(" "), k = d.contents || [], D = k.length ? k[0] : null, x = D && D.appearance ? D.appearance.class : "", L = x ? x.split(" ") : [], $ = k.length ? k.reduce((W, G) => {
1453
1453
  const I = G && G.appearance ? G.appearance.class : "", ie = I ? I.split(" ") : [];
1454
1454
  return W.push(...ie), W;
1455
- }, []) : [], F = u, V = F && F.appearance && F.appearance.class || "", z = V ? V.split(" ") : [];
1455
+ }, []) : [], F = l, V = F && F.appearance && F.appearance.class || "", z = V ? V.split(" ") : [];
1456
1456
  f = {
1457
1457
  componentClass: v,
1458
1458
  componentClassList: M,
@@ -1466,8 +1466,8 @@ function Ze(n, e) {
1466
1466
  children: k,
1467
1467
  childrenClassList: $
1468
1468
  };
1469
- const { canAccept: E, fixed: Q, hidePadding: U } = a.getRuleValue(M[0], f);
1470
- return s = E, l = U, b = Q, !0;
1469
+ const { canAccept: E, fixed: Q, hidePadding: U } = o.getRuleValue(M[0], f);
1470
+ return s = E, i = U, b = Q, !0;
1471
1471
  }
1472
1472
  function c(d) {
1473
1473
  ue();
@@ -1475,7 +1475,7 @@ function Ze(n, e) {
1475
1475
  function r() {
1476
1476
  return t.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
1477
1477
  }
1478
- function p(d, v) {
1478
+ function u(d, v) {
1479
1479
  const M = t;
1480
1480
  if ((M.appearance && M.appearance.class || "").split(" ").includes("f-form-layout")) {
1481
1481
  const { label: x } = d, L = q("form-group");
@@ -1539,7 +1539,7 @@ function Ze(n, e) {
1539
1539
  return !b;
1540
1540
  }
1541
1541
  function j() {
1542
- return l;
1542
+ return i;
1543
1543
  }
1544
1544
  return {
1545
1545
  canAccepts: m,
@@ -1550,25 +1550,25 @@ function Ze(n, e) {
1550
1550
  onAcceptNewChildElement: C,
1551
1551
  onAcceptMovedChildElement: c,
1552
1552
  resolveComponentContext: P,
1553
- onResolveNewComponentSchema: p,
1553
+ onResolveNewComponentSchema: u,
1554
1554
  triggerBelongedComponentToMoveWhenMoved: g,
1555
- triggerBelongedComponentToDeleteWhenDeleted: o
1555
+ triggerBelongedComponentToDeleteWhenDeleted: a
1556
1556
  };
1557
1557
  }
1558
- const Ie = /* @__PURE__ */ K({
1558
+ const Ie = /* @__PURE__ */ R({
1559
1559
  name: "FPagination",
1560
1560
  props: Z,
1561
1561
  emits: ["pageIndexChanged", "pageSizeChanged"],
1562
1562
  setup(n, e) {
1563
1563
  var W;
1564
- const t = N(!1), u = N(n.mode), a = N(""), g = N(!1), o = N(n.pageSize), s = N(n.currentPage), l = N(n.totalItems), f = N(), b = fe("design-item-context"), h = Ze(b.schema, (W = b.parent) == null ? void 0 : W.schema), m = ze(f, b, h);
1564
+ const t = N(!1), l = N(n.mode), o = N(""), g = N(!1), a = N(n.pageSize), s = N(n.currentPage), i = N(n.totalItems), f = N(), b = fe("design-item-context"), h = Ze(b.schema, (W = b.parent) == null ? void 0 : W.schema), m = ze(f, b, h);
1565
1565
  de(() => {
1566
1566
  f.value.componentInstance = m;
1567
1567
  }), e.expose(m.value);
1568
1568
  const {
1569
1569
  pages: P,
1570
1570
  updatePages: c
1571
- } = le(), r = w(() => s.value === 1), p = w(() => [20, 50, 100]), y = w(() => Math.ceil(l.value / o.value)), T = w(() => s.value === y.value), C = w(() => !0), S = w(() => s.value > 1), A = w(() => !(g.value && P.value.length <= 1)), j = w(() => !0), O = w(() => !0), d = w(() => !0), v = w(() => !0), {
1571
+ } = le(), r = w(() => s.value === 1), u = w(() => [20, 50, 100]), y = w(() => Math.ceil(i.value / a.value)), T = w(() => s.value === y.value), C = w(() => !0), S = w(() => s.value > 1), A = w(() => !(g.value && P.value.length <= 1)), j = w(() => !0), O = w(() => !0), d = w(() => !0), v = w(() => !0), {
1572
1572
  renderFirstPage: M,
1573
1573
  renderPreviousPage: k
1574
1574
  } = ce(s, r, S), {
@@ -1576,56 +1576,56 @@ const Ie = /* @__PURE__ */ K({
1576
1576
  renderNextPage: x
1577
1577
  } = oe(s, T, y), {
1578
1578
  renderPageInfo: L
1579
- } = ae(a, l), {
1579
+ } = ae(o, i), {
1580
1580
  renderPageList: $
1581
- } = se(s, o, p, l), {
1581
+ } = se(s, a, u, i), {
1582
1582
  renderPageNumbers: F
1583
1583
  } = re(s, P), {
1584
1584
  renderGotoButton: V
1585
1585
  } = ne(s, y);
1586
- c(s.value, o.value, l.value, 7), B([s, o], () => {
1587
- c(s.value, o.value, l.value, 7);
1586
+ c(s.value, a.value, i.value, 7), B([s, a], () => {
1587
+ c(s.value, a.value, i.value, 7);
1588
1588
  }), B(s, () => {
1589
1589
  e.emit("pageIndexChanged", s.value);
1590
- }), B(o, () => {
1591
- e.emit("pageSizeChanged", o.value);
1590
+ }), B(a, () => {
1591
+ e.emit("pageSizeChanged", a.value);
1592
1592
  });
1593
1593
  const z = w(() => ({
1594
1594
  "ngx-pagination": !0,
1595
1595
  pagination: !0,
1596
1596
  responsive: t.value,
1597
- "pager-viewmode-default": u.value === "default",
1598
- "pager-viewmode-simple": u.value === "simple"
1597
+ "pager-viewmode-default": l.value === "default",
1598
+ "pager-viewmode-simple": l.value === "simple"
1599
1599
  })), E = w(() => ({
1600
1600
  position: "relative",
1601
- "justify-content": a.value === "center" ? "center" : "start"
1601
+ "justify-content": o.value === "center" ? "center" : "start"
1602
1602
  }));
1603
1603
  function Q() {
1604
- return i(_, null, [j.value && L(), O.value && $(), v.value && M(), v.value && k(), d.value && F(), v.value && x(), v.value && D(), C.value && V()]);
1604
+ return p(_, null, [j.value && L(), O.value && $(), v.value && M(), v.value && k(), d.value && F(), v.value && x(), v.value && D(), C.value && V()]);
1605
1605
  }
1606
1606
  function U() {
1607
- return i(_, null, [i("li", {
1607
+ return p(_, null, [p("li", {
1608
1608
  class: "page-item d-flex flex-fill"
1609
- }, null), v.value && M(), v.value && k(), V(), i("li", {
1609
+ }, null), v.value && M(), v.value && k(), V(), p("li", {
1610
1610
  class: "page-item page-separator",
1611
1611
  style: "margin-left: 10px"
1612
- }, [i("span", {
1612
+ }, [p("span", {
1613
1613
  style: "font-size: 15px; font-weight: 200;"
1614
- }, [H(" /")])]), i("li", {
1614
+ }, [H(" /")])]), p("li", {
1615
1615
  class: "page-item page-total",
1616
1616
  style: "margin-left: 5px"
1617
- }, [i("span", {
1617
+ }, [p("span", {
1618
1618
  style: "font-size: 16px; font-weight: 600;"
1619
1619
  }, [H(" "), y.value])]), v.value && x(), v.value && D()]);
1620
1620
  }
1621
- return () => i("div", {
1621
+ return () => p("div", {
1622
1622
  ref: f,
1623
1623
  class: "pagination-container"
1624
- }, [A.value && i("ul", {
1624
+ }, [A.value && p("ul", {
1625
1625
  role: "navigation",
1626
1626
  class: z.value,
1627
1627
  style: E.value
1628
- }, [u.value === "default" ? Q() : U()])]);
1628
+ }, [l.value === "default" ? Q() : U()])]);
1629
1629
  }
1630
1630
  });
1631
1631
  J.register = (n, e, t) => {