super-page-runtime 2.2.0 → 2.2.1

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.
Files changed (113) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -2
  2. package/dist/es/components/runtime/index.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -72
  4. package/dist/es/components/runtime/utils/assemblys-config.js +2 -4
  5. package/dist/es/components/runtime/utils/barcode-util.js +1 -2
  6. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +59 -81
  7. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +2 -4
  8. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +8 -16
  9. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +10 -18
  10. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +20 -25
  11. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
  12. package/dist/es/components/runtime/utils/charts/chart-util.js +200 -218
  13. package/dist/es/components/runtime/utils/common-util.js +7 -14
  14. package/dist/es/components/runtime/utils/events/event-util.js +97 -115
  15. package/dist/es/components/runtime/utils/events/print-label.js +20 -21
  16. package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -2
  17. package/dist/es/components/runtime/utils/events/standard-event.js +295 -337
  18. package/dist/es/components/runtime/utils/events/validator-util.js +85 -116
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.js +1 -2
  20. package/dist/es/components/runtime/utils/form/scan-util.js +10 -17
  21. package/dist/es/components/runtime/utils/global-refs.js +7 -14
  22. package/dist/es/components/runtime/utils/i18n-util.js +1 -2
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
  24. package/dist/es/components/runtime/utils/page-helper-util.js +66 -116
  25. package/dist/es/components/runtime/utils/page-init-util.d.ts +6 -1
  26. package/dist/es/components/runtime/utils/page-init-util.js +65 -69
  27. package/dist/es/components/runtime/utils/page-permission-util.js +2 -4
  28. package/dist/es/components/runtime/utils/page-store.d.ts +2 -2
  29. package/dist/es/components/runtime/utils/table-utils.js +4 -8
  30. package/dist/es/components/runtime/utils/tree-utils.js +13 -15
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +2 -2
  33. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -4
  34. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -28
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +44 -40
  40. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +44 -0
  41. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +4 -0
  42. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +20 -20
  43. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +20 -20
  44. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +20 -20
  45. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +22 -22
  46. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +34 -1
  47. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +205 -170
  48. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +19 -50
  51. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +151 -120
  53. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +4 -4
  54. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +6 -6
  56. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +9 -11
  57. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +6 -6
  58. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +2 -2
  60. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +2 -2
  62. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +2 -2
  64. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +2 -2
  66. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +7 -7
  68. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +60 -72
  69. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +91 -95
  70. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +6 -9
  71. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +5 -5
  72. package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
  73. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  74. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +6 -8
  75. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -6
  76. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -9
  77. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +10 -13
  78. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +25 -28
  79. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -4
  80. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -4
  81. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +5 -5
  82. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +9 -10
  83. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +9 -11
  84. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  85. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  86. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +2 -2
  87. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +15 -20
  88. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +20 -25
  89. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +15 -20
  90. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +2 -2
  91. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +4 -5
  93. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
  94. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  95. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +97 -0
  96. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
  97. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  98. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +33 -43
  99. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +3 -4
  100. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +3 -4
  101. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +3 -4
  102. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +2 -2
  103. package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
  104. package/dist/es/components/runtime/views/home-chart.vue.js +36 -0
  105. package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
  106. package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +3 -3
  107. package/dist/es/components/runtime/views/super-page-dialog.vue.js +15 -13
  108. package/dist/es/components/runtime/views/super-page.vue.d.ts +15 -6
  109. package/dist/es/components/runtime/views/super-page.vue.js +171 -182
  110. package/dist/es/index.d.ts +2 -2
  111. package/dist/es/index.js +6 -4
  112. package/package.json +74 -74
  113. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +0 -1
