@gct-paas/word 0.1.47-beta.8 → 0.1.47-beta.9

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
@@ -122890,12 +122890,45 @@ const schema$4 = {
122890
122890
  title: "数据初始化",
122891
122891
  render: DataInitPanel
122892
122892
  };
122893
+ var ExpressionModeEnum = /* @__PURE__ */ ((ExpressionModeEnum2) => {
122894
+ ExpressionModeEnum2[ExpressionModeEnum2["SEARCH"] = 0] = "SEARCH";
122895
+ ExpressionModeEnum2[ExpressionModeEnum2["FIELD_DISPLAY"] = 1] = "FIELD_DISPLAY";
122896
+ ExpressionModeEnum2[ExpressionModeEnum2["EXPORT_TEMPLATE"] = 2] = "EXPORT_TEMPLATE";
122897
+ ExpressionModeEnum2[ExpressionModeEnum2["DISPLAY_RULE"] = 3] = "DISPLAY_RULE";
122898
+ ExpressionModeEnum2[ExpressionModeEnum2["PROCESS_TITLE"] = 4] = "PROCESS_TITLE";
122899
+ ExpressionModeEnum2[ExpressionModeEnum2["GATEWAY_RULE"] = 5] = "GATEWAY_RULE";
122900
+ ExpressionModeEnum2[ExpressionModeEnum2["CREATE_FIELD"] = 6] = "CREATE_FIELD";
122901
+ ExpressionModeEnum2[ExpressionModeEnum2["PAAS_CREATE_FIELD"] = 7] = "PAAS_CREATE_FIELD";
122902
+ ExpressionModeEnum2[ExpressionModeEnum2["ENTITY_FORMULA"] = 8] = "ENTITY_FORMULA";
122903
+ ExpressionModeEnum2[ExpressionModeEnum2["IPAAS_BACK"] = 9] = "IPAAS_BACK";
122904
+ ExpressionModeEnum2[ExpressionModeEnum2["LABEL_PRINT"] = 10] = "LABEL_PRINT";
122905
+ ExpressionModeEnum2[ExpressionModeEnum2["NOCODE_BPMN_RULE"] = 11] = "NOCODE_BPMN_RULE";
122906
+ ExpressionModeEnum2[ExpressionModeEnum2["PAAS_BPMN_RULE"] = 12] = "PAAS_BPMN_RULE";
122907
+ ExpressionModeEnum2[ExpressionModeEnum2["ONLINE_FORM_FIELD_FORMULA"] = 13] = "ONLINE_FORM_FIELD_FORMULA";
122908
+ ExpressionModeEnum2[ExpressionModeEnum2["MEDPRO_BUSINESSFLOW"] = 14] = "MEDPRO_BUSINESSFLOW";
122909
+ ExpressionModeEnum2[ExpressionModeEnum2["RUN_FORMULA"] = 15] = "RUN_FORMULA";
122910
+ ExpressionModeEnum2[ExpressionModeEnum2["BI_FORMULA"] = 16] = "BI_FORMULA";
122911
+ ExpressionModeEnum2[ExpressionModeEnum2["DATA_SET_FORMULA"] = 17] = "DATA_SET_FORMULA";
122912
+ ExpressionModeEnum2[ExpressionModeEnum2["EDHR_LABEL_PRINT"] = 18] = "EDHR_LABEL_PRINT";
122913
+ return ExpressionModeEnum2;
122914
+ })(ExpressionModeEnum || {});
122915
+ var ExpressionTabEnum = /* @__PURE__ */ ((ExpressionTabEnum2) => {
122916
+ ExpressionTabEnum2["FUNCTION"] = "function";
122917
+ ExpressionTabEnum2["FORM"] = "form";
122918
+ ExpressionTabEnum2["FIELD"] = "field";
122919
+ ExpressionTabEnum2["VARIABLE"] = "variable";
122920
+ ExpressionTabEnum2["NODE"] = "node";
122921
+ ExpressionTabEnum2["OPERATOR"] = "operator";
122922
+ ExpressionTabEnum2["PARAMS"] = "params";
122923
+ return ExpressionTabEnum2;
122924
+ })(ExpressionTabEnum || {});
122893
122925
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
122894
122926
  __name: "field-formula-module",
122895
122927
  props: {
122896
122928
  modelKey: {},
122897
122929
  expr: {},
122898
- exprEcho: {}
122930
+ exprEcho: {},
122931
+ formulaFieldOptions: {}
122899
122932
  },
122900
122933
  emits: ["update:expr", "update:exprEcho"],
122901
122934
  setup(__props, { emit: __emit }) {
@@ -122905,21 +122938,27 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
122905
122938
  placeholder: "请输入公式"
122906
122939
  // readonly: true,
122907
122940
  };
122908
- const _value = computed({
122909
- get() {
122910
- return props.expr;
122911
- },
122912
- set(v) {
122913
- emit("update:expr", v);
122914
- }
122915
- });
122941
+ const displayValue = computed(() => props.exprEcho);
122916
122942
  const addFormula = async () => {
122917
- console.log("addFormula");
122943
+ triggerUtil.handle("OPEN_FORMULA_EDITOR_MODAL", {
122944
+ expr: props.expr,
122945
+ mode: ExpressionModeEnum.DISPLAY_RULE,
122946
+ identifiers: {
122947
+ [ExpressionTabEnum.FIELD]: props.formulaFieldOptions || []
122948
+ },
122949
+ modalZIndex: 3e3
122950
+ // returnType: ReturnTypeEnum.Number,
122951
+ }).then((res) => {
122952
+ if (!res) return;
122953
+ const { expr, exprEcho } = res;
122954
+ emit("update:expr", expr);
122955
+ emit("update:exprEcho", exprEcho);
122956
+ });
122918
122957
  };
122919
122958
  return (_ctx, _cache) => {
122920
122959
  return openBlock(), createBlock(unref(GctInput), mergeProps({
122921
- "model-value": _value.value,
122922
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _value.value = $event)
122960
+ "model-value": displayValue.value,
122961
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => displayValue.value = $event)
122923
122962
  }, inputProps, { onClick: addFormula }), null, 16, ["model-value"]);
122924
122963
  };
122925
122964
  }
