iop-bpmn-react 0.1.2 → 0.1.3

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.js CHANGED
@@ -64407,7 +64407,7 @@ function Fhe(e, t, n) {
64407
64407
  propertiesPanel: { parent: t },
64408
64408
  linting: {
64409
64409
  bpmnlint: Fpe,
64410
- active: n.linting
64410
+ active: !1
64411
64411
  },
64412
64412
  moddleExtensions: Wc,
64413
64413
  additionalModules: [
@@ -64437,7 +64437,13 @@ function Ihe({ xml: e, className: t, style: r, panelClassName: a, panelStyle: o,
64437
64437
  });
64438
64438
  return r.createDiagram().then(() => {
64439
64439
  if (e) return Mc(e, p).then((e) => r.importXML(e));
64440
- }).then(() => b.current?.(r)).catch((e) => y(e)), r;
64440
+ }).then(() => {
64441
+ if (h) try {
64442
+ let e = r.get("linting");
64443
+ e && !e.isActive() && e.toggle();
64444
+ } catch {}
64445
+ b.current?.(r);
64446
+ }).catch((e) => y(e)), r;
64441
64447
  }, [
64442
64448
  e,
64443
64449
  p,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/BpmnModeler/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAKnD,OAAO,uDAAuD,CAAA;AAC9D,OAAO,aAAa,CAAA;AA4BpB;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,SAAS,EACT,KAAK,EACL,cAAc,EACd,UAAU,EACV,MAAM,EACN,QAAQ,EACR,UAAkB,EAClB,OAAe,EACf,OAAe,EACf,MAAa,EACb,MAAM,GACP,EAAE,gBAAgB,+BA8GlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/BpmnModeler/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAKnD,OAAO,uDAAuD,CAAA;AAC9D,OAAO,aAAa,CAAA;AA8BpB;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,SAAS,EACT,KAAK,EACL,cAAc,EACd,UAAU,EACV,MAAM,EACN,QAAQ,EACR,UAAkB,EAClB,OAAe,EACf,OAAe,EACf,MAAa,EACb,MAAM,GACP,EAAE,gBAAgB,+BAyHlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iop-bpmn-react",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "基于 bpmn.js 封装的 React 组件库,提供 BpmnViewer 和 BpmnModeler,支持 Flowable 扩展属性、自动布局、规则校验",
6
6
  "keywords": ["bpmn", "bpmn-js", "react", "flowable", "workflow", "process", "modeler", "viewer"],