star-horse-lowcode 2.7.30 → 2.7.32

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.d.ts CHANGED
@@ -5,7 +5,7 @@ export * from './api/star_horse_apis';
5
5
  export * from './api/star_horse_utils';
6
6
  export * from './api/date_utils';
7
7
  export * from './api/system';
8
- export * from './api/user_func.ts';
8
+ export * from './api/user_func';
9
9
  export * from './utils/message';
10
10
  export * from './api/finger_utils';
11
11
  declare global {
@@ -16,14 +16,14 @@ export * from './components/formcomp/container';
16
16
  export * from './components/formcomp/items';
17
17
  export * from './components/system';
18
18
  export * from './components/types';
19
- export * from './store/ButtonPermission.ts';
20
- export * from './store/ConsumerView.ts';
21
- export * from './store/ContinusConfig.ts';
19
+ export * from './store/ButtonPermission';
20
+ export * from './store/ConsumerView';
21
+ export * from './store/ContinusConfig';
22
22
  export * from './store/CopyerOperation';
23
23
  export * from './store/DesignForm';
24
- export * from './store/DesignPage.ts';
25
- export * from './store/DynamicForm.ts';
26
- export * from './store/GlobalConfig.ts';
24
+ export * from './store/DesignPage';
25
+ export * from './store/DynamicForm';
26
+ export * from './store/GlobalConfig';
27
27
  export * from './store/SelfOperation';
28
28
  export * from './store/UserInfo';
29
29
  export { piniaInstance };
package/dist/index.es.js CHANGED
@@ -94793,7 +94793,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
94793
94793
 
94794
94794
  /* unplugin-vue-components disabled */
94795
94795
 
94796
- const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-8c462239"]]);
94796
+ const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-8d03305b"]]);
94797
94797
 
94798
94798
  const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
94799
94799
  __proto__: null,
@@ -98146,7 +98146,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
98146
98146
 
98147
98147
  /* unplugin-vue-components disabled */
98148
98148
 
98149
- const StarHorseItem = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-2543a4b8"]]);
98149
+ const StarHorseItem = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-b873a3f2"]]);
98150
98150
 
98151
98151
  const StarHorseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
98152
98152
  __proto__: null,
@@ -98742,7 +98742,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
98742
98742
 
98743
98743
  /* unplugin-vue-components disabled */
98744
98744
 
98745
- const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-fea35bcc"]]);
98745
+ const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-74dc58e3"]]);
98746
98746
 
98747
98747
  const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
98748
98748
  __proto__: null,
@@ -99057,7 +99057,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
99057
99057
 
99058
99058
  /* unplugin-vue-components disabled */
99059
99059
 
99060
- const __unplugin_components_4$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-a36025c2"]]);
99060
+ const __unplugin_components_4$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-5e4864e5"]]);
99061
99061
 
99062
99062
  const _hoisted_1$O = { class: "card-header flex items-center justify-between" };
99063
99063
  const _hoisted_2$z = { class: "w-[60%]" };
@@ -99179,7 +99179,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
99179
99179
 
99180
99180
  /* unplugin-vue-components disabled */
99181
99181
 
99182
- const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-dabb5a05"]]);
99182
+ const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-4c796a70"]]);
99183
99183
 
99184
99184
  const _hoisted_1$N = { class: "collapse-item-title title" };
99185
99185
  const _hoisted_2$y = { style: { "width": "80%" } };
@@ -99294,7 +99294,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
99294
99294
 
99295
99295
  /* unplugin-vue-components disabled */
99296
99296
 
99297
- const __unplugin_components_2$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-12cd1a47"]]);
99297
+ const __unplugin_components_2$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-b791984b"]]);
99298
99298
 
99299
99299
  const _hoisted_1$M = { class: "custom-tabs-label" };
99300
99300
  const _hoisted_2$x = { class: "custom-tabs-label" };
@@ -99476,7 +99476,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
99476
99476
 
99477
99477
  /* unplugin-vue-components disabled */
99478
99478
 
99479
- const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-bb061219"]]);
99479
+ const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-0ad5277f"]]);
99480
99480
 
99481
99481
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
99482
99482
  __name: "boxItem",
@@ -99789,7 +99789,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
99789
99789
  let userOperation = useSelfOperationStore(piniaInstance);
99790
99790
  const emits = __emit;
99791
99791
  const starHorseFormRef = ref(null);
99792
- const dataForm = props.outerFormData ? toRef(props, "outerFormData") : ref({});
99792
+ const dataForm = ref({});
99793
99793
  const exportData = () => {
99794
99794
  emits("exportData", dataForm.value);
99795
99795
  };
@@ -99811,6 +99811,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
99811
99811
  } else {
99812
99812
  objData = await loadById(props.compUrl?.loadByIdUrl, id, params);
99813
99813
  }
