star-horse-lowcode 2.7.55 → 2.7.57

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.es.js CHANGED
@@ -68143,6 +68143,7 @@ function load(msg, defaultTarget) {
68143
68143
  lock: true,
68144
68144
  target: defaultTarget ?? "#app",
68145
68145
  text: msg || "Loading...",
68146
+ customClass: "star-horse-loading",
68146
68147
  background: "rgba(0, 0, 0, 0.7)"
68147
68148
  });
68148
68149
  }
@@ -75507,10 +75508,11 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
75507
75508
  subFlag: true,
75508
75509
  size: __props.size,
75509
75510
  source: __props.source,
75511
+ staticColumn: sitem.staticColumn ?? "Y",
75510
75512
  defaultValues: unref(batchFieldDefaultValues)(sitem, scope.row),
75511
75513
  "field-list": sitem["fieldList"],
75512
75514
  rules: sitem["rules"] || __props.rules
75513
- }, null, 8, ["dataForm", "onUpdate:dataForm", "compUrl", "primaryKey", "batchName", "initRows", "size", "source", "defaultValues", "field-list", "rules"]);
75515
+ }, null, 8, ["dataForm", "onUpdate:dataForm", "compUrl", "primaryKey", "batchName", "initRows", "size", "source", "staticColumn", "defaultValues", "field-list", "rules"]);
75514
75516
  }), 128)) : (openBlock(), createBlock(_component_sh_table_list_column, {
75515
75517
  key: 1,
75516
75518
  primaryKey: __props.primaryKey,
@@ -76095,7 +76097,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
76095
76097
  onAddRow: addRow,
76096
76098
  onRemoveRow: removeRow,
76097
76099
  helpMsg: __props.item["helpMsg"],
76098
- staticColumn: __props.item.staticData ?? "Y",
76100
+ staticColumn: __props.item.staticColumn ?? "Y",
76099
76101
  downloadTemplateUrl: __props.item["downloadTemplateUrl"],
76100
76102
  importInfo: __props.item["importInfo"],
76101
76103
  defaultValues: unref(batchFieldDefaultValues)(__props.item, dataForm.value),
@@ -138991,12 +138993,10 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
138991
138993
  };
138992
138994
  const allAction = (context, emits, formData, actionName, isInit = false) => {
138993
138995
  const currentData = unref(formData);
138994
- if (!isInit && actionName != "normal") {
138995
- try {
138996
- emits("selfFunc", actionName, currentData);
138997
- } catch (e) {
138998
- error$1("事件触发异常:" + e);
138999
- }
138996
+ try {
138997
+ emits("selfFunc", actionName, currentData);
138998
+ } catch (e) {
138999
+ error$1("事件触发异常:" + e);
139000
139000
  }
139001
139001
  if (isDesign.value && isInit) {
139002
139002
  return;
@@ -139050,6 +139050,37 @@ const checkIsDisabled = (attrs) => {
139050
139050
  const isImplicitlyDisabled = !attrs?.formData?.[`_${fieldName}Editable`] && field?.preps?.disabled;
139051
139051
  return eidtDidsabled === true || isExplicitlyDisabled === true || isImplicitlyDisabled === true;
139052
139052
  };
139053
+ const initCompCallEvent = (props, emits, formData) => {
139054
+ const events = Object.keys(props.field.actions || {});
139055
+ if (!props.isSearch && !props.field.preps["stopInitCallAction"] && events?.length > 0) {
139056
+ if (Object.keys(formData.value || {}).length == 0 || !formData.value[props.field.fieldName]) {
139057
+ const stop = watch(
139058
+ () => formData.value[props.field.fieldName],
139059
+ (val) => {
139060
+ if (val) {
139061
+ doInitCallEvent(props, emits, formData);
139062
+ stop();
139063
+ }
139064
+ },
139065
+ { immediate: true }
139066
+ );
139067
+ return;
139068
+ }
139069
+ doInitCallEvent(props, emits, formData);
139070
+ }
139071
+ };
139072
+ const doInitCallEvent = (props, emits, formData) => {
139073
+ const events = Object.keys(props.field.actions || {});
139074
+ events?.forEach((event) => {
139075
+ allAction(
139076
+ props,
139077
+ emits,
139078
+ formData,
139079
+ event,
139080
+ true
139081
+ );
139082
+ });
139083
+ };
139053
139084
 
139054
139085
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
139055
139086
  __name: "area-item",
@@ -139093,7 +139124,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
139093
139124
  const props = __props;
139094
139125
  const emits = __emit;
139095
139126
  const formData = useModel(__props, "formData");
139096
- let actionName = shallowRef("normal");
139097
139127
  const itemAction = (prep) => {
139098
139128
  allAction(props, emits, formData, prep);
139099
139129
  };
@@ -139126,10 +139156,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
139126
139156
  };
139127
139157
  onMounted(() => {
139128
139158
  initData();
139129
- actionName.value = props.field.actionName || "normal";
139130
- if (!props.isSearch) {
139131
- allAction(props, emits, formData, actionName.value, true);
139132
- }
139159
+ initCompCallEvent(props, emits, formData);
139133
139160
  });
139134
139161
  watch(
139135
139162
  () => formData.value[props.field.fieldName + "OptionList"],
@@ -139171,7 +139198,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
139171
139198
 
139172
139199
  /* unplugin-vue-components disabled */
139173
139200
 
139174
- const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-ecad820b"]]);
139201
+ const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-ceb05be2"]]);
139175
139202
 
139176
139203
  const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139177
139204
  __proto__: null,
@@ -139361,7 +139388,6 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
139361
139388
  const props = __props;
139362
139389
  const emits = __emit;
139363
139390
  const formData = useModel(__props, "formData");
139364
- let actionName = shallowRef("normal");
139365
139391
  const itemAction = (prep) => {
139366
139392
  allAction(props, emits, formData, prep);
139367
139393
  };
@@ -139376,10 +139402,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
139376
139402
  props.field.preps = {};
139377
139403
  }
139378
139404
  initData();
139379
- actionName.value = props.field.actionName || "normal";
139380
- if (!props.isSearch) {
139381
- allAction(props, emits, formData, actionName.value, true);
139382
- }
139405
+ initCompCallEvent(props, emits, formData);
139383
139406
  });
139384
139407
  const querySearch = async (queryString, cb) => {
139385
139408
  let temp = props.field.preps;
@@ -139481,7 +139504,6 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139481
139504
  const props = __props;
139482
139505
  const emits = __emit;
139483
139506
  const formData = useModel(__props, "formData");
139484
- let actionName = shallowRef("click");
139485
139507
  let btnDialogVisible = shallowRef(false);
139486
139508
  const btnCompRef = shallowRef();
139487
139509
  const operResultAction = async () => {
@@ -139585,7 +139607,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139585
139607
  }
139586
139608
  };
139587
139609
  onMounted(() => {
139588
- actionName.value = props.field.actionName || "normal";
139610
+ initCompCallEvent(props, emits, formData);
139589
139611
  });
139590
139612
  return (_ctx, _cache) => {
139591
139613
  const _component_star_horse_form = _sfc_main$1u;
@@ -139659,7 +139681,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139659
139681
 
139660
139682
  /* unplugin-vue-components disabled */
139661
139683
 
139662
- const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-bc0609d4"]]);
139684
+ const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-50df89fb"]]);
139663
139685
 
139664
139686
  const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139665
139687
  __proto__: null,
@@ -139708,7 +139730,6 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139708
139730
  const props = __props;
139709
139731
  const emits = __emit;
139710
139732
  const formData = useModel(__props, "formData");
139711
- let actionName = shallowRef("normal");
139712
139733
  const itemAction = (prep) => {
139713
139734
  allAction(props, emits, formData, prep);
139714
139735
  };
@@ -139738,10 +139759,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139738
139759
  checkStrictly: true
139739
139760
  };
139740
139761
  initData();
139741
- actionName.value = props.field.actionName || "normal";
139742
- if (!props.isSearch) {
139743
- allAction(props, emits, formData, actionName.value, true);
139744
- }
139762
+ initCompCallEvent(props, emits, formData);
139745
139763
  });