@@ -122954,6 +122993,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
122954
122993
  props: {
122955
122994
  modalContext: {},
122956
122995
  fieldInfo: {},
122996
+ formulaFieldOptions: {},
122957
122997
  fieldIdentity: {},
122958
122998
  types: {},
122959
122999
  fieldPathChains: {},
@@ -122965,6 +123005,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
122965
123005
  const formState = reactive({
122966
123006
  type: FieldDependencyTypeConst.Disabled,
122967
123007
  expression: "",
123008
+ expressionStr: "",
122968
123009
  strategy: AssignmentStrategyTypeConst.AlwaysCover
122969
123010
  });
122970
123011
  const radioVal = ref("formula");
@@ -123022,7 +123063,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123022
123063
  return (_ctx, _cache) => {
123023
123064
  return openBlock(), createElementBlock("div", _hoisted_1$Z, [
123024
123065
  createElementVNode("div", _hoisted_2$x, [
123025
- _cache[7] || (_cache[7] = createElementVNode("div", { class: "label" }, "当前组件", -1)),
123066
+ _cache[9] || (_cache[9] = createElementVNode("div", { class: "label" }, "当前组件", -1)),
123026
123067
  createElementVNode("div", _hoisted_3$m, [
123027
123068
  createElementVNode("div", _hoisted_4$i, [
123028
123069
  createVNode(unref(GctIcon), {
@@ -123057,7 +123098,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123057
123098
  ])
123058
123099
  ]),
123059
123100
  createElementVNode("div", _hoisted_5$e, [
123060
- _cache[8] || (_cache[8] = createElementVNode("div", { class: "label" }, "组件行为", -1)),
123101
+ _cache[10] || (_cache[10] = createElementVNode("div", { class: "label" }, "组件行为", -1)),
123061
123102
  createElementVNode("div", _hoisted_6$b, [
123062
123103
  createVNode(unref(GctRadioGroup), {
123063
123104
  modelValue: formState.type,
@@ -123085,7 +123126,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123085
123126
  ]),
123086
123127
  isAssignment.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
123087
123128
  createElementVNode("div", _hoisted_7$8, [
123088
- _cache[10] || (_cache[10] = createElementVNode("div", { class: "label" }, "赋值类型", -1)),
123129
+ _cache[12] || (_cache[12] = createElementVNode("div", { class: "label" }, "赋值类型", -1)),
123089
123130
  createElementVNode("div", _hoisted_8$8, [
123090
123131
  createVNode(unref(GctRadioGroup), {
123091
123132
  modelValue: radioVal.value,
@@ -123093,7 +123134,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123093
123134
  }, {
123094
123135
  default: withCtx(() => [
123095
123136
  createVNode(unref(GctRadio), { value: "formula" }, {
123096
- default: withCtx(() => [..._cache[9] || (_cache[9] = [
123137
+ default: withCtx(() => [..._cache[11] || (_cache[11] = [
123097
123138
  createTextVNode("公式计算", -1)
123098
123139
  ])]),
123099
123140
  _: 1
@@ -123104,23 +123145,26 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123104
123145
  ])
123105
123146
  ]),
123106
123147
  createElementVNode("div", _hoisted_9$6, [
123107
- _cache[11] || (_cache[11] = createElementVNode("div", { class: "label required" }, "新值", -1)),
123148
+ _cache[13] || (_cache[13] = createElementVNode("div", { class: "label required" }, "新值", -1)),
123108
123149
  createElementVNode("div", _hoisted_10$4, [
123109
123150
  createVNode(_sfc_main$19, {
123110
123151
  expr: formState.expression,
123111
123152
  "onUpdate:expr": _cache[2] || (_cache[2] = ($event) => formState.expression = $event),
123153
+ exprEcho: formState.expressionStr,
123154
+ "onUpdate:exprEcho": _cache[3] || (_cache[3] = ($event) => formState.expressionStr = $event),
123112
123155
  placeholder: "请输入新值",
123113
- onBlur: _cache[3] || (_cache[3] = ($event) => validate("assignment"))
123114
- }, null, 8, ["expr"]),
123156
+ formulaFieldOptions: __props.formulaFieldOptions,
123157
+ onBlur: _cache[4] || (_cache[4] = ($event) => validate("assignment"))
123158
+ }, null, 8, ["expr", "exprEcho", "formulaFieldOptions"]),
123115
123159
  errors.assignment ? (openBlock(), createElementBlock("div", _hoisted_11$2, toDisplayString(errors.assignment), 1)) : createCommentVNode("", true)
123116
123160
  ])
123117
123161
  ]),
123118
123162
  createElementVNode("div", _hoisted_12$1, [
123119
- _cache[12] || (_cache[12] = createElementVNode("div", { class: "label" }, "新值赋值策略", -1)),
123163
+ _cache[14] || (_cache[14] = createElementVNode("div", { class: "label" }, "新值赋值策略", -1)),
123120
123164
  createElementVNode("div", _hoisted_13$1, [
123121
123165
  createVNode(unref(GctRadioGroup), {
123122
123166
  modelValue: formState.strategy,
123123
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formState.strategy = $event)
123167
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formState.strategy = $event)
123124
123168
  }, {
123125
123169
  default: withCtx(() => [
123126
123170
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(AssignmentStrategyTypeOptions), (option) => {
@@ -123140,15 +123184,18 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123140
123184
  ])
123141
123185
  ])
123142
123186
  ], 64)) : (openBlock(), createElementBlock("div", _hoisted_14$1, [
123143
- _cache[14] || (_cache[14] = createElementVNode("div", { class: "label required" }, "前置条件", -1)),
123187
+ _cache[16] || (_cache[16] = createElementVNode("div", { class: "label required" }, "前置条件", -1)),
123144
123188
  createElementVNode("div", _hoisted_15, [
123145
123189
  createVNode(_sfc_main$19, {
123146
123190
  expr: formState.expression,
123147
- "onUpdate:expr": _cache[5] || (_cache[5] = ($event) => formState.expression = $event),
123191
+ "onUpdate:expr": _cache[6] || (_cache[6] = ($event) => formState.expression = $event),
123192
+ exprEcho: formState.expressionStr,
123193
+ "onUpdate:exprEcho": _cache[7] || (_cache[7] = ($event) => formState.expressionStr = $event),
123148
123194
  placeholder: "请输入表达式",
123149
- onBlur: _cache[6] || (_cache[6] = ($event) => validate("prerequisites"))
123150
- }, null, 8, ["expr"]),
123151
- _cache[13] || (_cache[13] = createElementVNode("div", { class: "message" }, " 满足前置条件时,才能执行组件行为 ", -1)),
123195
+ formulaFieldOptions: __props.formulaFieldOptions,
123196
+ onBlur: _cache[8] || (_cache[8] = ($event) => validate("prerequisites"))
123197
+ }, null, 8, ["expr", "exprEcho", "formulaFieldOptions"]),
123198
+ _cache[15] || (_cache[15] = createElementVNode("div", { class: "message" }, " 满足前置条件时,才能执行组件行为 ", -1)),
123152
123199
  errors.prerequisites ? (openBlock(), createElementBlock("div", _hoisted_16, toDisplayString(errors.prerequisites), 1)) : createCommentVNode("", true)
123153
123200
  ])
123154
123201
  ]))
@@ -123156,7 +123203,46 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
123156
123203
  };
123157
123204
  }
123158
123205
  });
123159
- const FieldDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-4f885495"]]);
123206
+ const FieldDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-497ff6b5"]]);
123207
+ const buildChildrenFromModel = (model) => {
123208
+ return model.fieldList.filter(({ type: type4 }) => type4 !== FIELD_TYPE.MASTERSLAVE).map(({ key, name: name2, type: type4 }) => ({
123209
+ id: key,
123210
+ name: name2,
123211
+ valueType: type4
123212
+ }));
123213
+ };
123214
+ const buildIdentifierGroup = ({
123215
+ id,
123216
+ name: name2,
123217
+ model,
123218
+ idToChildren = false
123219
+ }) => {
123220
+ return {
123221
+ id,
123222
+ name: name2,
123223
+ idToChildren,
123224
+ children: buildChildrenFromModel(model)
123225
+ };
123226
+ };
123227
+ const calcModelFields = (model, isMaster = true) => {
123228
+ const { modelKey, modelName } = model || {};
123229
+ return buildIdentifierGroup({
123230
+ id: isMaster ? modelKey : "_",
123231
+ name: isMaster ? modelName : "子表当前行",
123232
+ model,
123233
+ idToChildren: isMaster ? false : true
123234
+ });
123235
+ };
123236
+ const getFormulaFieldOptions = (infoList) => {
123237
+ const [mainInfo, subInfo] = infoList;
123238
+ const options = [
123239
+ calcModelFields(mainInfo)
123240
+ ];
123241
+ if (subInfo) {
123242
+ options.push(calcModelFields(subInfo, false));
123243
+ }
123244
+ return options;
123245
+ };
123160
123246
  const _hoisted_1$Y = { class: "field-dependency-module" };
123161
123247
  const _hoisted_2$w = { class: "field-dependency-list" };
123162
123248
  const _hoisted_3$l = { class: "item-header" };
@@ -123177,6 +123263,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
123177
123263
  },
123178
123264
  setup(__props) {
123179
123265
  const designCtx = useDesignSuiteContext();
123266
+ const { docInst } = useDocPubApiContext();
123267
+ const mainModelKey = toRef(docInst.value, "mainModelKey");
123180
123268
  const props = __props;
123181
123269
  const formState = toRef(props, "widgetPropsMeta");
123182
123270
  const initComponentDependency2 = {
@@ -123189,6 +123277,24 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
123189
123277
  [FieldDependencyTypeConst.Assignment]: {}
123190
123278
  }
123191
123279
  };
123280
+ const formulaFieldOptions = computed(() => {
123281
+ const modelKey = mainModelKey.value;
123282
+ const modelName = designCtx.runtime.getModel(mainModelKey.value)?.modelName || "";
123283
+ const fieldList = designCtx.runtime.getFieldList(modelKey);
123284
+ const infoList = [{ modelKey, modelName, fieldList }];
123285
+ const propsModelKey = props.fieldInfo.modelKey;
123286
+ const subModelKey = propsModelKey === modelKey ? void 0 : propsModelKey;
123287
+ if (subModelKey) {
123288
+ const subModelName = designCtx.runtime.getModel(subModelKey)?.modelName || "";
123289
+ const subFieldList = designCtx.runtime.getFieldList(subModelKey);
123290
+ infoList.push({
123291
+ modelKey: subModelKey,
123292
+ modelName: subModelName,
123293
+ fieldList: subFieldList
123294
+ });
123295
+ }
123296
+ return getFormulaFieldOptions(infoList);
123297
+ });
123192
123298
  const componentDependency = computed({
123193
123299
  get() {
123194
123300
  if (!formState.value.componentDependency) {
@@ -123238,6 +123344,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
123238
123344
  next.configDependency[savedRes.type] = {
123239
123345
  type: savedRes.type,
123240
123346
  expression: savedRes.expression,
123347
+ expressionStr: savedRes.expressionStr,
123241
123348
  value: true,
123242
123349
  ...savedRes.type === FieldDependencyTypeConst.Assignment && {
123243
123350
  strategy: savedRes.strategy
@@ -123251,6 +123358,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
123251
123358
  body: FieldDependencyModal,
123252
123359
  bodyProps: {
123253
123360
  fieldInfo: props.fieldInfo,
123361
+ formulaFieldOptions: formulaFieldOptions.value,
123254
123362
  fieldIdentity: {
123255
123363
  icon: manifest2.value?.icon,
123256
123364
  version: manifest2.value?.version
@@ -123320,7 +123428,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
123320
123428
  }, null, 8, ["onClick"])
123321
123429
  ])
123322
123430
  ]),
123323
- createElementVNode("div", _hoisted_8$7, toDisplayString(componentDependency.value.configDependency[type4]?.expression), 1)
123431
+ createElementVNode("div", _hoisted_8$7, toDisplayString(componentDependency.value.configDependency[type4]?.expressionStr), 1)
123324
123432
  ]);
123325
123433
  }), 128))
123326
123434
  ])
@@ -123328,7 +123436,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
123328
123436
  };
123329
123437
  }
123330
123438
  });
123331
- const FieldDependencyModule = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-706ac3a8"]]);
123439
+ const FieldDependencyModule = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-a40f193b"]]);
123332
123440
  function useFieldPanelMeta(getField) {
123333
123441
  const designCtx = useDesignSuiteContext();
123334
123442
  return computed(() => {
@@ -125170,13 +125278,17 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
125170
125278
  mode: {},
125171
125279
  value: {},
125172
125280
  expr: {},
125281
+ exprStr: {},
125173
125282
  placeholder: {},
125174
125283
  limit: {}
125175
125284
  },
125176
- emits: ["update:mode", "update:value", "update:expr"],
125285
+ emits: ["update:mode", "update:value", "update:expr", "update:exprStr"],
125177
125286
  setup(__props, { emit: __emit }) {
125178
125287
  const Fixed = RangeValidateModeTypeConst.Fixed_Number;
125179
125288
  const Variable = RangeValidateModeTypeConst.Variable_Validate;
125289
+ const designCtx = useDesignSuiteContext();
125290
+ const { docInst } = useDocPubApiContext();
125291
+ const mainModelKey = toRef(docInst.value, "mainModelKey");
125180
125292
  const props = __props;
125181
125293
  const emit = __emit;
125182
125294
  const _mode = computed({
@@ -125191,6 +125303,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
125191
125303
  get: () => props.expr,
125192
125304
  set: (v) => emit("update:expr", v)
125193
125305
  });
125306
+ const _exprStr = computed({
125307
+ get: () => props.exprStr,
125308
+ set: (v) => emit("update:exprStr", v)
125309
+ });
125194
125310
  const isDateTime = computed(() => props.fieldType === FIELD_TYPE.DATE_TIME);
125195
125311
  const pickerFormat = computed(() => isDateTime.value ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
125196
125312
  const calendarProps = computed(() => {
@@ -125205,6 +125321,13 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
125205
125321
  { label: "固定输入校验", value: RangeValidateModeTypeConst.Fixed_Number },
125206
125322
  { label: "变量校验", value: RangeValidateModeTypeConst.Variable_Validate }
125207
125323
  ];
125324
+ const formulaFieldOptions = computed(() => {
125325
+ const modelKey = mainModelKey.value;
125326
+ const modelName = designCtx.runtime.getModel(mainModelKey.value)?.modelName || "";
125327
+ const fieldList = designCtx.runtime.getFieldList(modelKey);
125328
+ const infoList = [{ modelKey, modelName, fieldList }];
125329
+ return getFormulaFieldOptions(infoList);
125330
+ });
125208
125331
  return (_ctx, _cache) => {
125209
125332
  return openBlock(), createElementBlock(Fragment, null, [
125210
125333
  createVNode(unref(GctFormItem), {
@@ -125235,8 +125358,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
125235
125358
  key: 1,
125236
125359
  expr: _expr.value,
125237
125360
  "onUpdate:expr": _cache[2] || (_cache[2] = ($event) => _expr.value = $event),
125361
+ exprEcho: _exprStr.value,
125362
+ "onUpdate:exprEcho": _cache[3] || (_cache[3] = ($event) => _exprStr.value = $event),
125363
+ formulaFieldOptions: formulaFieldOptions.value,
125238
125364
  style: { "width": "100%", "margin-top": "6px" }
125239
- }, null, 8, ["expr"])) : createCommentVNode("", true)
125365
+ }, null, 8, ["expr", "exprEcho", "formulaFieldOptions"])) : createCommentVNode("", true)
125240
125366
  ], 64);
125241
125367
  };
125242
125368
  }
@@ -125253,7 +125379,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
125253
125379
  maxValue: {},
125254
125380
  minValue: {},
125255
125381
  maxExpr: {},
125256
- minExpr: {}
125382
+ maxExprStr: {},
125383
+ minExpr: {},
125384
+ minExprStr: {}
125257
125385
  },
125258
125386
  emits: [
125259
125387
  "update:enableRangeValidate",
@@ -125262,7 +125390,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
125262
125390
  "update:maxValue",
125263
125391
  "update:minValue",
125264
125392
  "update:maxExpr",
125265
- "update:minExpr"
125393
+ "update:maxExprStr",
125394
+ "update:minExpr",
125395
+ "update:minExprStr"
125266
125396
  ],
125267
125397
  setup(__props, { emit: __emit }) {
125268
125398
  const props = __props;
@@ -125291,10 +125421,18 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
125291
125421
  get: () => props.maxExpr,
125292
125422
  set: (v) => emit("update:maxExpr", v)
125293
125423
  });
125424
+ const _maxExprStr = computed({
125425
+ get: () => props.maxExprStr,
125426
+ set: (v) => emit("update:maxExprStr", v)
125427
+ });
125294
125428
  const _minExpr = computed({
125295
125429
  get: () => props.minExpr,
125296
125430
  set: (v) => emit("update:minExpr", v)
125297
125431
  });
125432
+ const _minExprStr = computed({
125433
+ get: () => props.minExprStr,
125434
+ set: (v) => emit("update:minExprStr", v)
125435
+ });
125298
125436
  const maxLimit = computed(() => ({
125299
125437
  minDate: isNil(_minValue.value) ? void 0 : _minValue.value,
125300
125438
  maxDate: void 0
@@ -125330,27 +125468,31 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
125330
125468
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => _maxValue.value = $event),
125331
125469
  expr: _maxExpr.value,
125332
125470
  "onUpdate:expr": _cache[3] || (_cache[3] = ($event) => _maxExpr.value = $event),
125471
+ exprStr: _maxExprStr.value,
125472
+ "onUpdate:exprStr": _cache[4] || (_cache[4] = ($event) => _maxExprStr.value = $event),
125333
125473
  limit: maxLimit.value,
125334
125474
  placeholder: "请选择上限日期"
125335
- }, null, 8, ["fieldType", "mode", "value", "expr", "limit"]),
125475
+ }, null, 8, ["fieldType", "mode", "value", "expr", "exprStr", "limit"]),
125336
125476
  createVNode(_sfc_main$Q, {
125337
125477
  label: "下限校验方式",
125338
125478
  fieldType: __props.fieldType,
125339
125479
  mode: _minValidateMode.value,
125340
- "onUpdate:mode": _cache[4] || (_cache[4] = ($event) => _minValidateMode.value = $event),
125480
+ "onUpdate:mode": _cache[5] || (_cache[5] = ($event) => _minValidateMode.value = $event),
125341
125481
  value: _minValue.value,
125342
- "onUpdate:value": _cache[5] || (_cache[5] = ($event) => _minValue.value = $event),
125482
+ "onUpdate:value": _cache[6] || (_cache[6] = ($event) => _minValue.value = $event),
125343
125483
  expr: _minExpr.value,
125344
- "onUpdate:expr": _cache[6] || (_cache[6] = ($event) => _minExpr.value = $event),
125484
+ "onUpdate:expr": _cache[7] || (_cache[7] = ($event) => _minExpr.value = $event),
125485
+ exprStr: _minExprStr.value,
125486
+ "onUpdate:exprStr": _cache[8] || (_cache[8] = ($event) => _minExprStr.value = $event),
125345
125487
  limit: minLimit.value,
125346
125488
  placeholder: "请选择下限日期"
125347
- }, null, 8, ["fieldType", "mode", "value", "expr", "limit"])
125489
+ }, null, 8, ["fieldType", "mode", "value", "expr", "exprStr", "limit"])
125348
125490
  ], 64)) : createCommentVNode("", true)
