@reskin/bpmn 0.0.1
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/README.md +24 -0
- package/bpmn.scss +9 -0
- package/bundles/reskin-bpmn.umd.js +1177 -0
- package/bundles/reskin-bpmn.umd.js.map +1 -0
- package/esm2015/public-api.js +7 -0
- package/esm2015/reskin-bpmn.js +5 -0
- package/esm2015/src/bpmn-editor/bpmn-editor.component.js +225 -0
- package/esm2015/src/bpmn-viewer/bpmn-viewer.component.js +151 -0
- package/esm2015/src/bpmn.module.js +19 -0
- package/esm2015/src/config/customTranslate.js +12 -0
- package/esm2015/src/config/defaultXML.js +18 -0
- package/esm2015/src/config/translations.js +251 -0
- package/fesm2015/reskin-bpmn.js +667 -0
- package/fesm2015/reskin-bpmn.js.map +1 -0
- package/package.json +25 -0
- package/public-api.d.ts +6 -0
- package/reskin-bpmn.d.ts +5 -0
- package/src/bpmn-editor/bpmn-editor.component.d.ts +90 -0
- package/src/bpmn-viewer/bpmn-viewer.component.d.ts +46 -0
- package/src/bpmn.module.d.ts +9 -0
- package/src/config/customTranslate.d.ts +1 -0
- package/src/config/defaultXML.d.ts +8 -0
- package/src/config/translations.d.ts +249 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Bpmn
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project bpmn` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project bpmn`.
|
|
8
|
+
> Note: Don't forget to add `--project bpmn` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build bpmn` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build bpmn`, go to the dist folder `cd dist/bpmn` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test bpmn` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/bpmn.scss
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// 导入 bpmn-js 的样式
|
|
2
|
+
@import 'bpmn-js/dist/assets/diagram-js.css';
|
|
3
|
+
@import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css';
|
|
4
|
+
// 导入 bpmn-js-minimap 的样式
|
|
5
|
+
@import 'diagram-js-minimap/assets/diagram-js-minimap.css';
|
|
6
|
+
// 隐藏 bpmn-js-powered-by
|
|
7
|
+
a.bjs-powered-by {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|