form-custom-test 3.0.66 → 3.0.67

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.
@@ -68056,13 +68056,13 @@ function registerIcon(app) {
68056
68056
  if (typeof window !== "undefined") {
68057
68057
  let loadSvg = function() {
68058
68058
  var body = document.body;
68059
- var svgDom = document.getElementById("__svg__icons__dom__1773976036573__");
68059
+ var svgDom = document.getElementById("__svg__icons__dom__1773976369800__");
68060
68060
  if (!svgDom) {
68061
68061
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
68062
68062
  svgDom.style.position = "absolute";
68063
68063
  svgDom.style.width = "0";
68064
68064
  svgDom.style.height = "0";
68065
- svgDom.id = "__svg__icons__dom__1773976036573__";
68065
+ svgDom.id = "__svg__icons__dom__1773976369800__";
68066
68066
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
68067
68067
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
68068
68068
  }
@@ -78125,6 +78125,18 @@ const loadExtension = function(app) {
78125
78125
  }));
78126
78126
  };
78127
78127
  const { cookies } = useCookies();
78128
+ function getElMessage(app) {
78129
+ var _a2, _b2, _c2;
78130
+ try {
78131
+ if ((_b2 = (_a2 = app == null ? void 0 : app.config) == null ? void 0 : _a2.globalProperties) == null ? void 0 : _b2.$message)
78132
+ return app.config.globalProperties.$message;
78133
+ if (typeof window !== "undefined" && window.ElementPlus) {
78134
+ return window.ElementPlus.ElMessage || ((_c2 = window.ElementPlus.default) == null ? void 0 : _c2.ElMessage) || null;
78135
+ }
78136
+ } catch (e) {
78137
+ }
78138
+ return null;
78139
+ }
78128
78140
  if (typeof window !== "undefined") {
78129
78141
  window.cookies = cookies;
78130
78142
  }
@@ -78143,7 +78155,7 @@ VFormDesigner.install = function(app) {
78143
78155
  app.component(VFormDesigner.name, VFormDesigner);
78144
78156
  app.config.globalProperties.$service = service;
78145
78157
  app.provide("service", service);
78146
- app.provide("ElMessage", ElMessage);
78158
+ app.provide("ElMessage", getElMessage(app));
78147
78159
  app.config.globalProperties.$cookies = cookies;
78148
78160
  app.provide("cookies", cookies);
78149
78161
  };