125349
125491
  ]);
125350
125492
  };
125351
125493
  }
125352
125494
  });
125353
- const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-0b57f192"]]);
125495
+ const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-40876c24"]]);
125354
125496
  const _hoisted_1$J = { class: "panel-field-datetime-config" };
125355
125497
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
125356
125498
  __name: "field-datetime-config",
@@ -125445,7 +125587,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
125445
125587
  "model-value": formState.value.defaultSysDate,
125446
125588
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => formState.value.defaultSysDate = $event)
125447
125589
  }, {
125448
- default: withCtx(() => [..._cache[17] || (_cache[17] = [
125590
+ default: withCtx(() => [..._cache[19] || (_cache[19] = [
125449
125591
  createTextVNode("默认系统日期", -1)
125450
125592
  ])]),
125451
125593
  _: 1
@@ -125468,14 +125610,18 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
125468
125610
  "onUpdate:minValue": _cache[14] || (_cache[14] = ($event) => formState.value.minValue = $event),
125469
125611
  "max-expr": formState.value.maxFormulaExpr,
125470
125612
  "onUpdate:maxExpr": _cache[15] || (_cache[15] = ($event) => formState.value.maxFormulaExpr = $event),
125613
+ "max-expr-str": formState.value.maxFormulaExprStr,
125614
+ "onUpdate:maxExprStr": _cache[16] || (_cache[16] = ($event) => formState.value.maxFormulaExprStr = $event),
125471
125615
  "min-expr": formState.value.minFormulaExpr,
125472
- "onUpdate:minExpr": _cache[16] || (_cache[16] = ($event) => formState.value.minFormulaExpr = $event)
125473
- }, null, 8, ["fieldType", "enable-range-validate", "max-validate-mode", "min-validate-mode", "max-value", "min-value", "max-expr", "min-expr"])) : createCommentVNode("", true)
125616
+ "onUpdate:minExpr": _cache[17] || (_cache[17] = ($event) => formState.value.minFormulaExpr = $event),
125617
+ "min-expr-str": formState.value.minFormulaExprStr,
125618
+ "onUpdate:minExprStr": _cache[18] || (_cache[18] = ($event) => formState.value.minFormulaExprStr = $event)
125619
+ }, null, 8, ["fieldType", "enable-range-validate", "max-validate-mode", "min-validate-mode", "max-value", "min-value", "max-expr", "max-expr-str", "min-expr", "min-expr-str"])) : createCommentVNode("", true)
125474
125620
  ]);
