page-schema-enginer-shun 1.0.14 → 1.0.15
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/index.cjs.js +9 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +10 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +9 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, inject, ref as ref$1, watch, onMounted, resolveComponent as resolveComponent$1, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, mergeProps, withCtx, Fragment, renderList, createBlock, createTextVNode, provide, resolveDynamicComponent, unref, toRefs, computed, resolveDirective, withDirectives, nextTick, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
1
|
+
import { defineComponent, inject, ref as ref$1, watch, onMounted, resolveComponent as resolveComponent$1, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, mergeProps, withCtx, Fragment, renderList, createBlock, createTextVNode, provide, resolveDynamicComponent, unref, toRefs, computed, resolveDirective, withDirectives, nextTick, renderSlot, normalizeProps, guardReactiveProps, getCurrentInstance } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import { defineStore } from "pinia";
|
|
4
4
|
import { ElNotification, ElMessage, ElMessageBox } from "element-plus";
|
|
@@ -7546,6 +7546,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7546
7546
|
(_a = EventHandleMap[eventKey]) == null ? void 0 : _a.call(EventHandleMap, { btnConfig, rowData });
|
|
7547
7547
|
};
|
|
7548
7548
|
onMounted(() => {
|
|
7549
|
+
var _a;
|
|
7550
|
+
const inst = getCurrentInstance();
|
|
7551
|
+
const comps = ((_a = inst == null ? void 0 : inst.appContext) == null ? void 0 : _a.components) || {};
|
|
7552
|
+
const required2 = ["ElTable", "ElTableColumn", "ElButton", "ElPagination", "ElForm", "ElDialog", "ElInput"];
|
|
7553
|
+
const missing = required2.filter((k) => !(k in comps));
|
|
7554
|
+
if (missing.length > 0) {
|
|
7555
|
+
ElMessage.error("请在宿主应用中注册 Element Plus 并引入样式");
|
|
7556
|
+
}
|
|
7549
7557
|
});
|
|
7550
7558
|
provide("schemeViewData", {
|
|
7551
7559
|
tableSchema,
|
|
@@ -7580,7 +7588,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7580
7588
|
};
|
|
7581
7589
|
}
|
|
7582
7590
|
});
|
|
7583
|
-
const schemaView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
7591
|
+
const schemaView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3918b3d6"]]);
|
|
7584
7592
|
let routerClient = null;
|
|
7585
7593
|
function setRouterClient(client) {
|
|
7586
7594
|
routerClient = client;
|