element-less 0.0.28 → 0.0.30

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.
@@ -2321,7 +2321,9 @@ const utils = {
2321
2321
  }
2322
2322
  return new Promise((resolve, reject) => {
2323
2323
  axiosInstance2.post(url, data).then((res) => {
2324
- if (res.status == 200) {
2324
+ if (res.status === void 0) {
2325
+ resolve(res);
2326
+ } else if (res.status == 200) {
2325
2327
  resolve(res.data);
2326
2328
  } else {
2327
2329
  reject(res);
@@ -2341,7 +2343,9 @@ const utils = {
2341
2343
  }
2342
2344
  return new Promise((resolve, reject) => {
2343
2345
  axiosInstance2.get(url, { params: data ?? {} }).then((res) => {
2344
- if (res.status == 200) {
2346
+ if (res.status === void 0) {
2347
+ resolve(res);
2348
+ } else if (res.status == 200) {
2345
2349
  resolve(res.data);
2346
2350
  } else {
2347
2351
  reject(res);
@@ -38402,7 +38406,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
38402
38406
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
38403
38407
  setup(__props, { emit: __emit }) {
38404
38408
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
38405
- return import("./innerItem-BUR9Elga.js");
38409
+ return import("./innerItem-CBNLklE_.js");
38406
38410
  });
38407
38411
  const { getValue: getValue2 } = useProps();
38408
38412
  const tagID = getValue2("tagID");
@@ -39252,10 +39256,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
39252
39256
  emits: ["update:modelValue"],
39253
39257
  setup(__props, { expose: __expose, emit: __emit }) {
39254
39258
  const DynamicRenderInner = defineAsyncComponent(() => {
39255
- return import("./inner-DdMNFRNV.js").then((n) => n.i);
39259
+ return import("./inner-zf09Z6qO.js").then((n) => n.i);
39256
39260
  });
39257
39261
  const DynamicRenderForm = defineAsyncComponent(() => {
39258
- return import("./inner-DdMNFRNV.js").then((n) => n.f);
39262
+ return import("./inner-zf09Z6qO.js").then((n) => n.f);
39259
39263
  });
39260
39264
  const props = __props;
39261
39265
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -39485,10 +39489,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39485
39489
  emits: ["update:modelValue"],
39486
39490
  setup(__props, { expose: __expose, emit: __emit }) {
39487
39491
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
39488
- return import("./inner-DdMNFRNV.js").then((n) => n.i);
39492
+ return import("./inner-zf09Z6qO.js").then((n) => n.i);
39489
39493
  });
39490
39494
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
39491
- return import("./inner-DdMNFRNV.js").then((n) => n.f);
39495
+ return import("./inner-zf09Z6qO.js").then((n) => n.f);
39492
39496
  });
39493
39497
  const props = __props;
39494
39498
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -44297,31 +44301,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
44297
44301
  __publicField(this, "editor", ref());
44298
44302
  onMounted(() => {
44299
44303
  if (props.language === "json") {
44300
- const currModule = import("./mode-json-ezMyIyl0.js").then((n) => n.m);
44304
+ const currModule = import("./mode-json-BOxHOD6D.js").then((n) => n.m);
44301
44305
  currModule.then((res) => {
44302
44306
  ace.config.setModuleUrl("ace/mode/json", res);
44303
44307
  this.init();
44304
44308
  });
44305
44309
  } else if (props.language === "javascript") {
44306
- const currModule = import("./mode-javascript-CUTBHa2I.js").then((n) => n.m);
44310
+ const currModule = import("./mode-javascript-BMd5LEp9.js").then((n) => n.m);
44307
44311
  currModule.then((res) => {
44308
44312
  ace.config.setModuleUrl("ace/mode/javascript", res);
44309
44313
  this.init();
44310
44314
  });
44311
44315
  } else if (props.language === "csharp") {
44312
- const currModule = import("./mode-csharp-BzJ5rO4E.js").then((n) => n.m);
44316
+ const currModule = import("./mode-csharp-CbABzVpn.js").then((n) => n.m);
44313
44317
  currModule.then((res) => {
44314
44318
  ace.config.setModuleUrl("ace/mode/csharp", res);
44315
44319
  this.init();
44316
44320
  });
44317
44321
  } else if (props.language === "mysql") {
44318
- const currModule = import("./mode-mysql-CegvJDYj.js").then((n) => n.m);
44322
+ const currModule = import("./mode-mysql-C1AHurs4.js").then((n) => n.m);
44319
44323
  currModule.then((res) => {
44320
44324
  ace.config.setModuleUrl("ace/mode/mysql", res);
44321
44325
  this.init();
44322
44326
  });
44323
44327
  } else if (props.language === "css") {
44324
- const currModule = import("./mode-css-Dt3zSxhc.js").then((n) => n.m);
44328
+ const currModule = import("./mode-css-pP0m1xm3.js").then((n) => n.m);
44325
44329
  currModule.then((res) => {
44326
44330
  ace.config.setModuleUrl("ace/mode/css", res);
44327
44331
  this.init();