125475
125621
  };
125476
125622
  }
125477
125623
  });
125478
- const fieldDatetimeConfig = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-d73257e8"]]);
125624
+ const fieldDatetimeConfig = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-2afe3cf5"]]);
125479
125625
  const __vite_glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
125480
125626
  __proto__: null,
125481
125627
  default: fieldDatetimeConfig
@@ -126289,13 +126435,17 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
126289
126435
  mode: {},
126290
126436
  value: {},
126291
126437
  expr: {},
126438
+ exprStr: {},
126292
126439
  precision: {},
126293
126440
  limit: {}
126294
126441
  },
126295
- emits: ["update:mode", "update:value", "update:expr"],
126442
+ emits: ["update:mode", "update:value", "update:expr", "update:exprStr"],
126296
126443
  setup(__props, { emit: __emit }) {
126297
126444
  const Fixed = RangeValidateModeTypeConst.Fixed_Number;
126298
126445
  const Variable = RangeValidateModeTypeConst.Variable_Validate;
126446
+ const designCtx = useDesignSuiteContext();
126447
+ const { docInst } = useDocPubApiContext();
126448
+ const mainModelKey = toRef(docInst.value, "mainModelKey");
126299
126449
  const props = __props;
126300
126450
  const emit = __emit;
126301
126451
  const _mode = computed({
@@ -126310,11 +126460,22 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
126310
126460
  get: () => props.expr,
126311
126461
  set: (v) => emit("update:expr", v)
126312
126462
  });
126463
+ const _exprStr = computed({
126464
+ get: () => props.exprStr,
126465
+ set: (v) => emit("update:exprStr", v)
126466
+ });
126313
126467
  const validateModeOptions = [
126314
126468
  { label: "不校验", value: RangeValidateModeTypeConst.No_Validate },
126315
126469
  { label: "固定输入校验", value: RangeValidateModeTypeConst.Fixed_Number },
126316
126470
  { label: "变量校验", value: RangeValidateModeTypeConst.Variable_Validate }
126317
126471
  ];
126472
+ const formulaFieldOptions = computed(() => {
126473
+ const modelKey = mainModelKey.value;
126474
+ const modelName = designCtx.runtime.getModel(mainModelKey.value)?.modelName || "";
126475
+ const fieldList = designCtx.runtime.getFieldList(modelKey);
126476
+ const infoList = [{ modelKey, modelName, fieldList }];
126477
+ return getFormulaFieldOptions(infoList);
126478
+ });
126318
126479
  return (_ctx, _cache) => {
126319
126480
  return openBlock(), createElementBlock(Fragment, null, [
126320
126481
  createVNode(unref(GctFormItem), {
@@ -126348,8 +126509,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
126348
126509
  key: 1,
126349
126510
  expr: _expr.value,
126350
126511
  "onUpdate:expr": _cache[2] || (_cache[2] = ($event) => _expr.value = $event),
126512
+ exprEcho: _exprStr.value,
126513
+ "onUpdate:exprEcho": _cache[3] || (_cache[3] = ($event) => _exprStr.value = $event),
126514
+ formulaFieldOptions: formulaFieldOptions.value,
126351
126515
  style: { "width": "100%", "margin-top": "6px" }
126352
- }, null, 8, ["expr"])) : createCommentVNode("", true)
126516
+ }, null, 8, ["expr", "exprEcho", "formulaFieldOptions"])) : createCommentVNode("", true)
126353
126517
  ], 64);
126354
126518
  };
126355
126519
  }
@@ -126365,7 +126529,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
126365
126529
  maxValue: {},
126366
126530
  minValue: {},
126367
126531
  maxExpr: {},
126532
+ maxExprStr: {},
126368
126533
  minExpr: {},
126534
+ minExprStr: {},
126369
126535
  precision: {}
126370
126536
  },
126371
126537
  emits: [
@@ -126375,7 +126541,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
126375
126541
  "update:maxValue",
126376
126542
  "update:minValue",
126377
126543
  "update:maxExpr",
126378
- "update:minExpr"
126544
+ "update:maxExprStr",
126545
+ "update:minExpr",
126546
+ "update:minExprStr"
126379
126547
  ],
126380
126548
  setup(__props, { emit: __emit }) {
126381
126549
  const props = __props;
@@ -126404,10 +126572,18 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
126404
126572
  get: () => props.maxExpr,
126405
126573
  set: (v) => emit("update:maxExpr", v)
126406
126574
  });
126575
+ const _maxExprStr = computed({
126576
+ get: () => props.maxExprStr,
126577
+ set: (v) => emit("update:maxExprStr", v)
126578
+ });
126407
126579
  const _minExpr = computed({
126408
126580
  get: () => props.minExpr,
126409
126581
  set: (v) => emit("update:minExpr", v)
126410
126582
  });
