@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.es.js
CHANGED
|
@@ -35,6 +35,15 @@ var SHORTCUTS;
|
|
|
35
35
|
SHORTCUTS["SCALE_UP"] = "SCALE_UP";
|
|
36
36
|
SHORTCUTS["SCALE_DOWN"] = "SCALE_DOWN";
|
|
37
37
|
SHORTCUTS["TOGGLE_SCALE"] = "TOGGLE_SCALE";
|
|
38
|
+
SHORTCUTS["FOCUS_PLANE"] = "FOCUS_PLANE";
|
|
39
|
+
SHORTCUTS["FOCUS_PARENT"] = "FOCUS_PARENT";
|
|
40
|
+
SHORTCUTS["REFRESH_PLANE"] = "REFRESH_PLANE";
|
|
41
|
+
SHORTCUTS["ISOLATE_PLANE"] = "ISOLATE_PLANE";
|
|
42
|
+
SHORTCUTS["OPEN_CLOSED_PLANE"] = "OPEN_CLOSED_PLANE";
|
|
43
|
+
SHORTCUTS["CLOSE_PLANE"] = "CLOSE_PLANE";
|
|
44
|
+
SHORTCUTS["PREVIOUS_ROOT"] = "PREVIOUS_ROOT";
|
|
45
|
+
SHORTCUTS["NEXT_ROOT"] = "NEXT_ROOT";
|
|
46
|
+
SHORTCUTS["FOCUS_ROOT"] = "FOCUS_ROOT";
|
|
38
47
|
})(SHORTCUTS || (SHORTCUTS = {}));
|
|
39
48
|
|
|
40
49
|
var KEY_MODIFIERS;
|
|
@@ -133,6 +142,12 @@ const PLURID_DEFAULT_CONFIGURATION_NETWORK_HOST = "originhost";
|
|
|
133
142
|
|
|
134
143
|
const PLURID_ROUTER_STORAGE = "__PLURID_ROUTER__";
|
|
135
144
|
|
|
145
|
+
const PLURID_DEFAULT_RESIZE_DEBOUNCE_TIME = 50;
|
|
146
|
+
|
|
147
|
+
const PLURID_DEFAULT_PREVENT_OVERSCROLL_TIMEOUT = 250;
|
|
148
|
+
|
|
149
|
+
const PLURID_DEFAULT_ANIMATED_TRANSFORM_TIMEOUT = 500;
|
|
150
|
+
|
|
136
151
|
const defaultConfigurationGlobal = {
|
|
137
152
|
micro: false,
|
|
138
153
|
theme: {
|
|
@@ -151,6 +166,7 @@ const defaultConfigurationElements = {
|
|
|
151
166
|
conceal: false,
|
|
152
167
|
transformIcons: false,
|
|
153
168
|
transformButtons: false,
|
|
169
|
+
drawers: [],
|
|
154
170
|
toggledDrawers: []
|
|
155
171
|
},
|
|
156
172
|
viewcube: {
|
|
@@ -164,6 +180,7 @@ const defaultConfigurationElements = {
|
|
|
164
180
|
opacity: 1,
|
|
165
181
|
controls: {
|
|
166
182
|
show: true,
|
|
183
|
+
title: true,
|
|
167
184
|
pathbar: {
|
|
168
185
|
domainURL: true
|
|
169
186
|
}
|
|
@@ -191,6 +208,7 @@ const defaultConfigurationSpace = {
|
|
|
191
208
|
},
|
|
192
209
|
perspective: 2e3,
|
|
193
210
|
opaque: true,
|
|
211
|
+
fadeInTime: 1500,
|
|
194
212
|
center: false,
|
|
195
213
|
transformOrigin: {
|
|
196
214
|
show: true,
|
|
@@ -278,6 +296,13 @@ const PLURID_ROUTER_LOCATION_CHANGED = "pluridrouterlocationchanged";
|
|
|
278
296
|
|
|
279
297
|
const PLURID_ROUTER_LOCATION_STORED = "pluridrouterlocationstored";
|
|
280
298
|
|
|
299
|
+
const directions = {
|
|
300
|
+
left: "left",
|
|
301
|
+
right: "right",
|
|
302
|
+
up: "up",
|
|
303
|
+
down: "down"
|
|
304
|
+
};
|
|
305
|
+
|
|
281
306
|
const chinese = {
|
|
282
307
|
viewcubeFront: "面前",
|
|
283
308
|
viewcubeBack: "背部",
|
|
@@ -346,6 +371,15 @@ const chinese = {
|
|
|
346
371
|
toolbarDrawerShortcutsScaleUp: "放大",
|
|
347
372
|
toolbarDrawerShortcutsScaleDown: "缩小",
|
|
348
373
|
toolbarDrawerShortcutsToggleScale: "切换刻度",
|
|
374
|
+
toolbarDrawerShortcutsFocusPlane: "焦平面",
|
|
375
|
+
toolbarDrawerShortcutsFocusParent: "焦點父母",
|
|
376
|
+
toolbarDrawerShortcutsRefreshPlane: "刷新平面",
|
|
377
|
+
toolbarDrawerShortcutsIsolatePlane: "隔離平面",
|
|
378
|
+
toolbarDrawerShortcutsOpenClosedPlane: "開閉平面",
|
|
379
|
+
toolbarDrawerShortcutsClosePlane: "關閉平面",
|
|
380
|
+
toolbarDrawerShortcutsPreviousRoot: "前根",
|
|
381
|
+
toolbarDrawerShortcutsNextRoot: "下一個根",
|
|
382
|
+
toolbarDrawerShortcutsFocusRoot: "焦點根",
|
|
349
383
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ 或向上滚动",
|
|
350
384
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ 或向下滚动",
|
|
351
385
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← 或向左滚动",
|
|
@@ -420,6 +454,15 @@ const english = {
|
|
|
420
454
|
toolbarDrawerShortcutsScaleUp: "scale up",
|
|
421
455
|
toolbarDrawerShortcutsScaleDown: "scale down",
|
|
422
456
|
toolbarDrawerShortcutsToggleScale: "toggle scale",
|
|
457
|
+
toolbarDrawerShortcutsFocusPlane: "focus plane",
|
|
458
|
+
toolbarDrawerShortcutsFocusParent: "focus parent",
|
|
459
|
+
toolbarDrawerShortcutsRefreshPlane: "refresh plane",
|
|
460
|
+
toolbarDrawerShortcutsIsolatePlane: "isolate plane",
|
|
461
|
+
toolbarDrawerShortcutsOpenClosedPlane: "open closed plane",
|
|
462
|
+
toolbarDrawerShortcutsClosePlane: "close plane",
|
|
463
|
+
toolbarDrawerShortcutsPreviousRoot: "previous root",
|
|
464
|
+
toolbarDrawerShortcutsNextRoot: "next root",
|
|
465
|
+
toolbarDrawerShortcutsFocusRoot: "focus root",
|
|
423
466
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ or scroll up",
|
|
424
467
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ or scroll down",
|
|
425
468
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← or scroll left",
|
|
@@ -494,6 +537,15 @@ const french = {
|
|
|
494
537
|
toolbarDrawerShortcutsScaleUp: "augmenter",
|
|
495
538
|
toolbarDrawerShortcutsScaleDown: "réduire",
|
|
496
539
|
toolbarDrawerShortcutsToggleScale: "basculer l'échelle",
|
|
540
|
+
toolbarDrawerShortcutsFocusPlane: "plan actif",
|
|
541
|
+
toolbarDrawerShortcutsFocusParent: "plan parente",
|
|
542
|
+
toolbarDrawerShortcutsRefreshPlane: "plan rafraîchir",
|
|
543
|
+
toolbarDrawerShortcutsIsolatePlane: "isoler le plan",
|
|
544
|
+
toolbarDrawerShortcutsOpenClosedPlane: "ouvert fermé plan",
|
|
545
|
+
toolbarDrawerShortcutsClosePlane: "plan proche",
|
|
546
|
+
toolbarDrawerShortcutsPreviousRoot: "racine précédente",
|
|
547
|
+
toolbarDrawerShortcutsNextRoot: "racine suivante",
|
|
548
|
+
toolbarDrawerShortcutsFocusRoot: "focus racine",
|
|
497
549
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ ou scroll vers le haut",
|
|
498
550
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ ou scroll vers le bas",
|
|
499
551
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← ou scroll vers la gauche",
|
|
@@ -568,6 +620,15 @@ const german = {
|
|
|
568
620
|
toolbarDrawerShortcutsScaleUp: "vergrößern",
|
|
569
621
|
toolbarDrawerShortcutsScaleDown: "verkleinern",
|
|
570
622
|
toolbarDrawerShortcutsToggleScale: "skala umschalten",
|
|
623
|
+
toolbarDrawerShortcutsFocusPlane: "fokusebene",
|
|
624
|
+
toolbarDrawerShortcutsFocusParent: "fokus elternteil",
|
|
625
|
+
toolbarDrawerShortcutsRefreshPlane: "ebene auffrischen",
|
|
626
|
+
toolbarDrawerShortcutsIsolatePlane: "ebene isolieren",
|
|
627
|
+
toolbarDrawerShortcutsOpenClosedPlane: "offen geschlossen ebene",
|
|
628
|
+
toolbarDrawerShortcutsClosePlane: "ebene schließen",
|
|
629
|
+
toolbarDrawerShortcutsPreviousRoot: "vorherige wurzel",
|
|
630
|
+
toolbarDrawerShortcutsNextRoot: "nächste wurzel",
|
|
631
|
+
toolbarDrawerShortcutsFocusRoot: "fokus wurzel",
|
|
571
632
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ oder nach oben scrollen",
|
|
572
633
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ oder nach unten scrollen",
|
|
573
634
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← oder nach links scrollen",
|
|
@@ -642,6 +703,15 @@ const hindi = {
|
|
|
642
703
|
toolbarDrawerShortcutsScaleUp: "स्केल अप",
|
|
643
704
|
toolbarDrawerShortcutsScaleDown: "घटाना",
|
|
644
705
|
toolbarDrawerShortcutsToggleScale: "टॉगल स्केल",
|
|
706
|
+
toolbarDrawerShortcutsFocusPlane: "फोकस प्लेन",
|
|
707
|
+
toolbarDrawerShortcutsFocusParent: "ध्यान माता-पिता",
|
|
708
|
+
toolbarDrawerShortcutsRefreshPlane: "ताज़ा विमान",
|
|
709
|
+
toolbarDrawerShortcutsIsolatePlane: "अलग विमान",
|
|
710
|
+
toolbarDrawerShortcutsOpenClosedPlane: "खुला बंद विमान",
|
|
711
|
+
toolbarDrawerShortcutsClosePlane: "बंद विमान",
|
|
712
|
+
toolbarDrawerShortcutsPreviousRoot: "पिछली जड़",
|
|
713
|
+
toolbarDrawerShortcutsNextRoot: "अगली जड़",
|
|
714
|
+
toolbarDrawerShortcutsFocusRoot: "फोकस रूट",
|
|
645
715
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ या स्क्रॉल करें",
|
|
646
716
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ या नीचे स्क्रॉल करें",
|
|
647
717
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← या बाईं ओर स्क्रॉल करें",
|
|
@@ -716,6 +786,15 @@ const italian = {
|
|
|
716
786
|
toolbarDrawerShortcutsScaleUp: "scalare a su",
|
|
717
787
|
toolbarDrawerShortcutsScaleDown: "scalare a giù",
|
|
718
788
|
toolbarDrawerShortcutsToggleScale: "attiva / disattiva la scala",
|
|
789
|
+
toolbarDrawerShortcutsFocusPlane: "piano attivo",
|
|
790
|
+
toolbarDrawerShortcutsFocusParent: "piano genitore",
|
|
791
|
+
toolbarDrawerShortcutsRefreshPlane: "ristorare piano",
|
|
792
|
+
toolbarDrawerShortcutsIsolatePlane: "isolare il piano",
|
|
793
|
+
toolbarDrawerShortcutsOpenClosedPlane: "piano chiuso aperto",
|
|
794
|
+
toolbarDrawerShortcutsClosePlane: "vicino piano",
|
|
795
|
+
toolbarDrawerShortcutsPreviousRoot: "radice precedente",
|
|
796
|
+
toolbarDrawerShortcutsNextRoot: "radice successiva",
|
|
797
|
+
toolbarDrawerShortcutsFocusRoot: "radice di messa a fuoco",
|
|
719
798
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ o scorrere verso l'alto",
|
|
720
799
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ o scorrere verso il basso",
|
|
721
800
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← o scorrere verso sinistra",
|
|
@@ -790,6 +869,15 @@ const japanese = {
|
|
|
790
869
|
toolbarDrawerShortcutsScaleUp: "拡大する",
|
|
791
870
|
toolbarDrawerShortcutsScaleDown: "縮小する",
|
|
792
871
|
toolbarDrawerShortcutsToggleScale: "トグルスケール",
|
|
872
|
+
toolbarDrawerShortcutsFocusPlane: "フォーカス プレーン",
|
|
873
|
+
toolbarDrawerShortcutsFocusParent: "フォーカスの親",
|
|
874
|
+
toolbarDrawerShortcutsRefreshPlane: "飛行機をリフレッシュ",
|
|
875
|
+
toolbarDrawerShortcutsIsolatePlane: "分離平面",
|
|
876
|
+
toolbarDrawerShortcutsOpenClosedPlane: "閉じた平面を開く",
|
|
877
|
+
toolbarDrawerShortcutsClosePlane: "平面を閉じる",
|
|
878
|
+
toolbarDrawerShortcutsPreviousRoot: "前のルート",
|
|
879
|
+
toolbarDrawerShortcutsNextRoot: "次のルート",
|
|
880
|
+
toolbarDrawerShortcutsFocusRoot: "フォーカス ルート",
|
|
793
881
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ または上にスクロールします",
|
|
794
882
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ または下にスクロールします",
|
|
795
883
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← または左にスクロール",
|
|
@@ -864,6 +952,15 @@ const romanian = {
|
|
|
864
952
|
toolbarDrawerShortcutsScaleUp: "scalare în sus",
|
|
865
953
|
toolbarDrawerShortcutsScaleDown: "scalare în jos",
|
|
866
954
|
toolbarDrawerShortcutsToggleScale: "comutare scalare",
|
|
955
|
+
toolbarDrawerShortcutsFocusPlane: "focus plan",
|
|
956
|
+
toolbarDrawerShortcutsFocusParent: "focus părinte",
|
|
957
|
+
toolbarDrawerShortcutsRefreshPlane: "restaurare plan",
|
|
958
|
+
toolbarDrawerShortcutsIsolatePlane: "izolare plane",
|
|
959
|
+
toolbarDrawerShortcutsOpenClosedPlane: "deschidere plan închis",
|
|
960
|
+
toolbarDrawerShortcutsClosePlane: "închidere plan",
|
|
961
|
+
toolbarDrawerShortcutsPreviousRoot: "rădăcina anterioară",
|
|
962
|
+
toolbarDrawerShortcutsNextRoot: "rădăcina următoare",
|
|
963
|
+
toolbarDrawerShortcutsFocusRoot: "focus rădăcină",
|
|
867
964
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ sau scroll sus",
|
|
868
965
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ sau scroll jos",
|
|
869
966
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← sau scroll stânga",
|
|
@@ -938,6 +1035,15 @@ const russian = {
|
|
|
938
1035
|
toolbarDrawerShortcutsScaleUp: "увеличить масштаб",
|
|
939
1036
|
toolbarDrawerShortcutsScaleDown: "уменьшать",
|
|
940
1037
|
toolbarDrawerShortcutsToggleScale: "шкала переключения",
|
|
1038
|
+
toolbarDrawerShortcutsFocusPlane: "плоскость фокусировки",
|
|
1039
|
+
toolbarDrawerShortcutsFocusParent: "фокус родитель",
|
|
1040
|
+
toolbarDrawerShortcutsRefreshPlane: "обновить самолет",
|
|
1041
|
+
toolbarDrawerShortcutsIsolatePlane: "изолировать самолет",
|
|
1042
|
+
toolbarDrawerShortcutsOpenClosedPlane: "открытая закрытая плоскость",
|
|
1043
|
+
toolbarDrawerShortcutsClosePlane: "близкий самолет",
|
|
1044
|
+
toolbarDrawerShortcutsPreviousRoot: "предыдущий корень",
|
|
1045
|
+
toolbarDrawerShortcutsNextRoot: "следующий корень",
|
|
1046
|
+
toolbarDrawerShortcutsFocusRoot: "корень фокуса",
|
|
941
1047
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ или прокрутите вверх",
|
|
942
1048
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ или прокрутите вниз",
|
|
943
1049
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← или прокрутите влево",
|
|
@@ -1012,6 +1118,15 @@ const spanish = {
|
|
|
1012
1118
|
toolbarDrawerShortcutsScaleUp: "aumentar proporcionalmente",
|
|
1013
1119
|
toolbarDrawerShortcutsScaleDown: "reducir proporcionalmente",
|
|
1014
1120
|
toolbarDrawerShortcutsToggleScale: "alternar escala",
|
|
1121
|
+
toolbarDrawerShortcutsFocusPlane: "plano de enfoque",
|
|
1122
|
+
toolbarDrawerShortcutsFocusParent: "plano parent",
|
|
1123
|
+
toolbarDrawerShortcutsRefreshPlane: "actualizar plano",
|
|
1124
|
+
toolbarDrawerShortcutsIsolatePlane: "aislar plano",
|
|
1125
|
+
toolbarDrawerShortcutsOpenClosedPlane: "plano cerrado abierto",
|
|
1126
|
+
toolbarDrawerShortcutsClosePlane: "plano cercano",
|
|
1127
|
+
toolbarDrawerShortcutsPreviousRoot: "raíz anterior",
|
|
1128
|
+
toolbarDrawerShortcutsNextRoot: "siguiente raíz",
|
|
1129
|
+
toolbarDrawerShortcutsFocusRoot: "raíz de enfoque",
|
|
1015
1130
|
toolbarDrawerShortcutsArrowOrScrollUp: "↑ o desplazarse hacia arriba",
|
|
1016
1131
|
toolbarDrawerShortcutsArrowOrScrollDown: "↓ o desplazarse hacia abajo",
|
|
1017
1132
|
toolbarDrawerShortcutsArrowOrScrollLeft: "← o desplazarse hacia la izquierda",
|
|
@@ -1086,6 +1201,15 @@ const internationalizationFields$1 = {
|
|
|
1086
1201
|
toolbarDrawerShortcutsScaleUp: "toolbarDrawerShortcutsScaleUp",
|
|
1087
1202
|
toolbarDrawerShortcutsScaleDown: "toolbarDrawerShortcutsScaleDown",
|
|
1088
1203
|
toolbarDrawerShortcutsToggleScale: "toolbarDrawerShortcutsToggleScale",
|
|
1204
|
+
toolbarDrawerShortcutsFocusPlane: "toolbarDrawerShortcutsFocusPlane",
|
|
1205
|
+
toolbarDrawerShortcutsFocusParent: "toolbarDrawerShortcutsFocusParent",
|
|
1206
|
+
toolbarDrawerShortcutsRefreshPlane: "toolbarDrawerShortcutsRefreshPlane",
|
|
1207
|
+
toolbarDrawerShortcutsIsolatePlane: "toolbarDrawerShortcutsIsolatePlane",
|
|
1208
|
+
toolbarDrawerShortcutsOpenClosedPlane: "toolbarDrawerShortcutsOpenClosedPlane",
|
|
1209
|
+
toolbarDrawerShortcutsClosePlane: "toolbarDrawerShortcutsClosePlane",
|
|
1210
|
+
toolbarDrawerShortcutsPreviousRoot: "toolbarDrawerShortcutsPreviousRoot",
|
|
1211
|
+
toolbarDrawerShortcutsNextRoot: "toolbarDrawerShortcutsNextRoot",
|
|
1212
|
+
toolbarDrawerShortcutsFocusRoot: "toolbarDrawerShortcutsFocusRoot",
|
|
1089
1213
|
toolbarDrawerShortcutsArrowOrScrollUp: "toolbarDrawerShortcutsArrowOrScrollUp",
|
|
1090
1214
|
toolbarDrawerShortcutsArrowOrScrollDown: "toolbarDrawerShortcutsArrowOrScrollDown",
|
|
1091
1215
|
toolbarDrawerShortcutsArrowOrScrollLeft: "toolbarDrawerShortcutsArrowOrScrollLeft",
|
|
@@ -1117,6 +1241,20 @@ const keyModifiers = {
|
|
|
1117
1241
|
CTRLMETA: "⌃/⌘"
|
|
1118
1242
|
};
|
|
1119
1243
|
|
|
1244
|
+
const PROTOCOL_SEPARATOR = "://";
|
|
1245
|
+
|
|
1246
|
+
const HTTP_PROTOCOL = "http";
|
|
1247
|
+
|
|
1248
|
+
const HTTPS_PROTOCOL = "https";
|
|
1249
|
+
|
|
1250
|
+
const PLURID_PROTOCOL = "plurid";
|
|
1251
|
+
|
|
1252
|
+
const protocols = {
|
|
1253
|
+
http: HTTP_PROTOCOL + PROTOCOL_SEPARATOR,
|
|
1254
|
+
https: HTTPS_PROTOCOL + PROTOCOL_SEPARATOR,
|
|
1255
|
+
plurid: PLURID_PROTOCOL + PROTOCOL_SEPARATOR
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1120
1258
|
const PLURID_PUBSUB_TOPIC = {
|
|
1121
1259
|
CONFIGURATION: "configuration",
|
|
1122
1260
|
SPACE_ANIMATED_TRANSFORM: "space.animatedTransform",
|
|
@@ -1144,7 +1282,15 @@ const PLURID_PUBSUB_TOPIC = {
|
|
|
1144
1282
|
SPACE_TRANSFORM: "space.transform",
|
|
1145
1283
|
VIEW_ADD_PLANE: "view.addPlane",
|
|
1146
1284
|
VIEW_SET_PLANES: "view.setPlanes",
|
|
1147
|
-
VIEW_REMOVE_PLANE: "view.removePlane"
|
|
1285
|
+
VIEW_REMOVE_PLANE: "view.removePlane",
|
|
1286
|
+
NAVIGATE_TO_PLANE: "space.navigateToPlane",
|
|
1287
|
+
REFRESH_PLANE: "space.refreshPlane",
|
|
1288
|
+
ISOLATE_PLANE: "space.isolatePlane",
|
|
1289
|
+
OPEN_CLOSED_PLANE: "space.openClosedPlane",
|
|
1290
|
+
CLOSE_PLANE: "space.closePlane",
|
|
1291
|
+
PREVIOUS_ROOT: "space.previousRoot",
|
|
1292
|
+
NEXT_ROOT: "space.nextRoot",
|
|
1293
|
+
NAVIGATE_TO_ROOT: "space.navigateToRoot"
|
|
1148
1294
|
};
|
|
1149
1295
|
|
|
1150
1296
|
const {fields: internationalizationFields} = internationalization;
|
|
@@ -1279,6 +1425,51 @@ const shortcutsNames = {
|
|
|
1279
1425
|
TOGGLE_SCALE: {
|
|
1280
1426
|
name: internationalizationFields.toolbarDrawerShortcutsToggleScale,
|
|
1281
1427
|
key: "s"
|
|
1428
|
+
},
|
|
1429
|
+
FOCUS_PLANE: {
|
|
1430
|
+
name: internationalizationFields.toolbarDrawerShortcutsFocusPlane,
|
|
1431
|
+
key: "f",
|
|
1432
|
+
modifier: keyModifiers.ALT
|
|
1433
|
+
},
|
|
1434
|
+
FOCUS_PARENT: {
|
|
1435
|
+
name: internationalizationFields.toolbarDrawerShortcutsFocusParent,
|
|
1436
|
+
key: "b",
|
|
1437
|
+
modifier: keyModifiers.ALT
|
|
1438
|
+
},
|
|
1439
|
+
REFRESH_PLANE: {
|
|
1440
|
+
name: internationalizationFields.toolbarDrawerShortcutsRefreshPlane,
|
|
1441
|
+
key: "r",
|
|
1442
|
+
modifier: keyModifiers.ALT
|
|
1443
|
+
},
|
|
1444
|
+
ISOLATE_PLANE: {
|
|
1445
|
+
name: internationalizationFields.toolbarDrawerShortcutsIsolatePlane,
|
|
1446
|
+
key: "e",
|
|
1447
|
+
modifier: keyModifiers.ALT
|
|
1448
|
+
},
|
|
1449
|
+
OPEN_CLOSED_PLANE: {
|
|
1450
|
+
name: internationalizationFields.toolbarDrawerShortcutsOpenClosedPlane,
|
|
1451
|
+
key: "t",
|
|
1452
|
+
modifier: [ keyModifiers.ALT, keyModifiers.SHIFT ]
|
|
1453
|
+
},
|
|
1454
|
+
CLOSE_PLANE: {
|
|
1455
|
+
name: internationalizationFields.toolbarDrawerShortcutsClosePlane,
|
|
1456
|
+
key: "w",
|
|
1457
|
+
modifier: keyModifiers.ALT
|
|
1458
|
+
},
|
|
1459
|
+
PREVIOUS_ROOT: {
|
|
1460
|
+
name: internationalizationFields.toolbarDrawerShortcutsPreviousRoot,
|
|
1461
|
+
key: "a",
|
|
1462
|
+
modifier: keyModifiers.ALT
|
|
1463
|
+
},
|
|
1464
|
+
NEXT_ROOT: {
|
|
1465
|
+
name: internationalizationFields.toolbarDrawerShortcutsNextRoot,
|
|
1466
|
+
key: "d",
|
|
1467
|
+
modifier: keyModifiers.ALT
|
|
1468
|
+
},
|
|
1469
|
+
FOCUS_ROOT: {
|
|
1470
|
+
name: internationalizationFields.toolbarDrawerShortcutsFocusRoot,
|
|
1471
|
+
key: "[digit]",
|
|
1472
|
+
modifier: keyModifiers.ALT
|
|
1282
1473
|
}
|
|
1283
1474
|
};
|
|
1284
1475
|
|
|
@@ -1374,6 +1565,42 @@ const defaultShortcuts = [ {
|
|
|
1374
1565
|
}, {
|
|
1375
1566
|
type: SHORTCUTS.TOGGLE_SCALE,
|
|
1376
1567
|
key: "s"
|
|
1568
|
+
}, {
|
|
1569
|
+
type: SHORTCUTS.FOCUS_PLANE,
|
|
1570
|
+
key: "f",
|
|
1571
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1572
|
+
}, {
|
|
1573
|
+
type: SHORTCUTS.FOCUS_PARENT,
|
|
1574
|
+
key: "b",
|
|
1575
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1576
|
+
}, {
|
|
1577
|
+
type: SHORTCUTS.REFRESH_PLANE,
|
|
1578
|
+
key: "r",
|
|
1579
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1580
|
+
}, {
|
|
1581
|
+
type: SHORTCUTS.ISOLATE_PLANE,
|
|
1582
|
+
key: "e",
|
|
1583
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1584
|
+
}, {
|
|
1585
|
+
type: SHORTCUTS.CLOSE_PLANE,
|
|
1586
|
+
key: "w",
|
|
1587
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1588
|
+
}, {
|
|
1589
|
+
type: SHORTCUTS.OPEN_CLOSED_PLANE,
|
|
1590
|
+
key: "t",
|
|
1591
|
+
modifier: [ KEY_MODIFIERS.ALT, KEY_MODIFIERS.SHIFT ]
|
|
1592
|
+
}, {
|
|
1593
|
+
type: SHORTCUTS.PREVIOUS_ROOT,
|
|
1594
|
+
key: "a",
|
|
1595
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1596
|
+
}, {
|
|
1597
|
+
type: SHORTCUTS.NEXT_ROOT,
|
|
1598
|
+
key: "d",
|
|
1599
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1600
|
+
}, {
|
|
1601
|
+
type: SHORTCUTS.FOCUS_ROOT,
|
|
1602
|
+
key: "[digit]",
|
|
1603
|
+
modifier: KEY_MODIFIERS.ALT
|
|
1377
1604
|
} ];
|
|
1378
1605
|
|
|
1379
1606
|
const ROTATION_STEP = 3.01;
|
|
@@ -1390,6 +1617,8 @@ const ROOTS_GAP = 50;
|
|
|
1390
1617
|
|
|
1391
1618
|
const PLANE_DEFAULT_ANGLE = 90.1;
|
|
1392
1619
|
|
|
1620
|
+
const FOCUS_ANCHOR_SUFFIX = "-focus";
|
|
1621
|
+
|
|
1393
1622
|
const defaultTreePlane = {
|
|
1394
1623
|
sourceID: "",
|
|
1395
1624
|
planeID: "",
|
|
@@ -1447,5 +1676,5 @@ const defaultTreePlane = {
|
|
|
1447
1676
|
show: true
|
|
1448
1677
|
};
|
|
1449
1678
|
|
|
1450
|
-
export { KEY_MODIFIERS, LAYOUT_TYPES, PLANE_DEFAULT_ANGLE, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_IN, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_OUT, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_OFFSET_X, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_OFFSET_Y, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_SHOW, PLURID_DEFAULT_CONFIGURATION_LINK_SUFFIX, PLURID_DEFAULT_CONFIGURATION_NETWORK_HOST, PLURID_DEFAULT_CONFIGURATION_SPACE_CULLING_DISTANCE, PLURID_ENTITY_APPLICATION_CONFIGURATOR, PLURID_ENTITY_LINK, PLURID_ENTITY_MULTISPACE, PLURID_ENTITY_PLANE, PLURID_ENTITY_PLANE_BRIDGE, PLURID_ENTITY_PLANE_CONFIGURATOR, PLURID_ENTITY_PLANE_CONTENT, PLURID_ENTITY_PLANE_CONTROLS, PLURID_ENTITY_PLANE_DEBUGGER, PLURID_ENTITY_ROOT, PLURID_ENTITY_ROOTS, PLURID_ENTITY_SPACE, PLURID_ENTITY_SPACE_DEBUGGER, PLURID_ENTITY_TOOLBAR, PLURID_ENTITY_TRANSFORM_ORIGIN, PLURID_ENTITY_UNIVERSE_EXPLORER, PLURID_ENTITY_VIEW, PLURID_ENTITY_VIEWCUBE, PLURID_PUBSUB_TOPIC, PLURID_ROUTER_LOCATION_CHANGED, PLURID_ROUTER_LOCATION_STORED, PLURID_ROUTER_STORAGE, PLURID_ROUTE_DEFAULT, PLURID_ROUTE_DEFAULT_CLUSTER, PLURID_ROUTE_DEFAULT_CLUSTER_VALUE, PLURID_ROUTE_DEFAULT_PATH, PLURID_ROUTE_DEFAULT_PATH_VALUE, PLURID_ROUTE_DEFAULT_SPACE, PLURID_ROUTE_DEFAULT_SPACE_VALUE, PLURID_ROUTE_DEFAULT_UNIVERSE, PLURID_ROUTE_DEFAULT_UNIVERSE_VALUE, PLURID_ROUTE_SEPARATOR, ROOTS_GAP, ROTATION_STEP, SCALE_LOWER_LIMIT, SCALE_STEP, SCALE_UPPER_LIMIT, SHORTCUTS, SIZES, TOOLBAR_DRAWERS, TRANSFORM_MODES, TRANSFORM_TOUCHES, TRANSLATION_STEP, compareTypes, defaultConfiguration, defaultConfigurationDevelopment, defaultConfigurationElements, defaultConfigurationGlobal, defaultConfigurationNetwork, defaultConfigurationSpace, defaultShortcuts, defaultTreePlane, internationalization, keyModifiers, layoutNames, shortcutsNames };
|
|
1679
|
+
export { FOCUS_ANCHOR_SUFFIX, HTTPS_PROTOCOL, HTTP_PROTOCOL, KEY_MODIFIERS, LAYOUT_TYPES, PLANE_DEFAULT_ANGLE, PLURID_DEFAULT_ANIMATED_TRANSFORM_TIMEOUT, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_IN, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_FADE_OUT, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_OFFSET_X, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_OFFSET_Y, PLURID_DEFAULT_CONFIGURATION_LINK_PREVIEW_SHOW, PLURID_DEFAULT_CONFIGURATION_LINK_SUFFIX, PLURID_DEFAULT_CONFIGURATION_NETWORK_HOST, PLURID_DEFAULT_CONFIGURATION_SPACE_CULLING_DISTANCE, PLURID_DEFAULT_PREVENT_OVERSCROLL_TIMEOUT, PLURID_DEFAULT_RESIZE_DEBOUNCE_TIME, PLURID_ENTITY_APPLICATION_CONFIGURATOR, PLURID_ENTITY_LINK, PLURID_ENTITY_MULTISPACE, PLURID_ENTITY_PLANE, PLURID_ENTITY_PLANE_BRIDGE, PLURID_ENTITY_PLANE_CONFIGURATOR, PLURID_ENTITY_PLANE_CONTENT, PLURID_ENTITY_PLANE_CONTROLS, PLURID_ENTITY_PLANE_DEBUGGER, PLURID_ENTITY_ROOT, PLURID_ENTITY_ROOTS, PLURID_ENTITY_SPACE, PLURID_ENTITY_SPACE_DEBUGGER, PLURID_ENTITY_TOOLBAR, PLURID_ENTITY_TRANSFORM_ORIGIN, PLURID_ENTITY_UNIVERSE_EXPLORER, PLURID_ENTITY_VIEW, PLURID_ENTITY_VIEWCUBE, PLURID_PROTOCOL, PLURID_PUBSUB_TOPIC, PLURID_ROUTER_LOCATION_CHANGED, PLURID_ROUTER_LOCATION_STORED, PLURID_ROUTER_STORAGE, PLURID_ROUTE_DEFAULT, PLURID_ROUTE_DEFAULT_CLUSTER, PLURID_ROUTE_DEFAULT_CLUSTER_VALUE, PLURID_ROUTE_DEFAULT_PATH, PLURID_ROUTE_DEFAULT_PATH_VALUE, PLURID_ROUTE_DEFAULT_SPACE, PLURID_ROUTE_DEFAULT_SPACE_VALUE, PLURID_ROUTE_DEFAULT_UNIVERSE, PLURID_ROUTE_DEFAULT_UNIVERSE_VALUE, PLURID_ROUTE_SEPARATOR, PROTOCOL_SEPARATOR, ROOTS_GAP, ROTATION_STEP, SCALE_LOWER_LIMIT, SCALE_STEP, SCALE_UPPER_LIMIT, SHORTCUTS, SIZES, TOOLBAR_DRAWERS, TRANSFORM_MODES, TRANSFORM_TOUCHES, TRANSLATION_STEP, compareTypes, defaultConfiguration, defaultConfigurationDevelopment, defaultConfigurationElements, defaultConfigurationGlobal, defaultConfigurationNetwork, defaultConfigurationSpace, defaultShortcuts, defaultTreePlane, directions, internationalization, keyModifiers, layoutNames, protocols, shortcutsNames };
|
|
1451
1680
|
//# sourceMappingURL=index.es.js.map
|