@reskin/bpmn 0.0.5 → 0.0.6

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,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('bpmn-js/lib/Viewer'), require('diagram-js-minimap'), require('rxjs'), require('diagram-js/lib/navigation/zoomscroll'), require('diagram-js/lib/navigation/movecanvas'), require('bpmn-js/lib/features/modeling'), require('bpmn-js/lib/Modeler'), require('diagram-js-grid')) :
3
- typeof define === 'function' && define.amd ? define('@reskin/bpmn', ['exports', '@angular/core', '@angular/common', 'bpmn-js/lib/Viewer', 'diagram-js-minimap', 'rxjs', 'diagram-js/lib/navigation/zoomscroll', 'diagram-js/lib/navigation/movecanvas', 'bpmn-js/lib/features/modeling', 'bpmn-js/lib/Modeler', 'diagram-js-grid'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.reskin = global.reskin || {}, global.reskin.bpmn = {}), global.ng.core, global.ng.common, global["bpmn-js/lib/Viewer"], global["diagram-js-minimap"], global.rxjs, global["diagram-js/lib/navigation/zoomscroll"], global["diagram-js/lib/navigation/movecanvas"], global["bpmn-js/lib/features/modeling"], global["bpmn-js/lib/Modeler"], global["diagram-js-grid"]));
5
- })(this, (function (exports, i0, i1, Viewer, minimapModule, rxjs, ZoomScrollModule, MoveCanvasModule, ModelingModule, BpmnJS, gridModule) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('bpmn-js/lib/Viewer'), require('diagram-js-minimap'), require('rxjs'), require('diagram-js/lib/navigation/zoomscroll'), require('diagram-js/lib/navigation/movecanvas'), require('bpmn-js/lib/features/modeling'), require('bpmn-js/lib/Modeler'), require('diagram-js-grid'), require('@reskin/core/directives')) :
3
+ typeof define === 'function' && define.amd ? define('@reskin/bpmn', ['exports', '@angular/core', '@angular/common', 'bpmn-js/lib/Viewer', 'diagram-js-minimap', 'rxjs', 'diagram-js/lib/navigation/zoomscroll', 'diagram-js/lib/navigation/movecanvas', 'bpmn-js/lib/features/modeling', 'bpmn-js/lib/Modeler', 'diagram-js-grid', '@reskin/core/directives'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.reskin = global.reskin || {}, global.reskin.bpmn = {}), global.ng.core, global.ng.common, global["bpmn-js/lib/Viewer"], global["diagram-js-minimap"], global.rxjs, global["diagram-js/lib/navigation/zoomscroll"], global["diagram-js/lib/navigation/movecanvas"], global["bpmn-js/lib/features/modeling"], global["bpmn-js/lib/Modeler"], global["diagram-js-grid"], global["@reskin/core/directives"]));
5
+ })(this, (function (exports, i0, i2, Viewer, minimapModule, rxjs, ZoomScrollModule, MoveCanvasModule, ModelingModule, BpmnJS, gridModule, i1) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
29
  var Viewer__default = /*#__PURE__*/_interopDefaultLegacy(Viewer);
30
30
  var minimapModule__default = /*#__PURE__*/_interopDefaultLegacy(minimapModule);
31
31
  var ZoomScrollModule__default = /*#__PURE__*/_interopDefaultLegacy(ZoomScrollModule);
@@ -33,6 +33,7 @@
33
33
  var ModelingModule__default = /*#__PURE__*/_interopDefaultLegacy(ModelingModule);
34
34
  var BpmnJS__default = /*#__PURE__*/_interopDefaultLegacy(BpmnJS);
35
35
  var gridModule__default = /*#__PURE__*/_interopDefaultLegacy(gridModule);
36
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
36
37
 
37
38
  /**
38
39
  * 写英文对应的中文内容
@@ -353,6 +354,7 @@
353
354
  },
354
355
  ModelingModule__default["default"],
355
356
  ],
357
+ poweredBy: false, // 禁用powered-by
356
358
  });
357
359
  };
358
360
  /**
@@ -439,7 +441,7 @@
439
441
  return RkBpmnViewerComponent;
440
442
  }());
441
443
  RkBpmnViewerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnViewerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
442
- RkBpmnViewerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RkBpmnViewerComponent, selector: "rk-bpmn-viewer", inputs: { data: "data" }, outputs: { afterRenderChange: "afterRenderChange" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["ref"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"layout:col\">\r\n <div class=\"layout:header px-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u653E\u5927\" (click)=\"zoomIn()\">\r\n <i icon type=\"plus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u7F29\u5C0F\" (click)=\"zoomOut()\">\r\n <i icon type=\"minus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u91CD\u7F6E\u4F4D\u7F6E\" (click)=\"zoomReset()\">\r\n <i icon type=\"map-pin\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"layout:content\">\r\n <div #ref class=\"w-full h-full\"></div>\r\n </div>\r\n</div>\r\n", styles: [".layout\\:col{display:flex;flex-direction:column;height:100%;overflow:hidden}.layout\\:aside{width:20rem;background-color:#fff;border-right:1px solid #e5e7eb}.layout\\:row{display:flex;flex-direction:row;height:100%;overflow:hidden}.layout\\:header{height:3.5rem;display:flex;align-items:center;border-bottom:1px solid #e5e7eb;background-color:#fff}.layout\\:footer{height:3.5rem;display:flex;align-items:center;border-top:1px solid #e5e7eb;background-color:#fff}.layout\\:content{flex:1;overflow:hidden;background-color:#fff}.layout\\:content+.layout\\:aside{border:0;border-left:1px solid #e5e7eb}.px-4{padding-left:1rem;padding-right:1rem}.ml-4{margin-left:1rem}.w-full{width:100%}.h-full{height:100%}.btn{box-shadow:0 2px #00000004;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;height:32px;padding:4px 15px;font-size:14px;border-radius:2px;color:#000000d9;border:1px solid #d9d9d9;background:#fff}.btn.icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center}.btn:hover{color:#40a9ff;border-color:#40a9ff;z-index:1}.btn-group{display:flex}.btn-group .btn{margin-left:-1px;margin-right:-1px;border-radius:0}.btn-group .btn:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.btn-group .btn:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px}i[icon]{display:block;width:18px;height:18px}i[type=folder-open]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-folder-open\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2\" /></svg>')}i[type=reset]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-zoom-reset\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M21 21l-6 -6\" /><path d=\"M3.268 12.043a7.017 7.017 0 0 0 6.634 4.957a7.012 7.012 0 0 0 7.043 -6.131a7 7 0 0 0 -5.314 -7.672a7.021 7.021 0 0 0 -8.241 4.403\" /><path d=\"M3 4v4h4\" /></svg>')}i[type=plus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-plus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0\" /><path d=\"M9 12h6\" /><path d=\"M12 9v6\" /></svg>')}i[type=minus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-minus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" /><path d=\"M9 12l6 0\" /></svg>')}i[type=map-pin]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-map-pin\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0\" /><path d=\"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z\" /></svg>')}i[type=down-svg]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-type-svg\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4\" /><path d=\"M4 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75\" /><path d=\"M10 15l2 6l2 -6\" /><path d=\"M20 15h-1a2 2 0 0 0 -2 2v2a2 2 0 0 0 2 2h1v-3\" /></svg>')}i[type=down-file]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-download\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z\" /><path d=\"M12 17v-6\" /><path d=\"M9.5 14.5l2.5 2.5l2.5 -2.5\" /></svg>')}\n", ""] });
444
+ RkBpmnViewerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RkBpmnViewerComponent, selector: "rk-bpmn-viewer", inputs: { data: "data" }, outputs: { afterRenderChange: "afterRenderChange" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["ref"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"layout:col\">\r\n <div class=\"layout:header px-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u653E\u5927\" (click)=\"zoomIn()\">\r\n <i icon type=\"plus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u7F29\u5C0F\" (click)=\"zoomOut()\">\r\n <i icon type=\"minus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u91CD\u7F6E\u4F4D\u7F6E\" (click)=\"zoomReset()\">\r\n <i icon type=\"map-pin\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"layout:content\">\r\n <div #ref class=\"w-full h-full\"></div>\r\n </div>\r\n</div>\r\n", styles: [".layout\\:col{display:flex;flex-direction:column;height:100%;overflow:hidden}.layout\\:aside{width:20rem;background-color:#fff;border-right:1px solid #e5e7eb}.layout\\:row{display:flex;flex-direction:row;height:100%;overflow:hidden}.layout\\:header{height:3.5rem;display:flex;align-items:center;border-bottom:1px solid #e5e7eb;background-color:#fff}.layout\\:footer{height:3.5rem;display:flex;align-items:center;border-top:1px solid #e5e7eb;background-color:#fff}.layout\\:content{flex:1;overflow:hidden;background-color:#fff}.layout\\:content+.layout\\:aside{border:0;border-left:1px solid #e5e7eb}.px-4{padding-left:1rem;padding-right:1rem}.ml-4{margin-left:1rem}.w-full{width:100%}.h-full{height:100%}.btn{box-shadow:0 2px #00000004;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;height:32px;padding:4px 15px;font-size:14px;border-radius:2px;color:#000000d9;border:1px solid #d9d9d9;background:#fff}.btn.icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center}.btn:hover{color:#40a9ff;border-color:#40a9ff;z-index:1}.btn-group{display:flex}.btn-group .btn{margin-left:-1px;margin-right:-1px;border-radius:0}.btn-group .btn:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.btn-group .btn:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px}i[icon]{display:block;width:18px;height:18px}i[type=folder-open]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-folder-open\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2\" /></svg>')}i[type=reset]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-zoom-reset\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M21 21l-6 -6\" /><path d=\"M3.268 12.043a7.017 7.017 0 0 0 6.634 4.957a7.012 7.012 0 0 0 7.043 -6.131a7 7 0 0 0 -5.314 -7.672a7.021 7.021 0 0 0 -8.241 4.403\" /><path d=\"M3 4v4h4\" /></svg>')}i[type=plus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-plus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0\" /><path d=\"M9 12h6\" /><path d=\"M12 9v6\" /></svg>')}i[type=minus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-minus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" /><path d=\"M9 12l6 0\" /></svg>')}i[type=map-pin]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-map-pin\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0\" /><path d=\"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z\" /></svg>')}i[type=down-svg]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-type-svg\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4\" /><path d=\"M4 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75\" /><path d=\"M10 15l2 6l2 -6\" /><path d=\"M20 15h-1a2 2 0 0 0 -2 2v2a2 2 0 0 0 2 2h1v-3\" /></svg>')}i[type=down-file]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-download\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z\" /><path d=\"M12 17v-6\" /><path d=\"M9.5 14.5l2.5 2.5l2.5 -2.5\" /></svg>')}\n", ":host ::ng-deep a.bjs-powered-by{display:none!important}\n"] });
443
445
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnViewerComponent, decorators: [{
444
446
  type: i0.Component,
445
447
  args: [{
@@ -939,6 +941,11 @@
939
941
  * 选中元素变化时触发
940
942
  */
941
943
  this.selectionChange = new i0.EventEmitter();
944
+ this.loadStyles = [
945
+ 'assets/bpmn-js/diagram-js.css',
946
+ 'assets/bpmn-js/bpmn-font/css/bpmn.css',
947
+ 'assets/diagram-js-minimap/diagram-js-minimap.css',
948
+ ];
942
949
  this.scale = 1;
943
950
  }
944
951
  RkBpmnEditorComponent.prototype.ngOnInit = function () { };
@@ -981,6 +988,7 @@
981
988
  propertiesPanel: {
982
989
  parent: (_b = this.properties) === null || _b === void 0 ? void 0 : _b.nativeElement,
983
990
  },
991
+ poweredBy: false, // 禁用powered-by
984
992
  });
