@operato/process 2.0.0-beta.2 → 2.0.0-beta.20
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/CHANGELOG.md +130 -0
- package/dist/src/modeller/property-sidebar/property-sidebar.d.ts +6 -0
- package/dist/src/modeller/property-sidebar/property-sidebar.js +36 -6
- package/dist/src/modeller/property-sidebar/property-sidebar.js.map +1 -1
- package/dist/src/ox-process-list.js +1 -1
- package/dist/src/ox-process-list.js.map +1 -1
- package/dist/src/ox-process-modeller.d.ts +6 -0
- package/dist/src/ox-process-modeller.js +30 -0
- package/dist/src/ox-process-modeller.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/src/modeller/property-sidebar/property-sidebar.ts +19 -6
- package/src/ox-process-list.ts +1 -1
- package/src/ox-process-modeller.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/process",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.20",
|
|
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.
|
|
72
|
-
"@operato/board": "^2.0.0-beta.
|
|
73
|
-
"@operato/data-grist": "^2.0.0-beta.
|
|
74
|
-
"@operato/font": "^2.0.0-beta.
|
|
75
|
-
"@operato/graphql": "^2.0.0-beta.
|
|
76
|
-
"@operato/i18n": "^2.0.0-beta.
|
|
77
|
-
"@operato/input": "^2.0.0-beta.
|
|
78
|
-
"@operato/markdown": "^2.0.0-beta.
|
|
79
|
-
"@operato/popup": "^2.0.0-beta.
|
|
80
|
-
"@operato/property-editor": "^2.0.0-beta.
|
|
81
|
-
"@operato/styles": "^2.0.0-beta.
|
|
82
|
-
"@operato/utils": "^2.0.0-beta.
|
|
71
|
+
"@operato/app": "^2.0.0-beta.20",
|
|
72
|
+
"@operato/board": "^2.0.0-beta.20",
|
|
73
|
+
"@operato/data-grist": "^2.0.0-beta.20",
|
|
74
|
+
"@operato/font": "^2.0.0-beta.20",
|
|
75
|
+
"@operato/graphql": "^2.0.0-beta.13",
|
|
76
|
+
"@operato/i18n": "^2.0.0-beta.16",
|
|
77
|
+
"@operato/input": "^2.0.0-beta.20",
|
|
78
|
+
"@operato/markdown": "^2.0.0-beta.13",
|
|
79
|
+
"@operato/popup": "^2.0.0-beta.14",
|
|
80
|
+
"@operato/property-editor": "^2.0.0-beta.20",
|
|
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": "
|
|
131
|
+
"gitHead": "b17cf676ccdd3d005ae2cba046bb8fb51379a2ba"
|
|
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'}
|
|
124
|
-
|
|
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>
|
package/src/ox-process-list.ts
CHANGED
|
@@ -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-
|
|
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>
|