99814
+ console.log("加载数据", objData);
99814
99815
  let data = formFieldMapping(props.fieldList);
99815
99816
  dataForm.value = objData;
99816
99817
  if (props.dynamicForm) {
@@ -100076,7 +100077,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100076
100077
  createVNode(_component_el_scrollbar, { height: "100%" }, {
100077
100078
  default: withCtx(() => [
100078
100079
  createVNode(_component_el_form, {
100079
- model: unref(dataForm),
100080
+ model: dataForm.value,
100080
100081
  size: __props.formSize,
100081
100082
  rules: __props.rules,
100082
100083
  "scroll-to-error": true,
@@ -100097,8 +100098,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100097
100098
  fieldList: __props.fieldList,
100098
100099
  rules: __props.rules,
100099
100100
  compSize: __props.formSize,
100100
- dataForm: unref(dataForm),
100101
- "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => isRef(dataForm) ? dataForm.value = $event : null),
100101
+ dataForm: dataForm.value,
100102
+ "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
100102
100103
  isView: __props.isView,
100103
100104
  onAddRow: addRow,
100104
100105
  onRemoveRow: removeRow,
@@ -100149,7 +100150,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100149
100150
 
100150
100151
  /* unplugin-vue-components disabled */
100151
100152
 
100152
- const StarHorseForm = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-1b972af1"]]);
100153
+ const StarHorseForm = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-b37ca737"]]);
100153
100154
 
100154
100155
  const StarHorseForm$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
100155
100156
  __proto__: null,
@@ -103063,7 +103064,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
103063
103064
 
103064
103065
  /* unplugin-vue-components disabled */
103065
103066
 
103066
- const __unplugin_components_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-c5f58d94"]]);
103067
+ const __unplugin_components_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-d7cf149c"]]);
103067
103068
 
103068
103069
  const StarHorseDataViewTable = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
103069
103070
  __proto__: null,
@@ -103360,7 +103361,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
103360
103361
 
103361
103362
  /* unplugin-vue-components disabled */
103362
103363
 
103363
- const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-d52dfb10"]]);
103364
+ const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-aa0fd533"]]);
103364
103365
 
103365
103366
  const _hoisted_1$E = { class: "card-header" };
103366
103367
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
@@ -104349,13 +104350,6 @@ const useDesignFormStore = defineStore("designForm", () => {
104349
104350
  };
104350
104351
  compList.value = [];
104351
104352
  formData.value = { index: 1 };
104352
- if (typeof window !== "undefined") {
104353
- requestIdleCallback(() => {
104354
- if (compList.value.length === 0) {
104355
- gc();
104356
- }
104357
- });
104358
- }
104359
104353
  historyRecord.value = {
104360
104354
  index: -1,
104361
104355
  maxStep: 20,
@@ -105631,7 +105625,7 @@ function F$7(n) {
105631
105625
  var e = typeof n;
105632
105626
  return n != null && (e == "object" || e == "function");
105633
105627
  }
105634
- var Vr$2 = NaN, dc$2 = /^[-+]0x[0-9a-f]+$/i, hc$2 = /^0b[01]+$/i, pc$4 = /^0o[0-7]+$/i, gc$3 = parseInt;
105628
+ var Vr$2 = NaN, dc$2 = /^[-+]0x[0-9a-f]+$/i, hc$2 = /^0b[01]+$/i, pc$4 = /^0o[0-7]+$/i, gc$2 = parseInt;
105635
105629
  function tn$2(n) {
105636
105630
  if (typeof n == "number")
105637
105631
  return n;
@@ -105645,7 +105639,7 @@ function tn$2(n) {
105645
105639
  return n === 0 ? n : +n;
105646
105640
  n = Vi$2(n);
105647
105641
  var t = hc$2.test(n);
105648
- return t || pc$4.test(n) ? gc$3(n.slice(2), t ? 2 : 8) : dc$2.test(n) ? Vr$2 : +n;
105642
+ return t || pc$4.test(n) ? gc$2(n.slice(2), t ? 2 : 8) : dc$2.test(n) ? Vr$2 : +n;
105649
105643
  }
105650
105644
  var _c$2 = 1 / 0, vc$2 = 17976931348623157e292;
105651
105645
  function vn$1(n) {
@@ -130112,7 +130106,7 @@ function hu$1() {
130112
130106
  return a.length ? [s, { changes: a, sequential: true }] : s;
130113
130107
  });
130114
130108
  }
130115
- const pc$3 = /* @__PURE__ */ T$4.define(), gc$2 = /* @__PURE__ */ new N$4();
130109
+ const pc$3 = /* @__PURE__ */ T$4.define(), gc$1 = /* @__PURE__ */ new N$4();
130116
130110
  function fu$1(s) {
130117
130111
  let t = s.firstChild, e = s.lastChild;
130118
130112
  return t && t.to < e.from ? { from: t.to, to: e.type.isError ? s.to : e.from } : null;
@@ -130128,7 +130122,7 @@ function mc$1(s, t, e) {
130128
130122
  continue;
130129
130123
  if (r && l.from < t)
130130
130124
  break;
130131
- let a = l.type.prop(gc$2);
130125
+ let a = l.type.prop(gc$1);
130132
130126
  if (a && (l.to < i.length - 50 || i.length == s.doc.length || !bc$1(l))) {
130133
130127
  let h = a(l, s);
130134
130128
  h && h.from <= e && h.from >= t && h.to > e && (r = h);
@@ -134138,7 +134132,7 @@ const F0 = Gf$1({
134138
134132
  Object: /* @__PURE__ */ au({ except: /^\s*\}/ }),
134139
134133
  Array: /* @__PURE__ */ au({ except: /^\s*\]/ })
134140
134134
  }),
134141
- /* @__PURE__ */ gc$2.add({
134135
+ /* @__PURE__ */ gc$1.add({
134142
134136
  "Object Array": fu$1
134143
134137
  })
134144
134138
  ]
@@ -136856,7 +136850,7 @@ function af(t, e, n) {
136856
136850
  }
136857
136851
  }
136858
136852
  }
136859
- function gc$1(t) {
136853
+ function gc(t) {
136860
136854
  wm(t, true);
136861
136855
  }
136862
136856
  function wm(t, e) {
@@ -137109,9 +137103,9 @@ function K$2(t, e) {
137109
137103
  var [n, r] = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [0, 0], a = t, s = null, i = null, l = $r$1, c = false, u = function(f) {
137110
137104
  c = true, d(!(arguments.length > 1 && arguments[1] !== void 0) || arguments[1], f);
137111
137105
  }, d = (f, v) => {
137112
- l !== (l = f) && (l ? (s ? gc$1(s) : v && (s = pa(() => v(a))), i && Qs(i, () => {
137106
+ l !== (l = f) && (l ? (s ? gc(s) : v && (s = pa(() => v(a))), i && Qs(i, () => {
137113
137107
  i = null;
137114
- })) : (i ? gc$1(i) : v && (i = pa(() => v(a, [n + 1, r]))), s && Qs(s, () => {
137108
+ })) : (i ? gc(i) : v && (i = pa(() => v(a, [n + 1, r]))), s && Qs(s, () => {
137115
137109
  s = null;
137116
137110
  })));
137117
137111
  };
@@ -137145,7 +137139,7 @@ function ar(t, e, n, r, a) {
137145
137139
  }
137146
137140
  for (S = 0; S < H; S += 1) if (W = C(q = h[S], S), (V = te.get(W)) !== void 0) {
137147
137141
  var Se;
137148
- if (Q && My(V, q, S, y), V.e.f & Pa && (gc$1(V.e), J && ((Se = V.a) === null || Se === void 0 || Se.unfix(), (j ?? (j = /* @__PURE__ */ new Set())).delete(V))), V !== re) {
137142
+ if (Q && My(V, q, S, y), V.e.f & Pa && (gc(V.e), J && ((Se = V.a) === null || Se === void 0 || Se.unfix(), (j ?? (j = /* @__PURE__ */ new Set())).delete(V))), V !== re) {
137149
137143
  if (O !== void 0 && O.has(V)) {
137150
137144
  if (Te.length < Pe.length) {
137151
137145
  var we, De = Pe[0];
@@ -137201,7 +137195,7 @@ function ar(t, e, n, r, a) {
137201
137195
  (ee = V.a) === null || ee === void 0 || ee.apply();
137202
137196
  }
137203
137197
  }), tr.first = g.first && g.first.e, tr.last = fe && fe.e;
137204
- }(f, l, i, a, e, r, n), s !== null && (v === 0 ? c ? gc$1(c) : c = pa(() => s(i)) : c !== null && Qs(c, () => {
137198
+ }(f, l, i, a, e, r, n), s !== null && (v === 0 ? c ? gc(c) : c = pa(() => s(i)) : c !== null && Qs(c, () => {
137205
137199
  c = null;
137206
137200
  })), o$2(d));
137207
137201
  });
@@ -150945,7 +150939,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
150945
150939
 
150946
150940
  /* unplugin-vue-components disabled */
150947
150941
 
150948
- const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-a2d3cbb7"]]);
150942
+ const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-69b9bf92"]]);
150949
150943
 
150950
150944
  const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
150951
150945
  __proto__: null,
@@ -151157,7 +151151,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
151157
151151
 
151158
151152
  /* unplugin-vue-components disabled */
151159
151153
 
151160
- const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-7291a66b"]]);
151154
+ const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-faeedd90"]]);
151161
151155
 
151162
151156
  const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
151163
151157
  __proto__: null,
@@ -151534,7 +151528,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
151534
151528
 
151535
151529
  /* unplugin-vue-components disabled */
151536
151530
 
151537
- const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-ada59690"]]);
151531
+ const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-778d1580"]]);
151538
151532
 
151539
151533
  const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
151540
151534
  __proto__: null,
@@ -152032,7 +152026,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
152032
152026
 
152033
152027
  /* unplugin-vue-components disabled */
152034
152028
 
152035
- const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-5b52c10f"]]);
152029
+ const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-43f6b55d"]]);
152036
152030
 
152037
152031
  const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
152038
152032
  __proto__: null,
@@ -153164,7 +153158,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
153164
153158
  let toolbarButtonList = ref([]);
153165
153159
  const extendBtnFunction = () => {
153166
153160
  let arr = [];
153167
- const extendBtnsCopy = props.extendBtns ? JSON.parse(JSON.stringify(props.extendBtns)) : [];
153161
+ const extendBtnsCopy = props.extendBtns ?? [];
153168
153162
  extendBtnsCopy?.forEach((item) => {
153169
153163
  if (item.position != "toolbar") {
153170
153164
  if (!item.funcName) {
@@ -153680,7 +153674,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
153680
153674
 
153681
153675
  /* unplugin-vue-components disabled */
153682
153676
 
153683
- const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-8eaa82c3"]]);
153677
+ const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-0227890d"]]);
153684
153678
 
153685
153679
  const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
153686
153680
  __proto__: null,
@@ -154308,7 +154302,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
154308
154302
 
154309
154303
  /* unplugin-vue-components disabled */
154310
154304
 
154311
- const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-0b1141e6"]]);
154305
+ const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-43672e38"]]);
154312
154306
 
154313
154307
  const StarHorseTree$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
154314
154308
  __proto__: null,
@@ -156466,7 +156460,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
156466
156460
 
156467
156461
  /* unplugin-vue-components disabled */
156468
156462
 
156469
- const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-8dabb19e"]]);
156463
+ const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f57c779f"]]);
156470
156464
 
156471
156465
  const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
156472
156466
  __proto__: null,