@operato/process 2.0.0-beta.1 → 2.0.0-beta.13

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": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.13",
4
4
  "description": "Webcomponent for business process modeling following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "main": "dist/src/index.js",
@@ -68,18 +68,18 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@open-wc/scoped-elements": "^2.1.3",
71
- "@operato/app": "^2.0.0-beta.1",
72
- "@operato/board": "^2.0.0-beta.1",
73
- "@operato/data-grist": "^2.0.0-beta.1",
74
- "@operato/font": "^2.0.0-beta.1",
75
- "@operato/graphql": "^2.0.0-beta.0",
76
- "@operato/i18n": "^2.0.0-beta.0",
77
- "@operato/input": "^2.0.0-beta.1",
78
- "@operato/markdown": "^2.0.0-beta.0",
79
- "@operato/popup": "^2.0.0-beta.0",
80
- "@operato/property-editor": "^2.0.0-beta.1",
81
- "@operato/styles": "^2.0.0-beta.0",
82
- "@operato/utils": "^2.0.0-beta.0",
71
+ "@operato/app": "^2.0.0-beta.13",
72
+ "@operato/board": "^2.0.0-beta.13",
73
+ "@operato/data-grist": "^2.0.0-beta.13",
74
+ "@operato/font": "^2.0.0-beta.13",
75
+ "@operato/graphql": "^2.0.0-beta.13",
76
+ "@operato/i18n": "^2.0.0-beta.3",
77
+ "@operato/input": "^2.0.0-beta.13",
78
+ "@operato/markdown": "^2.0.0-beta.13",
79
+ "@operato/popup": "^2.0.0-beta.13",
80
+ "@operato/property-editor": "^2.0.0-beta.13",
81
+ "@operato/styles": "^2.0.0-beta.13",
82
+ "@operato/utils": "^2.0.0-beta.13",
83
83
  "@polymer/paper-dropdown-menu": "^3.2.0",
84
84
  "@types/file-saver": "^2.0.4",
85
85
  "@types/sortablejs": "^1.10.7",
@@ -128,5 +128,5 @@
128
128
  "prettier --write"
129
129
  ]
130
130
  },
131
- "gitHead": "9ea81d43b1a5b47e2e40320baf6f8729552edc05"
131
+ "gitHead": "719dcda3f81008118bc3593658f3e68570dd8866"
132
132
  }
@@ -69,6 +69,10 @@ export class PropertySidebar extends ScopedElementsMixin(LitElement) {
69
69
  [content] > :not([active]) {
70
70
  display: none;
71
71
  }
72
+
73
+ [hidden] {
74
+ display: none !important;
75
+ }
72
76
  `
73
77
  ]
74
78
 
@@ -82,6 +86,13 @@ export class PropertySidebar extends ScopedElementsMixin(LitElement) {
82
86
  @property({ type: Array }) fonts: any[] = []
83
87
  @property({ type: Array }) propertyEditor: any[] = []
84
88
 
89
+ @property({ type: Boolean, attribute: 'hide-data-binding' }) hideDataBinding: boolean = false
90
+ @property({ type: Boolean, attribute: 'hide-effect' }) hideEffect: boolean = false
91
+ @property({ type: Boolean, attribute: 'hide-inspector' }) hideInspector: boolean = false
92
+ @property({ type: Boolean, attribute: 'hide-shape' }) hideShape: boolean = false
93
+ @property({ type: Boolean, attribute: 'hide-style' }) hideStyle: boolean = false
94
+ @property({ type: Boolean, attribute: 'hide-specific' }) hideSpecific: boolean = false
95
+
85
96
  propertyTarget: Component | null = null
86
97
 
87
98
  firstUpdated() {
@@ -116,12 +127,14 @@ export class PropertySidebar extends ScopedElementsMixin(LitElement) {
116
127
  this.tabName = (e.target as HTMLElement).getAttribute('name')
117
128
  }}
118
129
  >
119
- <md-icon name="specific" ?selected=${tabName == 'specific'}>tune</md-icon>
120
- <md-icon name="shape" ?selected=${tabName == 'shape'}>format_shapes</md-icon>
121
- <md-icon name="style" ?selected=${tabName == 'style'}>palette</md-icon>
122
- <md-icon name="effect" ?selected=${tabName == 'effect'}>movie_filter</md-icon>
123
- <md-icon name="data-binding" ?selected=${tabName == 'data-binding'}>share</md-icon>
124
- <md-icon name="inspector" ?selected=${tabName == 'inspector'}>visibility</md-icon>
130
+ <md-icon name="specific" ?selected=${tabName == 'specific'} ?hidden=${this.hideSpecific}>tune</md-icon>
131
+ <md-icon name="shape" ?selected=${tabName == 'shape'} ?hidden=${this.hideShape}>format_shapes</md-icon>
132
+ <md-icon name="style" ?selected=${tabName == 'style'} ?hidden=${this.hideStyle}>palette</md-icon>
133
+ <md-icon name="effect" ?selected=${tabName == 'effect'} ?hidden=${this.hideEffect}>movie_filter</md-icon>
134
+ <md-icon name="data-binding" ?selected=${tabName == 'data-binding'} ?hidden=${this.hideDataBinding}
135
+ >share</md-icon
136
+ >
137
+ <md-icon name="inspector" ?selected=${tabName == 'inspector'} ?hidden=${this.hideInspector}>visibility</md-icon>
125
138
  </div>
126
139
 
127
140
  <div content>
@@ -105,7 +105,7 @@ class ProcessList extends LitElement {
105
105
  #filters [type='text'] {
106
106
  background-color: transparent;
107
107
  border: 0;
108
- border-bottom: var(--border-dark-color);
108
+ border-bottom: var(--border-dim-color);
109
109
  padding: var(--padding-narrow) var(--padding-narrow) 7px 25px;
110
110
  font-size: var(--fontsize-large);
111
111
  }
@@ -161,6 +161,13 @@ export class OxProcessModeller extends ScopedElementsMixin(LitElement) {
161
161
  @property({ type: Array }) fonts: any[] = []
162
162
  @property({ type: Array }) propertyEditor: any[] = []
163
163
 
164
+ @property({ type: Boolean, attribute: 'hide-data-binding' }) hideDataBinding: boolean = false
165
+ @property({ type: Boolean, attribute: 'hide-effect' }) hideEffect: boolean = false
166
+ @property({ type: Boolean, attribute: 'hide-inspector' }) hideInspector: boolean = false
167
+ @property({ type: Boolean, attribute: 'hide-shape' }) hideShape: boolean = false
168
+ @property({ type: Boolean, attribute: 'hide-style' }) hideStyle: boolean = false
169
+ @property({ type: Boolean, attribute: 'hide-specific' }) hideSpecific: boolean = false
170
+
164
171
  @query('process-edit-toolbar') private editToolbar!: EditToolbar
165
172
 
166
173
  private group: string = ''
@@ -288,6 +295,12 @@ export class OxProcessModeller extends ScopedElementsMixin(LitElement) {
288
295
  .collapsed=${this.hideProperty}
289
296
  .fonts=${this.fonts}
290
297
  .propertyEditor=${this.propertyEditor}
298
+ ?hide-data-binding=${this.hideDataBinding}
299
+ ?hide-effect=${this.hideEffect}
300
+ ?hide-inspector=${this.hideInspector}
301
+ ?hide-shape=${this.hideShape}
302
+ ?hide-style=${this.hideStyle}
303
+ ?hide-specific=${this.hideSpecific}
291
304
  >
292
305
  </process-property-sidebar>
293
306
  </div>