@farris/ui-vue 1.2.9 → 1.3.0
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.
- package/components/accordion/index.esm.js +63 -63
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +402 -323
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.css +1 -1
- package/components/button-edit/index.esm.js +98 -96
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +66 -66
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +118 -118
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +539 -460
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +135 -135
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.css +1 -0
- package/components/combo-list/index.esm.js +1007 -312
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +97 -97
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/common/index.esm.js +778 -700
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +472 -329
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.css +1 -0
- package/components/condition/index.esm.js +2231 -1055
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +79 -79
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +6408 -5034
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.css +1 -0
- package/components/data-view/index.esm.js +4762 -3511
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.css +1 -1
- package/components/date-picker/index.esm.js +3442 -2742
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-outline/index.esm.js +14 -13
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +73 -73
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.css +1 -0
- package/components/dynamic-form/index.esm.js +2597 -1141
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +114 -71
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +303 -290
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +171 -171
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +65 -65
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +3075 -2586
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +5272 -8511
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +1726 -1822
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +126 -126
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +620 -540
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +88 -88
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +71 -71
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +3582 -2356
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +10752 -8972
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +5601 -5329
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.css +1 -1
- package/components/message-box/index.esm.js +511 -471
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.css +1 -1
- package/components/modal/index.esm.js +438 -398
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +535 -452
- package/components/nav/index.umd.cjs +2 -2
- package/components/notify/index.esm.js +59 -53
- package/components/notify/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +556 -477
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +504 -425
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.css +1 -1
- package/components/order/index.esm.js +1833 -1054
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +100 -100
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +899 -870
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +576 -487
- package/components/pagination/index.umd.cjs +1 -1
- package/components/popover/index.esm.js +71 -70
- package/components/popover/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +73 -73
- package/components/progress/index.umd.cjs +2 -2
- package/components/property-editor/index.css +1 -1
- package/components/property-editor/index.esm.js +1916 -1220
- package/components/property-editor/index.umd.cjs +3 -3
- package/components/property-panel/index.esm.js +783 -886
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +3632 -2556
- package/components/query-solution/index.umd.cjs +1 -1
- package/components/radio-button/index.esm.js +72 -72
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +484 -405
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +152 -152
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +73 -73
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.css +1 -1
- package/components/response-layout-editor/index.esm.js +1081 -1043
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +753 -738
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +4418 -4177
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +119 -119
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +92 -91
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +59 -59
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +103 -103
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +85 -85
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +457 -378
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.esm.js +1696 -1617
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +53 -53
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +268 -268
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +420 -341
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.css +1 -1
- package/components/time-picker/index.esm.js +1062 -981
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.css +1 -1
- package/components/transfer/index.esm.js +381 -379
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +5252 -9560
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.css +1 -0
- package/components/tree-view/index.esm.js +3920 -2692
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +373 -367
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +92 -92
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +597 -417
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +251 -251
- package/components/weather/index.umd.cjs +4 -4
- package/farris.all.esm.js +17125 -16176
- package/farris.all.umd.cjs +8 -8
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/capsule/src/capsule.props.d.ts +2 -2
- package/types/combo-list/src/components/list-container.component.d.ts +0 -3
- package/types/combo-list/src/components/list-container.props.d.ts +0 -4
- package/types/common/index.d.ts +1 -0
- package/types/common/types.d.ts +1 -1
- package/types/common/utils/encrypt.d.ts +2 -0
- package/types/component/src/component.props.d.ts +7 -0
- package/types/component/src/designer/use-designer-rules.d.ts +1 -1
- package/types/component/src/property-config/component.property-config.d.ts +9 -0
- package/types/components.d.ts +1 -0
- package/types/data-grid/index.d.ts +5 -2
- package/types/data-grid/src/data-grid.component.d.ts +2 -1
- package/types/data-grid/src/data-grid.props.d.ts +1 -0
- package/types/data-view/composition/types.d.ts +18 -1
- package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
- package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
- package/types/designer-canvas/src/composition/types.d.ts +1 -1
- package/types/dynamic-form/src/composition/use-response-form-layout-setting.d.ts +2 -0
- package/types/dynamic-form/src/designer/response-form-layout-setting.component.d.ts +8 -0
- package/types/dynamic-form/src/designer/response-form-layout-setting.props.d.ts +4 -0
- package/types/dynamic-form/src/designer/use-designer-rules.d.ts +2 -2
- package/types/dynamic-form/src/property-config/form.property-config.d.ts +9 -0
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +1 -0
- package/types/dynamic-form/src/schema/schema-resolver.d.ts +1 -0
- package/types/dynamic-form/src/types.d.ts +12 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
- package/types/dynamic-resolver/src/types.d.ts +9 -0
- package/types/dynamic-view/index.d.ts +1 -0
- package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
- package/types/index.d.ts +2 -0
- package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +29 -0
- package/types/lookup/src/components/favorite/lookup-favorite.props.d.ts +15 -0
- package/types/lookup/src/components/modal-container.component.d.ts +25 -0
- package/types/lookup/src/components/modal-container.props.d.ts +29 -0
- package/types/lookup/src/composition/types.d.ts +8 -0
- package/types/lookup/src/composition/use-check-props.d.ts +9 -2
- package/types/lookup/src/composition/use-dialog.d.ts +5 -1
- package/types/lookup/src/composition/use-favorite.d.ts +12 -0
- package/types/lookup/src/composition/use-http.d.ts +9 -5
- package/types/lookup/src/composition/use-input-change.d.ts +3 -0
- package/types/lookup/src/composition/use-user-data.d.ts +24 -0
- package/types/lookup/src/property-config/lookup.property-config.d.ts +6 -4
- package/types/mapping-editor/src/mapping-editor.component.d.ts +3 -0
- package/types/mapping-editor/src/mapping-editor.props.d.ts +0 -1
- package/types/modal/src/composition/use-draggable.d.ts +2 -1
- package/types/modal/src/composition/use-shortcut.d.ts +6 -0
- package/types/modal/src/modal.component.d.ts +3 -0
- package/types/modal/src/modal.props.d.ts +4 -0
- package/types/page-header/src/page-header.props.d.ts +1 -0
- package/types/property-panel/src/composition/entity/base-property.d.ts +8 -0
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +20 -1
- package/types/response-layout-editor/src/composition/converter/use-response-layout-editor-setting.d.ts +2 -0
- package/types/response-layout-editor/src/type.d.ts +21 -0
- package/types/tabs/src/tabs.props.d.ts +1 -0
- package/types/tree-grid/index.d.ts +8 -2
- package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
- package/types/data-grid/src/designer/use-group-column.d.ts +0 -20
- package/types/modal/src/composition/use-esc.d.ts +0 -1
- package/types/response-layout-editor/src/composition/converter/response-layout-editor.converter.d.ts +0 -3
- package/types/response-layout-editor/src/composition/converter/use-convert-property-value.d.ts +0 -20
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var s = (r, 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
|
|
5
|
-
import { cloneDeep as
|
|
6
|
-
const
|
|
1
|
+
var nt = Object.defineProperty;
|
|
2
|
+
var rt = (r, e, t) => e in r ? nt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
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
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]) :
|
|
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
9
|
return (!i || !n.find((u) => u == "id")) && (l.id = `${t}-${Date.now()}`), l;
|
|
10
10
|
}
|
|
11
11
|
function ke(r, e = {}, t) {
|
|
12
|
-
const n =
|
|
12
|
+
const n = Ge[r];
|
|
13
13
|
if (n) {
|
|
14
14
|
let i = $e(n);
|
|
15
|
-
const l =
|
|
15
|
+
const l = We[r];
|
|
16
16
|
return i = l ? l({ getSchemaByType: ke }, i, e, t) : i, i;
|
|
17
17
|
}
|
|
18
18
|
return null;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function at(r, e) {
|
|
21
21
|
const t = $e(e);
|
|
22
|
-
return Object.keys(r).reduce((n, i) => (n[i] &&
|
|
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;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function ot(r, e) {
|
|
25
25
|
return Object.keys(r).filter((n) => r[n] != null).reduce((n, i) => {
|
|
26
26
|
if (e.has(i)) {
|
|
27
27
|
const l = e.get(i);
|
|
@@ -36,11 +36,11 @@ function at(r, e) {
|
|
|
36
36
|
return n;
|
|
37
37
|
}, {});
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
const n =
|
|
41
|
-
return
|
|
39
|
+
function ut(r, e, t = /* @__PURE__ */ new Map()) {
|
|
40
|
+
const n = at(r, e);
|
|
41
|
+
return ot(n, t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function lt(r = {}) {
|
|
44
44
|
function e(h, p, d, f) {
|
|
45
45
|
if (typeof d == "number")
|
|
46
46
|
return f[h].length === d;
|
|
@@ -94,15 +94,15 @@ function ut(r = {}) {
|
|
|
94
94
|
}
|
|
95
95
|
return { parseValueSchema: g };
|
|
96
96
|
}
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
function
|
|
100
|
-
return
|
|
101
|
-
const c =
|
|
97
|
+
const ct = {}, ht = {};
|
|
98
|
+
lt();
|
|
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 = {}) => {
|
|
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
|
};
|
|
104
104
|
}
|
|
105
|
-
const
|
|
105
|
+
const dt = "https://json-schema.org/draft/2020-12/schema", ft = "https://farris-design.gitee.io/color-picker.schema.json", vt = "color-picker", gt = "A Farris Component", yt = "object", mt = {
|
|
106
106
|
id: {
|
|
107
107
|
description: "The unique identifier for color picker",
|
|
108
108
|
type: "string"
|
|
@@ -164,27 +164,27 @@ const pt = "https://json-schema.org/draft/2020-12/schema", dt = "https://farris-
|
|
|
164
164
|
type: "boolean",
|
|
165
165
|
default: !0
|
|
166
166
|
}
|
|
167
|
-
},
|
|
167
|
+
}, wt = [
|
|
168
168
|
"id",
|
|
169
169
|
"type"
|
|
170
|
-
],
|
|
171
|
-
$schema:
|
|
172
|
-
$id:
|
|
173
|
-
title:
|
|
174
|
-
description:
|
|
175
|
-
type:
|
|
176
|
-
properties:
|
|
177
|
-
required:
|
|
170
|
+
], bt = {
|
|
171
|
+
$schema: dt,
|
|
172
|
+
$id: ft,
|
|
173
|
+
title: vt,
|
|
174
|
+
description: gt,
|
|
175
|
+
type: yt,
|
|
176
|
+
properties: mt,
|
|
177
|
+
required: wt
|
|
178
178
|
};
|
|
179
|
-
function
|
|
179
|
+
function kt(r, e, t) {
|
|
180
180
|
return e;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function St(r, e) {
|
|
183
183
|
return { customClass: e.class, customStyle: e.style };
|
|
184
184
|
}
|
|
185
|
-
const
|
|
186
|
-
["appearance",
|
|
187
|
-
]),
|
|
185
|
+
const Pt = /* @__PURE__ */ new Map([
|
|
186
|
+
["appearance", St]
|
|
187
|
+
]), Et = "color-picker", Mt = "A Farris Component", Ht = "object", Ot = {
|
|
188
188
|
basic: {
|
|
189
189
|
description: "Basic Infomation",
|
|
190
190
|
title: "基本信息",
|
|
@@ -206,11 +206,11 @@ const St = /* @__PURE__ */ new Map([
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
},
|
|
210
|
-
title:
|
|
211
|
-
description:
|
|
212
|
-
type:
|
|
213
|
-
categories:
|
|
209
|
+
}, Bt = {
|
|
210
|
+
title: Et,
|
|
211
|
+
description: Mt,
|
|
212
|
+
type: Ht,
|
|
213
|
+
categories: Ot
|
|
214
214
|
}, Ve = {
|
|
215
215
|
/** 初始颜色 */
|
|
216
216
|
color: { type: String, default: "#e1e2e3" },
|
|
@@ -223,7 +223,7 @@ const St = /* @__PURE__ */ new Map([
|
|
|
223
223
|
/** 颜色值变化事件 */
|
|
224
224
|
onValueChanged: { type: Function, default: () => {
|
|
225
225
|
} }
|
|
226
|
-
},
|
|
226
|
+
}, ze = pt(Ve, bt, Pt, kt, Bt);
|
|
227
227
|
class ce {
|
|
228
228
|
}
|
|
229
229
|
class me extends ce {
|
|
@@ -662,13 +662,13 @@ function He(r, e, t) {
|
|
|
662
662
|
function X(r) {
|
|
663
663
|
return typeof r == "function";
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function Ce(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 =
|
|
671
|
+
var we = Ce(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) {
|
|
@@ -724,7 +724,7 @@ var he = function() {
|
|
|
724
724
|
for (var f = Ee(d), b = f.next(); !b.done; b = f.next()) {
|
|
725
725
|
var y = b.value;
|
|
726
726
|
try {
|
|
727
|
-
|
|
727
|
+
Ne(y);
|
|
728
728
|
} catch (v) {
|
|
729
729
|
l = l ?? [], v instanceof we ? l = He(He([], Me(l)), Me(v.errors)) : l.push(v);
|
|
730
730
|
}
|
|
@@ -746,7 +746,7 @@ var he = function() {
|
|
|
746
746
|
var t;
|
|
747
747
|
if (e && e !== this)
|
|
748
748
|
if (this.closed)
|
|
749
|
-
|
|
749
|
+
Ne(e);
|
|
750
750
|
else {
|
|
751
751
|
if (e instanceof r) {
|
|
752
752
|
if (e.closed || e._hasParent(this))
|
|
@@ -771,20 +771,20 @@ var he = function() {
|
|
|
771
771
|
var e = new r();
|
|
772
772
|
return e.closed = !0, e;
|
|
773
773
|
}(), r;
|
|
774
|
-
}(),
|
|
775
|
-
function
|
|
774
|
+
}(), Je = he.EMPTY;
|
|
775
|
+
function Qe(r) {
|
|
776
776
|
return r instanceof he || r && "closed" in r && X(r.remove) && X(r.add) && X(r.unsubscribe);
|
|
777
777
|
}
|
|
778
|
-
function
|
|
778
|
+
function Ne(r) {
|
|
779
779
|
X(r) ? r() : r.unsubscribe();
|
|
780
780
|
}
|
|
781
|
-
var
|
|
781
|
+
var Ze = {
|
|
782
782
|
onUnhandledError: null,
|
|
783
783
|
onStoppedNotification: null,
|
|
784
784
|
Promise: void 0,
|
|
785
785
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
786
786
|
useDeprecatedNextContext: !1
|
|
787
|
-
},
|
|
787
|
+
}, Rt = {
|
|
788
788
|
setTimeout: function(r, e) {
|
|
789
789
|
for (var t = [], n = 2; n < arguments.length; n++)
|
|
790
790
|
t[n - 2] = arguments[n];
|
|
@@ -795,12 +795,12 @@ var Qe = {
|
|
|
795
795
|
},
|
|
796
796
|
delegate: void 0
|
|
797
797
|
};
|
|
798
|
-
function
|
|
799
|
-
|
|
798
|
+
function $t(r) {
|
|
799
|
+
Rt.setTimeout(function() {
|
|
800
800
|
throw r;
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function Ue() {
|
|
804
804
|
}
|
|
805
805
|
function ue(r) {
|
|
806
806
|
r();
|
|
@@ -809,7 +809,7 @@ var xe = function(r) {
|
|
|
809
809
|
te(e, r);
|
|
810
810
|
function e(t) {
|
|
811
811
|
var n = r.call(this) || this;
|
|
812
|
-
return n.isStopped = !1, t ? (n.destination = t,
|
|
812
|
+
return n.isStopped = !1, t ? (n.destination = t, Qe(t) && t.add(n)) : n.destination = It, n;
|
|
813
813
|
}
|
|
814
814
|
return e.create = function(t, n, i) {
|
|
815
815
|
return new Be(t, n, i);
|
|
@@ -836,11 +836,11 @@ var xe = function(r) {
|
|
|
836
836
|
this.unsubscribe();
|
|
837
837
|
}
|
|
838
838
|
}, e;
|
|
839
|
-
}(he),
|
|
839
|
+
}(he), Vt = Function.prototype.bind;
|
|
840
840
|
function be(r, e) {
|
|
841
|
-
return
|
|
841
|
+
return Vt.call(r, e);
|
|
842
842
|
}
|
|
843
|
-
var
|
|
843
|
+
var xt = function() {
|
|
844
844
|
function r(e) {
|
|
845
845
|
this.partialObserver = e;
|
|
846
846
|
}
|
|
@@ -883,7 +883,7 @@ var Vt = function() {
|
|
|
883
883
|
};
|
|
884
884
|
else {
|
|
885
885
|
var c;
|
|
886
|
-
l &&
|
|
886
|
+
l && Ze.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,35 +891,35 @@ var Vt = function() {
|
|
|
891
891
|
complete: t.complete && be(t.complete, c)
|
|
892
892
|
}) : u = t;
|
|
893
893
|
}
|
|
894
|
-
return l.destination = new
|
|
894
|
+
return l.destination = new xt(u), l;
|
|
895
895
|
}
|
|
896
896
|
return e;
|
|
897
897
|
}(xe);
|
|
898
898
|
function oe(r) {
|
|
899
|
-
|
|
899
|
+
$t(r);
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function At(r) {
|
|
902
902
|
throw r;
|
|
903
903
|
}
|
|
904
|
-
var
|
|
904
|
+
var It = {
|
|
905
905
|
closed: !0,
|
|
906
|
-
next:
|
|
907
|
-
error:
|
|
908
|
-
complete:
|
|
909
|
-
},
|
|
906
|
+
next: Ue,
|
|
907
|
+
error: At,
|
|
908
|
+
complete: Ue
|
|
909
|
+
}, jt = function() {
|
|
910
910
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
911
911
|
}();
|
|
912
|
-
function
|
|
912
|
+
function Ke(r) {
|
|
913
913
|
return r;
|
|
914
914
|
}
|
|
915
|
-
function
|
|
916
|
-
return r.length === 0 ?
|
|
915
|
+
function Nt(r) {
|
|
916
|
+
return r.length === 0 ? Ke : r.length === 1 ? r[0] : function(t) {
|
|
917
917
|
return r.reduce(function(n, i) {
|
|
918
918
|
return i(n);
|
|
919
919
|
}, t);
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
|
-
var
|
|
922
|
+
var De = function() {
|
|
923
923
|
function r(e) {
|
|
924
924
|
e && (this._subscribe = e);
|
|
925
925
|
}
|
|
@@ -927,7 +927,7 @@ var Ue = 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 =
|
|
930
|
+
var i = this, l = Dt(e) ? e : new Be(e, t, n);
|
|
931
931
|
return ue(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));
|
|
@@ -940,7 +940,7 @@ var Ue = function() {
|
|
|
940
940
|
}
|
|
941
941
|
}, r.prototype.forEach = function(e, t) {
|
|
942
942
|
var n = this;
|
|
943
|
-
return t =
|
|
943
|
+
return t = Le(t), new t(function(i, l) {
|
|
944
944
|
var u = new Be({
|
|
945
945
|
next: function(c) {
|
|
946
946
|
try {
|
|
@@ -957,15 +957,15 @@ var Ue = function() {
|
|
|
957
957
|
}, r.prototype._subscribe = function(e) {
|
|
958
958
|
var t;
|
|
959
959
|
return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
|
|
960
|
-
}, r.prototype[
|
|
960
|
+
}, r.prototype[jt] = function() {
|
|
961
961
|
return this;
|
|
962
962
|
}, r.prototype.pipe = function() {
|
|
963
963
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
964
964
|
e[t] = arguments[t];
|
|
965
|
-
return
|
|
965
|
+
return Nt(e)(this);
|
|
966
966
|
}, r.prototype.toPromise = function(e) {
|
|
967
967
|
var t = this;
|
|
968
|
-
return e =
|
|
968
|
+
return e = Le(e), new e(function(n, i) {
|
|
969
969
|
var l;
|
|
970
970
|
t.subscribe(function(u) {
|
|
971
971
|
return l = u;
|
|
@@ -979,22 +979,22 @@ var Ue = function() {
|
|
|
979
979
|
return new r(e);
|
|
980
980
|
}, r;
|
|
981
981
|
}();
|
|
982
|
-
function
|
|
982
|
+
function Le(r) {
|
|
983
983
|
var e;
|
|
984
|
-
return (e = r ??
|
|
985
|
-
}
|
|
986
|
-
function Nt(r) {
|
|
987
|
-
return r && X(r.next) && X(r.error) && X(r.complete);
|
|
984
|
+
return (e = r ?? Ze.Promise) !== null && e !== void 0 ? e : Promise;
|
|
988
985
|
}
|
|
989
986
|
function Ut(r) {
|
|
990
|
-
return r && r
|
|
987
|
+
return r && X(r.next) && X(r.error) && X(r.complete);
|
|
991
988
|
}
|
|
992
989
|
function Dt(r) {
|
|
993
|
-
return
|
|
990
|
+
return r && r instanceof xe || Ut(r) && Qe(r);
|
|
994
991
|
}
|
|
995
992
|
function Lt(r) {
|
|
993
|
+
return X(r == null ? void 0 : r.lift);
|
|
994
|
+
}
|
|
995
|
+
function Ft(r) {
|
|
996
996
|
return function(e) {
|
|
997
|
-
if (
|
|
997
|
+
if (Lt(e))
|
|
998
998
|
return e.lift(function(t) {
|
|
999
999
|
try {
|
|
1000
1000
|
return r(t, this);
|
|
@@ -1005,10 +1005,10 @@ function Lt(r) {
|
|
|
1005
1005
|
throw new TypeError("Unable to lift unknown Observable type");
|
|
1006
1006
|
};
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1009
|
-
return new
|
|
1008
|
+
function qt(r, e, t, n, i) {
|
|
1009
|
+
return new Yt(r, e, t, n, i);
|
|
1010
1010
|
}
|
|
1011
|
-
var
|
|
1011
|
+
var Yt = function(r) {
|
|
1012
1012
|
te(e, r);
|
|
1013
1013
|
function e(t, n, i, l, u, c) {
|
|
1014
1014
|
var g = r.call(this, t) || this;
|
|
@@ -1043,7 +1043,7 @@ var qt = 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),
|
|
1046
|
+
}(xe), Xt = Ce(function(r) {
|
|
1047
1047
|
return function() {
|
|
1048
1048
|
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1049
1049
|
};
|
|
@@ -1054,11 +1054,11 @@ var qt = function(r) {
|
|
|
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
|
|
1057
|
+
var n = new Fe(this, this);
|
|
1058
1058
|
return n.operator = t, n;
|
|
1059
1059
|
}, e.prototype._throwIfClosed = function() {
|
|
1060
1060
|
if (this.closed)
|
|
1061
|
-
throw new
|
|
1061
|
+
throw new Xt();
|
|
1062
1062
|
}, e.prototype.next = function(t) {
|
|
1063
1063
|
var n = this;
|
|
1064
1064
|
ue(function() {
|
|
@@ -1114,19 +1114,19 @@ var qt = 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 ?
|
|
1117
|
+
return l || u ? Je : (this.currentObservers = null, c.push(t), new he(function() {
|
|
1118
1118
|
n.currentObservers = null, Oe(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
|
|
1124
|
+
var t = new De();
|
|
1125
1125
|
return t.source = this, t;
|
|
1126
1126
|
}, e.create = function(t, n) {
|
|
1127
|
-
return new
|
|
1127
|
+
return new Fe(t, n);
|
|
1128
1128
|
}, e;
|
|
1129
|
-
}(
|
|
1129
|
+
}(De), Fe = function(r) {
|
|
1130
1130
|
te(e, r);
|
|
1131
1131
|
function e(t, n) {
|
|
1132
1132
|
var i = r.call(this) || this;
|
|
@@ -1143,9 +1143,9 @@ var qt = 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 :
|
|
1146
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : Je;
|
|
1147
1147
|
}, e;
|
|
1148
|
-
}(Ae),
|
|
1148
|
+
}(Ae), qe = function(r) {
|
|
1149
1149
|
te(e, r);
|
|
1150
1150
|
function e(t) {
|
|
1151
1151
|
var n = r.call(this) || this;
|
|
@@ -1169,16 +1169,16 @@ var qt = function(r) {
|
|
|
1169
1169
|
r.prototype.next.call(this, this._value = t);
|
|
1170
1170
|
}, e;
|
|
1171
1171
|
}(Ae);
|
|
1172
|
-
function
|
|
1173
|
-
return e === void 0 && (e =
|
|
1172
|
+
function Gt(r, e) {
|
|
1173
|
+
return e === void 0 && (e = Ke), r = r ?? Wt, Ft(function(t, n) {
|
|
1174
1174
|
var i, l = !0;
|
|
1175
|
-
t.subscribe(
|
|
1175
|
+
t.subscribe(qt(n, function(u) {
|
|
1176
1176
|
var c = e(u);
|
|
1177
1177
|
(l || !r(i, c)) && (l = !1, i = c, n.next(u));
|
|
1178
1178
|
}));
|
|
1179
1179
|
});
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
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 || {});
|
|
@@ -1191,10 +1191,10 @@ class Ie {
|
|
|
1191
1191
|
/** 初始颜色值 */
|
|
1192
1192
|
s(this, "initValue", null);
|
|
1193
1193
|
s(this, "valueChanged", new Ae());
|
|
1194
|
-
s(this, "presetsVisibilityChanges", new
|
|
1194
|
+
s(this, "presetsVisibilityChanges", new qe(!0));
|
|
1195
1195
|
s(this, "initType", null);
|
|
1196
|
-
s(this, "alphaChannelVisibilityChanges", new
|
|
1197
|
-
s(this, "valueChanges", this.valueChanged.asObservable().pipe(
|
|
1196
|
+
s(this, "alphaChannelVisibilityChanges", new qe(!0));
|
|
1197
|
+
s(this, "valueChanges", this.valueChanged.asObservable().pipe(Gt(
|
|
1198
1198
|
(e, t) => e.toRgbaString() === t.toRgbaString()
|
|
1199
1199
|
)));
|
|
1200
1200
|
s(this, "colorPresets", []);
|
|
@@ -1290,14 +1290,14 @@ function j(r, e) {
|
|
|
1290
1290
|
return r.toRgbaString();
|
|
1291
1291
|
}
|
|
1292
1292
|
}
|
|
1293
|
-
const
|
|
1293
|
+
const zt = {
|
|
1294
1294
|
color: { type: Object, default: "" },
|
|
1295
1295
|
hue: { type: Object, default: "" },
|
|
1296
1296
|
randomId: { type: String, default: "" },
|
|
1297
1297
|
allowColorNull: { type: Boolean, default: !1 }
|
|
1298
|
-
},
|
|
1298
|
+
}, Te = /* @__PURE__ */ ee({
|
|
1299
1299
|
name: "SvPanel",
|
|
1300
|
-
props:
|
|
1300
|
+
props: zt,
|
|
1301
1301
|
emits: ["update:color"],
|
|
1302
1302
|
setup(r, e) {
|
|
1303
1303
|
const t = S(null), n = S(null), i = S(r.randomId), l = S(r.allowColorNull);
|
|
@@ -1373,14 +1373,14 @@ const Wt = {
|
|
|
1373
1373
|
ref: t
|
|
1374
1374
|
}, [k("div", null, null)])]);
|
|
1375
1375
|
}
|
|
1376
|
-
}),
|
|
1376
|
+
}), Ct = {
|
|
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
|
-
},
|
|
1381
|
+
}, _e = /* @__PURE__ */ ee({
|
|
1382
1382
|
name: "Hue",
|
|
1383
|
-
props:
|
|
1383
|
+
props: Ct,
|
|
1384
1384
|
emits: ["update:color", "update:hue"],
|
|
1385
1385
|
setup(r, e) {
|
|
1386
1386
|
const t = S(r.hue), n = S(r.allowColorNull), i = [];
|
|
@@ -1458,13 +1458,13 @@ const Wt = {
|
|
|
1458
1458
|
ref: d
|
|
1459
1459
|
}, null)]);
|
|
1460
1460
|
}
|
|
1461
|
-
}),
|
|
1461
|
+
}), Jt = {
|
|
1462
1462
|
color: { type: Object, default: "" },
|
|
1463
1463
|
randomId: { type: String, default: "" },
|
|
1464
1464
|
allowColorNull: { type: Boolean, default: !1 }
|
|
1465
|
-
},
|
|
1465
|
+
}, et = /* @__PURE__ */ ee({
|
|
1466
1466
|
name: "Alpha",
|
|
1467
|
-
props:
|
|
1467
|
+
props: Jt,
|
|
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) => {
|
|
@@ -1524,14 +1524,14 @@ const Wt = {
|
|
|
1524
1524
|
ref: n
|
|
1525
1525
|
}, null)]);
|
|
1526
1526
|
}
|
|
1527
|
-
}),
|
|
1527
|
+
}), Qt = {
|
|
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
|
-
},
|
|
1532
|
+
}, tt = /* @__PURE__ */ ee({
|
|
1533
1533
|
name: "Preset",
|
|
1534
|
-
props:
|
|
1534
|
+
props: Qt,
|
|
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);
|
|
@@ -1632,7 +1632,7 @@ const Wt = {
|
|
|
1632
1632
|
var w;
|
|
1633
1633
|
h.value = !!(y != null && y.includes("a") || (w = v.initType) != null && w.includes("a"));
|
|
1634
1634
|
}
|
|
1635
|
-
|
|
1635
|
+
Ye(() => {
|
|
1636
1636
|
v.setColorPresets(c.value || ["#eaecf3"]);
|
|
1637
1637
|
}), T(() => {
|
|
1638
1638
|
pe(), z(), de(), ae();
|
|
@@ -1699,20 +1699,20 @@ const Wt = {
|
|
|
1699
1699
|
style: "top:30px"
|
|
1700
1700
|
}, [k("div", {
|
|
1701
1701
|
class: "color-picker-main"
|
|
1702
|
-
}, [k(
|
|
1702
|
+
}, [k(_e, {
|
|
1703
1703
|
hue: v.hue,
|
|
1704
1704
|
"onUpdate:hue": (w) => v.hue = w,
|
|
1705
1705
|
allowColorNull: u.value,
|
|
1706
1706
|
color: t.value,
|
|
1707
1707
|
"onUpdate:color": (w) => t.value = w
|
|
1708
|
-
}, null), k(
|
|
1708
|
+
}, null), k(Te, {
|
|
1709
1709
|
randomId: f,
|
|
1710
1710
|
hue: v.hue,
|
|
1711
1711
|
"onUpdate:hue": (w) => v.hue = w,
|
|
1712
1712
|
allowColorNull: u.value,
|
|
1713
1713
|
color: t.value,
|
|
1714
1714
|
"onUpdate:color": (w) => t.value = w
|
|
1715
|
-
}, null)]), k(
|
|
1715
|
+
}, null)]), k(et, {
|
|
1716
1716
|
style: C.value,
|
|
1717
1717
|
randomId: f,
|
|
1718
1718
|
allowColorNull: u.value,
|
|
@@ -1729,7 +1729,7 @@ const Wt = {
|
|
|
1729
1729
|
id: "farris-color-picker-plus-input",
|
|
1730
1730
|
"onUpdate:modelValue": (w) => O.value = w,
|
|
1731
1731
|
style: "float:none"
|
|
1732
|
-
}, null), [[
|
|
1732
|
+
}, null), [[Xe, O.value]]), W(k("div", {
|
|
1733
1733
|
class: "type-icon-btn-wrapper",
|
|
1734
1734
|
style: "cursor:pointer"
|
|
1735
1735
|
}, [k("span", {
|
|
@@ -1744,7 +1744,7 @@ const Wt = {
|
|
|
1744
1744
|
id: "farris-color-picker-plus-sure",
|
|
1745
1745
|
class: "btn btn-secondary",
|
|
1746
1746
|
onClick: (w) => ge(w)
|
|
1747
|
-
}, [Re("确定")])])]), W(k(
|
|
1747
|
+
}, [Re("确定")])])]), W(k(tt, {
|
|
1748
1748
|
color: t.value,
|
|
1749
1749
|
"onUpdate:color": (w) => t.value = w,
|
|
1750
1750
|
hue: v.hue,
|
|
@@ -1770,7 +1770,7 @@ const Wt = {
|
|
|
1770
1770
|
}, null)])])])]);
|
|
1771
1771
|
}
|
|
1772
1772
|
});
|
|
1773
|
-
function
|
|
1773
|
+
function Zt(r, e, t) {
|
|
1774
1774
|
var I;
|
|
1775
1775
|
function n() {
|
|
1776
1776
|
}
|
|
@@ -1852,7 +1852,7 @@ function Qt(r, e, t) {
|
|
|
1852
1852
|
triggerBelongedComponentToDeleteWhenDeleted: S(!1)
|
|
1853
1853
|
}, u;
|
|
1854
1854
|
}
|
|
1855
|
-
const
|
|
1855
|
+
const Kt = /* @__PURE__ */ ee({
|
|
1856
1856
|
name: "FColorPickerDesign",
|
|
1857
1857
|
props: Ve,
|
|
1858
1858
|
emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
|
|
@@ -1861,7 +1861,7 @@ const Zt = /* @__PURE__ */ ee({
|
|
|
1861
1861
|
let b = -1, y, v = new Ie("#000000");
|
|
1862
1862
|
const $ = S(r.color);
|
|
1863
1863
|
let E, M;
|
|
1864
|
-
const A = S(null), N = S(null), I = S(), H =
|
|
1864
|
+
const A = S(null), N = S(null), I = S(), H = it("design-item-context"), O = Zt(I, H);
|
|
1865
1865
|
T(() => {
|
|
1866
1866
|
I.value.componentInstance = O;
|
|
1867
1867
|
}), e.expose(O.value);
|
|
@@ -1916,7 +1916,7 @@ const Zt = /* @__PURE__ */ ee({
|
|
|
1916
1916
|
var m;
|
|
1917
1917
|
h.value = !!(y != null && y.includes("a") || (m = v.initType) != null && m.includes("a"));
|
|
1918
1918
|
}
|
|
1919
|
-
|
|
1919
|
+
Ye(() => {
|
|
1920
1920
|
v.setColorPresets(c.value || ["#eaecf3"]);
|
|
1921
1921
|
}), T(() => {
|
|
1922
1922
|
de(), ae(), fe(), ne();
|
|
@@ -1978,20 +1978,20 @@ const Zt = /* @__PURE__ */ ee({
|
|
|
1978
1978
|
style: "top:30px"
|
|
1979
1979
|
}, [k("div", {
|
|
1980
1980
|
class: "color-picker-main"
|
|
1981
|
-
}, [k(
|
|
1981
|
+
}, [k(_e, {
|
|
1982
1982
|
hue: v.hue,
|
|
1983
1983
|
"onUpdate:hue": (m) => v.hue = m,
|
|
1984
1984
|
allowColorNull: u.value,
|
|
1985
1985
|
color: t.value,
|
|
1986
1986
|
"onUpdate:color": (m) => t.value = m
|
|
1987
|
-
}, null), k(
|
|
1987
|
+
}, null), k(Te, {
|
|
1988
1988
|
randomId: f,
|
|
1989
1989
|
hue: v.hue,
|
|
1990
1990
|
"onUpdate:hue": (m) => v.hue = m,
|
|
1991
1991
|
allowColorNull: u.value,
|
|
1992
1992
|
color: t.value,
|
|
1993
1993
|
"onUpdate:color": (m) => t.value = m
|
|
1994
|
-
}, null)]), k(
|
|
1994
|
+
}, null)]), k(et, {
|
|
1995
1995
|
style: pe.value,
|
|
1996
1996
|
randomId: f,
|
|
1997
1997
|
allowColorNull: u.value,
|
|
@@ -2007,7 +2007,7 @@ const Zt = /* @__PURE__ */ ee({
|
|
|
2007
2007
|
id: "farris-color-picker-plus-input",
|
|
2008
2008
|
"onUpdate:modelValue": (m) => V.value = m,
|
|
2009
2009
|
style: "float:none"
|
|
2010
|
-
}, null), [[
|
|
2010
|
+
}, null), [[Xe, V.value]]), W(k("div", {
|
|
2011
2011
|
class: "type-icon-btn-wrapper",
|
|
2012
2012
|
style: "cursor:pointer"
|
|
2013
2013
|
}, [k("span", {
|
|
@@ -2022,7 +2022,7 @@ const Zt = /* @__PURE__ */ ee({
|
|
|
2022
2022
|
id: "farris-color-picker-plus-sure",
|
|
2023
2023
|
class: "btn btn-secondary",
|
|
2024
2024
|
onClick: ye
|
|
2025
|
-
}, [Re("确定")])])]), W(k(
|
|
2025
|
+
}, [Re("确定")])])]), W(k(tt, {
|
|
2026
2026
|
color: t.value,
|
|
2027
2027
|
"onUpdate:color": (m) => t.value = m,
|
|
2028
2028
|
colorPresets: v.presets,
|
|
@@ -2046,20 +2046,20 @@ const Zt = /* @__PURE__ */ ee({
|
|
|
2046
2046
|
style: J.value
|
|
2047
2047
|
}, null)])])])]);
|
|
2048
2048
|
}
|
|
2049
|
-
}),
|
|
2049
|
+
}), Tt = (r) => {
|
|
2050
2050
|
const e = r;
|
|
2051
2051
|
return e.install = function(t) {
|
|
2052
2052
|
t.component(e.name, r);
|
|
2053
2053
|
}, r;
|
|
2054
2054
|
};
|
|
2055
2055
|
le.register = (r, e, t) => {
|
|
2056
|
-
r["color-picker"] = le, e["color-picker"] =
|
|
2056
|
+
r["color-picker"] = le, e["color-picker"] = ze;
|
|
2057
2057
|
};
|
|
2058
2058
|
le.registerDesigner = (r, e, t) => {
|
|
2059
|
-
r["color-picker"] =
|
|
2059
|
+
r["color-picker"] = Kt, e["color-picker"] = ze;
|
|
2060
2060
|
};
|
|
2061
|
-
const
|
|
2061
|
+
const nn = Tt(le);
|
|
2062
2062
|
export {
|
|
2063
2063
|
le as FColorPicker,
|
|
2064
|
-
|
|
2064
|
+
nn as default
|
|
2065
2065
|
};
|