@@ -0,0 +1,36 @@
1
+ import { defineComponent as e, ref as t, resolveDirective as a, withDirectives as i, createElementBlock as n, openBlock as r, createBlock as o, createCommentVNode as s, unref as l } from "vue";
2
+ import { deepCopy as m } from "../utils/common-util.js";
3
+ import u from "./assemblys/home-chart-render.vue.js";
4
+ import h from "agilebuilder-ui/src/utils/request";
5
+ import { updateOptionDatasources as g, updateChartDatasources as p } from "../utils/page-helper-util.js";
6
+ import { initPageEvents as d } from "../utils/events/event-util.js";
7
+ import { setHomeChartInitConfigValue as c } from "../utils/charts/chart-util.js";
8
+ const f = { "element-loading-text": "加载中..." }, v = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartCode: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
9
+ const v2 = e2, C = t(true), y = t(false), b = t({});
10
+ let S = t(null);
11
+ return v2.chartCode && h.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/home-chart-layout/" + v2.chartCode).then((e3) => {
12
+ if (e3 && e3.designJson) {
13
+ const t2 = JSON.parse(e3.designJson), a2 = window.frameElement;
14
+ b.value = t2.chartJson, b.value.homeChartSettingUserId = v2.homeChartSettingUserId, a2 && (b.value.runtime.common.style.pc_style.height = a2.clientHeight + "px");
15
+ const i2 = { showHomepageSearch: true, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
16
+ if (t2.variables) {
17
+ const e4 = i2.entity.page;
18
+ for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
19
+ }
20
+ t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && g(i2, t2.initOptionConfigs, void 0), c(b.value.pushHomepage.initConfig, i2, v2.homeChartSettingUserId), d(t2, i2), S.value = i2, setTimeout(() => {
21
+ !function(e4, t3) {
22
+ if (!t3 || 0 == t3.length) return;
23
+ e4.initChartData = {}, e4.initChartData.data = m(e4.entity.data), e4.initChartData.page = m(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
24
+ }(S.value, [t2.initChartServiceConfigs]);
25
+ }, 200);
26
+ } else y.value = true;
27
+ }).finally(() => {
28
+ C.value = false;
29
+ }), (e3, t2) => {
30
+ const m2 = a("loading");
31
+ return i((r(), n("div", f, [C.value ? s("", true) : (r(), o(u, { key: 0, configure: b.value, pageContext: l(S) }, null, 8, ["configure", "pageContext"]))])), [[m2, C.value]]);
32
+ };
33
+ } });
34
+ export {
35
+ v as default
36
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./home-chart.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -17,17 +17,17 @@ interface MyProps {
17
17
  default: null;
18
18
  };
19
19
  }
20
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MyProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  close: (...args: any[]) => void;
22
22
  open: (...args: any[]) => void;
23
23
  closed: (...args: any[]) => void;