126583
+ const _minExprStr = computed({
126584
+ get: () => props.minExprStr,
126585
+ set: (v) => emit("update:minExprStr", v)
126586
+ });
126411
126587
  const maxLimit = computed(() => ({
126412
126588
  lower: isNil(_minValue.value) ? -Infinity : _minValue.value,
126413
126589
  upper: Infinity
@@ -126442,26 +126618,30 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
126442
126618
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => _maxValue.value = $event),
126443
126619
  expr: _maxExpr.value,
126444
126620
  "onUpdate:expr": _cache[3] || (_cache[3] = ($event) => _maxExpr.value = $event),
126621
+ exprStr: _maxExprStr.value,
126622
+ "onUpdate:exprStr": _cache[4] || (_cache[4] = ($event) => _maxExprStr.value = $event),
126445
126623
  limit: maxLimit.value,
126446
126624
  precision: __props.precision
126447
- }, null, 8, ["mode", "value", "expr", "limit", "precision"]),
126625
+ }, null, 8, ["mode", "value", "expr", "exprStr", "limit", "precision"]),
126448
126626
  createVNode(_sfc_main$F, {
126449
126627
  label: "下限校验方式",
126450
126628
  mode: _minValidateMode.value,
126451
- "onUpdate:mode": _cache[4] || (_cache[4] = ($event) => _minValidateMode.value = $event),
126629
+ "onUpdate:mode": _cache[5] || (_cache[5] = ($event) => _minValidateMode.value = $event),
126452
126630
  value: _minValue.value,
126453
- "onUpdate:value": _cache[5] || (_cache[5] = ($event) => _minValue.value = $event),
126631
+ "onUpdate:value": _cache[6] || (_cache[6] = ($event) => _minValue.value = $event),
126454
126632
  expr: _minExpr.value,
126455
- "onUpdate:expr": _cache[6] || (_cache[6] = ($event) => _minExpr.value = $event),
126633
+ "onUpdate:expr": _cache[7] || (_cache[7] = ($event) => _minExpr.value = $event),
126634
+ exprStr: _minExprStr.value,
126635
+ "onUpdate:exprStr": _cache[8] || (_cache[8] = ($event) => _minExprStr.value = $event),
126456
126636
  limit: minLimit.value,
126457
126637
  precision: __props.precision
126458
- }, null, 8, ["mode", "value", "expr", "limit", "precision"])
126638
+ }, null, 8, ["mode", "value", "expr", "exprStr", "limit", "precision"])
126459
126639
  ], 64)) : createCommentVNode("", true)
126460
126640
  ]);
126461
126641
  };
126462
126642
  }
126463
126643
  });
126464
- const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-29ee1370"]]);
126644
+ const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-279ead92"]]);
126465
126645
  const _hoisted_1$z = { class: "panel-field-number-config" };
126466
126646
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
126467
126647
  __name: "field-number-config",
@@ -126612,15 +126792,19 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
126612
126792
  "onUpdate:minValue": _cache[12] || (_cache[12] = ($event) => formState.value.minValue = $event),
126613
126793
  "max-expr": formState.value.maxFormulaExpr,
126614
126794
  "onUpdate:maxExpr": _cache[13] || (_cache[13] = ($event) => formState.value.maxFormulaExpr = $event),
126795
+ "max-expr-str": formState.value.maxFormulaExprStr,
126796
+ "onUpdate:maxExprStr": _cache[14] || (_cache[14] = ($event) => formState.value.maxFormulaExprStr = $event),
126615
126797
  "min-expr": formState.value.minFormulaExpr,
126616
- "onUpdate:minExpr": _cache[14] || (_cache[14] = ($event) => formState.value.minFormulaExpr = $event),
126798
+ "onUpdate:minExpr": _cache[15] || (_cache[15] = ($event) => formState.value.minFormulaExpr = $event),
126799
+ "min-expr-str": formState.value.minFormulaExprStr,
126800
+ "onUpdate:minExprStr": _cache[16] || (_cache[16] = ($event) => formState.value.minFormulaExprStr = $event),
126617
126801
  precision: fieldDigits.value
126618
- }, null, 8, ["enable-range-validate", "max-validate-mode", "min-validate-mode", "max-value", "min-value", "max-expr", "min-expr", "precision"])
126802
+ }, null, 8, ["enable-range-validate", "max-validate-mode", "min-validate-mode", "max-value", "min-value", "max-expr", "max-expr-str", "min-expr", "min-expr-str", "precision"])
126619
126803
  ]);
126620
126804
  };
126621
126805
  }
126622
126806
  });
126623
- const fieldNumberConfig = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-df163fdd"]]);
126807
+ const fieldNumberConfig = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-657ce090"]]);
126624
126808
  const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
126625
126809
  __proto__: null,
126626
126810
  default: fieldNumberConfig
@@ -127767,9 +127951,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
127767
127951
  label: {},
127768
127952
  valueType: {},
127769
127953
  value: {},
127954
+ valueFormulaStr: {},
127770
127955
  subFieldKey: {}
127771
127956
  },
127772
- emits: ["update:valueType", "update:value"],
127957
+ emits: ["update:valueType", "update:value", "update:valueFormulaStr"],
127773
127958
  setup(__props, { emit: __emit }) {
127774
127959
  const valueTypeOptions = [
127775
127960
  {
@@ -127785,6 +127970,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
127785
127970
  value: ValueTypeConst.Formula
127786
127971
  }
127787
127972
  ];
127973
+ const designCtx = useDesignSuiteContext();
127974
+ const { docInst } = useDocPubApiContext();
127975
+ const mainModelKey = toRef(docInst.value, "mainModelKey");
127788
127976
  const props = __props;
127789
127977
  const emit = __emit;
127790
127978
  const handler = /* @__PURE__ */ useDebounceFn((v) => emit("update:value", v), 300);
@@ -127819,6 +128007,21 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
127819
128007
  );
127820
128008
  }
127821
128009
  });
128010
+ const _valueFormulaStr = computed({
128011
+ get() {
128012
+ return props.valueFormulaStr || "";
128013
+ },
128014
+ set(v) {
128015
+ emit("update:valueFormulaStr", v);
128016
+ }
128017
+ });
128018
+ const formulaFieldOptions = computed(() => {
128019
+ const modelKey = mainModelKey.value;
128020
+ const modelName = designCtx.runtime.getModel(mainModelKey.value)?.modelName || "";
128021
+ const fieldList = designCtx.runtime.getFieldList(modelKey);
128022
+ const infoList = [{ modelKey, modelName, fieldList }];
128023
+ return getFormulaFieldOptions(infoList);
128024
+ });
127822
128025
  const handleChangeValueType = () => {
127823
128026
  emit("update:value", void 0);
127824
128027
  };
@@ -127853,8 +128056,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
127853
128056
  _valueType.value === unref(ValueTypeConst).Formula ? (openBlock(), createBlock(_sfc_main$19, {
127854
128057
  key: 2,
127855
128058
  expr: _value.value,
127856
- "onUpdate:expr": _cache[3] || (_cache[3] = ($event) => _value.value = $event)
127857
- }, null, 8, ["expr"])) : createCommentVNode("", true)
128059
+ "onUpdate:expr": _cache[3] || (_cache[3] = ($event) => _value.value = $event),
128060
+ exprEcho: _valueFormulaStr.value,
128061
+ "onUpdate:exprEcho": _cache[4] || (_cache[4] = ($event) => _valueFormulaStr.value = $event),
128062
+ formulaFieldOptions: formulaFieldOptions.value
128063
+ }, null, 8, ["expr", "exprEcho", "formulaFieldOptions"])) : createCommentVNode("", true)
127858
128064
  ])
127859
128065
  ]),
127860
128066
  _: 1
@@ -127862,7 +128068,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
127862
128068
  };
127863
128069
  }
127864
128070
  });
127865
- const ContentValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-4c652a08"]]);
128071
+ const ContentValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-42266d0d"]]);
127866
128072
  const _hoisted_1$o = { class: "panel-widget-barcode-config" };
127867
128073
  const _hoisted_2$f = { class: "content" };
127868
128074
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
@@ -127930,18 +128136,20 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
127930
128136
  "onUpdate:valueType": _cache[1] || (_cache[1] = ($event) => formState.value.valueType = $event),
127931
128137
  value: formState.value.value,
127932
128138
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => formState.value.value = $event),
128139
+ "value-formula-str": formState.value.valueFormulaStr,
128140
+ "onUpdate:valueFormulaStr": _cache[3] || (_cache[3] = ($event) => formState.value.valueFormulaStr = $event),
127933
128141
  subFieldKey: subFieldKey.value