139746
139764
  watch(
139747
139765
  () => formData.value[props.field.fieldName + "OptionList"],
@@ -139783,7 +139801,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139783
139801
 
139784
139802
  /* unplugin-vue-components disabled */
139785
139803
 
139786
- const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-c479d7ac"]]);
139804
+ const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-1585c56f"]]);
139787
139805
 
139788
139806
  const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139789
139807
  __proto__: null,
@@ -139945,15 +139963,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
139945
139963
  const props = __props;
139946
139964
  const emits = __emit;
139947
139965
  const formData = useModel(__props, "formData");
139948
- let actionName = shallowRef("change");
139949
139966
  const itemAction = (prep) => {
139950
139967
  allAction(props, emits, formData, prep);
139951
139968
  };
139952
139969
  onMounted(() => {
139953
- actionName.value = props.field.actionName || "normal";
139954
- if (!props.isSearch) {
139955
- allAction(props, emits, formData, actionName.value, true);
139956
- }
139970
+ initCompCallEvent(props, emits, formData);
139957
139971
  });
139958
139972
  return (_ctx, _cache) => {
139959
139973
  const _component_el_color_picker = ElColorPicker;
@@ -142749,7 +142763,6 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142749
142763
  let cronDataValue = ref("");
142750
142764
  let cronVisible = ref(false);
142751
142765
  const cronTabRef = ref();
142752
- let actionName = shallowRef("change");
142753
142766
  const itemAction = (prep) => {
142754
142767
  allAction(props, emits, formData, prep);
142755
142768
  };
@@ -142771,10 +142784,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142771
142784
  };
142772
142785
  resetForm();
142773
142786
  onMounted(() => {
142774
- actionName.value = props.field.actionName || "normal";
142775
- if (!props.isSearch) {
142776
- allAction(props, emits, formData, actionName.value, true);
142777
- }
142787
+ initCompCallEvent(props, emits, formData);
142778
142788
  });
142779
142789
  return (_ctx, _cache) => {
142780
142790
  const _component_el_scrollbar = ElScrollbar;
@@ -142841,7 +142851,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142841
142851
 
142842
142852
  /* unplugin-vue-components disabled */
142843
142853
 
142844
- const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-88058100"]]);
142854
+ const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-9ff19dd3"]]);
142845
142855
 
142846
142856
  const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142847
142857
  __proto__: null,
@@ -142891,7 +142901,6 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142891
142901
  const emits = __emit;
142892
142902
  const formData = useModel(__props, "formData");
142893
142903
  const disabledDate = shallowRef([]);
142894
- let actionName = shallowRef("normal");
142895
142904
  const itemAction = (prep) => {
142896
142905
  if (prep == "change" && props.field.preps["type"]?.includes("range")) {
142897
142906
  let val = formData.value[props.field.fieldName];
@@ -142915,10 +142924,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142915
142924
  console.log(disabledDate.value, date.getDate());
142916
142925
  return disabledDate.value.includes(date.getDate().toString());
142917
142926
  };
142918
- actionName.value = props.field.actionName || "normal";
142919
- if (!props.isSearch) {
142920
- allAction(props, emits, formData, actionName.value, true);
142921
- }
142927
+ initCompCallEvent(props, emits, formData);
142922
142928
  });
142923
142929
  return (_ctx, _cache) => {
142924
142930
  const _component_el_date_picker = ElDatePicker;
@@ -142954,7 +142960,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142954
142960
 
142955
142961
  /* unplugin-vue-components disabled */
142956
142962
 
142957
- const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c8a7001a"]]);
142963
+ const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-764d3259"]]);
142958
142964
 
142959
142965
  const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142960
142966
  __proto__: null,
@@ -143068,7 +143074,6 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
143068
143074
  const formData = useModel(__props, "formData");
143069
143075
  const dialogInputTableRef = ref();
143070
143076
  let dialogInputVisible = shallowRef(false);
143071
- let actionName = shallowRef("normal");
143072
143077
  const itemAction = (prep) => {
143073
143078
  allAction(props, emits, formData, prep);
143074
143079
  };
@@ -143146,10 +143151,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
143146
143151
  });
