@farris/ui-vue 1.6.5-beta.4 → 1.6.5-beta.6
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/package.json +1 -1
- package/components/avatar/index.esm.js +1 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/avatar/package.json +1 -1
- package/components/binding-selector/package.json +1 -1
- package/components/border-editor/package.json +1 -1
- package/components/button/package.json +1 -1
- package/components/button-edit/index.esm.js +170 -170
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/button-edit/package.json +1 -1
- package/components/button-group/package.json +1 -1
- package/components/calculator/package.json +1 -1
- package/components/calendar/package.json +1 -1
- package/components/capsule/package.json +1 -1
- package/components/checkbox/package.json +1 -1
- package/components/checkbox-group/package.json +1 -1
- package/components/code-editor/package.json +1 -1
- package/components/collection-property-editor/package.json +1 -1
- package/components/color-picker/package.json +1 -1
- package/components/combo-list/package.json +1 -1
- package/components/combo-tree/package.json +1 -1
- package/components/common/package.json +1 -1
- package/components/component/index.esm.js +201 -201
- package/components/component/index.umd.cjs +1 -1
- package/components/component/package.json +1 -1
- package/components/condition/index.esm.js +1 -1
- package/components/condition/index.umd.cjs +1 -1
- package/components/condition/package.json +1 -1
- package/components/content-container/index.esm.js +1 -1
- package/components/content-container/index.umd.cjs +1 -1
- package/components/content-container/package.json +1 -1
- package/components/data-grid/package.json +1 -1
- package/components/data-view/package.json +1 -1
- package/components/date-picker/package.json +1 -1
- package/components/designer-canvas/index.esm.js +255 -255
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-canvas/package.json +1 -1
- package/components/designer-outline/package.json +1 -1
- package/components/designer-toolbox/package.json +1 -1
- package/components/discussion-editor/package.json +1 -1
- package/components/discussion-list/package.json +1 -1
- package/components/drawer/package.json +1 -1
- package/components/dropdown/package.json +1 -1
- package/components/dynamic-form/index.esm.js +1 -1
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-form/package.json +1 -1
- package/components/dynamic-resolver/package.json +1 -1
- package/components/dynamic-view/package.json +1 -1
- package/components/enum-editor/package.json +1 -1
- package/components/event-parameter/package.json +1 -1
- package/components/events-editor/index.esm.js +1 -1
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/events-editor/package.json +1 -1
- package/components/expression-editor/index.esm.js +1 -1
- package/components/expression-editor/index.umd.cjs +3 -3
- package/components/expression-editor/package.json +1 -1
- package/components/external-container/package.json +1 -1
- package/components/field-selector/package.json +1 -1
- package/components/fieldset/package.json +1 -1
- package/components/filter-bar/index.esm.js +1 -1
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/filter-bar/package.json +1 -1
- package/components/filter-condition-editor/index.esm.js +1 -1
- package/components/filter-condition-editor/index.umd.cjs +1 -1
- package/components/filter-condition-editor/package.json +1 -1
- package/components/flow-canvas/index.esm.js +1 -1
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/flow-canvas/package.json +1 -1
- package/components/html-template/package.json +1 -1
- package/components/image-cropper/package.json +1 -1
- package/components/input-group/package.json +1 -1
- package/components/json-editor/package.json +1 -1
- package/components/language-textbox/package.json +1 -1
- package/components/layout/package.json +1 -1
- package/components/list-nav/package.json +1 -1
- package/components/list-view/package.json +1 -1
- package/components/loading/package.json +1 -1
- package/components/locale/package.json +1 -1
- package/components/lookup/package.json +1 -1
- package/components/mapping-editor/index.esm.js +1 -1
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/mapping-editor/package.json +1 -1
- package/components/menu-lookup/package.json +1 -1
- package/components/message-box/index.esm.js +1 -1
- package/components/message-box/index.umd.cjs +1 -1
- package/components/message-box/package.json +1 -1
- package/components/modal/index.esm.js +1 -1
- package/components/modal/index.umd.cjs +1 -1
- package/components/modal/package.json +1 -1
- package/components/nav/package.json +1 -1
- package/components/notify/package.json +1 -1
- package/components/number-range/index.esm.js +1 -1
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-range/package.json +1 -1
- package/components/number-spinner/index.esm.js +1 -1
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/number-spinner/package.json +1 -1
- package/components/order/package.json +1 -1
- package/components/page-footer/package.json +1 -1
- package/components/page-header/package.json +1 -1
- package/components/pagination/package.json +1 -1
- package/components/popover/package.json +1 -1
- package/components/progress/package.json +1 -1
- package/components/property-editor/package.json +1 -1
- package/components/property-panel/index.esm.js +82 -82
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/property-panel/package.json +1 -1
- package/components/query-solution/index.esm.js +1 -1
- package/components/query-solution/index.umd.cjs +4 -4
- package/components/query-solution/package.json +1 -1
- package/components/radio/package.json +1 -1
- package/components/radio-button/package.json +1 -1
- package/components/radio-group/package.json +1 -1
- package/components/rate/package.json +1 -1
- package/components/response-layout/index.esm.js +199 -199
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout/package.json +1 -1
- package/components/response-layout-editor/index.esm.js +1 -1
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-layout-editor/package.json +1 -1
- package/components/response-toolbar/package.json +1 -1
- package/components/schema-selector/index.esm.js +1 -1
- package/components/schema-selector/index.umd.cjs +1 -1
- package/components/schema-selector/package.json +1 -1
- package/components/search-box/package.json +1 -1
- package/components/section/index.esm.js +1 -1
- package/components/section/index.umd.cjs +1 -1
- package/components/section/package.json +1 -1
- package/components/smoke-detector/package.json +1 -1
- package/components/sort-condition-editor/index.esm.js +1 -1
- package/components/sort-condition-editor/index.umd.cjs +1 -1
- package/components/sort-condition-editor/package.json +1 -1
- package/components/spacing-editor/package.json +1 -1
- package/components/splitter/package.json +1 -1
- package/components/step/package.json +1 -1
- package/components/switch/package.json +1 -1
- package/components/tabs/index.esm.js +1 -1
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tabs/package.json +1 -1
- package/components/tags/package.json +1 -1
- package/components/text/package.json +1 -1
- package/components/textarea/index.esm.js +166 -166
- package/components/textarea/index.umd.cjs +2 -2
- package/components/textarea/package.json +1 -1
- package/components/time-picker/index.esm.js +1 -1
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/time-picker/package.json +1 -1
- package/components/tooltip/package.json +1 -1
- package/components/transfer/package.json +1 -1
- package/components/tree-grid/package.json +1 -1
- package/components/tree-view/package.json +1 -1
- package/components/uploader/package.json +1 -1
- package/components/verify-detail/package.json +1 -1
- package/components/video/index.esm.js +1 -1
- package/components/video/index.umd.cjs +1 -1
- package/components/video/package.json +1 -1
- package/components/weather/package.json +1 -1
- package/designer/button-edit/index.esm.js +167 -167
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +1 -1
- package/designer/data-grid/index.umd.cjs +1 -1
- package/designer/farris-designer.all.esm.js +1 -1
- package/designer/farris-designer.all.umd.cjs +1 -1
- package/designer/radio-group/index.esm.js +1 -1
- package/designer/radio-group/index.umd.cjs +1 -1
- package/farris.all.esm.js +1 -1
- package/farris.all.umd.cjs +1 -1
- package/package.json +1 -1
- package/types/locale/index.d.ts +1 -1
- package/types/step/index.d.ts +1 -0
|
@@ -8,7 +8,7 @@ import { useI18n as At } from "vue-i18n";
|
|
|
8
8
|
import { LocaleService as Ct } from "../locale/index.esm.js";
|
|
9
9
|
import { getCustomClass as jt, withInstall as Yn, FormSchemaEntityField$Type as Kt, FormSchemaEntityFieldTypeName as en, useGuid as tn } from "../common/index.esm.js";
|
|
10
10
|
import { useResizeObserver as Jn } from "@vueuse/core";
|
|
11
|
-
import { getHierarchyRow as Qn, useIdentify as Zn, useGroupData as Kn, useFilter as eo, useHierarchy as to, useLoading as no, useDataView as oo, useSelection as io, useSelectHierarchyItem as ao, usePagination as so, useDataViewContainerStyle as ro, useCommandColumn as lo, useSettingColumn as co, useColumn as uo, useSort as po, useGroupColumn as fo, useRow as mo, useEdit as vo, useVisualDataBound as ho, useVisualDataCell as yo, useVisualDataRow as go, useVisualData as bo, useCellPosition as Co, useSidebar as wo, useVirtualScroll as To, useFitColumn as So, useFilterHistory as Mo, useColumnFilter as xo, useDragColumn as Io, getColumnHeader as Fo, getSidebar as Eo, getDisableMask as Bo, getHorizontalScrollbar as ko, getVerticalScrollbar as Oo, getEmpty as Po, getPagination as Lo, getSummary as
|
|
11
|
+
import { getHierarchyRow as Qn, useIdentify as Zn, useGroupData as Kn, useFilter as eo, useHierarchy as to, useLoading as no, useDataView as oo, useSelection as io, useSelectHierarchyItem as ao, usePagination as so, useDataViewContainerStyle as ro, useCommandColumn as lo, useSettingColumn as co, useColumn as uo, useSort as po, useGroupColumn as fo, useRow as mo, useEdit as vo, useVisualDataBound as ho, useVisualDataCell as yo, useVisualDataRow as go, useVisualData as bo, useCellPosition as Co, useSidebar as wo, useVirtualScroll as To, useFitColumn as So, useFilterHistory as Mo, useColumnFilter as xo, useDragColumn as Io, getColumnHeader as Fo, getSidebar as Eo, getDisableMask as Bo, getHorizontalScrollbar as ko, getVerticalScrollbar as Oo, getEmpty as Po, getPagination as Lo, getSummary as Do } from "../data-view/index.esm.js";
|
|
12
12
|
import { DgControl as ut } from "../designer-canvas/index.esm.js";
|
|
13
13
|
import { FormBindingType as Ge } from "../property-panel/index.esm.js";
|
|
14
14
|
import "../accordion/index.esm.js";
|
|
@@ -164,7 +164,7 @@ function un(n, e) {
|
|
|
164
164
|
}
|
|
165
165
|
return { getSchemaByType: a, resolveSchemaWithDefaultValue: r, resolveSchemaToProps: c, mappingSchemaToProps: u, setDesignerContext: f };
|
|
166
166
|
}
|
|
167
|
-
const dn = {}, pn = {}, { getSchemaByType:
|
|
167
|
+
const dn = {}, pn = {}, { getSchemaByType: No, resolveSchemaWithDefaultValue: jo, resolveSchemaToProps: Ro, mappingSchemaToProps: $o, setDesignerContext: fl } = un(dn, pn);
|
|
168
168
|
function Vo(n = {}) {
|
|
169
169
|
function e(r, f, l, m) {
|
|
170
170
|
if (typeof l == "number")
|
|
@@ -520,13 +520,13 @@ function fn(n, e, t) {
|
|
|
520
520
|
}
|
|
521
521
|
function f(p, v, b, T, k, A = "", S = "") {
|
|
522
522
|
return Object.keys(p).map((y) => {
|
|
523
|
-
const
|
|
523
|
+
const N = I(1), P = y, E = p[y], j = Object.keys(E), M = E.title, D = E.type, V = i.get(D) || { type: "input-group", enableClear: !1 }, h = E.editor ? Object.assign({}, V, E.editor) : Object.assign({}, V), C = u(j, E, v), L = c(j, E, v);
|
|
524
524
|
h.readonly = h.readonly === void 0 ? L() : h.readonly;
|
|
525
525
|
const G = E.type === "cascade" ? f(E.properties, v, b, T, k, A, S) : [], B = !0;
|
|
526
526
|
let F = r(E, S);
|
|
527
527
|
const z = H({
|
|
528
528
|
get() {
|
|
529
|
-
if (
|
|
529
|
+
if (N.value) {
|
|
530
530
|
if (["class", "style"].find((se) => se === P) && !F && (F = o.get("/converter/appearance.converter") || null), F && F.convertFrom)
|
|
531
531
|
return F.convertFrom(b, y, k, A);
|
|
532
532
|
const ie = b[y];
|
|
@@ -535,27 +535,27 @@ function fn(n, e, t) {
|
|
|
535
535
|
return null;
|
|
536
536
|
},
|
|
537
537
|
set(ie) {
|
|
538
|
-
|
|
538
|
+
N.value += 1, F && F.convertTo ? (F.convertTo(T, y, ie, k, A), F.convertTo(b, y, ie, k, A)) : (T[y] = ie, b[y] = ie);
|
|
539
539
|
}
|
|
540
|
-
}), { refreshPanelAfterChanged: O, description: U, isExpand: K, parentPropertyID: te } = E, J = { propertyID: P, propertyName: M, propertyType:
|
|
540
|
+
}), { refreshPanelAfterChanged: O, description: U, isExpand: K, parentPropertyID: te } = E, J = { propertyID: P, propertyName: M, propertyType: D, propertyValue: z, editor: h, visible: C, readonly: L, cascadeConfig: G, hideCascadeTitle: B, refreshPanelAfterChanged: O, description: U, isExpand: K, parentPropertyID: te };
|
|
541
541
|
return v[P] = J, J;
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
function l(p, v, b = {}) {
|
|
545
545
|
const T = {}, k = n[p];
|
|
546
546
|
return k && k.categories ? Object.keys(k.categories).map((S) => {
|
|
547
|
-
const g = k.categories[S], y = g == null ? void 0 : g.title,
|
|
548
|
-
return { categoryId: S, categoryName: y, properties:
|
|
547
|
+
const g = k.categories[S], y = g == null ? void 0 : g.title, N = f(g.properties || {}, T, {}, b, v);
|
|
548
|
+
return { categoryId: S, categoryName: y, properties: N };
|
|
549
549
|
}) : [];
|
|
550
550
|
}
|
|
551
551
|
function m(p, v, b, T, k = "") {
|
|
552
|
-
const A = v.$ref.schema, S = v.$ref.converter, g = b[A], y = g.type,
|
|
552
|
+
const A = v.$ref.schema, S = v.$ref.converter, g = b[A], y = g.type, N = t(g), P = {}, E = n[y];
|
|
553
553
|
if (E && E.categories) {
|
|
554
554
|
const j = E.categories[p], M = j == null ? void 0 : j.title;
|
|
555
555
|
S && Object.keys(j.properties).forEach((h) => {
|
|
556
556
|
j.properties[h].$converter = S;
|
|
557
557
|
});
|
|
558
|
-
const
|
|
558
|
+
const D = (j == null ? void 0 : j.properties) || {}, V = f(D, P, N, g, T, k);
|
|
559
559
|
return { categoryId: p, categoryName: M, properties: V };
|
|
560
560
|
}
|
|
561
561
|
return { categoryId: p, categoryName: "", properties: [] };
|
|
@@ -564,16 +564,16 @@ function fn(n, e, t) {
|
|
|
564
564
|
const A = p.type, S = t(p), g = {};
|
|
565
565
|
let y = k || n[A];
|
|
566
566
|
if (y && Object.keys(y).length === 0 && b && b.getPropConfig && (y = b.getPropConfig(T)), y && y.categories) {
|
|
567
|
-
const
|
|
567
|
+
const N = [];
|
|
568
568
|
return Object.keys(y.categories).map((P) => {
|
|
569
569
|
const E = y.categories[P];
|
|
570
570
|
if (E.$ref) {
|
|
571
|
-
|
|
571
|
+
N.push(m(P, E, p, v, T));
|
|
572
572
|
return;
|
|
573
573
|
}
|
|
574
|
-
const j = E == null ? void 0 : E.title, M = E == null ? void 0 : E.tabId,
|
|
575
|
-
|
|
576
|
-
}),
|
|
574
|
+
const j = E == null ? void 0 : E.title, M = E == null ? void 0 : E.tabId, D = E == null ? void 0 : E.tabName, V = E == null ? void 0 : E.hide, h = E == null ? void 0 : E.hideTitle, C = f(E.properties || {}, g, S, p, v, T, E.$converter), { setPropertyRelates: L } = E, G = E == null ? void 0 : E.parentPropertyID;
|
|
575
|
+
N.push({ categoryId: P, categoryName: j, tabId: M, tabName: D, hide: V, properties: C, hideTitle: h, setPropertyRelates: L, parentPropertyID: G });
|
|
576
|
+
}), N;
|
|
577
577
|
}
|
|
578
578
|
return [];
|
|
579
579
|
}
|
|
@@ -674,7 +674,7 @@ const ci = "https://json-schema.org/draft/2020-12/schema", ui = "https://farris-
|
|
|
674
674
|
}, Ut = {
|
|
675
675
|
customClass: { type: String, default: "" },
|
|
676
676
|
customStyle: { type: String, default: "" }
|
|
677
|
-
}, nn = Je(Ut, hi, Cn, li),
|
|
677
|
+
}, nn = Je(Ut, hi, Cn, li), Dt = /* @__PURE__ */ we({
|
|
678
678
|
name: "FResponseLayout",
|
|
679
679
|
props: Ut,
|
|
680
680
|
emits: [],
|
|
@@ -754,7 +754,7 @@ const ci = "https://json-schema.org/draft/2020-12/schema", ui = "https://farris-
|
|
|
754
754
|
}, qt = {
|
|
755
755
|
customClass: { type: String, default: "" },
|
|
756
756
|
customStyle: { type: String, default: "" }
|
|
757
|
-
}, on = Je(qt, Mi, Cn),
|
|
757
|
+
}, on = Je(qt, Mi, Cn), Nt = /* @__PURE__ */ we({
|
|
758
758
|
name: "FResponseLayoutItem",
|
|
759
759
|
props: qt,
|
|
760
760
|
emits: [],
|
|
@@ -781,85 +781,85 @@ function Wt(n, e, t) {
|
|
|
781
781
|
function f() {
|
|
782
782
|
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
|
|
783
783
|
}
|
|
784
|
-
function l(
|
|
785
|
-
if (!
|
|
784
|
+
function l(D) {
|
|
785
|
+
if (!D || !D.value)
|
|
786
786
|
return null;
|
|
787
|
-
if (
|
|
788
|
-
return
|
|
789
|
-
const V = I(
|
|
787
|
+
if (D.value.schema && D.value.schema.type === "component")
|
|
788
|
+
return D.value;
|
|
789
|
+
const V = I(D == null ? void 0 : D.value.parent), h = l(V);
|
|
790
790
|
return h || null;
|
|
791
791
|
}
|
|
792
|
-
function m(
|
|
792
|
+
function m(D = e) {
|
|
793
793
|
var L;
|
|
794
794
|
if (t != null && t.getDraggableDesignItemElement)
|
|
795
|
-
return t.getDraggableDesignItemElement(
|
|
796
|
-
const { componentInstance: V, designerItemElementRef: h } =
|
|
795
|
+
return t.getDraggableDesignItemElement(D);
|
|
796
|
+
const { componentInstance: V, designerItemElementRef: h } = D;
|
|
797
797
|
if (!V || !V.value)
|
|
798
798
|
return null;
|
|
799
799
|
const { getCustomButtons: C } = V.value;
|
|
800
|
-
return V.value.canMove || C && ((L = C()) != null && L.length) ? h : m(
|
|
800
|
+
return V.value.canMove || C && ((L = C()) != null && L.length) ? h : m(D.parent);
|
|
801
801
|
}
|
|
802
|
-
function d(
|
|
803
|
-
return !!t && t.canAccepts(
|
|
802
|
+
function d(D) {
|
|
803
|
+
return !!t && t.canAccepts(D);
|
|
804
804
|
}
|
|
805
805
|
function p() {
|
|
806
806
|
return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
|
|
807
807
|
}
|
|
808
808
|
function v() {
|
|
809
809
|
}
|
|
810
|
-
function b(
|
|
810
|
+
function b(D, V) {
|
|
811
811
|
var h;
|
|
812
|
-
!
|
|
812
|
+
!D || !V || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(D, V), (h = e == null ? void 0 : e.setupContext) == null || h.emit("dragEnd"));
|
|
813
813
|
}
|
|
814
|
-
function T(
|
|
815
|
-
const { componentType: h } =
|
|
816
|
-
let C = Gn(h,
|
|
817
|
-
t && t.onResolveNewComponentSchema && (C = t.onResolveNewComponentSchema(
|
|
814
|
+
function T(D, V) {
|
|
815
|
+
const { componentType: h } = D;
|
|
816
|
+
let C = Gn(h, D, V);
|
|
817
|
+
t && t.onResolveNewComponentSchema && (C = t.onResolveNewComponentSchema(D, C));
|
|
818
818
|
const L = h.toLowerCase().replace(/-/g, "_");
|
|
819
819
|
return C && !C.id && C.type === h && (C.id = `${L}_${Math.random().toString().slice(2, 6)}`), C;
|
|
820
820
|
}
|
|
821
|
-
function k(
|
|
822
|
-
|
|
821
|
+
function k(D) {
|
|
822
|
+
D && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(D);
|
|
823
823
|
}
|
|
824
|
-
function A(...
|
|
824
|
+
function A(...D) {
|
|
825
825
|
if (t && t.getPropsConfig)
|
|
826
|
-
return t.getPropsConfig(...
|
|
826
|
+
return t.getPropsConfig(...D);
|
|
827
827
|
}
|
|
828
|
-
function S(
|
|
829
|
-
if (!
|
|
828
|
+
function S(D) {
|
|
829
|
+
if (!D)
|
|
830
830
|
return;
|
|
831
|
-
const V = e == null ? void 0 : e.schema, { formSchemaUtils: h } =
|
|
831
|
+
const V = e == null ? void 0 : e.schema, { formSchemaUtils: h } = D;
|
|
832
832
|
if (V && h.getExpressions().length) {
|
|
833
833
|
const C = h.getExpressions().findIndex((L) => L.target === V.id);
|
|
834
834
|
C > -1 && h.getExpressions().splice(C, 1);
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
|
-
function g(
|
|
838
|
-
if (!
|
|
837
|
+
function g(D) {
|
|
838
|
+
if (!D || !(e != null && e.schema))
|
|
839
839
|
return;
|
|
840
|
-
const V = e.schema, { formSchemaUtils: h } =
|
|
840
|
+
const V = e.schema, { formSchemaUtils: h } = D;
|
|
841
841
|
h.removeCommunicationInComponent(V);
|
|
842
842
|
}
|
|
843
|
-
function y(
|
|
844
|
-
t && t.onRemoveComponent && t.onRemoveComponent(), S(
|
|
843
|
+
function y(D) {
|
|
844
|
+
t && t.onRemoveComponent && t.onRemoveComponent(), S(D), g(D), e != null && e.schema.contents && e.schema.contents.map((V) => {
|
|
845
845
|
let h = V.id;
|
|
846
846
|
V.type === "component-ref" && (h = V.component);
|
|
847
847
|
const C = n.value.querySelectorAll(`#${h}-design-item`);
|
|
848
848
|
C != null && C.length && Array.from(C).map((L) => {
|
|
849
849
|
var G;
|
|
850
|
-
(G = L == null ? void 0 : L.componentInstance) != null && G.value.onRemoveComponent && L.componentInstance.value.onRemoveComponent(
|
|
850
|
+
(G = L == null ? void 0 : L.componentInstance) != null && G.value.onRemoveComponent && L.componentInstance.value.onRemoveComponent(D);
|
|
851
851
|
});
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function N() {
|
|
855
855
|
if (t && t.getCustomButtons)
|
|
856
856
|
return t.getCustomButtons();
|
|
857
857
|
}
|
|
858
|
-
function P(
|
|
858
|
+
function P(D) {
|
|
859
859
|
var h, C;
|
|
860
860
|
if (!((h = e == null ? void 0 : e.schema) != null && h.id))
|
|
861
861
|
return;
|
|
862
|
-
if (!s &&
|
|
862
|
+
if (!s && D && (s = D.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
|
|
863
863
|
t.setComponentBasicInfoMap();
|
|
864
864
|
return;
|
|
865
865
|
}
|
|
@@ -875,10 +875,10 @@ function Wt(n, e, t) {
|
|
|
875
875
|
parentPathName: V
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
|
-
function E(
|
|
878
|
+
function E(D) {
|
|
879
879
|
var L;
|
|
880
|
-
const { changeObject: V } =
|
|
881
|
-
if (["text", "title", "label", "name", "mainTitle"].includes((L =
|
|
880
|
+
const { changeObject: V } = D, { propertyID: h, propertyValue: C } = V;
|
|
881
|
+
if (["text", "title", "label", "name", "mainTitle"].includes((L = D == null ? void 0 : D.changeObject) == null ? void 0 : L.propertyID) && h && C && (P(), s)) {
|
|
882
882
|
const G = s.getControlBasicInfoMap(), B = G.keys().toArray().filter((F) => {
|
|
883
883
|
var z, O;
|
|
884
884
|
return ((z = G.get(F)) == null ? void 0 : z.reliedComponentId) === ((O = e == null ? void 0 : e.schema) == null ? void 0 : O.id);
|
|
@@ -889,9 +889,9 @@ function Wt(n, e, t) {
|
|
|
889
889
|
});
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
|
-
function j(
|
|
893
|
-
if (E(
|
|
894
|
-
return t.onPropertyChanged(
|
|
892
|
+
function j(D) {
|
|
893
|
+
if (E(D), t && t.onPropertyChanged)
|
|
894
|
+
return t.onPropertyChanged(D);
|
|
895
895
|
}
|
|
896
896
|
return a.value = {
|
|
897
897
|
canMove: u(),
|
|
@@ -916,7 +916,7 @@ function Wt(n, e, t) {
|
|
|
916
916
|
triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || I(!1),
|
|
917
917
|
triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || I(!1),
|
|
918
918
|
onRemoveComponent: y,
|
|
919
|
-
getCustomButtons:
|
|
919
|
+
getCustomButtons: N,
|
|
920
920
|
onPropertyChanged: j,
|
|
921
921
|
setComponentBasicInfoMap: P,
|
|
922
922
|
updateContextSchema: e == null ? void 0 : e.updateContextSchema
|
|
@@ -1635,10 +1635,10 @@ var Oi = { exports: {} };
|
|
|
1635
1635
|
2: [function(t, o, i) {
|
|
1636
1636
|
(function(a) {
|
|
1637
1637
|
var s = t("contra/emitter"), u = t("crossvent"), c = t("./classes"), r = document, f = r.documentElement;
|
|
1638
|
-
function l(M,
|
|
1638
|
+
function l(M, D) {
|
|
1639
1639
|
var V = arguments.length;
|
|
1640
|
-
V === 1 && Array.isArray(M) === !1 && (
|
|
1641
|
-
var h, C, L, G, B, F, z, O, U, K = null, te, J, ie = !1, se = 0, ee, W =
|
|
1640
|
+
V === 1 && Array.isArray(M) === !1 && (D = M, M = []);
|
|
1641
|
+
var h, C, L, G, B, F, z, O, U, K = null, te, J, ie = !1, se = 0, ee, W = D || {};
|
|
1642
1642
|
W.moves === void 0 && (W.moves = k), W.accepts === void 0 && (W.accepts = k), W.invalid === void 0 && (W.invalid = ot), W.containers === void 0 && (W.containers = M || []), W.isContainer === void 0 && (W.isContainer = T), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = r.body);
|
|
1643
1643
|
var re = s({
|
|
1644
1644
|
containers: W.containers,
|
|
@@ -1656,7 +1656,7 @@ var Oi = { exports: {} };
|
|
|
1656
1656
|
}
|
|
1657
1657
|
function ke(x) {
|
|
1658
1658
|
var q = x ? "remove" : "add";
|
|
1659
|
-
p(f, q, "mousedown", de), p(f, q, "mouseup",
|
|
1659
|
+
p(f, q, "mousedown", de), p(f, q, "mouseup", De);
|
|
1660
1660
|
}
|
|
1661
1661
|
function Me(x) {
|
|
1662
1662
|
var q = x ? "remove" : "add";
|
|
@@ -1667,7 +1667,7 @@ var Oi = { exports: {} };
|
|
|
1667
1667
|
u[q](f, "selectstart", ze), u[q](f, "click", ze);
|
|
1668
1668
|
}
|
|
1669
1669
|
function Ae() {
|
|
1670
|
-
ke(!0),
|
|
1670
|
+
ke(!0), De({});
|
|
1671
1671
|
}
|
|
1672
1672
|
function ze(x) {
|
|
1673
1673
|
te && x.preventDefault();
|
|
@@ -1683,7 +1683,7 @@ var Oi = { exports: {} };
|
|
|
1683
1683
|
function nt(x) {
|
|
1684
1684
|
if (te) {
|
|
1685
1685
|
if (v(x) === 0) {
|
|
1686
|
-
|
|
1686
|
+
De({});
|
|
1687
1687
|
return;
|
|
1688
1688
|
}
|
|
1689
1689
|
if (!(x.clientX !== void 0 && Math.abs(x.clientX - G) <= (W.slideFactorX || 0) && x.clientY !== void 0 && Math.abs(x.clientY - B) <= (W.slideFactorY || 0))) {
|
|
@@ -1735,9 +1735,9 @@ var Oi = { exports: {} };
|
|
|
1735
1735
|
function Be() {
|
|
1736
1736
|
te = !1, Me(!0), Qe(!0);
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function De(x) {
|
|
1739
1739
|
if (Be(), !!re.dragging) {
|
|
1740
|
-
var q = O || L, _ = j("clientX", x) || 0, Y = j("clientY", x) || 0, oe = b(h, _, Y), ae =
|
|
1740
|
+
var q = O || L, _ = j("clientX", x) || 0, Y = j("clientY", x) || 0, oe = b(h, _, Y), ae = Ne(oe, _, Y);
|
|
1741
1741
|
ae && (O && W.copySortSource || !O || ae !== C) ? Ze(q, ae) : W.removeOnSpill ? $() : ne();
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
@@ -1765,7 +1765,7 @@ var Oi = { exports: {} };
|
|
|
1765
1765
|
var _;
|
|
1766
1766
|
return q !== void 0 ? _ = q : h ? _ = z : _ = P(O || L), x === C && _ === F;
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1768
|
+
function Ne(x, q, _) {
|
|
1769
1769
|
for (var Y = x; Y && !oe(); )
|
|
1770
1770
|
Y = g(Y);
|
|
1771
1771
|
return Y;
|
|
@@ -1783,7 +1783,7 @@ var Oi = { exports: {} };
|
|
|
1783
1783
|
x.preventDefault();
|
|
1784
1784
|
var q = j("clientX", x) || 0, _ = j("clientY", x) || 0;
|
|
1785
1785
|
h.style.left = q - 2 + "px", h.style.top = _ - 2 + "px";
|
|
1786
|
-
var Y = O || L, oe = b(h, q, _), ae =
|
|
1786
|
+
var Y = O || L, oe = b(h, q, _), ae = Ne(oe, q, _), Te = ae !== null && ae !== K;
|
|
1787
1787
|
(Te || ae === null) && (be(), K = ae, Fe()), Ot(oe, _);
|
|
1788
1788
|
var ye = g(Y);
|
|
1789
1789
|
if (ae === C && O && !W.copySortSource) {
|
|
@@ -1938,25 +1938,25 @@ var Oi = { exports: {} };
|
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
1940
|
function m(M) {
|
|
1941
|
-
const
|
|
1942
|
-
if (
|
|
1941
|
+
const D = Array.from(window.scrollContainerList);
|
|
1942
|
+
if (D.length === 1) {
|
|
1943
1943
|
const h = Array.from(window.scrollContainerList)[0];
|
|
1944
1944
|
return document.getElementById(h);
|
|
1945
1945
|
}
|
|
1946
|
-
const V = d(
|
|
1946
|
+
const V = d(D);
|
|
1947
1947
|
for (const h of V)
|
|
1948
1948
|
if (h.contains(M))
|
|
1949
1949
|
return h;
|
|
1950
1950
|
return null;
|
|
1951
1951
|
}
|
|
1952
1952
|
function d(M) {
|
|
1953
|
-
const
|
|
1953
|
+
const D = [];
|
|
1954
1954
|
return M.forEach((V) => {
|
|
1955
1955
|
const h = document.getElementById(V);
|
|
1956
|
-
h &&
|
|
1957
|
-
}),
|
|
1956
|
+
h && D.push(h);
|
|
1957
|
+
}), D.sort((V, h) => V.contains(h) ? 1 : h.contains(V) ? -1 : 0), D;
|
|
1958
1958
|
}
|
|
1959
|
-
function p(M,
|
|
1959
|
+
function p(M, D, V, h) {
|
|
1960
1960
|
var C = {
|
|
1961
1961
|
mouseup: "touchend",
|
|
1962
1962
|
mousedown: "touchstart",
|
|
@@ -1970,7 +1970,7 @@ var Oi = { exports: {} };
|
|
|
1970
1970
|
mousedown: "MSPointerDown",
|
|
1971
1971
|
mousemove: "MSPointerMove"
|
|
1972
1972
|
};
|
|
1973
|
-
a.navigator.pointerEnabled ? u[
|
|
1973
|
+
a.navigator.pointerEnabled ? u[D](M, L[V], h) : a.navigator.msPointerEnabled ? u[D](M, G[V], h) : (u[D](M, C[V], h), u[D](M, V, h));
|
|
1974
1974
|
}
|
|
1975
1975
|
function v(M) {
|
|
1976
1976
|
if (M.touches !== void 0)
|
|
@@ -1979,14 +1979,14 @@ var Oi = { exports: {} };
|
|
|
1979
1979
|
return M.which;
|
|
1980
1980
|
if (M.buttons !== void 0)
|
|
1981
1981
|
return M.buttons;
|
|
1982
|
-
var
|
|
1983
|
-
if (
|
|
1984
|
-
return
|
|
1982
|
+
var D = M.button;
|
|
1983
|
+
if (D !== void 0)
|
|
1984
|
+
return D & 1 ? 1 : D & 2 ? 3 : D & 4 ? 2 : 0;
|
|
1985
1985
|
}
|
|
1986
|
-
function b(M,
|
|
1986
|
+
function b(M, D, V) {
|
|
1987
1987
|
M = M || {};
|
|
1988
1988
|
var h = M.className || "", C;
|
|
1989
|
-
return M.className += " gu-hide", C = r.elementFromPoint(
|
|
1989
|
+
return M.className += " gu-hide", C = r.elementFromPoint(D, V), M.className = h, C;
|
|
1990
1990
|
}
|
|
1991
1991
|
function T() {
|
|
1992
1992
|
return !1;
|
|
@@ -2004,14 +2004,14 @@ var Oi = { exports: {} };
|
|
|
2004
2004
|
return M.parentNode === r ? null : M.parentNode;
|
|
2005
2005
|
}
|
|
2006
2006
|
function y(M) {
|
|
2007
|
-
return M.tagName === "INPUT" || M.tagName === "TEXTAREA" || M.tagName === "SELECT" ||
|
|
2007
|
+
return M.tagName === "INPUT" || M.tagName === "TEXTAREA" || M.tagName === "SELECT" || N(M);
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2010
|
-
return !M || M.contentEditable === "false" ? !1 : M.contentEditable === "true" ? !0 :
|
|
2009
|
+
function N(M) {
|
|
2010
|
+
return !M || M.contentEditable === "false" ? !1 : M.contentEditable === "true" ? !0 : N(g(M));
|
|
2011
2011
|
}
|
|
2012
2012
|
function P(M) {
|
|
2013
|
-
return M.nextElementSibling ||
|
|
2014
|
-
function
|
|
2013
|
+
return M.nextElementSibling || D();
|
|
2014
|
+
function D() {
|
|
2015
2015
|
var V = M;
|
|
2016
2016
|
do
|
|
2017
2017
|
V = V.nextSibling;
|
|
@@ -2022,8 +2022,8 @@ var Oi = { exports: {} };
|
|
|
2022
2022
|
function E(M) {
|
|
2023
2023
|
return M.targetTouches && M.targetTouches.length ? M.targetTouches[0] : M.changedTouches && M.changedTouches.length ? M.changedTouches[0] : M;
|
|
2024
2024
|
}
|
|
2025
|
-
function j(M,
|
|
2026
|
-
var V = E(
|
|
2025
|
+
function j(M, D) {
|
|
2026
|
+
var V = E(D), h = {
|
|
2027
2027
|
pageX: "clientX",
|
|
2028
2028
|
// IE8
|
|
2029
2029
|
pageY: "clientY"
|
|
@@ -2092,21 +2092,21 @@ var Oi = { exports: {} };
|
|
|
2092
2092
|
remove: f,
|
|
2093
2093
|
fabricate: b
|
|
2094
2094
|
};
|
|
2095
|
-
function m(g, y,
|
|
2096
|
-
return g.addEventListener(y,
|
|
2095
|
+
function m(g, y, N, P) {
|
|
2096
|
+
return g.addEventListener(y, N, P);
|
|
2097
2097
|
}
|
|
2098
|
-
function d(g, y,
|
|
2099
|
-
return g.attachEvent("on" + y, k(g, y,
|
|
2098
|
+
function d(g, y, N) {
|
|
2099
|
+
return g.attachEvent("on" + y, k(g, y, N));
|
|
2100
2100
|
}
|
|
2101
|
-
function p(g, y,
|
|
2102
|
-
return g.removeEventListener(y,
|
|
2101
|
+
function p(g, y, N, P) {
|
|
2102
|
+
return g.removeEventListener(y, N, P);
|
|
2103
2103
|
}
|
|
2104
|
-
function v(g, y,
|
|
2105
|
-
var P = A(g, y,
|
|
2104
|
+
function v(g, y, N) {
|
|
2105
|
+
var P = A(g, y, N);
|
|
2106
2106
|
if (P)
|
|
2107
2107
|
return g.detachEvent("on" + y, P);
|
|
2108
2108
|
}
|
|
2109
|
-
function b(g, y,
|
|
2109
|
+
function b(g, y, N) {
|
|
2110
2110
|
var P = u.indexOf(y) === -1 ? j() : E();
|
|
2111
2111
|
g.dispatchEvent ? g.dispatchEvent(P) : g.fireEvent("on" + y, P);
|
|
2112
2112
|
function E() {
|
|
@@ -2114,39 +2114,39 @@ var Oi = { exports: {} };
|
|
|
2114
2114
|
return c.createEvent ? (M = c.createEvent("Event"), M.initEvent(y, !0, !0)) : c.createEventObject && (M = c.createEventObject()), M;
|
|
2115
2115
|
}
|
|
2116
2116
|
function j() {
|
|
2117
|
-
return new s(y, { detail:
|
|
2117
|
+
return new s(y, { detail: N });
|
|
2118
2118
|
}
|
|
2119
2119
|
}
|
|
2120
|
-
function T(g, y,
|
|
2120
|
+
function T(g, y, N) {
|
|
2121
2121
|
return function(E) {
|
|
2122
2122
|
var j = E || a.event;
|
|
2123
2123
|
j.target = j.target || j.srcElement, j.preventDefault = j.preventDefault || function() {
|
|
2124
2124
|
j.returnValue = !1;
|
|
2125
2125
|
}, j.stopPropagation = j.stopPropagation || function() {
|
|
2126
2126
|
j.cancelBubble = !0;
|
|
2127
|
-
}, j.which = j.which || j.keyCode,
|
|
2127
|
+
}, j.which = j.which || j.keyCode, N.call(g, j);
|
|
2128
2128
|
};
|
|
2129
2129
|
}
|
|
2130
|
-
function k(g, y,
|
|
2131
|
-
var P = A(g, y,
|
|
2130
|
+
function k(g, y, N) {
|
|
2131
|
+
var P = A(g, y, N) || T(g, y, N);
|
|
2132
2132
|
return l.push({
|
|
2133
2133
|
wrapper: P,
|
|
2134
2134
|
element: g,
|
|
2135
2135
|
type: y,
|
|
2136
|
-
fn:
|
|
2136
|
+
fn: N
|
|
2137
2137
|
}), P;
|
|
2138
2138
|
}
|
|
2139
|
-
function A(g, y,
|
|
2140
|
-
var P = S(g, y,
|
|
2139
|
+
function A(g, y, N) {
|
|
2140
|
+
var P = S(g, y, N);
|
|
2141
2141
|
if (P) {
|
|
2142
2142
|
var E = l[P].wrapper;
|
|
2143
2143
|
return l.splice(P, 1), E;
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
|
-
function S(g, y,
|
|
2146
|
+
function S(g, y, N) {
|
|
2147
2147
|
var P, E;
|
|
2148
2148
|
for (P = 0; P < l.length; P++)
|
|
2149
|
-
if (E = l[P], E.element === g && E.type === y && E.fn ===
|
|
2149
|
+
if (E = l[P], E.element === g && E.type === y && E.fn === N)
|
|
2150
2150
|
return P;
|
|
2151
2151
|
}
|
|
2152
2152
|
}).call(this, typeof Re < "u" ? Re : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
@@ -2360,10 +2360,10 @@ const Pi = {
|
|
|
2360
2360
|
};
|
|
2361
2361
|
return S[n.animate] = !1, S[a] = u.value, S["toasty-type-" + s.value.type] = !0, s.value.theme && (S[s.value.theme] = !0), S;
|
|
2362
2362
|
}), l = H(() => {
|
|
2363
|
-
const y = `f-icon-${s.value && s.value.type ? s.value.type.replace("toasty-type-", "") : "default"}`,
|
|
2363
|
+
const y = `f-icon-${s.value && s.value.type ? s.value.type.replace("toasty-type-", "") : "default"}`, N = {
|
|
2364
2364
|
"f-icon": !0
|
|
2365
2365
|
};
|
|
2366
|
-
return
|
|
2366
|
+
return N[y] = !0, N;
|
|
2367
2367
|
}), m = H(() => s.value.title || s.value.message), d = H(() => n.showCloseButton), p = H(() => !!s.value.buttons || !!e.slots.default), v = H(() => t.value === "en" ? {
|
|
2368
2368
|
wordBreak: "keep-all",
|
|
2369
2369
|
overflowWrap: "break-word"
|
|
@@ -2475,7 +2475,7 @@ const Pi = {
|
|
|
2475
2475
|
}, null)]);
|
|
2476
2476
|
}
|
|
2477
2477
|
});
|
|
2478
|
-
class
|
|
2478
|
+
class Di {
|
|
2479
2479
|
constructor() {
|
|
2480
2480
|
Q(this, "notifyRefs", []);
|
|
2481
2481
|
Q(this, "globalConfig", $e({}));
|
|
@@ -2594,11 +2594,11 @@ class Ni {
|
|
|
2594
2594
|
}), this.notifyRefs.length = 0;
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
|
-
const
|
|
2597
|
+
const Ni = Symbol("NOTIFY_SERVICE_TOKEN");
|
|
2598
2598
|
vt.install = (n) => {
|
|
2599
2599
|
n.component(vt.name, vt), n.component(Rt.name, Rt);
|
|
2600
|
-
const e = new
|
|
2601
|
-
n.provide(
|
|
2600
|
+
const e = new Di();
|
|
2601
|
+
n.provide(Ni, e), n.provide("FNotifyService", e);
|
|
2602
2602
|
};
|
|
2603
2603
|
`${Ct.getLocaleValue("datagrid.loadingMessage")}`;
|
|
2604
2604
|
const ji = {
|
|
@@ -2760,7 +2760,7 @@ function Ri(n, e, t, o, i, a, s, u, c, r, f, l, m, d, p, v, b) {
|
|
|
2760
2760
|
} = s, {
|
|
2761
2761
|
gridDataStyle: g,
|
|
2762
2762
|
leftFixedGridDataStyle: y,
|
|
2763
|
-
rightFixedGridDataStyle:
|
|
2763
|
+
rightFixedGridDataStyle: N
|
|
2764
2764
|
} = d, {
|
|
2765
2765
|
renderDataRow: P
|
|
2766
2766
|
} = Qn(n, e, k, b, u, c, r, f, l, m, d, p, v), E = [P];
|
|
@@ -2777,7 +2777,7 @@ function Ri(n, e, t, o, i, a, s, u, c, r, f, l, m, d, p, v, b) {
|
|
|
2777
2777
|
style: y.value
|
|
2778
2778
|
}, [j(k.value.leftColumns.filter((C) => C.visible), "left")])]);
|
|
2779
2779
|
}
|
|
2780
|
-
function
|
|
2780
|
+
function D() {
|
|
2781
2781
|
return w("div", {
|
|
2782
2782
|
ref: t,
|
|
2783
2783
|
class: "fv-grid-content-primary"
|
|
@@ -2792,12 +2792,12 @@ function Ri(n, e, t, o, i, a, s, u, c, r, f, l, m, d, p, v, b) {
|
|
|
2792
2792
|
class: "fv-grid-content-right-fixed"
|
|
2793
2793
|
}, [w("div", {
|
|
2794
2794
|
class: "fv-grid-data",
|
|
2795
|
-
style:
|
|
2795
|
+
style: N.value
|
|
2796
2796
|
}, [j(k.value.rightColumns.filter((C) => C.visible), "right")])]);
|
|
2797
2797
|
}
|
|
2798
2798
|
function h() {
|
|
2799
2799
|
const C = [];
|
|
2800
|
-
return A.value && C.push(M()), C.push(
|
|
2800
|
+
return A.value && C.push(M()), C.push(D()), S.value && C.push(V()), C;
|
|
2801
2801
|
}
|
|
2802
2802
|
return {
|
|
2803
2803
|
renderDataArea: h
|
|
@@ -2817,11 +2817,11 @@ const $i = /* @__PURE__ */ we({
|
|
|
2817
2817
|
showLoading: S,
|
|
2818
2818
|
renderLoading: g
|
|
2819
2819
|
} = no(n, c), y = oo(n, /* @__PURE__ */ new Map(), T, k, s), {
|
|
2820
|
-
dataView:
|
|
2820
|
+
dataView: N
|
|
2821
2821
|
} = y, P = io(n, y, s, d, e), {
|
|
2822
2822
|
showSelection: E,
|
|
2823
2823
|
selectedValues: j
|
|
2824
|
-
} = P, M = ao(n, d, y, s, P, e),
|
|
2824
|
+
} = P, M = ao(n, d, y, s, P, e), D = H(() => n.disabled), V = H(() => n.virtualized ? Math.min(y.dataView.value.length, i.value) : y.dataView.value.length), h = so(n, y), {
|
|
2825
2825
|
shouldRenderPagination: C
|
|
2826
2826
|
} = h, {
|
|
2827
2827
|
containerStyleObject: L
|
|
@@ -2853,7 +2853,7 @@ const $i = /* @__PURE__ */ we({
|
|
|
2853
2853
|
updateVisibleRowsOnLatestVisibleScope: ot
|
|
2854
2854
|
} = de, Ue = So(n, te, r, Pe, ie), {
|
|
2855
2855
|
calculateColumnsSize: Be
|
|
2856
|
-
} = Ue,
|
|
2856
|
+
} = Ue, De = Mo(), Ze = xo(r, m, y, De, de), $ = Io(n, e, O, y, ie, b, de), ne = H(() => {
|
|
2857
2857
|
const X = {
|
|
2858
2858
|
"fv-grid": !0,
|
|
2859
2859
|
"fv-grid-bordered": n.showBorder,
|
|
@@ -2868,10 +2868,10 @@ const $i = /* @__PURE__ */ we({
|
|
|
2868
2868
|
})), {
|
|
2869
2869
|
renderDataArea: ue
|
|
2870
2870
|
} = Ri(n, e, f, l, m, Qe, O, y, ee, k, se, P, M, de, ke, W, d), {
|
|
2871
|
-
renderGridHeader:
|
|
2871
|
+
renderGridHeader: Ne,
|
|
2872
2872
|
renderGridColumnResizeOverlay: it,
|
|
2873
2873
|
shouldShowHeader: wt
|
|
2874
|
-
} = Fo(n, e, r, l, m, O, y, $, Ze, T,
|
|
2874
|
+
} = Fo(n, e, r, l, m, O, y, $, Ze, T, De, Ue, ie, P, Ae, U, de, Pe, d), {
|
|
2875
2875
|
renderDataGridSidebar: Tt
|
|
2876
2876
|
} = Eo(n, se, P, Ae, de), {
|
|
2877
2877
|
renderDisableMask: St
|
|
@@ -2971,7 +2971,7 @@ const $i = /* @__PURE__ */ we({
|
|
|
2971
2971
|
return P.currentSelectedDataId.value;
|
|
2972
2972
|
}
|
|
2973
2973
|
function st(X, Z, fe) {
|
|
2974
|
-
const he =
|
|
2974
|
+
const he = N.value.find((Ce) => Ce[u.value] === X);
|
|
2975
2975
|
if (he) {
|
|
2976
2976
|
if (Object.keys(he).forEach((me) => {
|
|
2977
2977
|
Object.prototype.hasOwnProperty.call(Z, me) && (he[me] = Z[me]);
|
|
@@ -3053,10 +3053,10 @@ const $i = /* @__PURE__ */ we({
|
|
|
3053
3053
|
selectRowById: Pn,
|
|
3054
3054
|
updateDerivedData: Ln
|
|
3055
3055
|
});
|
|
3056
|
-
const
|
|
3056
|
+
const Dn = H(() => {
|
|
3057
3057
|
const X = {};
|
|
3058
3058
|
return de.shouldShowHorizontalScrollbar.value && (X.paddingBottom = "10px"), de.shouldShowVirticalScrollbar.value && (X.paddingRight = "10px"), X;
|
|
3059
|
-
}),
|
|
3059
|
+
}), Nn = H(() => ({
|
|
3060
3060
|
...L.value,
|
|
3061
3061
|
borderRadius: "5px"
|
|
3062
3062
|
}));
|
|
@@ -3071,23 +3071,23 @@ const $i = /* @__PURE__ */ we({
|
|
|
3071
3071
|
"align-items-center": !0
|
|
3072
3072
|
})), {
|
|
3073
3073
|
renderDataGridSummary: $n
|
|
3074
|
-
} =
|
|
3074
|
+
} = Do(n, y, O);
|
|
3075
3075
|
return () => w("div", {
|
|
3076
3076
|
ref: c,
|
|
3077
3077
|
class: ne.value,
|
|
3078
|
-
style:
|
|
3078
|
+
style: Nn.value,
|
|
3079
3079
|
onWheel: nt
|
|
3080
|
-
}, [r.value && wt.value &&
|
|
3080
|
+
}, [r.value && wt.value && Ne(), w("div", {
|
|
3081
3081
|
ref: r,
|
|
3082
3082
|
class: ce.value,
|
|
3083
3083
|
onMouseover: () => p.value = !0,
|
|
3084
3084
|
onMouseleave: () => p.value = !1,
|
|
3085
|
-
style:
|
|
3085
|
+
style: Dn.value
|
|
3086
3086
|
}, [r.value && Tt(d), r.value && ue(), r.value && Ie.value && pe(), r.value && Mt(), r.value && xt()]), r.value && $n(), E.value && w("div", {
|
|
3087
3087
|
class: jn.value
|
|
3088
3088
|
}, [E.value && w("div", {
|
|
3089
3089
|
class: Rn.value
|
|
3090
|
-
}, [w("div", null, ["已选:" + j.value.length, mt(" 条")])])]), it(),
|
|
3090
|
+
}, [w("div", null, ["已选:" + j.value.length, mt(" 条")])])]), it(), D.value && St()]);
|
|
3091
3091
|
}
|
|
3092
3092
|
});
|
|
3093
3093
|
Yn($i);
|
|
@@ -3360,7 +3360,7 @@ const zi = "https://json-schema.org/draft/2020-12/schema", Ui = "https://farris-
|
|
|
3360
3360
|
"click-disable": E.disable,
|
|
3361
3361
|
current: j === s.value
|
|
3362
3362
|
};
|
|
3363
|
-
return j < s.value && (M.finish = !0), E.status && (M[E.status] = !0), E.hasOwnProperty("class") && E.class.split(" ").reduce((
|
|
3363
|
+
return j < s.value && (M.finish = !0), E.status && (M[E.status] = !0), E.hasOwnProperty("class") && E.class.split(" ").reduce((D, V) => (D[V] = !0, D), M), M;
|
|
3364
3364
|
}
|
|
3365
3365
|
function v(E, j) {
|
|
3366
3366
|
}
|
|
@@ -3379,7 +3379,7 @@ const zi = "https://json-schema.org/draft/2020-12/schema", Ui = "https://farris-
|
|
|
3379
3379
|
"k-icon": j,
|
|
3380
3380
|
"k-i-check": j
|
|
3381
3381
|
};
|
|
3382
|
-
return E.hasOwnProperty("icon") && E.class.split(" ").reduce((
|
|
3382
|
+
return E.hasOwnProperty("icon") && E.class.split(" ").reduce((D, V) => (D[V] = !0, D), M), M;
|
|
3383
3383
|
}
|
|
3384
3384
|
function k(E, j) {
|
|
3385
3385
|
const M = [];
|
|
@@ -3413,7 +3413,7 @@ const zi = "https://json-schema.org/draft/2020-12/schema", Ui = "https://farris-
|
|
|
3413
3413
|
function y(E, j) {
|
|
3414
3414
|
return j !== a.value.length - 1;
|
|
3415
3415
|
}
|
|
3416
|
-
const
|
|
3416
|
+
const N = H(() => ({
|
|
3417
3417
|
triangle: !0,
|
|
3418
3418
|
"": t.value === "vertical"
|
|
3419
3419
|
}));
|
|
@@ -3428,7 +3428,7 @@ const zi = "https://json-schema.org/draft/2020-12/schema", Ui = "https://farris-
|
|
|
3428
3428
|
}, [k(E, j), S(E, j)]), y(E, j) && w("div", {
|
|
3429
3429
|
class: g(E, j)
|
|
3430
3430
|
}, [w("span", {
|
|
3431
|
-
class:
|
|
3431
|
+
class: N.value
|
|
3432
3432
|
}, null)])])]));
|
|
3433
3433
|
}
|
|
3434
3434
|
return () => w("div", {
|
|
@@ -3753,7 +3753,7 @@ const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-
|
|
|
3753
3753
|
editor: { type: Object, default: {} },
|
|
3754
3754
|
label: { type: String, default: "" },
|
|
3755
3755
|
/** value is uncertain because type is uncertain, default value should not be set */
|
|
3756
|
-
modelValue: { type:
|
|
3756
|
+
modelValue: { type: Object },
|
|
3757
3757
|
// readonly: { type: Boolean, default: false },
|
|
3758
3758
|
visible: { type: Boolean, default: !0 },
|
|
3759
3759
|
required: { type: Boolean, default: !1 },
|
|
@@ -3982,7 +3982,7 @@ function Ia(n) {
|
|
|
3982
3982
|
var k;
|
|
3983
3983
|
const b = o.get(v.id), T = b.appearance && b.appearance.class;
|
|
3984
3984
|
if (T) {
|
|
3985
|
-
const S = T.split(" ").filter((j) => !j.startsWith("col-")), g = "col-" + v.columnInSM, y = "col-md-" + v.columnInMD,
|
|
3985
|
+
const S = T.split(" ").filter((j) => !j.startsWith("col-")), g = "col-" + v.columnInSM, y = "col-md-" + v.columnInMD, N = "col-xl-" + v.columnInLG, P = "col-el-" + v.columnInEL, E = [g, y, N, P].concat(S);
|
|
3986
3986
|
b.appearance.class = E.join(" ");
|
|
3987
3987
|
}
|
|
3988
3988
|
if (v.fieldSetId) {
|
|
@@ -4313,7 +4313,7 @@ function an(n, e) {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
return C;
|
|
4315
4315
|
}
|
|
4316
|
-
function
|
|
4316
|
+
function N(h) {
|
|
4317
4317
|
const C = n.componentInstance.value.getBelongedComponentInstance(n.componentInstance);
|
|
4318
4318
|
if (C && C.schema && C.schema.componentType) {
|
|
4319
4319
|
const { formColumns: L } = C.schema;
|
|
@@ -4335,7 +4335,7 @@ function an(n, e) {
|
|
|
4335
4335
|
const { label: U } = h;
|
|
4336
4336
|
let K;
|
|
4337
4337
|
const te = e == null ? void 0 : e.controlCreatorUtils;
|
|
4338
|
-
return (F = h.bindingSourceContext) != null && F.entityFieldNode ? K = te.setFormFieldProperty((z = h.bindingSourceContext) == null ? void 0 : z.entityFieldNode, C == null ? void 0 : C.type) : (K = te.createFormGroupWithoutField(C == null ? void 0 : C.type), K.label = U),
|
|
4338
|
+
return (F = h.bindingSourceContext) != null && F.entityFieldNode ? K = te.setFormFieldProperty((z = h.bindingSourceContext) == null ? void 0 : z.entityFieldNode, C == null ? void 0 : C.type) : (K = te.createFormGroupWithoutField(C == null ? void 0 : C.type), K.label = U), N(K), P(h, (O = K.editor) == null ? void 0 : O.type), K;
|
|
4339
4339
|
}
|
|
4340
4340
|
return C;
|
|
4341
4341
|
}
|
|
@@ -4345,7 +4345,7 @@ function an(n, e) {
|
|
|
4345
4345
|
function M() {
|
|
4346
4346
|
return s;
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4348
|
+
function D() {
|
|
4349
4349
|
return !1;
|
|
4350
4350
|
}
|
|
4351
4351
|
function V(h) {
|
|
@@ -4357,11 +4357,11 @@ function an(n, e) {
|
|
|
4357
4357
|
checkCanMoveComponent: j,
|
|
4358
4358
|
getStyles: g,
|
|
4359
4359
|
getPropsConfig: V,
|
|
4360
|
-
hideNestedPaddingInDesginerView:
|
|
4360
|
+
hideNestedPaddingInDesginerView: D,
|
|
4361
4361
|
onAcceptMovedChildElement: S,
|
|
4362
4362
|
onResolveNewComponentSchema: E,
|
|
4363
4363
|
moveInputBetweenComponent: A,
|
|
4364
|
-
resolveFormGroupAppearance:
|
|
4364
|
+
resolveFormGroupAppearance: N,
|
|
4365
4365
|
syncFieldToViewModel: P
|
|
4366
4366
|
};
|
|
4367
4367
|
}
|
|
@@ -4476,7 +4476,7 @@ Je(
|
|
|
4476
4476
|
Ht,
|
|
4477
4477
|
void 0
|
|
4478
4478
|
);
|
|
4479
|
-
const ka = "https://json-schema.org/draft/2020-12/schema", Oa = "https://farris-design.gitee.io/grid-field-editor.schema.json", Pa = "response-form-layout-setting", La = "A Farris Data Grid Component",
|
|
4479
|
+
const ka = "https://json-schema.org/draft/2020-12/schema", Oa = "https://farris-design.gitee.io/grid-field-editor.schema.json", Pa = "response-form-layout-setting", La = "A Farris Data Grid Component", Da = "object", Na = {
|
|
4480
4480
|
id: {
|
|
4481
4481
|
description: "The unique identifier for a Input Group",
|
|
4482
4482
|
type: "string"
|
|
@@ -4498,8 +4498,8 @@ const ka = "https://json-schema.org/draft/2020-12/schema", Oa = "https://farris-
|
|
|
4498
4498
|
$id: Oa,
|
|
4499
4499
|
title: Pa,
|
|
4500
4500
|
description: La,
|
|
4501
|
-
type:
|
|
4502
|
-
properties:
|
|
4501
|
+
type: Da,
|
|
4502
|
+
properties: Na,
|
|
4503
4503
|
required: ja
|
|
4504
4504
|
}, $a = {
|
|
4505
4505
|
initialState: {
|
|
@@ -5192,7 +5192,7 @@ function ms(n, e) {
|
|
|
5192
5192
|
const F = B.x, z = B.y;
|
|
5193
5193
|
r.value.n ? (c.value.y = s.value.y + z, u.value.height = a.value.height - z) : r.value.s && (u.value.height = a.value.height + z), r.value.e ? u.value.width = a.value.width + F : r.value.w && (u.value.width = a.value.width - F, c.value.x = s.value.x + F), g(), S(), A();
|
|
5194
5194
|
}
|
|
5195
|
-
function
|
|
5195
|
+
function N(B) {
|
|
5196
5196
|
if (!f.value)
|
|
5197
5197
|
return;
|
|
5198
5198
|
const F = le.fromEvent(B);
|
|
@@ -5224,15 +5224,15 @@ function ms(n, e) {
|
|
|
5224
5224
|
const F = P();
|
|
5225
5225
|
m.value = F;
|
|
5226
5226
|
}
|
|
5227
|
-
i.value = void 0, a.value = null, s.value = null, u.value = null, c.value = null, r.value = null, f.value = null, document.removeEventListener("mousemove",
|
|
5227
|
+
i.value = void 0, a.value = null, s.value = null, u.value = null, c.value = null, r.value = null, f.value = null, document.removeEventListener("mousemove", N), document.removeEventListener("mouseup", E);
|
|
5228
5228
|
}
|
|
5229
5229
|
function j() {
|
|
5230
|
-
document.addEventListener("mousemove",
|
|
5230
|
+
document.addEventListener("mousemove", N), document.addEventListener("mouseup", E);
|
|
5231
5231
|
}
|
|
5232
5232
|
function M(B) {
|
|
5233
5233
|
B instanceof MouseEvent && B.button === 2 || v.value && (document.body.click(), B.stopPropagation(), B.preventDefault(), i.value = le.fromEvent(B), f.value = B.target, k(B), j());
|
|
5234
5234
|
}
|
|
5235
|
-
function
|
|
5235
|
+
function D(B) {
|
|
5236
5236
|
return t.value = B, d.value && w(ct, null, [w("div", {
|
|
5237
5237
|
class: "fv-resizable-handle fv-resizable-n",
|
|
5238
5238
|
type: "n",
|
|
@@ -5318,7 +5318,7 @@ function ms(n, e) {
|
|
|
5318
5318
|
}
|
|
5319
5319
|
const G = L();
|
|
5320
5320
|
return {
|
|
5321
|
-
renderResizeBar:
|
|
5321
|
+
renderResizeBar: D,
|
|
5322
5322
|
boundingElement: o,
|
|
5323
5323
|
resizedEventParam: m,
|
|
5324
5324
|
maximize: V,
|
|
@@ -5331,68 +5331,68 @@ function ms(n, e) {
|
|
|
5331
5331
|
}
|
|
5332
5332
|
function vs(n, e, t) {
|
|
5333
5333
|
const o = I(), i = I(n.draggable), a = I(n.lockAxis), s = I(), u = I(), c = I(!1), r = I(new le(0, 0)), f = I(new le(0, 0)), l = I(new le(0, 0)), m = I(new le(0, 0));
|
|
5334
|
-
Se(() => t.value, (
|
|
5335
|
-
s.value.style.cursor =
|
|
5334
|
+
Se(() => t.value, (N) => {
|
|
5335
|
+
s.value.style.cursor = N ? "move" : "default";
|
|
5336
5336
|
});
|
|
5337
|
-
function d(
|
|
5337
|
+
function d(N, P) {
|
|
5338
5338
|
if (P.tagName === "BUTTON")
|
|
5339
5339
|
return !1;
|
|
5340
|
-
if (P ===
|
|
5340
|
+
if (P === N)
|
|
5341
5341
|
return !0;
|
|
5342
5342
|
for (const E in P.children)
|
|
5343
|
-
if (Object.prototype.hasOwnProperty.call(P.children, E) && d(
|
|
5343
|
+
if (Object.prototype.hasOwnProperty.call(P.children, E) && d(N, P.children[E]))
|
|
5344
5344
|
return !0;
|
|
5345
5345
|
return !1;
|
|
5346
5346
|
}
|
|
5347
5347
|
function p() {
|
|
5348
5348
|
var j, M;
|
|
5349
|
-
let
|
|
5350
|
-
a.value === "x" ? (
|
|
5351
|
-
const E = `translate3d(${Math.round(
|
|
5352
|
-
o.value && (o.value.style.transform = E), m.value.x =
|
|
5349
|
+
let N = l.value.x + f.value.x, P = l.value.y + f.value.y;
|
|
5350
|
+
a.value === "x" ? (N = ((j = r.value) == null ? void 0 : j.x) || 0, l.value.x = 0) : a.value === "y" && (P = ((M = r.value) == null ? void 0 : M.y) || 0, l.value.y = 0);
|
|
5351
|
+
const E = `translate3d(${Math.round(N)}px, ${Math.round(P)}px, 0px)`;
|
|
5352
|
+
o.value && (o.value.style.transform = E), m.value.x = N, m.value.y = P;
|
|
5353
5353
|
}
|
|
5354
5354
|
function v() {
|
|
5355
5355
|
if (!u.value || !o.value)
|
|
5356
5356
|
return null;
|
|
5357
|
-
const
|
|
5358
|
-
top:
|
|
5359
|
-
right:
|
|
5360
|
-
bottom:
|
|
5361
|
-
left:
|
|
5357
|
+
const N = u.value.getBoundingClientRect(), P = o.value.getBoundingClientRect(), E = {
|
|
5358
|
+
top: N.top < P.top,
|
|
5359
|
+
right: N.right > P.right,
|
|
5360
|
+
bottom: N.bottom > P.bottom,
|
|
5361
|
+
left: N.left < P.left
|
|
5362
5362
|
};
|
|
5363
|
-
return E.top || (l.value.y -= P.top -
|
|
5363
|
+
return E.top || (l.value.y -= P.top - N.top), E.bottom || (l.value.y -= P.bottom - N.bottom), E.right || (l.value.x -= P.right - N.right), E.left || (l.value.x -= P.left - N.left), p(), E;
|
|
5364
5364
|
}
|
|
5365
|
-
function b(
|
|
5366
|
-
|
|
5365
|
+
function b(N) {
|
|
5366
|
+
N && (r.value && N.subtract(r.value), l.value.set(N), p(), v());
|
|
5367
5367
|
}
|
|
5368
|
-
function T(
|
|
5369
|
-
c.value && i.value && (
|
|
5368
|
+
function T(N) {
|
|
5369
|
+
c.value && i.value && (N.stopPropagation(), N.preventDefault(), b(le.fromEvent(N, s.value)));
|
|
5370
5370
|
}
|
|
5371
5371
|
function k() {
|
|
5372
|
-
var
|
|
5373
|
-
c.value && (c.value = !1, f.value.add(l.value), l.value.reset(), (
|
|
5372
|
+
var N;
|
|
5373
|
+
c.value && (c.value = !1, f.value.add(l.value), l.value.reset(), (N = o.value) == null || N.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", k));
|
|
5374
5374
|
}
|
|
5375
5375
|
function A() {
|
|
5376
5376
|
!c.value && s.value && (c.value = !0, s.value.classList.add("ng-dragging"), document.addEventListener("mousemove", T), document.addEventListener("mouseup", k));
|
|
5377
5377
|
}
|
|
5378
5378
|
function S() {
|
|
5379
5379
|
if (o.value) {
|
|
5380
|
-
const
|
|
5381
|
-
f.value.set(
|
|
5380
|
+
const N = le.getTransformInfo(o.value);
|
|
5381
|
+
f.value.set(N);
|
|
5382
5382
|
return;
|
|
5383
5383
|
}
|
|
5384
5384
|
f.value.reset();
|
|
5385
5385
|
}
|
|
5386
|
-
function g(
|
|
5387
|
-
if (!t.value ||
|
|
5386
|
+
function g(N) {
|
|
5387
|
+
if (!t.value || N instanceof MouseEvent && N.button === 2)
|
|
5388
5388
|
return;
|
|
5389
|
-
const P =
|
|
5390
|
-
s.value !== void 0 && P && !d(P, s.value) || i.value !== !1 && (document.body.click(),
|
|
5389
|
+
const P = N.target || N.srcElement;
|
|
5390
|
+
s.value !== void 0 && P && !d(P, s.value) || i.value !== !1 && (document.body.click(), N.stopPropagation(), N.preventDefault(), r.value = le.fromEvent(N, o.value), S(), A());
|
|
5391
5391
|
}
|
|
5392
|
-
function y(
|
|
5392
|
+
function y(N, P, E) {
|
|
5393
5393
|
if (i.value && P) {
|
|
5394
|
-
if (
|
|
5395
|
-
s.value =
|
|
5394
|
+
if (N)
|
|
5395
|
+
s.value = N;
|
|
5396
5396
|
else if (n.dragHandle) {
|
|
5397
5397
|
if (n.dragHandle instanceof HTMLElement)
|
|
5398
5398
|
s.value = n.dragHandle;
|
|
@@ -5458,7 +5458,7 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5458
5458
|
ue && (i.value = !1, e.emit("update:modelValue", !1), ne != null && e.emit(ne ? "accept" : "cancel"), e.emit("closed", $));
|
|
5459
5459
|
});
|
|
5460
5460
|
}
|
|
5461
|
-
const
|
|
5461
|
+
const N = [{
|
|
5462
5462
|
name: "cancel",
|
|
5463
5463
|
text: S("messageBox.cancel") || "取消",
|
|
5464
5464
|
class: "btn btn-secondary",
|
|
@@ -5472,7 +5472,7 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5472
5472
|
handle: ($) => {
|
|
5473
5473
|
y($, !0);
|
|
5474
5474
|
}
|
|
5475
|
-
}], P = I(n.buttons && n.buttons.length ? n.buttons :
|
|
5475
|
+
}], P = I(n.buttons && n.buttons.length ? n.buttons : N), E = H(() => !!r.value), j = H(() => !!b.value && !!P.value), M = I(), D = I(), V = I(!1), {
|
|
5476
5476
|
renderResizeBar: h,
|
|
5477
5477
|
maximize: C,
|
|
5478
5478
|
restore: L,
|
|
@@ -5495,7 +5495,7 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5495
5495
|
$ !== ne && (T.value = $);
|
|
5496
5496
|
}), Se(() => n.modelValue, ($, ne) => {
|
|
5497
5497
|
$ !== ne && (i.value = $, i.value && n.draggable && Vt(() => {
|
|
5498
|
-
|
|
5498
|
+
D.value && !k.value && (k.value = D.value.parentElement, G.value = k.value, U(M.value, D.value, G.value), O());
|
|
5499
5499
|
}), $ || (k.value && (k.value = null), te())), i.value ? g.value = K() : (V.value = !1, F.value = n.draggable);
|
|
5500
5500
|
}), Se(() => n.showHeader, ($, ne) => {
|
|
5501
5501
|
$ !== ne && (c.value = $);
|
|
@@ -5518,13 +5518,13 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5518
5518
|
};
|
|
5519
5519
|
$["f-modal-fitContent"] = !!u.value, $.show = !!J.value;
|
|
5520
5520
|
const ne = (ce = n.maskClass) == null ? void 0 : ce.split(" ");
|
|
5521
|
-
return ne == null || ne.reduce((ue,
|
|
5521
|
+
return ne == null || ne.reduce((ue, Ne) => (ue[Ne] = !0, ue), $), $;
|
|
5522
5522
|
}), se = H(() => {
|
|
5523
5523
|
var ce;
|
|
5524
5524
|
const $ = {
|
|
5525
5525
|
"modal-dialog": !0
|
|
5526
5526
|
}, ne = (ce = s.value) == null ? void 0 : ce.split(" ");
|
|
5527
|
-
return ne == null || ne.reduce((ue,
|
|
5527
|
+
return ne == null || ne.reduce((ue, Ne) => (ue[Ne] = !0, ue), $), $;
|
|
5528
5528
|
}), ee = H(() => {
|
|
5529
5529
|
const $ = {
|
|
5530
5530
|
position: "absolute",
|
|
@@ -5584,11 +5584,11 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5584
5584
|
zn(() => {
|
|
5585
5585
|
g.value = K();
|
|
5586
5586
|
}), Ye(() => {
|
|
5587
|
-
|
|
5587
|
+
D.value && !k.value && (k.value = D.value.parentElement, G.value = k.value, U(M.value, D.value, G.value)), J.value && document.body.classList.add("modal-open"), xe = hs(n, e), Oe = ys(n, e);
|
|
5588
5588
|
}), bt(() => {
|
|
5589
5589
|
z && z(), xe && xe.remove(), Oe && Oe.remove();
|
|
5590
5590
|
}), e.expose({
|
|
5591
|
-
modalElementRef:
|
|
5591
|
+
modalElementRef: D,
|
|
5592
5592
|
updateModalOptions: nt,
|
|
5593
5593
|
close: y,
|
|
5594
5594
|
maxDialog: ze,
|
|
@@ -5658,13 +5658,13 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5658
5658
|
y($, !1);
|
|
5659
5659
|
}
|
|
5660
5660
|
}
|
|
5661
|
-
function
|
|
5661
|
+
function De() {
|
|
5662
5662
|
var $, ne;
|
|
5663
5663
|
return w("div", {
|
|
5664
5664
|
id: a.value,
|
|
5665
5665
|
class: se.value,
|
|
5666
5666
|
style: ee.value,
|
|
5667
|
-
ref:
|
|
5667
|
+
ref: D
|
|
5668
5668
|
}, [w("div", {
|
|
5669
5669
|
class: re.value
|
|
5670
5670
|
}, [c.value && ot(), w("div", {
|
|
@@ -5675,7 +5675,7 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5675
5675
|
width: "100%",
|
|
5676
5676
|
frameborder: "0",
|
|
5677
5677
|
src: p.value
|
|
5678
|
-
}, null)]), Ue()]), !u.value &&
|
|
5678
|
+
}, null)]), Ue()]), !u.value && D.value && !V.value && h(D.value)]);
|
|
5679
5679
|
}
|
|
5680
5680
|
function Ze($) {
|
|
5681
5681
|
return $ || "body";
|
|
@@ -5692,7 +5692,7 @@ const Xe = /* @__PURE__ */ we({
|
|
|
5692
5692
|
class: ie.value,
|
|
5693
5693
|
style: W.value,
|
|
5694
5694
|
onClick: Be
|
|
5695
|
-
}, [
|
|
5695
|
+
}, [De()])]
|
|
5696
5696
|
})]
|
|
5697
5697
|
});
|
|
5698
5698
|
}
|
|
@@ -5801,14 +5801,14 @@ class En {
|
|
|
5801
5801
|
});
|
|
5802
5802
|
let f;
|
|
5803
5803
|
const l = Fn(o.value), m = (g) => {
|
|
5804
|
-
var
|
|
5804
|
+
var N;
|
|
5805
5805
|
i.value = !1;
|
|
5806
|
-
const y = (
|
|
5806
|
+
const y = (N = g == null ? void 0 : g.target) == null ? void 0 : N.classList.contains("modal_close");
|
|
5807
5807
|
u(g, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
|
|
5808
5808
|
}, d = (g) => {
|
|
5809
5809
|
m(g), f && Vt(() => {
|
|
5810
5810
|
if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Lt(null, t), f = null, this.modalRef.value = null, this.modalRefs) {
|
|
5811
|
-
const y = Object.keys(this.modalRefs).map((
|
|
5811
|
+
const y = Object.keys(this.modalRefs).map((N) => Number(N));
|
|
5812
5812
|
y.length > 0 ? this.activeModalIndex.value = Math.max(...y) : this.activeModalIndex.value = 0;
|
|
5813
5813
|
}
|
|
5814
5814
|
this.isUseEscCloseModal.value = !1;
|
|
@@ -5976,8 +5976,8 @@ class Cs extends _t {
|
|
|
5976
5976
|
function ws(n, e) {
|
|
5977
5977
|
const t = n.schema;
|
|
5978
5978
|
function o(d) {
|
|
5979
|
-
var
|
|
5980
|
-
const { componentType: p, sourceType: v, bindingTargetId: b, sourceElement: T } = d, { schemaService: k, formSchemaUtils: A } = e, S = A.getViewModelIdByComponentId((P = (
|
|
5979
|
+
var N, P, E;
|
|
5980
|
+
const { componentType: p, sourceType: v, bindingTargetId: b, sourceElement: T } = d, { schemaService: k, formSchemaUtils: A } = e, S = A.getViewModelIdByComponentId((P = (N = n.componentInstance) == null ? void 0 : N.value) == null ? void 0 : P.belongedComponentId), g = A.getViewModelById(S);
|
|
5981
5981
|
if ([R["response-layout"].type, R["query-solution"].type, R.fieldset.type].includes(p) || (E = t.contents) != null && E.length)
|
|
5982
5982
|
return !1;
|
|
5983
5983
|
if (v === "field") {
|
|
@@ -6136,7 +6136,7 @@ function Ps(n, e) {
|
|
|
6136
6136
|
const k = T.split(" ").find((A) => /^col-([1-9]|10|11|12)$/.test(A));
|
|
6137
6137
|
k ? (T = T.replace(k, `col-${p[v]}`), b.appearance.class = T) : b.appearance.class += ` col-${p[v]}`;
|
|
6138
6138
|
} else {
|
|
6139
|
-
const T =
|
|
6139
|
+
const T = No("response-layout-item");
|
|
6140
6140
|
T.id = `layout_${Math.random().toString().slice(2, 6)}`, T.appearance = { class: `h-100 col-${p[v]} px-0` }, s.value.push(T);
|
|
6141
6141
|
}
|
|
6142
6142
|
}
|
|
@@ -6221,18 +6221,18 @@ const Ls = /* @__PURE__ */ we({
|
|
|
6221
6221
|
}
|
|
6222
6222
|
}), gl = {
|
|
6223
6223
|
install(n) {
|
|
6224
|
-
n.component(
|
|
6224
|
+
n.component(Dt.name, Dt).component(Nt.name, Nt);
|
|
6225
6225
|
},
|
|
6226
6226
|
register(n, e, t, o) {
|
|
6227
|
-
n["response-layout"] =
|
|
6227
|
+
n["response-layout"] = Dt, n["response-layout-item"] = Nt, e["response-layout"] = nn, e["response-layout-item"] = on, n["response-layout-splitter"] = Ls, e["response-layout-splitter"] = Os;
|
|
6228
6228
|
},
|
|
6229
6229
|
registerDesigner(n, e, t) {
|
|
6230
6230
|
n["response-layout"] = ki, n["response-layout-item"] = Ts, e["response-layout"] = nn, e["response-layout-item"] = on;
|
|
6231
6231
|
}
|
|
6232
6232
|
};
|
|
6233
6233
|
export {
|
|
6234
|
-
|
|
6235
|
-
|
|
6234
|
+
Dt as FResponseLayout,
|
|
6235
|
+
Nt as FResponseLayoutItem,
|
|
6236
6236
|
Ls as FResponseLayoutSplitter,
|
|
6237
6237
|
gl as default,
|
|
6238
6238
|
Ut as responseLayoutProps,
|