@miragon/dmn-modeler 0.3.1 → 0.5.0
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 +58 -0
- package/README.md +16 -0
- package/dist/darkTheme.css +1 -1
- package/dist/dmn-modeler.css +1 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.js +387 -107
- package/dist/lightTheme.css +1 -1
- package/package.json +15 -14
package/dist/index.js
CHANGED
|
@@ -3,13 +3,17 @@ import n from "dmn-js/lib/Modeler";
|
|
|
3
3
|
import { CamundaPropertiesProviderModule as r, DmnPropertiesPanelModule as i, DmnPropertiesProviderModule as a } from "dmn-js-properties-panel";
|
|
4
4
|
import o from "@emaarco/dmn-js-simulation";
|
|
5
5
|
import s from "camunda-dmn-moddle/resources/camunda.json";
|
|
6
|
-
import "lodash";
|
|
6
|
+
import c from "lodash/debounce.js";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region ../../libs/bpmn-i18n-extras/src/languages/index.ts
|
|
9
|
-
var
|
|
9
|
+
var l = {
|
|
10
10
|
de: {
|
|
11
11
|
"Apply Template": "Vorlage anwenden",
|
|
12
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Automatisierte Arbeit, ausgeführt von einem Java Delegate, einem Ausdruck oder einem externen Task",
|
|
13
|
+
"Automated work carried out by a system": "Automatisierte Arbeit, ausgeführt von einem System",
|
|
12
14
|
"Being edited in": "Wird bearbeitet in",
|
|
15
|
+
"Camunda properties, templates and lint": "Camunda-Eigenschaften, Vorlagen und Linting",
|
|
16
|
+
"Child process": "Kindprozess",
|
|
13
17
|
"Clear search": "Suche zurücksetzen",
|
|
14
18
|
Close: "Schließen",
|
|
15
19
|
Collapse: "Einklappen",
|
|
@@ -17,33 +21,48 @@ var c = {
|
|
|
17
21
|
Design: "Entwurf",
|
|
18
22
|
"Element Templates": "Elementvorlagen",
|
|
19
23
|
"Element actions": "Elementaktionen",
|
|
24
|
+
"Engine-neutral modeling": "Engine-neutrale Modellierung",
|
|
20
25
|
Expand: "Ausklappen",
|
|
21
26
|
Favourites: "Favoriten",
|
|
27
|
+
Human: "Mensch",
|
|
22
28
|
Implement: "Implementieren",
|
|
23
29
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "Für „Implementieren“ wird eine Camunda-Ausführungsplattform benötigt – dieses Modell hat keine. Weisen Sie eine zu, um es zu aktivieren.",
|
|
30
|
+
"Java delegate": "Java Delegate",
|
|
24
31
|
Mode: "Modus",
|
|
32
|
+
"Mode: {mode}": "Modus: {mode}",
|
|
33
|
+
"Name or code": "Name oder Code",
|
|
34
|
+
"No matches in other models": "Keine Treffer in anderen Modellen",
|
|
25
35
|
"No templates found": "Keine Vorlagen gefunden",
|
|
26
36
|
"No visible parameters": "Keine sichtbaren Parameter",
|
|
27
37
|
Other: "Sonstige",
|
|
28
38
|
"Read-only": "Schreibgeschützt",
|
|
39
|
+
"Search failed": "Suche fehlgeschlagen",
|
|
40
|
+
"Search other models": "In anderen Modellen suchen",
|
|
29
41
|
"Search templates...": "Vorlagen suchen...",
|
|
30
42
|
"Search...": "Suchen...",
|
|
43
|
+
"Searching…": "Suche läuft…",
|
|
31
44
|
"Select a template to see its details": "Wählen Sie eine Vorlage, um die Details anzuzeigen",
|
|
32
45
|
"Task Type": "Task-Typ",
|
|
33
46
|
"Try a different search term": "Versuchen Sie einen anderen Suchbegriff",
|
|
34
47
|
Unnamed: "Unbenannt",
|
|
35
48
|
View: "Ansicht",
|
|
49
|
+
"caught by {elements}": "abgefangen von {elements}",
|
|
36
50
|
double: "double",
|
|
37
51
|
integer: "integer",
|
|
38
52
|
optional: "optional",
|
|
39
53
|
"read-only": "schreibgeschützt",
|
|
40
54
|
required: "erforderlich",
|
|
55
|
+
"thrown by {elements}": "ausgelöst von {elements}",
|
|
41
56
|
"{count} properties": "{count} Eigenschaften",
|
|
42
|
-
"{
|
|
57
|
+
"{count} property": "{count} Eigenschaft"
|
|
43
58
|
},
|
|
44
59
|
en: {
|
|
45
60
|
"Apply Template": "Apply Template",
|
|
61
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Automated work carried out by a Java delegate, expression, or external task",
|
|
62
|
+
"Automated work carried out by a system": "Automated work carried out by a system",
|
|
46
63
|
"Being edited in": "Being edited in",
|
|
64
|
+
"Camunda properties, templates and lint": "Camunda properties, templates and lint",
|
|
65
|
+
"Child process": "Child process",
|
|
47
66
|
"Clear search": "Clear search",
|
|
48
67
|
Close: "Close",
|
|
49
68
|
Collapse: "Collapse",
|
|
@@ -51,33 +70,48 @@ var c = {
|
|
|
51
70
|
Design: "Design",
|
|
52
71
|
"Element Templates": "Element Templates",
|
|
53
72
|
"Element actions": "Element actions",
|
|
73
|
+
"Engine-neutral modeling": "Engine-neutral modeling",
|
|
54
74
|
Expand: "Expand",
|
|
55
75
|
Favourites: "Favourites",
|
|
76
|
+
Human: "Human",
|
|
56
77
|
Implement: "Implement",
|
|
57
78
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "Implement needs a Camunda execution platform — this model has none. Assign one to enable it.",
|
|
79
|
+
"Java delegate": "Java delegate",
|
|
58
80
|
Mode: "Mode",
|
|
81
|
+
"Mode: {mode}": "Mode: {mode}",
|
|
82
|
+
"Name or code": "Name or code",
|
|
83
|
+
"No matches in other models": "No matches in other models",
|
|
59
84
|
"No templates found": "No templates found",
|
|
60
85
|
"No visible parameters": "No visible parameters",
|
|
61
86
|
Other: "Other",
|
|
62
87
|
"Read-only": "Read-only",
|
|
88
|
+
"Search failed": "Search failed",
|
|
89
|
+
"Search other models": "Search other models",
|
|
63
90
|
"Search templates...": "Search templates...",
|
|
64
91
|
"Search...": "Search...",
|
|
92
|
+
"Searching…": "Searching…",
|
|
65
93
|
"Select a template to see its details": "Select a template to see its details",
|
|
66
94
|
"Task Type": "Task Type",
|
|
67
95
|
"Try a different search term": "Try a different search term",
|
|
68
96
|
Unnamed: "Unnamed",
|
|
69
97
|
View: "View",
|
|
98
|
+
"caught by {elements}": "caught by {elements}",
|
|
70
99
|
double: "double",
|
|
71
100
|
integer: "integer",
|
|
72
101
|
optional: "optional",
|
|
73
102
|
"read-only": "read-only",
|
|
74
103
|
required: "required",
|
|
104
|
+
"thrown by {elements}": "thrown by {elements}",
|
|
75
105
|
"{count} properties": "{count} properties",
|
|
76
|
-
"{
|
|
106
|
+
"{count} property": "{count} property"
|
|
77
107
|
},
|
|
78
108
|
es: {
|
|
79
109
|
"Apply Template": "Aplicar plantilla",
|
|
110
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Trabajo automatizado realizado por un Java delegate, una expresión o una tarea externa",
|
|
111
|
+
"Automated work carried out by a system": "Trabajo automatizado realizado por un sistema",
|
|
80
112
|
"Being edited in": "Se está editando en",
|
|
113
|
+
"Camunda properties, templates and lint": "Propiedades de Camunda, plantillas y linting",
|
|
114
|
+
"Child process": "Proceso hijo",
|
|
81
115
|
"Clear search": "Borrar búsqueda",
|
|
82
116
|
Close: "Cerrar",
|
|
83
117
|
Collapse: "Contraer",
|
|
@@ -85,33 +119,48 @@ var c = {
|
|
|
85
119
|
Design: "Diseño",
|
|
86
120
|
"Element Templates": "Plantillas de elemento",
|
|
87
121
|
"Element actions": "Acciones del elemento",
|
|
122
|
+
"Engine-neutral modeling": "Modelado independiente del motor",
|
|
88
123
|
Expand: "Expandir",
|
|
89
124
|
Favourites: "Favoritos",
|
|
125
|
+
Human: "Humano",
|
|
90
126
|
Implement: "Implementar",
|
|
91
127
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "Implementar necesita una plataforma de ejecución de Camunda; este modelo no tiene ninguna. Asigne una para habilitarlo.",
|
|
128
|
+
"Java delegate": "Java delegate",
|
|
92
129
|
Mode: "Modo",
|
|
130
|
+
"Mode: {mode}": "Modo: {mode}",
|
|
131
|
+
"Name or code": "Nombre o código",
|
|
132
|
+
"No matches in other models": "Sin coincidencias en otros modelos",
|
|
93
133
|
"No templates found": "No se encontraron plantillas",
|
|
94
134
|
"No visible parameters": "No hay parámetros visibles",
|
|
95
135
|
Other: "Otros",
|
|
96
136
|
"Read-only": "Solo lectura",
|
|
137
|
+
"Search failed": "La búsqueda ha fallado",
|
|
138
|
+
"Search other models": "Buscar en otros modelos",
|
|
97
139
|
"Search templates...": "Buscar plantillas...",
|
|
98
140
|
"Search...": "Buscar...",
|
|
141
|
+
"Searching…": "Buscando…",
|
|
99
142
|
"Select a template to see its details": "Seleccione una plantilla para ver sus detalles",
|
|
100
143
|
"Task Type": "Tipo de tarea",
|
|
101
144
|
"Try a different search term": "Pruebe con otro término de búsqueda",
|
|
102
145
|
Unnamed: "Sin nombre",
|
|
103
146
|
View: "Ver",
|
|
147
|
+
"caught by {elements}": "capturado por {elements}",
|
|
104
148
|
double: "double",
|
|
105
149
|
integer: "integer",
|
|
106
150
|
optional: "opcional",
|
|
107
151
|
"read-only": "solo lectura",
|
|
108
152
|
required: "obligatorio",
|
|
153
|
+
"thrown by {elements}": "lanzado por {elements}",
|
|
109
154
|
"{count} properties": "{count} propiedades",
|
|
110
|
-
"{
|
|
155
|
+
"{count} property": "{count} propiedad"
|
|
111
156
|
},
|
|
112
157
|
fr: {
|
|
113
158
|
"Apply Template": "Appliquer le modèle",
|
|
159
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Un travail automatisé réalisé par un Java delegate, une expression ou une tâche externe",
|
|
160
|
+
"Automated work carried out by a system": "Un travail automatisé réalisé par un système",
|
|
114
161
|
"Being edited in": "En cours d'édition dans",
|
|
162
|
+
"Camunda properties, templates and lint": "Propriétés Camunda, modèles et linting",
|
|
163
|
+
"Child process": "Processus enfant",
|
|
115
164
|
"Clear search": "Effacer la recherche",
|
|
116
165
|
Close: "Fermer",
|
|
117
166
|
Collapse: "Réduire",
|
|
@@ -119,33 +168,48 @@ var c = {
|
|
|
119
168
|
Design: "Conception",
|
|
120
169
|
"Element Templates": "Modèles d'élément",
|
|
121
170
|
"Element actions": "Actions de l'élément",
|
|
171
|
+
"Engine-neutral modeling": "Modélisation indépendante du moteur",
|
|
122
172
|
Expand: "Développer",
|
|
123
173
|
Favourites: "Favoris",
|
|
174
|
+
Human: "Humain",
|
|
124
175
|
Implement: "Implémenter",
|
|
125
176
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "« Implémenter » nécessite une plateforme d'exécution Camunda ; ce modèle n'en a aucune. Attribuez-en une pour l'activer.",
|
|
177
|
+
"Java delegate": "Java delegate",
|
|
126
178
|
Mode: "Mode",
|
|
179
|
+
"Mode: {mode}": "Mode : {mode}",
|
|
180
|
+
"Name or code": "Nom ou code",
|
|
181
|
+
"No matches in other models": "Aucun résultat dans d'autres modèles",
|
|
127
182
|
"No templates found": "Aucun modèle trouvé",
|
|
128
183
|
"No visible parameters": "Aucun paramètre visible",
|
|
129
184
|
Other: "Autres",
|
|
130
185
|
"Read-only": "Lecture seule",
|
|
186
|
+
"Search failed": "La recherche a échoué",
|
|
187
|
+
"Search other models": "Rechercher dans d'autres modèles",
|
|
131
188
|
"Search templates...": "Rechercher des modèles...",
|
|
132
189
|
"Search...": "Rechercher...",
|
|
190
|
+
"Searching…": "Recherche en cours…",
|
|
133
191
|
"Select a template to see its details": "Sélectionnez un modèle pour afficher ses détails",
|
|
134
192
|
"Task Type": "Type de tâche",
|
|
135
193
|
"Try a different search term": "Essayez un autre terme de recherche",
|
|
136
194
|
Unnamed: "Sans nom",
|
|
137
195
|
View: "Vue",
|
|
196
|
+
"caught by {elements}": "intercepté par {elements}",
|
|
138
197
|
double: "double",
|
|
139
198
|
integer: "integer",
|
|
140
199
|
optional: "facultatif",
|
|
141
200
|
"read-only": "lecture seule",
|
|
142
201
|
required: "obligatoire",
|
|
202
|
+
"thrown by {elements}": "déclenché par {elements}",
|
|
143
203
|
"{count} properties": "{count} propriétés",
|
|
144
|
-
"{
|
|
204
|
+
"{count} property": "{count} propriété"
|
|
145
205
|
},
|
|
146
206
|
it: {
|
|
147
207
|
"Apply Template": "Applica modello",
|
|
208
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Lavoro automatizzato svolto da un Java delegate, un'espressione o un'attività esterna",
|
|
209
|
+
"Automated work carried out by a system": "Lavoro automatizzato svolto da un sistema",
|
|
148
210
|
"Being edited in": "In modifica in",
|
|
211
|
+
"Camunda properties, templates and lint": "Proprietà Camunda, modelli e linting",
|
|
212
|
+
"Child process": "Processo figlio",
|
|
149
213
|
"Clear search": "Cancella ricerca",
|
|
150
214
|
Close: "Chiudi",
|
|
151
215
|
Collapse: "Comprimi",
|
|
@@ -153,33 +217,48 @@ var c = {
|
|
|
153
217
|
Design: "Progettazione",
|
|
154
218
|
"Element Templates": "Modelli di elemento",
|
|
155
219
|
"Element actions": "Azioni elemento",
|
|
220
|
+
"Engine-neutral modeling": "Modellazione indipendente dal motore",
|
|
156
221
|
Expand: "Espandi",
|
|
157
222
|
Favourites: "Preferiti",
|
|
223
|
+
Human: "Umano",
|
|
158
224
|
Implement: "Implementa",
|
|
159
225
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "«Implementa» richiede una piattaforma di esecuzione Camunda; questo modello non ne ha una. Assegnane una per abilitarla.",
|
|
226
|
+
"Java delegate": "Java delegate",
|
|
160
227
|
Mode: "Modalità",
|
|
228
|
+
"Mode: {mode}": "Modalità: {mode}",
|
|
229
|
+
"Name or code": "Nome o codice",
|
|
230
|
+
"No matches in other models": "Nessuna corrispondenza in altri modelli",
|
|
161
231
|
"No templates found": "Nessun modello trovato",
|
|
162
232
|
"No visible parameters": "Nessun parametro visibile",
|
|
163
233
|
Other: "Altri",
|
|
164
234
|
"Read-only": "Sola lettura",
|
|
235
|
+
"Search failed": "Ricerca non riuscita",
|
|
236
|
+
"Search other models": "Cerca in altri modelli",
|
|
165
237
|
"Search templates...": "Cerca modelli...",
|
|
166
238
|
"Search...": "Cerca...",
|
|
239
|
+
"Searching…": "Ricerca in corso…",
|
|
167
240
|
"Select a template to see its details": "Seleziona un modello per visualizzarne i dettagli",
|
|
168
241
|
"Task Type": "Tipo di attività",
|
|
169
242
|
"Try a different search term": "Prova con un altro termine di ricerca",
|
|
170
243
|
Unnamed: "Senza nome",
|
|
171
244
|
View: "Visualizza",
|
|
245
|
+
"caught by {elements}": "catturato da {elements}",
|
|
172
246
|
double: "double",
|
|
173
247
|
integer: "integer",
|
|
174
248
|
optional: "opzionale",
|
|
175
249
|
"read-only": "sola lettura",
|
|
176
250
|
required: "obbligatorio",
|
|
251
|
+
"thrown by {elements}": "generato da {elements}",
|
|
177
252
|
"{count} properties": "{count} proprietà",
|
|
178
|
-
"{
|
|
253
|
+
"{count} property": "{count} proprietà"
|
|
179
254
|
},
|
|
180
255
|
ja: {
|
|
181
256
|
"Apply Template": "テンプレートを適用",
|
|
257
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Java デリゲート、式、または外部タスクが実行する自動化された作業です",
|
|
258
|
+
"Automated work carried out by a system": "システムが実行する自動化された作業です",
|
|
182
259
|
"Being edited in": "編集中:",
|
|
260
|
+
"Camunda properties, templates and lint": "Camunda のプロパティ、テンプレート、リント",
|
|
261
|
+
"Child process": "子プロセス",
|
|
183
262
|
"Clear search": "検索をクリア",
|
|
184
263
|
Close: "閉じる",
|
|
185
264
|
Collapse: "折りたたむ",
|
|
@@ -187,33 +266,48 @@ var c = {
|
|
|
187
266
|
Design: "デザイン",
|
|
188
267
|
"Element Templates": "要素テンプレート",
|
|
189
268
|
"Element actions": "要素アクション",
|
|
269
|
+
"Engine-neutral modeling": "エンジン非依存のモデリング",
|
|
190
270
|
Expand: "展開",
|
|
191
271
|
Favourites: "お気に入り",
|
|
272
|
+
Human: "人",
|
|
192
273
|
Implement: "実装",
|
|
193
274
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "実装には Camunda 実行プラットフォームが必要ですが、このモデルにはありません。有効にするには割り当ててください。",
|
|
275
|
+
"Java delegate": "Java デリゲート",
|
|
194
276
|
Mode: "モード",
|
|
277
|
+
"Mode: {mode}": "モード: {mode}",
|
|
278
|
+
"Name or code": "名前またはコード",
|
|
279
|
+
"No matches in other models": "他のモデルに一致するものはありません",
|
|
195
280
|
"No templates found": "テンプレートが見つかりません",
|
|
196
281
|
"No visible parameters": "表示可能なパラメータがありません",
|
|
197
282
|
Other: "その他",
|
|
198
283
|
"Read-only": "読み取り専用",
|
|
284
|
+
"Search failed": "検索に失敗しました",
|
|
285
|
+
"Search other models": "他のモデルを検索",
|
|
199
286
|
"Search templates...": "テンプレートを検索...",
|
|
200
287
|
"Search...": "検索...",
|
|
288
|
+
"Searching…": "検索中…",
|
|
201
289
|
"Select a template to see its details": "詳細を表示するにはテンプレートを選択してください",
|
|
202
290
|
"Task Type": "タスクタイプ",
|
|
203
291
|
"Try a different search term": "別の検索語を試してください",
|
|
204
292
|
Unnamed: "名前なし",
|
|
205
293
|
View: "表示",
|
|
294
|
+
"caught by {elements}": "キャッチ元: {elements}",
|
|
206
295
|
double: "double",
|
|
207
296
|
integer: "integer",
|
|
208
297
|
optional: "任意",
|
|
209
298
|
"read-only": "読み取り専用",
|
|
210
299
|
required: "必須",
|
|
300
|
+
"thrown by {elements}": "スロー元: {elements}",
|
|
211
301
|
"{count} properties": "{count} 個のプロパティ",
|
|
212
|
-
"{
|
|
302
|
+
"{count} property": "{count} 個のプロパティ"
|
|
213
303
|
},
|
|
214
304
|
ko: {
|
|
215
305
|
"Apply Template": "템플릿 적용",
|
|
306
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Java 델리게이트, 표현식 또는 외부 작업이 수행하는 자동화된 작업입니다",
|
|
307
|
+
"Automated work carried out by a system": "시스템이 수행하는 자동화된 작업입니다",
|
|
216
308
|
"Being edited in": "편집 중:",
|
|
309
|
+
"Camunda properties, templates and lint": "Camunda 속성, 템플릿 및 린트",
|
|
310
|
+
"Child process": "자식 프로세스",
|
|
217
311
|
"Clear search": "검색 지우기",
|
|
218
312
|
Close: "닫기",
|
|
219
313
|
Collapse: "접기",
|
|
@@ -221,33 +315,48 @@ var c = {
|
|
|
221
315
|
Design: "디자인",
|
|
222
316
|
"Element Templates": "요소 템플릿",
|
|
223
317
|
"Element actions": "요소 작업",
|
|
318
|
+
"Engine-neutral modeling": "엔진 중립적 모델링",
|
|
224
319
|
Expand: "펼치기",
|
|
225
320
|
Favourites: "즐겨찾기",
|
|
321
|
+
Human: "사람",
|
|
226
322
|
Implement: "구현",
|
|
227
323
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "구현하려면 Camunda 실행 플랫폼이 필요하지만 이 모델에는 없습니다. 사용하려면 하나를 지정하세요.",
|
|
324
|
+
"Java delegate": "Java 델리게이트",
|
|
228
325
|
Mode: "모드",
|
|
326
|
+
"Mode: {mode}": "모드: {mode}",
|
|
327
|
+
"Name or code": "이름 또는 코드",
|
|
328
|
+
"No matches in other models": "다른 모델에 일치 항목 없음",
|
|
229
329
|
"No templates found": "템플릿을 찾을 수 없음",
|
|
230
330
|
"No visible parameters": "표시할 매개변수 없음",
|
|
231
331
|
Other: "기타",
|
|
232
332
|
"Read-only": "읽기 전용",
|
|
333
|
+
"Search failed": "검색 실패",
|
|
334
|
+
"Search other models": "다른 모델 검색",
|
|
233
335
|
"Search templates...": "템플릿 검색...",
|
|
234
336
|
"Search...": "검색...",
|
|
337
|
+
"Searching…": "검색 중…",
|
|
235
338
|
"Select a template to see its details": "세부 정보를 보려면 템플릿을 선택하세요",
|
|
236
339
|
"Task Type": "작업 유형",
|
|
237
340
|
"Try a different search term": "다른 검색어를 시도해 보세요",
|
|
238
341
|
Unnamed: "이름 없음",
|
|
239
342
|
View: "보기",
|
|
343
|
+
"caught by {elements}": "포착: {elements}",
|
|
240
344
|
double: "double",
|
|
241
345
|
integer: "integer",
|
|
242
346
|
optional: "선택 사항",
|
|
243
347
|
"read-only": "읽기 전용",
|
|
244
348
|
required: "필수",
|
|
349
|
+
"thrown by {elements}": "발생: {elements}",
|
|
245
350
|
"{count} properties": "{count}개 속성",
|
|
246
|
-
"{
|
|
351
|
+
"{count} property": "{count}개 속성"
|
|
247
352
|
},
|
|
248
353
|
"nl-nl": {
|
|
249
354
|
"Apply Template": "Sjabloon toepassen",
|
|
355
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Geautomatiseerd werk dat door een Java delegate, expressie of external task wordt uitgevoerd",
|
|
356
|
+
"Automated work carried out by a system": "Geautomatiseerd werk dat door een systeem wordt uitgevoerd",
|
|
250
357
|
"Being edited in": "Wordt bewerkt in",
|
|
358
|
+
"Camunda properties, templates and lint": "Camunda-eigenschappen, sjablonen en linting",
|
|
359
|
+
"Child process": "Kindproces",
|
|
251
360
|
"Clear search": "Zoekopdracht wissen",
|
|
252
361
|
Close: "Sluiten",
|
|
253
362
|
Collapse: "Samenvouwen",
|
|
@@ -255,33 +364,48 @@ var c = {
|
|
|
255
364
|
Design: "Ontwerp",
|
|
256
365
|
"Element Templates": "Elementsjablonen",
|
|
257
366
|
"Element actions": "Elementacties",
|
|
367
|
+
"Engine-neutral modeling": "Engine-neutraal modelleren",
|
|
258
368
|
Expand: "Uitvouwen",
|
|
259
369
|
Favourites: "Favorieten",
|
|
370
|
+
Human: "Mens",
|
|
260
371
|
Implement: "Implementeren",
|
|
261
372
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "Voor Implementeren is een Camunda-uitvoeringsplatform nodig; dit model heeft er geen. Wijs er een toe om het in te schakelen.",
|
|
373
|
+
"Java delegate": "Java delegate",
|
|
262
374
|
Mode: "Modus",
|
|
375
|
+
"Mode: {mode}": "Modus: {mode}",
|
|
376
|
+
"Name or code": "Naam of code",
|
|
377
|
+
"No matches in other models": "Geen resultaten in andere modellen",
|
|
263
378
|
"No templates found": "Geen sjablonen gevonden",
|
|
264
379
|
"No visible parameters": "Geen zichtbare parameters",
|
|
265
380
|
Other: "Overige",
|
|
266
381
|
"Read-only": "Alleen-lezen",
|
|
382
|
+
"Search failed": "Zoeken mislukt",
|
|
383
|
+
"Search other models": "Zoeken in andere modellen",
|
|
267
384
|
"Search templates...": "Sjablonen zoeken...",
|
|
268
385
|
"Search...": "Zoeken...",
|
|
386
|
+
"Searching…": "Zoeken…",
|
|
269
387
|
"Select a template to see its details": "Selecteer een sjabloon om de details te bekijken",
|
|
270
388
|
"Task Type": "Taaktype",
|
|
271
389
|
"Try a different search term": "Probeer een andere zoekterm",
|
|
272
390
|
Unnamed: "Naamloos",
|
|
273
391
|
View: "Weergave",
|
|
392
|
+
"caught by {elements}": "opgevangen door {elements}",
|
|
274
393
|
double: "double",
|
|
275
394
|
integer: "integer",
|
|
276
395
|
optional: "optioneel",
|
|
277
396
|
"read-only": "alleen-lezen",
|
|
278
397
|
required: "verplicht",
|
|
398
|
+
"thrown by {elements}": "gegooid door {elements}",
|
|
279
399
|
"{count} properties": "{count} eigenschappen",
|
|
280
|
-
"{
|
|
400
|
+
"{count} property": "{count} eigenschap"
|
|
281
401
|
},
|
|
282
402
|
"pt-br": {
|
|
283
403
|
"Apply Template": "Aplicar modelo",
|
|
404
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Trabalho automatizado executado por um Java delegate, uma expressão ou uma tarefa externa",
|
|
405
|
+
"Automated work carried out by a system": "Trabalho automatizado executado por um sistema",
|
|
284
406
|
"Being edited in": "Sendo editado em",
|
|
407
|
+
"Camunda properties, templates and lint": "Propriedades do Camunda, modelos e linting",
|
|
408
|
+
"Child process": "Processo filho",
|
|
285
409
|
"Clear search": "Limpar pesquisa",
|
|
286
410
|
Close: "Fechar",
|
|
287
411
|
Collapse: "Recolher",
|
|
@@ -289,33 +413,48 @@ var c = {
|
|
|
289
413
|
Design: "Design",
|
|
290
414
|
"Element Templates": "Modelos de elemento",
|
|
291
415
|
"Element actions": "Ações do elemento",
|
|
416
|
+
"Engine-neutral modeling": "Modelagem independente do motor",
|
|
292
417
|
Expand: "Expandir",
|
|
293
418
|
Favourites: "Favoritos",
|
|
419
|
+
Human: "Humano",
|
|
294
420
|
Implement: "Implementar",
|
|
295
421
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "Implementar precisa de uma plataforma de execução Camunda; este modelo não tem nenhuma. Atribua uma para habilitá-la.",
|
|
422
|
+
"Java delegate": "Java delegate",
|
|
296
423
|
Mode: "Modo",
|
|
424
|
+
"Mode: {mode}": "Modo: {mode}",
|
|
425
|
+
"Name or code": "Nome ou código",
|
|
426
|
+
"No matches in other models": "Nenhuma correspondência em outros modelos",
|
|
297
427
|
"No templates found": "Nenhum modelo encontrado",
|
|
298
428
|
"No visible parameters": "Nenhum parâmetro visível",
|
|
299
429
|
Other: "Outros",
|
|
300
430
|
"Read-only": "Somente leitura",
|
|
431
|
+
"Search failed": "Falha na pesquisa",
|
|
432
|
+
"Search other models": "Pesquisar em outros modelos",
|
|
301
433
|
"Search templates...": "Pesquisar modelos...",
|
|
302
434
|
"Search...": "Pesquisar...",
|
|
435
|
+
"Searching…": "Pesquisando…",
|
|
303
436
|
"Select a template to see its details": "Selecione um modelo para ver seus detalhes",
|
|
304
437
|
"Task Type": "Tipo de tarefa",
|
|
305
438
|
"Try a different search term": "Tente um termo de pesquisa diferente",
|
|
306
439
|
Unnamed: "Sem nome",
|
|
307
440
|
View: "Visualizar",
|
|
441
|
+
"caught by {elements}": "capturado por {elements}",
|
|
308
442
|
double: "double",
|
|
309
443
|
integer: "integer",
|
|
310
444
|
optional: "opcional",
|
|
311
445
|
"read-only": "somente leitura",
|
|
312
446
|
required: "obrigatório",
|
|
447
|
+
"thrown by {elements}": "lançado por {elements}",
|
|
313
448
|
"{count} properties": "{count} propriedades",
|
|
314
|
-
"{
|
|
449
|
+
"{count} property": "{count} propriedade"
|
|
315
450
|
},
|
|
316
451
|
ru: {
|
|
317
452
|
"Apply Template": "Применить шаблон",
|
|
453
|
+
"Automated work carried out by a Java delegate, expression, or external task": "Автоматизированная работа, выполняемая Java delegate, выражением или внешней задачей",
|
|
454
|
+
"Automated work carried out by a system": "Автоматизированная работа, выполняемая системой",
|
|
318
455
|
"Being edited in": "Редактируется в",
|
|
456
|
+
"Camunda properties, templates and lint": "Свойства Camunda, шаблоны и линтинг",
|
|
457
|
+
"Child process": "Дочерний процесс",
|
|
319
458
|
"Clear search": "Очистить поиск",
|
|
320
459
|
Close: "Закрыть",
|
|
321
460
|
Collapse: "Свернуть",
|
|
@@ -323,33 +462,48 @@ var c = {
|
|
|
323
462
|
Design: "Проектирование",
|
|
324
463
|
"Element Templates": "Шаблоны элементов",
|
|
325
464
|
"Element actions": "Действия элемента",
|
|
465
|
+
"Engine-neutral modeling": "Моделирование без привязки к движку",
|
|
326
466
|
Expand: "Развернуть",
|
|
327
467
|
Favourites: "Избранное",
|
|
468
|
+
Human: "Человек",
|
|
328
469
|
Implement: "Реализация",
|
|
329
470
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "Для «Реализации» нужна платформа исполнения Camunda, но у этой модели её нет. Назначьте её, чтобы включить.",
|
|
471
|
+
"Java delegate": "Java delegate",
|
|
330
472
|
Mode: "Режим",
|
|
473
|
+
"Mode: {mode}": "Режим: {mode}",
|
|
474
|
+
"Name or code": "Имя или код",
|
|
475
|
+
"No matches in other models": "Нет совпадений в других моделях",
|
|
331
476
|
"No templates found": "Шаблоны не найдены",
|
|
332
477
|
"No visible parameters": "Нет видимых параметров",
|
|
333
478
|
Other: "Прочее",
|
|
334
479
|
"Read-only": "Только чтение",
|
|
480
|
+
"Search failed": "Ошибка поиска",
|
|
481
|
+
"Search other models": "Искать в других моделях",
|
|
335
482
|
"Search templates...": "Поиск шаблонов...",
|
|
336
483
|
"Search...": "Поиск...",
|
|
484
|
+
"Searching…": "Поиск…",
|
|
337
485
|
"Select a template to see its details": "Выберите шаблон, чтобы увидеть его детали",
|
|
338
486
|
"Task Type": "Тип задачи",
|
|
339
487
|
"Try a different search term": "Попробуйте другой поисковый запрос",
|
|
340
488
|
Unnamed: "Без имени",
|
|
341
489
|
View: "Просмотр",
|
|
490
|
+
"caught by {elements}": "перехватывает: {elements}",
|
|
342
491
|
double: "double",
|
|
343
492
|
integer: "integer",
|
|
344
493
|
optional: "необязательно",
|
|
345
494
|
"read-only": "только для чтения",
|
|
346
495
|
required: "обязательно",
|
|
496
|
+
"thrown by {elements}": "генерирует: {elements}",
|
|
347
497
|
"{count} properties": "Свойств: {count}",
|
|
348
|
-
"{
|
|
498
|
+
"{count} property": "Свойств: {count}"
|
|
349
499
|
},
|
|
350
500
|
"zh-Hans": {
|
|
351
501
|
"Apply Template": "应用模板",
|
|
502
|
+
"Automated work carried out by a Java delegate, expression, or external task": "由 Java delegate、表达式或外部任务执行的自动化工作",
|
|
503
|
+
"Automated work carried out by a system": "由系统执行的自动化工作",
|
|
352
504
|
"Being edited in": "正在编辑于",
|
|
505
|
+
"Camunda properties, templates and lint": "Camunda 属性、模板和校验",
|
|
506
|
+
"Child process": "子流程",
|
|
353
507
|
"Clear search": "清除搜索",
|
|
354
508
|
Close: "关闭",
|
|
355
509
|
Collapse: "折叠",
|
|
@@ -357,33 +511,48 @@ var c = {
|
|
|
357
511
|
Design: "设计",
|
|
358
512
|
"Element Templates": "元素模板",
|
|
359
513
|
"Element actions": "元素操作",
|
|
514
|
+
"Engine-neutral modeling": "与引擎无关的建模",
|
|
360
515
|
Expand: "展开",
|
|
361
516
|
Favourites: "收藏夹",
|
|
517
|
+
Human: "人工",
|
|
362
518
|
Implement: "实现",
|
|
363
519
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "“实现”需要 Camunda 执行平台,但此模型没有。请分配一个以启用。",
|
|
520
|
+
"Java delegate": "Java delegate",
|
|
364
521
|
Mode: "模式",
|
|
522
|
+
"Mode: {mode}": "模式:{mode}",
|
|
523
|
+
"Name or code": "名称或代码",
|
|
524
|
+
"No matches in other models": "其他模型中没有匹配项",
|
|
365
525
|
"No templates found": "未找到模板",
|
|
366
526
|
"No visible parameters": "无可见参数",
|
|
367
527
|
Other: "其他",
|
|
368
528
|
"Read-only": "只读",
|
|
529
|
+
"Search failed": "搜索失败",
|
|
530
|
+
"Search other models": "搜索其他模型",
|
|
369
531
|
"Search templates...": "搜索模板...",
|
|
370
532
|
"Search...": "搜索...",
|
|
533
|
+
"Searching…": "正在搜索…",
|
|
371
534
|
"Select a template to see its details": "选择一个模板以查看其详细信息",
|
|
372
535
|
"Task Type": "任务类型",
|
|
373
536
|
"Try a different search term": "尝试其他搜索词",
|
|
374
537
|
Unnamed: "未命名",
|
|
375
538
|
View: "查看",
|
|
539
|
+
"caught by {elements}": "捕获方:{elements}",
|
|
376
540
|
double: "double",
|
|
377
541
|
integer: "integer",
|
|
378
542
|
optional: "可选",
|
|
379
543
|
"read-only": "只读",
|
|
380
544
|
required: "必填",
|
|
545
|
+
"thrown by {elements}": "抛出方:{elements}",
|
|
381
546
|
"{count} properties": "{count} 个属性",
|
|
382
|
-
"{
|
|
547
|
+
"{count} property": "{count} 个属性"
|
|
383
548
|
},
|
|
384
549
|
"zh-Hant": {
|
|
385
550
|
"Apply Template": "套用範本",
|
|
551
|
+
"Automated work carried out by a Java delegate, expression, or external task": "由 Java delegate、表達式或外部任務執行的自動化工作",
|
|
552
|
+
"Automated work carried out by a system": "由系統執行的自動化工作",
|
|
386
553
|
"Being edited in": "正在編輯於",
|
|
554
|
+
"Camunda properties, templates and lint": "Camunda 屬性、範本與檢查",
|
|
555
|
+
"Child process": "子流程",
|
|
387
556
|
"Clear search": "清除搜尋",
|
|
388
557
|
Close: "關閉",
|
|
389
558
|
Collapse: "收合",
|
|
@@ -391,51 +560,134 @@ var c = {
|
|
|
391
560
|
Design: "設計",
|
|
392
561
|
"Element Templates": "元素範本",
|
|
393
562
|
"Element actions": "元素操作",
|
|
563
|
+
"Engine-neutral modeling": "與引擎無關的建模",
|
|
394
564
|
Expand: "展開",
|
|
395
565
|
Favourites: "我的最愛",
|
|
566
|
+
Human: "人工",
|
|
396
567
|
Implement: "實作",
|
|
397
568
|
"Implement needs a Camunda execution platform — this model has none. Assign one to enable it.": "「實作」需要 Camunda 執行平台,但此模型沒有。請指派一個以啟用。",
|
|
569
|
+
"Java delegate": "Java delegate",
|
|
398
570
|
Mode: "模式",
|
|
571
|
+
"Mode: {mode}": "模式:{mode}",
|
|
572
|
+
"Name or code": "名稱或代碼",
|
|
573
|
+
"No matches in other models": "其他模型中沒有相符項目",
|
|
399
574
|
"No templates found": "找不到範本",
|
|
400
575
|
"No visible parameters": "無可見參數",
|
|
401
576
|
Other: "其他",
|
|
402
577
|
"Read-only": "唯讀",
|
|
578
|
+
"Search failed": "搜尋失敗",
|
|
579
|
+
"Search other models": "搜尋其他模型",
|
|
403
580
|
"Search templates...": "搜尋範本...",
|
|
404
581
|
"Search...": "搜尋...",
|
|
582
|
+
"Searching…": "正在搜尋…",
|
|
405
583
|
"Select a template to see its details": "選擇一個範本以查看其詳細資訊",
|
|
406
584
|
"Task Type": "任務類型",
|
|
407
585
|
"Try a different search term": "嘗試其他搜尋詞",
|
|
408
586
|
Unnamed: "未命名",
|
|
409
587
|
View: "檢視",
|
|
588
|
+
"caught by {elements}": "捕獲方:{elements}",
|
|
410
589
|
double: "double",
|
|
411
590
|
integer: "integer",
|
|
412
591
|
optional: "選填",
|
|
413
592
|
"read-only": "唯讀",
|
|
414
593
|
required: "必填",
|
|
594
|
+
"thrown by {elements}": "拋出方:{elements}",
|
|
415
595
|
"{count} properties": "{count} 個屬性",
|
|
416
|
-
"{
|
|
596
|
+
"{count} property": "{count} 個屬性"
|
|
597
|
+
}
|
|
598
|
+
}, u = 10;
|
|
599
|
+
function d(e) {
|
|
600
|
+
let t = /* @__PURE__ */ new Set();
|
|
601
|
+
function n(n) {
|
|
602
|
+
let r = c((...e) => {
|
|
603
|
+
t.delete(i), n(...e);
|
|
604
|
+
}, e), i = Object.assign((...e) => {
|
|
605
|
+
t.add(i), r(...e);
|
|
606
|
+
}, {
|
|
607
|
+
flush: () => {
|
|
608
|
+
r.flush();
|
|
609
|
+
},
|
|
610
|
+
cancel: () => {
|
|
611
|
+
t.delete(i), r.cancel();
|
|
612
|
+
}
|
|
613
|
+
});
|
|
614
|
+
return i;
|
|
615
|
+
}
|
|
616
|
+
return Object.assign(n, {
|
|
617
|
+
hasPending: () => t.size > 0,
|
|
618
|
+
flush: () => {
|
|
619
|
+
let e = [];
|
|
620
|
+
for (let n = 0; n < u && t.size > 0; n++) for (let n of [...t]) try {
|
|
621
|
+
n.flush();
|
|
622
|
+
} catch (t) {
|
|
623
|
+
e.push(t);
|
|
624
|
+
}
|
|
625
|
+
if (e.length > 0) throw e[0];
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
//#endregion
|
|
630
|
+
//#region ../../libs/modeler-types/src/errors.ts
|
|
631
|
+
var f = class extends Error {
|
|
632
|
+
constructor() {
|
|
633
|
+
super("Modeler is not initialized!");
|
|
417
634
|
}
|
|
418
635
|
};
|
|
419
636
|
//#endregion
|
|
420
637
|
//#region ../../libs/modeler-types/src/canvasResize.ts
|
|
421
|
-
function
|
|
422
|
-
let r = n.createObserver ??
|
|
638
|
+
function p(e, t, n = {}) {
|
|
639
|
+
let r = n.createObserver ?? m();
|
|
423
640
|
if (!r) return () => void 0;
|
|
424
641
|
let i = n.applyInitialViewport === void 0, a = r(() => {
|
|
425
642
|
e.resized(), i ||= n.applyInitialViewport();
|
|
426
643
|
});
|
|
427
644
|
return a.observe(t), () => a.disconnect();
|
|
428
645
|
}
|
|
429
|
-
function
|
|
646
|
+
function m() {
|
|
430
647
|
let e = globalThis.ResizeObserver;
|
|
431
648
|
return e ? (t) => new e(t) : void 0;
|
|
432
649
|
}
|
|
433
650
|
//#endregion
|
|
434
|
-
//#region ../../libs/modeler-types/src/
|
|
435
|
-
var
|
|
436
|
-
|
|
651
|
+
//#region ../../libs/modeler-types/src/disposableStore.ts
|
|
652
|
+
var h = class {
|
|
653
|
+
constructor() {
|
|
654
|
+
this.disposers = [], this.disposed = !1;
|
|
655
|
+
}
|
|
656
|
+
get isDisposed() {
|
|
657
|
+
return this.disposed;
|
|
658
|
+
}
|
|
659
|
+
add(...e) {
|
|
660
|
+
if (this.disposed) for (let t = e.length - 1; t >= 0; t--) e[t]();
|
|
661
|
+
else this.disposers.push(...e);
|
|
662
|
+
}
|
|
663
|
+
dispose() {
|
|
664
|
+
if (this.disposed) return;
|
|
665
|
+
this.disposed = !0;
|
|
666
|
+
let e = this.disposers.splice(0).reverse(), t, n = !1;
|
|
667
|
+
for (let r of e) try {
|
|
668
|
+
r();
|
|
669
|
+
} catch (e) {
|
|
670
|
+
n || (n = !0, t = e);
|
|
671
|
+
}
|
|
672
|
+
if (n) throw t;
|
|
673
|
+
}
|
|
674
|
+
}, g = class {
|
|
675
|
+
constructor() {
|
|
676
|
+
this.disposed = !1;
|
|
677
|
+
}
|
|
678
|
+
set(e) {
|
|
679
|
+
let t = this.current;
|
|
680
|
+
this.current = void 0, t?.(), e !== void 0 && (this.disposed ? e() : this.current = e);
|
|
681
|
+
}
|
|
682
|
+
dispose() {
|
|
683
|
+
this.disposed = !0;
|
|
684
|
+
let e = this.current;
|
|
685
|
+
this.current = void 0, e?.();
|
|
686
|
+
}
|
|
687
|
+
}, _ = "<svg class=\"canvas-focus-indicator__off\" viewBox=\"0 -960 960 960\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M367-367q-47-47-47-113t47-113q47-47 113-47t113 47q47 47 47 113t-47 113q-47 47-113 47t-113-47Zm169.5-56.5Q560-447 560-480t-23.5-56.5Q513-560 480-560t-56.5 23.5Q400-513 400-480t23.5 56.5Q447-400 480-400t56.5-23.5ZM480-480ZM200-120q-33 0-56.5-23.5T120-200v-160h80v160h160v80H200Zm400 0v-80h160v-160h80v160q0 33-23.5 56.5T760-120H600ZM120-600v-160q0-33 23.5-56.5T200-840h160v80H200v160h-80Zm640 0v-160H600v-80h160q33 0 56.5 23.5T840-760v160h-80Z\"/></svg>", v = "<svg class=\"canvas-focus-indicator__on\" viewBox=\"0 -960 960 960\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M200-120q-33 0-56.5-23.5T120-200v-160h80v160h160v80H200Zm400 0v-80h160v-160h80v160q0 33-23.5 56.5T760-120H600ZM120-600v-160q0-33 23.5-56.5T200-840h160v80H200v160h-80Zm640 0v-160H600v-80h160q33 0 56.5 23.5T840-760v160h-80ZM338.5-338.5Q280-397 280-480t58.5-141.5Q397-680 480-680t141.5 58.5Q680-563 680-480t-58.5 141.5Q563-280 480-280t-141.5-58.5Z\"/></svg>";
|
|
688
|
+
function y(e) {
|
|
437
689
|
let t = document.createElement("div");
|
|
438
|
-
t.className = "canvas-focus-indicator", t.setAttribute("aria-hidden", "true"), t.innerHTML =
|
|
690
|
+
t.className = "canvas-focus-indicator", t.setAttribute("aria-hidden", "true"), t.innerHTML = _ + v;
|
|
439
691
|
let n = e.isFocused(), r = e.hasSelection(), i = () => {
|
|
440
692
|
t.classList.toggle("is-focused", n && !r);
|
|
441
693
|
};
|
|
@@ -446,59 +698,21 @@ function p(e) {
|
|
|
446
698
|
}), e.parent.append(t), () => t.remove();
|
|
447
699
|
}
|
|
448
700
|
//#endregion
|
|
449
|
-
//#region
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
return typeof e;
|
|
454
|
-
} : function(e) {
|
|
455
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
456
|
-
}, m(e);
|
|
457
|
-
}
|
|
458
|
-
//#endregion
|
|
459
|
-
//#region \0@oxc-project+runtime@0.150.0/helpers/esm/toPrimitive.js
|
|
460
|
-
function h(e, t) {
|
|
461
|
-
if (m(e) != "object" || !e) return e;
|
|
462
|
-
var n = e[Symbol.toPrimitive];
|
|
463
|
-
if (n !== void 0) {
|
|
464
|
-
var r = n.call(e, t || "default");
|
|
465
|
-
if (m(r) != "object") return r;
|
|
466
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
467
|
-
}
|
|
468
|
-
return (t === "string" ? String : Number)(e);
|
|
469
|
-
}
|
|
470
|
-
//#endregion
|
|
471
|
-
//#region \0@oxc-project+runtime@0.150.0/helpers/esm/toPropertyKey.js
|
|
472
|
-
function g(e) {
|
|
473
|
-
var t = h(e, "string");
|
|
474
|
-
return m(t) == "symbol" ? t : t + "";
|
|
475
|
-
}
|
|
476
|
-
//#endregion
|
|
477
|
-
//#region \0@oxc-project+runtime@0.150.0/helpers/esm/defineProperty.js
|
|
478
|
-
function _(e, t, n) {
|
|
479
|
-
return (t = g(t)) in e ? Object.defineProperty(e, t, {
|
|
480
|
-
value: n,
|
|
481
|
-
enumerable: !0,
|
|
482
|
-
configurable: !0,
|
|
483
|
-
writable: !0
|
|
484
|
-
}) : e[t] = n, e;
|
|
485
|
-
}
|
|
486
|
-
//#endregion
|
|
487
|
-
//#region src/theme.ts
|
|
488
|
-
var v = "data-dmn-theme", y = class {
|
|
489
|
-
constructor(e) {
|
|
490
|
-
_(this, "scopeRoots", void 0), _(this, "mode", void 0), _(this, "mediaQuery", void 0), _(this, "mediaListener", void 0), this.scopeRoots = e;
|
|
701
|
+
//#region ../../libs/modeler-types/src/surfaceTheme.ts
|
|
702
|
+
var b = class {
|
|
703
|
+
constructor(e, t) {
|
|
704
|
+
this.scopeRoots = e, this.attribute = t, this.disposed = !1;
|
|
491
705
|
}
|
|
492
706
|
setMode(e) {
|
|
493
|
-
e
|
|
707
|
+
this.disposed || e === this.mode || (this.mode = e, e === "automatic" ? this.startFollowingPreferredScheme() : (this.stopFollowingPreferredScheme(), this.apply(e)));
|
|
494
708
|
}
|
|
495
709
|
dispose() {
|
|
496
|
-
this.stopFollowingPreferredScheme();
|
|
497
|
-
for (let e of this.scopeRoots) e.removeAttribute(
|
|
710
|
+
this.disposed = !0, this.stopFollowingPreferredScheme();
|
|
711
|
+
for (let e of this.scopeRoots) e.removeAttribute(this.attribute);
|
|
498
712
|
}
|
|
499
713
|
apply(e) {
|
|
500
|
-
for (let t of this.scopeRoots) t.setAttribute(
|
|
501
|
-
|
|
714
|
+
for (let t of this.scopeRoots) t.setAttribute(this.attribute, e);
|
|
715
|
+
x(e);
|
|
502
716
|
}
|
|
503
717
|
startFollowingPreferredScheme() {
|
|
504
718
|
let e = window.matchMedia("(prefers-color-scheme: dark)");
|
|
@@ -510,15 +724,53 @@ var v = "data-dmn-theme", y = class {
|
|
|
510
724
|
this.mediaQuery && this.mediaListener && this.mediaQuery.removeEventListener("change", this.mediaListener), this.mediaQuery = void 0, this.mediaListener = void 0;
|
|
511
725
|
}
|
|
512
726
|
};
|
|
513
|
-
function
|
|
727
|
+
function x(e) {
|
|
514
728
|
let t = document.querySelector("#theme-link");
|
|
515
729
|
if (!t) return;
|
|
516
730
|
let n = t.href, r = n.split("/").pop();
|
|
517
731
|
e === "dark" && r === "lightTheme.css" ? t.href = n.replace(/lightTheme\.css$/, "darkTheme.css") : e === "light" && r === "darkTheme.css" && (t.href = n.replace(/darkTheme\.css$/, "lightTheme.css"));
|
|
518
732
|
}
|
|
519
733
|
//#endregion
|
|
734
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
735
|
+
function S(e) {
|
|
736
|
+
"@babel/helpers - typeof";
|
|
737
|
+
return S = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
738
|
+
return typeof e;
|
|
739
|
+
} : function(e) {
|
|
740
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
741
|
+
}, S(e);
|
|
742
|
+
}
|
|
743
|
+
//#endregion
|
|
744
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
745
|
+
function C(e, t) {
|
|
746
|
+
if (S(e) != "object" || !e) return e;
|
|
747
|
+
var n = e[Symbol.toPrimitive];
|
|
748
|
+
if (n !== void 0) {
|
|
749
|
+
var r = n.call(e, t || "default");
|
|
750
|
+
if (S(r) != "object") return r;
|
|
751
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
752
|
+
}
|
|
753
|
+
return (t === "string" ? String : Number)(e);
|
|
754
|
+
}
|
|
755
|
+
//#endregion
|
|
756
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
757
|
+
function w(e) {
|
|
758
|
+
var t = C(e, "string");
|
|
759
|
+
return S(t) == "symbol" ? t : t + "";
|
|
760
|
+
}
|
|
761
|
+
//#endregion
|
|
762
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
763
|
+
function T(e, t, n) {
|
|
764
|
+
return (t = w(t)) in e ? Object.defineProperty(e, t, {
|
|
765
|
+
value: n,
|
|
766
|
+
enumerable: !0,
|
|
767
|
+
configurable: !0,
|
|
768
|
+
writable: !0
|
|
769
|
+
}) : e[t] = n, e;
|
|
770
|
+
}
|
|
771
|
+
//#endregion
|
|
520
772
|
//#region src/modeler.ts
|
|
521
|
-
var
|
|
773
|
+
var E = {
|
|
522
774
|
options: [
|
|
523
775
|
{
|
|
524
776
|
value: "feel",
|
|
@@ -546,21 +798,21 @@ var x = {
|
|
|
546
798
|
}
|
|
547
799
|
],
|
|
548
800
|
defaults: { editor: "feel" }
|
|
549
|
-
},
|
|
801
|
+
}, D = "data-dmn-theme", O = [
|
|
550
802
|
"string",
|
|
551
803
|
"boolean",
|
|
552
804
|
"integer",
|
|
553
805
|
"long",
|
|
554
806
|
"double",
|
|
555
807
|
"date"
|
|
556
|
-
],
|
|
808
|
+
], k = 600, A = 300, j = class {
|
|
557
809
|
constructor(t, c) {
|
|
558
|
-
|
|
559
|
-
this.
|
|
560
|
-
}),
|
|
561
|
-
this.
|
|
810
|
+
T(this, "container", void 0), T(this, "options", void 0), T(this, "modeler", void 0), T(this, "store", new h()), T(this, "focusIndicator", new g()), T(this, "commandStackBinding", new g()), T(this, "propertiesPanelInput", d(k)), T(this, "viewEditorInput", d(A)), T(this, "activeEventBus", void 0), T(this, "themeController", void 0), T(this, "handleViewsChanged", (e) => {
|
|
811
|
+
this.store.isDisposed || (this.bindActiveViewer(), this.options.onViewChanged?.(e));
|
|
812
|
+
}), T(this, "handleContentChanged", () => {
|
|
813
|
+
this.store.isDisposed || this.options.onContentChanged?.();
|
|
562
814
|
}), this.container = t, this.options = c;
|
|
563
|
-
let
|
|
815
|
+
let l = c.additionalModules ?? {};
|
|
564
816
|
this.modeler = new n({
|
|
565
817
|
container: t,
|
|
566
818
|
drd: {
|
|
@@ -574,28 +826,40 @@ var x = {
|
|
|
574
826
|
a,
|
|
575
827
|
r,
|
|
576
828
|
o.decisionRequirementsDiagram,
|
|
577
|
-
|
|
829
|
+
M(this.propertiesPanelInput),
|
|
830
|
+
...l.drd ?? []
|
|
578
831
|
]
|
|
579
832
|
},
|
|
580
833
|
decisionTable: { additionalModules: [
|
|
581
834
|
e,
|
|
582
835
|
o.decisionTable,
|
|
583
|
-
|
|
836
|
+
M(this.viewEditorInput),
|
|
837
|
+
...l.decisionTable ?? []
|
|
838
|
+
] },
|
|
839
|
+
literalExpression: { additionalModules: [
|
|
840
|
+
e,
|
|
841
|
+
M(this.viewEditorInput),
|
|
842
|
+
...l.literalExpression ?? []
|
|
843
|
+
] },
|
|
844
|
+
boxedExpression: { additionalModules: [
|
|
845
|
+
e,
|
|
846
|
+
M(this.viewEditorInput),
|
|
847
|
+
...l.boxedExpression ?? []
|
|
584
848
|
] },
|
|
585
|
-
literalExpression: { additionalModules: [e, ...u.literalExpression ?? []] },
|
|
586
|
-
boxedExpression: { additionalModules: [e, ...u.boxedExpression ?? []] },
|
|
587
849
|
common: {
|
|
588
|
-
expressionLanguages: c.expressionLanguages ??
|
|
589
|
-
dataTypes: c.dataTypes ??
|
|
850
|
+
expressionLanguages: c.expressionLanguages ?? E,
|
|
851
|
+
dataTypes: c.dataTypes ?? O,
|
|
590
852
|
keyboard: c.keyboard
|
|
591
853
|
},
|
|
592
854
|
moddleExtensions: {
|
|
593
855
|
camunda: s,
|
|
594
856
|
...c.moddleExtensions
|
|
595
857
|
}
|
|
596
|
-
}), this.modeler.on("views.changed", this.handleViewsChanged), this.
|
|
597
|
-
this.
|
|
598
|
-
} }, t)
|
|
858
|
+
}), this.store.add(() => this.modeler.destroy()), this.modeler.on("views.changed", this.handleViewsChanged), this.store.add(() => this.modeler.off("views.changed", this.handleViewsChanged)), this.store.add(p({ resized: () => {
|
|
859
|
+
this.store.isDisposed || this.getActiveCanvas()?.resized();
|
|
860
|
+
} }, t)), this.store.add(() => {
|
|
861
|
+
this.commandStackBinding.dispose(), this.activeEventBus = void 0;
|
|
862
|
+
}, () => this.focusIndicator.dispose());
|
|
599
863
|
}
|
|
600
864
|
async loadDiagram(e) {
|
|
601
865
|
this.assertLive();
|
|
@@ -603,7 +867,7 @@ var x = {
|
|
|
603
867
|
let t = await this.modeler.importXML(e);
|
|
604
868
|
return this.bindActiveViewer(), this.reportWarnings(t.warnings), t;
|
|
605
869
|
} catch (e) {
|
|
606
|
-
throw
|
|
870
|
+
throw N("Unable to import DMN", e);
|
|
607
871
|
}
|
|
608
872
|
}
|
|
609
873
|
async exportDiagram() {
|
|
@@ -624,7 +888,7 @@ var x = {
|
|
|
624
888
|
let t = await this.modeler.open(e);
|
|
625
889
|
return this.bindActiveViewer(), this.reportWarnings(t.warnings), t;
|
|
626
890
|
} catch (t) {
|
|
627
|
-
throw
|
|
891
|
+
throw N(`Unable to open DMN view <${e.id}>`, t);
|
|
628
892
|
}
|
|
629
893
|
}
|
|
630
894
|
isDrdViewActive() {
|
|
@@ -646,7 +910,13 @@ var x = {
|
|
|
646
910
|
await this.openView(r), i && this.getActiveViewboxCanvas()?.viewbox(i);
|
|
647
911
|
}
|
|
648
912
|
setTheme(e) {
|
|
649
|
-
|
|
913
|
+
if (!this.store.isDisposed) {
|
|
914
|
+
if (!this.themeController) {
|
|
915
|
+
let e = new b([this.container, this.options.propertiesPanel.parent], D);
|
|
916
|
+
this.themeController = e, this.store.add(() => e.dispose());
|
|
917
|
+
}
|
|
918
|
+
this.themeController.setMode(e);
|
|
919
|
+
}
|
|
650
920
|
}
|
|
651
921
|
getService(e) {
|
|
652
922
|
this.assertLive();
|
|
@@ -654,18 +924,28 @@ var x = {
|
|
|
654
924
|
if (!t) throw Error("No active DMN view is available");
|
|
655
925
|
return t.get(e);
|
|
656
926
|
}
|
|
927
|
+
hasPendingInput() {
|
|
928
|
+
return !this.store.isDisposed && (this.propertiesPanelInput.hasPending() || this.viewEditorInput.hasPending());
|
|
929
|
+
}
|
|
930
|
+
flushPendingInput() {
|
|
931
|
+
if (!this.store.isDisposed) try {
|
|
932
|
+
this.propertiesPanelInput.flush();
|
|
933
|
+
} finally {
|
|
934
|
+
this.viewEditorInput.flush();
|
|
935
|
+
}
|
|
936
|
+
}
|
|
657
937
|
destroy() {
|
|
658
|
-
this.
|
|
938
|
+
this.store.dispose();
|
|
659
939
|
}
|
|
660
940
|
bindActiveViewer() {
|
|
661
|
-
if (this.
|
|
941
|
+
if (this.store.isDisposed) return;
|
|
662
942
|
let e = this.getActiveViewer()?.get("eventBus");
|
|
663
|
-
e !== this.activeEventBus && (this.
|
|
943
|
+
e !== this.activeEventBus && (this.activeEventBus = e, e?.on("commandStack.changed", this.handleContentChanged), this.commandStackBinding.set(e && (() => e.off("commandStack.changed", this.handleContentChanged))), this.syncCanvasFocusIndicator());
|
|
664
944
|
}
|
|
665
945
|
syncCanvasFocusIndicator() {
|
|
666
|
-
if (this.
|
|
946
|
+
if (this.focusIndicator.set(void 0), this.modeler.getActiveView()?.type !== "drd") return;
|
|
667
947
|
let e = this.getActiveViewer(), t = e?.get("canvas", !1), n = e?.get("selection", !1), r = e?.get("eventBus", !1);
|
|
668
|
-
t && n && r &&
|
|
948
|
+
t && n && r && this.focusIndicator.set(y({
|
|
669
949
|
parent: t.getContainer(),
|
|
670
950
|
isFocused: () => t.isFocused(),
|
|
671
951
|
onFocusChanged: (e) => r.on("canvas.focus.changed", (t) => e(t.focused)),
|
|
@@ -673,11 +953,8 @@ var x = {
|
|
|
673
953
|
onSelectionChanged: (e) => r.on("selection.changed", (t) => e(t.newSelection.length > 0))
|
|
674
954
|
}));
|
|
675
955
|
}
|
|
676
|
-
unbindCommandStack() {
|
|
677
|
-
this.activeEventBus?.off("commandStack.changed", this.handleContentChanged), this.activeEventBus = void 0;
|
|
678
|
-
}
|
|
679
956
|
reportWarnings(e) {
|
|
680
|
-
if (!this.
|
|
957
|
+
if (!this.store.isDisposed) for (let t of e) this.options.onWarning?.(F(t));
|
|
681
958
|
}
|
|
682
959
|
getActiveViewer() {
|
|
683
960
|
return this.modeler.getActiveViewer();
|
|
@@ -692,19 +969,22 @@ var x = {
|
|
|
692
969
|
if (this.modeler.getActiveView()?.type === "drd") return this.getActiveViewer()?.get("canvas", !1);
|
|
693
970
|
}
|
|
694
971
|
assertLive() {
|
|
695
|
-
if (this.
|
|
972
|
+
if (this.store.isDisposed) throw new f();
|
|
696
973
|
}
|
|
697
974
|
};
|
|
698
|
-
function
|
|
699
|
-
|
|
975
|
+
function M(e) {
|
|
976
|
+
return { debounceInput: ["value", e] };
|
|
977
|
+
}
|
|
978
|
+
function N(e, t) {
|
|
979
|
+
let n = t instanceof Error ? t.message : String(t), r = P(t).map(F).filter(Boolean), i = r.length > 0 ? `\n${r.join("\n")}` : "";
|
|
700
980
|
return Error(`${e}: ${n}${i}`, { cause: t });
|
|
701
981
|
}
|
|
702
|
-
function
|
|
982
|
+
function P(e) {
|
|
703
983
|
if (typeof e != "object" || !e || !("warnings" in e)) return [];
|
|
704
984
|
let t = e.warnings;
|
|
705
985
|
return Array.isArray(t) ? t : [];
|
|
706
986
|
}
|
|
707
|
-
function
|
|
987
|
+
function F(e) {
|
|
708
988
|
return [
|
|
709
989
|
e.message,
|
|
710
990
|
e.error?.message,
|
|
@@ -713,9 +993,9 @@ function E(e) {
|
|
|
713
993
|
}
|
|
714
994
|
//#endregion
|
|
715
995
|
//#region src/createModeler.ts
|
|
716
|
-
async function
|
|
717
|
-
t.extend(
|
|
718
|
-
let r = new
|
|
996
|
+
async function I(e, n) {
|
|
997
|
+
t.extend(l);
|
|
998
|
+
let r = new j(e, n);
|
|
719
999
|
try {
|
|
720
1000
|
r.setTheme(n.theme ?? "automatic"), n.locale && t.setLanguage(n.locale);
|
|
721
1001
|
} catch (e) {
|
|
@@ -727,4 +1007,4 @@ async function D(e, n) {
|
|
|
727
1007
|
return r;
|
|
728
1008
|
}
|
|
729
1009
|
//#endregion
|
|
730
|
-
export {
|
|
1010
|
+
export { f as NoModelerError, I as createModeler };
|