143147
143152
  inputPreps.searchFieldList = { fieldList: searchFieldList };
143148
143153
  }
143149
- actionName.value = props.field.actionName || "normal";
143150
- if (!props.isSearch) {
143151
- allAction(props, emits, formData, actionName.value, true);
143152
- }
143154
+ initCompCallEvent(props, emits, formData);
143153
143155
  });
143154
143156
  return (_ctx, _cache) => {
143155
143157
  const _component_star_horse_search_comp = __unplugin_components_0$4;
@@ -143239,7 +143241,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
143239
143241
 
143240
143242
  /* unplugin-vue-components disabled */
143241
143243
 
143242
- const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-f7f14025"]]);
143244
+ const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-05f8e187"]]);
143243
143245
 
143244
143246
  const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
143245
143247
  __proto__: null,
@@ -143397,7 +143399,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
143397
143399
 
143398
143400
  /* unplugin-vue-components disabled */
143399
143401
 
143400
- const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-8b032760"]]);
143402
+ const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-e2429c09"]]);
143401
143403
 
143402
143404
  const htmlItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
143403
143405
  __proto__: null,
@@ -160636,7 +160638,6 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160636
160638
  let allIconList = ref([]);
160637
160639
  let iconType = ref("system");
160638
160640
  const popoverRef = shallowRef();
160639
- let actionName = shallowRef("normal");
160640
160641
  const assignIcon = (iconName) => {
160641
160642
  formData.value[props.field.fieldName] = iconName;
160642
160643
  unref(popoverRef).popperRef?.delayHide?.();
@@ -160663,11 +160664,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160663
160664
  iconList.value = allIconList.value;
160664
160665
  };
160665
160666
  onMounted(() => {
160666
- actionName.value = props.field.actionName || "normal";
160667
160667
  init();
160668
- if (!props.isSearch) {
160669
- allAction(props, emits, formData, actionName.value, true);
160670
- }
160668
+ initCompCallEvent(props, emits, formData);
160671
160669
  });
160672
160670
  return (_ctx, _cache) => {
160673
160671
  const _component_el_avatar = ElAvatar;
@@ -160773,7 +160771,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160773
160771
 
160774
160772
  /* unplugin-vue-components disabled */
160775
160773
 
160776
- const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-3496de2c"]]);
160774
+ const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-91fe745f"]]);
160777
160775
 
160778
160776
  const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160779
160777
  __proto__: null,
@@ -160831,7 +160829,6 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
160831
160829
  const props = __props;
160832
160830
  const emits = __emit;
160833
160831
  const formData = useModel(__props, "formData");
160834
- let actionName = shallowRef("change");
160835
160832
  let defaultAction = "/system-config/annex/upload/common";
160836
160833
  let defaultViewList = shallowRef([]);
160837
160834
  const removeImage = () => {
@@ -160851,10 +160848,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
160851
160848
  emits("selfFunc", prep, uploadFile, uploadFiles, param);
160852
160849
  };
160853
160850
  onMounted(() => {
160854
- actionName.value = props.field.actionName || "normal";
160855
- if (!props.isSearch) {
160856
- allAction(props, emits, formData, actionName.value, true);
160857
- }
160851
+ initCompCallEvent(props, emits, formData);
160858
160852
  });
160859
160853
  return (_ctx, _cache) => {
160860
160854
  const _component_star_horse_icon = __unplugin_components_0$a;
@@ -161011,7 +161005,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
161011
161005
 
161012
161006
  /* unplugin-vue-components disabled */
161013
161007
 
161014
- const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-7b39e8a0"]]);
161008
+ const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-6da209a3"]]);
161015
161009
 
161016
161010
  const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161017
161011
  __proto__: null,
@@ -161136,7 +161130,6 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
161136
161130
  const emits = __emit;
161137
161131
  const formData = useModel(__props, "formData");
161138
161132
  const inputItemRef = ref();
161139
- let actionName = shallowRef("normal");
161140
161133
  const dialogInputVisible = ref(false);
161141
161134
  const initEvent = async () => {
161142
161135
  await nextTick();
@@ -161158,10 +161151,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
161158
161151
  dialogInputVisible.value = true;
161159
161152
  };
161160
161153
  onMounted(() => {
161161
- actionName.value = props.field.actionName || "normal";
161162
- if (!props.isSearch) {
161163
- allAction(props, emits, formData, actionName.value, true);
161164
- }
161154
+ initCompCallEvent(props, emits, formData);
161165
161155
  initEvent();
161166
161156
  });
161167
161157
  return (_ctx, _cache) => {
@@ -161280,7 +161270,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
161280
161270
 
161281
161271
  /* unplugin-vue-components disabled */
161282
161272
 
161283
- const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-84c2697d"]]);
161273
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-7c4294a4"]]);
161284
161274
 
161285
161275
  const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161286
161276
  __proto__: null,
@@ -161464,7 +161454,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
161464
161454
 
161465
161455
  /* unplugin-vue-components disabled */
161466
161456
 
161467
- const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-f43e0219"]]);
161457
+ const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-845abcdf"]]);
161468
161458
 
161469
161459
  const baseJsonItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161470
161460
  __proto__: null,
@@ -161513,7 +161503,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
161513
161503
  const props = __props;
161514
161504
  const emits = __emit;
161515
161505
  const formData = useModel(__props, "formData");
161516
- let actionName = shallowRef("normal");
161517
161506
  const itemAction = (prep) => {
161518
161507
  allAction(props, emits, formData, prep);
161519
161508
  };
@@ -161521,10 +161510,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
161521
161510
  if (!props.field.preps) {
161522
161511
  props.field.preps = {};
161523
161512
  }
161524
- actionName.value = props.field.actionName || "normal";
161525
- if (!props.isSearch) {
161526
- allAction(props, emits, formData, actionName.value, true);
161527
- }
161513
+ initCompCallEvent(props, emits, formData);
161528
161514
  });
161529
161515
  return (_ctx, _cache) => {
161530
161516
  const _component_base_json_item = __unplugin_components_0$2;
@@ -161592,7 +161578,6 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
161592
161578
  const props = __props;
161593
161579
  const emits = __emit;
161594
161580
  const formData = useModel(__props, "formData");
161595
- let actionName = shallowRef("normal");
161596
161581
  const itemAction = (prep) => {
161597
161582
  allAction(props, emits, formData, prep);
161598
161583
  };
@@ -161600,10 +161585,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
161600
161585
  if (!props.field.preps) {
161601
161586
  props.field.preps = {};
161602
161587
  }
161603
- actionName.value = props.field.actionName || "normal";
161604
- if (!props.isSearch) {
161605
- allAction(props, emits, formData, actionName.value, true);
161606
- }
161588
+ initCompCallEvent(props, emits, formData);
161607
161589
  });
161608
161590
  return (_ctx, _cache) => {
161609
161591
  const _component_base_json_item = __unplugin_components_0$2;
@@ -161706,7 +161688,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
161706
161688
 
161707
161689
  /* unplugin-vue-components disabled */
161708
161690
 
161709
- const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-02d17bde"]]);
161691
+ const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-7164b99c"]]);
161710
161692
 
161711
161693
  const markdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161712
161694
  __proto__: null,
@@ -161760,7 +161742,6 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161760
161742
  const props = __props;
161761
161743
  const emits = __emit;
161762
161744
  const formData = useModel(__props, "formData");
161763
- let actionName = shallowRef("normal");
161764
161745
  const initEvent = async () => {
161765
161746
  await nextTick();
161766
161747
  };
@@ -161774,10 +161755,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161774
161755
  props.field.preps["step"] = props.field.preps["step"] || 1;
161775
161756
  props.field.preps["min"] = props.field.preps["min"] || 0;
161776
161757
  props.field.preps["precision"] = props.field.preps["precision"] || 0;
161777
- actionName.value = props.field.actionName || "normal";
161778
- if (!props.isSearch) {
161779
- allAction(props, emits, formData, actionName.value, true);
161780
- }
161758
+ initCompCallEvent(props, emits, formData);
161781
161759
  initEvent();
161782
161760
  });
