@farris/ui-vue 1.6.5-beta.7 → 1.6.5
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 +65 -65
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +360 -361
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +524 -520
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +134 -134
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +192 -192
- package/components/capsule/index.umd.cjs +1 -1
- package/components/code-editor/index.esm.js +8 -8
- package/components/code-editor/index.umd.cjs +3 -3
- package/components/collection-property-editor/index.esm.js +72 -72
- package/components/collection-property-editor/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +291 -289
- package/components/color-picker/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +190 -181
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +113 -112
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/common/index.esm.js +3 -1
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +309 -309
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +1125 -1124
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +472 -472
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +99 -99
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +3387 -3321
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +1604 -1601
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +1082 -1079
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/discussion-editor/index.esm.js +973 -1040
- package/components/discussion-editor/index.umd.cjs +6 -6
- package/components/dropdown/index.esm.js +335 -330
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +177 -177
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +6 -6
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +344 -344
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +644 -644
- package/components/events-editor/index.umd.cjs +3 -3
- package/components/expression-editor/index.esm.js +1773 -1760
- package/components/expression-editor/index.umd.cjs +4 -4
- package/components/fieldset/index.esm.js +55 -55
- package/components/fieldset/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +879 -869
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/filter-condition-editor/index.esm.js +1091 -1077
- package/components/filter-condition-editor/index.umd.cjs +3 -3
- package/components/flow-canvas/index.esm.js +215 -215
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/html-template/index.esm.js +164 -164
- package/components/html-template/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +198 -198
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/json-editor/index.esm.js +64 -64
- package/components/json-editor/index.umd.cjs +1 -1
- package/components/language-textbox/index.esm.js +140 -140
- package/components/language-textbox/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +111 -111
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +90 -90
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +139 -141
- package/components/list-view/index.umd.cjs +3 -3
- package/components/locale/index.esm.js +833 -901
- package/components/locale/index.umd.cjs +6 -6
- package/components/lookup/index.esm.js +1352 -1351
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +1387 -1383
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/menu-lookup/index.esm.js +1059 -1127
- package/components/menu-lookup/index.umd.cjs +6 -6
- package/components/message-box/index.esm.js +217 -217
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +283 -283
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +106 -106
- package/components/nav/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +194 -194
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +463 -462
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +883 -876
- package/components/order/index.umd.cjs +4 -4
- package/components/page-footer/index.esm.js +94 -94
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +942 -939
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +82 -82
- package/components/pagination/index.umd.cjs +1 -1
- package/components/popover/index.esm.js +59 -57
- package/components/popover/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +113 -113
- package/components/progress/index.umd.cjs +2 -2
- package/components/property-editor/index.esm.js +151 -150
- package/components/property-editor/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +739 -739
- package/components/property-panel/index.umd.cjs +2 -2
- package/components/query-solution/index.esm.js +4142 -4190
- package/components/query-solution/index.umd.cjs +6 -6
- package/components/radio-button/index.esm.js +182 -182
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +106 -106
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +535 -535
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +1456 -1443
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +779 -776
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +1875 -1866
- package/components/schema-selector/index.umd.cjs +7 -7
- package/components/search-box/index.esm.js +151 -147
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +1236 -1233
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +163 -163
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/sort-condition-editor/index.esm.js +1097 -1083
- package/components/sort-condition-editor/index.umd.cjs +3 -3
- package/components/splitter/index.esm.js +3 -3
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +133 -133
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +103 -98
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +1596 -1593
- package/components/tabs/index.umd.cjs +2 -2
- package/components/tags/index.esm.js +93 -93
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +138 -138
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +684 -684
- package/components/textarea/index.umd.cjs +2 -2
- package/components/time-picker/index.esm.js +935 -929
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/tooltip/index.esm.js +173 -171
- package/components/tooltip/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +190 -192
- package/components/transfer/index.umd.cjs +4 -4
- package/components/tree-grid/index.esm.js +124 -124
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +2363 -2278
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +170 -170
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +196 -196
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +227 -227
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +9 -9
- package/components/weather/index.umd.cjs +2 -2
- package/designer/button-edit/index.esm.js +353 -353
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/checkbox/index.esm.js +7 -3
- package/designer/checkbox/index.umd.cjs +1 -1
- package/designer/checkbox-group/index.esm.js +38 -33
- package/designer/checkbox-group/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +3562 -3536
- package/designer/data-grid/index.umd.cjs +6 -6
- package/designer/data-view/index.esm.js +3 -3
- package/designer/data-view/index.umd.cjs +3 -3
- package/designer/farris-designer.all.esm.js +4203 -4193
- package/designer/farris-designer.all.umd.cjs +9 -9
- package/designer/input-group/index.esm.js +97 -97
- package/designer/input-group/index.umd.cjs +1 -1
- package/designer/list-view/index.esm.js +1868 -1854
- package/designer/list-view/index.umd.cjs +8 -8
- package/designer/radio-group/index.esm.js +954 -949
- package/designer/radio-group/index.umd.cjs +1 -1
- package/farris.all.esm.js +16195 -16126
- package/farris.all.umd.cjs +30 -30
- package/locales/data-grid/ui/en.json +2 -2
- package/locales/designer/en.json +7 -6
- package/locales/designer/zh-CHS.json +2 -1
- package/locales/designer/zh-CHT.json +2 -1
- package/locales/ui/en.json +7 -6
- package/locales/ui/zh-CHS.json +2 -1
- package/locales/ui/zh-CHT.json +2 -1
- package/package.json +1 -1
- package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
- package/types/data-view/composition/types.d.ts +10 -4
- package/types/lookup/src/composition/use-dialog.d.ts +2 -0
- package/types/lookup/src/composition/use-input-change.d.ts +1 -0
|
@@ -8,7 +8,7 @@ import { LocaleService as Mt } from "../locale/index.esm.js";
|
|
|
8
8
|
import { getCustomClass as pt, withInstall as cr, FormSchemaEntityField$Type as sn, FormSchemaEntityFieldTypeName as ln, getMaxZIndex as ur } from "../common/index.esm.js";
|
|
9
9
|
import { useResizeObserver as dr } from "@vueuse/core";
|
|
10
10
|
import { getHierarchyRow as fr, useIdentify as pr, useGroupData as mr, useFilter as vr, useHierarchy as gr, useLoading as yr, useDataView as hr, useSelection as br, useSelectHierarchyItem as Cr, usePagination as wr, useDataViewContainerStyle as xr, useCommandColumn as Sr, useSettingColumn as Fr, useColumn as Tr, useSort as Br, useGroupColumn as Ir, useRow as Er, useEdit as kr, useVisualDataBound as Or, useVisualDataCell as Mr, useVisualDataRow as Pr, useVisualData as Dr, useCellPosition as Nr, useSidebar as Rr, useVirtualScroll as jr, useFitColumn as $r, useFilterHistory as Lr, useColumnFilter as Ar, useDragColumn as Vr, getColumnHeader as zr, getSidebar as Hr, getDisableMask as _r, getHorizontalScrollbar as qr, getVerticalScrollbar as Ur, getEmpty as Gr, getPagination as Wr, getSummary as Yr } from "../data-view/index.esm.js";
|
|
11
|
-
import {
|
|
11
|
+
import { schemaMapForDesigner as Xr, propertyConfigSchemaMapForDesigner as Qr, propertyEffectMapForDesigner as Jr, schemaResolverMapForDesigner as Zr, createPropsResolver as yn, resolveAppearance as Kr } from "../dynamic-resolver/index.esm.js";
|
|
12
12
|
import "../designer-canvas/index.esm.js";
|
|
13
13
|
import "../property-panel/index.esm.js";
|
|
14
14
|
import hn from "../accordion/index.esm.js";
|
|
@@ -107,41 +107,41 @@ function bi() {
|
|
|
107
107
|
const B = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
108
108
|
return B.setAttribute("fill", "none"), B.setAttribute("stroke", "#4d53e8"), B.setAttribute("stroke-width", "2"), B.setAttribute("stroke-linecap", "round"), B;
|
|
109
109
|
}
|
|
110
|
-
function p(B, T,
|
|
110
|
+
function p(B, T, I, k) {
|
|
111
111
|
const h = (g) => {
|
|
112
112
|
g.key === "Delete" && (B.indexOf("^"), document.removeEventListener("keydown", h), T.remove());
|
|
113
113
|
};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}),
|
|
117
|
-
|
|
114
|
+
I.addEventListener("mouseenter", () => {
|
|
115
|
+
I.setAttribute("stroke", "#37d0ff"), k.setAttribute("stroke", "#37d0ff"), I.setAttribute("stroke-width", "3"), document.addEventListener("keydown", h);
|
|
116
|
+
}), I.addEventListener("mouseleave", () => {
|
|
117
|
+
I.setAttribute("stroke", "#4d53e8"), I.setAttribute("stroke-width", "2"), k.setAttribute("stroke", "#4d53e8"), document.removeEventListener("keydown", h);
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
function v(B) {
|
|
121
121
|
let T = document.getElementById(B);
|
|
122
122
|
if (T == null) {
|
|
123
|
-
const
|
|
124
|
-
|
|
123
|
+
const I = document.createElementNS("http://www.w3.org/2000/svg", "svg"), k = r();
|
|
124
|
+
I.appendChild(k);
|
|
125
125
|
const h = l();
|
|
126
|
-
|
|
126
|
+
I.appendChild(h);
|
|
127
127
|
const g = i();
|
|
128
|
-
|
|
128
|
+
I.appendChild(g);
|
|
129
129
|
const N = i();
|
|
130
|
-
|
|
130
|
+
I.appendChild(N), T = document.createElement("div"), T.id = B, T.style.position = "absolute", T.appendChild(I), p(B, T, k, h);
|
|
131
131
|
const $ = document.getElementById("svg-container");
|
|
132
132
|
return $ && $.appendChild(T), T;
|
|
133
133
|
}
|
|
134
134
|
return T;
|
|
135
135
|
}
|
|
136
|
-
function d(B, T,
|
|
136
|
+
function d(B, T, I, k, h) {
|
|
137
137
|
const g = { x: 0, y: 0 };
|
|
138
|
-
return B === "west" && (T === "north_west" && (
|
|
138
|
+
return B === "west" && (T === "north_west" && (I === "north" && (g.x = 0, g.y = 0 - h / 2), I === "west" && (g.x = 0 - k / 2, g.y = 0)), T === "north_east" && (I === "north" && (g.x = -100, g.y = 0 - h / 2), I === "east" && (g.x = -100, g.y = 0 - h / 2)), T === "south_east" && (I === "south" && (g.x = -100, g.y = 0 + h / 2), I === "east" && (g.x = -100, g.y = 0 + h / 2)), T === "south_west" && (I === "south" && (g.x = 0, g.y = 0 + h / 2), I === "west" && (g.x = 0 - k / 2, g.y = 0))), B === "east" && (T === "north_west" && (I === "north" && (g.x = -100, g.y = 0 - h / 2), I === "west" && (g.x = 100, g.y = 0 - h / 2)), T === "north_east" && (I === "north" && (g.x = 0, g.y = 0 - h / 2), I === "east" && (g.x = 0 + k / 2, g.y = 0)), T === "south_east" && (I === "south" && (g.x = 0, g.y = 0 + h / 2), I === "east" && (g.x = 0 + k / 2, g.y = 0)), T === "south_west" && (I === "south" && (g.x = 100, g.y = 0 + h / 2), I === "west" && (g.x = 100, g.y = 0 + h / 2))), B === "north" && (T === "north_west" && (I === "north" && (g.x = 0, g.y = 0 - h / 2), I === "west" && (g.x = 0 - k / 2, g.y = 0)), T === "north_east" && (I === "north" && (g.x = 0, g.y = 0 - h / 2), I === "east" && (g.x = 0 + k / 2, g.y = 0)), T === "south_east" && (I === "south" && (g.x = 0 + k / 2, g.y = -100), I === "east" && (g.x = 0 + k / 2, g.y = -100)), T === "south_west" && (I === "south" && (g.x = 0 - k / 2, g.y = -100), I === "west" && (g.x = 0 - k / 2, g.y = -100))), B === "south" && (T === "north_west" && (I === "north" && (g.x = 0 - k / 2, g.y = 100), I === "west" && (g.x = 0 - k / 2, g.y = 100)), T === "north_east" && (I === "north" && (g.x = 0 + k / 2, g.y = 100), I === "east" && (g.x = 0 + k / 2, g.y = 100)), T === "south_east" && (I === "south" && (g.x = 0, g.y = 0 + h / 2), I === "east" && (g.x = 0 + k / 2, g.y = 0)), T === "south_west" && (I === "south" && (g.x = 0, g.y = h / 2), I === "west" && (g.x = 0 - k / 2, g.y = 0))), g;
|
|
139
139
|
}
|
|
140
|
-
function b(B, T,
|
|
140
|
+
function b(B, T, I, k) {
|
|
141
141
|
const h = { x: 0, y: 0 };
|
|
142
|
-
return B === "south" && (T === "west" && (h.x = -100, h.y = 0 - k / 2), T === "east" && (h.x = 100, h.y = -100), T === "south" && (h.x = 0 -
|
|
142
|
+
return B === "south" && (T === "west" && (h.x = -100, h.y = 0 - k / 2), T === "east" && (h.x = 100, h.y = -100), T === "south" && (h.x = 0 - I / 2, h.y = 100), (T === "north" || T === "center") && (h.x = 0, h.y = 0 - k / 2)), B === "north" && (T === "west" && (h.x = -100, h.y = 100), T === "east" && (h.x = 100, h.y = 100), T === "north" && (h.x = 0 - I / 2, h.y = -100), (T === "south" || T === "center") && (h.x = 0, h.y = k / 2)), B === "east" && (T === "north" && (h.y = -100, h.x = -100), T === "south" && (h.y = 100, h.x = -100), T === "east" && (h.x = 100, h.y = 100), (T === "west" || T === "center") && (h.x = 0 - I / 2, h.y = 0)), B === "west" && (T === "north" && (h.y = -100, h.x = 100), T === "south" && (h.y = 100, h.x = 100), T === "west" && (h.x = -100, h.y = k / 2), (T === "east" || T === "center") && (h.x = I / 2, h.y = 0)), h;
|
|
143
143
|
}
|
|
144
|
-
function f(B, T,
|
|
144
|
+
function f(B, T, I, k, h, g, N) {
|
|
145
145
|
const $ = N === "south" || N === "east" ? "portrait" : "landscape", re = h, V = $ === "landscape" ? "east" : "north", le = N === "center" ? $ === "landscape" ? "west" : "south" : N, se = d(re, g, V, B, T), { x: X, y: z } = se, ue = b(V, le, B, T), { x: pe, y: de } = ue;
|
|
146
146
|
de < 0 && (T += Math.abs(de));
|
|
147
147
|
const be = /* @__PURE__ */ new Map([["default", 0 + X], ["portrait", 0 + X], ["landscape", 0 + X]]), ve = /* @__PURE__ */ new Map([["default", T + z], ["portrait", T + z], ["landscape", T + z]]);
|
|
@@ -149,19 +149,19 @@ function bi() {
|
|
|
149
149
|
const ke = /* @__PURE__ */ new Map([["default", B + pe], ["portrait", B + pe], ["landscape", B + pe]]), Ce = /* @__PURE__ */ new Map([["default", 0 + de], ["portrait", 0 + de], ["landscape", 0 + de]]), me = k.left > o.left, he = k.bottom > o.bottom, Te = me ? 0 : he ? B / 2 : be.get($), Be = he ? T + k.bottom : me ? T / 2 : ve.get($), we = ke.get($), Ie = Ce.get($);
|
|
150
150
|
return [{ x: Te, y: Be }, { x: we, y: Ie }, { x: pe, y: de }];
|
|
151
151
|
}
|
|
152
|
-
function x(B, T,
|
|
152
|
+
function x(B, T, I, k, h, g, N) {
|
|
153
153
|
const $ = N === "south" || N === "west" ? "portrait" : "landscape", re = h, V = $ === "landscape" ? "west" : "north", le = N, se = d(re, g, V, B, T), { x: X, y: z } = se, ue = b(V, le, B, T), { x: pe, y: de } = ue;
|
|
154
154
|
de < 0 && (T += Math.abs(de)), X > 0 && (B += X), pe < 0 && (B += Math.abs(pe));
|
|
155
155
|
const be = /* @__PURE__ */ new Map([["default", B + X], ["portrait", B + X], ["landscape", B + X]]), ve = /* @__PURE__ */ new Map([["default", T + z], ["portrait", T + z], ["landscape", T + z]]), ke = /* @__PURE__ */ new Map([["default", 0 + pe], ["portrait", 0 + pe], ["landscape", 0 + pe]]), Ce = /* @__PURE__ */ new Map([["default", 0 + de], ["portrait", 0 + de], ["landscape", 0 + de]]), me = k.right > o.right, he = k.bottom > o.bottom, Te = me ? B + k.right : he ? B / 2 : be.get($), Be = he ? T + k.bottom : me ? T / 2 : ve.get($), we = ke.get($), Ie = Ce.get($);
|
|
156
156
|
return [{ x: Te, y: Be }, { x: we, y: Ie }, { x: pe, y: de }];
|
|
157
157
|
}
|
|
158
|
-
function a(B, T,
|
|
158
|
+
function a(B, T, I, k, h, g, N) {
|
|
159
159
|
const $ = N === "north" || N === "east" ? "portrait" : "landscape", re = h, V = $ === "landscape" ? "east" : "south", le = N, se = d(re, g, V, B, T), { x: X, y: z } = se, ue = b(V, le, B, T), { x: pe, y: de } = ue, be = /* @__PURE__ */ new Map([["default", 0 + X], ["portrait", 0 + X], ["landscape", 0 + X]]), ve = /* @__PURE__ */ new Map([["default", 0 + z], ["portrait", 0 + z], ["landscape", 0 + z]]);
|
|
160
160
|
X < 0 && (B += Math.abs(X)), z < 0 && (T += Math.abs(z)), pe > 0 && (B += pe), de > 0 && (T += de);
|
|
161
161
|
const ke = /* @__PURE__ */ new Map([["default", B + pe], ["portrait", B + pe], ["landscape", B + pe]]), Ce = /* @__PURE__ */ new Map([["default", T + de], ["portrait", T + de], ["landscape", T + de]]), me = k.left > o.left, he = k.top > o.top, Te = me ? 0 : he ? B / 2 : be.get($), Be = he ? 0 : me ? T / 2 : ve.get($), we = ke.get($), Ie = Ce.get($);
|
|
162
162
|
return [{ x: Te, y: Be }, { x: we, y: Ie }, { x: pe, y: de }];
|
|
163
163
|
}
|
|
164
|
-
function s(B, T,
|
|
164
|
+
function s(B, T, I, k, h, g, N) {
|
|
165
165
|
const $ = N === "north" || N === "west" ? "portrait" : "landscape", re = h, V = $ === "landscape" ? "west" : "south", le = N, se = d(re, g, V, B, T), { x: X, y: z } = se, ue = b(V, le, B, T), { x: pe, y: de } = ue;
|
|
166
166
|
pe < 0 && (B += Math.abs(pe));
|
|
167
167
|
const be = /* @__PURE__ */ new Map([["default", B + X], ["portrait", B + X], ["landscape", B + X]]), ve = /* @__PURE__ */ new Map([["default", 0 + z], ["portrait", 0 + z], ["landscape", 0 + z]]);
|
|
@@ -245,28 +245,28 @@ function bi() {
|
|
|
245
245
|
["south", y],
|
|
246
246
|
["center", u]
|
|
247
247
|
]);
|
|
248
|
-
function O(B, T,
|
|
249
|
-
const h = T.x - B.x, g = T.y - B.y, N = h >= 0 ? "east" : "west", $ = g >= 0 ? "south" : "north", re = `${$}_${N}`, le = (F.get(
|
|
248
|
+
function O(B, T, I, k) {
|
|
249
|
+
const h = T.x - B.x, g = T.y - B.y, N = h >= 0 ? "east" : "west", $ = g >= 0 ? "south" : "north", re = `${$}_${N}`, le = (F.get(I) || []).includes(re), se = m.get(I), X = le ? se(re, o) : o, z = Math.abs(h), ue = Math.abs(g), pe = c.get(`${$}_${N}`), [de, be, ve] = pe(
|
|
250
250
|
z,
|
|
251
251
|
ue,
|
|
252
252
|
le,
|
|
253
253
|
X,
|
|
254
|
-
|
|
254
|
+
I,
|
|
255
255
|
re,
|
|
256
256
|
k
|
|
257
257
|
), ke = N === "west" ? ve.x < 0 ? Math.abs(ve.x) : 0 : ve.x > 0 ? ve.x : 0, Ce = X.left + X.right + z + ke, me = $ === "north" ? ve.y < 0 ? Math.abs(ve.y) : 0 : ve.y > 0 ? ve.y : 0, he = X.top + X.bottom + ue + me, Te = N === "east" ? B.x - X.left : B.x + X.right - Ce, Be = $ === "south" ? B.y - X.top : B.y + X.bottom - he, we = N === "east" ? X.left : Ce - X.right, Ie = $ === "north" ? he - X.bottom : X.top, tt = N === "west" ? ve.x < 0 ? Math.abs(ve.x) : 0 : ve.x < 0 ? Ce : Ce - ve.x, Ye = $ === "north" ? ve.y < 0 ? Math.abs(ve.y) : 0 : ve.y < 0 ? he : he - ve.y;
|
|
258
258
|
return { width: Ce, height: he, left: Te, top: Be, startPoinInBoundray: { x: we, y: Ie }, firstControlPoint: de, secondControlPoint: be, endPoinInBoundray: { x: tt, y: Ye } };
|
|
259
259
|
}
|
|
260
|
-
function
|
|
261
|
-
B.style.position = "absolute", B.style.alignItems = "center", B.style.left = `${T}px`, B.style.top = `${
|
|
260
|
+
function E(B, T, I, k, h) {
|
|
261
|
+
B.style.position = "absolute", B.style.alignItems = "center", B.style.left = `${T}px`, B.style.top = `${I}px`, B.style.width = k + "px", B.style.height = h + "px";
|
|
262
262
|
}
|
|
263
|
-
function R(B, T,
|
|
263
|
+
function R(B, T, I, k, h, g, N) {
|
|
264
264
|
const $ = B.childNodes[0];
|
|
265
|
-
$.setAttribute("width", String(T)), $.setAttribute("height", String(
|
|
265
|
+
$.setAttribute("width", String(T)), $.setAttribute("height", String(I)), B.appendChild($);
|
|
266
266
|
const re = $.childNodes[0], V = `${k.x} ${k.y}`, le = `${h.x} ${h.y}`, se = `${g.x} ${g.y}`, X = `${N.x} ${N.y}`, z = "M ".concat(V).concat(" C ").concat(le).concat("," + se + ",").concat(X);
|
|
267
267
|
re.setAttribute("d", z), re.setAttribute("fill", "none"), re.setAttribute("stroke", "#4d53e8"), re.setAttribute("stroke-width", "2"), re.setAttribute("class", "");
|
|
268
268
|
}
|
|
269
|
-
function L(B, T,
|
|
269
|
+
function L(B, T, I, k, h) {
|
|
270
270
|
const {
|
|
271
271
|
width: g,
|
|
272
272
|
height: N,
|
|
@@ -276,33 +276,33 @@ function bi() {
|
|
|
276
276
|
firstControlPoint: le,
|
|
277
277
|
secondControlPoint: se,
|
|
278
278
|
endPoinInBoundray: X
|
|
279
|
-
} = O(T,
|
|
280
|
-
|
|
279
|
+
} = O(T, I, k, h);
|
|
280
|
+
E(B, $, re, g, N), R(B, g, N, V, le, se, X);
|
|
281
281
|
}
|
|
282
|
-
function P(B, T,
|
|
282
|
+
function P(B, T, I, k, h) {
|
|
283
283
|
const g = v(B);
|
|
284
|
-
L(g, T,
|
|
284
|
+
L(g, T, I, k, h);
|
|
285
285
|
}
|
|
286
286
|
function Q(B) {
|
|
287
287
|
return Number(B.replace("px", ""));
|
|
288
288
|
}
|
|
289
289
|
function Z(B) {
|
|
290
290
|
if (B !== null) {
|
|
291
|
-
const T = B.parentNode,
|
|
291
|
+
const T = B.parentNode, I = Q(T.style.left), k = Q(T.style.top);
|
|
292
292
|
return {
|
|
293
|
-
x:
|
|
293
|
+
x: I + B.offsetLeft + B.offsetWidth / 2,
|
|
294
294
|
y: k + B.offsetTop + B.offsetHeight / 2
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
return { x: 0, y: 0 };
|
|
298
298
|
}
|
|
299
299
|
function K(B, T) {
|
|
300
|
-
const
|
|
300
|
+
const I = document.getElementById(B), k = document.getElementById(T), h = Z(I), g = Z(k), N = h.x + 2, $ = h.y, re = g.x - 2, V = g.y;
|
|
301
301
|
return { startPoint: { x: N, y: $ }, endPoint: { x: re, y: V } };
|
|
302
302
|
}
|
|
303
|
-
function ie(B, T,
|
|
303
|
+
function ie(B, T, I, k) {
|
|
304
304
|
const { startPoint: h, endPoint: g } = K(B, T);
|
|
305
|
-
P(`${B}_${T}`, h, g,
|
|
305
|
+
P(`${B}_${T}`, h, g, I, k);
|
|
306
306
|
}
|
|
307
307
|
return { connect: ie, drawing: P };
|
|
308
308
|
}
|
|
@@ -333,10 +333,10 @@ function Ci(e) {
|
|
|
333
333
|
n.value = y.left, o.value = y.top, r.value = { x: S, y: M }, t.value = d(j);
|
|
334
334
|
}
|
|
335
335
|
function f(S) {
|
|
336
|
-
var
|
|
336
|
+
var E;
|
|
337
337
|
const M = S.clientX - n.value, j = S.clientY - o.value, y = r.value.x + M, u = r.value.y + j, m = S.target, O = m && typeof m.className == "string" && v(m) ? d(m) : "center";
|
|
338
338
|
i(
|
|
339
|
-
`${(
|
|
339
|
+
`${(E = l.value) == null ? void 0 : E.id}_curve_to`,
|
|
340
340
|
{ x: r.value.x, y: r.value.y },
|
|
341
341
|
{ x: y, y: u },
|
|
342
342
|
t.value,
|
|
@@ -358,8 +358,8 @@ function Ci(e) {
|
|
|
358
358
|
}
|
|
359
359
|
function F(S, M) {
|
|
360
360
|
l.value = document.getElementById(S);
|
|
361
|
-
const j = l.value.offsetParent, y = l.value.getBoundingClientRect(), u = j.getBoundingClientRect(), m = p(j.style.left) + (y.left - u.left), O = p(j.style.top) + (y.top - u.top),
|
|
362
|
-
b(
|
|
361
|
+
const j = l.value.offsetParent, y = l.value.getBoundingClientRect(), u = j.getBoundingClientRect(), m = p(j.style.left) + (y.left - u.left), O = p(j.style.top) + (y.top - u.top), E = m + y.width / 2, R = O + y.height / 2;
|
|
362
|
+
b(E, R, l.value), a();
|
|
363
363
|
}
|
|
364
364
|
return { drawFrom: F, eraseDrawingLine: x, finishToDraw: c, getAncherPointPosition: d, isAncherPoint: v };
|
|
365
365
|
}
|
|
@@ -504,7 +504,7 @@ var So = { exports: {} };
|
|
|
504
504
|
function f(P, Q) {
|
|
505
505
|
var Z = arguments.length;
|
|
506
506
|
Z === 1 && Array.isArray(P) === !1 && (Q = P, P = []);
|
|
507
|
-
var K, ie, B, T,
|
|
507
|
+
var K, ie, B, T, I, k, h, g, N, $ = null, re, V, le = !1, se = 0, X, z = Q || {};
|
|
508
508
|
z.moves === void 0 && (z.moves = M), z.accepts === void 0 && (z.accepts = M), z.invalid === void 0 && (z.invalid = tt), z.containers === void 0 && (z.containers = P || []), z.isContainer === void 0 && (z.isContainer = S), z.copy === void 0 && (z.copy = !1), z.copySortSource === void 0 && (z.copySortSource = !1), z.revertOnSpill === void 0 && (z.revertOnSpill = !1), z.removeOnSpill === void 0 && (z.removeOnSpill = !1), z.direction === void 0 && (z.direction = "vertical"), z.ignoreInputTextSelection === void 0 && (z.ignoreInputTextSelection = !0), z.mirrorContainer === void 0 && (z.mirrorContainer = d.body);
|
|
509
509
|
var ue = i({
|
|
510
510
|
containers: z.containers,
|
|
@@ -539,7 +539,7 @@ var So = { exports: {} };
|
|
|
539
539
|
re && D.preventDefault();
|
|
540
540
|
}
|
|
541
541
|
function me(D) {
|
|
542
|
-
T = D.clientX,
|
|
542
|
+
T = D.clientX, I = D.clientY;
|
|
543
543
|
var H = c(D) !== 1 || D.metaKey || D.ctrlKey;
|
|
544
544
|
if (!H) {
|
|
545
545
|
var J = D.target, ae = Te(J);
|
|
@@ -552,7 +552,7 @@ var So = { exports: {} };
|
|
|
552
552
|
Xe({});
|
|
553
553
|
return;
|
|
554
554
|
}
|
|
555
|
-
if (!(D.clientX !== void 0 && Math.abs(D.clientX - T) <= (z.slideFactorX || 0) && D.clientY !== void 0 && Math.abs(D.clientY -
|
|
555
|
+
if (!(D.clientX !== void 0 && Math.abs(D.clientX - T) <= (z.slideFactorX || 0) && D.clientY !== void 0 && Math.abs(D.clientY - I) <= (z.slideFactorY || 0))) {
|
|
556
556
|
if (z.ignoreInputTextSelection) {
|
|
557
557
|
var H = L("clientX", D) || 0, J = L("clientY", D) || 0, ae = d.elementFromPoint(H, J);
|
|
558
558
|
if (m(ae))
|
|
@@ -570,7 +570,7 @@ var So = { exports: {} };
|
|
|
570
570
|
return;
|
|
571
571
|
var J = u(D);
|
|
572
572
|
if (J && !z.invalid(D, H)) {
|
|
573
|
-
var ae = z.moves(D, J, H,
|
|
573
|
+
var ae = z.moves(D, J, H, E(D));
|
|
574
574
|
if (ae)
|
|
575
575
|
return {
|
|
576
576
|
item: D,
|
|
@@ -587,7 +587,7 @@ var So = { exports: {} };
|
|
|
587
587
|
H && Ie(H);
|
|
588
588
|
}
|
|
589
589
|
function Ie(D) {
|
|
590
|
-
qt(D.item, D.source) && (g = D.item.cloneNode(!0), ue.emit("cloned", g, D.item, "copy")), ie = D.source, B = D.item, k = h =
|
|
590
|
+
qt(D.item, D.source) && (g = D.item.cloneNode(!0), ue.emit("cloned", g, D.item, "copy")), ie = D.source, B = D.item, k = h = E(D.item), ue.dragging = !0, ue.emit("drag", B, ie);
|
|
591
591
|
}
|
|
592
592
|
function tt() {
|
|
593
593
|
return !1;
|
|
@@ -629,7 +629,7 @@ var So = { exports: {} };
|
|
|
629
629
|
}
|
|
630
630
|
function Ee(D, H) {
|
|
631
631
|
var J;
|
|
632
|
-
return H !== void 0 ? J = H : K ? J = h : J =
|
|
632
|
+
return H !== void 0 ? J = H : K ? J = h : J = E(g || B), D === ie && J === k;
|
|
633
633
|
}
|
|
634
634
|
function Oe(D, H, J) {
|
|
635
635
|
for (var ae = D; ae && !ge(); )
|
|
@@ -677,7 +677,7 @@ var So = { exports: {} };
|
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
function Dt(D, H, J) {
|
|
680
|
-
(D === H || D ===
|
|
680
|
+
(D === H || D === E(H)) && (h = E(H)), (D === null && J || D !== H && D !== E(H)) && (h = D);
|
|
681
681
|
}
|
|
682
682
|
function Nt(D) {
|
|
683
683
|
v.rm(D, "gu-hide");
|
|
@@ -796,7 +796,7 @@ var So = { exports: {} };
|
|
|
796
796
|
return Ue(ge ? J > Me.left + j(Me) / 2 : ae > Me.top + y(Me) / 2);
|
|
797
797
|
}
|
|
798
798
|
function Ue(Me) {
|
|
799
|
-
return Me ?
|
|
799
|
+
return Me ? E(H) : H;
|
|
800
800
|
}
|
|
801
801
|
}
|
|
802
802
|
function qt(D, H) {
|
|
@@ -875,7 +875,7 @@ var So = { exports: {} };
|
|
|
875
875
|
function O(P) {
|
|
876
876
|
return !P || P.contentEditable === "false" ? !1 : P.contentEditable === "true" ? !0 : O(u(P));
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function E(P) {
|
|
879
879
|
return P.nextElementSibling || Q();
|
|
880
880
|
function Q() {
|
|
881
881
|
var Z = P;
|
|
@@ -958,23 +958,23 @@ var So = { exports: {} };
|
|
|
958
958
|
remove: b,
|
|
959
959
|
fabricate: F
|
|
960
960
|
};
|
|
961
|
-
function x(u, m, O,
|
|
962
|
-
return u.addEventListener(m, O,
|
|
961
|
+
function x(u, m, O, E) {
|
|
962
|
+
return u.addEventListener(m, O, E);
|
|
963
963
|
}
|
|
964
964
|
function a(u, m, O) {
|
|
965
965
|
return u.attachEvent("on" + m, M(u, m, O));
|
|
966
966
|
}
|
|
967
|
-
function s(u, m, O,
|
|
968
|
-
return u.removeEventListener(m, O,
|
|
967
|
+
function s(u, m, O, E) {
|
|
968
|
+
return u.removeEventListener(m, O, E);
|
|
969
969
|
}
|
|
970
970
|
function c(u, m, O) {
|
|
971
|
-
var
|
|
972
|
-
if (
|
|
973
|
-
return u.detachEvent("on" + m,
|
|
971
|
+
var E = j(u, m, O);
|
|
972
|
+
if (E)
|
|
973
|
+
return u.detachEvent("on" + m, E);
|
|
974
974
|
}
|
|
975
975
|
function F(u, m, O) {
|
|
976
|
-
var
|
|
977
|
-
u.dispatchEvent ? u.dispatchEvent(
|
|
976
|
+
var E = p.indexOf(m) === -1 ? L() : R();
|
|
977
|
+
u.dispatchEvent ? u.dispatchEvent(E) : u.fireEvent("on" + m, E);
|
|
978
978
|
function R() {
|
|
979
979
|
var P;
|
|
980
980
|
return v.createEvent ? (P = v.createEvent("Event"), P.initEvent(m, !0, !0)) : v.createEventObject && (P = v.createEventObject()), P;
|
|
@@ -994,26 +994,26 @@ var So = { exports: {} };
|
|
|
994
994
|
};
|
|
995
995
|
}
|
|
996
996
|
function M(u, m, O) {
|
|
997
|
-
var
|
|
997
|
+
var E = j(u, m, O) || S(u, m, O);
|
|
998
998
|
return f.push({
|
|
999
|
-
wrapper:
|
|
999
|
+
wrapper: E,
|
|
1000
1000
|
element: u,
|
|
1001
1001
|
type: m,
|
|
1002
1002
|
fn: O
|
|
1003
|
-
}),
|
|
1003
|
+
}), E;
|
|
1004
1004
|
}
|
|
1005
1005
|
function j(u, m, O) {
|
|
1006
|
-
var
|
|
1007
|
-
if (
|
|
1008
|
-
var R = f[
|
|
1009
|
-
return f.splice(
|
|
1006
|
+
var E = y(u, m, O);
|
|
1007
|
+
if (E) {
|
|
1008
|
+
var R = f[E].wrapper;
|
|
1009
|
+
return f.splice(E, 1), R;
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
1012
|
function y(u, m, O) {
|
|
1013
|
-
var
|
|
1014
|
-
for (
|
|
1015
|
-
if (R = f[
|
|
1016
|
-
return
|
|
1013
|
+
var E, R;
|
|
1014
|
+
for (E = 0; E < f.length; E++)
|
|
1015
|
+
if (R = f[E], R.element === u && R.type === m && R.fn === O)
|
|
1016
|
+
return E;
|
|
1017
1017
|
}
|
|
1018
1018
|
}).call(this, typeof Ze < "u" ? Ze : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
1019
1019
|
}, { "./eventmap": 7, "custom-event": 8 }],
|
|
@@ -1638,11 +1638,11 @@ function Ni(e, t, n, o, r, l, i, p, v, d, b, f, x, a, s, c, F) {
|
|
|
1638
1638
|
leftFixedGridDataStyle: m,
|
|
1639
1639
|
rightFixedGridDataStyle: O
|
|
1640
1640
|
} = a, {
|
|
1641
|
-
renderDataRow:
|
|
1642
|
-
} = fr(e, t, M, F, p, v, d, b, f, x, a, s, c), R = [
|
|
1641
|
+
renderDataRow: E
|
|
1642
|
+
} = fr(e, t, M, F, p, v, d, b, f, x, a, s, c), R = [E];
|
|
1643
1643
|
function L(ie, B) {
|
|
1644
1644
|
const T = S(ie);
|
|
1645
|
-
return F.value.filter((
|
|
1645
|
+
return F.value.filter((I) => I.visible !== !1).map((I, k) => R[I.type](I, T, B, k));
|
|
1646
1646
|
}
|
|
1647
1647
|
function P() {
|
|
1648
1648
|
return w("div", {
|
|
@@ -1694,17 +1694,17 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1694
1694
|
renderLoading: u
|
|
1695
1695
|
} = yr(e, v), m = hr(e, /* @__PURE__ */ new Map(), S, M, i), {
|
|
1696
1696
|
dataView: O
|
|
1697
|
-
} = m,
|
|
1697
|
+
} = m, E = br(e, m, i, a, t), {
|
|
1698
1698
|
showSelection: R,
|
|
1699
1699
|
selectedValues: L
|
|
1700
|
-
} =
|
|
1700
|
+
} = E, P = Cr(e, a, m, i, E, t), Q = _(() => e.disabled), Z = _(() => e.virtualized ? Math.min(m.dataView.value.length, r.value) : m.dataView.value.length), K = wr(e, m), {
|
|
1701
1701
|
shouldRenderPagination: ie
|
|
1702
1702
|
} = K, {
|
|
1703
1703
|
containerStyleObject: B
|
|
1704
1704
|
} = xr(e), T = Sr(e), {
|
|
1705
|
-
applyCommands:
|
|
1705
|
+
applyCommands: I
|
|
1706
1706
|
} = T;
|
|
1707
|
-
|
|
1707
|
+
I(l);
|
|
1708
1708
|
const {
|
|
1709
1709
|
applyColumnSetting: k,
|
|
1710
1710
|
removeColumnSetting: h
|
|
@@ -1716,9 +1716,9 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1716
1716
|
updateColumnRenderContext: V
|
|
1717
1717
|
} = g;
|
|
1718
1718
|
$(m, N);
|
|
1719
|
-
const le = Ir(e, re), se = Er(e, t,
|
|
1719
|
+
const le = Ir(e, re), se = Er(e, t, E, i), X = kr(e, t, i, se, a), z = Or(e), ue = Mr(e, X, z), pe = Pr(e, m, X, M, i, z, ue), de = Dr(e, l, m, Z, 0, pe), {
|
|
1720
1720
|
getVisualData: be
|
|
1721
|
-
} = de, ve = Nr(e, re), ke = Rr(e,
|
|
1721
|
+
} = de, ve = Nr(e, re), ke = Rr(e, E), {
|
|
1722
1722
|
sidebarWidth: Ce
|
|
1723
1723
|
} = ke, me = jr(e, m, a, re, de, Z, 0, Ce), {
|
|
1724
1724
|
onWheel: he,
|
|
@@ -1743,13 +1743,13 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1743
1743
|
"fv-grid-wrap-content": c.value
|
|
1744
1744
|
})), {
|
|
1745
1745
|
renderDataArea: Ee
|
|
1746
|
-
} = Ni(e, t, b, f, x, ve, g, m, X, M, se,
|
|
1746
|
+
} = Ni(e, t, b, f, x, ve, g, m, X, M, se, E, P, me, de, z, a), {
|
|
1747
1747
|
renderGridHeader: Oe,
|
|
1748
1748
|
renderGridColumnResizeOverlay: Qe,
|
|
1749
1749
|
shouldShowHeader: Dt
|
|
1750
|
-
} = zr(e, t, d, f, x, g, m, dt, ut, S, Xe, Ye, le,
|
|
1750
|
+
} = zr(e, t, d, f, x, g, m, dt, ut, S, Xe, Ye, le, E, ke, N, me, we, a), {
|
|
1751
1751
|
renderDataGridSidebar: Nt
|
|
1752
|
-
} = Hr(e, se,
|
|
1752
|
+
} = Hr(e, se, E, ke, me), {
|
|
1753
1753
|
renderDisableMask: Rt
|
|
1754
1754
|
} = _r(), {
|
|
1755
1755
|
renderHorizontalScrollbar: jt
|
|
@@ -1778,7 +1778,7 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1778
1778
|
m.expandTo(ee), m.reOrderVisibleIndex(), Ie();
|
|
1779
1779
|
}
|
|
1780
1780
|
function vt() {
|
|
1781
|
-
const ee =
|
|
1781
|
+
const ee = E.getSelectionRow();
|
|
1782
1782
|
return ee ? ee.dataIndex - 1 : -1;
|
|
1783
1783
|
}
|
|
1784
1784
|
function Vt() {
|
|
@@ -1795,7 +1795,7 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1795
1795
|
}
|
|
1796
1796
|
function _t() {
|
|
1797
1797
|
const ee = vt(), ce = P.getNextSelectableHierarchyItemId(ee);
|
|
1798
|
-
m.removeHierarchyDataItem(ee), a.value = be(0, Z.value + 0 - 1), ce &&
|
|
1798
|
+
m.removeHierarchyDataItem(ee), a.value = be(0, Z.value + 0 - 1), ce && P.selectItemById(ce);
|
|
1799
1799
|
}
|
|
1800
1800
|
function xt(ee) {
|
|
1801
1801
|
X.onEditingRow(ee);
|
|
@@ -1807,7 +1807,7 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1807
1807
|
X.cancelEditingRow(ee);
|
|
1808
1808
|
}
|
|
1809
1809
|
function H(ee) {
|
|
1810
|
-
ee && (l.value = ee,
|
|
1810
|
+
ee && (l.value = ee, I(l), V(l.value), $(m, N), qe());
|
|
1811
1811
|
}
|
|
1812
1812
|
Se(() => e.columns, (ee) => {
|
|
1813
1813
|
H(ee);
|
|
@@ -1816,7 +1816,7 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1816
1816
|
ee && (m.load(ee), m.reOrderVisibleIndex(), ce != null && ce.keepScrollPosition ? me.scrollTo(me.offsetY.value) : Ie());
|
|
1817
1817
|
}
|
|
1818
1818
|
function ae(ee) {
|
|
1819
|
-
|
|
1819
|
+
P.selectItemById(ee);
|
|
1820
1820
|
}
|
|
1821
1821
|
function ge(ee) {
|
|
1822
1822
|
const ce = a.value.find((Pe) => Pe.raw[i.idField.value] === ee);
|
|
@@ -1826,25 +1826,25 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1826
1826
|
se.activeRowById(ee);
|
|
1827
1827
|
}
|
|
1828
1828
|
function _e(ee) {
|
|
1829
|
-
|
|
1829
|
+
P.selectItemByIds(ee);
|
|
1830
1830
|
}
|
|
1831
1831
|
function $e() {
|
|
1832
|
-
return
|
|
1832
|
+
return E.getSelectedItems();
|
|
1833
1833
|
}
|
|
1834
1834
|
function Ae() {
|
|
1835
|
-
|
|
1835
|
+
E.clearSelection();
|
|
1836
1836
|
}
|
|
1837
1837
|
const Ue = _(() => !a.value || !a.value.length), {
|
|
1838
1838
|
renderEmpty: Me
|
|
1839
1839
|
} = Gr(e, t);
|
|
1840
1840
|
function Ge() {
|
|
1841
|
-
return
|
|
1841
|
+
return E.getSelectionRow();
|
|
1842
1842
|
}
|
|
1843
1843
|
function Ve(ee) {
|
|
1844
|
-
|
|
1844
|
+
P.unSelectItemByIds(ee);
|
|
1845
1845
|
}
|
|
1846
1846
|
function Ne() {
|
|
1847
|
-
return
|
|
1847
|
+
return E.currentSelectedDataId.value;
|
|
1848
1848
|
}
|
|
1849
1849
|
function gt(ee, ce, Pe) {
|
|
1850
1850
|
const Re = O.value.find((ze) => ze[p.value] === ee);
|
|
@@ -1898,7 +1898,7 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1898
1898
|
Pe && se.changeRow(Pe);
|
|
1899
1899
|
}
|
|
1900
1900
|
function Yo() {
|
|
1901
|
-
|
|
1901
|
+
E.keepSelectingOnPaging.value || Ae(), m.updateVisibleDataSummary(a.value);
|
|
1902
1902
|
}
|
|
1903
1903
|
t.expose({
|
|
1904
1904
|
activeRowById: ye,
|
|
@@ -1935,9 +1935,9 @@ const Yt = /* @__PURE__ */ je({
|
|
|
1935
1935
|
}), Qo = _(() => ({
|
|
1936
1936
|
...B.value,
|
|
1937
1937
|
borderRadius: "5px"
|
|
1938
|
-
}))
|
|
1939
|
-
|
|
1940
|
-
|
|
1938
|
+
}));
|
|
1939
|
+
Wr(e, t, m, me, K, E);
|
|
1940
|
+
const Jo = _(() => ({
|
|
1941
1941
|
"d-flex": !0,
|
|
1942
1942
|
"justify-content-between": ie.value && R.value,
|
|
1943
1943
|
"justify-content-end": ie.value && !R.value,
|
|
@@ -2175,7 +2175,7 @@ function To(e, t) {
|
|
|
2175
2175
|
}
|
|
2176
2176
|
return { getSchemaByType: l, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: v, mappingSchemaToProps: p, setDesignerContext: b };
|
|
2177
2177
|
}
|
|
2178
|
-
const Bo = {}, Io = {}, { resolveSchemaWithDefaultValue: ji, resolveSchemaToProps: $i, mappingSchemaToProps: Li, setDesignerContext: Ai } = To(Bo, Io);
|
|
2178
|
+
const Bo = {}, Io = {}, { getSchemaByType: Nc, resolveSchemaWithDefaultValue: ji, resolveSchemaToProps: $i, mappingSchemaToProps: Li, setDesignerContext: Ai } = To(Bo, Io);
|
|
2179
2179
|
function Vi(e = {}) {
|
|
2180
2180
|
function t(d, b, f, x) {
|
|
2181
2181
|
if (typeof f == "number")
|
|
@@ -2534,14 +2534,14 @@ function Eo(e, t, n) {
|
|
|
2534
2534
|
}
|
|
2535
2535
|
function b(s, c, F, S, M, j = "", y = "") {
|
|
2536
2536
|
return Object.keys(s).map((m) => {
|
|
2537
|
-
const O = C(1),
|
|
2537
|
+
const O = C(1), E = m, R = s[m], L = Object.keys(R), P = R.title, Q = R.type, Z = r.get(Q) || { type: "input-group", enableClear: !1 }, K = R.editor ? Object.assign({}, Z, R.editor) : Object.assign({}, Z), ie = p(L, R, c), B = v(L, R, c);
|
|
2538
2538
|
K.readonly = K.readonly === void 0 ? B() : K.readonly;
|
|
2539
|
-
const T = R.type === "cascade" ? b(R.properties, c, F, S, M, j, y) : [],
|
|
2539
|
+
const T = R.type === "cascade" ? b(R.properties, c, F, S, M, j, y) : [], I = !0;
|
|
2540
2540
|
let k = d(R, y);
|
|
2541
2541
|
const h = _({
|
|
2542
2542
|
get() {
|
|
2543
2543
|
if (O.value) {
|
|
2544
|
-
if (["class", "style"].find((se) => se ===
|
|
2544
|
+
if (["class", "style"].find((se) => se === E) && !k && (k = o.get("/converter/appearance.converter") || null), k && k.convertFrom)
|
|
2545
2545
|
return k.convertFrom(F, m, M, j);
|
|
2546
2546
|
const le = F[m];
|
|
2547
2547
|
return Object.prototype.hasOwnProperty.call(R, "defaultValue") && (le === void 0 || typeof le == "string" && le === "") ? R.type === "boolean" ? R.defaultValue : R.defaultValue || "" : le;
|
|
@@ -2551,8 +2551,8 @@ function Eo(e, t, n) {
|
|
|
2551
2551
|
set(le) {
|
|
2552
2552
|
O.value += 1, k && k.convertTo ? (k.convertTo(S, m, le, M, j), k.convertTo(F, m, le, M, j)) : (S[m] = le, F[m] = le);
|
|
2553
2553
|
}
|
|
2554
|
-
}), { refreshPanelAfterChanged: g, description: N, isExpand: $, parentPropertyID: re } = R, V = { propertyID:
|
|
2555
|
-
return c[
|
|
2554
|
+
}), { refreshPanelAfterChanged: g, description: N, isExpand: $, parentPropertyID: re } = R, V = { propertyID: E, propertyName: P, propertyType: Q, propertyValue: h, editor: K, visible: ie, readonly: B, cascadeConfig: T, hideCascadeTitle: I, refreshPanelAfterChanged: g, description: N, isExpand: $, parentPropertyID: re };
|
|
2555
|
+
return c[E] = V, V;
|
|
2556
2556
|
});
|
|
2557
2557
|
}
|
|
2558
2558
|
function f(s, c, F = {}) {
|
|
@@ -2563,13 +2563,13 @@ function Eo(e, t, n) {
|
|
|
2563
2563
|
}) : [];
|
|
2564
2564
|
}
|
|
2565
2565
|
function x(s, c, F, S, M = "") {
|
|
2566
|
-
const j = c.$ref.schema, y = c.$ref.converter, u = F[j], m = u.type, O = n(u),
|
|
2566
|
+
const j = c.$ref.schema, y = c.$ref.converter, u = F[j], m = u.type, O = n(u), E = {}, R = e[m];
|
|
2567
2567
|
if (R && R.categories) {
|
|
2568
2568
|
const L = R.categories[s], P = L == null ? void 0 : L.title;
|
|
2569
2569
|
y && Object.keys(L.properties).forEach((K) => {
|
|
2570
2570
|
L.properties[K].$converter = y;
|
|
2571
2571
|
});
|
|
2572
|
-
const Q = (L == null ? void 0 : L.properties) || {}, Z = b(Q,
|
|
2572
|
+
const Q = (L == null ? void 0 : L.properties) || {}, Z = b(Q, E, O, u, S, M);
|
|
2573
2573
|
return { categoryId: s, categoryName: P, properties: Z };
|
|
2574
2574
|
}
|
|
2575
2575
|
return { categoryId: s, categoryName: "", properties: [] };
|
|
@@ -2579,14 +2579,14 @@ function Eo(e, t, n) {
|
|
|
2579
2579
|
let m = M || e[j];
|
|
2580
2580
|
if (m && Object.keys(m).length === 0 && F && F.getPropConfig && (m = F.getPropConfig(S)), m && m.categories) {
|
|
2581
2581
|
const O = [];
|
|
2582
|
-
return Object.keys(m.categories).map((
|
|
2583
|
-
const R = m.categories[
|
|
2582
|
+
return Object.keys(m.categories).map((E) => {
|
|
2583
|
+
const R = m.categories[E];
|
|
2584
2584
|
if (R.$ref) {
|
|
2585
|
-
O.push(x(
|
|
2585
|
+
O.push(x(E, R, s, c, S));
|
|
2586
2586
|
return;
|
|
2587
2587
|
}
|
|
2588
2588
|
const L = R == null ? void 0 : R.title, P = R == null ? void 0 : R.tabId, Q = R == null ? void 0 : R.tabName, Z = R == null ? void 0 : R.hide, K = R == null ? void 0 : R.hideTitle, ie = b(R.properties || {}, u, y, s, c, S, R.$converter), { setPropertyRelates: B } = R, T = R == null ? void 0 : R.parentPropertyID;
|
|
2589
|
-
O.push({ categoryId:
|
|
2589
|
+
O.push({ categoryId: E, categoryName: L, tabId: P, tabName: Q, hide: Z, properties: ie, hideTitle: K, setPropertyRelates: B, parentPropertyID: T });
|
|
2590
2590
|
}), O;
|
|
2591
2591
|
}
|
|
2592
2592
|
return [];
|
|
@@ -2599,7 +2599,7 @@ function Eo(e, t, n) {
|
|
|
2599
2599
|
}
|
|
2600
2600
|
const ko = {}, Oo = {};
|
|
2601
2601
|
Eo(ko, Oo, ji);
|
|
2602
|
-
const Mo = {}, Po = {}, { resolveSchemaWithDefaultValue: la, setDesignerContext: ca } = To(Mo, Po), Do = {}, No = {};
|
|
2602
|
+
const Mo = {}, Po = {}, { getSchemaByType: Rc, resolveSchemaWithDefaultValue: la, resolveSchemaToProps: jc, mappingSchemaToProps: $c, setDesignerContext: ca } = To(Mo, Po), Do = {}, No = {};
|
|
2603
2603
|
Eo(Do, No, la);
|
|
2604
2604
|
function Pt(e, t, n = /* @__PURE__ */ new Map(), o = (i, p, v, d) => p, r = {}, l = (i) => i) {
|
|
2605
2605
|
return Bo[t.title] = t, Io[t.title] = o, ko[t.title] = r, Oo[t.title] = l, Mo[t.title] = t, Po[t.title] = o, Do[t.title] = r, No[t.title] = l, (i = {}, p = !0) => {
|
|
@@ -3397,9 +3397,9 @@ const Za = {
|
|
|
3397
3397
|
"common-group": !0,
|
|
3398
3398
|
"q-state-readonly": p.value
|
|
3399
3399
|
}));
|
|
3400
|
-
function j(
|
|
3401
|
-
i.value = R !== void 0 ? R :
|
|
3402
|
-
newValue:
|
|
3400
|
+
function j(E, R, L) {
|
|
3401
|
+
i.value = R !== void 0 ? R : E, t.emit("update:modelValue", i.value), t.emit("change", i.value, {
|
|
3402
|
+
newValue: E,
|
|
3403
3403
|
newModelValue: R,
|
|
3404
3404
|
parameters: L
|
|
3405
3405
|
});
|
|
@@ -3408,8 +3408,8 @@ const Za = {
|
|
|
3408
3408
|
t.emit("update:modelValue", "");
|
|
3409
3409
|
}
|
|
3410
3410
|
const u = _(() => {
|
|
3411
|
-
const
|
|
3412
|
-
return Q && (L[Q] = y), L[P] = j, (L.id == null || L.id === "") && (L.id = n.value),
|
|
3411
|
+
const E = r.value.type || "input-group", R = c(E), L = s(E, r.value), P = F(E), Q = S(r.value.type);
|
|
3412
|
+
return Q && (L[Q] = y), L[P] = j, (L.id == null || L.id === "") && (L.id = n.value), E === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (L.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (L.onEndValueChange = r.value.onEndValueChange)) : E === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? (L["onUpdate:idValue"] = r.value["onUpdate:idValue"], L.id = n.value) : E === "collection-property-editor" && r.value.onSelectionChange && typeof r.value.onSelectionChange == "function" ? L.onSelectionChange = r.value.onSelectionChange : E === "property-editor" && (L.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => w(R, at({
|
|
3413
3413
|
ref: f
|
|
3414
3414
|
}, L, {
|
|
3415
3415
|
modelValue: i.value,
|
|
@@ -3422,9 +3422,9 @@ const Za = {
|
|
|
3422
3422
|
errors: x.value
|
|
3423
3423
|
}, null);
|
|
3424
3424
|
}
|
|
3425
|
-
return Se([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible, () => e.errors], ([
|
|
3426
|
-
var
|
|
3427
|
-
n.value =
|
|
3425
|
+
return Se([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible, () => e.errors], ([E, R, L, P, Q, Z, K, ie, B, T]) => {
|
|
3426
|
+
var I;
|
|
3427
|
+
n.value = E, o.value = R, r.value = L, l.value = P, i.value = Q, p.value = Z, v.value = ((I = r.value) == null ? void 0 : I.required) || K, d.value = ie, b.value = B, x.value = T;
|
|
3428
3428
|
}), t.expose({
|
|
3429
3429
|
editorRef: f
|
|
3430
3430
|
}), () => b.value && w("div", {
|
|
@@ -3455,10 +3455,10 @@ function ts(e) {
|
|
|
3455
3455
|
return;
|
|
3456
3456
|
kt = !0;
|
|
3457
3457
|
const t = {
|
|
3458
|
-
schemaMap:
|
|
3459
|
-
propertyConfigSchemaMap:
|
|
3460
|
-
propertyEffectMap:
|
|
3461
|
-
schemaResolverMap:
|
|
3458
|
+
schemaMap: Xr,
|
|
3459
|
+
propertyConfigSchemaMap: Qr,
|
|
3460
|
+
propertyEffectMap: Jr,
|
|
3461
|
+
schemaResolverMap: Zr
|
|
3462
3462
|
};
|
|
3463
3463
|
e.forEach((n) => {
|
|
3464
3464
|
n.registerDesigner && n.registerDesigner(te, ne, oe, t);
|
|
@@ -4244,18 +4244,18 @@ class it {
|
|
|
4244
4244
|
function zs(e, t) {
|
|
4245
4245
|
const n = C(), o = C(), r = C(), l = C(), i = C(), p = C(), v = C(), d = C(), b = C(), f = C(), x = C(), a = C(e.resizeable), s = C(), c = C(e.draggable), F = C(!1);
|
|
4246
4246
|
function S() {
|
|
4247
|
-
const
|
|
4247
|
+
const I = o.value || document.body, k = window.getComputedStyle(I);
|
|
4248
4248
|
if (!k || !n.value)
|
|
4249
4249
|
return;
|
|
4250
4250
|
const h = Fe.getTransformInfo(n.value), g = {};
|
|
4251
4251
|
v.value && (g.deltaL = n.value.offsetLeft - v.value.x, g.deltaT = n.value.offsetTop - v.value.y);
|
|
4252
4252
|
const N = k.getPropertyValue("position");
|
|
4253
|
-
g.width =
|
|
4253
|
+
g.width = I.clientWidth, g.height = I.clientHeight, g.pr = parseInt(k.getPropertyValue("padding-right"), 10), g.pb = parseInt(k.getPropertyValue("padding-bottom"), 10), g.position = k.getPropertyValue("position"), N === "static" && (I.style.position = "relative"), g.translateX = h.x, g.translateY = h.y, f.value = g;
|
|
4254
4254
|
}
|
|
4255
|
-
function M(
|
|
4255
|
+
function M(I) {
|
|
4256
4256
|
if (n.value) {
|
|
4257
4257
|
l.value = it.getCurrent(n.value), i.value = Fe.getCurrent(n.value), p.value = l.value ? it.copy(l.value) : null, v.value = i.value ? Fe.copy(i.value) : null, S();
|
|
4258
|
-
const k =
|
|
4258
|
+
const k = I.target.getAttribute("type") || "";
|
|
4259
4259
|
d.value = {
|
|
4260
4260
|
n: !!k.match(/n/),
|
|
4261
4261
|
s: !!k.match(/s/),
|
|
@@ -4265,49 +4265,49 @@ function zs(e, t) {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
}
|
|
4267
4267
|
function j() {
|
|
4268
|
-
var
|
|
4268
|
+
var I, k, h, g;
|
|
4269
4269
|
if (n.value) {
|
|
4270
4270
|
const N = n.value;
|
|
4271
|
-
d.value && ((d.value.n || d.value.s) && ((
|
|
4271
|
+
d.value && ((d.value.n || d.value.s) && ((I = p.value) != null && I.height) && (N.style.height = p.value.height + "px"), (d.value.w || d.value.e) && ((k = p.value) != null && k.width) && (N.style.width = p.value.width + "px"), v.value && ((h = v.value) != null && h.x && (N.style.left = v.value.x + "px"), (g = v.value) != null && g.y && (N.style.top = v.value.y + "px")));
|
|
4272
4272
|
}
|
|
4273
4273
|
}
|
|
4274
4274
|
function y() {
|
|
4275
|
-
const
|
|
4276
|
-
p.value && v.value && d.value && l.value && (p.value.height <
|
|
4275
|
+
const I = e.minHeight ? e.minHeight : 1, k = e.minWidth ? e.minWidth : 1;
|
|
4276
|
+
p.value && v.value && d.value && l.value && (p.value.height < I && (p.value.height = I, d.value.n && i.value && (v.value.y = i.value.y + (l.value.height - I))), p.value.width < k && (p.value.width = k, d.value.w && i.value && (v.value.x = i.value.x + (l.value.width - k))), e.maxHeight && p.value.height > e.maxHeight && (p.value.height = e.maxHeight, i.value && d.value.n && (v.value.y = i.value.y + (l.value.height - e.maxHeight))), e.maxWidth && p.value.width > e.maxWidth && (p.value.width = e.maxWidth, d.value.w && i.value && (v.value.x = i.value.x + (l.value.width - e.maxWidth))));
|
|
4277
4277
|
}
|
|
4278
4278
|
function u() {
|
|
4279
4279
|
if (o.value) {
|
|
4280
|
-
const
|
|
4280
|
+
const I = f.value;
|
|
4281
4281
|
if (v.value && p.value && d.value && l.value) {
|
|
4282
|
-
const k =
|
|
4283
|
-
d.value.n && v.value.y +
|
|
4282
|
+
const k = I.width - I.pr - I.deltaL - I.translateX - v.value.x, h = I.height - I.pb - I.deltaT - I.translateY - v.value.y;
|
|
4283
|
+
d.value.n && v.value.y + I.translateY < 0 && i.value && (v.value.y = -I.translateY, p.value.height = l.value.height + i.value.y + I.translateY), d.value.w && v.value.x + I.translateX < 0 && i.value && (v.value.x = -I.translateX, p.value.width = l.value.width + i.value.x + I.translateX), p.value.width > k && (p.value.width = k), p.value.height > h && (p.value.height = h);
|
|
4284
4284
|
}
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
|
-
function m(
|
|
4287
|
+
function m(I) {
|
|
4288
4288
|
if (!r.value || !l.value || !i.value || !d.value)
|
|
4289
4289
|
return;
|
|
4290
|
-
|
|
4291
|
-
const k =
|
|
4290
|
+
I.subtract(r.value);
|
|
4291
|
+
const k = I.x, h = I.y;
|
|
4292
4292
|
d.value.n ? (v.value.y = i.value.y + h, p.value.height = l.value.height - h) : d.value.s && (p.value.height = l.value.height + h), d.value.e ? p.value.width = l.value.width + k : d.value.w && (p.value.width = l.value.width - k, v.value.x = i.value.x + k), u(), y(), j();
|
|
4293
4293
|
}
|
|
4294
|
-
function O(
|
|
4294
|
+
function O(I) {
|
|
4295
4295
|
if (!b.value)
|
|
4296
4296
|
return;
|
|
4297
|
-
const k = Fe.fromEvent(
|
|
4297
|
+
const k = Fe.fromEvent(I);
|
|
4298
4298
|
k && m(k);
|
|
4299
4299
|
}
|
|
4300
|
-
function
|
|
4300
|
+
function E() {
|
|
4301
4301
|
if (n.value) {
|
|
4302
4302
|
const {
|
|
4303
|
-
width:
|
|
4303
|
+
width: I,
|
|
4304
4304
|
height: k,
|
|
4305
4305
|
x: h,
|
|
4306
4306
|
y: g
|
|
4307
4307
|
} = n.value.getBoundingClientRect(), N = Fe.getTransformInfo(n.value);
|
|
4308
4308
|
return {
|
|
4309
4309
|
size: {
|
|
4310
|
-
width:
|
|
4310
|
+
width: I,
|
|
4311
4311
|
height: k
|
|
4312
4312
|
},
|
|
4313
4313
|
position: {
|
|
@@ -4318,9 +4318,9 @@ function zs(e, t) {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
return null;
|
|
4320
4320
|
}
|
|
4321
|
-
function R(
|
|
4321
|
+
function R(I) {
|
|
4322
4322
|
if (n.value) {
|
|
4323
|
-
const k =
|
|
4323
|
+
const k = E();
|
|
4324
4324
|
x.value = k;
|
|
4325
4325
|
}
|
|
4326
4326
|
r.value = void 0, l.value = null, i.value = null, p.value = null, v.value = null, d.value = null, b.value = null, document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", R);
|
|
@@ -4328,11 +4328,11 @@ function zs(e, t) {
|
|
|
4328
4328
|
function L() {
|
|
4329
4329
|
document.addEventListener("mousemove", O), document.addEventListener("mouseup", R);
|
|
4330
4330
|
}
|
|
4331
|
-
function P(
|
|
4332
|
-
|
|
4331
|
+
function P(I) {
|
|
4332
|
+
I instanceof MouseEvent && I.button === 2 || c.value && (document.body.click(), I.stopPropagation(), I.preventDefault(), r.value = Fe.fromEvent(I), b.value = I.target, M(I), L());
|
|
4333
4333
|
}
|
|
4334
|
-
function Q(
|
|
4335
|
-
return n.value =
|
|
4334
|
+
function Q(I) {
|
|
4335
|
+
return n.value = I, a.value && w(ct, null, [w("div", {
|
|
4336
4336
|
class: "fv-resizable-handle fv-resizable-n",
|
|
4337
4337
|
type: "n",
|
|
4338
4338
|
onMousedown: (k) => P(k)
|
|
@@ -4366,10 +4366,10 @@ function zs(e, t) {
|
|
|
4366
4366
|
onMousedown: (k) => P(k)
|
|
4367
4367
|
}, null)]);
|
|
4368
4368
|
}
|
|
4369
|
-
function Z(
|
|
4369
|
+
function Z(I = !0) {
|
|
4370
4370
|
document.body.click();
|
|
4371
4371
|
const k = o.value || document.body, h = it.getCurrent(k), g = n.value;
|
|
4372
|
-
|
|
4372
|
+
I && g && (s.value = E(), s.value.transform = g.style.transform), h && g && (p.value = h, p.value.height -= 14, p.value.width -= 14, g.style.height = p.value.height + "px", g.style.width = p.value.width + "px", g.style.left = "7px", g.style.top = "7px", g.style.transform = "", x.value = {
|
|
4373
4373
|
size: p.value,
|
|
4374
4374
|
position: {
|
|
4375
4375
|
x: 0,
|
|
@@ -4378,7 +4378,7 @@ function zs(e, t) {
|
|
|
4378
4378
|
}, c.value = !1, F.value = !0);
|
|
4379
4379
|
}
|
|
4380
4380
|
function K() {
|
|
4381
|
-
var
|
|
4381
|
+
var I, k;
|
|
4382
4382
|
if (document.body.click(), s.value) {
|
|
4383
4383
|
const h = {
|
|
4384
4384
|
width: s.value.size.width || 0,
|
|
@@ -4387,7 +4387,7 @@ function zs(e, t) {
|
|
|
4387
4387
|
x: (window.innerWidth - h.width) / 2,
|
|
4388
4388
|
y: (window.innerHeight - h.height) / 2
|
|
4389
4389
|
};
|
|
4390
|
-
(
|
|
4390
|
+
(I = p.value) == null || I.set(h), (k = v.value) == null || k.set(g);
|
|
4391
4391
|
const N = n.value;
|
|
4392
4392
|
N.style.height = h.height + "px", N.style.width = h.width + "px", N.style.left = `${g.x}px`, N.style.top = `${g.y}px`, N.style.transform = "", x.value = {
|
|
4393
4393
|
size: h,
|
|
@@ -4397,22 +4397,22 @@ function zs(e, t) {
|
|
|
4397
4397
|
}
|
|
4398
4398
|
function ie() {
|
|
4399
4399
|
if (n.value) {
|
|
4400
|
-
const
|
|
4401
|
-
if (
|
|
4400
|
+
const I = it.getCurrent(n.value);
|
|
4401
|
+
if (I) {
|
|
4402
4402
|
const {
|
|
4403
4403
|
width: k,
|
|
4404
4404
|
height: h
|
|
4405
|
-
} =
|
|
4405
|
+
} = I;
|
|
4406
4406
|
n.value.style.left = `${(window.innerWidth - k) / 2}px`, n.value.style.top = `${(window.innerHeight - h) / 2}px`, n.value.style.transform = "";
|
|
4407
4407
|
}
|
|
4408
4408
|
}
|
|
4409
4409
|
}
|
|
4410
4410
|
function B() {
|
|
4411
|
-
const
|
|
4411
|
+
const I = () => {
|
|
4412
4412
|
F.value ? Z(!1) : ie(), document.body.click();
|
|
4413
4413
|
};
|
|
4414
|
-
return window.addEventListener("resize",
|
|
4415
|
-
window.removeEventListener("resize",
|
|
4414
|
+
return window.addEventListener("resize", I), () => {
|
|
4415
|
+
window.removeEventListener("resize", I);
|
|
4416
4416
|
};
|
|
4417
4417
|
}
|
|
4418
4418
|
const T = B();
|
|
@@ -4433,33 +4433,33 @@ function Hs(e, t, n) {
|
|
|
4433
4433
|
Se(() => n.value, (O) => {
|
|
4434
4434
|
i.value.style.cursor = O ? "move" : "default";
|
|
4435
4435
|
});
|
|
4436
|
-
function a(O,
|
|
4437
|
-
if (
|
|
4436
|
+
function a(O, E) {
|
|
4437
|
+
if (E.tagName === "BUTTON")
|
|
4438
4438
|
return !1;
|
|
4439
|
-
if (
|
|
4439
|
+
if (E === O)
|
|
4440
4440
|
return !0;
|
|
4441
|
-
for (const R in
|
|
4442
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
4441
|
+
for (const R in E.children)
|
|
4442
|
+
if (Object.prototype.hasOwnProperty.call(E.children, R) && a(O, E.children[R]))
|
|
4443
4443
|
return !0;
|
|
4444
4444
|
return !1;
|
|
4445
4445
|
}
|
|
4446
4446
|
function s() {
|
|
4447
4447
|
var L, P;
|
|
4448
|
-
let O = f.value.x + b.value.x,
|
|
4449
|
-
l.value === "x" ? (O = ((L = d.value) == null ? void 0 : L.x) || 0, f.value.x = 0) : l.value === "y" && (
|
|
4450
|
-
const R = `translate3d(${Math.round(O)}px, ${Math.round(
|
|
4451
|
-
o.value && (o.value.style.transform = R), x.value.x = O, x.value.y =
|
|
4448
|
+
let O = f.value.x + b.value.x, E = f.value.y + b.value.y;
|
|
4449
|
+
l.value === "x" ? (O = ((L = d.value) == null ? void 0 : L.x) || 0, f.value.x = 0) : l.value === "y" && (E = ((P = d.value) == null ? void 0 : P.y) || 0, f.value.y = 0);
|
|
4450
|
+
const R = `translate3d(${Math.round(O)}px, ${Math.round(E)}px, 0px)`;
|
|
4451
|
+
o.value && (o.value.style.transform = R), x.value.x = O, x.value.y = E;
|
|
4452
4452
|
}
|
|
4453
4453
|
function c() {
|
|
4454
4454
|
if (!p.value || !o.value)
|
|
4455
4455
|
return null;
|
|
4456
|
-
const O = p.value.getBoundingClientRect(),
|
|
4457
|
-
top: O.top <
|
|
4458
|
-
right: O.right >
|
|
4459
|
-
bottom: O.bottom >
|
|
4460
|
-
left: O.left <
|
|
4456
|
+
const O = p.value.getBoundingClientRect(), E = o.value.getBoundingClientRect(), R = {
|
|
4457
|
+
top: O.top < E.top,
|
|
4458
|
+
right: O.right > E.right,
|
|
4459
|
+
bottom: O.bottom > E.bottom,
|
|
4460
|
+
left: O.left < E.left
|
|
4461
4461
|
};
|
|
4462
|
-
return R.top || (f.value.y -=
|
|
4462
|
+
return R.top || (f.value.y -= E.top - O.top), R.bottom || (f.value.y -= E.bottom - O.bottom), R.right || (f.value.x -= E.right - O.right), R.left || (f.value.x -= E.left - O.left), s(), R;
|
|
4463
4463
|
}
|
|
4464
4464
|
function F(O) {
|
|
4465
4465
|
O && (d.value && O.subtract(d.value), f.value.set(O), s(), c());
|
|
@@ -4485,22 +4485,22 @@ function Hs(e, t, n) {
|
|
|
4485
4485
|
function u(O) {
|
|
4486
4486
|
if (!n.value || O instanceof MouseEvent && O.button === 2)
|
|
4487
4487
|
return;
|
|
4488
|
-
const
|
|
4489
|
-
i.value !== void 0 &&
|
|
4488
|
+
const E = O.target || O.srcElement;
|
|
4489
|
+
i.value !== void 0 && E && !a(E, i.value) || r.value !== !1 && (document.body.click(), O.stopPropagation(), O.preventDefault(), d.value = Fe.fromEvent(O, o.value), y(), j());
|
|
4490
4490
|
}
|
|
4491
|
-
function m(O,
|
|
4492
|
-
if (r.value &&
|
|
4491
|
+
function m(O, E, R) {
|
|
4492
|
+
if (r.value && E) {
|
|
4493
4493
|
if (O)
|
|
4494
4494
|
i.value = O;
|
|
4495
4495
|
else if (e.dragHandle) {
|
|
4496
4496
|
if (e.dragHandle instanceof HTMLElement)
|
|
4497
4497
|
i.value = e.dragHandle;
|
|
4498
4498
|
else if (typeof e.dragHandle == "string") {
|
|
4499
|
-
const L =
|
|
4499
|
+
const L = E.querySelector(e.dragHandle);
|
|
4500
4500
|
L && (i.value = L);
|
|
4501
4501
|
}
|
|
4502
4502
|
}
|
|
4503
|
-
o.value =
|
|
4503
|
+
o.value = E, p.value = R, i.value ? (i.value.classList.add("ng-draggable"), i.value.addEventListener("mousedown", u)) : r.value = !1;
|
|
4504
4504
|
}
|
|
4505
4505
|
}
|
|
4506
4506
|
return {
|
|
@@ -4571,12 +4571,12 @@ const lt = /* @__PURE__ */ je({
|
|
|
4571
4571
|
handle: (A) => {
|
|
4572
4572
|
m(A, !0);
|
|
4573
4573
|
}
|
|
4574
|
-
}],
|
|
4574
|
+
}], E = C(e.buttons && e.buttons.length ? e.buttons : O), R = _(() => !!d.value), L = _(() => !!F.value && !!E.value), P = C(), Q = C(), Z = C(!1), {
|
|
4575
4575
|
renderResizeBar: K,
|
|
4576
4576
|
maximize: ie,
|
|
4577
4577
|
restore: B,
|
|
4578
4578
|
boundingElement: T,
|
|
4579
|
-
resizedEventParam:
|
|
4579
|
+
resizedEventParam: I,
|
|
4580
4580
|
allowDrag: k,
|
|
4581
4581
|
unWindowResizeHandle: h,
|
|
4582
4582
|
moveToCenter: g
|
|
@@ -4600,7 +4600,7 @@ const lt = /* @__PURE__ */ je({
|
|
|
4600
4600
|
A !== fe && (v.value = A);
|
|
4601
4601
|
}), Se(() => e.showButtons, (A, fe) => {
|
|
4602
4602
|
A !== fe && (F.value = A);
|
|
4603
|
-
}), Se(() =>
|
|
4603
|
+
}), Se(() => I.value, (A, fe) => {
|
|
4604
4604
|
const Ee = A || {}, Oe = fe || {};
|
|
4605
4605
|
JSON.stringify(Ee) !== JSON.stringify(Oe) && t.emit("resize", {
|
|
4606
4606
|
newSize: A,
|
|
@@ -4678,7 +4678,7 @@ const lt = /* @__PURE__ */ je({
|
|
|
4678
4678
|
A.handle && await A.handle(fe, A) && t.emit("closed", fe);
|
|
4679
4679
|
}
|
|
4680
4680
|
function Te(A) {
|
|
4681
|
-
A.width && (n.value = A.width), A.height && (o.value = A.height), A.buttons && (
|
|
4681
|
+
A.width && (n.value = A.width), A.height && (o.value = A.height), A.buttons && (E.value = A.buttons), A.title && (S.value = A.title);
|
|
4682
4682
|
}
|
|
4683
4683
|
let Be = null, we = null;
|
|
4684
4684
|
gn(() => {
|
|
@@ -4717,7 +4717,7 @@ const lt = /* @__PURE__ */ je({
|
|
|
4717
4717
|
return w("div", {
|
|
4718
4718
|
class: "modal-footer",
|
|
4719
4719
|
style: Ce.value
|
|
4720
|
-
}, [
|
|
4720
|
+
}, [E.value && E.value.map((A) => {
|
|
4721
4721
|
const fe = C(A.disabled);
|
|
4722
4722
|
return w("button", {
|
|
4723
4723
|
name: A.name,
|
|
@@ -5098,7 +5098,7 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5098
5098
|
}, {
|
|
5099
5099
|
name: "表格",
|
|
5100
5100
|
value: "data-grid"
|
|
5101
|
-
}], m = C(), O = C(""),
|
|
5101
|
+
}], m = C(), O = C(""), E = C([{
|
|
5102
5102
|
id: "selectComponentType",
|
|
5103
5103
|
title: "选择组件类型"
|
|
5104
5104
|
}, {
|
|
@@ -5113,7 +5113,7 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5113
5113
|
"mx-3": !0,
|
|
5114
5114
|
"my-2": !0,
|
|
5115
5115
|
"position-relative": !0,
|
|
5116
|
-
"d-none":
|
|
5116
|
+
"d-none": E.value[R.value].id !== N
|
|
5117
5117
|
}));
|
|
5118
5118
|
function Q() {
|
|
5119
5119
|
e.bindingEntityId && (d != null && d.value) && (O.value = d.value.name), e.componentType || (m.value = b.value ? "response-form" : "data-grid");
|
|
@@ -5123,10 +5123,10 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5123
5123
|
N && (a(N), c.value.updateDataSource(s.value));
|
|
5124
5124
|
}
|
|
5125
5125
|
gn(() => {
|
|
5126
|
-
e.steps && (
|
|
5126
|
+
e.steps && (E.value = E.value.filter((N) => e.steps.includes(N.id))), L.value = E.value[0].id, p(), Q();
|
|
5127
5127
|
}), et(() => {
|
|
5128
5128
|
var N, $;
|
|
5129
|
-
r && ((N = d.value) != null && N.id) && r.value.selectItemById(($ = d.value) == null ? void 0 : $.id),
|
|
5129
|
+
r && ((N = d.value) != null && N.id) && r.value.selectItemById(($ = d.value) == null ? void 0 : $.id), E.value.length === 1 && E.value[0].id === "selectFields" && Z();
|
|
5130
5130
|
});
|
|
5131
5131
|
function K(N) {
|
|
5132
5132
|
var $;
|
|
@@ -5216,8 +5216,8 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5216
5216
|
editor: $
|
|
5217
5217
|
}, null)])])])])]);
|
|
5218
5218
|
}
|
|
5219
|
-
function
|
|
5220
|
-
R.value--, L.value =
|
|
5219
|
+
function I() {
|
|
5220
|
+
R.value--, L.value = E.value[R.value].id;
|
|
5221
5221
|
}
|
|
5222
5222
|
function k() {
|
|
5223
5223
|
var N;
|
|
@@ -5239,7 +5239,7 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5239
5239
|
break;
|
|
5240
5240
|
}
|
|
5241
5241
|
}
|
|
5242
|
-
R.value++, L.value =
|
|
5242
|
+
R.value++, L.value = E.value[R.value].id;
|
|
5243
5243
|
}
|
|
5244
5244
|
function h() {
|
|
5245
5245
|
t.emit("cancel");
|
|
@@ -5261,8 +5261,8 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5261
5261
|
var N;
|
|
5262
5262
|
return w("div", {
|
|
5263
5263
|
class: "h-100 d-flex flex-column"
|
|
5264
|
-
}, [((N =
|
|
5265
|
-
steps:
|
|
5264
|
+
}, [((N = E.value) == null ? void 0 : N.length) > 1 ? w(Ta, {
|
|
5265
|
+
steps: E,
|
|
5266
5266
|
activeIndex: R,
|
|
5267
5267
|
style: "align-self:center"
|
|
5268
5268
|
}, null) : "", w("div", {
|
|
@@ -5281,11 +5281,11 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5281
5281
|
onClick: h
|
|
5282
5282
|
}, [He("取消")]), R.value !== 0 ? w("button", {
|
|
5283
5283
|
class: "btn btn-secondary",
|
|
5284
|
-
onClick:
|
|
5285
|
-
}, [He("上一步")]) : "", R.value !==
|
|
5284
|
+
onClick: I
|
|
5285
|
+
}, [He("上一步")]) : "", R.value !== E.value.length - 1 ? w("button", {
|
|
5286
5286
|
class: "btn btn-primary",
|
|
5287
5287
|
onClick: k
|
|
5288
|
-
}, [He("下一步")]) : "", R.value ===
|
|
5288
|
+
}, [He("下一步")]) : "", R.value === E.value.length - 1 ? w("button", {
|
|
5289
5289
|
class: "btn btn-primary",
|
|
5290
5290
|
onClick: g
|
|
5291
5291
|
}, [He("确定")]) : ""])]);
|
|
@@ -5295,7 +5295,7 @@ const Gs = /* @__PURE__ */ je({
|
|
|
5295
5295
|
function pn(e) {
|
|
5296
5296
|
let t, n;
|
|
5297
5297
|
function o(y, u, m) {
|
|
5298
|
-
var
|
|
5298
|
+
var E;
|
|
5299
5299
|
const O = {
|
|
5300
5300
|
componentType: y.getAttribute("data-controltype") || "",
|
|
5301
5301
|
componentFeature: y.getAttribute("data-feature") || "",
|
|
@@ -5309,15 +5309,15 @@ function pn(e) {
|
|
|
5309
5309
|
bindingSourceContext: null,
|
|
5310
5310
|
bindingTargetId: y.getAttribute("data-fieldId") || ""
|
|
5311
5311
|
};
|
|
5312
|
-
return y.componentInstance && (O.componentType = (
|
|
5312
|
+
return y.componentInstance && (O.componentType = (E = y.componentInstance.value.schema) == null ? void 0 : E.type), O;
|
|
5313
5313
|
}
|
|
5314
5314
|
function r(y) {
|
|
5315
|
-
var O,
|
|
5315
|
+
var O, E;
|
|
5316
5316
|
const {
|
|
5317
5317
|
bindingContext: u,
|
|
5318
5318
|
componentType: m
|
|
5319
5319
|
} = y;
|
|
5320
|
-
n.bindingSourceContext = u, m && (n.componentType = m), (O = t == null ? void 0 : t.modalRef) != null && O.value.close && ((
|
|
5320
|
+
n.bindingSourceContext = u, m && (n.componentType = m), (O = t == null ? void 0 : t.modalRef) != null && O.value.close && ((E = t == null ? void 0 : t.modalRef) == null || E.value.close());
|
|
5321
5321
|
}
|
|
5322
5322
|
function l() {
|
|
5323
5323
|
var y, u;
|
|
@@ -5383,7 +5383,7 @@ function pn(e) {
|
|
|
5383
5383
|
bindingType: m
|
|
5384
5384
|
} = y, {
|
|
5385
5385
|
groupId: O,
|
|
5386
|
-
groupName:
|
|
5386
|
+
groupName: E
|
|
5387
5387
|
} = d(n.parentComponentInstance), R = {
|
|
5388
5388
|
bindingType: "field"
|
|
5389
5389
|
};
|
|
@@ -5391,13 +5391,13 @@ function pn(e) {
|
|
|
5391
5391
|
const Q = u;
|
|
5392
5392
|
R.entityFieldNode = Q, R.designViewModelField = St({}, Q, {
|
|
5393
5393
|
groupId: O,
|
|
5394
|
-
groupName:
|
|
5394
|
+
groupName: E
|
|
5395
5395
|
}), n.bindingSourceContext = R;
|
|
5396
5396
|
} else {
|
|
5397
5397
|
const Q = u;
|
|
5398
5398
|
R.variableFieldNode = St({}, Q, {
|
|
5399
5399
|
groupId: O,
|
|
5400
|
-
groupName:
|
|
5400
|
+
groupName: E
|
|
5401
5401
|
}), n.bindingSourceContext = R;
|
|
5402
5402
|
}
|
|
5403
5403
|
(L = t == null ? void 0 : t.modalRef) != null && L.value.close && ((P = t == null ? void 0 : t.modalRef) == null || P.value.close());
|
|
@@ -5455,8 +5455,8 @@ function pn(e) {
|
|
|
5455
5455
|
function s() {
|
|
5456
5456
|
const {
|
|
5457
5457
|
formSchemaUtils: y
|
|
5458
|
-
} = e, u = n.parentComponentInstance.belongedComponentId, m = /* @__PURE__ */ new Set(), O = y.getFormSchema().module,
|
|
5459
|
-
let L =
|
|
5458
|
+
} = e, u = n.parentComponentInstance.belongedComponentId, m = /* @__PURE__ */ new Set(), O = y.getFormSchema().module, E = O.components.find((P) => P.id === u), R = y.getViewModelById(E.viewModel);
|
|
5459
|
+
let L = E.componentType;
|
|
5460
5460
|
return (L === "frame" || L === "table") && (L = "form"), O.viewmodels.forEach((P) => {
|
|
5461
5461
|
if (!P.fields || P.fields.length === 0)
|
|
5462
5462
|
return;
|
|
@@ -5487,7 +5487,7 @@ function pn(e) {
|
|
|
5487
5487
|
} else {
|
|
5488
5488
|
const O = {
|
|
5489
5489
|
bindingType: "field"
|
|
5490
|
-
},
|
|
5490
|
+
}, E = e.formSchemaUtils.getComponentById(u.belongedComponentId), R = e.schemaService.getFieldByIDAndVMID(y, E.viewModel), L = St({}, R.schemaField);
|
|
5491
5491
|
O.entityFieldNode = L;
|
|
5492
5492
|
const {
|
|
5493
5493
|
groupId: P,
|
|
@@ -5789,7 +5789,7 @@ const Xt = /* @__PURE__ */ je({
|
|
|
5789
5789
|
class: "f-icon f-icon-yxs_delete"
|
|
5790
5790
|
}, null)]);
|
|
5791
5791
|
}
|
|
5792
|
-
function
|
|
5792
|
+
function E() {
|
|
5793
5793
|
return o.value && w("div", {
|
|
5794
5794
|
role: "button",
|
|
5795
5795
|
class: "btn component-settings-button",
|
|
@@ -5817,7 +5817,7 @@ const Xt = /* @__PURE__ */ je({
|
|
|
5817
5817
|
return w("div", {
|
|
5818
5818
|
class: "component-btn-group",
|
|
5819
5819
|
"data-noattach": "true"
|
|
5820
|
-
}, [w("div", null, [O(h),
|
|
5820
|
+
}, [w("div", null, [O(h), E(), R()])]);
|
|
5821
5821
|
}
|
|
5822
5822
|
function P(h, g, N, $) {
|
|
5823
5823
|
t.emit("selectionChange", h, g, N, $);
|
|
@@ -5882,7 +5882,7 @@ const Xt = /* @__PURE__ */ je({
|
|
|
5882
5882
|
const g = h == null ? void 0 : h.target;
|
|
5883
5883
|
B(g), Tt(g);
|
|
5884
5884
|
}
|
|
5885
|
-
function
|
|
5885
|
+
function I() {
|
|
5886
5886
|
var h, g;
|
|
5887
5887
|
if (f.value) {
|
|
5888
5888
|
(g = (h = i.value) == null ? void 0 : h.contents) != null && g.length && f.value.addEventListener("scroll", T);
|
|
@@ -5895,7 +5895,7 @@ const Xt = /* @__PURE__ */ je({
|
|
|
5895
5895
|
const h = f.value.querySelector(`[data-dragref='${a.value.schema.id}-container']`);
|
|
5896
5896
|
x && h && x.attachComponents(h, i.value), l.value = a.value.canNested !== void 0 ? a.value.canNested : l.value, r.value = a.value.canDelete !== void 0 ? a.value.canDelete : r.value, o.value = a.value.canMove !== void 0 ? a.value.canMove : o.value, v.value = a.value.styles || "", d.value = a.value.designerClass || "", f.value && (f.value.componentInstance = a, f.value.designItemContext = F), a.value.belongedComponentId = p.value, a.value.setComponentBasicInfoMap(M);
|
|
5897
5897
|
}
|
|
5898
|
-
|
|
5898
|
+
I(), mt.value++;
|
|
5899
5899
|
}), sr(() => {
|
|
5900
5900
|
f.value && f.value.removeEventListener("scroll", T);
|
|
5901
5901
|
});
|
|
@@ -5980,8 +5980,8 @@ const Xt = /* @__PURE__ */ je({
|
|
|
5980
5980
|
});
|
|
5981
5981
|
}), b.observe(l.value);
|
|
5982
5982
|
}
|
|
5983
|
-
function M(u, m, O,
|
|
5984
|
-
t.emit("selectionChange", u, m, O,
|
|
5983
|
+
function M(u, m, O, E) {
|
|
5984
|
+
t.emit("selectionChange", u, m, O, E);
|
|
5985
5985
|
}
|
|
5986
5986
|
function j() {
|
|
5987
5987
|
t.emit("dragEnd");
|
|
@@ -6042,8 +6042,8 @@ const Xt = /* @__PURE__ */ je({
|
|
|
6042
6042
|
}));
|
|
6043
6043
|
function S(u, m) {
|
|
6044
6044
|
if (b(u) && b(m)) {
|
|
6045
|
-
const O = d(u),
|
|
6046
|
-
x(u.id, m.id, O,
|
|
6045
|
+
const O = d(u), E = d(m);
|
|
6046
|
+
x(u.id, m.id, O, E);
|
|
6047
6047
|
const R = u.id, L = m.id, P = R.split(/(-left-point|-right-point|-top-point|-bottom-point)/, 1)[0], Q = L.split(/(-left-point|-right-point|-top-point|-bottom-point)/, 1)[0];
|
|
6048
6048
|
s(P, R, Q, L);
|
|
6049
6049
|
}
|
|
@@ -6058,8 +6058,8 @@ const Xt = /* @__PURE__ */ je({
|
|
|
6058
6058
|
Se([() => e.x, () => e.y], () => {
|
|
6059
6059
|
const u = c(n.value);
|
|
6060
6060
|
u.length && u.forEach((m) => {
|
|
6061
|
-
const O = document.getElementById(m.from),
|
|
6062
|
-
O &&
|
|
6061
|
+
const O = document.getElementById(m.from), E = document.getElementById(m.to);
|
|
6062
|
+
O && E && S(O, E);
|
|
6063
6063
|
});
|
|
6064
6064
|
});
|
|
6065
6065
|
const y = _(() => ({
|
|
@@ -6114,7 +6114,7 @@ function el(e) {
|
|
|
6114
6114
|
}
|
|
6115
6115
|
return { addConnection: r, getConnectionsOfNode: l };
|
|
6116
6116
|
}
|
|
6117
|
-
const
|
|
6117
|
+
const Lc = /* @__PURE__ */ je({
|
|
6118
6118
|
name: "FFlowCanvas",
|
|
6119
6119
|
props: hi,
|
|
6120
6120
|
emits: [],
|
|
@@ -6159,6 +6159,6 @@ const Rc = /* @__PURE__ */ je({
|
|
|
6159
6159
|
}
|
|
6160
6160
|
});
|
|
6161
6161
|
export {
|
|
6162
|
-
|
|
6162
|
+
Lc as FFlowCanvas,
|
|
6163
6163
|
hi as flowCanvasProps
|
|
6164
6164
|
};
|