127934
- }, null, 8, ["value-type", "value", "subFieldKey"]),
128142
+ }, null, 8, ["value-type", "value", "value-formula-str", "subFieldKey"]),
127935
128143
  createVNode(_sfc_main$13, {
127936
128144
  label: "条码高度",
127937
128145
  modelValue: layoutState.value.height,
127938
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => layoutState.value.height = $event),
128146
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => layoutState.value.height = $event),
127939
128147
  numberProps
127940
128148
  }, null, 8, ["modelValue"]),
127941
128149
  createVNode(_sfc_main$10, {
127942
128150
  label: "内容对齐方式",
127943
128151
  modelValue: formState.value.justifyContent,
127944
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formState.value.justifyContent = $event),
128152
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formState.value.justifyContent = $event),
127945
128153
  options: alignHorizontalOptions,
127946
128154
  showMode: "icon"
127947
128155
  }, null, 8, ["modelValue"]),
@@ -127950,7 +128158,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
127950
128158
  createElementVNode("div", _hoisted_2$f, [
127951
128159
  createVNode(unref(GctSwitch), {
127952
128160
  modelValue: formState.value.showValue,
127953
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formState.value.showValue = $event),
128161
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formState.value.showValue = $event),
127954
128162
  size: "small"
127955
128163
  }, null, 8, ["modelValue"])
127956
128164
  ])
@@ -127961,7 +128169,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
127961
128169
  };
127962
128170
  }
127963
128171
  });
127964
- const widgetBarcodeConfig = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-dd6c8791"]]);
128172
+ const widgetBarcodeConfig = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ad1f63a7"]]);
127965
128173
  const __vite_glob_1_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
127966
128174
  __proto__: null,
127967
128175
  default: widgetBarcodeConfig
@@ -128619,8 +128827,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
128619
128827
  "onUpdate:valueType": _cache[1] || (_cache[1] = ($event) => formState.value.valueType = $event),
128620
128828
  value: formState.value.value,
128621
128829
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => formState.value.value = $event),
128830
+ "value-formula-str": formState.value.valueFormulaStr,
128831
+ "onUpdate:valueFormulaStr": _cache[3] || (_cache[3] = ($event) => formState.value.valueFormulaStr = $event),
128622
128832
  subFieldKey: subFieldKey.value
128623
- }, null, 8, ["value-type", "value", "subFieldKey"]),
128833
+ }, null, 8, ["value-type", "value", "value-formula-str", "subFieldKey"]),
128624
128834
  createVNode(_sfc_main$13, {
128625
128835
  label: "二维码宽度",
128626
128836
  "model-value": layoutState.value.width,
@@ -128630,7 +128840,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
128630
128840
  createVNode(_sfc_main$13, {
128631
128841
  label: "二维码高度",
128632
128842
  modelValue: layoutState.value.height,
128633
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => layoutState.value.height = $event),
128843
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => layoutState.value.height = $event),
128634
128844
  numberProps: {
128635
128845
  disabled: true,
128636
128846
  ...numberProps
@@ -128640,7 +128850,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
128640
128850
  };
128641
128851
  }
128642
128852
  });
128643
- const widgetQrcodeConfig = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-b937554f"]]);
128853
+ const widgetQrcodeConfig = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-7cd9b3b0"]]);
128644
128854
  const __vite_glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128645
128855
  __proto__: null,
128646
128856
  default: widgetQrcodeConfig
@@ -1,9 +1,11 @@
1
1
  import { FieldDependencyType } from '../../../../../domain/constants/enum';
2
2
  import { FieldDependencyOption } from './types';
3
3
  import { FieldMeta } from '../../../../../capabilities/model-field-runtime';