161783
161761
  return (_ctx, _cache) => {
@@ -161816,7 +161794,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161816
161794
 
161817
161795
  /* unplugin-vue-components disabled */
161818
161796
 
161819
- const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-831c633d"]]);
161797
+ const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-0782fc36"]]);
161820
161798
 
161821
161799
  const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161822
161800
  __proto__: null,
@@ -161880,7 +161858,6 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161880
161858
  const splitName = computed(() => {
161881
161859
  return props.field.preps?.splitName ?? "-";
161882
161860
  });
161883
- let actionName = shallowRef("normal");
161884
161861
  let slotStyle = shallowRef("");
161885
161862
  const isFocus = ref();
161886
161863
  const handleFocus = () => {
@@ -161906,7 +161883,6 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161906
161883
  }
161907
161884
  });
161908
161885
  onMounted(() => {
161909
- actionName.value = props.field.actionName || "normal";
161910
161886
  let val = formData.value[props.field.fieldName];
161911
161887
  if (typeof val === "string") {
161912
161888
  let data = val.split(splitName.value);
@@ -161916,9 +161892,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161916
161892
  formData.value[minName.value] = Number(val[0]);
161917
161893
  formData.value[maxName.value] = Number(val[1]);
161918
161894
  }
161919
- if (!props.isSearch) {
161920
- allAction(props, emits, formData, "init", true);
161921
- }
161895
+ initCompCallEvent(props, emits, formData);
161922
161896
  });
