super-page-designer 0.0.1-tmp1 → 0.0.1-tmp2
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/design/utils/form-design-util.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +19 -7
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-function-code.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.css +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -2
- package/dist/es/components/design/views/assemblys/form/common/data-origin.css +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue.js +1 -1
- package/dist/lib/components/design/utils/form-design-util.js +2 -2
- package/dist/lib/components/design/views/assemblys/chart/common/common-attr-data.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +19 -7
- package/dist/lib/components/design/views/assemblys/common/common-attr-size.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/common/common-function-code.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/common/common-select-table.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/common/common-variable-bind.css +1 -1
- package/dist/lib/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/common/common-variable-bind.vue2.js +2 -2
- package/dist/lib/components/design/views/assemblys/form/common/data-format.vue.js +4 -2
- package/dist/lib/components/design/views/assemblys/form/common/data-origin.css +1 -1
- package/dist/lib/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/lib/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/page/page-attr-base.vue.js +1 -1
- package/dist/lib/components/design/views/design/page-design.vue.js +1 -1
- package/package.json +2 -2
|
@@ -191,7 +191,7 @@ function caculateComponentProps(configure, property) {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
const pageDesignUtil = usePageContextStore();
|
|
194
|
+
const pageDesignUtil = usePageContextStore(window["$pinia"]);
|
|
195
195
|
const pageDesign = pageDesignUtil.pageContext;
|
|
196
196
|
if (pageDesign) {
|
|
197
197
|
if (!pageDesign.initOptionConfigs) {
|
|
@@ -226,7 +226,7 @@ function caculateComponentProps(configure, property) {
|
|
|
226
226
|
property.value = tempProps;
|
|
227
227
|
}
|
|
228
228
|
function removComponentOptionConfigs(configure) {
|
|
229
|
-
const pageDesignUtil = usePageContextStore();
|
|
229
|
+
const pageDesignUtil = usePageContextStore(window["$pinia"]);
|
|
230
230
|
const pageDesign = pageDesignUtil.pageContext;
|
|
231
231
|
if (pageDesign) {
|
|
232
232
|
if (!pageDesign.initOptionConfigs) {
|
|
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
},
|
|
20
20
|
setup(__props) {
|
|
21
21
|
const props = __props;
|
|
22
|
-
const pageContextUtil = usePageContextStore();
|
|
22
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
23
23
|
const pageDesign = pageContextUtil.pageContext;
|
|
24
24
|
const serviceFields = ref([]);
|
|
25
25
|
const showFields = computed(() => {
|
package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js
CHANGED
|
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(__props) {
|
|
20
|
-
const pageDesignUtil = usePageContextStore();
|
|
20
|
+
const pageDesignUtil = usePageContextStore(window["$pinia"]);
|
|
21
21
|
const props = __props;
|
|
22
22
|
if (!props.configure.props) {
|
|
23
23
|
props.configure.props = {};
|
|
@@ -274,13 +274,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
274
|
label: "大于",
|
|
275
275
|
value: "GT"
|
|
276
276
|
}, null, 512), [
|
|
277
|
-
[
|
|
277
|
+
[
|
|
278
|
+
vShow,
|
|
279
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
280
|
+
]
|
|
278
281
|
]),
|
|
279
282
|
withDirectives(createVNode(_component_el_option, {
|
|
280
283
|
label: "小于",
|
|
281
284
|
value: "LT"
|
|
282
285
|
}, null, 512), [
|
|
283
|
-
[
|
|
286
|
+
[
|
|
287
|
+
vShow,
|
|
288
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
289
|
+
]
|
|
284
290
|
]),
|
|
285
291
|
withDirectives(createVNode(_component_el_option, {
|
|
286
292
|
label: "晚于",
|
|
@@ -302,13 +308,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
302
308
|
label: "不大于",
|
|
303
309
|
value: "LET"
|
|
304
310
|
}, null, 512), [
|
|
305
|
-
[
|
|
311
|
+
[
|
|
312
|
+
vShow,
|
|
313
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
314
|
+
]
|
|
306
315
|
]),
|
|
307
316
|
withDirectives(createVNode(_component_el_option, {
|
|
308
317
|
label: "不小于",
|
|
309
318
|
value: "GET"
|
|
310
319
|
}, null, 512), [
|
|
311
|
-
[
|
|
320
|
+
[
|
|
321
|
+
vShow,
|
|
322
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
323
|
+
]
|
|
312
324
|
]),
|
|
313
325
|
withDirectives(createVNode(_component_el_option, {
|
|
314
326
|
label: "不晚于",
|
|
@@ -465,7 +477,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
465
477
|
default: withCtx((scope) => [
|
|
466
478
|
createVNode(_component_el_icon, {
|
|
467
479
|
size: "14",
|
|
468
|
-
style: { "color": "#
|
|
480
|
+
style: { "color": "#5893ef", "cursor": "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" },
|
|
469
481
|
onClick: ($event) => addData(scope.row)
|
|
470
482
|
}, {
|
|
471
483
|
default: withCtx(() => [
|
|
@@ -475,7 +487,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
475
487
|
}, 1032, ["onClick"]),
|
|
476
488
|
createVNode(_component_el_icon, {
|
|
477
489
|
size: "14",
|
|
478
|
-
style: { "color": "#
|
|
490
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
479
491
|
onClick: ($event) => deleteData(scope.row)
|
|
480
492
|
}, {
|
|
481
493
|
default: withCtx(() => [
|
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
setup(__props) {
|
|
19
19
|
const props = __props;
|
|
20
20
|
const gutters = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24];
|
|
21
|
-
const pageDesignUtil = usePageContextStore();
|
|
21
|
+
const pageDesignUtil = usePageContextStore(window["$pinia"]);
|
|
22
22
|
const pageDesign = pageDesignUtil.pageContext ? pageDesignUtil.pageContext : {};
|
|
23
23
|
const sizeConf = props.size;
|
|
24
24
|
const dynamicSize = computed(() => {
|
|
@@ -9,7 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
setup(__props) {
|
|
12
|
-
const pageContextUtil = usePageContextStore();
|
|
12
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
13
13
|
const props = __props;
|
|
14
14
|
const permissionOptions = pageContextUtil.getPagePermissionOptions();
|
|
15
15
|
const pMap = {};
|
|
@@ -10,7 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
emits: ["selectTable"],
|
|
11
11
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
12
|
const props = __props;
|
|
13
|
-
const pageDesignUtil = usePageContextStore();
|
|
13
|
+
const pageDesignUtil = usePageContextStore(window["$pinia"]);
|
|
14
14
|
pageDesignUtil.pageContext ? pageDesignUtil.pageContext : {};
|
|
15
15
|
const emits = __emit;
|
|
16
16
|
const tableHeight = ref(300);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./common-variable-bind.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-46f68976"]]);
|
|
5
5
|
export {
|
|
6
6
|
BindVariable as default
|
|
7
7
|
};
|
|
@@ -4,7 +4,7 @@ import http from "agilebuilder-ui/src/utils/request";
|
|
|
4
4
|
import { getUuidv4 } from "../../../utils/common-util.js";
|
|
5
5
|
import { getTypeOptions, contextVarOptions, taskVarOptions } from "./common-variable-bind-option.js";
|
|
6
6
|
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
7
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
7
|
+
const _withScopeId = (n) => (pushScopeId("data-v-46f68976"), n = n(), popScopeId(), n);
|
|
8
8
|
const _hoisted_1 = { key: 0 };
|
|
9
9
|
const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
|
|
10
10
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
|
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["update:modelValue"],
|
|
46
46
|
setup(__props, { emit: __emit }) {
|
|
47
|
-
const pageContextUtil = usePageContextStore();
|
|
47
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
48
48
|
const emits = __emit;
|
|
49
49
|
const props = __props;
|
|
50
50
|
const defalutValue = ref("");
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(__props) {
|
|
30
|
-
const pageContextUtil = usePageContextStore();
|
|
30
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
31
31
|
const props = __props;
|
|
32
32
|
if (!props.configure.props) {
|
|
33
33
|
props.configure.props = {};
|
|
@@ -607,7 +607,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
607
607
|
return openBlock(), createElementBlock("div", {
|
|
608
608
|
key: index,
|
|
609
609
|
onClick: ($event) => seleteSort(index),
|
|
610
|
-
class: normalizeClass(
|
|
610
|
+
class: normalizeClass(
|
|
611
|
+
atPresentSortIndex.value === index ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline"
|
|
612
|
+
)
|
|
611
613
|
}, [
|
|
612
614
|
createVNode(_component_el_select, {
|
|
613
615
|
modelValue: item.name,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4ad123b"]]);
|
|
5
5
|
export {
|
|
6
6
|
DataOrigin as default
|
|
7
7
|
};
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
},
|
|
28
28
|
setup(__props) {
|
|
29
29
|
const props = __props;
|
|
30
|
-
const pageContextUtil = usePageContextStore();
|
|
30
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
31
31
|
const pageDesign = pageContextUtil.pageContext;
|
|
32
32
|
if (!props.configure.props.dataOrigin) {
|
|
33
33
|
props.configure.props.dataOrigin = {};
|
|
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
emits: ["onSelectWidget", "onCustomAttrWidget", "onCopy", "onDelete"],
|
|
22
22
|
setup(__props, { emit: __emit }) {
|
|
23
|
-
const pageContextUtil = usePageContextStore();
|
|
23
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
24
24
|
const props = __props;
|
|
25
25
|
if (props.configure.name === "table") {
|
|
26
26
|
if (props.pageDesign.tableRuntimes && props.pageDesign.tableRuntimes[props.configure.uuid]) {
|
|
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["save"],
|
|
21
21
|
setup(__props, { emit: __emit }) {
|
|
22
|
-
const pageContextUtil = usePageContextStore();
|
|
22
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
23
23
|
const props = __props;
|
|
24
24
|
const emit = __emit;
|
|
25
25
|
const currentRow = ref({});
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
configure: {}
|
|
17
17
|
},
|
|
18
18
|
setup(__props) {
|
|
19
|
-
const pageContextUtil = usePageContextStore();
|
|
19
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
20
20
|
const props = __props;
|
|
21
21
|
const variableDefaultProps = {
|
|
22
22
|
children: "children",
|
|
@@ -15,7 +15,7 @@ const _hoisted_4 = { class: "amb-page-container-main" };
|
|
|
15
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "page-design",
|
|
17
17
|
setup(__props) {
|
|
18
|
-
const pageContextUtil = usePageContextStore();
|
|
18
|
+
const pageContextUtil = usePageContextStore(window["$pinia"]);
|
|
19
19
|
const clickType = ref("page");
|
|
20
20
|
const pageDesign = {
|
|
21
21
|
id: 31,
|
|
@@ -193,7 +193,7 @@ function caculateComponentProps(configure, property) {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
const pageDesignUtil = pageStore.usePageContextStore();
|
|
196
|
+
const pageDesignUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
197
197
|
const pageDesign = pageDesignUtil.pageContext;
|
|
198
198
|
if (pageDesign) {
|
|
199
199
|
if (!pageDesign.initOptionConfigs) {
|
|
@@ -228,7 +228,7 @@ function caculateComponentProps(configure, property) {
|
|
|
228
228
|
property.value = tempProps;
|
|
229
229
|
}
|
|
230
230
|
function removComponentOptionConfigs(configure) {
|
|
231
|
-
const pageDesignUtil = pageStore.usePageContextStore();
|
|
231
|
+
const pageDesignUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
232
232
|
const pageDesign = pageDesignUtil.pageContext;
|
|
233
233
|
if (pageDesign) {
|
|
234
234
|
if (!pageDesign.initOptionConfigs) {
|
|
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
setup(__props) {
|
|
22
22
|
const props = __props;
|
|
23
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
23
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
24
24
|
const pageDesign = pageContextUtil.pageContext;
|
|
25
25
|
const serviceFields = ref([]);
|
|
26
26
|
const showFields = computed(() => {
|
package/dist/lib/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js
CHANGED
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(__props) {
|
|
21
|
-
const pageDesignUtil = pageStore.usePageContextStore();
|
|
21
|
+
const pageDesignUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
22
22
|
const props = __props;
|
|
23
23
|
if (!props.configure.props) {
|
|
24
24
|
props.configure.props = {};
|
|
@@ -275,13 +275,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
275
275
|
label: "大于",
|
|
276
276
|
value: "GT"
|
|
277
277
|
}, null, 512), [
|
|
278
|
-
[
|
|
278
|
+
[
|
|
279
|
+
vue.vShow,
|
|
280
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
281
|
+
]
|
|
279
282
|
]),
|
|
280
283
|
vue.withDirectives(vue.createVNode(_component_el_option, {
|
|
281
284
|
label: "小于",
|
|
282
285
|
value: "LT"
|
|
283
286
|
}, null, 512), [
|
|
284
|
-
[
|
|
287
|
+
[
|
|
288
|
+
vue.vShow,
|
|
289
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
290
|
+
]
|
|
285
291
|
]),
|
|
286
292
|
vue.withDirectives(vue.createVNode(_component_el_option, {
|
|
287
293
|
label: "晚于",
|
|
@@ -303,13 +309,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
303
309
|
label: "不大于",
|
|
304
310
|
value: "LET"
|
|
305
311
|
}, null, 512), [
|
|
306
|
-
[
|
|
312
|
+
[
|
|
313
|
+
vue.vShow,
|
|
314
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
315
|
+
]
|
|
307
316
|
]),
|
|
308
317
|
vue.withDirectives(vue.createVNode(_component_el_option, {
|
|
309
318
|
label: "不小于",
|
|
310
319
|
value: "GET"
|
|
311
320
|
}, null, 512), [
|
|
312
|
-
[
|
|
321
|
+
[
|
|
322
|
+
vue.vShow,
|
|
323
|
+
scope.row.dataType == "int" || scope.row.dataType == "long" || scope.row.dataType == "float" || scope.row.dataType == "double"
|
|
324
|
+
]
|
|
313
325
|
]),
|
|
314
326
|
vue.withDirectives(vue.createVNode(_component_el_option, {
|
|
315
327
|
label: "不晚于",
|
|
@@ -466,7 +478,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
466
478
|
default: vue.withCtx((scope) => [
|
|
467
479
|
vue.createVNode(_component_el_icon, {
|
|
468
480
|
size: "14",
|
|
469
|
-
style: { "color": "#
|
|
481
|
+
style: { "color": "#5893ef", "cursor": "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" },
|
|
470
482
|
onClick: ($event) => addData(scope.row)
|
|
471
483
|
}, {
|
|
472
484
|
default: vue.withCtx(() => [
|
|
@@ -476,7 +488,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
476
488
|
}, 1032, ["onClick"]),
|
|
477
489
|
vue.createVNode(_component_el_icon, {
|
|
478
490
|
size: "14",
|
|
479
|
-
style: { "color": "#
|
|
491
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
480
492
|
onClick: ($event) => deleteData(scope.row)
|
|
481
493
|
}, {
|
|
482
494
|
default: vue.withCtx(() => [
|
|
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
19
|
setup(__props) {
|
|
20
20
|
const props = __props;
|
|
21
21
|
const gutters = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24];
|
|
22
|
-
const pageDesignUtil = pageStore.usePageContextStore();
|
|
22
|
+
const pageDesignUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
23
23
|
const pageDesign = pageDesignUtil.pageContext ? pageDesignUtil.pageContext : {};
|
|
24
24
|
const sizeConf = props.size;
|
|
25
25
|
const dynamicSize = vue.computed(() => {
|
|
@@ -10,7 +10,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
setup(__props) {
|
|
13
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
13
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
14
14
|
const props = __props;
|
|
15
15
|
const permissionOptions = pageContextUtil.getPagePermissionOptions();
|
|
16
16
|
const pMap = {};
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
11
11
|
emits: ["selectTable"],
|
|
12
12
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13
13
|
const props = __props;
|
|
14
|
-
const pageDesignUtil = pageStore.usePageContextStore();
|
|
14
|
+
const pageDesignUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
15
15
|
pageDesignUtil.pageContext ? pageDesignUtil.pageContext : {};
|
|
16
16
|
const emits = __emit;
|
|
17
17
|
const tableHeight = vue.ref(300);
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
const commonVariableBind_vue_vue_type_script_setup_true_lang = require("./common-variable-bind.vue2.js");
|
|
3
3
|
;/* empty css */
|
|
4
4
|
const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
5
|
-
const BindVariable = /* @__PURE__ */ _pluginVue_exportHelper(commonVariableBind_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-
|
|
5
|
+
const BindVariable = /* @__PURE__ */ _pluginVue_exportHelper(commonVariableBind_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-46f68976"]]);
|
|
6
6
|
module.exports = BindVariable;
|
|
@@ -5,7 +5,7 @@ const http = require("agilebuilder-ui/src/utils/request");
|
|
|
5
5
|
const commonUtil = require("../../../utils/common-util.js");
|
|
6
6
|
const commonVariableBindOption = require("./common-variable-bind-option.js");
|
|
7
7
|
const pageStore = require("../../../../../stores/page-store.js");
|
|
8
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
8
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-46f68976"), n = n(), vue.popScopeId(), n);
|
|
9
9
|
const _hoisted_1 = { key: 0 };
|
|
10
10
|
const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
|
|
11
11
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
45
45
|
},
|
|
46
46
|
emits: ["update:modelValue"],
|
|
47
47
|
setup(__props, { emit: __emit }) {
|
|
48
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
48
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
49
49
|
const emits = __emit;
|
|
50
50
|
const props = __props;
|
|
51
51
|
const defalutValue = vue.ref("");
|
|
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(__props) {
|
|
31
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
31
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
32
32
|
const props = __props;
|
|
33
33
|
if (!props.configure.props) {
|
|
34
34
|
props.configure.props = {};
|
|
@@ -608,7 +608,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
608
608
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
609
609
|
key: index,
|
|
610
610
|
onClick: ($event) => seleteSort(index),
|
|
611
|
-
class: vue.normalizeClass(
|
|
611
|
+
class: vue.normalizeClass(
|
|
612
|
+
atPresentSortIndex.value === index ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline"
|
|
613
|
+
)
|
|
612
614
|
}, [
|
|
613
615
|
vue.createVNode(_component_el_select, {
|
|
614
616
|
modelValue: item.name,
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
const dataOrigin_vue_vue_type_script_setup_true_lang = require("./data-origin.vue2.js");
|
|
3
3
|
;/* empty css */
|
|
4
4
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
5
|
-
const DataOrigin = /* @__PURE__ */ _pluginVue_exportHelper(dataOrigin_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-
|
|
5
|
+
const DataOrigin = /* @__PURE__ */ _pluginVue_exportHelper(dataOrigin_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-a4ad123b"]]);
|
|
6
6
|
module.exports = DataOrigin;
|
|
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28
28
|
},
|
|
29
29
|
setup(__props) {
|
|
30
30
|
const props = __props;
|
|
31
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
31
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
32
32
|
const pageDesign = pageContextUtil.pageContext;
|
|
33
33
|
if (!props.configure.props.dataOrigin) {
|
|
34
34
|
props.configure.props.dataOrigin = {};
|
|
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21
21
|
},
|
|
22
22
|
emits: ["onSelectWidget", "onCustomAttrWidget", "onCopy", "onDelete"],
|
|
23
23
|
setup(__props, { emit: __emit }) {
|
|
24
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
24
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
25
25
|
const props = __props;
|
|
26
26
|
if (props.configure.name === "table") {
|
|
27
27
|
if (props.pageDesign.tableRuntimes && props.pageDesign.tableRuntimes[props.configure.uuid]) {
|
|
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
emits: ["save"],
|
|
22
22
|
setup(__props, { emit: __emit }) {
|
|
23
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
23
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
24
24
|
const props = __props;
|
|
25
25
|
const emit = __emit;
|
|
26
26
|
const currentRow = vue.ref({});
|
|
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
configure: {}
|
|
18
18
|
},
|
|
19
19
|
setup(__props) {
|
|
20
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
20
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
21
21
|
const props = __props;
|
|
22
22
|
const variableDefaultProps = {
|
|
23
23
|
children: "children",
|
|
@@ -16,7 +16,7 @@ const _hoisted_4 = { class: "amb-page-container-main" };
|
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
17
|
__name: "page-design",
|
|
18
18
|
setup(__props) {
|
|
19
|
-
const pageContextUtil = pageStore.usePageContextStore();
|
|
19
|
+
const pageContextUtil = pageStore.usePageContextStore(window["$pinia"]);
|
|
20
20
|
const clickType = vue.ref("page");
|
|
21
21
|
const pageDesign = {
|
|
22
22
|
id: 31,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "0.0.1-
|
|
3
|
+
"version": "0.0.1-tmp2",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/lib/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"qrcode": "^1.5.3",
|
|
31
31
|
"quill": "^2.0.1",
|
|
32
32
|
"service-flow-designer": "1.1.18",
|
|
33
|
-
"super-page-runtime": "0.0.1-
|
|
33
|
+
"super-page-runtime": "0.0.1-tmp8",
|
|
34
34
|
"uuid": "^9.0.1",
|
|
35
35
|
"vue-awesome": "^4.5.0",
|
|
36
36
|
"vue-codemirror": "^6.1.1",
|