@operato/process 1.4.56 → 1.4.58

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/process",
3
- "version": "1.4.56",
3
+ "version": "1.4.58",
4
4
  "description": "Webcomponent for business process modeling following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "main": "dist/src/index.js",
@@ -69,7 +69,7 @@
69
69
  "dependencies": {
70
70
  "@open-wc/scoped-elements": "^2.1.3",
71
71
  "@operato/app": "^1.4.47",
72
- "@operato/board": "^1.4.56",
72
+ "@operato/board": "^1.4.58",
73
73
  "@operato/data-grist": "^1.4.39",
74
74
  "@operato/font": "^1.4.39",
75
75
  "@operato/graphql": "^1.4.20",
@@ -128,5 +128,5 @@
128
128
  "prettier --write"
129
129
  ]
130
130
  },
131
- "gitHead": "6efbdbb21c3d45712916c7eb6ed918b1d3f25e87"
131
+ "gitHead": "b6069419a85a7f6706d133b5f33c23aa3f51ae1a"
132
132
  }
@@ -30,6 +30,7 @@ export type Mapping = {
30
30
  property?: string
31
31
  param?: Rule
32
32
  ndnsp?: boolean
33
+ partial?: boolean
33
34
  }
34
35
 
35
36
  /**
@@ -305,6 +306,11 @@ export class DataBindingMapper extends LitElement {
305
306
  </ox-input-code>
306
307
  </div>
307
308
 
309
+ <div class="checkbox-row">
310
+ <input id="checkbox-partial" type="checkbox" value-key="partial" .checked=${mapping.partial === true} />
311
+ <label for="checkbox-partial"> <ox-i18n msgid="label.partial-spreading">Partial Spreading</ox-i18n> </label>
312
+ </div>
313
+
308
314
  <div class="checkbox-row">
309
315
  <input id="checkbox-ndnsp" type="checkbox" value-key="ndnsp" .checked=${mapping.ndnsp === true} />
310
316
  <label for="checkbox-ndnsp"> <ox-i18n msgid="label.ndnsp">No Data No Spreading</ox-i18n> </label>
@@ -435,6 +441,13 @@ export class DataBindingMapper extends LitElement {
435
441
  ...this.mapping,
436
442
  ndnsp: value
437
443
  }
444
+ } else if (key === 'partial' /* partial spreading */) {
445
+ value = element.checked
446
+
447
+ this.mapping = {
448
+ ...this.mapping,
449
+ partial: value
450
+ }
438
451
  }
439
452
 
440
453
  if (!this.mapping.rule) {
@@ -40,8 +40,6 @@ const PROPS = [
40
40
  'dimension',
41
41
  'location',
42
42
  'accessor',
43
- 'partial-data',
44
- 'partial-value',
45
43
  '(action)'
46
44
  ].map(prop => {
47
45
  return typeof prop == 'string' ? { name: prop, label: prop } : { name: prop[0], label: prop[1] }
@@ -146,6 +146,7 @@ export class PropertyEventHover extends LitElement {
146
146
  case 'value-set':
147
147
  case 'partial-data-set':
148
148
  case 'partial-value-set':
149
+ case 'data-spreading':
149
150
  let ids =
150
151
  (this.scene &&
151
152
  this.scene.ids.map(i => {