@raclettejs/workbench 0.1.19 → 0.1.21

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.
Files changed (28) hide show
  1. package/.raclette/backend/raclette.config.js +519 -0
  2. package/{yarn.lock → .raclette/backend/yarn.lock} +1014 -796
  3. package/.raclette/frontend/raclette.config.js +47 -0
  4. package/.raclette/frontend/yarn.lock +3428 -0
  5. package/.raclette/raclette.config.js +643 -0
  6. package/.raclette/virtual/backend/README.md +172 -0
  7. package/.raclette/virtual/backend/raclette.config.js +519 -0
  8. package/.raclette/virtual/backend/yarn.lock +3773 -0
  9. package/.raclette/virtual/frontend/README.md +511 -0
  10. package/.raclette/virtual/frontend/raclette.config.js +47 -0
  11. package/.raclette/virtual/frontend/src/core/lib/eggs/readme.md +75 -0
  12. package/.raclette/virtual/frontend/yarn.lock +3428 -0
  13. package/CHANGELOG.md +7 -0
  14. package/i18n/de-DE.json +17 -1
  15. package/i18n/en-EU.json +17 -1
  16. package/i18n/sk-SK.json +17 -1
  17. package/package.json +4 -2
  18. package/packages.json +3 -1
  19. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/CompositionWidgetsLayout.vue +8 -3
  20. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetContextMenu.vue +60 -0
  21. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetIcon.vue +4 -7
  22. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetList.vue +34 -117
  23. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetListFlat.vue +20 -0
  24. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetListGrouped.vue +50 -0
  25. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetListHeader.vue +213 -0
  26. package/plugins/pacifico__compositions/frontend/components/compositionConfiguration/widgetsLayout/WidgetListItem.vue +56 -0
  27. package/plugins/pacifico__compositions/frontend/composables/useWidgetList.ts +288 -0
  28. package/raclette.config.js +4 -1
