star-horse-lowcode 2.7.13 → 2.7.14

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
@@ -96331,6 +96331,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
96331
96331
  });
96332
96332
  provide("closeDialog", beforeClose);
96333
96333
  const fullScreen = () => {
96334
+ if (props.hideFullScreenIcon) return;
96334
96335
  isFullScreen.value = !isFullScreen.value;
96335
96336
  };
96336
96337
  let clickFunction = reactive({});
@@ -96369,7 +96370,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
96369
96370
  style: normalizeStyle(dialogStyle.value)
96370
96371
  }, {
96371
96372
  header: withCtx(({ close }) => [
96372
- createElementVNode("h3", null, toDisplayString(__props.title || __props.dialogProps.dialogTitle), 1),
96373
+ createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || __props.dialogProps.dialogTitle), 33),
96373
96374
  createElementVNode("div", _hoisted_2$A, [
96374
96375
  !__props.hideFullScreenIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
96375
96376
  !!unref(isFullScreen) && __props.draggable ? (openBlock(), createBlock(_component_el_button, {
@@ -96547,7 +96548,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
96547
96548
  }
96548
96549
  });
96549
96550
 
96550
- const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-f46e880e"]]);
96551
+ const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-027b78b5"]]);
96551
96552
 
96552
96553
  const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
96553
96554
  __proto__: null,
@@ -109838,14 +109839,18 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
109838
109839
  }
109839
109840
  };
109840
109841
  const allAction = (context, actionName, isInit = false) => {
109842
+ const field = context.attrs["field"];
109843
+ if (!isInit && actionName != "normal") {
109844
+ try {
109845
+ context.emit("selfFunc", actionName, context.attrs["formData"]);
109846
+ } catch (e) {
109847
+ error$1("事件触发异常:" + e);
109848
+ }
109849
+ }
109841
109850
  if (isDesign.value && isInit || actionName == "normal") {
109842
109851
  return;
109843
109852
  }
109844
- const field = context.attrs["field"];
109845
109853
  const tempName = field.preps?.actionName;
109846
- if (actionName != tempName) {
109847
- return;
109848
- }
109849
109854
  switch (actionName) {
109850
109855
  case "change":
109851
109856
  change(context);
@@ -109873,11 +109878,6 @@ const allAction = (context, actionName, isInit = false) => {
109873
109878
  if (actionName == field.preps["actionName"] && field.preps["actionRelation"]) {
109874
109879
  field.preps["actionRelation"](context.attrs["formData"][field.preps["name"]], context.attrs["formData"]["xh"]);
109875
109880
  }
109876
- try {
109877
- context.emit("selfFunc", actionName, context.attrs["formData"]);
109878
- } catch (e) {
109879
- error$1("事件触发异常:" + e);
109880
- }
109881
109881
  };
109882
109882
  const buttonAction = (context, code) => {
109883
109883
  if (code) {