epic-designer-gold 1.0.25 → 1.0.27

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 (32) hide show
  1. package/dist/{attributeView-DZE3sT--.cjs → attributeView-BXAZCzjN.cjs} +1 -1
  2. package/dist/{attributeView-CFfmxcU9.js → attributeView-BqtDAlQn.js} +1 -1
  3. package/dist/{index-D79BnQLI.cjs → index-B4_XV0sh.cjs} +1 -1
  4. package/dist/{index-Cdk7yCxQ.cjs → index-B9A0eWKG.cjs} +1 -1
  5. package/dist/{index-Dk08eIJW.js → index-BLP-aOxR.js} +1 -1
  6. package/dist/{index-Bhxsxvjz.cjs → index-Bca_A9gK.cjs} +1 -1
  7. package/dist/{index-BLihjCNa.cjs → index-CURN8hNC.cjs} +1 -1
  8. package/dist/{index-DzGAy8Ku.cjs → index-CfNqnQwZ.cjs} +1 -1
  9. package/dist/{index-C6FCo-HH.cjs → index-CfqqBphl.cjs} +1 -1
  10. package/dist/{index-y2l3KPim.js → index-CvD6bD_0.js} +1 -1
  11. package/dist/{index-BA7FMts9.js → index-D-EiABAK.js} +1 -1
  12. package/dist/{index-LMTPTgvs.cjs → index-DNEhlg9r.cjs} +1 -1
  13. package/dist/index-DOWqiyzN.cjs +10 -0
  14. package/dist/index-DSujK9zM.js +4 -0
  15. package/dist/{index-jj4e1UZY.js → index-DjPTgDpJ.js} +1 -1
  16. package/dist/{index-DOZDUgRO.cjs → index-UFxVHTZ9.cjs} +1 -1
  17. package/dist/{index-D0AvdGjo.js → index-UJyLHIXT.js} +1 -1
  18. package/dist/{index-CzAoXJXL.js → index-arLwKBPE.js} +1 -1
  19. package/dist/{index-CjOFrMw5.js → index-gdly69qM.js} +1 -1
  20. package/dist/{index-D83uXkXA.js → index-kTMEQOpq.js} +8 -7
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/{selectPage-DoF_EREC.cjs → selectPage-CBIYwH5Q.cjs} +1 -1
  24. package/dist/{selectPage-DU5m5Bop.js → selectPage-D7EWbQEt.js} +34 -28
  25. package/dist/style.css +1 -1
  26. package/dist/{styleView-BqdHZS9i.js → styleView-DWhRTeHv.js} +1 -1
  27. package/dist/{styleView-BymvZDlS.cjs → styleView-pnZNe-no.cjs} +1 -1
  28. package/dist/ui/elementPlus/index.cjs +1 -1
  29. package/dist/ui/elementPlus/index.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/index-Btz7ejRx.cjs +0 -10
  32. package/dist/index-DGRQyNXm.js +0 -4
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-Btz7ejRx.cjs"),e=require("./pluginManager-DWHAX8kP.cjs");exports.EBuilder=a._sfc_main$1;exports.EDesigner=a._sfc_main$2;exports.ENode=a._sfc_main;exports.debounce=a.debounce;exports.getDarkState=a.getDarkState;exports.initStore=a.initStore;exports.useDark=a.useDark;exports.useElementDrag=a.useElementDrag;exports.useElementZoom=a.useElementZoom;exports.useKeyPress=a.useKeyPress;exports.usePageManager=a.usePageManager;exports.useRevoke=a.useRevoke;exports.useStore=a.useStore;exports.useTheme=a.useTheme;exports.useTimedQuery=a.useTimedQuery;exports.EventBus=e.EventBus;exports.PluginManager=e.PluginManager;exports.capitalizeFirstLetter=e.capitalizeFirstLetter;exports.convertKFormData=e.convertKFormData;exports.deepClone=e.deepClone;exports.deepCompareAndModify=e.deepCompareAndModify;exports.deepEqual=e.deepEqual;exports.findSchemaById=e.findSchemaById;exports.findSchemaInfoById=e.findSchemaInfoById;exports.findSchemas=e.findSchemas;exports.generateNewSchema=e.generateNewSchema;exports.getFormFields=e.getFormFields;exports.getFormSchemas=e.getFormSchemas;exports.getMatchedById=e.getMatchedById;exports.getUUID=e.getUUID;exports.getValueByPath=e.getValueByPath;exports.loadAsyncComponent=e.loadAsyncComponent;exports.mapSchemas=e.mapSchemas;exports.pluginManager=e.pluginManager;exports.recursionConvertedNode=e.recursionConvertedNode;exports.setValueByPath=e.setValueByPath;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-DOWqiyzN.cjs"),e=require("./pluginManager-DWHAX8kP.cjs");exports.EBuilder=a._sfc_main$1;exports.EDesigner=a._sfc_main$2;exports.ENode=a._sfc_main;exports.debounce=a.debounce;exports.getDarkState=a.getDarkState;exports.initStore=a.initStore;exports.useDark=a.useDark;exports.useElementDrag=a.useElementDrag;exports.useElementZoom=a.useElementZoom;exports.useKeyPress=a.useKeyPress;exports.usePageManager=a.usePageManager;exports.useRevoke=a.useRevoke;exports.useStore=a.useStore;exports.useTheme=a.useTheme;exports.useTimedQuery=a.useTimedQuery;exports.EventBus=e.EventBus;exports.PluginManager=e.PluginManager;exports.capitalizeFirstLetter=e.capitalizeFirstLetter;exports.convertKFormData=e.convertKFormData;exports.deepClone=e.deepClone;exports.deepCompareAndModify=e.deepCompareAndModify;exports.deepEqual=e.deepEqual;exports.findSchemaById=e.findSchemaById;exports.findSchemaInfoById=e.findSchemaInfoById;exports.findSchemas=e.findSchemas;exports.generateNewSchema=e.generateNewSchema;exports.getFormFields=e.getFormFields;exports.getFormSchemas=e.getFormSchemas;exports.getMatchedById=e.getMatchedById;exports.getUUID=e.getUUID;exports.getValueByPath=e.getValueByPath;exports.loadAsyncComponent=e.loadAsyncComponent;exports.mapSchemas=e.mapSchemas;exports.pluginManager=e.pluginManager;exports.recursionConvertedNode=e.recursionConvertedNode;exports.setValueByPath=e.setValueByPath;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as s, j as t, _ as r, f as o, o as n, p as d, n as m, c as u, e as i, m as g, k as c, l, u as h, h as p, a as f } from "./index-D83uXkXA.js";
1
+ import { i as s, j as t, _ as r, f as o, o as n, p as d, n as m, c as u, e as i, m as g, k as c, l, u as h, h as p, a as f } from "./index-kTMEQOpq.js";
2
2
  import { E as S, P as E, c as B, q as D, a as P, d as k, b as F, n as I, o as M, f as v, h as C, j as N, k as b, e as j, g as q, i as x, l as A, m as K, p as T, r as U, s as V } from "./pluginManager-BCnrHPYv.js";