161923
161897
  return (_ctx, _cache) => {
161924
161898
  const _component_el_input_number = ElInputNumber;
@@ -161987,7 +161961,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161987
161961
 
161988
161962
  /* unplugin-vue-components disabled */
161989
161963
 
161990
- const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-37ee7849"]]);
161964
+ const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-e9eab567"]]);
161991
161965
 
161992
161966
  const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161993
161967
  __proto__: null,
@@ -162040,7 +162014,6 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
162040
162014
  const filterCondition = ref([]);
162041
162015
  const orderBy = ref([]);
162042
162016
  let multipleSelection = shallowRef([]);
162043
- let actionName = shallowRef("normal");
162044
162017
  let pageInfo = ref({
162045
162018
  pageSize: 20,
162046
162019
  currentPage: 1,
@@ -162204,11 +162177,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
162204
162177
  });
162205
162178
  inputPreps.searchFieldList = { fieldList: searchFieldList };
162206
162179
  }
162207
- actionName.value = props.field.actionName || "normal";
162208
162180
  loadByPage(true);
162209
- if (!props.isSearch) {
162210
- allAction(props, emits, formData, actionName.value, true);
162211
- }
162181
+ initCompCallEvent(props, emits, formData);
162212
162182
  });
162213
162183
  return (_ctx, _cache) => {
162214
162184
  const _component_star_horse_search_comp = __unplugin_components_0$4;
@@ -162329,7 +162299,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
162329
162299
 
162330
162300
  /* unplugin-vue-components disabled */
162331
162301
 
162332
- const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-6a951bb9"]]);
162302
+ const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-ddee846e"]]);
162333
162303
 
162334
162304
  const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162335
162305
  __proto__: null,
@@ -162378,15 +162348,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
162378
162348
  const props = __props;
162379
162349
  const emits = __emit;
162380
162350
  const formData = useModel(__props, "formData");
162381
- let actionName = shallowRef("normal");
162382
162351
  const itemAction = (prep) => {
162383
162352
  allAction(props, emits, formData, prep);
162384
162353
  };
162385
162354
  onMounted(() => {
162386
- actionName.value = props.field.actionName || "normal";
162387
- if (!props.isSearch) {
162388
- allAction(props, emits, formData, actionName.value, true);
162389
- }
162355
+ initCompCallEvent(props, emits, formData);
162390
162356
  });
162391
162357
  return (_ctx, _cache) => {
162392
162358
  const _component_el_input = ElInput;
@@ -162666,7 +162632,6 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162666
162632
  const props = __props;
162667
162633
  const emits = __emit;
162668
162634
  const formData = useModel(__props, "formData");
162669
- let actionName = shallowRef("change");
162670
162635
  const itemAction = (prep) => {
162671
162636
  allAction(props, emits, formData, prep);
162672
162637
  };
@@ -162699,16 +162664,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162699
162664
  props.field.preps["filterable"] = true;
162700
162665
  props.field.preps["collapseTags"] = true;
162701
162666
  initData();
162702
- actionName.value = props.field.actionName || "normal";
162703
- if (!props.isSearch) {
162704
- allAction(
162705
- props,
162706
- emits,
162707
- formData,
162708
- actionName.value,
162709
- !props.field.preps["needInitLink"]
162710
- );
162711
- }
162667
+ initCompCallEvent(props, emits, formData);
162712
162668
  });
