@plurid/plurid-data 0.0.0-2 → 0.0.0-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/distribution/constants/compare/index.d.ts +1 -1
- package/distribution/constants/configuration/index.d.ts +1 -1
- package/distribution/constants/defaults/index.d.ts +3 -0
- package/distribution/constants/general/index.d.ts +6 -0
- package/distribution/constants/index.d.ts +13 -11
- package/distribution/constants/internationalization/chinese/index.d.ts +1 -1
- package/distribution/constants/internationalization/english/index.d.ts +1 -1
- package/distribution/constants/internationalization/fields.d.ts +82 -2
- package/distribution/constants/internationalization/french/index.d.ts +1 -1
- package/distribution/constants/internationalization/german/index.d.ts +1 -1
- package/distribution/constants/internationalization/hindi/index.d.ts +1 -1
- package/distribution/constants/internationalization/index.d.ts +93 -12
- package/distribution/constants/internationalization/italian/index.d.ts +1 -1
- package/distribution/constants/internationalization/japanese/index.d.ts +1 -1
- package/distribution/constants/internationalization/languages.d.ts +1 -1
- package/distribution/constants/internationalization/romanian/index.d.ts +1 -1
- package/distribution/constants/internationalization/russian/index.d.ts +1 -1
- package/distribution/constants/internationalization/spanish/index.d.ts +1 -1
- package/distribution/constants/keys/index.d.ts +1 -1
- package/distribution/constants/protocols/index.d.ts +9 -0
- package/distribution/constants/pubsub/index.d.ts +38 -30
- package/distribution/constants/shortcuts/index.d.ts +2 -2
- package/distribution/constants/space/index.d.ts +1 -0
- package/distribution/constants/tree/index.d.ts +1 -1
- package/distribution/enumerations/general/index.d.ts +10 -1
- package/distribution/enumerations/index.d.ts +1 -1
- package/distribution/index.d.ts +3 -3
- package/distribution/index.es.js +231 -2
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +250 -1
- package/distribution/index.js.map +1 -1
- package/distribution/interfaces/external/application/index.d.ts +52 -14
- package/distribution/interfaces/external/component/index.d.ts +20 -39
- package/distribution/interfaces/external/configuration/index.d.ts +19 -8
- package/distribution/interfaces/external/configurator/index.d.ts +3 -4
- package/distribution/interfaces/external/index.d.ts +17 -16
- package/distribution/interfaces/external/internationalization/index.d.ts +15 -0
- package/distribution/interfaces/external/link/index.d.ts +5 -7
- package/distribution/interfaces/external/metastate/index.d.ts +1 -1
- package/distribution/interfaces/external/plane/index.d.ts +31 -26
- package/distribution/interfaces/external/pubsub/index.d.ts +4 -5
- package/distribution/interfaces/external/pubsub/message.d.ts +103 -9
- package/distribution/interfaces/external/registrar/index.d.ts +5 -5
- package/distribution/interfaces/external/router/fragment/index.d.ts +18 -0
- package/distribution/interfaces/external/router/index.d.ts +27 -208
- package/distribution/interfaces/external/router/multispace/index.d.ts +14 -0
- package/distribution/interfaces/external/router/preserve/index.d.ts +70 -0
- package/distribution/interfaces/external/router/route/index.d.ts +171 -0
- package/distribution/interfaces/external/routing/index.d.ts +58 -0
- package/distribution/interfaces/external/universe/index.d.ts +5 -22
- package/distribution/interfaces/external/window/index.d.ts +3 -3
- package/distribution/interfaces/index.d.ts +3 -3
- package/distribution/interfaces/internal/context/index.d.ts +12 -5
- package/distribution/interfaces/internal/index.d.ts +5 -7
- package/distribution/interfaces/internal/shortcuts/index.d.ts +1 -1
- package/distribution/interfaces/internal/state/index.d.ts +11 -7
- package/distribution/interfaces/internal/transform/index.d.ts +9 -0
- package/distribution/interfaces/internal/tree/index.d.ts +1 -1
- package/package.json +16 -16
- package/distribution/interfaces/external/cluster/index.d.ts +0 -9
- package/distribution/interfaces/internal/internationalization/index.d.ts +0 -157
- package/distribution/interfaces/internal/plane/index.d.ts +0 -10
- package/distribution/interfaces/internal/universe/index.d.ts +0 -27
package/distribution/index.js
CHANGED
|
@@ -41,6 +41,15 @@ exports.SHORTCUTS = void 0;
|
|
|
41
41
|
SHORTCUTS["SCALE_UP"] = "SCALE_UP";
|
|
42
42
|
SHORTCUTS["SCALE_DOWN"] = "SCALE_DOWN";
|
|
43
43
|
SHORTCUTS["TOGGLE_SCALE"] = "TOGGLE_SCALE";
|
|
44
|
+
SHORTCUTS["FOCUS_PLANE"] = "FOCUS_PLANE";
|
|
45
|
+
SHORTCUTS["FOCUS_PARENT"] = "FOCUS_PARENT";
|
|
46
|
+
SHORTCUTS["REFRESH_PLANE"] = "REFRESH_PLANE";
|
|
47
|
+
SHORTCUTS["ISOLATE_PLANE"] = "ISOLATE_PLANE";
|
|
48
|
+
SHORTCUTS["OPEN_CLOSED_PLANE"] = "OPEN_CLOSED_PLANE";
|
|
49
|
+
SHORTCUTS["CLOSE_PLANE"] = "CLOSE_PLANE";
|
|
50
|
+
SHORTCUTS["PREVIOUS_ROOT"] = "PREVIOUS_ROOT";
|
|
51
|
+
SHORTCUTS["NEXT_ROOT"] = "NEXT_ROOT";
|
|
52
|
+
SHORTCUTS["FOCUS_ROOT"] = "FOCUS_ROOT";
|
|
44
53
|
})(exports.SHORTCUTS || (exports.SHORTCUTS = {}));
|
|
45
54
|
|
|
46
55
|
exports.KEY_MODIFIERS = void 0;
|
|
@@ -139,6 +148,12 @@ const PLURID_DEFAULT_CONFIGURATION_NETWORK_HOST = "originhost";
|
|
|
139
148
|
|
|
140
149
|
const PLURID_ROUTER_STORAGE = "__PLURID_ROUTER__";
|
|
141
150
|
|
|
151
|
+
const PLURID_DEFAULT_RESIZE_DEBOUNCE_TIME = 50;
|
|
152
|
+
|
|
153
|
+
const PLURID_DEFAULT_PREVENT_OVERSCROLL_TIMEOUT = 250;
|
|
154
|
+
|
|
155
|
+
const PLURID_DEFAULT_ANIMATED_TRANSFORM_TIMEOUT = 500;
|
|
156
|
+
|
|
142
157
|
const defaultConfigurationGlobal = {
|
|
143
158
|
micro: false,
|
|
144
159
|
theme: {
|
|
@@ -157,6 +172,7 @@ const defaultConfigurationElements = {
|
|
|
157
172
|
conceal: false,
|
|
158
173
|
transformIcons: false,
|
|
159
174
|
transformButtons: false,
|
|
175
|
+
drawers: [],
|
|
160
176
|
toggledDrawers: []
|
|
161
177
|
},
|
|
162
178
|
viewcube: {
|
|
@@ -170,6 +186,7 @@ const defaultConfigurationElements = {
|
|
|
170
186
|
opacity: 1,
|
|
171
187
|
controls: {
|
|
172
188
|
show: true,
|
|
189
|
+
title: true,
|
|
173
190
|
pathbar: {
|
|
174
191
|
domainURL: true
|
|
175
192
|
}
|
|
@@ -197,6 +214,7 @@ const defaultConfigurationSpace = {
|
|
|
197
214
|
},
|
|
198
215
|
perspective: 2e3,
|
|
199
216
|
opaque: true,
|
|
217
|
+
fadeInTime: 1500,
|
|
200
218
|
center: false,
|
|
201
219
|
transformOrigin: {
|
|
202
220
|
show: true,
|
|
@@ -284,6 +302,13 @@ const PLURID_ROUTER_LOCATION_CHANGED = "pluridrouterlocationchanged";
|
|
|
284
302
|
|
|
285
303
|
const PLURID_ROUTER_LOCATION_STORED = "pluridrouterlocationstored";
|
|
286
304
|
|
|
305
|
+
const directions = {
|
|
306
|
+
left: "left",
|
|
307
|
+
right: "right",
|
|
308
|
+
up: "up",
|
|
309
|
+
down: "down"
|
|
310
|
+
};
|
|
311
|
+
|
|
287
312
|
const chinese = {
|
|
288
313
|
viewcubeFront: "面前",
|
|
289
314
|
viewcubeBack: "背部",
|
|
@@ -352,6 +377,15 @@ const chinese = {
|
|
|
352
377
|
toolbarDrawerShortcutsScaleUp: "放大",
|
|
353
378
|
toolbarDrawerShortcutsScaleDown: "缩小",
|
|
354
379
|
toolbarDrawerShortcutsToggleScale: "切换刻度",
|
|
380
|
+
toolbarDrawerShortcutsFocusPlane: "焦平面",
|
|
381
|
+
toolbarDrawerShortcutsFocusParent: "焦點父母",
|
|
382
|
+
toolbarDrawerShortcutsRefreshPlane: "刷新平面",
|
|
383
|
+
toolbarDrawerShortcutsIsolatePlane: "隔離平面",
|
|
384
|
+
toolbarDrawerShortcutsOpenClosedPlane: "開閉平面",
|
|
385
|
+
toolbarDrawerShortcutsClosePlane: "關閉平面",
|
|
386
|
+
toolbarDrawerShortcutsPreviousRoot: "前根",
|
|
387
|
+
toolbarDrawerShortcutsNextRoot: "下一個根",
|
|
388
|
+
toolbarDrawerShortcutsFocusRoot: "焦點根",
|
|
355
389
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ 或向上滚动",
|
|
356
390
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ 或向下滚动",
|
|
357
391
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← 或向左滚动",
|
|
@@ -426,6 +460,15 @@ const english = {
|
|
|
426
460
|
toolbarDrawerShortcutsScaleUp: "scale up",
|
|
427
461
|
toolbarDrawerShortcutsScaleDown: "scale down",
|
|
428
462
|
toolbarDrawerShortcutsToggleScale: "toggle scale",
|
|
463
|
+
toolbarDrawerShortcutsFocusPlane: "focus plane",
|
|
464
|
+
toolbarDrawerShortcutsFocusParent: "focus parent",
|
|
465
|
+
toolbarDrawerShortcutsRefreshPlane: "refresh plane",
|
|
466
|
+
toolbarDrawerShortcutsIsolatePlane: "isolate plane",
|
|
467
|
+
toolbarDrawerShortcutsOpenClosedPlane: "open closed plane",
|
|
468
|
+
toolbarDrawerShortcutsClosePlane: "close plane",
|
|
469
|
+
toolbarDrawerShortcutsPreviousRoot: "previous root",
|
|
470
|
+
toolbarDrawerShortcutsNextRoot: "next root",
|
|
471
|
+
toolbarDrawerShortcutsFocusRoot: "focus root",
|
|
429
472
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ or scroll up",
|
|
430
473
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ or scroll down",
|
|
431
474
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← or scroll left",
|
|
@@ -500,6 +543,15 @@ const french = {
|
|
|
500
543
|
toolbarDrawerShortcutsScaleUp: "augmenter",
|
|
501
544
|
toolbarDrawerShortcutsScaleDown: "réduire",
|
|
502
545
|
toolbarDrawerShortcutsToggleScale: "basculer l'échelle",
|
|
546
|
+
toolbarDrawerShortcutsFocusPlane: "plan actif",
|
|
547
|
+
toolbarDrawerShortcutsFocusParent: "plan parente",
|
|
548
|
+
toolbarDrawerShortcutsRefreshPlane: "plan rafraîchir",
|
|
549
|
+
toolbarDrawerShortcutsIsolatePlane: "isoler le plan",
|
|
550
|
+
toolbarDrawerShortcutsOpenClosedPlane: "ouvert fermé plan",
|
|
551
|
+
toolbarDrawerShortcutsClosePlane: "plan proche",
|
|
552
|
+
toolbarDrawerShortcutsPreviousRoot: "racine précédente",
|
|
553
|
+
toolbarDrawerShortcutsNextRoot: "racine suivante",
|
|
554
|
+
toolbarDrawerShortcutsFocusRoot: "focus racine",
|
|
503
555
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ ou scroll vers le haut",
|
|
504
556
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ ou scroll vers le bas",
|
|
505
557
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← ou scroll vers la gauche",
|
|
@@ -574,6 +626,15 @@ const german = {
|
|
|
574
626
|
toolbarDrawerShortcutsScaleUp: "vergrößern",
|
|
575
627
|
toolbarDrawerShortcutsScaleDown: "verkleinern",
|
|
576
628
|
toolbarDrawerShortcutsToggleScale: "skala umschalten",
|
|
629
|
+
toolbarDrawerShortcutsFocusPlane: "fokusebene",
|
|
630
|
+
toolbarDrawerShortcutsFocusParent: "fokus elternteil",
|
|
631
|
+
toolbarDrawerShortcutsRefreshPlane: "ebene auffrischen",
|
|
632
|
+
toolbarDrawerShortcutsIsolatePlane: "ebene isolieren",
|
|
633
|
+
toolbarDrawerShortcutsOpenClosedPlane: "offen geschlossen ebene",
|
|
634
|
+
toolbarDrawerShortcutsClosePlane: "ebene schließen",
|
|
635
|
+
toolbarDrawerShortcutsPreviousRoot: "vorherige wurzel",
|
|
636
|
+
toolbarDrawerShortcutsNextRoot: "nächste wurzel",
|
|
637
|
+
toolbarDrawerShortcutsFocusRoot: "fokus wurzel",
|
|
577
638
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ oder nach oben scrollen",
|
|
578
639
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ oder nach unten scrollen",
|
|
579
640
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← oder nach links scrollen",
|
|
@@ -648,6 +709,15 @@ const hindi = {
|
|
|
648
709
|
toolbarDrawerShortcutsScaleUp: "स्केल अप",
|
|
649
710
|
toolbarDrawerShortcutsScaleDown: "घटाना",
|
|
650
711
|
toolbarDrawerShortcutsToggleScale: "टॉगल स्केल",
|
|
712
|
+
toolbarDrawerShortcutsFocusPlane: "फोकस प्लेन",
|
|
713
|
+
toolbarDrawerShortcutsFocusParent: "ध्यान माता-पिता",
|
|
714
|
+
toolbarDrawerShortcutsRefreshPlane: "ताज़ा विमान",
|
|
715
|
+
toolbarDrawerShortcutsIsolatePlane: "अलग विमान",
|
|
716
|
+
toolbarDrawerShortcutsOpenClosedPlane: "खुला बंद विमान",
|
|
717
|
+
toolbarDrawerShortcutsClosePlane: "बंद विमान",
|
|
718
|
+
toolbarDrawerShortcutsPreviousRoot: "पिछली जड़",
|
|
719
|
+
toolbarDrawerShortcutsNextRoot: "अगली जड़",
|
|
720
|
+
toolbarDrawerShortcutsFocusRoot: "फोकस रूट",
|
|
651
721
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ या स्क्रॉल करें",
|
|
652
722
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ या नीचे स्क्रॉल करें",
|
|
653
723
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← या बाईं ओर स्क्रॉल करें",
|
|
@@ -722,6 +792,15 @@ const italian = {
|
|
|
722
792
|
toolbarDrawerShortcutsScaleUp: "scalare a su",
|
|
723
793
|
toolbarDrawerShortcutsScaleDown: "scalare a giù",
|
|
724
794
|
toolbarDrawerShortcutsToggleScale: "attiva / disattiva la scala",
|
|
795
|
+
toolbarDrawerShortcutsFocusPlane: "piano attivo",
|
|
796
|
+
toolbarDrawerShortcutsFocusParent: "piano genitore",
|
|
797
|
+
toolbarDrawerShortcutsRefreshPlane: "ristorare piano",
|
|
798
|
+
toolbarDrawerShortcutsIsolatePlane: "isolare il piano",
|
|
799
|
+
toolbarDrawerShortcutsOpenClosedPlane: "piano chiuso aperto",
|
|
800
|
+
toolbarDrawerShortcutsClosePlane: "vicino piano",
|
|
801
|
+
toolbarDrawerShortcutsPreviousRoot: "radice precedente",
|
|
802
|
+
toolbarDrawerShortcutsNextRoot: "radice successiva",
|
|
803
|
+
toolbarDrawerShortcutsFocusRoot: "radice di messa a fuoco",
|
|
725
804
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ o scorrere verso l'alto",
|
|
726
805
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ o scorrere verso il basso",
|
|
727
806
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← o scorrere verso sinistra",
|
|
@@ -796,6 +875,15 @@ const japanese = {
|
|
|
796
875
|
toolbarDrawerShortcutsScaleUp: "拡大する",
|
|
797
876
|
toolbarDrawerShortcutsScaleDown: "縮小する",
|
|
798
877
|
toolbarDrawerShortcutsToggleScale: "トグルスケール",
|
|
878
|
+
toolbarDrawerShortcutsFocusPlane: "フォーカス プレーン",
|
|
879
|
+
toolbarDrawerShortcutsFocusParent: "フォーカスの親",
|
|
880
|
+
toolbarDrawerShortcutsRefreshPlane: "飛行機をリフレッシュ",
|
|
881
|
+
toolbarDrawerShortcutsIsolatePlane: "分離平面",
|
|
882
|
+
toolbarDrawerShortcutsOpenClosedPlane: "閉じた平面を開く",
|
|
883
|
+
toolbarDrawerShortcutsClosePlane: "平面を閉じる",
|
|
884
|
+
toolbarDrawerShortcutsPreviousRoot: "前のルート",
|
|
885
|
+
toolbarDrawerShortcutsNextRoot: "次のルート",
|
|
886
|
+
toolbarDrawerShortcutsFocusRoot: "フォーカス ルート",
|
|
799
887
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ または上にスクロールします",
|
|
800
888
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ または下にスクロールします",
|
|
801
889
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← または左にスクロール",
|
|
@@ -870,6 +958,15 @@ const romanian = {
|
|
|
870
958
|
toolbarDrawerShortcutsScaleUp: "scalare în sus",
|
|
871
959
|
toolbarDrawerShortcutsScaleDown: "scalare în jos",
|
|
872
960
|
toolbarDrawerShortcutsToggleScale: "comutare scalare",
|
|
961
|
+
toolbarDrawerShortcutsFocusPlane: "focus plan",
|
|
962
|
+
toolbarDrawerShortcutsFocusParent: "focus părinte",
|
|
963
|
+
toolbarDrawerShortcutsRefreshPlane: "restaurare plan",
|
|
964
|
+
toolbarDrawerShortcutsIsolatePlane: "izolare plane",
|
|
965
|
+
toolbarDrawerShortcutsOpenClosedPlane: "deschidere plan închis",
|
|
966
|
+
toolbarDrawerShortcutsClosePlane: "închidere plan",
|
|
967
|
+
toolbarDrawerShortcutsPreviousRoot: "rădăcina anterioară",
|
|
968
|
+
toolbarDrawerShortcutsNextRoot: "rădăcina următoare",
|
|
969
|
+
toolbarDrawerShortcutsFocusRoot: "focus rădăcină",
|
|
873
970
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ sau scroll sus",
|
|
874
971
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ sau scroll jos",
|
|
875
972
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← sau scroll stânga",
|
|
@@ -944,6 +1041,15 @@ const russian = {
|
|
|
944
1041
|
toolbarDrawerShortcutsScaleUp: "увеличить масштаб",
|
|
945
1042
|
toolbarDrawerShortcutsScaleDown: "уменьшать",
|
|
946
1043
|
toolbarDrawerShortcutsToggleScale: "шкала переключения",
|
|
1044
|
+
toolbarDrawerShortcutsFocusPlane: "плоскость фокусировки",
|
|
1045
|
+
toolbarDrawerShortcutsFocusParent: "фокус родитель",
|
|
1046
|
+
toolbarDrawerShortcutsRefreshPlane: "обновить самолет",
|
|
1047
|
+
toolbarDrawerShortcutsIsolatePlane: "изолировать самолет",
|
|
1048
|
+
toolbarDrawerShortcutsOpenClosedPlane: "открытая закрытая плоскость",
|
|
1049
|
+
toolbarDrawerShortcutsClosePlane: "близкий самолет",
|
|
1050
|
+
toolbarDrawerShortcutsPreviousRoot: "предыдущий корень",
|
|
1051
|
+
toolbarDrawerShortcutsNextRoot: "следующий корень",
|
|
1052
|
+
toolbarDrawerShortcutsFocusRoot: "корень фокуса",
|
|
947
1053
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ или прокрутите вверх",
|
|
948
1054
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ или прокрутите вниз",
|
|
949
1055
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← или прокрутите влево",
|
|
@@ -1018,6 +1124,15 @@ const spanish = {
|
|
|
1018
1124
|
toolbarDrawerShortcutsScaleUp: "aumentar proporcionalmente",
|
|
1019
1125
|
toolbarDrawerShortcutsScaleDown: "reducir proporcionalmente",
|
|
1020
1126
|
toolbarDrawerShortcutsToggleScale: "alternar escala",
|
|
1127
|
+
toolbarDrawerShortcutsFocusPlane: "plano de enfoque",
|
|
1128
|
+
toolbarDrawerShortcutsFocusParent: "plano parent",
|
|
1129
|
+
toolbarDrawerShortcutsRefreshPlane: "actualizar plano",
|
|
1130
|
+
toolbarDrawerShortcutsIsolatePlane: "aislar plano",
|
|
1131
|
+
toolbarDrawerShortcutsOpenClosedPlane: "plano cerrado abierto",
|
|
1132
|
+
toolbarDrawerShortcutsClosePlane: "plano cercano",
|
|
1133
|
+
toolbarDrawerShortcutsPreviousRoot: "raíz anterior",
|
|
1134
|
+
toolbarDrawerShortcutsNextRoot: "siguiente raíz",
|
|
1135
|
+
toolbarDrawerShortcutsFocusRoot: "raíz de enfoque",
|
|
1021
1136
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ o desplazarse hacia arriba",
|
|
1022
1137
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ o desplazarse hacia abajo",
|
|
1023
1138
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← o desplazarse hacia la izquierda",
|
|
@@ -1092,6 +1207,15 @@ const internationalizationFields$1 = {
|
|
|
1092
1207
|
toolbarDrawerShortcutsScaleUp: "toolbarDrawerShortcutsScaleUp",
|
|
1093
1208
|
toolbarDrawerShortcutsScaleDown: "toolbarDrawerShortcutsScaleDown",
|
|
1094
1209
|
toolbarDrawerShortcutsToggleScale: "toolbarDrawerShortcutsToggleScale",
|
|
1210
|
+
toolbarDrawerShortcutsFocusPlane: "toolbarDrawerShortcutsFocusPlane",
|
|
1211
|
+
toolbarDrawerShortcutsFocusParent: "toolbarDrawerShortcutsFocusParent",
|
|
1212
|
+
toolbarDrawerShortcutsRefreshPlane: "toolbarDrawerShortcutsRefreshPlane",
|
|
1213
|
+
toolbarDrawerShortcutsIsolatePlane: "toolbarDrawerShortcutsIsolatePlane",
|
|
1214
|
+
toolbarDrawerShortcutsOpenClosedPlane: "toolbarDrawerShortcutsOpenClosedPlane",
|
|
1215
|
+
toolbarDrawerShortcutsClosePlane: "toolbarDrawerShortcutsClosePlane",
|
|
1216
|
+
toolbarDrawerShortcutsPreviousRoot: "toolbarDrawerShortcutsPreviousRoot",
|
|
1217
|
+
toolbarDrawerShortcutsNextRoot: "toolbarDrawerShortcutsNextRoot",
|
|
1218
|
+
toolbarDrawerShortcutsFocusRoot: "toolbarDrawerShortcutsFocusRoot",
|
|
1095
1219
|
toolbarDrawerShortcutsArrowOrScrollUp: "toolbarDrawerShortcutsArrowOrScrollUp",
|
|
1096
1220
|
toolbarDrawerShortcutsArrowOrScrollDown: "toolbarDrawerShortcutsArrowOrScrollDown",
|
|
1097
1221
|
toolbarDrawerShortcutsArrowOrScrollLeft: "toolbarDrawerShortcutsArrowOrScrollLeft",
|
|
@@ -1123,6 +1247,20 @@ const keyModifiers = {
|
|
|
1123
1247
|
CTRLMETA: "⌃/⌘"
|
|
1124
1248
|
};
|
|
1125
1249
|
|
|
1250
|
+
const PROTOCOL_SEPARATOR = "://";
|
|
1251
|
+
|
|
1252
|
+
const HTTP_PROTOCOL = "http";
|
|
1253
|
+
|
|
1254
|
+
const HTTPS_PROTOCOL = "https";
|
|
1255
|
+
|
|
1256
|
+
const PLURID_PROTOCOL = "plurid";
|
|
1257
|
+
|
|
1258
|
+
const protocols = {
|
|
1259
|
+
http: HTTP_PROTOCOL + PROTOCOL_SEPARATOR,
|
|
1260
|
+
https: HTTPS_PROTOCOL + PROTOCOL_SEPARATOR,
|
|
1261
|
+
plurid: PLURID_PROTOCOL + PROTOCOL_SEPARATOR
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1126
1264
|
const PLURID_PUBSUB_TOPIC = {
|
|
1127
1265
|
CONFIGURATION: "configuration",
|
|
1128
1266
|
SPACE_ANIMATED_TRANSFORM: "space.animatedTransform",
|
|
@@ -1150,7 +1288,15 @@ const PLURID_PUBSUB_TOPIC = {
|
|
|
1150
1288
|
SPACE_TRANSFORM: "space.transform",
|
|
1151
1289
|
VIEW_ADD_PLANE: "view.addPlane",
|
|
1152
1290
|
VIEW_SET_PLANES: "view.setPlanes",
|
|
1153
|
-
VIEW_REMOVE_PLANE: "view.removePlane"
|
|
1291
|
+
VIEW_REMOVE_PLANE: "view.removePlane",
|
|
1292
|
+
NAVIGATE_TO_PLANE: "space.navigateToPlane",
|
|
1293
|
+
REFRESH_PLANE: "space.refreshPlane",
|
|
1294
|
+
ISOLATE_PLANE: "space.isolatePlane",
|
|
1295
|
+
OPEN_CLOSED_PLANE: "space.openClosedPlane",
|
|
1296
|
+
CLOSE_PLANE: "space.closePlane",
|
|
1297
|
+
PREVIOUS_ROOT: "space.previousRoot",
|
|
1298
|
+
NEXT_ROOT: "space.nextRoot",
|
|
1299
|
+
NAVIGATE_TO_ROOT: "space.navigateToRoot"
|
|
1154
1300
|
};
|
|
1155
1301
|
|
|
1156
1302
|
const {fields: internationalizationFields} = internationalization;
|
|
@@ -1285,6 +1431,51 @@ const shortcutsNames = {
|
|
|
1285
1431
|
TOGGLE_SCALE: {
|
|
1286
1432
|
name: internationalizationFields.toolbarDrawerShortcutsToggleScale,
|
|
1287
1433
|
key: "s"
|
|
1434
|
+
},
|
|
1435
|
+
FOCUS_PLANE: {
|
|
1436
|
+
name: internationalizationFields.toolbarDrawerShortcutsFocusPlane,
|
|
1437
|
+
key: "f",
|
|
1438
|
+
modifier: keyModifiers.ALT
|
|
1439
|
+
},
|
|
1440
|
+
FOCUS_PARENT: {
|
|
1441
|
+
name: internationalizationFields.toolbarDrawerShortcutsFocusParent,
|
|
1442
|
+
key: "b",
|
|
1443
|
+
modifier: keyModifiers.ALT
|
|
1444
|
+
},
|
|
1445
|
+
REFRESH_PLANE: {
|
|
1446
|
+
name: internationalizationFields.toolbarDrawerShortcutsRefreshPlane,
|
|
1447
|
+
key: "r",
|
|
1448
|
+
modifier: keyModifiers.ALT
|
|
1449
|
+
},
|
|
1450
|
+
ISOLATE_PLANE: {
|
|
1451
|
+
name: internationalizationFields.toolbarDrawerShortcutsIsolatePlane,
|
|
1452
|
+
key: "e",
|
|
1453
|
+
modifier: keyModifiers.ALT
|
|
1454
|
+
},
|
|
1455
|
+
OPEN_CLOSED_PLANE: {
|
|
1456
|
+
name: internationalizationFields.toolbarDrawerShortcutsOpenClosedPlane,
|
|
1457
|
+
key: "t",
|
|
1458
|
+
modifier: [ keyModifiers.ALT, keyModifiers.SHIFT ]
|
|
1459
|
+
},
|
|
1460
|
+
CLOSE_PLANE: {
|
|
1461
|
+
name: internationalizationFields.toolbarDrawerShortcutsClosePlane,
|
|
1462
|
+
key: "w",
|
|
1463
|
+
modifier: keyModifiers.ALT
|
|
1464
|
+
},
|
|
1465
|
+
PREVIOUS_ROOT: {
|
|
1466
|
+
name: internationalizationFields.toolbarDrawerShortcutsPreviousRoot,
|
|
1467
|
+
key: "a",
|
|
1468
|
+
modifier: keyModifiers.ALT
|
|
1469
|
+
},
|
|
1470
|
+
NEXT_ROOT: {
|
|
1471
|
+
name: internationalizationFields.toolbarDrawerShortcutsNextRoot,
|
|
1472
|
+
key: "d",
|
|
1473
|
+
modifier: keyModifiers.ALT
|
|
1474
|
+
},
|
|
1475
|
+
FOCUS_ROOT: {
|
|
1476
|
+
name: internationalizationFields.toolbarDrawerShortcutsFocusRoot,
|
|
1477
|
+
key: "[digit]",
|
|
1478
|
+
modifier: keyModifiers.ALT
|
|
1288
1479
|
}
|
|
1289
1480
|
};
|
|
1290
1481
|
|
|
@@ -1380,6 +1571,42 @@ const defaultShortcuts = [ {
|
|
|
1380
1571
|
}, {
|
|
1381
1572
|
type: exports.SHORTCUTS.TOGGLE_SCALE,
|
|
1382
1573
|
key: "s"
|
|
1574
|
+
}, {
|
|
1575
|
+
type: exports.SHORTCUTS.FOCUS_PLANE,
|
|
1576
|
+
key: "f",
|
|
1577
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1578
|
+
}, {
|
|
1579
|
+
type: exports.SHORTCUTS.FOCUS_PARENT,
|
|
1580
|
+
key: "b",
|
|
1581
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1582
|
+
}, {
|
|
1583
|
+
type: exports.SHORTCUTS.REFRESH_PLANE,
|
|
1584
|
+
key: "r",
|
|
1585
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1586
|
+
}, {
|
|
1587
|
+
type: exports.SHORTCUTS.ISOLATE_PLANE,
|
|
1588
|
+
key: "e",
|
|
1589
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1590
|
+
}, {
|
|
1591
|
+
type: exports.SHORTCUTS.CLOSE_PLANE,
|
|
1592
|
+
key: "w",
|
|
1593
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1594
|
+
}, {
|
|
1595
|
+
type: exports.SHORTCUTS.OPEN_CLOSED_PLANE,
|
|
1596
|
+
key: "t",
|
|
1597
|
+
modifier: [ exports.KEY_MODIFIERS.ALT, exports.KEY_MODIFIERS.SHIFT ]
|
|
1598
|
+
}, {
|
|
1599
|
+
type: exports.SHORTCUTS.PREVIOUS_ROOT,
|
|
1600
|
+
key: "a",
|
|
1601
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1602
|
+
}, {
|
|
1603
|
+
type: exports.SHORTCUTS.NEXT_ROOT,
|
|
1604
|
+
key: "d",
|
|
1605
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1606
|
+
}, {
|
|
1607
|
+
type: exports.SHORTCUTS.FOCUS_ROOT,
|
|
1608
|
+
key: "[digit]",
|
|
1609
|
+
modifier: exports.KEY_MODIFIERS.ALT
|
|
1383
1610
|
} ];
|
|
1384
1611
|
|
|
1385
1612
|
const ROTATION_STEP = 3.01;
|
|
@@ -1396,6 +1623,8 @@ const ROOTS_GAP = 50;
|
|
|
1396
1623
|
|
|
1397
1624
|
const PLANE_DEFAULT_ANGLE = 90.1;
|
|
1398
1625
|
|
|
1626
|
+
const FOCUS_ANCHOR_SUFFIX = "-focus";
|
|
1627
|
+
|
|
1399
1628
|
const defaultTreePlane = {
|
|
1400
1629
|
sourceID: "",
|
|
1401
1630
|
planeID: "",
|
|
@@ -1453,8 +1682,16 @@ const defaultTreePlane = {
|
|
|
1453
1682
|
show: true
|
|
1454
1683
|
};
|
|
1455
1684
|
|
|
1685
|
+
exports.FOCUS_ANCHOR_SUFFIX = FOCUS_ANCHOR_SUFFIX;
|
|
1686
|
+
|
|
1687
|
+
exports.HTTPS_PROTOCOL = HTTPS_PROTOCOL;
|
|
1688
|
+
|
|
1689
|
+
exports.HTTP_PROTOCOL = HTTP_PROTOCOL;
|
|
1690
|
+
|
|
1456
1691
|
exports.PLANE_DEFAULT_ANGLE = PLANE_DEFAULT_ANGLE;
|
|
1457
1692
|
|
|
1693
|
+
exports.PLURID_DEFAULT_ANIMATED_TRANSFORM_TIMEOUT = PLURID_DEFAULT_ANIMATED_TRANSFORM_TIMEOUT;
|
|
1694
|
+
|
|
1458
1695
|
exports.PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_IN = PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_IN;
|
|
1459
1696
|
|
|
1460
1697
|
exports.PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_OUT = PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_OUT;
|
|
@@ -1471,6 +1708,10 @@ exports.PLURID_DEFAULT_CONFIGURATION_NETWORK_HOST = PLURID_DEFAULT_CONFIGURATION
|
|
|
1471
1708
|
|
|
1472
1709
|
exports.PLURID_DEFAULT_CONFIGURATION_SPACE_CULLING_DISTANCE = PLURID_DEFAULT_CONFIGURATION_SPACE_CULLING_DISTANCE;
|
|
1473
1710
|
|
|
1711
|
+
exports.PLURID_DEFAULT_PREVENT_OVERSCROLL_TIMEOUT = PLURID_DEFAULT_PREVENT_OVERSCROLL_TIMEOUT;
|
|
1712
|
+
|
|
1713
|
+
exports.PLURID_DEFAULT_RESIZE_DEBOUNCE_TIME = PLURID_DEFAULT_RESIZE_DEBOUNCE_TIME;
|
|
1714
|
+
|
|
1474
1715
|
exports.PLURID_ENTITY_APPLICATION_CONFIGURATOR = PLURID_ENTITY_APPLICATION_CONFIGURATOR;
|
|
1475
1716
|
|
|
1476
1717
|
exports.PLURID_ENTITY_LINK = PLURID_ENTITY_LINK;
|
|
@@ -1507,6 +1748,8 @@ exports.PLURID_ENTITY_VIEW = PLURID_ENTITY_VIEW;
|
|
|
1507
1748
|
|
|
1508
1749
|
exports.PLURID_ENTITY_VIEWCUBE = PLURID_ENTITY_VIEWCUBE;
|
|
1509
1750
|
|
|
1751
|
+
exports.PLURID_PROTOCOL = PLURID_PROTOCOL;
|
|
1752
|
+
|
|
1510
1753
|
exports.PLURID_PUBSUB_TOPIC = PLURID_PUBSUB_TOPIC;
|
|
1511
1754
|
|
|
1512
1755
|
exports.PLURID_ROUTER_LOCATION_CHANGED = PLURID_ROUTER_LOCATION_CHANGED;
|
|
@@ -1535,6 +1778,8 @@ exports.PLURID_ROUTE_DEFAULT_UNIVERSE_VALUE = PLURID_ROUTE_DEFAULT_UNIVERSE_VALU
|
|
|
1535
1778
|
|
|
1536
1779
|
exports.PLURID_ROUTE_SEPARATOR = PLURID_ROUTE_SEPARATOR;
|
|
1537
1780
|
|
|
1781
|
+
exports.PROTOCOL_SEPARATOR = PROTOCOL_SEPARATOR;
|
|
1782
|
+
|
|
1538
1783
|
exports.ROOTS_GAP = ROOTS_GAP;
|
|
1539
1784
|
|
|
1540
1785
|
exports.ROTATION_STEP = ROTATION_STEP;
|
|
@@ -1565,11 +1810,15 @@ exports.defaultShortcuts = defaultShortcuts;
|
|
|
1565
1810
|
|
|
1566
1811
|
exports.defaultTreePlane = defaultTreePlane;
|
|
1567
1812
|
|
|
1813
|
+
exports.directions = directions;
|
|
1814
|
+
|
|
1568
1815
|
exports.internationalization = internationalization;
|
|
1569
1816
|
|
|
1570
1817
|
exports.keyModifiers = keyModifiers;
|
|
1571
1818
|
|
|
1572
1819
|
exports.layoutNames = layoutNames;
|
|
1573
1820
|
|
|
1821
|
+
exports.protocols = protocols;
|
|
1822
|
+
|
|
1574
1823
|
exports.shortcutsNames = shortcutsNames;
|
|
1575
1824
|
//# sourceMappingURL=index.js.map
|