super-page-runtime 2.3.4 → 2.3.5-rc1
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/dist/es/components/runtime/utils/api/page-expose-util.js +60 -52
- package/dist/es/components/runtime/utils/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +45 -46
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -16
- package/dist/es/components/runtime/utils/charts/chart-util.js +24 -26
- package/dist/es/components/runtime/utils/common-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/common-util.js +62 -47
- package/dist/es/components/runtime/utils/events/event-util.js +116 -116
- package/dist/es/components/runtime/utils/events/print-label.js +0 -1
- package/dist/es/components/runtime/utils/events/standard-event.js +465 -475
- package/dist/es/components/runtime/utils/events/validator-util.js +23 -23
- package/dist/es/components/runtime/utils/form/scan-util.js +3 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +275 -275
- package/dist/es/components/runtime/utils/page-init-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/page-init-util.js +51 -43
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.d.ts +14 -0
- package/dist/es/components/runtime/utils/table-utils.js +62 -37
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +12 -16
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +20 -20
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +14 -15
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +11 -12
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +17 -18
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +18 -19
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +8 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +20 -20
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +8 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +23 -23
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +63 -63
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +35 -37
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +116 -119
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +24 -15
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +69 -70
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +35 -34
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +30 -27
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +63 -61
- package/dist/es/components/runtime/views/home-chart.vue.js +4 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -6
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +138 -140
- package/dist/es/style.css +82 -82
- package/package.json +2 -2
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as
|
|
2
|
-
import { getCustomTheme as
|
|
3
|
-
import { getChartDatasFromPage as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as s, withDirectives as p, createVNode as c, vShow as f } from "vue";
|
|
2
|
+
import { getCustomTheme as m, initChartOption as g, exportCommonChart as h } from "../../../../utils/charts/chart-util.js";
|
|
3
|
+
import { getChartDatasFromPage as l, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
|
|
5
|
-
import
|
|
6
|
-
import { use as
|
|
5
|
+
import y from "../common/common-chart-header.vue.js";
|
|
6
|
+
import { use as v } from "echarts/core";
|
|
7
7
|
import { CanvasRenderer as R } from "echarts/renderers";
|
|
8
8
|
import { GaugeChart as V } from "echarts/charts";
|
|
9
9
|
import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I } from "echarts/components";
|
|
10
10
|
import k from "vue-echarts";
|
|
11
11
|
const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
|
|
12
|
-
|
|
13
|
-
const A = e2,
|
|
14
|
-
g(A.configure, q),
|
|
15
|
-
const e3 =
|
|
12
|
+
v([R, V, _, j, w, I]);
|
|
13
|
+
const A = e2, H = r(null), z = r(null), D = r(null), F = A.configure.runtime ? A.configure.runtime : {}, O = F.style, P = F.class, S = F.dataConfig, T = F.headerInfo ? F.headerInfo : {}, q = F.chartOption, B = A.configure.props ? A.configure.props : {}, E = m(B.customTheme);
|
|
14
|
+
g(A.configure, q), t(() => {
|
|
15
|
+
const e3 = l(A.pageContext, A.configure);
|
|
16
16
|
e3 && L(e3);
|
|
17
17
|
});
|
|
18
18
|
let G = T.groupValue;
|
|
19
19
|
function J() {
|
|
20
|
-
S
|
|
20
|
+
S && d(A.pageContext, [S], T.drillParams);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
o(T, () => {
|
|
23
23
|
G != T.groupValue && (G = T.groupValue, S && (S.services[0].groupValue = T.groupValue), J());
|
|
24
24
|
});
|
|
25
25
|
const K = T.monitorFields;
|
|
26
26
|
function L(e3) {
|
|
27
|
-
|
|
28
|
-
e3.hasRender = true, console.log("gauge resultData", e3), C(A.pageContext, A.configure, q, e3), console.log("chartOption", q);
|
|
27
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(A.pageContext, A.configure, q, e3));
|
|
29
28
|
}
|
|
30
29
|
return x(A.pageContext, K, J), b2({ updateChartDatas: L, exportChart: function() {
|
|
31
|
-
return
|
|
32
|
-
} }), (e3, r2) => (n(), a("div", { style: s(
|
|
30
|
+
return h(z.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: i(s(O)), class: u([s(P), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: H }, [p(c(y, { ref_key: "headerRef", ref: D, headerInfo: s(T), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(T).showHeader || e3.pageContext.showHomepageSearch]]), c(s(k), { ref_key: "chartRef", ref: z, theme: s(E), option: s(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
33
32
|
} });
|
|
34
33
|
export {
|
|
35
34
|
b as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as u, normalizeStyle as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as u, normalizeStyle as i, unref as l, withDirectives as c, createVNode as p, vShow as s } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { updateChartOption as v } from "../../../../utils/charts/chart-pie-util.js";
|
|
4
4
|
import { doClickJumpPageEvent as x } from "../../../../utils/events/event-util.js";
|
|
@@ -11,36 +11,35 @@ import { GridComponent as _, LegendComponent as b, TitleComponent as w, TooltipC
|
|
|
11
11
|
import E from "vue-echarts";
|
|
12
12
|
const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
|
|
13
13
|
y([D, V, _, b, w, I, P]);
|
|
14
|
-
const H = e2,
|
|
14
|
+
const H = e2, S = r(null), T = r(null), U = r(null), z = H.configure.props ? H.configure.props.enableDrill : null, F = H.configure.props ? H.configure.props.drillEndTrigger : null, O = H.configure.props ? H.configure.props.linkPage : null, q = H.configure.runtime ? H.configure.runtime : {}, B = q.style, G = q.class, J = q.dataConfig, K = q.headerInfo ? q.headerInfo : {}, L = q.chartOption, M = H.configure.props ? H.configure.props : {}, N = f(M.customTheme);
|
|
15
15
|
function Q(e3) {
|
|
16
|
-
"clearDrill" ==
|
|
16
|
+
"clearDrill" == F ? U.value && U.value.closeDrill && U.value.closeDrill(0) : "clickEvent" == F && W();
|
|
17
17
|
}
|
|
18
18
|
function W() {
|
|
19
|
-
|
|
19
|
+
O && O.jumpPageUrl && x(H.pageContext, H.configure, void 0);
|
|
20
20
|
}
|
|
21
21
|
g(H.configure, L), o(() => {
|
|
22
22
|
const e3 = C(H.pageContext, H.configure);
|
|
23
|
-
e3 && $(e3),
|
|
24
|
-
|
|
25
|
-
}), !
|
|
23
|
+
e3 && $(e3), T.value && (z || O && O.jumpPageUrl) && T.value.chart.on("click", function(e4) {
|
|
24
|
+
z ? U.value && U.value.drill && U.value.drill(e4, H.configure.cacheDatas) : W();
|
|
25
|
+
}), !z && H.configure.clickSet && T.value && h(H.pageContext, H.configure, T.value.chart);
|
|
26
26
|
});
|
|
27
27
|
let X = K.groupValue;
|
|
28
28
|
function Y(e3) {
|
|
29
|
-
J
|
|
29
|
+
J && (true !== e3 && (J.autoRefresh = true), R(H.pageContext, [J], K.drillParams));
|
|
30
30
|
}
|
|
31
31
|
t(K, () => {
|
|
32
32
|
X != K.groupValue && (X = K.groupValue, J && (J.services[0].groupValue = K.groupValue), Y(false));
|
|
33
33
|
});
|
|
34
34
|
const Z = K.monitorFields;
|
|
35
35
|
function $(e3) {
|
|
36
|
-
|
|
37
|
-
e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && U || m(H.pageContext, H.configure, S.value.chart), J.autoRefresh = false, v(H.pageContext, H.configure, L, e3), console.log("chartOption--pie", L);
|
|
36
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && z || m(H.pageContext, H.configure, T.value.chart), J.autoRefresh = false, v(H.pageContext, H.configure, L, e3));
|
|
38
37
|
}
|
|
39
38
|
return j(H.pageContext, Z, () => {
|
|
40
39
|
Y(true);
|
|
41
40
|
}), A2({ updateChartDatas: $, exportChart: function() {
|
|
42
|
-
return d(
|
|
43
|
-
} }), (e3, r2) => (a(), n("div", { style: l(
|
|
41
|
+
return d(T.value);
|
|
42
|
+
} }), (e3, r2) => (a(), n("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: S }, [c(p(k, { ref_key: "headerRef", ref: U, headerInfo: l(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q }, null, 8, ["headerInfo", "configure", "pageContext"]), [[s, l(K).showHeader || e3.pageContext.showHomepageSearch]]), p(l(E), { ref_key: "chartRef", ref: T, theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
44
43
|
} });
|
|
45
44
|
export {
|
|
46
45
|
A as default
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as
|
|
2
|
-
import { getCustomTheme as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as s, withDirectives as p, createVNode as c, vShow as f } from "vue";
|
|
2
|
+
import { getCustomTheme as m, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-radar-util.js";
|
|
5
|
-
import
|
|
6
|
-
import { use as
|
|
5
|
+
import y from "../common/common-chart-header.vue.js";
|
|
6
|
+
import { use as v } from "echarts/core";
|
|
7
7
|
import { CanvasRenderer as R } from "echarts/renderers";
|
|
8
8
|
import { RadarChart as V } from "echarts/charts";
|
|
9
9
|
import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I, LegendComponent as k } from "echarts/components";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const e3 = g(
|
|
10
|
+
import b from "vue-echarts";
|
|
11
|
+
const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
|
|
12
|
+
v([R, V, _, j, w, I, k]);
|
|
13
|
+
const H = e2, z = r(null), D = r(null), F = r(null), O = H.configure.runtime ? H.configure.runtime : {}, P = O.style, S = O.class, T = O.dataConfig, q = O.headerInfo ? O.headerInfo : {}, B = O.chartOption, E = H.configure.props ? H.configure.props : {}, G = m(E.customTheme);
|
|
14
|
+
h(H.configure, B), t(() => {
|
|
15
|
+
const e3 = g(H.pageContext, H.configure);
|
|
16
16
|
e3 && M(e3);
|
|
17
17
|
});
|
|
18
18
|
let J = q.groupValue;
|
|
19
19
|
function K() {
|
|
20
|
-
T
|
|
20
|
+
T && d(H.pageContext, [T], q.drillParams);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
o(q, () => {
|
|
23
23
|
J != q.groupValue && (J = q.groupValue, T && (T.services[0].groupValue = q.groupValue), K());
|
|
24
24
|
});
|
|
25
25
|
const L = q.monitorFields;
|
|
26
26
|
function M(e3) {
|
|
27
|
-
|
|
28
|
-
e3.hasRender = true, C(A.pageContext, A.configure, B, e3), console.log("chartOption", B);
|
|
27
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(H.pageContext, H.configure, B, e3));
|
|
29
28
|
}
|
|
30
|
-
return x(
|
|
31
|
-
return
|
|
32
|
-
} }), (e3, r2) => (n(), a("div", { style: s(
|
|
29
|
+
return x(H.pageContext, L, K), A2({ updateChartDatas: M, exportChart: function() {
|
|
30
|
+
return l(D.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: i(s(P)), class: u([s(S), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: z }, [p(c(y, { ref_key: "headerRef", ref: F, headerInfo: s(q), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(q).showHeader || e3.pageContext.showHomepageSearch]]), c(s(b), { ref_key: "chartRef", ref: D, theme: s(G), option: s(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
33
32
|
} });
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
A as default
|
|
36
35
|
};
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as
|
|
2
|
-
import { getCustomTheme as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as u, unref as i, withDirectives as c, createVNode as p, vShow as f } from "vue";
|
|
2
|
+
import { getCustomTheme as m, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-scatter-util.js";
|
|
5
|
-
import
|
|
6
|
-
import { use as
|
|
5
|
+
import y from "../common/common-chart-header.vue.js";
|
|
6
|
+
import { use as v } from "echarts/core";
|
|
7
7
|
import { CanvasRenderer as R } from "echarts/renderers";
|
|
8
8
|
import { ScatterChart as V } from "echarts/charts";
|
|
9
|
-
import { GridComponent as _, LegendComponent as j, TitleComponent as w, TooltipComponent as I, ToolboxComponent as k, DataZoomComponent as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const e3 = g(
|
|
9
|
+
import { GridComponent as _, LegendComponent as j, TitleComponent as w, TooltipComponent as I, ToolboxComponent as k, DataZoomComponent as b } from "echarts/components";
|
|
10
|
+
import A from "vue-echarts";
|
|
11
|
+
const H = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
|
|
12
|
+
v([R, V, _, j, w, I, k, b]);
|
|
13
|
+
const z = e2, D = r(null), F = r(null), O = r(null), P = z.configure.runtime ? z.configure.runtime : {}, S = P.style, T = P.class, q = P.dataConfig, B = P.headerInfo ? P.headerInfo : {}, E = P.chartOption, G = z.configure.props ? z.configure.props : {}, J = m(G.customTheme);
|
|
14
|
+
h(z.configure, E), t(() => {
|
|
15
|
+
const e3 = g(z.pageContext, z.configure);
|
|
16
16
|
e3 && N(e3);
|
|
17
17
|
});
|
|
18
18
|
let K = B.groupValue;
|
|
19
19
|
function L() {
|
|
20
|
-
q
|
|
20
|
+
q && d(z.pageContext, [q], B.drillParams);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
o(B, () => {
|
|
23
23
|
K != B.groupValue && (K = B.groupValue, q && (q.services[0].groupValue = B.groupValue), L());
|
|
24
24
|
});
|
|
25
25
|
const M = B.monitorFields;
|
|
26
26
|
function N(e3) {
|
|
27
|
-
|
|
28
|
-
e3.hasRender = true, C(H.pageContext, H.configure, E, e3), console.log("chartOption scatter", E);
|
|
27
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, E, e3));
|
|
29
28
|
}
|
|
30
|
-
return x(
|
|
31
|
-
return
|
|
32
|
-
} }), (e3, r2) => (n(), a("div", { style: i(
|
|
29
|
+
return x(z.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
|
|
30
|
+
return l(F.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: u(i(S)), class: s([i(T), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: D }, [c(p(y, { ref_key: "headerRef", ref: O, headerInfo: i(B), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(B).showHeader || e3.pageContext.showHomepageSearch]]), p(i(A), { ref_key: "chartRef", ref: F, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
33
32
|
} });
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
H as default
|
|
36
35
|
};
|
|
@@ -12,7 +12,14 @@ type Condition = {
|
|
|
12
12
|
};
|
|
13
13
|
type Data = Record<string, any>;
|
|
14
14
|
export declare class ExpressionEvaluator {
|
|
15
|
-
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @param pageContext 页面上下文
|
|
18
|
+
* @param conditions 条件集合
|
|
19
|
+
* @param data 数据对象,一般是行数据
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
static evaluate(pageContext: PageContext, conditions: Condition[], data?: Data): boolean;
|
|
16
23
|
private static createExpression;
|
|
17
24
|
private static getComparisonExpression;
|
|
18
25
|
private static changeDataType;
|
|
@@ -57,17 +57,17 @@ class ExpressionEvaluator {
|
|
|
57
57
|
return t;
|
|
58
58
|
}
|
|
59
59
|
static parseValue(e, t) {
|
|
60
|
-
|
|
60
|
+
if (t = this.changeDataType(t), null == e) return e;
|
|
61
|
+
switch (t) {
|
|
61
62
|
case "number":
|
|
62
63
|
return getNumberValue(e);
|
|
63
64
|
case "date":
|
|
64
65
|
return new Date(e).getTime();
|
|
65
66
|
case "string":
|
|
67
|
+
default:
|
|
66
68
|
return `"${e}"`;
|
|
67
69
|
case "boolean":
|
|
68
70
|
return "true" === e || true === e || 1 === e;
|
|
69
|
-
default:
|
|
70
|
-
throw new Error(`数据类型解析错误: ${t}`);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
static evaluateExpression(expression) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as o, ref as e, resolveComponent as t, createBlock as r, openBlock as p, withCtx as l, createElementBlock as s, Fragment as n, createTextVNode as a, toDisplayString as u, resolveDynamicComponent as i, createVNode as c, createCommentVNode as m, createElementVNode as f, normalizeClass as g } from "vue";
|
|
2
2
|
import "agilebuilder-ui/src/utils/common-util";
|
|
3
3
|
import "agilebuilder-ui/src/utils/util";
|
|
4
|
+
import { formatColContent as d } from "./chart-table-util.js";
|
|
4
5
|
import "agilebuilder-ui/src/utils/request";
|
|
5
6
|
import "element-plus";
|
|
6
7
|
import "agilebuilder-ui/src/utils/auth";
|
|
7
8
|
import "../../../../utils/global-refs.js";
|
|
8
|
-
import
|
|
9
|
+
import y from "../../../../utils/eventBus.js";
|
|
9
10
|
import "axios";
|
|
10
11
|
import "dayjs";
|
|
11
12
|
import "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
12
13
|
import "async-validator";
|
|
14
|
+
import { expressJump as b } from "../../../../utils/table-utils.js";
|
|
13
15
|
import "../../../../utils/events/print-label.js";
|
|
14
|
-
import { expressJump as y } from "../../../../utils/table-utils.js";
|
|
15
16
|
import "../../../../utils/page-store.js";
|
|
16
|
-
import { formatColContent as b } from "./chart-table-util.js";
|
|
17
17
|
const k = { key: 0 }, w = { key: 1 }, h = { key: 1 }, x = { key: 2 }, C = o({ __name: "normal-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) } }, setup(o2) {
|
|
18
18
|
const C2 = o2, j = e(false);
|
|
19
19
|
let v = null;
|
|
20
20
|
function O(o3, e2, t2, r2) {
|
|
21
21
|
}
|
|
22
22
|
function _(o3) {
|
|
23
|
-
const e2 =
|
|
23
|
+
const e2 = b(C2.pageContext, C2.configure, C2.column.linkPage, o3);
|
|
24
24
|
let t2 = false;
|
|
25
25
|
return e2 && (t2 = e2.show, v = e2.toPage), t2;
|
|
26
26
|
}
|
|
@@ -29,11 +29,11 @@ const k = { key: 0 }, w = { key: 1 }, h = { key: 1 }, x = { key: 2 }, C = o({ __
|
|
|
29
29
|
const e2 = C2.pageContext.code + "_", t2 = JSON.parse(JSON.stringify(v));
|
|
30
30
|
t2.base = { successOperation: "closeWindow" };
|
|
31
31
|
const r2 = { id: o3.id ? o3.id : o3.ID, selections: [o3] };
|
|
32
|
-
|
|
32
|
+
y.$emit(e2 + "open-dialog", { pageContext: C2.pageContext, configureObj: { props: t2 }, eventParams: r2 });
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
function T(o3, e2) {
|
|
36
|
-
return
|
|
36
|
+
return d(o3, e2, C2.column, C2.pageContext, C2.configure);
|
|
37
37
|
}
|
|
38
38
|
return C2.column.linkPage && C2.column.linkPage.length > 0 && (j.value = true), (e2, d2) => {
|
|
39
39
|
const y2 = t("el-table-column"), b2 = t("el-progress"), C3 = t("el-tag"), v2 = t("el-link");
|
|
@@ -5,7 +5,7 @@ import { getCustomFunc as $ } from "../../../../utils/events/event-util.js";
|
|
|
5
5
|
import F from "./group-column.vue.js";
|
|
6
6
|
import k from "./normal-column.vue.js";
|
|
7
7
|
import I from "./table-pageination.vue.js";
|
|
8
|
-
import { getSummaryTitleColumn as N, getSummaryDataColumn as R, rowDataToColumn as T, getColumnToRowTableConfig as H, colDataToRow as
|
|
8
|
+
import { getSummaryTitleColumn as N, getSummaryDataColumn as R, rowDataToColumn as T, getColumnToRowTableConfig as H, colDataToRow as _, computeFormula as z, getNewColumnConfig as A, summaryStatistics as D, replacePlaceholders as J, getIndexColumn as P, getHeaderCellStyleUtil as U, getRowStyleUtil as V, getCellStyleUtil as G, formatColContent as K } from "./chart-table-util.js";
|
|
9
9
|
import { deepCopy as L } from "../../../../utils/common-util.js";
|
|
10
10
|
const q = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: q2 }) {
|
|
11
11
|
var _a;
|
|
@@ -19,7 +19,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
19
19
|
}), e3.sort((e4, o2) => e4.displayOrder - o2.displayOrder), re.value = e3, function() {
|
|
20
20
|
if (B.configure.props.base.showIndex) {
|
|
21
21
|
re.value.unshift({ columnUuid: "$index", displayOrder: 0, isLeaf: true, prop: "$index", titleText: "序号", uuid: "$index" });
|
|
22
|
-
const e4 =
|
|
22
|
+
const e4 = P();
|
|
23
23
|
e4 && (te.value.$index = e4);
|
|
24
24
|
}
|
|
25
25
|
}();
|
|
@@ -31,8 +31,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
31
31
|
ie.value = B.configure.props.base.showSummary, (ie.value || B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) && (ae.value = N(B.configure), ie.value && (ue.value = R(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (pe.value = R(B.configure, "group")));
|
|
32
32
|
let de = 300, he = b(B.pageContext, B.configure);
|
|
33
33
|
function ve(e3) {
|
|
34
|
-
|
|
35
|
-
!function(e4) {
|
|
34
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
|
|
36
35
|
var _a2;
|
|
37
36
|
Ne(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? me = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (me = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
|
|
38
37
|
if (me) if (((_a2 = B.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && B.configure.props.dataOrigin.itemNumSource) {
|
|
@@ -42,12 +41,12 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
42
41
|
o2 = Number(O(B.pageContext.entity, B.configure.props.dataOrigin.itemNumVariable));
|
|
43
42
|
const n2 = B.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), t2 = n2 ? n2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(me));
|
|
44
43
|
r(() => t2.reduce((e5, o3) => e5[o3], B.pageContext.entity), (o3) => {
|
|
45
|
-
|
|
44
|
+
ye(o3, i2, e4);
|
|
46
45
|
});
|
|
47
46
|
}
|
|
48
47
|
ye(o2, me, e4);
|
|
49
48
|
} else Ce(me, e4);
|
|
50
|
-
}(e3), e3.hasRender = true, X && (X.autoRefresh = false);
|
|
49
|
+
}(e3), e3.hasRender = true, X && (X.autoRefresh = false));
|
|
51
50
|
}
|
|
52
51
|
function ye(e3, o2, n2) {
|
|
53
52
|
var _a2;
|
|
@@ -79,9 +78,9 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
79
78
|
const r2 = B.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = B.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
|
|
80
79
|
if ((!i2 || 0 === i2.length) && n2.length > 0) {
|
|
81
80
|
const e5 = [];
|
|
82
|
-
return e5.push(
|
|
81
|
+
return e5.push(A("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
|
|
83
82
|
if ("$GroupColumn" === o5) return;
|
|
84
|
-
const r3 =
|
|
83
|
+
const r3 = A(o5, o5, n3 + 1, "string");
|
|
85
84
|
e5.push(r3);
|
|
86
85
|
}), e5;
|
|
87
86
|
}
|
|
@@ -97,7 +96,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
97
96
|
}), a2.forEach((o5) => {
|
|
98
97
|
t2.forEach((r3) => {
|
|
99
98
|
var _a3;
|
|
100
|
-
const t3 = (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name, i4 =
|
|
99
|
+
const t3 = (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name, i4 = A(`${o5}${r3}`, `${o5}${t3}`, e5.length + 1, "number" == typeof n2[0][`${o5}${r3}`] ? "number" : "string");
|
|
101
100
|
e5.push(i4);
|
|
102
101
|
});
|
|
103
102
|
}), e5;
|
|
@@ -105,7 +104,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
105
104
|
}(B.configure, ne.value, e3);
|
|
106
105
|
ne.value = o3;
|
|
107
106
|
}
|
|
108
|
-
} else be("columnToRow") && (ee.value || (ne.value = H(B.configure)), e3 =
|
|
107
|
+
} else be("columnToRow") && (ee.value || (ne.value = H(B.configure)), e3 = _(e3, B.configure));
|
|
109
108
|
if (B.configure.props.dataOrigin.dataFormatting) {
|
|
110
109
|
const o3 = $(B.pageContext, B.configure.props.dataOrigin.dataFormatting);
|
|
111
110
|
if (o3) {
|
|
@@ -113,7 +112,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
113
112
|
n2 && (e3 = n2);
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
|
-
if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 &&
|
|
115
|
+
if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 && z(ce.value, e3, B.pageContext.entity), ((_a2 = B.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
|
|
117
116
|
"frontend" === B.configure.pageination.type ? (fe.value = me.length, Fe(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = me, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
|
|
118
117
|
}(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
|
|
119
118
|
const e4 = B.configure.props.highOrder.groupField;
|
|
@@ -129,11 +128,11 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
129
128
|
for (let e6 = 0; e6 < a2.length; e6++) {
|
|
130
129
|
const o4 = a2[e6], i3 = {};
|
|
131
130
|
t2 == null ? void 0 : t2.forEach((e7) => {
|
|
132
|
-
const n3 = e7.props.base.prop, r3 =
|
|
131
|
+
const n3 = e7.props.base.prop, r3 = D(pe.value[n3], o4, n3, B.pageContext);
|
|
133
132
|
i3[n3] = r3;
|
|
134
133
|
}), n2.push(...o4), r2 == null ? void 0 : r2.forEach((e7) => {
|
|
135
134
|
const n3 = e7.props.base.prop;
|
|
136
|
-
i3[n3] =
|
|
135
|
+
i3[n3] = J(e7.props.base.summaryTitle, o4[0]);
|
|
137
136
|
}), n2.push(i3), le.push(n2.length - 1);
|
|
138
137
|
}
|
|
139
138
|
return n2;
|
|
@@ -141,7 +140,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
141
140
|
}
|
|
142
141
|
!function(e4) {
|
|
143
142
|
if (B.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
|
|
144
|
-
const o3 =
|
|
143
|
+
const o3 = P();
|
|
145
144
|
o3 && e4.unshift(o3);
|
|
146
145
|
}
|
|
147
146
|
}(ne.value);
|
|
@@ -151,10 +150,10 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
151
150
|
}
|
|
152
151
|
function xe(e3) {
|
|
153
152
|
const o2 = se.value[e3.column.property] ? se.value[e3.column.property].titleStyle : null, n2 = Q == null ? void 0 : Q.titleStyle;
|
|
154
|
-
return
|
|
153
|
+
return U(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
|
|
155
154
|
}
|
|
156
155
|
function Oe(e3) {
|
|
157
|
-
return
|
|
156
|
+
return V(e3, le, B);
|
|
158
157
|
}
|
|
159
158
|
function Se(e3) {
|
|
160
159
|
const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
|
|
@@ -167,7 +166,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
167
166
|
!function() {
|
|
168
167
|
const e4 = B.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o3 = e4 ? e4[1].split(".") : [];
|
|
169
168
|
r(() => o3.reduce((e5, o4) => e5[o4], B.pageContext.entity), (e5) => {
|
|
170
|
-
|
|
169
|
+
e5 ? ve(JSON.parse(JSON.stringify(e5))) : (oe.value = [], B.configure.props.modelCustom ? Ne(null) : ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items);
|
|
171
170
|
});
|
|
172
171
|
}();
|
|
173
172
|
const o2 = O(B.pageContext.entity, B.configure.props.dataOrigin.variable);
|
|
@@ -179,10 +178,11 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
179
178
|
return o2.forEach((e4, o3) => {
|
|
180
179
|
if (ae.value[e4.property]) {
|
|
181
180
|
const t2 = ae.value[e4.property].label;
|
|
182
|
-
r2[o3] = y("div", {}, [
|
|
183
|
-
}
|
|
181
|
+
return void (r2[o3] = y("div", {}, [J(t2, n2)]));
|
|
182
|
+
}
|
|
183
|
+
if (ue.value[e4.property]) {
|
|
184
184
|
const t2 = n2.filter((e5, o4) => !le.includes(o4));
|
|
185
|
-
r2[o3] =
|
|
185
|
+
r2[o3] = D(ue.value[e4.property], t2, e4.property, B.pageContext);
|
|
186
186
|
}
|
|
187
187
|
}), r2;
|
|
188
188
|
};
|
package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
+
import { Component, PageContext } from '../../../utils/interfaces/page-design-types';
|
|
2
|
+
|
|
1
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
configure: {
|
|
3
|
-
type:
|
|
5
|
+
type: () => Component;
|
|
4
6
|
required: true;
|
|
5
7
|
};
|
|
6
8
|
pageContext: {
|
|
7
|
-
type:
|
|
9
|
+
type: () => PageContext;
|
|
10
|
+
required: true;
|
|
8
11
|
};
|
|
9
12
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
13
|
close: (...args: any[]) => void;
|
|
11
14
|
export: (...args: any[]) => void;
|
|
12
15
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
16
|
configure: {
|
|
14
|
-
type:
|
|
17
|
+
type: () => Component;
|
|
15
18
|
required: true;
|
|
16
19
|
};
|
|
17
20
|
pageContext: {
|
|
18
|
-
type:
|
|
21
|
+
type: () => PageContext;
|
|
22
|
+
required: true;
|
|
19
23
|
};
|
|
20
24
|
}>> & Readonly<{
|
|
21
25
|
onClose?: (...args: any[]) => any;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as p, createVNode as n, createTextVNode as s, toDisplayString as r } from "vue";
|
|
2
2
|
import { packageTemplateFiles as i } from "../../../utils/common-util.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
let
|
|
9
|
-
const
|
|
10
|
-
return
|
|
3
|
+
import { ElMessage as m } from "element-plus";
|
|
4
|
+
const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["export", "close"], setup(e2, { emit: g2 }) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const f = e2, b = t(false), v = g2, h = t([]), x = t([]), y = (_a = f.configure.props) == null ? void 0 : _a.base, w = (_b = f.pageContext) == null ? void 0 : _b.entity.data;
|
|
7
|
+
function N(e3) {
|
|
8
|
+
let t2, l2, a2 = e3;
|
|
9
|
+
const o2 = a2.indexOf(c), u2 = a2.indexOf(d);
|
|
10
|
+
return -1 !== o2 && -1 !== u2 ? (o2 > u2 ? a2 = a2.substring(0, u2) + a2.substring(u2 + 1) : (t2 = a2.substring(o2 + 2, u2), l2 = a2.substring(o2, u2 + 1), x.value.push(t2), x.value, a2 = a2.replace(l2, "")), N(a2)) : x.value;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
12
|
+
function O(e3) {
|
|
13
|
+
v("export", f.configure, e3);
|
|
14
|
+
}
|
|
15
|
+
function _() {
|
|
16
|
+
v("close");
|
|
14
17
|
}
|
|
15
18
|
return l(() => {
|
|
16
|
-
|
|
19
|
+
y.templateFiles && y.templateFiles.length > 0 ? h.value = i(y.templateFiles, f.pageContext, f.configure) : y.templateUuid && y.templateName && h.value.push({ templateUuid: y.templateUuid, templateName: y.templateName }), h.value.forEach((e3) => {
|
|
17
20
|
e3 && e3.templateName && (e3.templateName = function(e4) {
|
|
18
|
-
const t2 =
|
|
19
|
-
return
|
|
20
|
-
const l2 =
|
|
21
|
-
let
|
|
22
|
-
-1 !== e4.indexOf(l2) &&
|
|
21
|
+
const t2 = N(e4);
|
|
22
|
+
return t2.forEach((t3) => {
|
|
23
|
+
const l2 = c + t3 + d;
|
|
24
|
+
let a2;
|
|
25
|
+
-1 !== e4.indexOf(l2) && Object.prototype.hasOwnProperty.call(w, t3) && (a2 = w[t3] ? w[t3] : "", e4 = e4.replace(l2, a2));
|
|
23
26
|
}), e4;
|
|
24
27
|
}(e3.templateName));
|
|
25
|
-
});
|
|
28
|
+
}), h.value && 0 !== h.value.length || (m({ message: "无符合条件可导出的模板!", type: "warning" }), v("close")), 1 === (h == null ? void 0 : h.value.length) ? (O(h.value[0]), v("close")) : b.value = true;
|
|
26
29
|
}), (e3, t2) => {
|
|
27
|
-
const l2 =
|
|
28
|
-
return
|
|
29
|
-
return l3 = t3.row, void f("export", d.configure, l3);
|
|
30
|
-
var l3;
|
|
31
|
-
} }, { default: s(() => [u(p(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"]);
|
|
30
|
+
const l2 = a("el-table-column"), i2 = a("el-button"), m2 = a("el-table"), c2 = a("el-dialog");
|
|
31
|
+
return u(), o(c2, { modelValue: b.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => b.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: _ }, { default: p(() => [n(m2, { data: h.value, style: { width: "100%" } }, { default: p(() => [n(l2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: p((e4) => [s(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), n(l2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: p((t3) => [n(i2, { type: "text", size: "small", onClick: (e4) => O(t3.row) }, { default: p(() => [s(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -54,7 +54,7 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
|
|
|
54
54
|
}
|
|
55
55
|
return [window];
|
|
56
56
|
})();
|
|
57
|
-
|
|
57
|
+
b.value = e3, T.value = e3[0], b.value.forEach((e4) => e4.addEventListener("scroll", z)), window.addEventListener("resize", L), S();
|
|
58
58
|
} catch (e3) {
|
|
59
59
|
console.error(e3);
|
|
60
60
|
}
|