162713
162669
  watch(
162714
162670
  () => formData.value[props.field.fieldName + "OptionList"],
@@ -162762,7 +162718,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162762
162718
 
162763
162719
  /* unplugin-vue-components disabled */
162764
162720
 
162765
- const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-8dbf6caf"]]);
162721
+ const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-7d809bc4"]]);
162766
162722
 
162767
162723
  const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162768
162724
  __proto__: null,
@@ -163351,7 +163307,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
163351
163307
 
163352
163308
  /* unplugin-vue-components disabled */
163353
163309
 
163354
- const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-bf193677"]]);
163310
+ const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-b772def2"]]);
163355
163311
 
163356
163312
  const signatureItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163357
163313
  __proto__: null,
@@ -163481,7 +163437,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
163481
163437
  const props = __props;
163482
163438
  const emits = __emit;
163483
163439
  const formData = useModel(__props, "formData");
163484
- let actionName = shallowRef("change");
163485
163440
  const itemAction = (prep) => {
163486
163441
  allAction(props, emits, formData, prep);
163487
163442
  };
@@ -163493,10 +163448,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
163493
163448
  props.field.preps["inactiveText"] = props.field.preps["inactiveText"] ?? "否";
163494
163449
  props.field.preps["activeValue"] = props.field.preps["activeValue"] ?? true;
163495
163450
  props.field.preps["inactiveValue"] = props.field.preps["inactiveValue"] ?? false;
163496
- actionName.value = props.field.actionName || "normal";
163497
- if (!props.isSearch) {
163498
- allAction(props, emits, formData, actionName.value, false);
163499
- }
163451
+ initCompCallEvent(props, emits, formData);
163500
163452
  });