4
+ import { IdentifierGroupInterface } from '../../../../../types/formula.type';
4
5
  type __VLS_Props = {
5
6
  modalContext: any;
6
7
  fieldInfo: FieldMeta;
8
+ formulaFieldOptions?: IdentifierGroupInterface[];
7
9
  fieldIdentity: {
8
10
  icon: string;
9
11
  version: 'v1' | 'v2';
@@ -16,6 +18,7 @@ type __VLS_Props = {
16
18
  declare function onSave(): Promise<{
17
19
  type: FieldDependencyType;
18
20
  expression: string;
21
+ expressionStr: string;
19
22
  strategy: import('../../../../../domain/constants/enum').AssignmentStrategyType;
20
23
  value?: boolean | undefined;
21
24
  } | undefined>;
@@ -4,6 +4,8 @@ export type FieldDependencyOption = {
4
4
  type: FieldDependencyType;
5
5
  /** 前置条件|新值 */
6
6
  expression: string;
7
+ /** 回显可读值 */
8
+ expressionStr: string;
7
9
  /** 新值赋值策略 */
8
10
  strategy: AssignmentStrategyType;
9
11
  value?: boolean;
@@ -1,7 +1,9 @@
1
+ import { IdentifierGroupInterface } from '../../../../../types/formula.type';
1
2
  type __VLS_Props = {
2
3
  modelKey?: string;
3
4
  expr?: string;
4
5
  exprEcho?: string;
6
+ formulaFieldOptions?: IdentifierGroupInterface[];
5
7
  };
6
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
9
  "update:expr": (expr: string) => any;
@@ -0,0 +1,2 @@
1
+ import { FormulaModelInfo, IdentifierGroupInterface } from '../../../../../types/formula.type';
2
+ export declare const getFormulaFieldOptions: (infoList: FormulaModelInfo[]) => IdentifierGroupInterface[];
@@ -0,0 +1,140 @@
1
+ import { FIELD_TYPE } from '../domain/field/field-type';
2
+ import { FieldMeta } from '../capabilities/model-field-runtime';
3
+ /**
4
+ * 使用场景
5
+ */
6
+ export declare enum ExpressionModeEnum {
7
+ SEARCH = 0,// 搜索条件
8
+ FIELD_DISPLAY = 1,// 字段显示规则
9
+ EXPORT_TEMPLATE = 2,// 导出模版
10
+ DISPLAY_RULE = 3,// 显隐规则
11
+ PROCESS_TITLE = 4,// 流程标题
12
+ GATEWAY_RULE = 5,// 网关
13
+ CREATE_FIELD = 6,// 创建字段
14
+ PAAS_CREATE_FIELD = 7,// paas平台创建字段
15
+ ENTITY_FORMULA = 8,// 实体-公式字段
16
+ IPAAS_BACK = 9,// 用于 ipaas 后端计算用
17
+ LABEL_PRINT = 10,// 标签打印文本字段配置
18
+ NOCODE_BPMN_RULE = 11,// 无代码流程条件规则
19
+ PAAS_BPMN_RULE = 12,// 低代码审批流
20
+ ONLINE_FORM_FIELD_FORMULA = 13,// 电子表单字段公式
21
+ MEDPRO_BUSINESSFLOW = 14,//medpro 业务流
22
+ RUN_FORMULA = 15,//组件-公式计算字段字段
23
+ BI_FORMULA = 16,// BI公式字段函数
24
+ DATA_SET_FORMULA = 17,// 数据集公式字段函数
25
+ EDHR_LABEL_PRINT = 18
26
+ }
27
+ export type ModeTabMapInterface = {
28
+ [key in ExpressionModeEnum]: ExpressionTabEnum[];
29
+ };
30
+ export declare enum ExpressionTabEnum {
31
+ FUNCTION = "function",// 函数
32
+ FORM = "form",// 表单
33
+ FIELD = "field",// 字段
34
+ VARIABLE = "variable",// 变量
35
+ NODE = "node",// 节点
36
+ OPERATOR = "operator",// 运算符
37
+ PARAMS = "params"
38
+ }
39
+ export declare enum OperatorTypeEnum {
40
+ /**算术 */
41
+ ARITHMETIC = "arithmetic",
42
+ /**关系 */
43
+ RELATIONSHIP = "relationship",
44
+ /**逻辑 */
45
+ LOGIC = "logic",
46
+ /**其他 */
47
+ OTHER = "other"
48
+ }
49
+ export declare enum VarTypeEnum {
50
+ INNER_VAR = "INNER_VAR",
51
+ SYSTEM_VAR = "SYSTEM_VAR",
52
+ GLOBAL_VAR = "GLOBAL_VAR",
53
+ PAGE_VAR = "PAGE_VAR"
54
+ }
55
+ export interface IdentifierItemInterface {
56
+ id: string;
57
+ name: string;
58
+ desc?: string;
59
+ valueType?: FIELD_TYPE | string;
60
+ type?: FIELD_TYPE | string;
61
+ _id_?: string;
62
+ _name_?: string;
63
+ _type_?: ExpressionTabEnum;
64
+ _args_?: number;
65
+ }
66
+ export interface IdentifierGroupInterface {
67
+ id: string;
68
+ name: string;
69
+ _id_?: string;
70
+ _name_?: string;
71
+ idToChildren?: boolean;
72
+ children: IdentifierItemInterface[];
73
+ }
74
+ export type IdentifiersInterface = {
75
+ [key in ExpressionTabEnum]?: Array<IdentifierGroupInterface | IdentifierItemInterface>;
76
+ };
77
+ export declare enum ReturnTypeEnum {
78
+ String = "string",
79
+ Number = "number",
80
+ Boolen = "boolean"
81
+ }
82
+ export declare enum DataSetReturnTypeEnum {
83
+ String = "string",
84
+ Double = "number"
85
+ }
86
+ export declare enum EntityFormulaReturnTypeEnum {
87
+ Text = "text",
88
+ LongText = "long_text",
89
+ Int = "integer",
90
+ Long = "long",
91
+ Double = "decimal",
92
+ Boolen = "boolean"
93
+ }
94
+ interface CallbackOptions {
95
+ expr: string;
96
+ exprEcho: string;
97
+ exprName?: string;
98
+ returnType?: ReturnTypeEnum | EntityFormulaReturnTypeEnum;
99
+ modelKey?: string;
100
+ fieldProps?: {
101
+ /**小数位数 */
102
+ digits?: number;
103
+ /**布尔值真 */
104
+ trueText?: string;
105
+ /**布尔值假 */
106
+ falseText?: string;
107
+ };
108
+ }
109
+ export interface ExpressionInterface {
110
+ expr?: string;
111
+ exprEcho?: string;
112
+ exprName?: string;
113
+ returnType?: ReturnTypeEnum | EntityFormulaReturnTypeEnum | DataSetReturnTypeEnum;
114
+ disabledReturnType?: boolean;
115
+ modalTitle?: string;
116
+ mode: ExpressionModeEnum;
117
+ identifiers: IdentifiersInterface;
118
+ modelKey?: string;
119
+ fieldProps?: {
120
+ /**小数位数 */
121
+ digits?: number;
122
+ /**布尔值真 */
123
+ trueText?: string;
124
+ /**布尔值假 */
125
+ falseText?: string;
126
+ };
127
+ callback?: (expr: string, exprEcho?: string, options?: CallbackOptions) => void;
128
+ beforeClose?: (expr: string, exprEcho: string, returnType: string, formState: object) => Promise<boolean>;
129
+ }
130
+ export declare enum IdentifierAddon {
131
+ Prefix = "\u200B",
132
+ Suffix = "\u200B",
133
+ ZeroWidth = "\u200B"
134
+ }
135
+ export interface FormulaModelInfo {
136
+ modelKey: string;
137
+ modelName: string;
138
+ fieldList: FieldMeta[];
139
+ }
140
+ export {};
@@ -1,4 +1,4 @@
1
- export type TriggerName = 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | 'OPEN_FIELD_HYPERLINK_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_PARSE_RULE_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_ADD_MATERIAL_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_SCAN_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_BOM_MODAL';
1
+ export type TriggerName = 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | 'OPEN_FIELD_HYPERLINK_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_PARSE_RULE_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_ADD_MATERIAL_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_SCAN_MODAL' | 'OPEN_MATERIAL_CONSUME_TABLE_BOM_MODAL' | 'OPEN_FORMULA_EDITOR_MODAL';
2
2
  export type TriggerHandler = (name: TriggerName, options?: any) => Promise<any>;
3
3
  interface TriggerUtilHandlers {
4
4
  handle?: TriggerHandler;
package/dist/word.css CHANGED
@@ -10785,34 +10785,34 @@ svg.portrait-icon[data-v-8bdb451e] {
10785
10785
  .panel-data-init .data-source-area[data-v-4f691915] .data-source-item.is-last .data-source-title.is-child.is-last .line::after {
10786
10786
  display: none;
10787
10787
  }
10788
- .field-dependency-form .form-row[data-v-4f885495] {
10788
+ .field-dependency-form .form-row[data-v-497ff6b5] {
10789
10789
  display: flex;
10790
10790
  align-items: center;
10791
10791
  margin-bottom: 16px;
10792
10792
  gap: 12px;
10793
10793
  padding-right: 24px;
10794
10794
  }
10795
- .field-dependency-form .form-row.current-component[data-v-4f885495] {
10795
+ .field-dependency-form .form-row.current-component[data-v-497ff6b5] {
10796
10796
  align-items: flex-start;
10797
10797
  }
10798
- .field-dependency-form .form-row.current-component .control[data-v-4f885495] {
10798
+ .field-dependency-form .form-row.current-component .control[data-v-497ff6b5] {
10799
10799
  flex-direction: column;
10800
10800
  align-items: flex-start;
10801
10801
  }
10802
- .field-dependency-form .label[data-v-4f885495] {
10802
+ .field-dependency-form .label[data-v-497ff6b5] {
10803
10803
  width: 100px;
10804
10804
  text-align: right;
10805
10805
  line-height: 32px;
10806
10806
  color: rgba(0, 0, 0, 0.85);
10807
10807
  font-size: 13px;
10808
10808
  }
10809
- .field-dependency-form .label[data-v-4f885495]:after {
10809
+ .field-dependency-form .label[data-v-497ff6b5]:after {
10810
10810
  content: ':';
10811
10811
  margin: 0 2px 0 2px;
10812
10812
  position: relative;
10813
10813
  top: -0.5px;
10814
10814
  }
10815
- .field-dependency-form .label.required[data-v-4f885495]::before {
10815
+ .field-dependency-form .label.required[data-v-497ff6b5]::before {
10816
10816
  color: #ff4d4f;
10817
10817
  content: '*';
10818
10818
  display: inline-block;
@@ -10821,59 +10821,59 @@ svg.portrait-icon[data-v-8bdb451e] {
10821
10821
  line-height: 1;
10822
10822
  margin-right: 4px;
10823
10823
  }
10824
- .field-dependency-form .control[data-v-4f885495] {
10824
+ .field-dependency-form .control[data-v-497ff6b5] {
10825
10825
  flex: 1;
10826
10826
  display: flex;
10827
10827
  align-items: center;
10828
10828
  position: relative;
10829
10829
  }
10830
- .field-dependency-form .field-icon[data-v-4f885495] {
10830
+ .field-dependency-form .field-icon[data-v-497ff6b5] {
10831
10831
  display: flex;
10832
10832
  align-items: center;
10833
10833
  color: rgba(0, 0, 0, 0.85);
10834
10834
  font-size: 13px;
10835
10835
  line-height: 32px;
10836
10836
  }
10837
- .field-dependency-form .field-icon .icon[data-v-4f885495] {
10837
+ .field-dependency-form .field-icon .icon[data-v-497ff6b5] {
10838
10838
  margin-right: 8px;
10839
10839
  }
10840
- .field-dependency-form .message[data-v-4f885495] {
10840
+ .field-dependency-form .message[data-v-497ff6b5] {
10841
10841
  font-size: 12px;
10842
10842
  color: #c3c3c3;
10843
10843
  margin-top: 4px;
10844
10844
  }
10845
- .field-dependency-form .error[data-v-4f885495] {
10845
+ .field-dependency-form .error[data-v-497ff6b5] {
10846
10846
  color: #ff4d4f;
10847
10847
  font-size: 12px;
10848
10848
  line-height: 20px;
10849
10849
  margin-top: 4px;
10850
10850
  }
10851
- .field-dependency-form[data-v-4f885495] .field-dependency-breadcrumb-link.gct-breadcrumb {
10851
+ .field-dependency-form[data-v-497ff6b5] .field-dependency-breadcrumb-link.gct-breadcrumb {
10852
10852
  font-size: 13px;
10853
10853
  }
10854
- .field-dependency-form[data-v-4f885495] .field-dependency-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-separator {
10854
+ .field-dependency-form[data-v-497ff6b5] .field-dependency-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-separator {
10855
10855
  margin: 0 2px;
10856
10856
  }
10857
- .field-dependency-form[data-v-4f885495] .field-dependency-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-link {
10857
+ .field-dependency-form[data-v-497ff6b5] .field-dependency-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-link {
10858
10858
  color: rgba(0, 0, 0, 0.45);
10859
10859
  }
10860
- .field-dependency-form[data-v-4f885495] .field-dependency-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-item:last-child .gct-breadcrumb-link {
10860
+ .field-dependency-form[data-v-497ff6b5] .field-dependency-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-item:last-child .gct-breadcrumb-link {
10861
10861
  color: rgba(0, 0, 0, 0.85);
10862
10862
  }
10863
- .field-dependency-form[data-v-4f885495] .field-dependency-radio.gct-radio-group {
10863
+ .field-dependency-form[data-v-497ff6b5] .field-dependency-radio.gct-radio-group {
10864
10864
  gap: 24px;
10865
10865
  color: rgba(0, 0, 0, 0.85);
10866
10866
  }
10867
- .field-dependency-module[data-v-706ac3a8] {
10867
+ .field-dependency-module[data-v-a40f193b] {
10868
10868
  position: relative;
10869
10869
  padding: 16px;
10870
10870
  }
10871
- .field-dependency-module .field-dependency-message[data-v-706ac3a8] {
10871
+ .field-dependency-module .field-dependency-message[data-v-a40f193b] {
10872
10872
  font-size: 13px;
10873
10873
  color: #c3c3c3;
10874
10874
  margin-bottom: 8px;
10875
10875
  }
10876
- .field-dependency-module .field-dependency-button[data-v-706ac3a8] {
10876
+ .field-dependency-module .field-dependency-button[data-v-a40f193b] {
10877
10877
  height: 32px;
10878
10878
  border: 1px solid #026ac8;
10879
10879
  color: #026ac8;
@@ -10884,22 +10884,22 @@ svg.portrait-icon[data-v-8bdb451e] {
10884
10884
  cursor: pointer;
10885
10885
  box-sizing: border-box;
10886
10886
  }
10887
- .field-dependency-module .field-dependency-button[data-v-706ac3a8]:hover {
10887
+ .field-dependency-module .field-dependency-button[data-v-a40f193b]:hover {
10888
10888
  border-color: #026ac8;
10889
10889
  background-color: #026ac8;
10890
10890
  color: #fff;
10891
10891
  }
10892
- .field-dependency-module .field-dependency-list[data-v-706ac3a8] {
10892
+ .field-dependency-module .field-dependency-list[data-v-a40f193b] {
10893
10893
  position: relative;
10894
10894
  }
10895
- .field-dependency-module .field-dependency-list .field-dependency-item[data-v-706ac3a8] {
10895
+ .field-dependency-module .field-dependency-list .field-dependency-item[data-v-a40f193b] {
10896
10896
  padding: 4px;
10897
10897
  border-radius: 4px;
10898
10898
  background-color: #f2f4f7;
10899
10899
  position: relative;
10900
10900
  margin-top: 8px;
10901
10901
  }
10902
- .field-dependency-module .field-dependency-list .field-dependency-item .item-header[data-v-706ac3a8] {
10902
+ .field-dependency-module .field-dependency-list .field-dependency-item .item-header[data-v-a40f193b] {
10903
10903
  display: flex;
10904
10904
  justify-content: space-between;
10905
10905
  padding: 3px 6px;
@@ -10908,16 +10908,16 @@ svg.portrait-icon[data-v-8bdb451e] {
10908
10908
  color: #212528;
10909
10909
  align-items: center;
10910
10910
  }
10911
- .field-dependency-module .field-dependency-list .field-dependency-item .item-header .label[data-v-706ac3a8] {
10911
+ .field-dependency-module .field-dependency-list .field-dependency-item .item-header .label[data-v-a40f193b] {
10912
10912
  margin-left: 4px;
10913
10913
  color: #c3c3c3;
10914
10914
  }
10915
- .field-dependency-module .field-dependency-list .field-dependency-item .item-header .action[data-v-706ac3a8] {
10915
+ .field-dependency-module .field-dependency-list .field-dependency-item .item-header .action[data-v-a40f193b] {
10916
10916
  display: inline-flex;
10917
10917
  gap: 8px;
10918
10918
  cursor: pointer;
10919
10919
  }
10920
- .field-dependency-module .field-dependency-list .field-dependency-item .content[data-v-706ac3a8] {
10920
+ .field-dependency-module .field-dependency-list .field-dependency-item .content[data-v-a40f193b] {
10921
10921
  padding: 4px 6px;
10922
10922
  color: #797a7d;
10923
10923
  background-color: #fff;
@@ -11231,11 +11231,11 @@ svg.portrait-icon[data-v-8bdb451e] {
11231
11231
  .date-format-editor__row .date-format-editor__col[data-v-699c33c7] {
11232
11232
  flex: 1;
11233
11233
  }
11234
- .date-range-editor[data-v-0b57f192] {
11234
+ .date-range-editor[data-v-40876c24] {
11235
11235
  position: relative;
11236
11236
  height: auto;
11237
11237
  }
11238
- .content[data-v-0b57f192] {
11238
+ .content[data-v-40876c24] {
11239
11239
  width: 100%;
11240
11240
  display: flex;
11241
11241
  line-height: 22px;
@@ -11243,7 +11243,7 @@ svg.portrait-icon[data-v-8bdb451e] {
11243
11243
  align-items: center;
11244
11244
  justify-content: flex-end;
11245
11245
  }
11246
- .panel-field-datetime-config[data-v-d73257e8] {
11246
+ .panel-field-datetime-config[data-v-2afe3cf5] {
11247
11247
  padding: 16px;
11248
11248
  }
11249
11249
  .enum-option-item[data-v-ae49da84] {
@@ -11422,11 +11422,11 @@ svg.portrait-icon[data-v-8bdb451e] {
11422
11422
  .panel-field-file-style[data-v-7496328c] {
11423
11423
  padding: 16px;
11424
11424
  }
11425
- .number-range-editor[data-v-29ee1370] {
11425
+ .number-range-editor[data-v-279ead92] {
11426
11426
  position: relative;
11427
11427
  height: auto;
11428
11428
  }
11429
- .content[data-v-29ee1370] {
11429
+ .content[data-v-279ead92] {
11430
11430
  width: 100%;
11431
11431
  display: flex;
11432
11432
  line-height: 22px;
@@ -11434,7 +11434,7 @@ svg.portrait-icon[data-v-8bdb451e] {
11434
11434
  align-items: center;
11435
11435
  justify-content: flex-end;
11436
11436
  }
11437
- .panel-field-number-config[data-v-df163fdd] {
11437
+ .panel-field-number-config[data-v-657ce090] {
11438
11438
  padding: 16px;
11439
11439
  }
11440
11440
  .panel-field-org-config[data-v-cd71c6b3] {
@@ -11679,17 +11679,17 @@ svg.portrait-icon[data-v-8bdb451e] {
11679
11679
  .single-field-editor[data-v-7e5726cc] {
11680
11680
  padding: 4px;
11681
11681
  }
11682
- .content[data-v-4c652a08] {
11682
+ .content[data-v-42266d0d] {
11683
11683
  position: relative;
11684
11684
  height: auto;
11685
11685
  display: flex;
11686
11686
  flex-direction: column;
11687
11687
  gap: 8px;
11688
11688
  }
11689
- .panel-widget-barcode-config[data-v-dd6c8791] {
11689
+ .panel-widget-barcode-config[data-v-ad1f63a7] {
11690
11690
  padding: 16px;
11691
11691
  }
11692
- .panel-widget-barcode-config .content[data-v-dd6c8791] {
11692
+ .panel-widget-barcode-config .content[data-v-ad1f63a7] {
11693
11693
  width: 100%;
11694
11694
  display: flex;
11695
11695
  line-height: 22px;
@@ -11828,10 +11828,10 @@ svg.portrait-icon[data-v-8bdb451e] {
11828
11828
  .panel-widget-pagination-config .content .form-item.form-inline[data-v-c4734a12] {
11829
11829
  gap: 12px;
11830
11830
  }
11831
- .panel-widget-qrcode-config[data-v-b937554f] {
11831
+ .panel-widget-qrcode-config[data-v-7cd9b3b0] {
11832
11832
  padding: 16px;
11833
11833
  }
11834
- .panel-widget-qrcode-config .content[data-v-b937554f] {
11834
+ .panel-widget-qrcode-config .content[data-v-7cd9b3b0] {
11835
11835
  width: 100%;
11836
11836
  display: flex;
11837
11837
  line-height: 22px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.47-beta.8",
3
+ "version": "0.1.47-beta.9",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",