@farris/ui-vue 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/components/accordion/index.esm.js +1 -1
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +472 -366
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +1 -1
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +472 -480
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +225 -233
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/checkbox/index.esm.js +615 -517
  12. package/components/checkbox/index.umd.cjs +1 -1
  13. package/components/color-picker/index.esm.js +325 -333
  14. package/components/color-picker/index.umd.cjs +2 -2
  15. package/components/combo-list/index.esm.js +578 -472
  16. package/components/combo-list/index.umd.cjs +1 -1
  17. package/components/combo-tree/index.esm.js +49 -49
  18. package/components/combo-tree/index.umd.cjs +1 -1
  19. package/components/common/index.esm.js +832 -722
  20. package/components/common/index.umd.cjs +1 -1
  21. package/components/component/index.esm.js +303 -981
  22. package/components/component/index.umd.cjs +1 -1
  23. package/components/condition/index.esm.js +8 -8
  24. package/components/condition/index.umd.cjs +1 -1
  25. package/components/content-container/index.esm.js +335 -1002
  26. package/components/content-container/index.umd.cjs +1 -1
  27. package/components/data-grid/index.esm.js +4429 -4312
  28. package/components/data-grid/index.umd.cjs +1 -1
  29. package/components/data-view/index.esm.js +3037 -3020
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +2216 -2119
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.css +1 -1
  34. package/components/designer-canvas/index.esm.js +914 -883
  35. package/components/designer-canvas/index.umd.cjs +1 -1
  36. package/components/dropdown/index.esm.js +223 -231
  37. package/components/dropdown/index.umd.cjs +2 -2
  38. package/components/dynamic-form/index.esm.js +1691 -2187
  39. package/components/dynamic-form/index.umd.cjs +1 -1
  40. package/components/dynamic-resolver/index.esm.js +143 -136
  41. package/components/dynamic-resolver/index.umd.cjs +1 -1
  42. package/components/events-editor/index.esm.js +250 -258
  43. package/components/events-editor/index.umd.cjs +1 -1
  44. package/components/expression-editor/index.esm.js +1 -1
  45. package/components/expression-editor/index.umd.cjs +1 -1
  46. package/components/external-container/index.esm.js +2672 -3438
  47. package/components/external-container/index.umd.cjs +1 -1
  48. package/components/field-selector/index.esm.js +2965 -2970
  49. package/components/field-selector/index.umd.cjs +1 -1
  50. package/components/filter-bar/index.esm.js +1650 -1602
  51. package/components/filter-bar/index.umd.cjs +1 -1
  52. package/components/flow-canvas/index.css +1 -1
  53. package/components/flow-canvas/index.esm.js +684 -675
  54. package/components/flow-canvas/index.umd.cjs +1 -1
  55. package/components/image-cropper/index.esm.js +453 -461
  56. package/components/image-cropper/index.umd.cjs +1 -1
  57. package/components/input-group/index.esm.js +604 -507
  58. package/components/input-group/index.umd.cjs +1 -1
  59. package/components/layout/index.esm.js +402 -378
  60. package/components/layout/index.umd.cjs +1 -1
  61. package/components/list-nav/index.esm.js +348 -1019
  62. package/components/list-nav/index.umd.cjs +1 -1
  63. package/components/list-view/index.esm.js +1658 -1666
  64. package/components/list-view/index.umd.cjs +1 -1
  65. package/components/lookup/index.esm.js +5209 -5088
  66. package/components/lookup/index.umd.cjs +1 -1
  67. package/components/mapping-editor/index.esm.js +4329 -4213
  68. package/components/mapping-editor/index.umd.cjs +1 -1
  69. package/components/nav/index.esm.js +905 -1357
  70. package/components/nav/index.umd.cjs +3 -3
  71. package/components/number-range/index.esm.js +517 -420
  72. package/components/number-range/index.umd.cjs +1 -1
  73. package/components/number-spinner/index.esm.js +588 -491
  74. package/components/number-spinner/index.umd.cjs +1 -1
  75. package/components/order/index.esm.js +1376 -1965
  76. package/components/order/index.umd.cjs +1 -1
  77. package/components/page-footer/index.esm.js +1 -1
  78. package/components/page-footer/index.umd.cjs +1 -1
  79. package/components/page-header/index.esm.js +1073 -1905
  80. package/components/page-header/index.umd.cjs +1 -1
  81. package/components/pagination/index.esm.js +809 -1237
  82. package/components/pagination/index.umd.cjs +1 -1
  83. package/components/progress/index.esm.js +198 -206
  84. package/components/progress/index.umd.cjs +3 -3
  85. package/components/property-editor/index.esm.js +1297 -1200
  86. package/components/property-editor/index.umd.cjs +2 -2
  87. package/components/property-panel/index.esm.js +609 -507
  88. package/components/property-panel/index.umd.cjs +1 -1
  89. package/components/query-solution/index.esm.js +3391 -3758
  90. package/components/query-solution/index.umd.cjs +1 -1
  91. package/components/radio-button/index.esm.js +1 -1
  92. package/components/radio-button/index.umd.cjs +1 -1
  93. package/components/radio-group/index.esm.js +544 -447
  94. package/components/radio-group/index.umd.cjs +1 -1
  95. package/components/rate/index.esm.js +247 -255
  96. package/components/rate/index.umd.cjs +1 -1
  97. package/components/response-layout/index.esm.js +146 -154
  98. package/components/response-layout/index.umd.cjs +1 -1
  99. package/components/response-layout-editor/index.esm.js +700 -675
  100. package/components/response-layout-editor/index.umd.cjs +1 -1
  101. package/components/response-toolbar/index.esm.js +956 -1786
  102. package/components/response-toolbar/index.umd.cjs +1 -1
  103. package/components/schema-selector/index.esm.js +4963 -5617
  104. package/components/schema-selector/index.umd.cjs +2 -2
  105. package/components/search-box/index.esm.js +158 -161
  106. package/components/search-box/index.umd.cjs +1 -1
  107. package/components/section/index.esm.js +436 -1124
  108. package/components/section/index.umd.cjs +1 -1
  109. package/components/smoke-detector/index.esm.js +92 -100
  110. package/components/smoke-detector/index.umd.cjs +1 -1
  111. package/components/splitter/index.esm.js +571 -1210
  112. package/components/splitter/index.umd.cjs +1 -1
  113. package/components/splitter/style.js +2 -0
  114. package/components/step/index.esm.js +239 -247
  115. package/components/step/index.umd.cjs +1 -1
  116. package/components/switch/index.esm.js +445 -348
  117. package/components/switch/index.umd.cjs +1 -1
  118. package/components/tabs/index.esm.js +2278 -3031
  119. package/components/tabs/index.umd.cjs +1 -1
  120. package/components/tags/index.esm.js +311 -319
  121. package/components/tags/index.umd.cjs +1 -1
  122. package/components/text/index.esm.js +215 -223
  123. package/components/text/index.umd.cjs +1 -1
  124. package/components/textarea/index.esm.js +468 -371
  125. package/components/textarea/index.umd.cjs +1 -1
  126. package/components/time-picker/index.esm.js +1271 -1174
  127. package/components/time-picker/index.umd.cjs +1 -1
  128. package/components/transfer/index.esm.js +469 -477
  129. package/components/transfer/index.umd.cjs +1 -1
  130. package/components/tree-grid/index.esm.js +3060 -3065
  131. package/components/tree-grid/index.umd.cjs +1 -1
  132. package/components/tree-view/index.esm.js +2476 -2481
  133. package/components/tree-view/index.umd.cjs +1 -1
  134. package/components/uploader/index.esm.js +374 -382
  135. package/components/uploader/index.umd.cjs +2 -2
  136. package/components/verify-detail/index.esm.js +248 -256
  137. package/components/verify-detail/index.umd.cjs +1 -1
  138. package/components/video/index.esm.js +414 -1093
  139. package/components/video/index.umd.cjs +1 -1
  140. package/components/weather/index.esm.js +498 -506
  141. package/components/weather/index.umd.cjs +5 -5
  142. package/farris.all.esm.js +20216 -21844
  143. package/farris.all.umd.cjs +9 -9
  144. package/index.css +1 -1
  145. package/package.json +1 -1
  146. package/types/common/directive/area-response.d.ts +10 -0
  147. package/types/common/index.d.ts +8 -0
  148. package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
  149. package/types/common/utils/resolve-field.d.ts +2 -0
  150. package/types/common/utils/use-class.d.ts +7 -0
  151. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  152. package/types/condition/src/types.d.ts +2 -1
  153. package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
  154. package/types/data-grid/index.d.ts +8 -5
  155. package/types/data-grid/src/data-grid.component.d.ts +3 -2
  156. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  157. package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
  158. package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
  159. package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
  160. package/types/data-view/composition/types.d.ts +7 -9
  161. package/types/designer-canvas/index.d.ts +2 -1
  162. package/types/designer-canvas/src/composition/rule/use-dragula-common-rule.d.ts +4 -0
  163. package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
  164. package/types/designer-canvas/src/composition/types.d.ts +1 -2
  165. package/types/designer-canvas/src/types.d.ts +2 -1
  166. package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
  167. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +2 -2
  168. package/types/dynamic-form/src/property-config/form.property-config.d.ts +1 -1
  169. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +1 -1
  170. package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
  171. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
  172. package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
  173. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
  174. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
  175. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
  176. package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
  177. package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
  178. package/types/property-panel/index.d.ts +2 -1
  179. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -1
  180. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +34 -27
  181. package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
  182. package/types/query-solution/src/designer/query-solution-config/composition/use-property.d.ts +19 -0
  183. package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
  184. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
  185. package/types/query-solution/src/property-config/query-solution.property-config.d.ts +60 -0
  186. package/types/query-solution/src/solutions.d.ts +108 -509
  187. package/types/response-layout-editor/index.d.ts +3 -1
  188. package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
  189. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
  190. package/types/section/src/designer/use-designer-rules.d.ts +3 -3
  191. package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
  192. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
  193. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
  194. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
  195. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
  196. package/types/tree-grid/index.d.ts +3 -3
  197. package/types/tree-grid/src/tree-grid.component.d.ts +1 -1
  198. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  199. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  200. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  201. package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
@@ -1,25 +1,25 @@
1
1
  var nt = Object.defineProperty;
2
2
  var rt = (r, e, t) => e in r ? nt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var s = (r, e, t) => rt(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as ee, ref as S, onMounted as T, watch as q, createVNode as k, withModifiers as _, createTextVNode as Re, computed as U, onBeforeMount as Ye, withDirectives as W, vShow as K, vModelText as Xe, inject as it } from "vue";