163501
163453
  return (_ctx, _cache) => {
163502
163454
  const _component_el_switch = ElSwitch;
@@ -163751,7 +163703,6 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
163751
163703
  const emits = __emit;
163752
163704
  const formData = useModel(__props, "formData");
163753
163705
  const editorDialogVisible = shallowRef(false);
163754
- let actionName = shallowRef("normal");
163755
163706
  const itemAction = (prep) => {
163756
163707
  allAction(props, emits, formData, prep);
163757
163708
  };
@@ -163762,10 +163713,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
163762
163713
  formData.value[props.field.fieldName] = newContent;
163763
163714
  };
163764
163715
  onMounted(() => {
163765
- actionName.value = props.field.actionName || "normal";
163766
- if (!props.isSearch) {
163767
- allAction(props, emits, formData, actionName.value, true);
163768
- }
163716
+ initCompCallEvent(props, emits, formData);
163769
163717
  });
163770
163718
  return (_ctx, _cache) => {
163771
163719
  const _component_el_input = ElInput;
@@ -163850,15 +163798,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
163850
163798
  const props = __props;
163851
163799
  const emits = __emit;
163852
163800
  const formData = useModel(__props, "formData");
163853
- let actionName = shallowRef("normal");
163854
163801
  const itemAction = (prep) => {
163855
163802
  allAction(props, emits, formData, prep);
163856
163803
  };
163857
163804
  onMounted(() => {
163858
- actionName.value = props.field.actionName || "normal";
163859
- if (!props.isSearch) {
163860
- allAction(props, emits, formData, actionName.value, true);
163861
- }
163805
+ initCompCallEvent(props, emits, formData);
163862
163806
  });
163863
163807
  return (_ctx, _cache) => {
163864
163808
  const _component_el_time_select = ElTimeSelect;
@@ -163891,7 +163835,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
163891
163835
 
163892
163836
  /* unplugin-vue-components disabled */
163893
163837
 
163894
- const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-13ccd7ec"]]);
163838
+ const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-0e26e1e5"]]);
163895
163839
 
163896
163840
  const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163897
163841
  __proto__: null,
@@ -163940,15 +163884,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
163940
163884
  const props = __props;
163941
163885
  const emits = __emit;
163942
163886
  const formData = useModel(__props, "formData");
163943
- let actionName = shallowRef("normal");
163944
163887
  const itemAction = (prep) => {
163945
163888
  allAction(props, emits, formData, prep);
163946
163889
  };
163947
163890
  onMounted(() => {
163948
- actionName.value = props.field.actionName || "normal";
163949
- if (!props.isSearch) {
163950
- allAction(props, emits, formData, actionName.value, true);
163951
- }
163891
+ initCompCallEvent(props, emits, formData);
163952
163892
  });
163953
163893
  return (_ctx, _cache) => {
163954
163894
  const _component_el_time_picker = ElTimePicker;
@@ -163978,7 +163918,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
163978
163918
 
163979
163919
  /* unplugin-vue-components disabled */
163980
163920
 
163981
- const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ea5d872d"]]);
163921
+ const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-12e15446"]]);
163982
163922
 
163983
163923
  const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163984
163924
  __proto__: null,
@@ -164027,7 +163967,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
164027
163967
  const props = __props;
164028
163968
  const emits = __emit;
164029
163969
  const formData = useModel(__props, "formData");
164030
- let actionName = shallowRef("normal");
164031
163970
  let bakeData = shallowRef([]);
164032
163971
  const itemAction = (prep) => {
164033
163972
  allAction(props, emits, formData, prep);
@@ -164044,10 +163983,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
164044
163983
  props.field.preps = {};
164045
163984
  }
164046
163985
  initData();
164047
- actionName.value = props.field.actionName || "normal";
164048
- if (!props.isSearch) {
164049
- allAction(props, emits, formData, actionName.value, true);
164050
- }
163986
+ initCompCallEvent(props, emits, formData);
164051
163987
  });
164052
163988
  watch(
164053
163989
  () => formData.value[props.field.fieldName + "OptionList"],
@@ -164132,7 +164068,6 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
164132
164068
  const props = __props;
164133
164069
  const emits = __emit;
164134
164070
  const formData = useModel(__props, "formData");
164135
- let actionName = shallowRef("normal");
164136
164071
  const itemAction = (prep) => {
164137
164072
  allAction(props, emits, formData, prep);
164138
164073
  };
@@ -164166,10 +164101,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
164166
164101
  value: "value"
164167
164102
  };
164168
164103
  initData();
164169
- actionName.value = props.field.actionName || "normal";
164170
- if (!props.isSearch) {
164171
- allAction(props, emits, formData, actionName.value, true);
164172
- }
164104
+ initCompCallEvent(props, emits, formData);
164173
164105
  });
164174
164106
  watch(
164175
164107
  () => formData.value[props.field.fieldName + "OptionList"],
@@ -164445,7 +164377,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
164445
164377
 
164446
164378
  /* unplugin-vue-components disabled */
164447
164379
 
164448
- const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8d6cb6f7"]]);
164380
+ const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-60cdf1e8"]]);
164449
164381
 
164450
164382
  const uploadItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
164451
164383
  __proto__: null,
@@ -173189,7 +173121,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
173189
173121
 
173190
173122
  /* unplugin-vue-components disabled */
173191
173123
 
173192
- const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c4e43e21"]]);
173124
+ const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-63336449"]]);
173193
173125
 
173194
173126
  const viewMarkdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
173195
173127
  __proto__: null,