super-page-runtime 2.0.4 → 2.0.9
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/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/es/components/runtime/index.d.ts +4 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +11 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +11 -0
- package/dist/es/components/runtime/utils/common-util.d.ts +16 -0
- package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/es/components/runtime/utils/events/event-util.d.ts +48 -0
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +61 -0
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +4 -0
- package/dist/es/components/runtime/utils/global-refs.d.ts +59 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +223 -0
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +106 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +4 -1
- package/dist/es/components/runtime/utils/page-init-util.d.ts +38 -0
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/es/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/es/components/runtime/utils/store.d.ts +2 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +196 -18
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +76 -6
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +91 -0
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +2 -2
- package/dist/lib/_virtual/AttributeMap.js +4 -0
- package/dist/lib/_virtual/Delta.js +4 -0
- package/dist/lib/_virtual/Op.js +4 -0
- package/dist/lib/_virtual/OpIterator.js +4 -0
- package/dist/lib/_virtual/__vite-browser-external.js +3 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +8 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/_virtual/dayjs.min.js +4 -0
- package/dist/lib/_virtual/index.js +4 -0
- package/dist/lib/_virtual/index2.js +4 -0
- package/dist/lib/_virtual/index3.js +4 -0
- package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/components/runtime/index.d.ts +4 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +128 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +258 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +28 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +16 -0
- package/dist/lib/components/runtime/utils/common-util.js +94 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +10 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +48 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +526 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +61 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +1625 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +4 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +389 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +59 -0
- package/dist/lib/components/runtime/utils/global-refs.js +65 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +223 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +106 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +622 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +38 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +200 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +525 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store-util.js +17 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +432 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +126 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +52 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +56 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +642 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +453 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +88 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +164 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +142 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +73 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +91 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +496 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +8 -0
- package/dist/lib/index.js +15 -0
- package/package.json +1 -2
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
5
|
+
require("../../../../utils/global-refs.js");
|
|
6
|
+
const index = require("../../../../../../node_modules/.pnpm/element-plus@2.6.2_vue@3.4.21/node_modules/element-plus/es/components/tabs/index.js");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
8
|
+
__name: "tabs-runtime",
|
|
9
|
+
props: {
|
|
10
|
+
pageContext: {},
|
|
11
|
+
configure: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const activeName = props.configure.props.defaultOpen ? props.configure.props.defaultOpen : 1;
|
|
16
|
+
const thisRef = Vue.ref(null);
|
|
17
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
18
|
+
const runtimeStyle = runtimeInfo.style;
|
|
19
|
+
const runtimeClass = runtimeInfo.class;
|
|
20
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return Vue.openBlock(), Vue.createBlock(Vue.unref(index.ElTabs), {
|
|
23
|
+
ref_key: "thisRef",
|
|
24
|
+
ref: thisRef,
|
|
25
|
+
modelValue: Vue.unref(activeName),
|
|
26
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(activeName) ? activeName.value = $event : null),
|
|
27
|
+
type: _ctx.configure.props.cardType,
|
|
28
|
+
"tab-position": _ctx.configure.props.tabPosition,
|
|
29
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
30
|
+
class: Vue.normalizeClass(Vue.unref(runtimeClass))
|
|
31
|
+
}, {
|
|
32
|
+
default: Vue.withCtx(() => [
|
|
33
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(_ctx.configure.items, (item, index$1) => {
|
|
34
|
+
return Vue.openBlock(), Vue.createBlock(Vue.unref(index.ElTabPane), {
|
|
35
|
+
label: item.label,
|
|
36
|
+
name: item.index
|
|
37
|
+
}, {
|
|
38
|
+
label: Vue.withCtx(() => [
|
|
39
|
+
item.iconType && item.iconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
|
|
40
|
+
key: 0,
|
|
41
|
+
iconType: item.iconType,
|
|
42
|
+
iconValue: item.iconValue,
|
|
43
|
+
style: { "margin-right": "2px" }
|
|
44
|
+
}, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
|
|
45
|
+
Vue.createElementVNode("span", {
|
|
46
|
+
style: Vue.normalizeStyle(Vue.unref(headerStyle))
|
|
47
|
+
}, Vue.toDisplayString(item.label), 5)
|
|
48
|
+
]),
|
|
49
|
+
default: Vue.withCtx(() => [
|
|
50
|
+
Vue.createElementVNode("div", null, [
|
|
51
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(item.items, (element, itemIndex) => {
|
|
52
|
+
return Vue.openBlock(), Vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
53
|
+
key: element.uuid,
|
|
54
|
+
pageContext: _ctx.pageContext,
|
|
55
|
+
configure: element
|
|
56
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
57
|
+
}), 128))
|
|
58
|
+
])
|
|
59
|
+
]),
|
|
60
|
+
_: 2
|
|
61
|
+
}, 1032, ["label", "name"]);
|
|
62
|
+
}), 256))
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["modelValue", "type", "tab-position", "style", "class"]);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
require("../../../../utils/global-refs.js");
|
|
5
|
+
const _hoisted_1 = { class: "amb-widget-tools-parent" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "tools-runtime",
|
|
8
|
+
props: {
|
|
9
|
+
pageContext: {},
|
|
10
|
+
configure: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const thisRef = Vue.ref(null);
|
|
15
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
16
|
+
const runtimeStyle = Vue.ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
17
|
+
const runtimeClass = runtimeInfo.class;
|
|
18
|
+
Vue.onMounted(() => {
|
|
19
|
+
if (thisRef.value && thisRef.value.parentNode) {
|
|
20
|
+
const resizeObserver2 = new ResizeObserver((entries) => {
|
|
21
|
+
for (let entry of entries) {
|
|
22
|
+
}
|
|
23
|
+
caculatePositionStyle();
|
|
24
|
+
});
|
|
25
|
+
resizeObserver2.observe(thisRef.value.parentNode);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
Vue.onUnmounted(() => {
|
|
29
|
+
});
|
|
30
|
+
function caculatePositionStyle() {
|
|
31
|
+
if (thisRef.value && thisRef.value.parentNode) {
|
|
32
|
+
const thisProps = props.configure.props;
|
|
33
|
+
const position = thisProps.position;
|
|
34
|
+
if (position == "top1" || position == "bottom1") {
|
|
35
|
+
const tempStyle = {};
|
|
36
|
+
tempStyle["position"] = "fixed !important";
|
|
37
|
+
tempStyle["z-index"] = "1";
|
|
38
|
+
const contentObj = [thisRef.value.parentNode];
|
|
39
|
+
if (contentObj && contentObj.length > 0) {
|
|
40
|
+
const contentRec = contentObj[0].getBoundingClientRect();
|
|
41
|
+
if (position == "top") {
|
|
42
|
+
tempStyle["top"] = contentRec.top + "px";
|
|
43
|
+
}
|
|
44
|
+
if (position == "bottom") {
|
|
45
|
+
tempStyle["bottom"] = "10px";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const parentRec = thisRef.value.parentNode.getBoundingClientRect();
|
|
49
|
+
console.log("parentRec", parentRec);
|
|
50
|
+
tempStyle["width"] = parentRec.width - 25 + "px";
|
|
51
|
+
Object.assign(runtimeStyle.value, tempStyle);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
57
|
+
Vue.createElementVNode("div", {
|
|
58
|
+
class: Vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", Vue.unref(runtimeClass)]),
|
|
59
|
+
style: Vue.normalizeStyle(runtimeStyle.value),
|
|
60
|
+
ref_key: "thisRef",
|
|
61
|
+
ref: thisRef
|
|
62
|
+
}, [
|
|
63
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
64
|
+
return Vue.openBlock(), Vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
65
|
+
key: element.uuid,
|
|
66
|
+
pageContext: _ctx.pageContext,
|
|
67
|
+
configure: element
|
|
68
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
69
|
+
}), 128))
|
|
70
|
+
], 6)
|
|
71
|
+
]);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
module.exports = _sfc_main;
|