5
- import { isPlainObject as je, cloneDeep as st } from "lodash-es";
6
- const Ge = {}, We = {};
7
- function $e(r) {
8
- const { properties: e, title: t, ignore: n } = r, i = n && Array.isArray(n), l = Object.keys(e).reduce((u, c) => ((!i || !n.find((g) => g == c)) && (u[c] = e[c].type === "object" && e[c].properties ? $e(e[c]) : st(e[c].default)), u), {});
9
- return (!i || !n.find((u) => u == "id")) && (l.id = `${t}-${Date.now()}`), l;
4
+ import { defineComponent as T, ref as S, onMounted as C, watch as F, createVNode as k, withModifiers as K, createTextVNode as Be, computed as U, onBeforeMount as qe, withDirectives as X, vShow as Z, vModelText as Ye, inject as it } from "vue";
5
+ import { isPlainObject as Ae, cloneDeep as st } from "lodash-es";
6
+ const Xe = {}, Ge = {};
7
+ function Re(r) {
8
+ const { properties: e, title: t, ignore: n } = r, i = n && Array.isArray(n), l = Object.keys(e).reduce((u, c) => ((!i || !n.find((g) => g == c)) && (u[c] = e[c].type === "object" && e[c].properties ? Re(e[c]) : st(e[c].default)), u), {});
9
+ return t && (!i || !n.find((u) => u == "id")) && (l.id = `${t}-${Date.now()}`), l;
10
10
  }
11
- function ke(r, e = {}, t) {
12
- const n = Ge[r];
11
+ function We(r, e = {}, t) {
12
+ const n = Xe[r];
13
13
  if (n) {
14
- let i = $e(n);
15
- const l = We[r];
16
- return i = l ? l({ getSchemaByType: ke }, i, e, t) : i, i;
14
+ let i = Re(n);
15
+ const l = Ge[r];
16
+ return i = l ? l({ getSchemaByType: We }, i, e, t) : i, i;
17
17
  }
18
18
  return null;
19
19
  }
20
20
  function at(r, e) {
21
- const t = $e(e);
22
- return Object.keys(r).reduce((n, i) => (n[i] && je(n[i]) && je(r[i]) ? Object.assign(n[i], r[i]) : n[i] = r[i], n), t), t;
21
+ const t = Re(e);
22
+ return Object.keys(r).reduce((n, i) => (n[i] && Ae(n[i]) && Ae(r[i]) ? Object.assign(n[i], r[i]) : n[i] = r[i], n), t), t;
23
23
  }
24
24
  function ot(r, e) {
25
25
  return Object.keys(r).filter((n) => r[n] != null).reduce((n, i) => {
@@ -89,7 +89,7 @@ function lt(r = {}) {
89
89
  return l(h).reduce((b, y) => b && u(y, p), !0);
90
90
  }
91
91
  function g(h, p) {
92
- const d = Object.keys(h), f = d.includes("allOf"), b = d.includes("anyOf"), y = f || b, E = (y ? h[y ? f ? "allOf" : "anyOf" : "allOf"] : [h]).map((A) => c(A, p));
92
+ const d = Object.keys(h), f = d.includes("allOf"), b = d.includes("anyOf"), y = f || b, E = (y ? h[y ? f ? "allOf" : "anyOf" : "allOf"] : [h]).map((V) => c(V, p));
93
93
  return f ? !E.includes(!1) : E.includes(!0);
94
94
  }
95
95
  return { parseValueSchema: g };
@@ -97,7 +97,7 @@ function lt(r = {}) {
97
97
  const ct = {}, ht = {};
98
98
  lt();
99
99
  function pt(r, e, t = /* @__PURE__ */ new Map(), n = (u, c, g) => c, i = {}, l = (u) => u) {
100
- return Ge[e.title] = e, We[e.title] = n, ct[e.title] = i, ht[e.title] = l, (u = {}) => {
100
+ return Xe[e.title] = e, Ge[e.title] = n, ct[e.title] = i, ht[e.title] = l, (u = {}) => {
101
101
  const c = ut(u, e, t), g = Object.keys(r).reduce((h, p) => (h[p] = r[p].default, h), {});
102
102
  return Object.assign(g, c);
103
103
  };
@@ -211,7 +211,7 @@ const Pt = /* @__PURE__ */ new Map([
211
211
  description: Mt,
212
212
  type: Ht,
213
213
  categories: Ot
214
- }, Ve = {
214
+ }, $e = {
215
215
  /** 初始颜色 */
216
216
  color: { type: String, default: "#e1e2e3" },
217
217
  /** 禁用 */
@@ -223,10 +223,10 @@ const Pt = /* @__PURE__ */ new Map([
223
223
  /** 颜色值变化事件 */
224
224
  onValueChanged: { type: Function, default: () => {
225
225
  } }
226
- }, ze = pt(Ve, bt, Pt, kt, Bt);
227
- class ce {
226
+ }, ze = pt($e, bt, Pt, kt, Bt);
227
+ class le {
228
228
  }
229
- class me extends ce {
229
+ class me extends le {
230
230
  constructor(e, t, n, i) {
231
231
  super(), this.cyan = e, this.magenta = t, this.yellow = n, this.black = i;
232
232
  }
@@ -246,7 +246,7 @@ class me extends ce {
246
246
  return Math.round(this.black);
247
247
  }
248
248
  }
249
- class ie extends ce {
249
+ class ne extends le {
250
250
  constructor(e, t, n, i) {
251
251
  super(), this.hue = e, this.saturation = t, this.lightness = n, this.alpha = i;
252
252
  }
@@ -266,7 +266,7 @@ class ie extends ce {
266
266
  return Math.round(this.alpha * 100) / 100;
267
267
  }
268
268
  }
269
- class se extends ce {
269
+ class re extends le {
270
270
  constructor(e, t, n, i) {
271
271
  super(), this.hue = e, this.saturation = t, this.value = n, this.alpha = i;
272
272
  }
@@ -286,7 +286,7 @@ class se extends ce {
286
286
  return Math.round(this.alpha * 100) / 100;
287
287
  }
288
288
  }
289
- class o extends ce {
289
+ class o extends le {
290
290
  constructor(e, t, n, i) {
291
291
  super(), this.red = e, this.green = t, this.blue = n, this.alpha = i;
292
292
  }
@@ -309,7 +309,7 @@ class o extends ce {
309
309
  const a = class a {
310
310
  };
311
311
  s(a, "transparent", new o(0, 0, 0, 0)), s(a, "aliceblue", new o(240, 248, 255, 1)), s(a, "antiquewhite", new o(250, 235, 215, 1)), s(a, "aqua", new o(0, 255, 255, 1)), s(a, "aquamarine", new o(127, 255, 212, 1)), s(a, "azure", new o(240, 255, 255, 1)), s(a, "beige", new o(245, 245, 220, 1)), s(a, "bisque", new o(255, 228, 196, 1)), s(a, "black", new o(0, 0, 0, 1)), s(a, "blanchedalmond", new o(255, 235, 205, 1)), s(a, "blue", new o(0, 0, 255, 1)), s(a, "blueviolet", new o(138, 43, 226, 1)), s(a, "brown", new o(165, 42, 42, 1)), s(a, "burlywood", new o(222, 184, 135, 1)), s(a, "cadetblue", new o(95, 158, 160, 1)), s(a, "chartreuse", new o(127, 255, 0, 1)), s(a, "chocolate", new o(210, 105, 30, 1)), s(a, "coral", new o(255, 127, 80, 1)), s(a, "cornflowerblue", new o(100, 149, 237, 1)), s(a, "cornsilk", new o(255, 248, 220, 1)), s(a, "crimson", new o(220, 20, 60, 1)), s(a, "cyan", new o(0, 255, 255, 1)), s(a, "darkblue", new o(0, 0, 139, 1)), s(a, "darkcyan", new o(0, 139, 139, 1)), s(a, "darkgoldenrod", new o(184, 134, 11, 1)), s(a, "darkgray", new o(169, 169, 169, 1)), s(a, "darkgreen", new o(0, 100, 0, 1)), s(a, "darkgrey", a.darkgray), s(a, "darkkhaki", new o(189, 183, 107, 1)), s(a, "darkmagenta", new o(139, 0, 139, 1)), s(a, "darkolivegreen", new o(85, 107, 47, 1)), s(a, "darkorange", new o(255, 140, 0, 1)), s(a, "darkorchid", new o(153, 50, 204, 1)), s(a, "darkred", new o(139, 0, 0, 1)), s(a, "darksalmon", new o(233, 150, 122, 1)), s(a, "darkseagreen", new o(143, 188, 143, 1)), s(a, "darkslateblue", new o(72, 61, 139, 1)), s(a, "darkslategray", new o(47, 79, 79, 1)), s(a, "darkslategrey", a.darkslategray), s(a, "darkturquoise", new o(0, 206, 209, 1)), s(a, "darkviolet", new o(148, 0, 211, 1)), s(a, "deeppink", new o(255, 20, 147, 1)), s(a, "deepskyblue", new o(0, 191, 255, 1)), s(a, "dimgray", new o(105, 105, 105, 1)), s(a, "dimgrey", a.dimgray), s(a, "dodgerblue", new o(30, 144, 255, 1)), s(a, "firebrick", new o(178, 34, 34, 1)), s(a, "floralwhite", new o(255, 250, 240, 1)), s(a, "forestgreen", new o(34, 139, 34, 1)), s(a, "fuchsia", new o(255, 0, 255, 1)), s(a, "gainsboro", new o(220, 220, 220, 1)), s(a, "ghostwhite", new o(248, 248, 255, 1)), s(a, "gold", new o(255, 215, 0, 1)), s(a, "goldenrod", new o(218, 165, 32, 1)), s(a, "gray", new o(128, 128, 128, 1)), s(a, "grey", a.gray), s(a, "green", new o(0, 128, 0, 1)), s(a, "greenyellow", new o(173, 255, 47, 1)), s(a, "honeydew", new o(240, 255, 240, 1)), s(a, "hotpink", new o(255, 105, 180, 1)), s(a, "indianred", new o(205, 92, 92, 1)), s(a, "indigo", new o(75, 0, 130, 1)), s(a, "ivory", new o(255, 255, 240, 1)), s(a, "khaki", new o(240, 230, 140, 1)), s(a, "lavender", new o(230, 230, 250, 1)), s(a, "lavenderblush", new o(255, 240, 245, 1)), s(a, "lawngreen", new o(124, 252, 0, 1)), s(a, "lemonchiffon", new o(255, 250, 205, 1)), s(a, "lightblue", new o(173, 216, 230, 1)), s(a, "lightcoral", new o(240, 128, 128, 1)), s(a, "lightcyan", new o(224, 255, 255, 1)), s(a, "lightgoldenrodyellow", new o(250, 250, 210, 1)), s(a, "lightgray", new o(211, 211, 211, 1)), s(a, "lightgreen", new o(144, 238, 144, 1)), s(a, "lightgrey", a.lightgray), s(a, "lightpink", new o(255, 182, 193, 1)), s(a, "lightsalmon", new o(255, 160, 122, 1)), s(a, "lightseagreen", new o(32, 178, 170, 1)), s(a, "lightskyblue", new o(135, 206, 250, 1)), s(a, "lightslategray", new o(119, 136, 153, 1)), s(a, "lightslategrey", a.lightslategray), s(a, "lightsteelblue", new o(176, 196, 222, 1)), s(a, "lightyellow", new o(255, 255, 224, 1)), s(a, "lime", new o(0, 255, 0, 1)), s(a, "limegreen", new o(50, 205, 50, 1)), s(a, "linen", new o(250, 240, 230, 1)), s(a, "magenta", new o(255, 0, 255, 1)), s(a, "maroon", new o(128, 0, 0, 1)), s(a, "mediumaquamarine", new o(102, 205, 170, 1)), s(a, "mediumblue", new o(0, 0, 205, 1)), s(a, "mediumorchid", new o(186, 85, 211, 1)), s(a, "mediumpurple", new o(147, 112, 219, 1)), s(a, "mediumseagreen", new o(60, 179, 113, 1)), s(a, "mediumslateblue", new o(123, 104, 238, 1)), s(a, "mediumspringgreen", new o(0, 250, 154, 1)), s(a, "mediumturquoise", new o(72, 209, 204, 1)), s(a, "mediumvioletred", new o(199, 21, 133, 1)), s(a, "midnightblue", new o(25, 25, 112, 1)), s(a, "mintcream", new o(245, 255, 250, 1)), s(a, "mistyrose", new o(255, 228, 225, 1)), s(a, "moccasin", new o(255, 228, 181, 1)), s(a, "navajowhite", new o(255, 222, 173, 1)), s(a, "navy", new o(0, 0, 128, 1)), s(a, "oldlace", new o(253, 245, 230, 1)), s(a, "olive", new o(128, 128, 0, 1)), s(a, "olivedrab", new o(107, 142, 35, 1)), s(a, "orange", new o(255, 165, 0, 1)), s(a, "orangered", new o(255, 69, 0, 1)), s(a, "orchid", new o(218, 112, 214, 1)), s(a, "palegoldenrod", new o(238, 232, 170, 1)), s(a, "palegreen", new o(152, 251, 152, 1)), s(a, "paleturquoise", new o(175, 238, 238, 1)), s(a, "palevioletred", new o(219, 112, 147, 1)), s(a, "papayawhip", new o(255, 239, 213, 1)), s(a, "peachpuff", new o(255, 218, 185, 1)), s(a, "peru", new o(205, 133, 63, 1)), s(a, "pink", new o(255, 192, 203, 1)), s(a, "plum", new o(221, 160, 221, 1)), s(a, "powderblue", new o(176, 224, 230, 1)), s(a, "purple", new o(128, 0, 128, 1)), s(a, "red", new o(255, 0, 0, 1)), s(a, "rosybrown", new o(188, 143, 143, 1)), s(a, "royalblue", new o(65, 105, 225, 1)), s(a, "saddlebrown", new o(139, 69, 19, 1)), s(a, "salmon", new o(250, 128, 114, 1)), s(a, "sandybrown", new o(244, 164, 96, 1)), s(a, "seagreen", new o(46, 139, 87, 1)), s(a, "seashell", new o(255, 245, 238, 1)), s(a, "sienna", new o(160, 82, 45, 1)), s(a, "silver", new o(192, 192, 192, 1)), s(a, "skyblue", new o(135, 206, 235, 1)), s(a, "slateblue", new o(106, 90, 205, 1)), s(a, "slategray", new o(112, 128, 144, 1)), s(a, "slategrey", a.slategray), s(a, "snow", new o(255, 250, 250, 1)), s(a, "springgreen", new o(0, 255, 127, 1)), s(a, "steelblue", new o(70, 130, 180, 1)), s(a, "tan", new o(210, 180, 140, 1)), s(a, "teal", new o(0, 128, 128, 1)), s(a, "thistle", new o(216, 191, 216, 1)), s(a, "tomato", new o(255, 99, 71, 1)), s(a, "turquoise", new o(64, 224, 208, 1)), s(a, "violet", new o(238, 130, 238, 1)), s(a, "wheat", new o(245, 222, 179, 1)), s(a, "white", new o(255, 255, 255, 1)), s(a, "whitesmoke", new o(245, 245, 245, 1)), s(a, "yellow", new o(255, 255, 0, 1)), s(a, "yellowgreen", new o(154, 205, 50, 1));
312
- let Se = a;
312
+ let ke = a;
313
313
  class P {
314
314
  constructor(e) {
315
315
  /**
@@ -319,12 +319,12 @@ class P {
319
319
  * hsl(0, 100%, 50%)
320
320
  * 初始色#ff0000
321
321
  */
322
- s(this, "hsva", new se(0, 1, 1, 1));
322
+ s(this, "hsva", new re(0, 1, 1, 1));
323
323
  s(this, "rgba", new o(255, 0, 0, 1));
324
324
  e && this.stringToColor(e);
325
325
  }
326
326
  static from(e) {
327
- return typeof e == "string" ? new P(e) : e instanceof P ? e.clone() : e instanceof o ? new P().setRgba(e.red, e.green, e.blue, e.alpha) : e instanceof se ? new P().setHsva(e.hue, e.saturation, e.value, e.alpha) : e instanceof ie ? new P().setHsla(e.hue, e.saturation, e.lightness, e.alpha) : new P(e);
327
+ return typeof e == "string" ? new P(e) : e instanceof P ? e.clone() : e instanceof o ? new P().setRgba(e.red, e.green, e.blue, e.alpha) : e instanceof re ? new P().setHsva(e.hue, e.saturation, e.value, e.alpha) : e instanceof ne ? new P().setHsla(e.hue, e.saturation, e.lightness, e.alpha) : new P(e);
328
328
  }
329
329
  /**
330
330
  * make from existing color new color object
@@ -355,7 +355,7 @@ class P {
355
355
  */
356
356
  setHsla(e, t, n, i = 1) {
357
357
  i != null && (i = i > 1 ? 1 : i < 0 ? 0 : i, this.rgba.alpha = i);
358
- const l = new ie(e, t, n, i);
358
+ const l = new ne(e, t, n, i);
359
359
  return this.rgba = this.hslaToRgba(l), this.hsva = this.rgbaToHsva(this.rgba), this;
360
360
  }
361
361
  /**
@@ -408,7 +408,7 @@ class P {
408
408
  return this.getCmyk().toString();
409
409
  }
410
410
  getHsva() {
411
- return new se(this.hsva.hue, this.hsva.saturation, this.hsva.value, this.hsva.alpha);
411
+ return new re(this.hsva.hue, this.hsva.saturation, this.hsva.value, this.hsva.alpha);
412
412
  }
413
413
  getRgba() {
414
414
  return new o(this.rgba.red, this.rgba.green, this.rgba.blue, this.rgba.alpha);
@@ -421,11 +421,11 @@ class P {
421
421
  }
422
422
  hsvaToHsla(e) {
423
423
  const { hue: t } = e, n = e.saturation / 100, i = e.value / 100, l = (2 - n) * e.value / 2, u = n * i / (l <= 1 ? l : 2 - l) || 0;
424
- return new ie(t, l * 100, u * 100, e.alpha);
424
+ return new ne(t, l * 100, u * 100, e.alpha);
425
425
  }
426
426
  hslaToHsva(e) {
427
427
  const { hue: t } = e, n = e.lightness / 100 * 2, i = e.saturation / 100 * (n <= 1 ? n : 2 - n), l = (n + i) / 2, u = 2 * i / (n + i) || 0;
428
- return new se(t, u, l, e.alpha);
428
+ return new re(t, u, l, e.alpha);
429
429
  }
430
430
  rgbaToHsva(e) {
431
431
  const t = e.red / 255, n = e.green / 255, i = e.blue / 255, { alpha: l } = e, u = Math.max(t, n, i), c = Math.min(t, n, i), g = u - c;
@@ -444,7 +444,7 @@ class P {
444
444
  }
445
445
  h /= 6;
446
446
  }
447
- return h *= 360, p *= 100, d *= 100, new se(h, p, d, l);
447
+ return h *= 360, p *= 100, d *= 100, new re(h, p, d, l);
448
448
  }
449
449
  hsvaToRgba(e) {
450
450
  let t = 1, n = 0, i = 0;
@@ -490,7 +490,7 @@ class P {
490
490
  }
491
491
  g /= 6;
492
492
  }
493
- return g *= 360, h *= 100, p *= 100, new ie(g, h, p, l);
493
+ return g *= 360, h *= 100, p *= 100, new ne(g, h, p, l);
494
494
  }
495
495
  /**
496
496
  * convert rgb color from HSLa
@@ -562,7 +562,7 @@ class P {
562
562
  }
563
563
  stringToColor(e) {
564
564
  const t = e.replace(/ /g, "").toLowerCase();
565
- let n = Se[e] || null;
565
+ let n = ke[e] || null;
566
566
  if (t[0] === "#") {
567
567
  let u = t.substr(1);
568
568
  const { length: c } = u;
@@ -591,7 +591,7 @@ class P {
591
591
  g = parseFloat(c.pop());
592
592
  break;
593
593
  case "hsl":
594
- h = new ie(
594
+ h = new ne(
595
595
  parseInt(c[0], 10),
596
596
  parseInt(c[1], 10),
597
597
  parseInt(c[2], 10),
@@ -611,23 +611,23 @@ class P {
611
611
  return n && (this.rgba = n, this.hsva = this.rgbaToHsva(n)), this;
612
612
  }
613
613
  }
614
- var Pe = function(r, e) {
615
- return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
614
+ var Se = function(r, e) {
615
+ return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
616
616
  t.__proto__ = n;
617
617
  } || function(t, n) {
618
618
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
619
- }, Pe(r, e);
619
+ }, Se(r, e);
620
620
  };
621
- function te(r, e) {
621
+ function _(r, e) {
622
622
  if (typeof e != "function" && e !== null)
623
623
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
624
- Pe(r, e);
624
+ Se(r, e);
625
625
  function t() {
626
626
  this.constructor = r;
627
627
  }
628
628
  r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
629
629
  }
630
- function Ee(r) {
630
+ function Pe(r) {
631
631
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
632
632
  if (t) return t.call(r);
633
633
  if (r && typeof r.length == "number") return {
@@ -637,7 +637,7 @@ function Ee(r) {
637
637
  };
638
638
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
639
639
  }
640
- function Me(r, e) {
640
+ function Ee(r, e) {
641
641
  var t = typeof Symbol == "function" && r[Symbol.iterator];
642
642
  if (!t) return r;
643
643
  var n = t.call(r), i, l = [], u;
@@ -654,21 +654,21 @@ function Me(r, e) {
654
654
  }
655
655
  return l;
656
656
  }
657
- function He(r, e, t) {
657
+ function Me(r, e, t) {
658
658
  if (t || arguments.length === 2) for (var n = 0, i = e.length, l; n < i; n++)
659
659
  (l || !(n in e)) && (l || (l = Array.prototype.slice.call(e, 0, n)), l[n] = e[n]);
660
660
  return r.concat(l || Array.prototype.slice.call(e));
661
661
  }
662
- function X(r) {
662
+ function Y(r) {
663
663
  return typeof r == "function";
664
664
  }
665
- function Ce(r) {
665
+ function Je(r) {
666
666
  var e = function(n) {
667
667
  Error.call(n), n.stack = new Error().stack;
668
668
  }, t = r(e);
669
669
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
670
670
  }
671
- var we = Ce(function(r) {
671
+ var we = Je(function(r) {
672
672
  return function(t) {
673
673
  r(this), this.message = t ? t.length + ` errors occurred during unsubscription:
674
674
  ` + t.map(function(n, i) {
@@ -677,13 +677,13 @@ var we = Ce(function(r) {
677
677
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
678
678
  };
679
679
  });
680
- function Oe(r, e) {
680
+ function He(r, e) {
681
681
  if (r) {
682
682
  var t = r.indexOf(e);
683
683
  0 <= t && r.splice(t, 1);
684
684
  }
685
685
  }
686
- var he = function() {
686
+ var ce = function() {
687
687
  function r(e) {
688
688
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
689
689
  }
@@ -695,7 +695,7 @@ var he = function() {
695
695
  if (u)
696
696
  if (this._parentage = null, Array.isArray(u))
697
697
  try {
698
- for (var c = Ee(u), g = c.next(); !g.done; g = c.next()) {
698
+ for (var c = Pe(u), g = c.next(); !g.done; g = c.next()) {
699
699
  var h = g.value;
700
700
  h.remove(this);
701
701
  }
@@ -711,7 +711,7 @@ var he = function() {
711
711
  else
712
712
  u.remove(this);
713
713
  var p = this.initialTeardown;
714
- if (X(p))
714
+ if (Y(p))
715
715
  try {
716
716
  p();
717
717
  } catch (v) {
@@ -721,12 +721,12 @@ var he = function() {
721
721
  if (d) {
722
722
  this._finalizers = null;
723
723
  try {
724
- for (var f = Ee(d), b = f.next(); !b.done; b = f.next()) {
724
+ for (var f = Pe(d), b = f.next(); !b.done; b = f.next()) {
725
725
  var y = b.value;
726
726
  try {
727
- Ne(y);
727
+ je(y);
728
728
  } catch (v) {
729
- l = l ?? [], v instanceof we ? l = He(He([], Me(l)), Me(v.errors)) : l.push(v);
729
+ l = l ?? [], v instanceof we ? l = Me(Me([], Ee(l)), Ee(v.errors)) : l.push(v);
730
730
  }
731
731
  }
732
732
  } catch (v) {
@@ -746,7 +746,7 @@ var he = function() {
746
746
  var t;
747
747
  if (e && e !== this)
748
748
  if (this.closed)
749
- Ne(e);
749
+ je(e);
750
750
  else {
751
751
  if (e instanceof r) {
752
752
  if (e.closed || e._hasParent(this))
@@ -763,22 +763,22 @@ var he = function() {
763
763
  this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
764
764
  }, r.prototype._removeParent = function(e) {
765
765
  var t = this._parentage;
766
- t === e ? this._parentage = null : Array.isArray(t) && Oe(t, e);
766
+ t === e ? this._parentage = null : Array.isArray(t) && He(t, e);
767
767
  }, r.prototype.remove = function(e) {
768
768
  var t = this._finalizers;
769
- t && Oe(t, e), e instanceof r && e._removeParent(this);
769
+ t && He(t, e), e instanceof r && e._removeParent(this);
770
770
  }, r.EMPTY = function() {
771
771
  var e = new r();
772
772
  return e.closed = !0, e;
773
773
  }(), r;
774
- }(), Je = he.EMPTY;
775
- function Qe(r) {
776
- return r instanceof he || r && "closed" in r && X(r.remove) && X(r.add) && X(r.unsubscribe);
774
+ }(), Qe = ce.EMPTY;
775
+ function Ze(r) {
776
+ return r instanceof ce || r && "closed" in r && Y(r.remove) && Y(r.add) && Y(r.unsubscribe);
777
777
  }
778
- function Ne(r) {
779
- X(r) ? r() : r.unsubscribe();
778
+ function je(r) {
779
+ Y(r) ? r() : r.unsubscribe();
780
780
  }
781
- var Ze = {
781
+ var Ce = {
782
782
  onUnhandledError: null,
783
783
  onStoppedNotification: null,
784
784
  Promise: void 0,
@@ -788,7 +788,7 @@ var Ze = {
788
788
  setTimeout: function(r, e) {
789
789
  for (var t = [], n = 2; n < arguments.length; n++)
790
790
  t[n - 2] = arguments[n];
791
- return setTimeout.apply(void 0, He([r, e], Me(t)));
791
+ return setTimeout.apply(void 0, Me([r, e], Ee(t)));
792
792
  },
793
793
  clearTimeout: function(r) {
794
794
  return clearTimeout(r);
@@ -800,19 +800,19 @@ function $t(r) {
800
800
  throw r;
801
801
  });
802
802
  }
803
- function Ue() {
803
+ function Ne() {
804
804
  }
805
- function ue(r) {
805
+ function oe(r) {
806
806
  r();
807
807
  }
808
- var xe = function(r) {
809
- te(e, r);
808
+ var Ve = function(r) {
809
+ _(e, r);
810
810
  function e(t) {
811
811
  var n = r.call(this) || this;
812
- return n.isStopped = !1, t ? (n.destination = t, Qe(t) && t.add(n)) : n.destination = It, n;
812
+ return n.isStopped = !1, t ? (n.destination = t, Ze(t) && t.add(n)) : n.destination = At, n;
813
813
  }
814
814
  return e.create = function(t, n, i) {
815
- return new Be(t, n, i);
815
+ return new Oe(t, n, i);
816
816
  }, e.prototype.next = function(t) {
817
817
  this.isStopped || this._next(t);
818
818
  }, e.prototype.error = function(t) {
@@ -836,11 +836,11 @@ var xe = function(r) {
836
836
  this.unsubscribe();
837
837
  }
838
838
  }, e;
839
- }(he), Vt = Function.prototype.bind;
839
+ }(ce), Vt = Function.prototype.bind;
840
840
  function be(r, e) {
841
841
  return Vt.call(r, e);
842
842
  }
843
- var xt = function() {
843
+ var It = function() {
844
844
  function r(e) {
845
845
  this.partialObserver = e;
846
846
  }
@@ -850,7 +850,7 @@ var xt = function() {
850
850
  try {
851
851
  t.next(e);
852
852
  } catch (n) {
853
- oe(n);
853
+ ae(n);
854
854
  }
855
855
  }, r.prototype.error = function(e) {
856
856
  var t = this.partialObserver;
@@ -858,24 +858,24 @@ var xt = function() {
858
858
  try {
859
859
  t.error(e);
860
860
  } catch (n) {
861
- oe(n);
861
+ ae(n);
862
862
  }
863
863
  else
864
- oe(e);
864
+ ae(e);
865
865
  }, r.prototype.complete = function() {
866
866
  var e = this.partialObserver;
867
867
  if (e.complete)
868
868
  try {
869
869
  e.complete();
870
870
  } catch (t) {
871
- oe(t);
871
+ ae(t);
872
872
  }
873
873
  }, r;
874
- }(), Be = function(r) {
875
- te(e, r);
874
+ }(), Oe = function(r) {
875
+ _(e, r);
876
876
  function e(t, n, i) {
877
877
  var l = r.call(this) || this, u;
878
- if (X(t) || !t)
878
+ if (Y(t) || !t)
879
879
  u = {
880
880
  next: t ?? void 0,
881
881
  error: n ?? void 0,
@@ -883,7 +883,7 @@ var xt = function() {
883
883
  };
884
884
  else {
885
885
  var c;
886
- l && Ze.useDeprecatedNextContext ? (c = Object.create(t), c.unsubscribe = function() {
886
+ l && Ce.useDeprecatedNextContext ? (c = Object.create(t), c.unsubscribe = function() {
887
887
  return l.unsubscribe();
888
888
  }, u = {
889
889
  next: t.next && be(t.next, c),
@@ -891,21 +891,21 @@ var xt = function() {
891
891
  complete: t.complete && be(t.complete, c)
892
892
  }) : u = t;
893
893
  }
894
- return l.destination = new xt(u), l;
894
+ return l.destination = new It(u), l;
895
895
  }
896
896
  return e;
897
- }(xe);
898
- function oe(r) {
897
+ }(Ve);
898
+ function ae(r) {
899
899
  $t(r);
900
900
  }
901
- function At(r) {
901
+ function xt(r) {
902
902
  throw r;
903
903
  }
904
- var It = {
904
+ var At = {
905
905
  closed: !0,
906
- next: Ue,
907
- error: At,
908
- complete: Ue
906
+ next: Ne,
907
+ error: xt,
908
+ complete: Ne
909
909
  }, jt = function() {
910
910
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
911
911
  }();
@@ -919,7 +919,7 @@ function Nt(r) {
919
919
  }, t);
920
920
  };
921
921
  }
922
- var De = function() {
922
+ var Ue = function() {
923
923
  function r(e) {
924
924
  e && (this._subscribe = e);
925
925
  }
@@ -927,8 +927,8 @@ var De = function() {
927
927
  var t = new r();
928
928
  return t.source = this, t.operator = e, t;
929
929
  }, r.prototype.subscribe = function(e, t, n) {
930
- var i = this, l = Dt(e) ? e : new Be(e, t, n);
931
- return ue(function() {
930
+ var i = this, l = Dt(e) ? e : new Oe(e, t, n);
931
+ return oe(function() {
932
932
  var u = i, c = u.operator, g = u.source;
933
933
  l.add(c ? c.call(l, g) : g ? i._subscribe(l) : i._trySubscribe(l));
934
934
  }), l;
@@ -940,8 +940,8 @@ var De = function() {
940
940
  }
941
941
  }, r.prototype.forEach = function(e, t) {
942
942
  var n = this;
943
- return t = Le(t), new t(function(i, l) {
944
- var u = new Be({
943
+ return t = De(t), new t(function(i, l) {
944
+ var u = new Oe({
945
945
  next: function(c) {
946
946
  try {
947
947
  e(c);
@@ -965,7 +965,7 @@ var De = function() {
965
965
  return Nt(e)(this);
966
966
  }, r.prototype.toPromise = function(e) {
967
967
  var t = this;
968
- return e = Le(e), new e(function(n, i) {
968
+ return e = De(e), new e(function(n, i) {
969
969
  var l;
970
970
  t.subscribe(function(u) {
971
971
  return l = u;
@@ -979,18 +979,18 @@ var De = function() {
979
979
  return new r(e);
980
980
  }, r;
981
981
  }();
982
- function Le(r) {
982
+ function De(r) {
983
983
  var e;
984
- return (e = r ?? Ze.Promise) !== null && e !== void 0 ? e : Promise;
984
+ return (e = r ?? Ce.Promise) !== null && e !== void 0 ? e : Promise;
985
985
  }
986
986
  function Ut(r) {
987
- return r && X(r.next) && X(r.error) && X(r.complete);
987
+ return r && Y(r.next) && Y(r.error) && Y(r.complete);
988
988
  }
989
989
  function Dt(r) {
990
- return r && r instanceof xe || Ut(r) && Qe(r);
990
+ return r && r instanceof Ve || Ut(r) && Ze(r);
991
991
  }
992
992
  function Lt(r) {
993
- return X(r == null ? void 0 : r.lift);
993
+ return Y(r == null ? void 0 : r.lift);
994
994
  }
995
995
  function Ft(r) {
996
996
  return function(e) {
@@ -1009,7 +1009,7 @@ function qt(r, e, t, n, i) {
1009
1009
  return new Yt(r, e, t, n, i);
1010
1010
  }
1011
1011
  var Yt = function(r) {
1012
- te(e, r);
1012
+ _(e, r);
1013
1013
  function e(t, n, i, l, u, c) {
1014
1014
  var g = r.call(this, t) || this;
1015
1015
  return g.onFinalize = u, g.shouldUnsubscribe = c, g._next = n ? function(h) {
@@ -1043,30 +1043,30 @@ var Yt = function(r) {
1043
1043
  r.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
1044
1044
  }
1045
1045
  }, e;
1046
- }(xe), Xt = Ce(function(r) {
1046
+ }(Ve), Xt = Je(function(r) {
1047
1047
  return function() {
1048
1048
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1049
1049
  };
1050
- }), Ae = function(r) {
1051
- te(e, r);
1050
+ }), Ie = function(r) {
1051
+ _(e, r);
1052
1052
  function e() {
1053
1053
  var t = r.call(this) || this;
1054
1054
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
1055
1055
  }
1056
1056
  return e.prototype.lift = function(t) {
1057
- var n = new Fe(this, this);
1057
+ var n = new Le(this, this);
1058
1058
  return n.operator = t, n;
1059
1059
  }, e.prototype._throwIfClosed = function() {
1060
1060
  if (this.closed)
1061
1061
  throw new Xt();
1062
1062
  }, e.prototype.next = function(t) {
1063
1063
  var n = this;
1064
- ue(function() {
1064
+ oe(function() {
1065
1065
  var i, l;
1066
1066
  if (n._throwIfClosed(), !n.isStopped) {
1067
1067
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1068
1068
  try {
1069
- for (var u = Ee(n.currentObservers), c = u.next(); !c.done; c = u.next()) {
1069
+ for (var u = Pe(n.currentObservers), c = u.next(); !c.done; c = u.next()) {
1070
1070
  var g = c.value;
1071
1071
  g.next(t);
1072
1072
  }
@@ -1083,7 +1083,7 @@ var Yt = function(r) {
1083
1083
  });
1084
1084
  }, e.prototype.error = function(t) {
1085
1085
  var n = this;
1086
- ue(function() {
1086
+ oe(function() {
1087
1087
  if (n._throwIfClosed(), !n.isStopped) {
1088
1088
  n.hasError = n.isStopped = !0, n.thrownError = t;
1089
1089
  for (var i = n.observers; i.length; )
@@ -1092,7 +1092,7 @@ var Yt = function(r) {
1092
1092
  });
1093
1093
  }, e.prototype.complete = function() {
1094
1094
  var t = this;
1095
- ue(function() {
1095
+ oe(function() {
1096
1096
  if (t._throwIfClosed(), !t.isStopped) {
1097
1097
  t.isStopped = !0;
1098
1098
  for (var n = t.observers; n.length; )
@@ -1114,20 +1114,20 @@ var Yt = function(r) {
1114
1114
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
1115
1115
  }, e.prototype._innerSubscribe = function(t) {
1116
1116
  var n = this, i = this, l = i.hasError, u = i.isStopped, c = i.observers;
1117
- return l || u ? Je : (this.currentObservers = null, c.push(t), new he(function() {
1118
- n.currentObservers = null, Oe(c, t);
1117
+ return l || u ? Qe : (this.currentObservers = null, c.push(t), new ce(function() {
1118
+ n.currentObservers = null, He(c, t);
1119
1119
  }));
1120
1120
  }, e.prototype._checkFinalizedStatuses = function(t) {
1121
1121
  var n = this, i = n.hasError, l = n.thrownError, u = n.isStopped;
1122
1122
  i ? t.error(l) : u && t.complete();
1123
1123
  }, e.prototype.asObservable = function() {
1124
- var t = new De();
1124
+ var t = new Ue();
1125
1125
  return t.source = this, t;
1126
1126
  }, e.create = function(t, n) {
1127
- return new Fe(t, n);
1127
+ return new Le(t, n);
1128
1128
  }, e;
1129
- }(De), Fe = function(r) {
1130
- te(e, r);
1129
+ }(Ue), Le = function(r) {
1130
+ _(e, r);
1131
1131
  function e(t, n) {
1132
1132
  var i = r.call(this) || this;
1133
1133
  return i.destination = t, i.source = n, i;
@@ -1143,10 +1143,10 @@ var Yt = function(r) {
1143
1143
  (n = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || n === void 0 || n.call(t);
1144
1144
  }, e.prototype._subscribe = function(t) {
1145
1145
  var n, i;
1146
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : Je;
1146
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : Qe;
1147
1147
  }, e;
1148
- }(Ae), qe = function(r) {
1149
- te(e, r);
1148
+ }(Ie), Fe = function(r) {
1149
+ _(e, r);
1150
1150
  function e(t) {
1151
1151
  var n = r.call(this) || this;
1152
1152
  return n._value = t, n;
@@ -1168,7 +1168,7 @@ var Yt = function(r) {
1168
1168
  }, e.prototype.next = function(t) {
1169
1169
  r.prototype.next.call(this, this._value = t);
1170
1170
  }, e;
1171
- }(Ae);
1171
+ }(Ie);
1172
1172
  function Gt(r, e) {
1173
1173
  return e === void 0 && (e = Ke), r = r ?? Wt, Ft(function(t, n) {
1174
1174
  var i, l = !0;
@@ -1182,7 +1182,7 @@ function Wt(r, e) {
1182
1182
  return r === e;
1183
1183
  }
1184
1184
  var R = /* @__PURE__ */ ((r) => (r.hex = "hex", r.hexa = "hexa", r.rgba = "rgba", r.rgb = "rgb", r.hsla = "hsla", r.hsl = "hsl", r.cmyk = "cmyk", r))(R || {});
1185
- class Ie {
1185
+ class xe {
1186
1186
  constructor(e) {
1187
1187
  /** 所选颜色值 */
1188
1188
  s(this, "modelValue", null);
@@ -1190,10 +1190,10 @@ class Ie {
1190
1190
  s(this, "hueValue", null);
1191
1191
  /** 初始颜色值 */
1192
1192
  s(this, "initValue", null);
1193
- s(this, "valueChanged", new Ae());
1194
- s(this, "presetsVisibilityChanges", new qe(!0));
1193
+ s(this, "valueChanged", new Ie());
1194
+ s(this, "presetsVisibilityChanges", new Fe(!0));
1195
1195
  s(this, "initType", null);
1196
- s(this, "alphaChannelVisibilityChanges", new qe(!0));
1196
+ s(this, "alphaChannelVisibilityChanges", new Fe(!0));
1197
1197
  s(this, "valueChanges", this.valueChanged.asObservable().pipe(Gt(
1198
1198
  (e, t) => e.toRgbaString() === t.toRgbaString()
1199
1199
  )));
@@ -1271,8 +1271,8 @@ class Ie {
1271
1271
  }
1272
1272
  }
1273
1273
  /** 确定输入颜色类型 */
1274
- s(Ie, "finOutInputType");
1275
- function j(r, e) {
1274
+ s(xe, "finOutInputType");
1275
+ function A(r, e) {
1276
1276
  switch (e) {
1277
1277
  case R.hex:
1278
1278
  return r.toHexString();
@@ -1295,7 +1295,7 @@ const zt = {
1295
1295
  hue: { type: Object, default: "" },
1296
1296
  randomId: { type: String, default: "" },
1297
1297
  allowColorNull: { type: Boolean, default: !1 }
1298
- }, Te = /* @__PURE__ */ ee({
1298
+ }, Te = /* @__PURE__ */ T({
1299
1299
  name: "SvPanel",
1300
1300
  props: zt,
1301
1301
  emits: ["update:color"],
@@ -1322,12 +1322,12 @@ const zt = {
1322
1322
  }) {
1323
1323
  const v = d * 100 / y, $ = -(f * 100 / b) + 100;
1324
1324
  c(v, $);
1325
- const E = r.color == null ? "transparent" : r.color, M = P.from(E);
1326
- if (g(), M != null) {
1327
- const A = r.hue.getHsva(), N = M.getHsva(), I = new P().setHsva(A.hue, v, $, N.alpha);
1328
- e.emit("update:color", I);
1325
+ const E = r.color == null ? "transparent" : r.color, H = P.from(E);
1326
+ if (g(), H != null) {
1327
+ const V = r.hue.getHsva(), j = H.getHsva(), M = new P().setHsva(V.hue, v, $, j.alpha);
1328
+ e.emit("update:color", M);
1329
1329
  }
1330
- !M && l.value && e.emit("update:color", null);
1330
+ !H && l.value && e.emit("update:color", null);
1331
1331
  }
1332
1332
  function p(d) {
1333
1333
  if (n.value) {
@@ -1339,21 +1339,21 @@ const zt = {
1339
1339
  } = n.value.getBoundingClientRect(), {
1340
1340
  pageX: $,
1341
1341
  pageY: E
1342
- } = "touches" in d ? d.touches[0] : d, M = Math.max(0, Math.min($ - (v + window.pageXOffset), f)), A = Math.max(0, Math.min(E - (y + window.pageYOffset), b));
1342
+ } = "touches" in d ? d.touches[0] : d, H = Math.max(0, Math.min($ - (v + window.pageXOffset), f)), V = Math.max(0, Math.min(E - (y + window.pageYOffset), b));
1343
1343
  h({
1344
- x: M,
1345
- y: A,
1344
+ x: H,
1345
+ y: V,
1346
1346
  height: b,
1347
1347
  width: f
1348
1348
  });
1349
1349
  }
1350
1350
  }
1351
- return T(() => {
1351
+ return C(() => {
1352
1352
  const d = r.color.getHsva();
1353
1353
  c(d.saturation, d.value);
1354
- }), q(() => r.color, (d) => {
1354
+ }), F(() => r.color, (d) => {
1355
1355
  d.getHsva();
1356
- }), q(() => r.color, (d) => {
1356
+ }), F(() => r.color, (d) => {
1357
1357
  const f = d.getHsva();
1358
1358
  c(f.saturation, f.value);
1359
1359
  }), () => k("div", {
@@ -1362,8 +1362,8 @@ const zt = {
1362
1362
  style: {
1363
1363
  backgroundColor: u()
1364
1364
  },
1365
- onMousedown: _((d) => p(d), ["prevent"]),
1366
- onTouchstart: _((d) => p(d), ["prevent"])
1365
+ onMousedown: K((d) => p(d), ["prevent"]),
1366
+ onTouchstart: K((d) => p(d), ["prevent"])
1367
1367
  }, [k("div", {
1368
1368
  class: "color-svpanel__white"
1369
1369
  }, null), k("div", {
@@ -1373,14 +1373,14 @@ const zt = {
1373
1373
  ref: t
1374
1374
  }, [k("div", null, null)])]);
1375
1375
  }
1376
- }), Ct = {
1376
+ }), Jt = {
1377
1377
  color: { type: Object, default: "" },
1378
1378
  hue: { type: Object, default: "" },
1379
1379
  allowColorNull: { type: Boolean, default: !1 },
1380
1380
  onChange: { type: Function }
1381
- }, _e = /* @__PURE__ */ ee({
1381
+ }, _e = /* @__PURE__ */ T({
1382
1382
  name: "Hue",
1383
- props: Ct,
1383
+ props: Jt,
1384
1384
  emits: ["update:color", "update:hue"],
1385
1385
  setup(r, e) {
1386
1386
  const t = S(r.hue), n = S(r.allowColorNull), i = [];
@@ -1394,14 +1394,14 @@ const zt = {
1394
1394
  width: v,
1395
1395
  height: $,
1396
1396
  top: E,
1397
- left: M
1397
+ left: H
1398
1398
  } = u.value.getBoundingClientRect(), {
1399
- pageX: A,
1400
- pageY: N
1401
- } = "touches" in y ? y.touches[0] : y, I = Math.max(0, Math.min(A - (M + window.pageXOffset), v)), H = Math.max(0, Math.min(N - (E + window.pageYOffset), $));
1399
+ pageX: V,
1400
+ pageY: j
1401
+ } = "touches" in y ? y.touches[0] : y, M = Math.max(0, Math.min(V - (H + window.pageXOffset), v)), I = Math.max(0, Math.min(j - (E + window.pageYOffset), $));
1402
1402
  b({
1403
- x: I,
1404
- y: H,
1403
+ x: M,
1404
+ y: I,
1405
1405
  height: $,
1406
1406
  width: v
1407
1407
  });
@@ -1416,7 +1416,7 @@ const zt = {
1416
1416
  const p = (y) => {
1417
1417
  h(y), y.stopPropagation();
1418
1418
  };
1419
- T(() => {
1419
+ C(() => {
1420
1420
  document.querySelectorAll(".f-hue-component").forEach(($) => {
1421
1421
  $.addEventListener("mousedown", p), $.addEventListener("touchstart", p);
1422
1422
  });
@@ -1435,22 +1435,22 @@ const zt = {
1435
1435
  height: $,
1436
1436
  width: E
1437
1437
  }) {
1438
- const M = v / $ * 360;
1439
- f(M);
1440
- const A = r.color.getHsva(), N = new P().setHsva(M, A.saturation, A.value, A.alpha), I = new P().setHsva(M, 100, 100, A.alpha);
1441
- (r.color != null || r.color == null && n.value) && (e.emit("update:hue", I), e.emit("update:color", N));
1438
+ const H = v / $ * 360;
1439
+ f(H);
1440
+ const V = r.color.getHsva(), j = new P().setHsva(H, V.saturation, V.value, V.alpha), M = new P().setHsva(H, 100, 100, V.alpha);
1441
+ (r.color != null || r.color == null && n.value) && (e.emit("update:hue", M), e.emit("update:color", j));
1442
1442
  }
1443
- return q(t, (y) => {
1443
+ return F(t, (y) => {
1444
1444
  const v = y.getHsva();
1445
1445
  f(v.hue);
1446
- }), q(() => r.color, (y) => {
1446
+ }), F(() => r.color, (y) => {
1447
1447
  const v = y.getHsva();
1448
1448
  f(v.hue);
1449
1449
  }), () => k("div", {
1450
1450
  class: "f-hue-component",
1451
1451
  ref: u,
1452
- onMousedown: _((y) => c(y), ["prevent"]),
1453
- onTouchstart: _((y) => c(y), ["prevent"])
1452
+ onMousedown: K((y) => c(y), ["prevent"]),
1453
+ onTouchstart: K((y) => c(y), ["prevent"])
1454
1454
  }, [k("div", {
1455
1455
  class: "color-hue-slider__bar"
1456
1456
  }, null), k("div", {
@@ -1458,13 +1458,13 @@ const zt = {
1458
1458
  ref: d
1459
1459
  }, null)]);
1460
1460
  }
1461
- }), Jt = {
1461
+ }), Qt = {
1462
1462
  color: { type: Object, default: "" },
1463
1463
  randomId: { type: String, default: "" },
1464
1464
  allowColorNull: { type: Boolean, default: !1 }
1465
- }, et = /* @__PURE__ */ ee({
1465
+ }, et = /* @__PURE__ */ T({
1466
1466
  name: "Alpha",
1467
- props: Jt,
1467
+ props: Qt,
1468
1468
  emits: ["update:color"],
1469
1469
  setup(r, e) {
1470
1470
  const t = S(null), n = S(null), i = S(r.randomId), l = S(r.allowColorNull), u = (p) => {
@@ -1482,10 +1482,10 @@ const zt = {
1482
1482
  } = t.value.getBoundingClientRect(), {
1483
1483
  pageX: v,
1484
1484
  pageY: $
1485
- } = "touches" in p ? p.touches[0] : p, E = Math.max(0, Math.min(v - (y + window.pageXOffset), d)), M = Math.max(0, Math.min($ - (b + window.pageYOffset), f));
1485
+ } = "touches" in p ? p.touches[0] : p, E = Math.max(0, Math.min(v - (y + window.pageXOffset), d)), H = Math.max(0, Math.min($ - (b + window.pageYOffset), f));
1486
1486
  h({
1487
1487
  x: E,
1488
- y: M,
1488
+ y: H,
1489
1489
  height: f,
1490
1490
  width: d
1491
1491
  });
@@ -1506,32 +1506,32 @@ const zt = {
1506
1506
  const b = r.color.getHsva(), y = new P().setHsva(b.hue, b.saturation, b.value, f);
1507
1507
  r.color != null ? e.emit("update:color", y) : r.color == null && l.value && e.emit("update:color", null);
1508
1508
  };
1509
- return T(() => {
1509
+ return C(() => {
1510
1510
  const p = r.color.getHsva();
1511
1511
  u(p.alpha);
1512
- }), q(() => r.color, (p) => {
1512
+ }), F(() => r.color, (p) => {
1513
1513
  const d = p.getHsva();
1514
1514
  u(d.alpha);
1515
1515
  }), () => k("div", {
1516
1516
  class: "f-alpha-component",
1517
1517
  ref: t,
1518
- onMousedown: _((p) => c(p), ["prevent"]),
1519
- onTouchstart: _((p) => c(p), ["prevent"])
1518
+ onMousedown: K((p) => c(p), ["prevent"]),
1519
+ onTouchstart: K((p) => c(p), ["prevent"])
1520
1520
  }, [k("div", {
1521
1521
  class: "color-alpha-slider__bar"
1522
- }, [Re(" ")]), k("div", {
1522
+ }, [Be(" ")]), k("div", {
1523
1523
  class: "color-alpha-slider__thumb",
1524
1524
  ref: n
1525
1525
  }, null)]);
1526
1526
  }
1527
- }), Qt = {
1527
+ }), Zt = {
1528
1528
  color: { type: Object, default: "" },
1529
1529
  hue: { type: Object, default: "" },
1530
1530
  colorPresets: { type: Object, default: "" },
1531
1531
  randomId: { type: String, default: "" }
1532
- }, tt = /* @__PURE__ */ ee({
1532
+ }, tt = /* @__PURE__ */ T({
1533
1533
  name: "Preset",
1534
- props: Qt,
1534
+ props: Zt,
1535
1535
  emits: ["update:hue", "update:color"],
1536
1536
  setup(r, e) {
1537
1537
  const t = S(new P()), n = S(r.colorPresets), i = S(r.randomId);
@@ -1571,27 +1571,27 @@ const zt = {
1571
1571
  class: "color-preset__colors"
1572
1572
  }, [n.value.map((h, p) => g(h, p))])]);
1573
1573
  }
1574
- }), le = /* @__PURE__ */ ee({
1574
+ }), ue = /* @__PURE__ */ T({
1575
1575
  name: "FColorPicker",
1576
- props: Ve,
1576
+ props: $e,
1577
1577
  emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
1578
1578
  setup(r, e) {
1579
1579
  const t = S(new P(r.color)), n = S(r.color), i = S(r.disabled), l = S(r.color), u = S(r.allowColorNull), c = S(r.presets), g = S(!1), h = S(!1), p = S(!1), d = S("HEX"), f = Math.floor(Math.random() * 1e3).toString();
1580
- let b = -1, y, v = new Ie("#000000");
1580
+ let b = -1, y, v = new xe("#000000");
1581
1581
  const $ = S(r.color);
1582
- let E, M;
1583
- const A = S(null), N = S(null), I = S(null);
1584
- let H = U(() => !y && v && v.initType ? v.initType : y);
1585
- const O = U({
1582
+ let E, H;
1583
+ const V = S(null), j = S(null), M = S(null);
1584
+ let I = U(() => !y && v && v.initType ? v.initType : y);
1585
+ const B = U({
1586
1586
  get() {
1587
- return y && n.value !== null ? (re(y), j(new P(n.value), R[y])) : n.value;
1587
+ return y && n.value !== null ? (te(y), A(new P(n.value), R[y])) : n.value;
1588
1588
  },
1589
1589
  set(w) {
1590
- w !== null && (Y(w), Q(w));
1590
+ w !== null && (q(w), J(w));
1591
1591
  }
1592
- }), x = S(O.value), V = U(() => b > -1), D = U(() => c.value.length > 0), G = U(() => ({
1592
+ }), N = S(B.value), x = U(() => b > -1), W = U(() => c.value.length > 0), he = U(() => ({
1593
1593
  "background-color": l.value
1594
- })), C = U(() => h.value && g.value ? "display:flex" : "display:none"), J = [{
1594
+ })), ie = U(() => h.value && g.value ? "display:flex" : "display:none"), z = [{
1595
1595
  text: "HEX",
1596
1596
  type: R.hex
1597
1597
  }, {
@@ -1603,10 +1603,10 @@ const zt = {
1603
1603
  w.id = `farris-color-picker-panel-${f}`;
1604
1604
  const m = document.getElementById("farris-color-picker-plus-sure");
1605
1605
  m.id = `farris-color-picker-plus-sure-${f}`;
1606
- const B = document.getElementById("farris-color-picker-plus-input");
1607
- B.id = `farris-color-picker-plus-input-${f}`, M = document.getElementById(`farris-color-picker-plus-sure-${f}`), E = document.getElementById(`farris-color-picker-panel-${f}`), E.className = "color-picker-panel disabled";
1606
+ const O = document.getElementById("farris-color-picker-plus-input");
1607
+ O.id = `farris-color-picker-plus-input-${f}`, H = document.getElementById(`farris-color-picker-plus-sure-${f}`), E = document.getElementById(`farris-color-picker-panel-${f}`), E.className = "color-picker-panel disabled";
1608
1608
  }
1609
- function z() {
1609
+ function G() {
1610
1610
  if (!u.value && !n.value) {
1611
1611
  document.getElementById(`farris-color-picker-plus-sure-${f}`).classList.toggle("disabled");
1612
1612
  const m = document.getElementById(`farris-color-picker-plus-input-${f}`);
@@ -1614,87 +1614,87 @@ const zt = {
1614
1614
  }
1615
1615
  }
1616
1616
  function de() {
1617
- n.value && (Y(n.value), !n.value && u.value || (n.value = j(new P(n.value), R[H.value])), x.value = O.value), ne(re(v.initType));
1617
+ n.value && (q(n.value), !n.value && u.value || (n.value = A(new P(n.value), R[I.value])), N.value = B.value), ee(te(v.initType));
1618
1618
  }
1619
- function ae() {
1620
- n.value && Y(n.value), v.hasPresets() || v.setColorPresets(c.value), n.value ? l.value = j(new P(n.value), R[H.value]) : !n.value && u.value && (l.value = null);
1619
+ function se() {
1620
+ n.value && q(n.value), v.hasPresets() || v.setColorPresets(c.value), n.value ? l.value = A(new P(n.value), R[I.value]) : !n.value && u.value && (l.value = null);
1621
1621
  }
1622
1622
  function fe() {
1623
1623
  v.valueChanges.subscribe((w) => {
1624
- const m = j(w, R[y || v.initType]);
1624
+ const m = A(w, R[y || v.initType]);
1625
1625
  n.value = m;
1626
1626
  });
1627
1627
  }
1628
- function ne(w) {
1629
- d.value = J[w].text;
1628
+ function ee(w) {
1629
+ d.value = z[w].text;
1630
1630
  }
1631
1631
  function ve() {
1632
1632
  var w;
1633
1633
  h.value = !!(y != null && y.includes("a") || (w = v.initType) != null && w.includes("a"));
1634
1634
  }
1635
- Ye(() => {
1635
+ qe(() => {
1636
1636
  v.setColorPresets(c.value || ["#eaecf3"]);
1637
- }), T(() => {
1638
- pe(), z(), de(), ae();
1639
- }), q(d, () => {
1640
- fe(), O.value = j(new P(n.value), R[y || v.initType]), t.value = new P(O.value), ve();
1641
- }), q(n, (w) => {
1642
- j(v.value, v.initType) !== w && w !== null && Y(w), ne(re(v.initType));
1643
- }), q(t, (w) => {
1644
- n.value = j(w, R[y || v.initType]), Y(n.value), O.value = n.value;
1637
+ }), C(() => {
1638
+ pe(), G(), de(), se();
1639
+ }), F(d, () => {
1640
+ fe(), B.value = A(new P(n.value), R[y || v.initType]), t.value = new P(B.value), ve();
1641
+ }), F(n, (w) => {
1642
+ A(v.value, v.initType) !== w && w !== null && q(w), ee(te(v.initType));
1643
+ }), F(t, (w) => {
1644
+ n.value = A(w, R[y || v.initType]), q(n.value), B.value = n.value;
1645
1645
  });
1646
- function Q(w) {
1646
+ function J(w) {
1647
1647
  const m = document.getElementById(`farris-color-picker-plus-input-${f}`);
1648
- (w == "" || w == null || w == null) && !u.value ? (n.value = null, m.style.borderColor = "red", M.className = "btn btn-secondary disabled") : (m.style.borderColor = "#dcdfe6", M.className = "btn btn-secondary");
1648
+ (w == "" || w == null || w == null) && !u.value ? (n.value = null, m.style.borderColor = "red", H.className = "btn btn-secondary disabled") : (m.style.borderColor = "#dcdfe6", H.className = "btn btn-secondary");
1649
1649
  }
1650
1650
  function ge(w) {
1651
- var m, B;
1651
+ var m, O;
1652
1652
  if (w == null || w.stopPropagation(), u.value) {
1653
1653
  l.value = (n == null ? void 0 : n.value) ?? null;
1654
- const F = {
1654
+ const L = {
1655
1655
  elementValue: l
1656
1656
  };
1657
- e.emit("valueChanged", F), L();
1657
+ e.emit("valueChanged", L), D();
1658
1658
  }
1659
- if (!u.value && !(O.value == null || O.value == null || O.value == "")) {
1660
- (B = (m = A.value) == null ? void 0 : m.style) == null || B.setProperty("background", n.value), p.value = !0, l.value = n.value;
1661
- const F = {
1659
+ if (!u.value && !(B.value == null || B.value == null || B.value == "")) {
1660
+ (O = (m = V.value) == null ? void 0 : m.style) == null || O.setProperty("background", n.value), p.value = !0, l.value = n.value;
1661
+ const L = {
1662
1662
  elementValue: l
1663
1663
  };
1664
- e.emit("valueChanged", F), L();
1664
+ e.emit("valueChanged", L), D();
1665
1665
  }
1666
- !$.value && !n.value && !p.value && u && L(), Q(n.value), O.value = n.value, M.classList.contains("disabled") || (x.value = n.value, g.value = !1);
1666
+ !$.value && !n.value && !p.value && u && D(), J(n.value), B.value = n.value, H.classList.contains("disabled") || (N.value = n.value, g.value = !1);
1667
1667
  }
1668
- function Y(w) {
1668
+ function q(w) {
1669
1669
  v == null || v.setValueFrom(w, f, u.value);
1670
1670
  }
1671
1671
  function ye(w) {
1672
1672
  E = document.getElementById(`farris-color-picker-panel-${f}`);
1673
1673
  const m = E.className == "color-picker-panel";
1674
- i.value || m || (g.value = !0, E.classList.toggle("disabled"), z(), Y(n.value), w.stopPropagation());
1674
+ i.value || m || (g.value = !0, E.classList.toggle("disabled"), G(), q(n.value), w.stopPropagation());
1675
1675
  }
1676
- function L() {
1676
+ function D() {
1677
1677
  E = document.getElementById(`farris-color-picker-panel-${f}`), E.className = "color-picker-panel disabled";
1678
1678
  }
1679
- function re(w) {
1680
- const m = J.findIndex((B) => B.type === w);
1679
+ function te(w) {
1680
+ const m = z.findIndex((O) => O.type === w);
1681
1681
  return b = m, m;
1682
1682
  }
1683
- function Z(w) {
1684
- if (!M.classList.contains("disabled")) {
1685
- const m = J.length;
1686
- b = (m + b + (w === "up" ? 1 : -1)) % m, y = J[b].type, ne(b), Y(n.value);
1683
+ function Q(w) {
1684
+ if (!H.classList.contains("disabled")) {
1685
+ const m = z.length;
1686
+ b = (m + b + (w === "up" ? 1 : -1)) % m, y = z[b].type, ee(b), q(n.value);
1687
1687
  }
1688
1688
  }
1689
1689
  return () => k("div", {
1690
1690
  class: "f-color-picker-component",
1691
- ref: N
1691
+ ref: j
1692
1692
  }, [k("div", {
1693
1693
  class: ["color-picker-panel", {
1694
1694
  disabled: i.value
1695
1695
  }],
1696
1696
  id: "farris-color-picker-panel",
1697
- ref: I,
1697
+ ref: M,
1698
1698
  onClick: (w) => w.stopPropagation(),
1699
1699
  style: "top:30px"
1700
1700
  }, [k("div", {
@@ -1713,7 +1713,7 @@ const zt = {
1713
1713
  color: t.value,
1714
1714
  "onUpdate:color": (w) => t.value = w
1715
1715
  }, null)]), k(et, {
1716
- style: C.value,
1716
+ style: ie.value,
1717
1717
  randomId: f,
1718
1718
  allowColorNull: u.value,
1719
1719
  color: t.value,
@@ -1721,43 +1721,43 @@ const zt = {
1721
1721
  }, null), k("div", {
1722
1722
  class: "input-btn",
1723
1723
  style: "display:flex;align-items: center;"
1724
- }, [W(k("span", {
1724
+ }, [X(k("span", {
1725
1725
  style: "width:40px;margin-right:10px;"
1726
- }, [d.value]), [[K, D]]), W(k("input", {
1726
+ }, [d.value]), [[Z, W]]), X(k("input", {
1727
1727
  type: "text",
1728
1728
  title: "color-picker-plus",
1729
1729
  id: "farris-color-picker-plus-input",
1730
- "onUpdate:modelValue": (w) => O.value = w,
1730
+ "onUpdate:modelValue": (w) => B.value = w,
1731
1731
  style: "float:none"
1732
- }, null), [[Xe, O.value]]), W(k("div", {
1732
+ }, null), [[Ye, B.value]]), X(k("div", {
1733
1733
  class: "type-icon-btn-wrapper",
1734
1734
  style: "cursor:pointer"
1735
1735
  }, [k("span", {
1736
1736
  class: "f-icon f-icon-arrow-60-up type-icon-btn",
1737
- onClick: () => Z("up")
1737
+ onClick: () => Q("up")
1738
1738
  }, null), k("span", {
1739
1739
  class: "f-icon f-icon-arrow-60-down type-icon-btn",
1740
- onClick: () => Z("down")
1741
- }, null)]), [[K, D]]), k("div", {
1740
+ onClick: () => Q("down")
1741
+ }, null)]), [[Z, W]]), k("div", {
1742
1742
  class: "input-btn"
1743
1743
  }, [k("button", {
1744
1744
  id: "farris-color-picker-plus-sure",
1745
1745
  class: "btn btn-secondary",
1746
1746
  onClick: (w) => ge(w)
1747
- }, [Re("确定")])])]), W(k(tt, {
1747
+ }, [Be("确定")])])]), X(k(tt, {
1748
1748
  color: t.value,
1749
1749
  "onUpdate:color": (w) => t.value = w,
1750
1750
  hue: v.hue,
1751
1751
  "onUpdate:hue": (w) => v.hue = w,
1752
1752
  randomId: f,
1753
1753
  colorPresets: v.presets
1754
- }, null), [[K, V]])]), k("div", {
1754
+ }, null), [[Z, x]])]), k("div", {
1755
1755
  class: "color-picker-wrapper"
1756
1756
  }, [k("input", {
1757
1757
  title: "color-picker-input",
1758
1758
  type: "text",
1759
1759
  class: "color-picker-input form-control",
1760
- value: x.value,
1760
+ value: N.value,
1761
1761
  readonly: i.value,
1762
1762
  onClick: (w) => w.stopPropagation()
1763
1763
  }, null), k("div", {
@@ -1766,12 +1766,12 @@ const zt = {
1766
1766
  }, [k("div", {
1767
1767
  class: "color-picker-trigger-inner"
1768
1768
  }, [k("div", {
1769
- style: G.value
1769
+ style: he.value
1770
1770
  }, null)])])])]);
1771
1771
  }
1772
1772
  });
1773
- function Zt(r, e, t) {
1774
- var I;
1773
+ function Ct(r, e, t) {
1774
+ var j;
1775
1775
  function n() {
1776
1776
  }
1777
1777
  const i = "", l = "", u = S();
@@ -1787,19 +1787,19 @@ function Zt(r, e, t) {
1787
1787
  function p() {
1788
1788
  return (e == null ? void 0 : e.schema.componentType) === "frame";
1789
1789
  }
1790
- function d(H) {
1791
- if (!H || !H.value)
1790
+ function d(M) {
1791
+ if (!M || !M.value)
1792
1792
  return null;
1793
- if (H.value.schema && H.value.schema.type === "component")
1794
- return H.value;
1795
- const O = S(H == null ? void 0 : H.value.parent), x = d(O);
1796
- return x || null;
1793
+ if (M.value.schema && M.value.schema.type === "component")
1794
+ return M.value;
1795
+ const I = S(M == null ? void 0 : M.value.parent), B = d(I);
1796
+ return B || null;
1797
1797
  }
1798
- function f(H = e) {
1799
- const { componentInstance: O, designerItemElementRef: x } = H;
1800
- return !O || !O.value ? null : O.value.canMove ? x : f(H.parent);
1798
+ function f(M = e) {
1799
+ const { componentInstance: I, designerItemElementRef: B } = M;
1800
+ return !I || !I.value ? null : I.value.canMove ? B : f(M.parent);
1801
1801
  }
1802
- function b(H) {
1802
+ function b(M) {
1803
1803
  return !!t;
1804
1804
  }
1805
1805
  function y() {
@@ -1807,24 +1807,17 @@ function Zt(r, e, t) {
1807
1807
  }
1808
1808
  function v() {
1809
1809
  }
1810
- function $(H, O) {
1811
- }
1812
- function E(H, O) {
1813
- const { componentType: x } = H;
1814
- let V = ke(x, H, O);
1815
- const D = x.toLowerCase().replace("-", "_");
1816
- return V && !V.id && V.type === x && (V.id = `${D}_${Math.random().toString().slice(2, 6)}`), V;
1810
+ function $(M, I) {
1817
1811
  }
1818
- function M(H, O) {
1819
- const x = String(H.getAttribute("data-controltype")), V = H.getAttribute("data-feature"), D = V ? JSON.parse(V) : {};
1820
- D.parentComponentInstance = u.value;
1821
- let G = ke(x, D);
1822
- const C = x.toLowerCase().replace("-", "_");
1823
- return G && !G.id && G.type === x && (G.id = `${C}_${Math.random().toString().slice(2, 6)}`), G;
1812
+ function E(M, I) {
1813
+ const { componentType: B } = M;
1814
+ let N = We(B, M, I);
1815
+ const x = B.toLowerCase().replace("-", "_");
1816
+ return N && !N.id && N.type === B && (N.id = `${x}_${Math.random().toString().slice(2, 6)}`), N;
1824
1817
  }
1825
- function A(H) {
1818
+ function H(M) {
1826
1819
  }
1827
- function N(...H) {
1820
+ function V(...M) {
1828
1821
  }
1829
1822
  return u.value = {
1830
1823
  canMove: c(),
@@ -1833,7 +1826,7 @@ function Zt(r, e, t) {
1833
1826
  canNested: !p(),
1834
1827
  contents: e == null ? void 0 : e.schema.contents,
1835
1828
  elementRef: r,
1836
- parent: (I = e == null ? void 0 : e.parent) == null ? void 0 : I.componentInstance,
1829
+ parent: (j = e == null ? void 0 : e.parent) == null ? void 0 : j.componentInstance,
1837
1830
  schema: e == null ? void 0 : e.schema,
1838
1831
  styles: i,
1839
1832
  designerClass: l,
@@ -1841,41 +1834,40 @@ function Zt(r, e, t) {
1841
1834
  getBelongedComponentInstance: d,
1842
1835
  getDraggableDesignItemElement: f,
1843
1836
  getDraggingDisplayText: y,
1844
- getPropConfig: N,
1837
+ getPropConfig: V,
1845
1838
  getDragScopeElement: v,
1846
1839
  onAcceptMovedChildElement: $,
1847
- onAcceptNewChildElement: M,
1848
- onChildElementMovedOut: A,
1840
+ onChildElementMovedOut: H,
1849
1841
  addNewChildComponentSchema: E,
1850
1842
  updateDragAndDropRules: n,
1851
1843
  triggerBelongedComponentToMoveWhenMoved: S(!1),
1852
1844
  triggerBelongedComponentToDeleteWhenDeleted: S(!1)
1853
1845
  }, u;
1854
1846
  }
1855
- const Kt = /* @__PURE__ */ ee({
1847
+ const Kt = /* @__PURE__ */ T({
1856
1848
  name: "FColorPickerDesign",
1857
- props: Ve,
1849
+ props: $e,
1858
1850
  emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
1859
1851
  setup(r, e) {
1860
1852
  const t = S(new P(r.color)), n = S(r.color), i = S(r.disabled), l = S(r.color), u = S(r.allowColorNull), c = S(r.presets), g = S(!1), h = S(!1), p = S(!1), d = S("HEX"), f = Math.floor(Math.random() * 1e3).toString();
1861
- let b = -1, y, v = new Ie("#000000");
1853
+ let b = -1, y, v = new xe("#000000");
1862
1854
  const $ = S(r.color);
1863
- let E, M;
1864
- const A = S(null), N = S(null), I = S(), H = it("design-item-context"), O = Zt(I, H);
1865
- T(() => {
1866
- I.value.componentInstance = O;
1867
- }), e.expose(O.value);
1868
- let x = U(() => !y && v && v.initType ? v.initType : y);
1869
- const V = U({
1855
+ let E, H;
1856
+ const V = S(null), j = S(null), M = S(), I = it("design-item-context"), B = Ct(M, I);
1857
+ C(() => {
1858
+ M.value.componentInstance = B;
1859
+ }), e.expose(B.value);
1860
+ let N = U(() => !y && v && v.initType ? v.initType : y);
1861
+ const x = U({
1870
1862
  get() {
1871
- return y && n.value !== null ? (Z(y), j(new P(n.value), R[y])) : n.value;
1863
+ return y && n.value !== null ? (Q(y), A(new P(n.value), R[y])) : n.value;
1872
1864
  },
1873
1865
  set(m) {
1874
- m !== null && (L(m), Y(m));
1866
+ m !== null && (D(m), q(m));
1875
1867
  }
1876
- }), D = S(V.value), G = U(() => b > -1), C = U(() => c.value.length > 0), J = U(() => ({
1868
+ }), W = S(x.value), he = U(() => b > -1), ie = U(() => c.value.length > 0), z = U(() => ({
1877
1869
  "background-color": l.value
1878
- })), pe = U(() => h.value && g.value ? "display:flex" : "display:none"), z = [{
1870
+ })), pe = U(() => h.value && g.value ? "display:flex" : "display:none"), G = [{
1879
1871
  text: "HEX",
1880
1872
  type: R.hex
1881
1873
  }, {
@@ -1885,95 +1877,95 @@ const Kt = /* @__PURE__ */ ee({
1885
1877
  function de() {
1886
1878
  const m = document.getElementById("farris-color-picker-panel");
1887
1879
  m.id = `farris-color-picker-panel-${f}`;
1888
- const B = document.getElementById("farris-color-picker-plus-sure");
1889
- B.id = `farris-color-picker-plus-sure-${f}`;
1890
- const F = document.getElementById("farris-color-picker-plus-input");
1891
- F.id = `farris-color-picker-plus-input-${f}`, M = document.getElementById(`farris-color-picker-plus-sure-${f}`), E = document.getElementById(`farris-color-picker-panel-${f}`), E.className = "color-picker-panel disabled";
1880
+ const O = document.getElementById("farris-color-picker-plus-sure");
1881
+ O.id = `farris-color-picker-plus-sure-${f}`;
1882
+ const L = document.getElementById("farris-color-picker-plus-input");
1883
+ L.id = `farris-color-picker-plus-input-${f}`, H = document.getElementById(`farris-color-picker-plus-sure-${f}`), E = document.getElementById(`farris-color-picker-panel-${f}`), E.className = "color-picker-panel disabled";
1892
1884
  }
1893
- function ae() {
1885
+ function se() {
1894
1886
  if (!u.value && !n.value) {
1895
1887
  document.getElementById(`farris-color-picker-plus-sure-${f}`).classList.toggle("disabled");
1896
- const B = document.getElementById(`farris-color-picker-plus-input-${f}`);
1897
- B.style.borderColor = "red";
1888
+ const O = document.getElementById(`farris-color-picker-plus-input-${f}`);
1889
+ O.style.borderColor = "red";
1898
1890
  }
1899
1891
  }
1900
1892
  function fe() {
1901
- n.value && (L(n.value), !n.value && u.value || (n.value = j(new P(n.value), R[x.value])), D.value = V.value), Q(Z(v.initType));
1893
+ n.value && (D(n.value), !n.value && u.value || (n.value = A(new P(n.value), R[N.value])), W.value = x.value), J(Q(v.initType));
1902
1894
  }
1903
- function ne() {
1904
- n.value && L(n.value), v.hasPresets() || v.setColorPresets(c.value), n.value ? l.value = j(new P(n.value), R[x.value]) : !n.value && u.value && (l.value = null);
1895
+ function ee() {
1896
+ n.value && D(n.value), v.hasPresets() || v.setColorPresets(c.value), n.value ? l.value = A(new P(n.value), R[N.value]) : !n.value && u.value && (l.value = null);
1905
1897
  }
1906
1898
  function ve() {
1907
1899
  v.valueChanges.subscribe((m) => {
1908
- const B = j(m, R[y || v.initType]);
1909
- n.value = B;
1900
+ const O = A(m, R[y || v.initType]);
1901
+ n.value = O;
1910
1902
  });
1911
1903
  }
1912
- function Q(m) {
1913
- d.value = z[m].text;
1904
+ function J(m) {
1905
+ d.value = G[m].text;
1914
1906
  }
1915
1907
  function ge() {
1916
1908
  var m;
1917
1909
  h.value = !!(y != null && y.includes("a") || (m = v.initType) != null && m.includes("a"));
1918
1910
  }
1919
- Ye(() => {
1911
+ qe(() => {
1920
1912
  v.setColorPresets(c.value || ["#eaecf3"]);
1921
- }), T(() => {
1922
- de(), ae(), fe(), ne();
1923
- }), q(d, () => {
1924
- ve(), V.value = j(new P(n.value), R[y || v.initType]), t.value = new P(V.value), ge();
1925
- }), q(n, (m) => {
1926
- j(v.value, v.initType) !== m && m !== null && L(m), Q(Z(v.initType));
1927
- }), q(t, (m) => {
1928
- n.value = j(m, R[y || v.initType]), L(n.value), V.value = n.value;
1913
+ }), C(() => {
1914
+ de(), se(), fe(), ee();
1915
+ }), F(d, () => {
1916
+ ve(), x.value = A(new P(n.value), R[y || v.initType]), t.value = new P(x.value), ge();
1917
+ }), F(n, (m) => {
1918
+ A(v.value, v.initType) !== m && m !== null && D(m), J(Q(v.initType));
1919
+ }), F(t, (m) => {
1920
+ n.value = A(m, R[y || v.initType]), D(n.value), x.value = n.value;
1929
1921
  });
1930
- function Y(m) {
1931
- const B = document.getElementById(`farris-color-picker-plus-input-${f}`);
1932
- (m == "" || m == null || m == null) && !u.value ? (n.value = null, B.style.borderColor = "red", M.className = "btn btn-secondary disabled") : (B.style.borderColor = "#dcdfe6", M.className = "btn btn-secondary");
1922
+ function q(m) {
1923
+ const O = document.getElementById(`farris-color-picker-plus-input-${f}`);
1924
+ (m == "" || m == null || m == null) && !u.value ? (n.value = null, O.style.borderColor = "red", H.className = "btn btn-secondary disabled") : (O.style.borderColor = "#dcdfe6", H.className = "btn btn-secondary");
1933
1925
  }
1934
1926
  function ye() {
1935
- var m, B;
1927
+ var m, O;
1936
1928
  if (u.value) {
1937
1929
  l.value = (n == null ? void 0 : n.value) ?? null;
1938
- const F = {
1930
+ const L = {
1939
1931
  elementValue: l
1940
1932
  };
1941
- e.emit("valueChanged", F), E.classList.toggle("disabled");
1933
+ e.emit("valueChanged", L), E.classList.toggle("disabled");
1942
1934
  }
1943
- if (!u.value && !(V.value == null || V.value == null || V.value == "")) {
1944
- (B = (m = A.value) == null ? void 0 : m.style) == null || B.setProperty("background", n.value), p.value = !0, l.value = n.value;
1945
- const F = {
1935
+ if (!u.value && !(x.value == null || x.value == null || x.value == "")) {
1936
+ (O = (m = V.value) == null ? void 0 : m.style) == null || O.setProperty("background", n.value), p.value = !0, l.value = n.value;
1937
+ const L = {
1946
1938
  elementValue: l
1947
1939
  };
1948
- e.emit("valueChanged", F), E.classList.toggle("disabled");
1940
+ e.emit("valueChanged", L), E.classList.toggle("disabled");
1949
1941
  }
1950
- !$.value && !n.value && !p.value && u && E.classList.toggle("disabled"), Y(n.value), V.value = n.value, M.classList.contains("disabled") || (D.value = n.value, g.value = !1);
1942
+ !$.value && !n.value && !p.value && u && E.classList.toggle("disabled"), q(n.value), x.value = n.value, H.classList.contains("disabled") || (W.value = n.value, g.value = !1);
1951
1943
  }
1952
- function L(m) {
1944
+ function D(m) {
1953
1945
  v == null || v.setValueFrom(m, f, u.value);
1954
1946
  }
1955
- function re(m) {
1956
- i.value || (g.value = !0, E.classList.toggle("disabled"), ae(), L(n.value));
1947
+ function te(m) {
1948
+ i.value || (g.value = !0, E.classList.toggle("disabled"), se(), D(n.value));
1957
1949
  }
1958
- function Z(m) {
1959
- const B = z.findIndex((F) => F.type === m);
1960
- return b = B, B;
1950
+ function Q(m) {
1951
+ const O = G.findIndex((L) => L.type === m);
1952
+ return b = O, O;
1961
1953
  }
1962
1954
  function w(m) {
1963
- if (!M.classList.contains("disabled")) {
1964
- const B = z.length;
1965
- b = (B + b + (m === "up" ? 1 : -1)) % B, y = z[b].type, Q(b), L(n.value);
1955
+ if (!H.classList.contains("disabled")) {
1956
+ const O = G.length;
1957
+ b = (O + b + (m === "up" ? 1 : -1)) % O, y = G[b].type, J(b), D(n.value);
1966
1958
  }
1967
1959
  }
1968
1960
  return () => k("div", {
1969
1961
  class: "f-color-picker-component",
1970
- ref: I
1962
+ ref: M
1971
1963
  }, [k("div", {
1972
1964
  class: ["color-picker-panel", {
1973
1965
  disabled: i.value
1974
1966
  }],
1975
1967
  id: "farris-color-picker-panel",
1976
- ref: N,
1968
+ ref: j,
1977
1969
  onClick: (m) => m.stopPropagation,
1978
1970
  style: "top:30px"
1979
1971
  }, [k("div", {
@@ -2000,14 +1992,14 @@ const Kt = /* @__PURE__ */ ee({
2000
1992
  }, null), k("div", {
2001
1993
  class: "input-btn",
2002
1994
  style: "display:flex;align-items: center;"
2003
- }, [W(k("span", {
1995
+ }, [X(k("span", {
2004
1996
  style: "width:40px;margin-right:10px;"
2005
- }, [d.value]), [[K, C]]), W(k("input", {
1997
+ }, [d.value]), [[Z, ie]]), X(k("input", {
2006
1998
  type: "text",
2007
1999
  id: "farris-color-picker-plus-input",
2008
- "onUpdate:modelValue": (m) => V.value = m,
2000
+ "onUpdate:modelValue": (m) => x.value = m,
2009
2001
  style: "float:none"
2010
- }, null), [[Xe, V.value]]), W(k("div", {
2002
+ }, null), [[Ye, x.value]]), X(k("div", {
2011
2003
  class: "type-icon-btn-wrapper",
2012
2004
  style: "cursor:pointer"
2013
2005
  }, [k("span", {
@@ -2016,34 +2008,34 @@ const Kt = /* @__PURE__ */ ee({
2016
2008
  }, null), k("span", {
2017
2009
  class: "f-icon f-icon-arrow-60-down type-icon-btn",
2018
2010
  onClick: () => w("down")
2019
- }, null)]), [[K, C]]), k("div", {
2011
+ }, null)]), [[Z, ie]]), k("div", {
2020
2012
  class: "input-btn"
2021
2013
  }, [k("button", {
2022
2014
  id: "farris-color-picker-plus-sure",
2023
2015
  class: "btn btn-secondary",
2024
2016
  onClick: ye
2025
- }, [Re("确定")])])]), W(k(tt, {
2017
+ }, [Be("确定")])])]), X(k(tt, {
2026
2018
  color: t.value,
2027
2019
  "onUpdate:color": (m) => t.value = m,
2028
2020
  colorPresets: v.presets,
2029
2021
  hue: v.hue,
2030
2022
  "onUpdate:hue": (m) => v.hue = m,
2031
2023
  randomId: f
2032
- }, null), [[K, G]])]), k("div", {
2024
+ }, null), [[Z, he]])]), k("div", {
2033
2025
  class: "color-picker-wrapper"
2034
2026
  }, [k("input", {
2035
2027
  type: "text",
2036
2028
  class: "color-picker-input form-control",
2037
- value: D.value,
2029
+ value: W.value,
2038
2030
  readonly: i.value,
2039
2031
  onClick: (m) => m.stopPropagation()
2040
2032
  }, null), k("div", {
2041
2033
  class: "color-picker-trigger",
2042
- onClick: re
2034
+ onClick: te
2043
2035
  }, [k("div", {
2044
2036
  class: "color-picker-trigger-inner"
2045
2037
  }, [k("div", {
2046
- style: J.value
2038
+ style: z.value
2047
2039
  }, null)])])])]);
2048
2040
  }
2049
2041
  }), Tt = (r) => {
@@ -2052,14 +2044,14 @@ const Kt = /* @__PURE__ */ ee({
2052
2044
  t.component(e.name, r);
2053
2045
  }, r;
2054
2046
  };
2055
- le.register = (r, e, t) => {
2056
- r["color-picker"] = le, e["color-picker"] = ze;
2047
+ ue.register = (r, e, t) => {
2048
+ r["color-picker"] = ue, e["color-picker"] = ze;
2057
2049
  };
2058
- le.registerDesigner = (r, e, t) => {
2050
+ ue.registerDesigner = (r, e, t) => {
2059
2051
  r["color-picker"] = Kt, e["color-picker"] = ze;
2060
2052
  };
2061
- const nn = Tt(le);
2053
+ const nn = Tt(ue);
2062
2054
  export {
2063
- le as FColorPicker,
2055
+ ue as FColorPicker,
2064
2056
  nn as default
2065
2057
  };