24
24
  opened: (...args: any[]) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & {
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{
26
26
  onClose?: (...args: any[]) => any;
27
27
  onOpen?: (...args: any[]) => any;
28
28
  onClosed?: (...args: any[]) => any;
29
29
  onOpened?: (...args: any[]) => any;
30
- }, {}, {}>;
30
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
31
  export default _default;
32
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
33
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,23 +1,25 @@
1
- import { defineComponent as e, ref as a, resolveComponent as l, openBlock as t, createBlock as u, withCtx as o, createElementBlock as n, createCommentVNode as r } from "vue";
2
- import d from "./super-page.vue.js";
3
- const i = ["src"], p = ["src"], s = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: s2 }) {
4
- const v = e2, g = s2, m = a(true), c = v.jumpPageSetting ? v.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), j = a(null), C = a(null), w = a(null), y = a({}), b = a(false), k = a(false), O = a("rtl"), _ = a(null), I = a(false), V = a(null);
1
+ import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as u, withCtx as o, createElementBlock as n, createCommentVNode as r } from "vue";
2
+ import i from "./super-page.vue.js";
3
+ const d = ["src"], s = ["src"], p = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: p2 }) {
4
+ const g = e2, v = p2, m = a(true), c = g.jumpPageSetting ? g.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), j = a(null), C = a(null), w = a(null), y = a({}), b = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), V = a(null);
5
5
  if (c) {
6
- if (I.value = !(!c || void 0 === c._isIframe) && c._isIframe, V.value = c && c._path ? c._path : null, w.value = c && c.dialogType ? c.dialogType : "dialog", b.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "100%", _.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, j.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null, v.parentPageEventParams) {
6
+ _.value = !(!c || void 0 === c._isIframe) && c._isIframe, V.value = c && c._path ? c._path : null, w.value = c && c.dialogType ? c.dialogType : "dialog", b.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, j.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null;
7
+ const e3 = !!c.isNeedId;
8
+ if (g.parentPageEventParams) {
7
9
  try {
8
- const e3 = JSON.parse(JSON.stringify(v.parentPageEventParams));
9
- e3.pageContext && delete e3.pageContext, e3.configureObj && delete e3.configureObj, Object.assign(y.value, e3);
10
- } catch (e3) {
10
+ const e4 = JSON.parse(JSON.stringify(g.parentPageEventParams));
11
+ e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(y.value, e4);
12
+ } catch (e4) {
11
13
  }
12
- null !== j.value && void 0 !== j.value || (j.value = v.parentPageEventParams.id);
14
+ null !== j.value && void 0 !== j.value || (j.value = g.parentPageEventParams.id);
13
15
  }
14
- y.value.parentPageCode = c && c.parentPageCode ? c.parentPageCode : null, y.value.parentPageVersion = c && c.parentPageVersion ? c.parentPageVersion : null, y.value.jumpMode = c ? c.jumpMode : null, y.value.id = j.value, y.value.taskId = C.value, v.customParams && Object.assign(y.value, v.customParams);
16
+ y.value.parentPageCode = c && c.parentPageCode ? c.parentPageCode : null, y.value.parentPageVersion = c && c.parentPageVersion ? c.parentPageVersion : null, y.value.jumpMode = c ? c.jumpMode : null, y.value.id = j.value, y.value.isNeedId = e3, y.value.taskId = C.value, g.customParams && Object.assign(y.value, g.customParams);
15
17
  }
16
18
  return (e3, a2) => {
17
- const s3 = l("el-drawer"), v2 = l("el-dialog");
18
- return w.value && "drawer" === w.value ? (t(), u(s3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, onOpen: a2[1] || (a2[1] = (e4) => g("open")), onOpened: a2[2] || (a2[2] = (e4) => g("opened")), onClose: a2[3] || (a2[3] = (e4) => g("close")), onClosed: a2[4] || (a2[4] = (e4) => g("closed")) }, { default: o(() => [!I.value && h.value ? (t(), u(d, { key: 0, pageCode: h.value, pageRequest: y.value }, null, 8, ["pageCode", "pageRequest"])) : I.value ? (t(), n("iframe", { key: 1, height: "98%", width: "100%", src: V.value, frameborder: "0", allowtransparency: "no" }, null, 8, i)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), u(v2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, draggable: b.value, overflow: k.value, onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => g("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: o(() => [!I.value && h.value ? (t(), u(d, { key: 0, pageCode: h.value, pageRequest: y.value, contentHeight: _.value }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : I.value ? (t(), n("iframe", { key: 1, height: "98%", width: "100%", src: V.value, frameborder: "0", allowtransparency: "no" }, null, 8, p)) : r("", true)]), _: 1 }, 8, ["title", "width", "draggable", "overflow"]));
19
+ const p3 = l("el-drawer"), g2 = l("el-dialog");
20
+ return w.value && "drawer" === w.value ? (u(), t(p3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, onOpen: a2[1] || (a2[1] = (e4) => v("open")), onOpened: a2[2] || (a2[2] = (e4) => v("opened")), onClose: a2[3] || (a2[3] = (e4) => v("close")), onClosed: a2[4] || (a2[4] = (e4) => v("closed")) }, { default: o(() => [!_.value && h.value ? (u(), t(i, { key: 0, pageCode: h.value, pageRequest: y.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (u(), n("iframe", { key: 1, height: "98%", width: "100%", src: V.value, frameborder: "0", allowtransparency: "no" }, null, 8, d)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (u(), t(g2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, draggable: b.value, overflow: k.value, onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => v("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: o(() => [!_.value && h.value ? (u(), t(i, { key: 0, pageCode: h.value, pageRequest: y.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (u(), n("iframe", { key: 1, height: "98%", width: "100%", src: V.value, frameborder: "0", allowtransparency: "no" }, null, 8, s)) : r("", true)]), _: 1 }, 8, ["title", "width", "draggable", "overflow"]));
19
21
  };
20
22
  } });
21
23
  export {
22
- s as default
24
+ p as default
23
25
  };
@@ -4,7 +4,7 @@ import { PageDesign } from '../utils/interfaces/page-design-types';
4
4
  declare function pickFileDone(data: any): void;
5
5
  declare function uploadFileDone(data: any): void;
6
6
  declare function scanDone(data: any): void;
7
- declare const _default: import('vue').DefineComponent<{
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
8
  pageCode: {
9
9
  type: StringConstructor;
10
10
  required: false;
@@ -49,11 +49,15 @@ declare const _default: import('vue').DefineComponent<{
49
49
  type: (NumberConstructor | StringConstructor)[];
50
50
  default: any;
51
51
  };
52
- }, {
52
+ isDialog: {
53
+ type: BooleanConstructor;
54
+ required: false;
55
+ };
56
+ }>, {
53
57
  pickFileDone: typeof pickFileDone;
54
58
  uploadFileDone: typeof uploadFileDone;
55
59
  scanDone: typeof scanDone;
56
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
60
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
61
  close: (...args: any[]) => void;
58
62
  open: (...args: any[]) => void;
59
63
  closed: (...args: any[]) => void;
@@ -103,13 +107,18 @@ declare const _default: import('vue').DefineComponent<{
103
107
  type: (NumberConstructor | StringConstructor)[];
104
108
  default: any;
105
109
  };
106
- }>> & {
110
+ isDialog: {
111
+ type: BooleanConstructor;
112
+ required: false;
113
+ };
114
+ }>> & Readonly<{
107
115
  onClose?: (...args: any[]) => any;
108
116
  onOpen?: (...args: any[]) => any;
109
117
  onClosed?: (...args: any[]) => any;
110
118
  onOpened?: (...args: any[]) => any;
111
- }, {
119
+ }>, {
112
120
  isTest: boolean;
113
121
  contentHeight: string | number;
114
- }, {}>;
122
+ isDialog: boolean;
123
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
115
124
  export default _default;