3
3
  export {
4
4
  s as EBuilder,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),j=require("./axios-tuVKNgv9.cjs"),h=require("./index-BoL2PSBk.cjs"),C=require("element-plus"),J=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Z=l.defineComponent({__name:"selectPage",props:{modelValue:[String,Number],placeholder:String,requestFn:{type:Function,default:()=>{}},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},pageSize:{type:Number,default:20},defaultData:{type:Object,default:()=>{}},componentSchema:{type:Object,default:()=>{}},sourceDateUrl:{type:String,default:""}},emits:["update:modelValue","update:modelValueLabel"],setup(k,{emit:N}){const D=`paginated-select-dropdown-${Math.random().toString(36).slice(2,8)}`,a=k;console.log("%c [ ]-37","font-size:13px; background:pink; color:#bf2c9f;",a),console.log("%c [ ]-37","font-size:13px; background:pink; color:#bf2c9f;",a.sourceDateUrl);const _=N,v=l.ref(a.modelValue);l.watch(()=>a.modelValue,e=>{v.value=e}),l.watch(v,e=>{_("update:modelValue",e);let t=r.value.find(o=>o.value===e);_("update:modelValueLabel",{label:t.label||a.defaultData.label,value:t.value||a.defaultData.value})});const r=l.ref(a.defaultData&&Object.keys(a.defaultData).length?[a.defaultData]:[]),d=l.ref(!1),p=l.ref(0),c=l.ref(1),x=l.ref(""),f=l.ref(!1),i=l.ref(null),m=l.ref(null);function O(){r.value=[],p.value=0,c.value=1,f.value=!1}async function g(){var e,t,o,u,P,B,T,z,q,E;if(!(d.value||f.value)){d.value=!0;try{const s=await j.axios({url:n.value.url,method:n.value.method,data:n.value.body?JSON.parse(n.value.body):{},params:n.value.params?{...JSON.parse(n.value.params),[`${(t=(e=a==null?void 0:a.componentSchema)==null?void 0:e.componentProps)==null?void 0:t.pageKey}`]:c.value,[`${(u=(o=a==null?void 0:a.componentSchema)==null?void 0:o.componentProps)==null?void 0:u.searchKey}`]:x.value}:{},headers:{...JSON.parse(n.value.headers),Authorization:"Bearer "+h.api.get("Admin-Token"),lang:h.api.get("saas-locale")||"zh-CN",zone:Intl.DateTimeFormat().resolvedOptions().timeZone}});if(n.value&&n.value.dataPath){const $=((P=n.value)==null?void 0:P.dataPath.split(".")).reduce((w,V)=>w[V],s.data),K=(B=n.value)==null?void 0:B.dataPath.split(".");K.pop();const H=K.reduce((w,V)=>w[V],s.data);let L=b($,n.value.dataKey,n.value.dataValue);c.value===1?r.value=L:r.value=r.value.concat(L),p.value=H[(z=(T=a==null?void 0:a.componentSchema)==null?void 0:T.componentProps)==null?void 0:z.pageTotalKey]}else{let S=b(s.data,n.value.dataKey,n.value.dataValue);c.value===1?r.value=S:r.value=r.value.concat(S),p.value=s.data[(E=(q=a==null?void 0:a.componentSchema)==null?void 0:q.componentProps)==null?void 0:E.pageTotalKey]}r.value.length>=p.value&&(f.value=!0)}catch(s){console.error("fetch error:",s)}finally{d.value=!1}}}const n=l.ref();function b(e,t,o){return e&&Object.prototype.toString.call(e)==="[object Array]"?e.map(u=>u.children&&u.children.length?{label:u[t],value:u[o]+"",children:b(u.children,t,o)}:{label:u[t],value:u[o]+""}):[]}async function A(){var t,o;console.log("%c [ ]-171","font-size:13px; background:pink; color:#bf2c9f;",a.sourceDateUrl);let e=await j.axios({url:a.sourceDateUrl,method:"get",params:{id:(o=(t=a==null?void 0:a.componentSchema)==null?void 0:t.componentProps)==null?void 0:o.dynamicId},headers:{Authorization:"Bearer "+h.api.get("Admin-Token"),lang:h.api.get("saas-locale")||"zh-CN",zone:Intl.DateTimeFormat().resolvedOptions().timeZone}});e.data.code===200&&(n.value=e.data.data)}A();function F(e){x.value=e,c.value=1,O(),g()}function U(e){e?(O(),g(),l.nextTick(()=>setTimeout(I,0))):M()}function I(){const e=document.querySelector(`.${D} .el-select-dropdown__wrap`);e?(i.value=e,e.addEventListener("scroll",y)):(m.value=new MutationObserver(()=>{const t=document.querySelector(".paginated-select-dropdown .el-select-dropdown__wrap");t&&(i.value=t,t.addEventListener("scroll",y),m.value.disconnect())}),m.value.observe(document.body,{childList:!0,subtree:!0}))}function M(){var e;i.value&&i.value.removeEventListener("scroll",y),(e=m.value)==null||e.disconnect()}function y(){const e=i.value;if(!e||d.value||f.value)return;e.scrollTop+e.clientHeight>=e.scrollHeight-10&&(c.value++,g())}return(e,t)=>(l.openBlock(),l.createBlock(l.unref(C.ElSelect),{modelValue:v.value,"onUpdate:modelValue":t[0]||(t[0]=o=>v.value=o),filterable:"",remote:"",clearable:"",placeholder:k.placeholder,"remote-method":F,loading:d.value,teleported:!0,onVisibleChange:U,"popper-class":D,style:{width:"100%"}},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.value,o=>(l.openBlock(),l.createBlock(l.unref(C.ElOption),{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","loading"]))}}),R=J._export_sfc(Z,[["__scopeId","data-v-20507400"]]);exports.default=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),U=require("./axios-tuVKNgv9.cjs"),h=require("./index-BoL2PSBk.cjs"),j=require("element-plus"),J=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Z=l.defineComponent({__name:"selectPage",props:{modelValue:[String,Number],placeholder:String,requestFn:{type:Function,default:()=>{}},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},pageSize:{type:Number,default:20},defaultData:{type:Object,default:()=>{}},componentSchema:{type:Object,default:()=>{}},sourceDateUrl:{type:String,default:""}},emits:["update:modelValue","update:modelValueLabel"],setup(k,{emit:C}){const D=`paginated-select-dropdown-${Math.random().toString(36).slice(2,8)}`,a=k;console.log("%c [ ]-37","font-size:13px; background:pink; color:#bf2c9f;",a),console.log("%c [ ]-37","font-size:13px; background:pink; color:#bf2c9f;",a.sourceDateUrl);const _=C,v=l.ref(a.modelValue);l.watch(()=>a.modelValue,e=>{v.value=e}),l.watch(v,e=>{_("update:modelValue",e);let t=r.value.find(o=>o.value===e);_("update:modelValueLabel",{label:t.label||a.defaultData.label,value:t.value||a.defaultData.value})});const r=l.ref(a.defaultData&&Object.keys(a.defaultData).length?[a.defaultData]:[]),d=l.ref(!1),p=l.ref(0),c=l.ref(1),x=l.ref(""),f=l.ref(!1),i=l.ref(null),m=l.ref(null);function O(){r.value=[],p.value=0,c.value=1,f.value=!1}async function g(){var e,t,o,u,P,B,T,z,q,E;if(!(d.value||f.value)){d.value=!0;try{const s=await U.axios({url:n.value.url,method:n.value.method,data:n.value.body?JSON.parse(n.value.body):{},params:n.value.params?{...JSON.parse(n.value.params),[`${(t=(e=a==null?void 0:a.componentSchema)==null?void 0:e.componentProps)==null?void 0:t.pageKey}`]:c.value,[`${(u=(o=a==null?void 0:a.componentSchema)==null?void 0:o.componentProps)==null?void 0:u.searchKey}`]:x.value}:{},headers:{...JSON.parse(n.value.headers),Authorization:"Bearer "+h.api.get("Admin-Token"),lang:h.api.get("saas-locale")||"zh-CN",zone:Intl.DateTimeFormat().resolvedOptions().timeZone}});if(n.value&&n.value.dataPath){const $=((P=n.value)==null?void 0:P.dataPath.split(".")).reduce((w,V)=>w[V],s.data),K=(B=n.value)==null?void 0:B.dataPath.split(".");K.pop();const H=K.reduce((w,V)=>w[V],s.data);let L=b($,n.value.dataKey,n.value.dataValue);c.value===1?r.value=L:r.value=r.value.concat(L),p.value=H[(z=(T=a==null?void 0:a.componentSchema)==null?void 0:T.componentProps)==null?void 0:z.pageTotalKey]}else{let S=b(s.data,n.value.dataKey,n.value.dataValue);c.value===1?r.value=S:r.value=r.value.concat(S),p.value=s.data[(E=(q=a==null?void 0:a.componentSchema)==null?void 0:q.componentProps)==null?void 0:E.pageTotalKey]}r.value.length>=p.value&&(f.value=!0)}catch(s){console.error("fetch error:",s)}finally{d.value=!1}}}const n=l.ref();function b(e,t,o){return e&&Object.prototype.toString.call(e)==="[object Array]"?e.map(u=>u.children&&u.children.length?{label:u[t],value:u[o]+"",children:b(u.children,t,o)}:{label:u[t],value:u[o]+""}):[]}async function N(){var t,o;console.log("%c [ ]-171","font-size:13px; background:pink; color:#bf2c9f;",a.sourceDateUrl);let e=await U.axios({url:a.sourceDateUrl,method:"get",params:{id:(o=(t=a==null?void 0:a.componentSchema)==null?void 0:t.componentProps)==null?void 0:o.dynamicId},headers:{Authorization:"Bearer "+h.api.get("Admin-Token"),lang:h.api.get("saas-locale")||"zh-CN",zone:Intl.DateTimeFormat().resolvedOptions().timeZone}});e.data.code===200&&(n.value=e.data.data)}l.watch(()=>a.sourceDateUrl,()=>{a.sourceDateUrl&&N()},{immediate:!0});function A(e){x.value=e,c.value=1,O(),g()}function F(e){e?(O(),g(),l.nextTick(()=>setTimeout(I,0))):M()}function I(){const e=document.querySelector(`.${D} .el-select-dropdown__wrap`);e?(i.value=e,e.addEventListener("scroll",y)):(m.value=new MutationObserver(()=>{const t=document.querySelector(".paginated-select-dropdown .el-select-dropdown__wrap");t&&(i.value=t,t.addEventListener("scroll",y),m.value.disconnect())}),m.value.observe(document.body,{childList:!0,subtree:!0}))}function M(){var e;i.value&&i.value.removeEventListener("scroll",y),(e=m.value)==null||e.disconnect()}function y(){const e=i.value;if(!e||d.value||f.value)return;e.scrollTop+e.clientHeight>=e.scrollHeight-10&&(c.value++,g())}return(e,t)=>(l.openBlock(),l.createBlock(l.unref(j.ElSelect),{modelValue:v.value,"onUpdate:modelValue":t[0]||(t[0]=o=>v.value=o),filterable:"",remote:"",clearable:"",placeholder:k.placeholder,"remote-method":A,loading:d.value,teleported:!0,onVisibleChange:F,"popper-class":D,style:{width:"100%"}},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.value,o=>(l.openBlock(),l.createBlock(l.unref(j.ElOption),{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","loading"]))}}),R=J._export_sfc(Z,[["__scopeId","data-v-5070834f"]]);exports.default=R;
@@ -1,5 +1,5 @@
1
- import { defineComponent as W, ref as u, watch as j, openBlock as D, createBlock as A, unref as F, withCtx as G, createElementBlock as Q, Fragment as X, renderList as Y, nextTick as ee } from "vue";
2
- import { a as U } from "./axios-CXDYiOMX.js";
1
+ import { defineComponent as W, ref as u, watch as V, openBlock as k, createBlock as j, unref as A, withCtx as G, createElementBlock as Q, Fragment as X, renderList as Y, nextTick as ee } from "vue";
2
+ import { a as F } from "./axios-CXDYiOMX.js";
3
3
  import { a as h } from "./index-B1s67XDZ.js";
4
4
  import { ElSelect as ae, ElOption as le } from "element-plus";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -21,40 +21,40 @@ const oe = /* @__PURE__ */ W({
21
21
  sourceDateUrl: { type: String, default: "" }
22
22
  },
23
23
  emits: ["update:modelValue", "update:modelValueLabel"],
24
- setup(k, { emit: q }) {
25
- const _ = `paginated-select-dropdown-${Math.random().toString(36).slice(2, 8)}`, a = k;
24
+ setup(_, { emit: q }) {
25
+ const O = `paginated-select-dropdown-${Math.random().toString(36).slice(2, 8)}`, a = _;
26
26
  console.log("%c [ ]-37", "font-size:13px; background:pink; color:#bf2c9f;", a), console.log("%c [ ]-37", "font-size:13px; background:pink; color:#bf2c9f;", a.sourceDateUrl);
27
- const O = q, v = u(a.modelValue);
28
- j(
27
+ const z = q, v = u(a.modelValue);
28
+ V(
29
29
  () => a.modelValue,
30
30
  (e) => {
31
31
  v.value = e;
32
32
  }
33
- ), j(v, (e) => {
34
- O("update:modelValue", e);
33
+ ), V(v, (e) => {
34
+ z("update:modelValue", e);
35
35
  let l = n.value.find((t) => t.value === e);
36
- O("update:modelValueLabel", {
36
+ z("update:modelValueLabel", {
37
37
  label: l.label || a.defaultData.label,
38
38
  value: l.value || a.defaultData.value
39
39
  });
40
40
  });
41
- const n = u(a.defaultData && Object.keys(a.defaultData).length ? [a.defaultData] : []), s = u(!1), p = u(0), c = u(1), z = u(""), m = u(!1), i = u(null), f = u(null);
42
- function P() {
41
+ const n = u(a.defaultData && Object.keys(a.defaultData).length ? [a.defaultData] : []), s = u(!1), p = u(0), c = u(1), P = u(""), m = u(!1), i = u(null), f = u(null);
42
+ function T() {
43
43
  n.value = [], p.value = 0, c.value = 1, m.value = !1;
44
44
  }
45
45
  async function g() {
46
- var e, l, t, r, T, x, B, E, K, L;
46
+ var e, l, t, r, x, B, E, K, L, U;
47
47
  if (!(s.value || m.value)) {
48
48
  s.value = !0;
49
49
  try {
50
- const d = await U({
50
+ const d = await F({
51
51
  url: o.value.url,
52
52
  method: o.value.method,
53
53
  data: o.value.body ? JSON.parse(o.value.body) : {},
54
54
  params: o.value.params ? {
55
55
  ...JSON.parse(o.value.params),
56
56
  [`${(l = (e = a == null ? void 0 : a.componentSchema) == null ? void 0 : e.componentProps) == null ? void 0 : l.pageKey}`]: c.value,
57
- [`${(r = (t = a == null ? void 0 : a.componentSchema) == null ? void 0 : t.componentProps) == null ? void 0 : r.searchKey}`]: z.value
57
+ [`${(r = (t = a == null ? void 0 : a.componentSchema) == null ? void 0 : t.componentProps) == null ? void 0 : r.searchKey}`]: P.value
58
58
  } : {},
59
59
  headers: {
60
60
  ...JSON.parse(o.value.headers),
@@ -66,14 +66,14 @@ const oe = /* @__PURE__ */ W({
66
66
  }
67
67
  });
68
68
  if (o.value && o.value.dataPath) {
69
- const Z = ((T = o.value) == null ? void 0 : T.dataPath.split(".")).reduce((w, V) => w[V], d.data), C = (x = o.value) == null ? void 0 : x.dataPath.split(".");
69
+ const Z = ((x = o.value) == null ? void 0 : x.dataPath.split(".")).reduce((w, D) => w[D], d.data), C = (B = o.value) == null ? void 0 : B.dataPath.split(".");
70
70
  C.pop();
71
- const R = C.reduce((w, V) => w[V], d.data);
71
+ const R = C.reduce((w, D) => w[D], d.data);
72
72
  let N = b(Z, o.value.dataKey, o.value.dataValue);
73
- c.value === 1 ? n.value = N : n.value = n.value.concat(N), p.value = R[(E = (B = a == null ? void 0 : a.componentSchema) == null ? void 0 : B.componentProps) == null ? void 0 : E.pageTotalKey];
73
+ c.value === 1 ? n.value = N : n.value = n.value.concat(N), p.value = R[(K = (E = a == null ? void 0 : a.componentSchema) == null ? void 0 : E.componentProps) == null ? void 0 : K.pageTotalKey];
74
74
  } else {
75
75
  let S = b(d.data, o.value.dataKey, o.value.dataValue);
76
- c.value === 1 ? n.value = S : n.value = n.value.concat(S), p.value = d.data[(L = (K = a == null ? void 0 : a.componentSchema) == null ? void 0 : K.componentProps) == null ? void 0 : L.pageTotalKey];
76
+ c.value === 1 ? n.value = S : n.value = n.value.concat(S), p.value = d.data[(U = (L = a == null ? void 0 : a.componentSchema) == null ? void 0 : L.componentProps) == null ? void 0 : U.pageTotalKey];
77
77
  }
78
78
  n.value.length >= p.value && (m.value = !0);
79
79
  } catch (d) {
@@ -97,7 +97,7 @@ const oe = /* @__PURE__ */ W({
97
97
  async function I() {
98
98
  var l, t;
99
99
  console.log("%c [ ]-171", "font-size:13px; background:pink; color:#bf2c9f;", a.sourceDateUrl);
100
- let e = await U({
100
+ let e = await F({
101
101
  url: a.sourceDateUrl,
102
102
  method: "get",
103
103
  params: {
@@ -113,15 +113,21 @@ const oe = /* @__PURE__ */ W({
113
113
  });
114
114
  e.data.code === 200 && (o.value = e.data.data);
115
115
  }
116
- I();
116
+ V(
117
+ () => a.sourceDateUrl,
118
+ () => {
119
+ a.sourceDateUrl && I();
120
+ },
121
+ { immediate: !0 }
122
+ );
117
123
  function $(e) {
118
- z.value = e, c.value = 1, P(), g();
124
+ P.value = e, c.value = 1, T(), g();
119
125
  }
120
126
  function J(e) {
121
- e ? (P(), g(), ee(() => setTimeout(M, 0))) : H();
127
+ e ? (T(), g(), ee(() => setTimeout(M, 0))) : H();
122
128
  }
123
129
  function M() {
124
- const e = document.querySelector(`.${_} .el-select-dropdown__wrap`);
130
+ const e = document.querySelector(`.${O} .el-select-dropdown__wrap`);
125
131
  e ? (i.value = e, e.addEventListener("scroll", y)) : (f.value = new MutationObserver(() => {
126
132
  const l = document.querySelector(".paginated-select-dropdown .el-select-dropdown__wrap");
127
133
  l && (i.value = l, l.addEventListener("scroll", y), f.value.disconnect());
@@ -136,22 +142,22 @@ const oe = /* @__PURE__ */ W({
136
142
  if (!e || s.value || m.value) return;
137
143
  e.scrollTop + e.clientHeight >= e.scrollHeight - 10 && (c.value++, g());
138
144
  }
139
- return (e, l) => (D(), A(F(ae), {
145
+ return (e, l) => (k(), j(A(ae), {
140
146
  modelValue: v.value,
141
147
  "onUpdate:modelValue": l[0] || (l[0] = (t) => v.value = t),
142
148
  filterable: "",
143
149
  remote: "",
144
150
  clearable: "",
145
- placeholder: k.placeholder,
151
+ placeholder: _.placeholder,
146
152
  "remote-method": $,
147
153
  loading: s.value,
148
154
  teleported: !0,
149
155
  onVisibleChange: J,
150
- "popper-class": _,
156
+ "popper-class": O,
151
157
  style: { width: "100%" }
152
158
  }, {
153
159
  default: G(() => [
154
- (D(!0), Q(X, null, Y(n.value, (t) => (D(), A(F(le), {
160
+ (k(!0), Q(X, null, Y(n.value, (t) => (k(), j(A(le), {
155
161
  key: t.value,
156
162
  label: t.label,
157
163
  value: t.value
@@ -160,7 +166,7 @@ const oe = /* @__PURE__ */ W({
160
166
  _: 1
161
167
  }, 8, ["modelValue", "placeholder", "loading"]));
162
168
  }
163
- }), ie = /* @__PURE__ */ te(oe, [["__scopeId", "data-v-20507400"]]);
169
+ }), ie = /* @__PURE__ */ te(oe, [["__scopeId", "data-v-5070834f"]]);
164
170
  export {
165
171
  ie as default
166
172
  };