super-page-runtime 2.3.45-sit1 → 2.3.46-sit1

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.
@@ -1,7 +1,7 @@
1
1
  import e from "./container-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-473c727a"]]);
4
+ const t = r(e, [["__scopeId", "data-v-545108f6"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as l, resolveComponent as o, createBlock as u, openBlock as i, withCtx as s, withDirectives as a, createCommentVNode as r, createElementBlock as f, createVNode as c, normalizeStyle as p, unref as g, Fragment as d, renderList as y, vShow as m, normalizeClass as v } from "vue";
2
- import { ArrowLeft as x, ArrowRight as C } from "@element-plus/icons-vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as l, resolveComponent as o, createBlock as u, openBlock as i, withCtx as s, withDirectives as a, createCommentVNode as r, createElementBlock as f, createVNode as p, normalizeStyle as c, unref as g, Fragment as d, renderList as y, vShow as m, normalizeClass as v } from "vue";
2
+ import { ArrowLeft as C, ArrowRight as x } from "@element-plus/icons-vue";
3
3
  import k from "../../object-render.vue.js";
4
4
  import "../../../../utils/global-refs.js";
5
- import { handleAfterInitEvent as _ } from "../../../../utils/events/event-util.js";
6
- const h = e({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: h2 }) {
7
- const A = e2, L = t(null), R = A.configure.runtime ? A.configure.runtime : {}, b = R.leftStyle, j = R.rightStyle, S = R.style, w = R.class, D = t(true), I = t(true);
8
- return n(() => {
5
+ import { handleAfterInitEvent as A } from "../../../../utils/events/event-util.js";
6
+ const _ = e({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
7
+ const h = e2, L = t(null), R = h.configure.runtime ? h.configure.runtime : {}, b = R.leftStyle, j = R.rightStyle, D = R.style, S = R.class, w = t(true), I = t(true);
8
+ return true === h.configure.props.leftAsideDefaultClose && (w.value = false), n(() => {
9
9
  l(() => {
10
- _(null, A.pageContext, A.configure, { componentRef: L.value, entity: A.pageContext.entity.data, pageData: A.pageContext.entity.page });
10
+ A(null, h.pageContext, h.configure, { componentRef: L.value, entity: h.pageContext.entity.data, pageData: h.pageContext.entity.page });
11
11
  });
12
- }), h2({ closeLeftAside: function() {
13
- D.value = false;
12
+ }), _2({ closeLeftAside: function() {
13
+ w.value = false;
14
14
  }, openLeftAside: function() {
15
- D.value = true;
15
+ w.value = true;
16
16
  }, closeRightAside: function() {
17
17
  I.value = false;
18
18
  }, openRightAside: function() {
19
19
  I.value = true;
20
20
  } }), (e3, t2) => {
21
- const n2 = o("el-aside"), l2 = o("el-icon"), _2 = o("el-main"), h3 = o("el-container");
22
- return i(), u(h3, { ref_key: "thisRef", ref: L }, { default: s(() => [e3.configure.props.useLeft ? a((i(), u(n2, { key: 0, style: p(g(b)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.leftAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, D.value]]) : r("", true), e3.configure.props.useLeft && e3.configure.props.showLeftAsideCollapseIcon ? (i(), f("div", { key: 1, class: "aside-collapse-btn aside-collapse-btn--left", onClick: t2[0] || (t2[0] = (e4) => D.value = !D.value) }, [c(l2, null, { default: s(() => [D.value ? (i(), u(g(x), { key: 0 })) : (i(), u(g(C), { key: 1 }))]), _: 1 })])) : r("", true), c(_2, { style: p(g(S)), class: v(g(w)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.items, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? a((i(), u(n2, { key: 2, style: p(g(j)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.rightAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, I.value]]) : r("", true)]), _: 1 }, 512);
21
+ const n2 = o("el-aside"), l2 = o("el-icon"), A2 = o("el-main"), _3 = o("el-container");
22
+ return i(), u(_3, { ref_key: "thisRef", ref: L }, { default: s(() => [e3.configure.props.useLeft ? a((i(), u(n2, { key: 0, style: c(g(b)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.leftAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, w.value]]) : r("", true), e3.configure.props.useLeft && e3.configure.props.showLeftAsideCollapseIcon ? (i(), f("div", { key: 1, class: "aside-collapse-btn aside-collapse-btn--left", onClick: t2[0] || (t2[0] = (e4) => w.value = !w.value) }, [p(l2, null, { default: s(() => [w.value ? (i(), u(g(C), { key: 0 })) : (i(), u(g(x), { key: 1 }))]), _: 1 })])) : r("", true), p(A2, { style: c(g(D)), class: v(g(S)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.items, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? a((i(), u(n2, { key: 2, style: c(g(j)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.rightAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, I.value]]) : r("", true)]), _: 1 }, 512);
23
23
  };
24
24
  } });
25
25
  export {
26
- h as default
26
+ _ as default
27
27
  };
package/dist/es/style.css CHANGED
@@ -594,7 +594,7 @@
594
594
  .amb-widget-tools-parent[data-v-a9801c3f] .amb-widget-container-tool > .el-form-item {
595
595
  margin-bottom: 0;
596
596
  }
597
- .aside-collapse-btn[data-v-473c727a] {
597
+ .aside-collapse-btn[data-v-545108f6] {
598
598
  display: flex;
599
599
  align-items: center;
600
600
  justify-content: center;
@@ -608,7 +608,7 @@
608
608
  flex-shrink: 0;
609
609
  z-index: 1;
610
610
  }
611
- .aside-collapse-btn[data-v-473c727a]:hover {
611
+ .aside-collapse-btn[data-v-545108f6]:hover {
612
612
  background-color: var(--el-color-primary-light-7, #c6e2ff);
613
613
  color: var(--el-color-primary, #409eff);
614
614
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.45-sit1",
3
+ "version": "2.3.46-sit1",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -49,7 +49,7 @@
49
49
  "@vitejs/plugin-vue-jsx": "^3.1.0",
50
50
  "@vue/eslint-config-prettier": "^8.0.0",
51
51
  "@vue/test-utils": "^2.4.4",
52
- "agilebuilder-ui": "1.2.1-sit1",
52
+ "agilebuilder-ui": "1.2.2-sit1",
53
53
  "axios": "^1.6.8",
54
54
  "cypress": "^13.6.6",
55
55
  "element-plus": "^2.6.1",