@@ -0,0 +1,643 @@
1
+ // Generated Raclette Configuration
2
+ // This file is auto-generated from the merged configuration
3
+ // Do not edit directly
4
+
5
+ export default {
6
+ "name": "raclette-workbench",
7
+ "services": {
8
+ "frontend": {
9
+ "enabled": true,
10
+ "port": 8083,
11
+ "installPackages": [],
12
+ "volumes": [
13
+ {
14
+ "source": "/home/shookie/core-dev/@raclettejs/playground/plugins",
15
+ "target": "/app/external-app-plugins",
16
+ "mustExist": true
17
+ },
18
+ {
19
+ "source": "/home/shookie/core-dev/@raclettejs/playground/workbench/plugins",
20
+ "target": "/app/src/workbenchPlugins",
21
+ "mustExist": true
22
+ }
23
+ ]
24
+ },
25
+ "backend": {
26
+ "enabled": true,
27
+ "port": 8084,
28
+ "enableDebug": false,
29
+ "installPackages": [],
30
+ "volumes": [
31
+ {
32
+ "source": "/home/shookie/core-dev/@raclettejs/playground/workbench/plugins",
33
+ "target": "/app/src/workbenchPlugins",
34
+ "mustExist": true
35
+ }
36
+ ]
37
+ },
38
+ "mongodb": {
39
+ "enabled": true,
40
+ "port": 27017,
41
+ "name": "raclette-mongodb",
42
+ "volume": "raclette-mongodb",
43
+ "databaseName": "raclette"
44
+ },
45
+ "cache": {
46
+ "enabled": true,
47
+ "port": 6379,
48
+ "name": "raclette-cache",
49
+ "volume": "raclette-cache",
50
+ "db": 1
51
+ },
52
+ "workbench": {
53
+ "enabled": false,
54
+ "frontendPort": 8083,
55
+ "backendPort": 8084
56
+ }
57
+ },
58
+ "modules": [],
59
+ "plugins": [],
60
+ "env": {
61
+ "development": {
62
+ "RACLETTE_DEBUG_MODE": true
63
+ },
64
+ "production": {
65
+ "NODE_ENV": "production"
66
+ }
67
+ },
68
+ "global": {
69
+ "requireAuthentication": true,
70
+ "requiresAuthentication": true
71
+ },
72
+ "frontend": {
73
+ "framework": "vue",
74
+ "i18n": {
75
+ "locales": [
76
+ "en-EU"
77
+ ],
78
+ "priorities": {
79
+ "app": 10,
80
+ ".": 30,
81
+ "app-workbench": 5,
82
+ "app-app": 7
83
+ }
84
+ },
85
+ "vue": {
86
+ "plugins": []
87
+ },
88
+ "meta": {
89
+ "title": "Workbench"
90
+ },
91
+ "preventNotifications": {
92
+ "checkToken": {
93
+ "status": 500
94
+ }
95
+ }
96
+ },
97
+ "backend": {
98
+ "sockets": {
99
+ "autoSend": {
100
+ "compositions": false,
101
+ "interactionLinks": false,
102
+ "projectConfig": true,
103
+ "customData": {
104
+ "compositions": [
105
+ {
106
+ "_id": "compositionList",
107
+ "pathname": {
108
+ "default": "composition-list"
109
+ },
110
+ "widgetsLayout": [
111
+ [
112
+ {
113
+ "column": 12,
114
+ "widget": {
115
+ "uuid": "compositionList",
116
+ "name": "CompositionList",
117
+ "pluginKey": "pacifico__compositions"
118
+ }
119
+ }
120
+ ]
121
+ ]
122
+ },
123
+ {
124
+ "_id": "compositionCreate",
125
+ "pathname": {
126
+ "default": "composition-create"
127
+ },
128
+ "widgetsLayout": [
129
+ [
130
+ {
131
+ "column": 12,
132
+ "widget": {
133
+ "uuid": "compositionCreate",
134
+ "name": "CompositionCreate",
135
+ "pluginKey": "pacifico__compositions"
136
+ }
137
+ }
138
+ ]
139
+ ]
140
+ },
141
+ {
142
+ "_id": "compositionEdit",
143
+ "pathname": {
144
+ "default": "composition-edit"
145
+ },
146
+ "widgetsLayout": [
147
+ [
148
+ {
149
+ "column": 12,
150
+ "widget": {
151
+ "uuid": "compositionEdit",
152
+ "name": "CompositionEdit",
153
+ "pluginKey": "pacifico__compositions"
154
+ }
155
+ }
156
+ ]
157
+ ],
158
+ "queryParameters": [
159
+ "id"
160
+ ]
161
+ },
162
+ {
163
+ "_id": "interactionLinkList",
164
+ "pathname": {
165
+ "default": "interactionLink-list"
166
+ },
167
+ "widgetsLayout": [
168
+ [
169
+ {
170
+ "column": 12,
171
+ "widget": {
172
+ "uuid": "interactionLinkList",
173
+ "name": "InteractionLinkList",
174
+ "pluginKey": "pacifico__interactionlinks"
175
+ }
176
+ }
177
+ ]
178
+ ]
179
+ },
180
+ {
181
+ "_id": "interactionLinkCreate",
182
+ "pathname": {
183
+ "default": "interactionLink-create"
184
+ },
185
+ "widgetsLayout": [
186
+ [
187
+ {
188
+ "column": 12,
189
+ "widget": {
190
+ "uuid": "interactionLinkCreate",
191
+ "name": "InteractionLinkCreate",
192
+ "pluginKey": "pacifico__interactionlinks"
193
+ }
194
+ }
195
+ ]
196
+ ]
197
+ },
198
+ {
199
+ "_id": "interactionLinkEdit",
200
+ "pathname": {
201
+ "default": "interactionLink-edit"
202
+ },
203
+ "widgetsLayout": [
204
+ [
205
+ {
206
+ "column": 12,
207
+ "widget": {
208
+ "uuid": "interactionLinkEdit",
209
+ "name": "InteractionLinkEdit",
210
+ "pluginKey": "pacifico__interactionlinks"
211
+ }
212
+ }
213
+ ]
214
+ ],
215
+ "queryParameters": [
216
+ "id"
217
+ ]
218
+ },
219
+ {
220
+ "_id": "userList",
221
+ "pathname": {
222
+ "default": "user-list"
223
+ },
224
+ "widgetsLayout": [
225
+ [
226
+ {
227
+ "column": 12,
228
+ "widget": {
229
+ "uuid": "userList",
230
+ "name": "UserList",
231
+ "pluginKey": "pacifico__users"
232
+ }
233
+ }
234
+ ]
235
+ ]
236
+ },
237
+ {
238
+ "_id": "userCreate",
239
+ "pathname": {
240
+ "default": "user-create"
241
+ },
242
+ "widgetsLayout": [
243
+ [
244
+ {
245
+ "column": 12,
246
+ "widget": {
247
+ "uuid": "userCreate",
248
+ "name": "UserCreate",
249
+ "pluginKey": "pacifico__users"
250
+ }
251
+ }
252
+ ]
253
+ ]
254
+ },
255
+ {
256
+ "_id": "userEdit",
257
+ "pathname": {
258
+ "default": "user-edit"
259
+ },
260
+ "widgetsLayout": [
261
+ [
262
+ {
263
+ "column": 12,
264
+ "widget": {
265
+ "uuid": "userEdit",
266
+ "name": "UserEdit",
267
+ "pluginKey": "pacifico__users"
268
+ }
269
+ }
270
+ ]
271
+ ],
272
+ "queryParameters": [
273
+ "id"
274
+ ]
275
+ },
276
+ {
277
+ "_id": "tagList",
278
+ "pathname": {
279
+ "default": "tag-list"
280
+ },
281
+ "widgetsLayout": [
282
+ [
283
+ {
284
+ "column": 12,
285
+ "widget": {
286
+ "uuid": "tagList",
287
+ "name": "TagList",
288
+ "pluginKey": "pacifico__tags"
289
+ }
290
+ }
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "_id": "tagCreate",
296
+ "pathname": {
297
+ "default": "tag-create"
298
+ },
299
+ "widgetsLayout": [
300
+ [
301
+ {
302
+ "column": 12,
303
+ "widget": {
304
+ "uuid": "tagCreate",
305
+ "name": "TagCreate",
306
+ "pluginKey": "pacifico__tags"
307
+ }
308
+ }
309
+ ]
310
+ ]
311
+ },
312
+ {
313
+ "_id": "tagEdit",
314
+ "pathname": {
315
+ "default": "tag-edit"
316
+ },
317
+ "widgetsLayout": [
318
+ [
319
+ {
320
+ "column": 12,
321
+ "widget": {
322
+ "uuid": "tagEdit",
323
+ "name": "TagEdit",
324
+ "pluginKey": "pacifico__tags"
325
+ }
326
+ }
327
+ ]
328
+ ],
329
+ "queryParameters": [
330
+ "id"
331
+ ]
332
+ },
333
+ {
334
+ "_id": "pluginList",
335
+ "pathname": {
336
+ "default": "plugin-list"
337
+ },
338
+ "widgetsLayout": [
339
+ [
340
+ {
341
+ "column": 12,
342
+ "widget": {
343
+ "uuid": "pluginList",
344
+ "name": "PluginList",
345
+ "pluginKey": "pacifico__plugins"
346
+ }
347
+ }
348
+ ]
349
+ ]
350
+ },
351
+ {
352
+ "_id": "pluginDetail",
353
+ "pathname": {
354
+ "default": "plugin-detail"
355
+ },
356
+ "widgetsLayout": [
357
+ [
358
+ {
359
+ "column": 12,
360
+ "widget": {
361
+ "uuid": "pluginDetail",
362
+ "name": "PluginDetail",
363
+ "pluginKey": "pacifico__plugins"
364
+ }
365
+ }
366
+ ]
367
+ ],
368
+ "queryParameters": [
369
+ "id"
370
+ ]
371
+ },
372
+ {
373
+ "_id": "projectDetail",
374
+ "pathname": {
375
+ "default": "project-detail"
376
+ },
377
+ "widgetsLayout": [
378
+ [
379
+ {
380
+ "column": 12,
381
+ "widget": {
382
+ "uuid": "ProjectDetail",
383
+ "name": "ProjectDetail",
384
+ "pluginKey": "pacifico__project"
385
+ }
386
+ }
387
+ ]
388
+ ]
389
+ }
390
+ ],
391
+ "interactionLinks": [
392
+ {
393
+ "_id": "compositionListInteractionLink",
394
+ "composition": "compositionList",
395
+ "slotType": "page",
396
+ "triggers": [
397
+ {
398
+ "type": "page-navigation",
399
+ "settings": {
400
+ "icon": "mdi-file-document",
401
+ "title": {
402
+ "default": "Compositions",
403
+ "de": "Kompositionen"
404
+ },
405
+ "sortOrder": 0,
406
+ "navigationBarType": "navItem"
407
+ }
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "_id": "compositionCreateInteractionLink",
413
+ "composition": "compositionCreate",
414
+ "slotType": "page",
415
+ "triggers": []
416
+ },
417
+ {
418
+ "_id": "compositionEditInteractionLink",
419
+ "composition": "compositionEdit",
420
+ "slotType": "page",
421
+ "triggers": [],
422
+ "queryParameters": [
423
+ "id"
424
+ ]
425
+ },
426
+ {
427
+ "_id": "interactionLinkListInteractionLink",
428
+ "composition": "interactionLinkList",
429
+ "slotType": "page",
430
+ "triggers": [
431
+ {
432
+ "type": "page-navigation",
433
+ "settings": {
434
+ "icon": "mdi-link-box-variant",
435
+ "title": {
436
+ "default": "Interaction Links",
437
+ "de": "Interaktionslinks"
438
+ },
439
+ "sortOrder": 1,
440
+ "navigationBarType": "navItem"
441
+ }
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ "_id": "interactionLinkCreateInteractionLink",
447
+ "composition": "interactionLinkCreate",
448
+ "slotType": "page",
449
+ "triggers": []
450
+ },
451
+ {
452
+ "_id": "interactionLinkEditInteractionLink",
453
+ "composition": "interactionLinkEdit",
454
+ "slotType": "page",
455
+ "triggers": [],
456
+ "queryParameters": [
457
+ "id"
458
+ ]
459
+ },
460
+ {
461
+ "_id": "userListInteractionLink",
462
+ "composition": "userList",
463
+ "slotType": "page",
464
+ "triggers": [
465
+ {
466
+ "type": "page-navigation",
467
+ "settings": {
468
+ "icon": "mdi-account-details",
469
+ "title": {
470
+ "default": "Users",
471
+ "de": "Nutzer"
472
+ },
473
+ "sortOrder": 2,
474
+ "navigationBarType": "navItem"
475
+ }
476
+ }
477
+ ]
478
+ },
479
+ {
480
+ "_id": "userCreateInteractionLink",
481
+ "composition": "userCreate",
482
+ "slotType": "page",
483
+ "triggers": []
484
+ },
485
+ {
486
+ "_id": "userEditInteractionLink",
487
+ "composition": "userEdit",
488
+ "slotType": "page",
489
+ "triggers": [],
490
+ "queryParameters": [
491
+ "id"
492
+ ]
493
+ },
494
+ {
495
+ "_id": "tagListInteractionLink",
496
+ "composition": "tagList",
497
+ "slotType": "page",
498
+ "triggers": [
499
+ {
500
+ "type": "page-navigation",
501
+ "settings": {
502
+ "icon": "mdi-tag",
503
+ "title": {
504
+ "default": "Tags",
505
+ "de": "Tags"
506
+ },
507
+ "sortOrder": 3,
508
+ "navigationBarType": "navItem"
509
+ }
510
+ }
511
+ ]
512
+ },
513
+ {
514
+ "_id": "tagCreateInteractionLink",
515
+ "composition": "tagCreate",
516
+ "slotType": "page",
517
+ "triggers": []
518
+ },
519
+ {
520
+ "_id": "tagEditInteractionLink",
521
+ "composition": "tagEdit",
522
+ "slotType": "page",
523
+ "triggers": [],
524
+ "queryParameters": [
525
+ "id"
526
+ ]
527
+ },
528
+ {
529
+ "_id": "pluginListInteractionLink",
530
+ "composition": "pluginList",
531
+ "slotType": "page",
532
+ "triggers": [
533
+ {
534
+ "type": "page-navigation",
535
+ "settings": {
536
+ "icon": "mdi-puzzle",
537
+ "title": {
538
+ "default": "Plugins",
539
+ "de": "Plugins"
540
+ },
541
+ "sortOrder": 4,
542
+ "navigationBarType": "navItem"
543
+ }
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "_id": "pluginDetailInteractionLink",
549
+ "composition": "pluginDetail",
550
+ "slotType": "page",
551
+ "triggers": [],
552
+ "queryParameters": [
553
+ "pluginKey"
554
+ ]
555
+ },
556
+ {
557
+ "_id": "projectDetailInteractionLink",
558
+ "composition": "projectDetail",
559
+ "slotType": "page",
560
+ "triggers": [
561
+ {
562
+ "type": "page-navigation",
563
+ "settings": {
564
+ "icon": "mdi-application-cog",
565
+ "title": {
566
+ "default": "Project",
567
+ "de": "Projekt"
568
+ },
569
+ "sortOrder": 0,
570
+ "navigationBarType": "footerItem"
571
+ }
572
+ }
573
+ ]
574
+ }
575
+ ]
576
+ }
577
+ },
578
+ "security": {
579
+ "requireAuth": true,
580
+ "tokenValidation": "jwt"
581
+ },
582
+ "options": {
583
+ "adapter": "memory",
584
+ "connectionTimeout": 3000,
585
+ "pingInterval": 1500,
586
+ "pingTimeout": 1000
587
+ }
588
+ },
589
+ "additionalPluginPaths": [
590
+ "/app/src/workbenchPlugins"
591
+ ],
592
+ "onlyAllowLoginWithAdminTag": true
593
+ },
594
+ "sourceDirectories": [
595
+ {
596
+ "name": "external-app-shared",
597
+ "path": "/home/shookie/core-dev/@raclettejs/playground/shared",
598
+ "priority": 15,
599
+ "folderMappings": {
600
+ ".": "backend/src/shared/app"
601
+ }
602
+ },
603
+ {
604
+ "name": "external-app-workbench-i18n",
605
+ "path": "/home/shookie/core-dev/@raclettejs/playground",
606
+ "priority": 9,
607
+ "folderMappings": {
608
+ "./i18n": "frontend/src/orchestrator/i18n/app-app",
609
+ "./workbench/i18n": "frontend/src/orchestrator/i18n/app-workbench"
610
+ }
611
+ }
612
+ ],
613
+ "packageMerging": {
614
+ "frontend": [
615
+ {
616
+ "file": "./packages.json",
617
+ "key": "frontend"
618
+ },
619
+ {
620
+ "file": "/home/shookie/core-dev/@raclettejs/playground/packages.json",
621
+ "key": "workbench.frontend"
622
+ }
623
+ ],
624
+ "backend": [
625
+ {
626
+ "file": "./packages.json",
627
+ "key": "backend"
628
+ },
629
+ {
630
+ "file": "/home/shookie/core-dev/@raclettejs/playground/packages.json",
631
+ "key": "workbench.backend"
632
+ }
633
+ ]
634
+ },
635
+ "lockFiles": {
636
+ "frontend": "/home/shookie/core-dev/@raclettejs/playground/workbench.frontend.yarn.lock",
637
+ "backend": "/home/shookie/core-dev/@raclettejs/playground/workbench.backend.yarn.lock"
638
+ },
639
+ "root": ".raclette",
640
+ "eslint": {
641
+ "useRecommended": true
642
+ }
643
+ };