ddy-process-pc-vue3 1.0.1-rc.2.65 → 1.0.1-rc.2.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddy-process-pc-vue3",
3
- "version": "1.0.1-rc.2.65",
3
+ "version": "1.0.1-rc.2.67",
4
4
  "description": "> pc端流程组件",
5
5
  "main": "./ddy-process-pc-vue3.umd.cjs",
6
6
  "style": "./style.css",
@@ -16,7 +16,7 @@ function iR(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.2.65", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
19
+ const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.2.67", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -4826,8 +4826,19 @@ const FL = {
4826
4826
  prop: "modelValue",
4827
4827
  event: "update:modelValue"
4828
4828
  },
4829
+ watch: {
4830
+ processNodeObj: {
4831
+ handler(e, i) {
4832
+ e && (e.loopCardinality, this.entity = {
4833
+ ...this.entity,
4834
+ maxMultiple: e.loopCardinality == -1 ? 1e3 : this.max > 1 ? this.max : 1
4835
+ });
4836
+ },
4837
+ deep: !0
4838
+ }
4839
+ },
4829
4840
  mounted() {
4830
- this.personEntity != "" && (this.entity = {
4841
+ this.personEntity != "" && Object.keys(this.personEntity).length > 1 && (this.entity = {
4831
4842
  ...this.entity,
4832
4843
  ...this.personEntity
4833
4844
  }), this.processNodeObj && this.processNodeObj.participantList && this.processNodeObj.participantList.length > 0 && (this.processNodeObj.participantList.map((e) => {
@@ -4984,7 +4995,7 @@ var PL = /* @__PURE__ */ Di(
4984
4995
  ML,
4985
4996
  !1,
4986
4997
  RL,
4987
- "2208532b",
4998
+ "3efb7a24",
4988
4999
  null,
4989
5000
  null
4990
5001
  );