985
993
  };
986
994
  /**
@@ -1152,7 +1160,7 @@
1152
1160
  return RkBpmnEditorComponent;
1153
1161
  }());
1154
1162
  RkBpmnEditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnEditorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1155
- RkBpmnEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RkBpmnEditorComponent, selector: "rk-bpmn-editor", inputs: { data: "data", propertiesTemplate: "propertiesTemplate" }, outputs: { selectionChange: "selectionChange" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["ref"], descendants: true }, { propertyName: "properties", first: true, predicate: ["properties"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"layout:col\">\r\n <div class=\"layout:header px-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u5BFC\u5165\u6A21\u578B .bpmn\" (click)=\"fileRef.click()\">\r\n <input #fileRef type=\"file\" style=\"display: none\" accept=\".bpmn\" (change)=\"importModelXML($event)\" />\r\n <i icon type=\"folder-open\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u91CD\u7F6E\u753B\u677F\" (click)=\"resetDrawingBoard().subscribe()\">\r\n <i icon type=\"reset\"></i>\r\n </button>\r\n </div>\r\n\r\n <div class=\"ml-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u653E\u5927\" (click)=\"zoomIn()\">\r\n <i icon type=\"plus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u7F29\u5C0F\" (click)=\"zoomOut()\">\r\n <i icon type=\"minus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u91CD\u7F6E\u4F4D\u7F6E\" (click)=\"zoomReset()\">\r\n <i icon type=\"map-pin\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"ml-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u4E0B\u8F7D\u4E3A.bpmn\u683C\u5F0F\" (click)=\"downloadBPMN()\">\r\n <i icon type=\"down-file\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u4E0B\u8F7D\u4E3A.svg\u683C\u5F0F\" (click)=\"downloadSVG()\">\r\n <i icon type=\"down-svg\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"layout:content layout:row\">\r\n <div class=\"layout:content\">\r\n <div #ref class=\"w-full h-full\"></div>\r\n </div>\r\n <div class=\"layout:aside\" *ngIf=\"propertiesTemplate\">\r\n <ng-template [ngTemplateOutlet]=\"propertiesTemplate\"></ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".layout\\:col{display:flex;flex-direction:column;height:100%;overflow:hidden}.layout\\:aside{width:20rem;background-color:#fff;border-right:1px solid #e5e7eb}.layout\\:row{display:flex;flex-direction:row;height:100%;overflow:hidden}.layout\\:header{height:3.5rem;display:flex;align-items:center;border-bottom:1px solid #e5e7eb;background-color:#fff}.layout\\:footer{height:3.5rem;display:flex;align-items:center;border-top:1px solid #e5e7eb;background-color:#fff}.layout\\:content{flex:1;overflow:hidden;background-color:#fff}.layout\\:content+.layout\\:aside{border:0;border-left:1px solid #e5e7eb}.px-4{padding-left:1rem;padding-right:1rem}.ml-4{margin-left:1rem}.w-full{width:100%}.h-full{height:100%}.btn{box-shadow:0 2px #00000004;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;height:32px;padding:4px 15px;font-size:14px;border-radius:2px;color:#000000d9;border:1px solid #d9d9d9;background:#fff}.btn.icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center}.btn:hover{color:#40a9ff;border-color:#40a9ff;z-index:1}.btn-group{display:flex}.btn-group .btn{margin-left:-1px;margin-right:-1px;border-radius:0}.btn-group .btn:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.btn-group .btn:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px}i[icon]{display:block;width:18px;height:18px}i[type=folder-open]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-folder-open\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2\" /></svg>')}i[type=reset]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-zoom-reset\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M21 21l-6 -6\" /><path d=\"M3.268 12.043a7.017 7.017 0 0 0 6.634 4.957a7.012 7.012 0 0 0 7.043 -6.131a7 7 0 0 0 -5.314 -7.672a7.021 7.021 0 0 0 -8.241 4.403\" /><path d=\"M3 4v4h4\" /></svg>')}i[type=plus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-plus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0\" /><path d=\"M9 12h6\" /><path d=\"M12 9v6\" /></svg>')}i[type=minus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-minus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" /><path d=\"M9 12l6 0\" /></svg>')}i[type=map-pin]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-map-pin\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0\" /><path d=\"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z\" /></svg>')}i[type=down-svg]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-type-svg\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4\" /><path d=\"M4 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75\" /><path d=\"M10 15l2 6l2 -6\" /><path d=\"M20 15h-1a2 2 0 0 0 -2 2v2a2 2 0 0 0 2 2h1v-3\" /></svg>')}i[type=down-file]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-download\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z\" /><path d=\"M12 17v-6\" /><path d=\"M9.5 14.5l2.5 2.5l2.5 -2.5\" /></svg>')}\n", ""], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1163
+ RkBpmnEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RkBpmnEditorComponent, selector: "rk-bpmn-editor", inputs: { data: "data", propertiesTemplate: "propertiesTemplate" }, outputs: { selectionChange: "selectionChange" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["ref"], descendants: true }, { propertyName: "properties", first: true, predicate: ["properties"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"layout:col\">\r\n <div class=\"layout:header px-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u5BFC\u5165\u6A21\u578B .bpmn\" (click)=\"fileRef.click()\">\r\n <input #fileRef type=\"file\" style=\"display: none\" accept=\".bpmn\" (change)=\"importModelXML($event)\" />\r\n <i icon type=\"folder-open\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u91CD\u7F6E\u753B\u677F\" (click)=\"resetDrawingBoard().subscribe()\">\r\n <i icon type=\"reset\"></i>\r\n </button>\r\n </div>\r\n\r\n <div class=\"ml-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u653E\u5927\" (click)=\"zoomIn()\">\r\n <i icon type=\"plus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u7F29\u5C0F\" (click)=\"zoomOut()\">\r\n <i icon type=\"minus-circle\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u91CD\u7F6E\u4F4D\u7F6E\" (click)=\"zoomReset()\">\r\n <i icon type=\"map-pin\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"ml-4\">\r\n <div class=\"btn-group\">\r\n <button class=\"btn icon\" title=\"\u4E0B\u8F7D\u4E3A.bpmn\u683C\u5F0F\" (click)=\"downloadBPMN()\">\r\n <i icon type=\"down-file\"></i>\r\n </button>\r\n <button class=\"btn icon\" title=\"\u4E0B\u8F7D\u4E3A.svg\u683C\u5F0F\" (click)=\"downloadSVG()\">\r\n <i icon type=\"down-svg\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"layout:content layout:row\">\r\n <div class=\"layout:content\">\r\n <ng-container [rkLoadStyles]=\"loadStyles\">\r\n <div #ref class=\"w-full h-full\"></div>\r\n </ng-container>\r\n </div>\r\n <div class=\"layout:aside\" *ngIf=\"propertiesTemplate\">\r\n <ng-template [ngTemplateOutlet]=\"propertiesTemplate\"></ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".layout\\:col{display:flex;flex-direction:column;height:100%;overflow:hidden}.layout\\:aside{width:20rem;background-color:#fff;border-right:1px solid #e5e7eb}.layout\\:row{display:flex;flex-direction:row;height:100%;overflow:hidden}.layout\\:header{height:3.5rem;display:flex;align-items:center;border-bottom:1px solid #e5e7eb;background-color:#fff}.layout\\:footer{height:3.5rem;display:flex;align-items:center;border-top:1px solid #e5e7eb;background-color:#fff}.layout\\:content{flex:1;overflow:hidden;background-color:#fff}.layout\\:content+.layout\\:aside{border:0;border-left:1px solid #e5e7eb}.px-4{padding-left:1rem;padding-right:1rem}.ml-4{margin-left:1rem}.w-full{width:100%}.h-full{height:100%}.btn{box-shadow:0 2px #00000004;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;height:32px;padding:4px 15px;font-size:14px;border-radius:2px;color:#000000d9;border:1px solid #d9d9d9;background:#fff}.btn.icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center}.btn:hover{color:#40a9ff;border-color:#40a9ff;z-index:1}.btn-group{display:flex}.btn-group .btn{margin-left:-1px;margin-right:-1px;border-radius:0}.btn-group .btn:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.btn-group .btn:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px}i[icon]{display:block;width:18px;height:18px}i[type=folder-open]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-folder-open\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2\" /></svg>')}i[type=reset]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-zoom-reset\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M21 21l-6 -6\" /><path d=\"M3.268 12.043a7.017 7.017 0 0 0 6.634 4.957a7.012 7.012 0 0 0 7.043 -6.131a7 7 0 0 0 -5.314 -7.672a7.021 7.021 0 0 0 -8.241 4.403\" /><path d=\"M3 4v4h4\" /></svg>')}i[type=plus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-plus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0\" /><path d=\"M9 12h6\" /><path d=\"M12 9v6\" /></svg>')}i[type=minus-circle]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-circle-minus\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" /><path d=\"M9 12l6 0\" /></svg>')}i[type=map-pin]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-map-pin\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0\" /><path d=\"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z\" /></svg>')}i[type=down-svg]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-type-svg\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4\" /><path d=\"M4 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75\" /><path d=\"M10 15l2 6l2 -6\" /><path d=\"M20 15h-1a2 2 0 0 0 -2 2v2a2 2 0 0 0 2 2h1v-3\" /></svg>')}i[type=down-file]:before{content:url('data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"icon icon-tabler icons-tabler-outline icon-tabler-file-download\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M14 3v4a1 1 0 0 0 1 1h4\" /><path d=\"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z\" /><path d=\"M12 17v-6\" /><path d=\"M9.5 14.5l2.5 2.5l2.5 -2.5\" /></svg>')}\n", ":host ::ng-deep a.bjs-powered-by{display:none!important}\n"], directives: [{ type: i1__namespace.RkLoadStylesDirective, selector: "[rkLoadStyles]", inputs: ["rkLoadStyles"], outputs: ["stylesLoaded"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1156
1164
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnEditorComponent, decorators: [{
1157
1165
  type: i0.Component,
1158
1166
  args: [{
@@ -1180,13 +1188,13 @@
1180
1188
  return RkBpmnModule;
1181
1189
  }());
1182
1190
  RkBpmnModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1183
- RkBpmnModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnModule, declarations: [RkBpmnViewerComponent, RkBpmnEditorComponent], imports: [i1.CommonModule], exports: [RkBpmnViewerComponent, RkBpmnEditorComponent] });
1184
- RkBpmnModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnModule, imports: [[i1.CommonModule]] });
1191
+ RkBpmnModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnModule, declarations: [RkBpmnViewerComponent, RkBpmnEditorComponent], imports: [i2.CommonModule, i1.RkDirectivesModule], exports: [RkBpmnViewerComponent, RkBpmnEditorComponent] });
1192
+ RkBpmnModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnModule, imports: [[i2.CommonModule, i1.RkDirectivesModule]] });
1185
1193
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RkBpmnModule, decorators: [{
1186
1194
  type: i0.NgModule,
1187
1195
  args: [{
1188
1196
  declarations: [RkBpmnViewerComponent, RkBpmnEditorComponent],
1189
- imports: [i1.CommonModule],
1197
+ imports: [i2.CommonModule, i1.RkDirectivesModule],
1190
1198
  exports: [RkBpmnViewerComponent, RkBpmnEditorComponent],
1191
1199
  }]
1192
1200
  }] });