Skip to content

Commit

Permalink
Merge pull request #34 from netgrif/next
Browse files Browse the repository at this point in the history
Release 1.3.3
  • Loading branch information
tuplle authored Mar 1, 2022
2 parents 1e57583 + 1786d6b commit e40029c
Show file tree
Hide file tree
Showing 92 changed files with 362 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Release NPM package

on:
release:
types: [ created ]
types: [ published ]

jobs:
build:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.3](https://github.com/netgrif/petriflow.js/releases/tag/v1.3.2) (2022-03-01)

### Changed
- [PF-25] Action code new lines
- [PF-26] Readme update
- [PF-32] Predefined role ref

### Fixed
- [PF-24] Add support for compactDirection and hideEmptyRows tags
- [PF-31] Invalid XML characters


## [1.3.2](https://github.com/netgrif/petriflow.js/releases/tag/v1.3.2) (2022-01-26)

### Fixes
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# How to contribute to Petriflow.js

Petriflow.js is a Javascript library written in Typescript of Petriflow objects. The library is for those who want to integrate Petriflow
Petriflow.js is a JavaScript library written in Typescript of Petriflow objects. The library is for those who want to integrate Petriflow
processes in their applications.

The library is updated together with the Petriflow specification.

The library also contains functions to parse Petriflow source code from XML files to Javascript Objects and to export Javascript Objects to Petriflow source code.
The library also contains functions to parse Petriflow source code from XML files to JavaScript Objects and to export JavaScript Objects to Petriflow source code.

## Ways you can contribute

Expand All @@ -26,7 +26,7 @@ If you've found a bug in the Petriflow objects or in utility functions, let us k
* What you did (ideally with a code sample)
* What you expected to happen
* What actually happened, including any error messages or program output.
* Include the version of the library, Javascript engine (or browser) with its version and OS that you used.
* Include the version of the library, JavaScript engine (or browser) with its version and OS that you used.

### Fixing Bugs

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=netgrif_petriflow.js&metric=coverage)](https://sonarcloud.io/dashboard?id=netgrif_petriflow.js)
[![Known Vulnerabilities](https://snyk.io/test/github/netgrif/petriflow.js/badge.svg)](https://snyk.io/test/github/netgrif/petriflow.js)

> Petriflow in Javascript world
> Petriflow in JavaScript world
Petriflow.js is a Javascript library of Petriflow objects, written in Typescript. The library is for those who want to integrate Petriflow
Petriflow.js is a JavaScript library of Petriflow objects, written in TypeScript. The library is for those who want to integrate Petriflow
processes into their applications. The library is updated together with the Petriflow specification to ensure up-to-date compatibility.
The library also contains functions to parse Petriflow source code from XML files to Javascript objects and to export Javascript Objects to Petriflow source code.
The library also contains functions to parse Petriflow source code from XML files to JavaScript objects and to export JavaScript Objects to Petriflow source code.

Full specification of Petriflow low-code language can be found at [Petriflow.com](https://petriflow.com)

Expand Down Expand Up @@ -46,11 +46,11 @@ For applications supporting ES6+ modules you can use `import` statement, i.e.:
import {PetriNet, ImportService} from "@netgrif/petriflow";
```

The library is also published with type declaration and so your Typescript project will automatically recognize all types and enumerations.
The library is also published with type declaration and so your TypeScript project will automatically recognize all types and enumerations.

### Petriflow model

The library contains every object, constant, and structure to fully interpret Petriflow source code files in Javascript.
The library contains every object, constant, and structure to fully interpret Petriflow source code files in JavaScript.
The root object is a [PetriNet](https://github.com/netgrif/petriflow.js/blob/master/src/lib/model/petri-net.ts) which contains all information from the Petriflow process. Every object in the library has
`T.clone() => T` method to make a deep copy of the object.

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/Action.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/Arc.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/AssignedUser.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/Breakpoint.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/CaseEvent.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/CaseLogic.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/Component.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataEvent.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataEventSource.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataGroup.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataLayout.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataRef.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataRefLogic.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/DataRefLogicUtil.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html class="default no-js"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>DataRefLogicUtil | @netgrif/petriflow</title><meta name="description" content="Documentation for @netgrif/petriflow"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@netgrif/petriflow</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@netgrif/petriflow</a></li><li><a href="DataRefLogicUtil.html">DataRefLogicUtil</a></li></ul><h1>Class DataRefLogicUtil</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">DataRefLogicUtil</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="DataRefLogicUtil.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="DataRefLogicUtil.html#behaviors" class="tsd-kind-icon">behaviors</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a name="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Data<wbr/>Ref<wbr/>Logic<wbr/>Util<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DataRefLogicUtil.html" class="tsd-signature-type" data-tsd-kind="Class">DataRefLogicUtil</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"></aside><h4 class="tsd-returns-title">Returns <a href="DataRefLogicUtil.html" class="tsd-signature-type" data-tsd-kind="Class">DataRefLogicUtil</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static"><a name="behaviors" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> behaviors</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon">behaviors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/DataRefBehavior.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DataRefBehavior</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/netgrif/petriflow.js/blob/da01b69/src/lib/model/transition/data-ref-logic-util.ts#L8">model/transition/data-ref-logic-util.ts:8</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="../enums/DataRefBehavior.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DataRefBehavior</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="DataRefLogicUtil.html" class="tsd-kind-icon">Data<wbr/>Ref<wbr/>Logic<wbr/>Util</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="DataRefLogicUtil.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="DataRefLogicUtil.html#behaviors" class="tsd-kind-icon">behaviors</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
<!DOCTYPE html><html class="default no-js"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>DataRefLogicUtil | @netgrif/petriflow</title><meta name="description" content="Documentation for @netgrif/petriflow"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@netgrif/petriflow</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@netgrif/petriflow</a></li><li><a href="DataRefLogicUtil.html">DataRefLogicUtil</a></li></ul><h1>Class DataRefLogicUtil</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">DataRefLogicUtil</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="DataRefLogicUtil.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="DataRefLogicUtil.html#behaviors" class="tsd-kind-icon">behaviors</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a name="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Data<wbr/>Ref<wbr/>Logic<wbr/>Util<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DataRefLogicUtil.html" class="tsd-signature-type" data-tsd-kind="Class">DataRefLogicUtil</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"></aside><h4 class="tsd-returns-title">Returns <a href="DataRefLogicUtil.html" class="tsd-signature-type" data-tsd-kind="Class">DataRefLogicUtil</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static"><a name="behaviors" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> behaviors</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon">behaviors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/DataRefBehavior.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DataRefBehavior</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/netgrif/petriflow.js/blob/388a2da/src/lib/model/transition/data-ref-logic-util.ts#L8">model/transition/data-ref-logic-util.ts:8</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="../enums/DataRefBehavior.html" class="tsd-signature-type" data-tsd-kind="Enumeration">DataRefBehavior</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="DataRefLogicUtil.html" class="tsd-kind-icon">Data<wbr/>Ref<wbr/>Logic<wbr/>Util</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="DataRefLogicUtil.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="DataRefLogicUtil.html#behaviors" class="tsd-kind-icon">behaviors</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/classes/DataVariable.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/Event.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/EventSource.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/ExportService.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/ExportUtils.html

Large diffs are not rendered by default.

Loading

0 comments on commit e40029c

Please sign in to comment.