ddy-process-pc-vue3 1.0.1-rc.3.73 → 1.0.1-rc.3.93

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.
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent as be, openBlock as w, createElementBlock as P, createElementVNode as B, Fragment as Ce, toDisplayString as de, createCommentVNode as ee, createVNode as U, mergeProps as ct, renderList as Qe, withCtx as q, createBlock as oe, withModifiers as Ve, renderSlot as se, createTextVNode as Ue, normalizeClass as N, normalizeStyle as Ne, resolveDirective as Mr, withDirectives as Xe, defineComponent as Z, warn as tT, isVNode as no, Comment as Nh, computed as k, getCurrentInstance as st, watch as ve, unref as s, onMounted as it, watchEffect as In, onBeforeUnmount as Wt, isRef as Go, ref as V, inject as Le, onScopeDispose as oT, shallowRef as Vt, onUnmounted as fa, h as Be, Teleport as Ti, onBeforeMount as Ah, nextTick as De, provide as yt, useSlots as Oo, Transition as go, resolveDynamicComponent as dt, vShow as It, toRef as Yt, reactive as Pt, toRefs as ko, onUpdated as ha, TransitionGroup as p_, useAttrs as ma, cloneVNode as nT, Text as f_, readonly as h_, onDeactivated as rT, withKeys as St, createSlots as mr, normalizeProps as En, toRaw as ra, vModelCheckbox as Tu, vModelRadio as m_, onBeforeUpdate as lT, vModelText as Mh, toHandlers as aT, guardReactiveProps as dd, markRaw as Qi, effectScope as iT, triggerRef as Di, createApp as sT, shallowReactive as cT, render as ei } from "vue";
2
2
  import { departPerson as uT } from "checked-pick-pc";
3
- const dT = "ddy-process-pc-vue3", pT = "1.0.1-rc.3.73", fT = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", hT = "./ddy-process-pc-vue3.umd.cjs", mT = "./style.css", gT = "module", vT = {
3
+ const dT = "ddy-process-pc-vue3", pT = "1.0.1-rc.3.93", fT = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", hT = "./ddy-process-pc-vue3.umd.cjs", mT = "./style.css", gT = "module", vT = {
4
4
  ".": {
5
5
  import: "./ddy-process-pc-vue3.js",
6
6
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -53303,6 +53303,10 @@ const Ule = {
53303
53303
  bpmnNodeDetail: Wle
53304
53304
  },
53305
53305
  props: {
53306
+ preview: {
53307
+ type: Boolean,
53308
+ default: !1
53309
+ },
53306
53310
  diagram: {
53307
53311
  type: String,
53308
53312
  default: "",
@@ -53375,7 +53379,7 @@ const Ule = {
53375
53379
  this.drawer, this.drawer = !1;
53376
53380
  },
53377
53381
  canvasResize() {
53378
- this.viewer && this.viewer.get("canvas").zoom(1, "auto");
53382
+ this.viewer && this.viewer.get("canvas").zoom("fit-viewport", "auto");
53379
53383
  },
53380
53384
  setNodeColor(e) {
53381
53385
  const t = this.viewer.get("canvas"), o = this.viewer.get("elementRegistry"), n = this.viewer.get("tooltips");
@@ -53420,16 +53424,16 @@ function qle(e, t, o, n, r, l) {
53420
53424
  const a = be("bpmnNodeDetail");
53421
53425
  return w(), P("div", {
53422
53426
  ref: "container",
53423
- class: "bpmn-look",
53427
+ class: N(["bpmn-look", o.preview ? "bpmn-look-preview" : ""]),
53424
53428
  onWheel: t[0] || (t[0] = (...i) => l.handleWheel && l.handleWheel(...i))
53425
53429
  }, [
53426
53430
  U(a, {
53427
53431
  ref: "bpmnNodeDetailRef",
53428
53432
  onClose: l.closeDetail
53429
53433
  }, null, 8, ["onClose"])
53430
- ], 544);
53434
+ ], 34);
53431
53435
  }
53432
- const ZE = /* @__PURE__ */ co(Ule, [["render", qle], ["__scopeId", "data-v-829b71d0"]]);
53436
+ const ZE = /* @__PURE__ */ co(Ule, [["render", qle], ["__scopeId", "data-v-6fc47a14"]]);
53433
53437
  const Yle = {
53434
53438
  components: {
53435
53439
  processBtns: fee,
@@ -54599,7 +54603,7 @@ function nae(e, t, o, n, r, l) {
54599
54603
  [C, r.boxLoading && !o.isButton]
54600
54604
  ]);
54601
54605
  }
54602
- const rae = /* @__PURE__ */ co(Yle, [["render", nae], ["__scopeId", "data-v-d33defd4"]]), lae = async (e, t) => {
54606
+ const rae = /* @__PURE__ */ co(Yle, [["render", nae], ["__scopeId", "data-v-e65524d5"]]), lae = async (e, t) => {
54603
54607
  const o = t || {}, n = o.dragElement || (o.targetClassName ? eT(e, o.targetClassName) : e.querySelector(".el-dialog"));
54604
54608
  let r;
54605
54609
  new IntersectionObserver((_) => {
@@ -55323,6 +55327,7 @@ function _ae(e, t, o, n, r, l) {
55323
55327
  r.flowChartVisible && r.processXml ? (w(), oe(g, {
55324
55328
  key: 0,
55325
55329
  ref: "PreviewRef",
55330
+ preview: !0,
55326
55331
  diagram: r.processXml
55327
55332
  }, null, 8, ["diagram"])) : ee("", !0)
55328
55333
  ]),
@@ -55379,7 +55384,7 @@ function _ae(e, t, o, n, r, l) {
55379
55384
  }, 8, ["visible", "onClose"])
55380
55385
  ]);
55381
55386
  }
55382
- const Oae = /* @__PURE__ */ co(pae, [["render", _ae], ["__scopeId", "data-v-f0e40311"]]);
55387
+ const Oae = /* @__PURE__ */ co(pae, [["render", _ae], ["__scopeId", "data-v-6553262b"]]);
55383
55388
  var wae = null;
55384
55389
  Promise.resolve().then(() => nr).then(({ ElMessage: e }) => {
55385
55390
  e = e;