@lls/vivi 24.24.0 → 24.25.0-120ef8eb
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/lib/assets/vivi.css +247 -227
- package/lib/index.js +424 -345
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -49,20 +49,20 @@ var init_grid = __esm({
|
|
|
49
49
|
"var(--primary-40-color)",
|
|
50
50
|
"var(--secondary-40-color)",
|
|
51
51
|
"var(--premium-40-color)",
|
|
52
|
-
"var(--
|
|
52
|
+
"var(--turquoise-40-color)",
|
|
53
53
|
"var(--purple-40-color)",
|
|
54
54
|
"var(--orange-40-color)",
|
|
55
55
|
"var(--gray-40-color)",
|
|
56
56
|
"var(--primary-70-color)",
|
|
57
57
|
"var(--secondary-70-color)",
|
|
58
58
|
"var(--premium-70-color)",
|
|
59
|
-
"var(--
|
|
59
|
+
"var(--turquoise-70-color)",
|
|
60
60
|
"var(--purple-70-color)",
|
|
61
61
|
"var(--orange-70-color)"
|
|
62
62
|
];
|
|
63
63
|
ZONE_ELEMENT_CATEGORIES = [
|
|
64
64
|
"picWord",
|
|
65
|
-
"
|
|
65
|
+
"definitionWord",
|
|
66
66
|
"subZone",
|
|
67
67
|
"mask",
|
|
68
68
|
"correction",
|
|
@@ -78,7 +78,7 @@ var init_template = __esm({
|
|
|
78
78
|
"use strict";
|
|
79
79
|
ZONEELEMENTTYPE_TO_DOCUMENT_PROP = {
|
|
80
80
|
picWord: "picWords",
|
|
81
|
-
|
|
81
|
+
definitionWord: "definitionWords",
|
|
82
82
|
subZone: "subZones",
|
|
83
83
|
mask: "masks",
|
|
84
84
|
correction: "corrections",
|
|
@@ -268,7 +268,7 @@ var init_template2 = __esm({
|
|
|
268
268
|
const docItem = template?.children?.find((doc) => doc.uuid === id);
|
|
269
269
|
const zoneElements = [
|
|
270
270
|
...docItem?.picWords ?? [],
|
|
271
|
-
...docItem?.
|
|
271
|
+
...docItem?.definitionWords ?? [],
|
|
272
272
|
...docItem?.subZones ?? [],
|
|
273
273
|
...docItem?.masks ?? [],
|
|
274
274
|
...docItem?.corrections ?? [],
|
|
@@ -382,19 +382,19 @@ var init_constants = __esm({
|
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
// css-modules:css-modules://
|
|
386
|
-
var
|
|
387
|
-
"css-modules:css-modules://
|
|
385
|
+
// css-modules:css-modules://WmG7nfm2METDYdsXwBUWKbNwIJfz0M2XnxV09EimjCM.css
|
|
386
|
+
var init_WmG7nfm2METDYdsXwBUWKbNwIJfz0M2XnxV09EimjCM = __esm({
|
|
387
|
+
"css-modules:css-modules://WmG7nfm2METDYdsXwBUWKbNwIJfz0M2XnxV09EimjCM.css"() {
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
//
|
|
391
|
+
// tmp_esbuild1755864893274/_src_components_lazy_CodemirrorEditor.browser.module.css
|
|
392
392
|
var src_components_lazy_CodemirrorEditor_browser_default;
|
|
393
393
|
var init_src_components_lazy_CodemirrorEditor_browser = __esm({
|
|
394
|
-
"
|
|
394
|
+
"tmp_esbuild1755864893274/_src_components_lazy_CodemirrorEditor.browser.module.css"() {
|
|
395
395
|
"use strict";
|
|
396
|
-
|
|
397
|
-
src_components_lazy_CodemirrorEditor_browser_default = { "codemirrorWrapper": "vv-
|
|
396
|
+
init_WmG7nfm2METDYdsXwBUWKbNwIJfz0M2XnxV09EimjCM();
|
|
397
|
+
src_components_lazy_CodemirrorEditor_browser_default = { "codemirrorWrapper": "vv--8UKMa-codemirrorWrapper" };
|
|
398
398
|
}
|
|
399
399
|
});
|
|
400
400
|
|
|
@@ -546,19 +546,19 @@ var init_CodemirrorEditor = __esm({
|
|
|
546
546
|
}
|
|
547
547
|
});
|
|
548
548
|
|
|
549
|
-
// css-modules:css-modules://
|
|
550
|
-
var
|
|
551
|
-
"css-modules:css-modules://
|
|
549
|
+
// css-modules:css-modules://uYgkm_O9epnWnDPuZM0wnr6rIjd474ClOIFl_R7ekJ4.css
|
|
550
|
+
var init_uYgkm_O9epnWnDPuZM0wnr6rIjd474ClOIFl_R7ekJ4 = __esm({
|
|
551
|
+
"css-modules:css-modules://uYgkm_O9epnWnDPuZM0wnr6rIjd474ClOIFl_R7ekJ4.css"() {
|
|
552
552
|
}
|
|
553
553
|
});
|
|
554
554
|
|
|
555
|
-
//
|
|
555
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorHeaderModal.module.css
|
|
556
556
|
var src_components_core_editor_EditorHeaderModal_default;
|
|
557
557
|
var init_src_components_core_editor_EditorHeaderModal = __esm({
|
|
558
|
-
"
|
|
558
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorHeaderModal.module.css"() {
|
|
559
559
|
"use strict";
|
|
560
|
-
|
|
561
|
-
src_components_core_editor_EditorHeaderModal_default = { "header": "vv-
|
|
560
|
+
init_uYgkm_O9epnWnDPuZM0wnr6rIjd474ClOIFl_R7ekJ4();
|
|
561
|
+
src_components_core_editor_EditorHeaderModal_default = { "header": "vv-wm6roa-header" };
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
564
|
|
|
@@ -670,19 +670,19 @@ var init_EditorHeaderModal2 = __esm({
|
|
|
670
670
|
}
|
|
671
671
|
});
|
|
672
672
|
|
|
673
|
-
// css-modules:css-modules://
|
|
674
|
-
var
|
|
675
|
-
"css-modules:css-modules://
|
|
673
|
+
// css-modules:css-modules://l89IcBWbrPsRoJdMErafA_dKzU_st1fvXkci59vWk30.css
|
|
674
|
+
var init_l89IcBWbrPsRoJdMErafA_dKzU_st1fvXkci59vWk30 = __esm({
|
|
675
|
+
"css-modules:css-modules://l89IcBWbrPsRoJdMErafA_dKzU_st1fvXkci59vWk30.css"() {
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
678
|
|
|
679
|
-
//
|
|
679
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorListModal.module.css
|
|
680
680
|
var src_components_core_editor_EditorListModal_default;
|
|
681
681
|
var init_src_components_core_editor_EditorListModal = __esm({
|
|
682
|
-
"
|
|
682
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorListModal.module.css"() {
|
|
683
683
|
"use strict";
|
|
684
|
-
|
|
685
|
-
src_components_core_editor_EditorListModal_default = { "ul": "vv-
|
|
684
|
+
init_l89IcBWbrPsRoJdMErafA_dKzU_st1fvXkci59vWk30();
|
|
685
|
+
src_components_core_editor_EditorListModal_default = { "ul": "vv-Wj84JG-ul" };
|
|
686
686
|
}
|
|
687
687
|
});
|
|
688
688
|
|
|
@@ -717,19 +717,19 @@ var init_EditorListModal2 = __esm({
|
|
|
717
717
|
}
|
|
718
718
|
});
|
|
719
719
|
|
|
720
|
-
// css-modules:css-modules://
|
|
721
|
-
var
|
|
722
|
-
"css-modules:css-modules://
|
|
720
|
+
// css-modules:css-modules://2PyP7v8IxTYznK_tOKLOXFPTaWoEnYUhSqb6J2uvo7E.css
|
|
721
|
+
var init_PyP7v8IxTYznK_tOKLOXFPTaWoEnYUhSqb6J2uvo7E = __esm({
|
|
722
|
+
"css-modules:css-modules://2PyP7v8IxTYznK_tOKLOXFPTaWoEnYUhSqb6J2uvo7E.css"() {
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
725
|
|
|
726
|
-
//
|
|
726
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorMathsModal.module.css
|
|
727
727
|
var src_components_core_editor_EditorMathsModal_default;
|
|
728
728
|
var init_src_components_core_editor_EditorMathsModal = __esm({
|
|
729
|
-
"
|
|
729
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorMathsModal.module.css"() {
|
|
730
730
|
"use strict";
|
|
731
|
-
|
|
732
|
-
src_components_core_editor_EditorMathsModal_default = { "mathsElement": "vv-
|
|
731
|
+
init_PyP7v8IxTYznK_tOKLOXFPTaWoEnYUhSqb6J2uvo7E();
|
|
732
|
+
src_components_core_editor_EditorMathsModal_default = { "mathsElement": "vv-59dkWG-mathsElement" };
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
|
|
@@ -772,19 +772,19 @@ var init_EditorMathsModal2 = __esm({
|
|
|
772
772
|
}
|
|
773
773
|
});
|
|
774
774
|
|
|
775
|
-
// css-modules:css-modules://
|
|
776
|
-
var
|
|
777
|
-
"css-modules:css-modules://
|
|
775
|
+
// css-modules:css-modules://0OUFDJmnzbROeSZFn6lQ8QrWrFAfNooP-TMRjl6qgz0.css
|
|
776
|
+
var init_OUFDJmnzbROeSZFn6lQ8QrWrFAfNooP_TMRjl6qgz0 = __esm({
|
|
777
|
+
"css-modules:css-modules://0OUFDJmnzbROeSZFn6lQ8QrWrFAfNooP-TMRjl6qgz0.css"() {
|
|
778
778
|
}
|
|
779
779
|
});
|
|
780
780
|
|
|
781
|
-
//
|
|
781
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorOrderedListModal.module.css
|
|
782
782
|
var src_components_core_editor_EditorOrderedListModal_default;
|
|
783
783
|
var init_src_components_core_editor_EditorOrderedListModal = __esm({
|
|
784
|
-
"
|
|
784
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorOrderedListModal.module.css"() {
|
|
785
785
|
"use strict";
|
|
786
|
-
|
|
787
|
-
src_components_core_editor_EditorOrderedListModal_default = { "ol": "vv-
|
|
786
|
+
init_OUFDJmnzbROeSZFn6lQ8QrWrFAfNooP_TMRjl6qgz0();
|
|
787
|
+
src_components_core_editor_EditorOrderedListModal_default = { "ol": "vv-Gh8-dW-ol" };
|
|
788
788
|
}
|
|
789
789
|
});
|
|
790
790
|
|
|
@@ -841,19 +841,19 @@ var init_EditorOrderedListModal2 = __esm({
|
|
|
841
841
|
}
|
|
842
842
|
});
|
|
843
843
|
|
|
844
|
-
// css-modules:css-modules://
|
|
845
|
-
var
|
|
846
|
-
"css-modules:css-modules://
|
|
844
|
+
// css-modules:css-modules://4MeW6RuQ7zF8CNuk9oZfn1w6JCaGMhXTJu6PCoVMZSc.css
|
|
845
|
+
var init_MeW6RuQ7zF8CNuk9oZfn1w6JCaGMhXTJu6PCoVMZSc = __esm({
|
|
846
|
+
"css-modules:css-modules://4MeW6RuQ7zF8CNuk9oZfn1w6JCaGMhXTJu6PCoVMZSc.css"() {
|
|
847
847
|
}
|
|
848
848
|
});
|
|
849
849
|
|
|
850
|
-
//
|
|
850
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorQuestionModal.module.css
|
|
851
851
|
var src_components_core_editor_EditorQuestionModal_default;
|
|
852
852
|
var init_src_components_core_editor_EditorQuestionModal = __esm({
|
|
853
|
-
"
|
|
853
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorQuestionModal.module.css"() {
|
|
854
854
|
"use strict";
|
|
855
|
-
|
|
856
|
-
src_components_core_editor_EditorQuestionModal_default = { "question": "vv-
|
|
855
|
+
init_MeW6RuQ7zF8CNuk9oZfn1w6JCaGMhXTJu6PCoVMZSc();
|
|
856
|
+
src_components_core_editor_EditorQuestionModal_default = { "question": "vv-6kkxqW-question" };
|
|
857
857
|
}
|
|
858
858
|
});
|
|
859
859
|
|
|
@@ -919,19 +919,19 @@ var init_EditorQuestionModal2 = __esm({
|
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
921
|
|
|
922
|
-
// css-modules:css-modules
|
|
923
|
-
var
|
|
924
|
-
"css-modules:css-modules
|
|
922
|
+
// css-modules:css-modules://XaZuPssZltXRfqoYqkV-DMT5f8xvD58w4RfGfKlfKXc.css
|
|
923
|
+
var init_XaZuPssZltXRfqoYqkV_DMT5f8xvD58w4RfGfKlfKXc = __esm({
|
|
924
|
+
"css-modules:css-modules://XaZuPssZltXRfqoYqkV-DMT5f8xvD58w4RfGfKlfKXc.css"() {
|
|
925
925
|
}
|
|
926
926
|
});
|
|
927
927
|
|
|
928
|
-
//
|
|
928
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorStampModal.module.css
|
|
929
929
|
var src_components_core_editor_EditorStampModal_default;
|
|
930
930
|
var init_src_components_core_editor_EditorStampModal = __esm({
|
|
931
|
-
"
|
|
931
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorStampModal.module.css"() {
|
|
932
932
|
"use strict";
|
|
933
|
-
|
|
934
|
-
src_components_core_editor_EditorStampModal_default = { "stamp": "vv-
|
|
933
|
+
init_XaZuPssZltXRfqoYqkV_DMT5f8xvD58w4RfGfKlfKXc();
|
|
934
|
+
src_components_core_editor_EditorStampModal_default = { "stamp": "vv-4HNs2G-stamp" };
|
|
935
935
|
}
|
|
936
936
|
});
|
|
937
937
|
|
|
@@ -993,19 +993,19 @@ var init_table = __esm({
|
|
|
993
993
|
}
|
|
994
994
|
});
|
|
995
995
|
|
|
996
|
-
// css-modules:css-modules://
|
|
997
|
-
var
|
|
998
|
-
"css-modules:css-modules://
|
|
996
|
+
// css-modules:css-modules://i45stdZPVP3yvlnENyF93di9ObrZObzzmdSY4SY0bH8.css
|
|
997
|
+
var init_i45stdZPVP3yvlnENyF93di9ObrZObzzmdSY4SY0bH8 = __esm({
|
|
998
|
+
"css-modules:css-modules://i45stdZPVP3yvlnENyF93di9ObrZObzzmdSY4SY0bH8.css"() {
|
|
999
999
|
}
|
|
1000
1000
|
});
|
|
1001
1001
|
|
|
1002
|
-
//
|
|
1002
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorTableModal.module.css
|
|
1003
1003
|
var src_components_core_editor_EditorTableModal_default;
|
|
1004
1004
|
var init_src_components_core_editor_EditorTableModal = __esm({
|
|
1005
|
-
"
|
|
1005
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorTableModal.module.css"() {
|
|
1006
1006
|
"use strict";
|
|
1007
|
-
|
|
1008
|
-
src_components_core_editor_EditorTableModal_default = { "
|
|
1007
|
+
init_i45stdZPVP3yvlnENyF93di9ObrZObzzmdSY4SY0bH8();
|
|
1008
|
+
src_components_core_editor_EditorTableModal_default = { "line": "vv-8biFiW-line", "cell": "vv-8biFiW-cell", "grid": "vv-8biFiW-grid", "header": "vv-8biFiW-header" };
|
|
1009
1009
|
}
|
|
1010
1010
|
});
|
|
1011
1011
|
|
|
@@ -1095,19 +1095,19 @@ var init_EditorTableModal2 = __esm({
|
|
|
1095
1095
|
}
|
|
1096
1096
|
});
|
|
1097
1097
|
|
|
1098
|
-
// css-modules:css-modules://
|
|
1099
|
-
var
|
|
1100
|
-
"css-modules:css-modules://
|
|
1098
|
+
// css-modules:css-modules://su3-k9gUIIhskDyf3HC5zJjplPwRf4oRpM4XXYH1LME.css
|
|
1099
|
+
var init_su3_k9gUIIhskDyf3HC5zJjplPwRf4oRpM4XXYH1LME = __esm({
|
|
1100
|
+
"css-modules:css-modules://su3-k9gUIIhskDyf3HC5zJjplPwRf4oRpM4XXYH1LME.css"() {
|
|
1101
1101
|
}
|
|
1102
1102
|
});
|
|
1103
1103
|
|
|
1104
|
-
//
|
|
1104
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorTitleModal.module.css
|
|
1105
1105
|
var src_components_core_editor_EditorTitleModal_default;
|
|
1106
1106
|
var init_src_components_core_editor_EditorTitleModal = __esm({
|
|
1107
|
-
"
|
|
1107
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorTitleModal.module.css"() {
|
|
1108
1108
|
"use strict";
|
|
1109
|
-
|
|
1110
|
-
src_components_core_editor_EditorTitleModal_default = { "
|
|
1109
|
+
init_su3_k9gUIIhskDyf3HC5zJjplPwRf4oRpM4XXYH1LME();
|
|
1110
|
+
src_components_core_editor_EditorTitleModal_default = { "h2": "vv-t88v6G-h2", "body3": "vv-t88v6G-body3", "h3": "vv-t88v6G-h3", "h4": "vv-t88v6G-h4", "title": "vv-t88v6G-title", "body2": "vv-t88v6G-body2", "body1": "vv-t88v6G-body1", "h1": "vv-t88v6G-h1" };
|
|
1111
1111
|
}
|
|
1112
1112
|
});
|
|
1113
1113
|
|
|
@@ -1189,19 +1189,19 @@ var init_EditorTitleModal2 = __esm({
|
|
|
1189
1189
|
}
|
|
1190
1190
|
});
|
|
1191
1191
|
|
|
1192
|
-
// css-modules:css-modules://
|
|
1193
|
-
var
|
|
1194
|
-
"css-modules:css-modules://
|
|
1192
|
+
// css-modules:css-modules://BBZxrAu0Gn8DQa4hD3VXJNkZSj1uO20wC5IHvej9xoA.css
|
|
1193
|
+
var init_BBZxrAu0Gn8DQa4hD3VXJNkZSj1uO20wC5IHvej9xoA = __esm({
|
|
1194
|
+
"css-modules:css-modules://BBZxrAu0Gn8DQa4hD3VXJNkZSj1uO20wC5IHvej9xoA.css"() {
|
|
1195
1195
|
}
|
|
1196
1196
|
});
|
|
1197
1197
|
|
|
1198
|
-
//
|
|
1198
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorToolbar.module.css
|
|
1199
1199
|
var src_components_core_editor_EditorToolbar_default;
|
|
1200
1200
|
var init_src_components_core_editor_EditorToolbar = __esm({
|
|
1201
|
-
"
|
|
1201
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorToolbar.module.css"() {
|
|
1202
1202
|
"use strict";
|
|
1203
|
-
|
|
1204
|
-
src_components_core_editor_EditorToolbar_default = { "
|
|
1203
|
+
init_BBZxrAu0Gn8DQa4hD3VXJNkZSj1uO20wC5IHvej9xoA();
|
|
1204
|
+
src_components_core_editor_EditorToolbar_default = { "editorToolbar": "vv-VIq9Wa-editorToolbar", "span": "vv-VIq9Wa-span" };
|
|
1205
1205
|
}
|
|
1206
1206
|
});
|
|
1207
1207
|
|
|
@@ -1446,19 +1446,19 @@ ${selectedText}
|
|
|
1446
1446
|
}
|
|
1447
1447
|
});
|
|
1448
1448
|
|
|
1449
|
-
// css-modules:css-modules://
|
|
1450
|
-
var
|
|
1451
|
-
"css-modules:css-modules://
|
|
1449
|
+
// css-modules:css-modules://ygLhcR8JmWWZdbZPUkiMdDKg9w-56qdSOoUByAh7QNo.css
|
|
1450
|
+
var init_ygLhcR8JmWWZdbZPUkiMdDKg9w_56qdSOoUByAh7QNo = __esm({
|
|
1451
|
+
"css-modules:css-modules://ygLhcR8JmWWZdbZPUkiMdDKg9w-56qdSOoUByAh7QNo.css"() {
|
|
1452
1452
|
}
|
|
1453
1453
|
});
|
|
1454
1454
|
|
|
1455
|
-
//
|
|
1455
|
+
// tmp_esbuild1755864893274/_src_hooks_useDragAndResize.module.css
|
|
1456
1456
|
var src_hooks_useDragAndResize_default;
|
|
1457
1457
|
var init_src_hooks_useDragAndResize = __esm({
|
|
1458
|
-
"
|
|
1458
|
+
"tmp_esbuild1755864893274/_src_hooks_useDragAndResize.module.css"() {
|
|
1459
1459
|
"use strict";
|
|
1460
|
-
|
|
1461
|
-
src_hooks_useDragAndResize_default = { "handle": "vv-
|
|
1460
|
+
init_ygLhcR8JmWWZdbZPUkiMdDKg9w_56qdSOoUByAh7QNo();
|
|
1461
|
+
src_hooks_useDragAndResize_default = { "handle": "vv-QTF1QG-handle" };
|
|
1462
1462
|
}
|
|
1463
1463
|
});
|
|
1464
1464
|
|
|
@@ -1738,19 +1738,19 @@ var init_useDragAndResize2 = __esm({
|
|
|
1738
1738
|
}
|
|
1739
1739
|
});
|
|
1740
1740
|
|
|
1741
|
-
// css-modules:css-modules://
|
|
1742
|
-
var
|
|
1743
|
-
"css-modules:css-modules://
|
|
1741
|
+
// css-modules:css-modules://u0GQ7ziJavYGMtpG6sLl4X9wfe3wZLSJfxA-VUCOyvU.css
|
|
1742
|
+
var init_u0GQ7ziJavYGMtpG6sLl4X9wfe3wZLSJfxA_VUCOyvU = __esm({
|
|
1743
|
+
"css-modules:css-modules://u0GQ7ziJavYGMtpG6sLl4X9wfe3wZLSJfxA-VUCOyvU.css"() {
|
|
1744
1744
|
}
|
|
1745
1745
|
});
|
|
1746
1746
|
|
|
1747
|
-
//
|
|
1747
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_Editor.module.css
|
|
1748
1748
|
var src_components_core_editor_Editor_default;
|
|
1749
1749
|
var init_src_components_core_editor_Editor = __esm({
|
|
1750
|
-
"
|
|
1750
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_Editor.module.css"() {
|
|
1751
1751
|
"use strict";
|
|
1752
|
-
|
|
1753
|
-
src_components_core_editor_Editor_default = { "rnd": "vv-
|
|
1752
|
+
init_u0GQ7ziJavYGMtpG6sLl4X9wfe3wZLSJfxA_VUCOyvU();
|
|
1753
|
+
src_components_core_editor_Editor_default = { "rnd": "vv-SoMm1a-rnd", "errorBanner": "vv-SoMm1a-errorBanner", "wrapper": "vv-SoMm1a-wrapper", "header": "vv-SoMm1a-header" };
|
|
1754
1754
|
}
|
|
1755
1755
|
});
|
|
1756
1756
|
|
|
@@ -2022,19 +2022,19 @@ var init_mode = __esm({
|
|
|
2022
2022
|
}
|
|
2023
2023
|
});
|
|
2024
2024
|
|
|
2025
|
-
// css-modules:css-modules://
|
|
2026
|
-
var
|
|
2027
|
-
"css-modules:css-modules://
|
|
2025
|
+
// css-modules:css-modules://9b1QWOC_o-VRvC2mKZzIw64SaJJgWnAGywHbJFDl9fs.css
|
|
2026
|
+
var init_b1QWOC_o_VRvC2mKZzIw64SaJJgWnAGywHbJFDl9fs = __esm({
|
|
2027
|
+
"css-modules:css-modules://9b1QWOC_o-VRvC2mKZzIw64SaJJgWnAGywHbJFDl9fs.css"() {
|
|
2028
2028
|
}
|
|
2029
2029
|
});
|
|
2030
2030
|
|
|
2031
|
-
//
|
|
2031
|
+
// tmp_esbuild1755864893274/_src_components_core_DocumentToolbar.module.css
|
|
2032
2032
|
var src_components_core_DocumentToolbar_default;
|
|
2033
2033
|
var init_src_components_core_DocumentToolbar = __esm({
|
|
2034
|
-
"
|
|
2034
|
+
"tmp_esbuild1755864893274/_src_components_core_DocumentToolbar.module.css"() {
|
|
2035
2035
|
"use strict";
|
|
2036
|
-
|
|
2037
|
-
src_components_core_DocumentToolbar_default = { "toolbar": "vv-
|
|
2036
|
+
init_b1QWOC_o_VRvC2mKZzIw64SaJJgWnAGywHbJFDl9fs();
|
|
2037
|
+
src_components_core_DocumentToolbar_default = { "toolbar": "vv-9aJ8dW-toolbar", "parentToolbar": "vv-9aJ8dW-parentToolbar", "toggleMenuButton": "vv-9aJ8dW-toggleMenuButton" };
|
|
2038
2038
|
}
|
|
2039
2039
|
});
|
|
2040
2040
|
|
|
@@ -2091,19 +2091,19 @@ var init_DocumentToolbar2 = __esm({
|
|
|
2091
2091
|
}
|
|
2092
2092
|
});
|
|
2093
2093
|
|
|
2094
|
-
// css-modules:css-modules://
|
|
2095
|
-
var
|
|
2096
|
-
"css-modules:css-modules://
|
|
2094
|
+
// css-modules:css-modules://7Xch20VX9ZZg3uIFTbs-rmV0nyC6pfT4U9k94qgKT9c.css
|
|
2095
|
+
var init_Xch20VX9ZZg3uIFTbs_rmV0nyC6pfT4U9k94qgKT9c = __esm({
|
|
2096
|
+
"css-modules:css-modules://7Xch20VX9ZZg3uIFTbs-rmV0nyC6pfT4U9k94qgKT9c.css"() {
|
|
2097
2097
|
}
|
|
2098
2098
|
});
|
|
2099
2099
|
|
|
2100
|
-
//
|
|
2100
|
+
// tmp_esbuild1755864893274/_src_components_core_ErrorBoundary.module.css
|
|
2101
2101
|
var src_components_core_ErrorBoundary_default;
|
|
2102
2102
|
var init_src_components_core_ErrorBoundary = __esm({
|
|
2103
|
-
"
|
|
2103
|
+
"tmp_esbuild1755864893274/_src_components_core_ErrorBoundary.module.css"() {
|
|
2104
2104
|
"use strict";
|
|
2105
|
-
|
|
2106
|
-
src_components_core_ErrorBoundary_default = { "errorBoundary": "vv-
|
|
2105
|
+
init_Xch20VX9ZZg3uIFTbs_rmV0nyC6pfT4U9k94qgKT9c();
|
|
2106
|
+
src_components_core_ErrorBoundary_default = { "errorBoundary": "vv-ATZV2W-errorBoundary" };
|
|
2107
2107
|
}
|
|
2108
2108
|
});
|
|
2109
2109
|
|
|
@@ -2256,19 +2256,19 @@ var init_config = __esm({
|
|
|
2256
2256
|
}
|
|
2257
2257
|
});
|
|
2258
2258
|
|
|
2259
|
-
// css-modules:css-modules://
|
|
2260
|
-
var
|
|
2261
|
-
"css-modules:css-modules://
|
|
2259
|
+
// css-modules:css-modules://CrJOX84LKuvkQW_pgeX3EzDFqZvOstqjXkeUGU8jWn0.css
|
|
2260
|
+
var init_CrJOX84LKuvkQW_pgeX3EzDFqZvOstqjXkeUGU8jWn0 = __esm({
|
|
2261
|
+
"css-modules:css-modules://CrJOX84LKuvkQW_pgeX3EzDFqZvOstqjXkeUGU8jWn0.css"() {
|
|
2262
2262
|
}
|
|
2263
2263
|
});
|
|
2264
2264
|
|
|
2265
|
-
//
|
|
2265
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_EditGrid.module.css
|
|
2266
2266
|
var src_components_primarygrid_EditGrid_default;
|
|
2267
2267
|
var init_src_components_primarygrid_EditGrid = __esm({
|
|
2268
|
-
"
|
|
2268
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_EditGrid.module.css"() {
|
|
2269
2269
|
"use strict";
|
|
2270
|
-
|
|
2271
|
-
src_components_primarygrid_EditGrid_default = { "
|
|
2270
|
+
init_CrJOX84LKuvkQW_pgeX3EzDFqZvOstqjXkeUGU8jWn0();
|
|
2271
|
+
src_components_primarygrid_EditGrid_default = { "col": "vv-YHMlwq-col", "interface": "vv-YHMlwq-interface", "zone": "vv-YHMlwq-zone", "angleValue": "vv-YHMlwq-angleValue", "zonePicture": "vv-YHMlwq-zonePicture", "zonePictureInner": "vv-YHMlwq-zonePictureInner", "docs": "vv-YHMlwq-docs", "editGrid": "vv-YHMlwq-editGrid", "interfaceHeader": "vv-YHMlwq-interfaceHeader", "row": "vv-YHMlwq-row" };
|
|
2272
2272
|
}
|
|
2273
2273
|
});
|
|
2274
2274
|
|
|
@@ -2280,19 +2280,19 @@ var init_EditGrid = __esm({
|
|
|
2280
2280
|
}
|
|
2281
2281
|
});
|
|
2282
2282
|
|
|
2283
|
-
// css-modules:css-modules://
|
|
2284
|
-
var
|
|
2285
|
-
"css-modules:css-modules://
|
|
2283
|
+
// css-modules:css-modules://sCnxaEa-iHN0OJLtakCI2Fx8yxSm1CprD_vKScKNCIg.css
|
|
2284
|
+
var init_sCnxaEa_iHN0OJLtakCI2Fx8yxSm1CprD_vKScKNCIg = __esm({
|
|
2285
|
+
"css-modules:css-modules://sCnxaEa-iHN0OJLtakCI2Fx8yxSm1CprD_vKScKNCIg.css"() {
|
|
2286
2286
|
}
|
|
2287
2287
|
});
|
|
2288
2288
|
|
|
2289
|
-
//
|
|
2289
|
+
// tmp_esbuild1755864893274/_src_components_Audio.module.css
|
|
2290
2290
|
var src_components_Audio_default;
|
|
2291
2291
|
var init_src_components_Audio = __esm({
|
|
2292
|
-
"
|
|
2292
|
+
"tmp_esbuild1755864893274/_src_components_Audio.module.css"() {
|
|
2293
2293
|
"use strict";
|
|
2294
|
-
|
|
2295
|
-
src_components_Audio_default = { "container": "vv-
|
|
2294
|
+
init_sCnxaEa_iHN0OJLtakCI2Fx8yxSm1CprD_vKScKNCIg();
|
|
2295
|
+
src_components_Audio_default = { "container": "vv-8OQ59G-container", "audio": "vv-8OQ59G-audio" };
|
|
2296
2296
|
}
|
|
2297
2297
|
});
|
|
2298
2298
|
|
|
@@ -2335,19 +2335,19 @@ var init_Audio2 = __esm({
|
|
|
2335
2335
|
}
|
|
2336
2336
|
});
|
|
2337
2337
|
|
|
2338
|
-
// css-modules:css-modules://
|
|
2339
|
-
var
|
|
2340
|
-
"css-modules:css-modules://
|
|
2338
|
+
// css-modules:css-modules://RArWUBy-UmOjrTfaIgaTiCz2dTW6M86bC2LcVBmoFdk.css
|
|
2339
|
+
var init_RArWUBy_UmOjrTfaIgaTiCz2dTW6M86bC2LcVBmoFdk = __esm({
|
|
2340
|
+
"css-modules:css-modules://RArWUBy-UmOjrTfaIgaTiCz2dTW6M86bC2LcVBmoFdk.css"() {
|
|
2341
2341
|
}
|
|
2342
2342
|
});
|
|
2343
2343
|
|
|
2344
|
-
//
|
|
2344
|
+
// tmp_esbuild1755864893274/_src_components_Rive.module.css
|
|
2345
2345
|
var src_components_Rive_default;
|
|
2346
2346
|
var init_src_components_Rive = __esm({
|
|
2347
|
-
"
|
|
2347
|
+
"tmp_esbuild1755864893274/_src_components_Rive.module.css"() {
|
|
2348
2348
|
"use strict";
|
|
2349
|
-
|
|
2350
|
-
src_components_Rive_default = { "container": "vv-
|
|
2349
|
+
init_RArWUBy_UmOjrTfaIgaTiCz2dTW6M86bC2LcVBmoFdk();
|
|
2350
|
+
src_components_Rive_default = { "container": "vv-ImVMoa-container" };
|
|
2351
2351
|
}
|
|
2352
2352
|
});
|
|
2353
2353
|
|
|
@@ -2388,19 +2388,19 @@ var init_Rive2 = __esm({
|
|
|
2388
2388
|
}
|
|
2389
2389
|
});
|
|
2390
2390
|
|
|
2391
|
-
// css-modules:css-modules://
|
|
2392
|
-
var
|
|
2393
|
-
"css-modules:css-modules://
|
|
2391
|
+
// css-modules:css-modules://h0D1VrIJ1SvNsY7Dswihc79y_eIZBXgU-FVhFZ-TvKg.css
|
|
2392
|
+
var init_h0D1VrIJ1SvNsY7Dswihc79y_eIZBXgU_FVhFZ_TvKg = __esm({
|
|
2393
|
+
"css-modules:css-modules://h0D1VrIJ1SvNsY7Dswihc79y_eIZBXgU-FVhFZ-TvKg.css"() {
|
|
2394
2394
|
}
|
|
2395
2395
|
});
|
|
2396
2396
|
|
|
2397
|
-
//
|
|
2397
|
+
// tmp_esbuild1755864893274/_src_components_Video.module.css
|
|
2398
2398
|
var src_components_Video_default;
|
|
2399
2399
|
var init_src_components_Video = __esm({
|
|
2400
|
-
"
|
|
2400
|
+
"tmp_esbuild1755864893274/_src_components_Video.module.css"() {
|
|
2401
2401
|
"use strict";
|
|
2402
|
-
|
|
2403
|
-
src_components_Video_default = { "
|
|
2402
|
+
init_h0D1VrIJ1SvNsY7Dswihc79y_eIZBXgU_FVhFZ_TvKg();
|
|
2403
|
+
src_components_Video_default = { "container": "vv-mDB8Eq-container", "video": "vv-mDB8Eq-video" };
|
|
2404
2404
|
}
|
|
2405
2405
|
});
|
|
2406
2406
|
|
|
@@ -2473,7 +2473,7 @@ var init_zoneElements = __esm({
|
|
|
2473
2473
|
"use strict";
|
|
2474
2474
|
ZONE_ELEMENTS_LABEL = {
|
|
2475
2475
|
picWord: "Mot-image",
|
|
2476
|
-
|
|
2476
|
+
definitionWord: "D\xE9finition",
|
|
2477
2477
|
subZone: "Sous-zone",
|
|
2478
2478
|
mask: "Masque",
|
|
2479
2479
|
correction: "Correction",
|
|
@@ -2722,12 +2722,11 @@ var init_zoneMaker2 = __esm({
|
|
|
2722
2722
|
case "picWord":
|
|
2723
2723
|
return "var(--purple-40-color)";
|
|
2724
2724
|
case "correction":
|
|
2725
|
-
return "var(--
|
|
2725
|
+
return "var(--turquoise-40-color)";
|
|
2726
2726
|
case "audioWord":
|
|
2727
2727
|
return "var(--pk-pink-30-color)";
|
|
2728
|
-
case "
|
|
2729
|
-
return "
|
|
2730
|
-
// TO COMPLETE
|
|
2728
|
+
case "definitionWord":
|
|
2729
|
+
return "var(--secondary-40-color)";
|
|
2731
2730
|
default:
|
|
2732
2731
|
return "black";
|
|
2733
2732
|
}
|
|
@@ -2754,19 +2753,19 @@ var init_zoneMaker2 = __esm({
|
|
|
2754
2753
|
}
|
|
2755
2754
|
});
|
|
2756
2755
|
|
|
2757
|
-
// css-modules:css-modules://
|
|
2758
|
-
var
|
|
2759
|
-
"css-modules:css-modules://
|
|
2756
|
+
// css-modules:css-modules://ihwNHu5CS_ZkKEKKjxYjN81Z1KuoZrrXDwJeEUUiXl8.css
|
|
2757
|
+
var init_ihwNHu5CS_ZkKEKKjxYjN81Z1KuoZrrXDwJeEUUiXl8 = __esm({
|
|
2758
|
+
"css-modules:css-modules://ihwNHu5CS_ZkKEKKjxYjN81Z1KuoZrrXDwJeEUUiXl8.css"() {
|
|
2760
2759
|
}
|
|
2761
2760
|
});
|
|
2762
2761
|
|
|
2763
|
-
//
|
|
2762
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_EditZoneModal.module.css
|
|
2764
2763
|
var src_components_primarygrid_EditZoneModal_default;
|
|
2765
2764
|
var init_src_components_primarygrid_EditZoneModal = __esm({
|
|
2766
|
-
"
|
|
2765
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_EditZoneModal.module.css"() {
|
|
2767
2766
|
"use strict";
|
|
2768
|
-
|
|
2769
|
-
src_components_primarygrid_EditZoneModal_default = { "
|
|
2767
|
+
init_ihwNHu5CS_ZkKEKKjxYjN81Z1KuoZrrXDwJeEUUiXl8();
|
|
2768
|
+
src_components_primarygrid_EditZoneModal_default = { "zonePicture": "vv-CJZSiG-zonePicture", "zonePictureInner": "vv-CJZSiG-zonePictureInner", "stickyElementsList": "vv-CJZSiG-stickyElementsList", "rive": "vv-CJZSiG-rive", "rightButton": "vv-CJZSiG-rightButton", "addZoneButtons": "vv-CJZSiG-addZoneButtons", "properties": "vv-CJZSiG-properties", "col": "vv-CJZSiG-col", "zone": "vv-CJZSiG-zone", "leftButton": "vv-CJZSiG-leftButton", "zoneElementsList": "vv-CJZSiG-zoneElementsList", "zoneElements": "vv-CJZSiG-zoneElements", "row": "vv-CJZSiG-row", "contentMdDoc": "vv-CJZSiG-contentMdDoc", "angleValue": "vv-CJZSiG-angleValue", "mediaContainer": "vv-CJZSiG-mediaContainer", "addZone": "vv-CJZSiG-addZone" };
|
|
2770
2769
|
}
|
|
2771
2770
|
});
|
|
2772
2771
|
|
|
@@ -2804,19 +2803,19 @@ var init_ZoneCoordinates = __esm({
|
|
|
2804
2803
|
}
|
|
2805
2804
|
});
|
|
2806
2805
|
|
|
2807
|
-
// css-modules:css-modules://
|
|
2808
|
-
var
|
|
2809
|
-
"css-modules:css-modules://
|
|
2806
|
+
// css-modules:css-modules://9U7BOfd3qcNrwiJhCo_giG__8TiY9SUGgF_EC0yUxEc.css
|
|
2807
|
+
var init_U7BOfd3qcNrwiJhCo_giG_8TiY9SUGgF_EC0yUxEc = __esm({
|
|
2808
|
+
"css-modules:css-modules://9U7BOfd3qcNrwiJhCo_giG__8TiY9SUGgF_EC0yUxEc.css"() {
|
|
2810
2809
|
}
|
|
2811
2810
|
});
|
|
2812
2811
|
|
|
2813
|
-
//
|
|
2812
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_ZoneMaker.module.css
|
|
2814
2813
|
var src_components_primarygrid_ZoneMaker_default;
|
|
2815
2814
|
var init_src_components_primarygrid_ZoneMaker = __esm({
|
|
2816
|
-
"
|
|
2815
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_ZoneMaker.module.css"() {
|
|
2817
2816
|
"use strict";
|
|
2818
|
-
|
|
2819
|
-
src_components_primarygrid_ZoneMaker_default = { "
|
|
2817
|
+
init_U7BOfd3qcNrwiJhCo_giG_8TiY9SUGgF_EC0yUxEc();
|
|
2818
|
+
src_components_primarygrid_ZoneMaker_default = { "mediaContainer": "vv-j5tGha-mediaContainer", "zoneMakeContainer": "vv-j5tGha-zoneMakeContainer", "zoneMaker": "vv-j5tGha-zoneMaker", "handle": "vv-j5tGha-handle", "pictureZone": "vv-j5tGha-pictureZone", "settingsButton": "vv-j5tGha-settingsButton", "pageDivider": "vv-j5tGha-pageDivider" };
|
|
2820
2819
|
}
|
|
2821
2820
|
});
|
|
2822
2821
|
|
|
@@ -2838,19 +2837,19 @@ var init_url = __esm({
|
|
|
2838
2837
|
}
|
|
2839
2838
|
});
|
|
2840
2839
|
|
|
2841
|
-
// css-modules:css-modules://
|
|
2842
|
-
var
|
|
2843
|
-
"css-modules:css-modules://
|
|
2840
|
+
// css-modules:css-modules://8ogWWlG0qK0v30q9fsKmCUKgNLCItvkCee3JNfYG-QU.css
|
|
2841
|
+
var init_ogWWlG0qK0v30q9fsKmCUKgNLCItvkCee3JNfYG_QU = __esm({
|
|
2842
|
+
"css-modules:css-modules://8ogWWlG0qK0v30q9fsKmCUKgNLCItvkCee3JNfYG-QU.css"() {
|
|
2844
2843
|
}
|
|
2845
2844
|
});
|
|
2846
2845
|
|
|
2847
|
-
//
|
|
2846
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_ZoomedPicture.module.css
|
|
2848
2847
|
var src_components_primarygrid_ZoomedPicture_default;
|
|
2849
2848
|
var init_src_components_primarygrid_ZoomedPicture = __esm({
|
|
2850
|
-
"
|
|
2849
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_ZoomedPicture.module.css"() {
|
|
2851
2850
|
"use strict";
|
|
2852
|
-
|
|
2853
|
-
src_components_primarygrid_ZoomedPicture_default = { "zoomedPicture": "vv-
|
|
2851
|
+
init_ogWWlG0qK0v30q9fsKmCUKgNLCItvkCee3JNfYG_QU();
|
|
2852
|
+
src_components_primarygrid_ZoomedPicture_default = { "zoomedPicture": "vv-BmL_2G-zoomedPicture", "imgPicture": "vv-BmL_2G-imgPicture", "placeholder": "vv-BmL_2G-placeholder", "generatedAsset": "vv-BmL_2G-generatedAsset", "emptyFrame": "vv-BmL_2G-emptyFrame" };
|
|
2854
2853
|
}
|
|
2855
2854
|
});
|
|
2856
2855
|
|
|
@@ -3234,12 +3233,13 @@ var init_EditZoneModal2 = __esm({
|
|
|
3234
3233
|
addDocument(newZone);
|
|
3235
3234
|
scrollToZone(newZone);
|
|
3236
3235
|
};
|
|
3237
|
-
const
|
|
3238
|
-
return ["audioWord", "picWord"].includes(zoneElement.type);
|
|
3236
|
+
const hasSelectField = (zoneElement) => {
|
|
3237
|
+
return ["audioWord", "picWord", "definitionWord"].includes(zoneElement.type);
|
|
3239
3238
|
};
|
|
3240
3239
|
const wordsLists = useMemo2(
|
|
3241
3240
|
() => ({
|
|
3242
3241
|
picWord: setWordsList(words?.filter((word) => word.src)),
|
|
3242
|
+
definitionWord: setWordsList(words?.filter((word) => word.definition)),
|
|
3243
3243
|
audioWord: setWordsList(words?.filter((word) => word.audio))
|
|
3244
3244
|
}),
|
|
3245
3245
|
[words]
|
|
@@ -3300,7 +3300,7 @@ var init_EditZoneModal2 = __esm({
|
|
|
3300
3300
|
] }),
|
|
3301
3301
|
/* @__PURE__ */ jsxs15("div", { className: src_components_primarygrid_EditZoneModal_default.addZone, children: [
|
|
3302
3302
|
/* @__PURE__ */ jsx23("h3", { children: "Ajouter" }),
|
|
3303
|
-
/* @__PURE__ */ jsx23("div", { className: src_components_primarygrid_EditZoneModal_default.addZoneButtons, children: ZONE_ELEMENT_CATEGORIES.
|
|
3303
|
+
/* @__PURE__ */ jsx23("div", { className: src_components_primarygrid_EditZoneModal_default.addZoneButtons, children: ZONE_ELEMENT_CATEGORIES.map((type) => /* @__PURE__ */ jsx23(Button5, { onClick: () => addZoneElement(type), children: ZONE_ELEMENTS_LABEL[type] }, type)) })
|
|
3304
3304
|
] })
|
|
3305
3305
|
] }),
|
|
3306
3306
|
gridItem?.elements.map((gridItemElement, index3) => {
|
|
@@ -3334,7 +3334,7 @@ var init_EditZoneModal2 = __esm({
|
|
|
3334
3334
|
)
|
|
3335
3335
|
] })
|
|
3336
3336
|
] }),
|
|
3337
|
-
/* @__PURE__ */ jsx23("div", { className: src_components_primarygrid_EditZoneModal_default.row, children:
|
|
3337
|
+
/* @__PURE__ */ jsx23("div", { className: src_components_primarygrid_EditZoneModal_default.row, children: hasSelectField(zoneElement) && /* @__PURE__ */ jsx23(
|
|
3338
3338
|
SelectField,
|
|
3339
3339
|
{
|
|
3340
3340
|
label: "Mot",
|
|
@@ -3537,19 +3537,19 @@ var init_SortableGrid = __esm({
|
|
|
3537
3537
|
}
|
|
3538
3538
|
});
|
|
3539
3539
|
|
|
3540
|
-
// css-modules:css-modules://
|
|
3541
|
-
var
|
|
3542
|
-
"css-modules:css-modules://
|
|
3540
|
+
// css-modules:css-modules://WarLTd-sJmTMeaLGUMT8eq6L1ASRftPOXTlCmvDX3V4.css
|
|
3541
|
+
var init_WarLTd_sJmTMeaLGUMT8eq6L1ASRftPOXTlCmvDX3V4 = __esm({
|
|
3542
|
+
"css-modules:css-modules://WarLTd-sJmTMeaLGUMT8eq6L1ASRftPOXTlCmvDX3V4.css"() {
|
|
3543
3543
|
}
|
|
3544
3544
|
});
|
|
3545
3545
|
|
|
3546
|
-
//
|
|
3546
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_sortable_SortableItem.module.css
|
|
3547
3547
|
var src_components_primarygrid_sortable_SortableItem_default;
|
|
3548
3548
|
var init_src_components_primarygrid_sortable_SortableItem = __esm({
|
|
3549
|
-
"
|
|
3549
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_sortable_SortableItem.module.css"() {
|
|
3550
3550
|
"use strict";
|
|
3551
|
-
|
|
3552
|
-
src_components_primarygrid_sortable_SortableItem_default = { "item": "vv-
|
|
3551
|
+
init_WarLTd_sJmTMeaLGUMT8eq6L1ASRftPOXTlCmvDX3V4();
|
|
3552
|
+
src_components_primarygrid_sortable_SortableItem_default = { "item": "vv-qJ0MEa-item", "dragButton": "vv-qJ0MEa-dragButton" };
|
|
3553
3553
|
}
|
|
3554
3554
|
});
|
|
3555
3555
|
|
|
@@ -3889,19 +3889,19 @@ var init_EditGrid2 = __esm({
|
|
|
3889
3889
|
}
|
|
3890
3890
|
});
|
|
3891
3891
|
|
|
3892
|
-
// css-modules:css-modules://
|
|
3893
|
-
var
|
|
3894
|
-
"css-modules:css-modules://
|
|
3892
|
+
// css-modules:css-modules://jiUTmH7E3HsNPHyfk7OP_-kVshSwTGOkWn4nxVr_kxc.css
|
|
3893
|
+
var init_jiUTmH7E3HsNPHyfk7OP_kVshSwTGOkWn4nxVr_kxc = __esm({
|
|
3894
|
+
"css-modules:css-modules://jiUTmH7E3HsNPHyfk7OP_-kVshSwTGOkWn4nxVr_kxc.css"() {
|
|
3895
3895
|
}
|
|
3896
3896
|
});
|
|
3897
3897
|
|
|
3898
|
-
//
|
|
3898
|
+
// tmp_esbuild1755864893274/_src_components_HighlightedArea.module.css
|
|
3899
3899
|
var src_components_HighlightedArea_default;
|
|
3900
3900
|
var init_src_components_HighlightedArea = __esm({
|
|
3901
|
-
"
|
|
3901
|
+
"tmp_esbuild1755864893274/_src_components_HighlightedArea.module.css"() {
|
|
3902
3902
|
"use strict";
|
|
3903
|
-
|
|
3904
|
-
src_components_HighlightedArea_default = { "highlight": "vv
|
|
3903
|
+
init_jiUTmH7E3HsNPHyfk7OP_kVshSwTGOkWn4nxVr_kxc();
|
|
3904
|
+
src_components_HighlightedArea_default = { "highlight": "vv-WPntza-highlight" };
|
|
3905
3905
|
}
|
|
3906
3906
|
});
|
|
3907
3907
|
|
|
@@ -3952,19 +3952,19 @@ var init_HighlightedArea2 = __esm({
|
|
|
3952
3952
|
}
|
|
3953
3953
|
});
|
|
3954
3954
|
|
|
3955
|
-
// css-modules:css-modules://
|
|
3956
|
-
var
|
|
3957
|
-
"css-modules:css-modules://
|
|
3955
|
+
// css-modules:css-modules://6NMYNxILpTmCntBXmtmk-MvE3sTZTMF5h7ZTYCjUiK4.css
|
|
3956
|
+
var init_NMYNxILpTmCntBXmtmk_MvE3sTZTMF5h7ZTYCjUiK4 = __esm({
|
|
3957
|
+
"css-modules:css-modules://6NMYNxILpTmCntBXmtmk-MvE3sTZTMF5h7ZTYCjUiK4.css"() {
|
|
3958
3958
|
}
|
|
3959
3959
|
});
|
|
3960
3960
|
|
|
3961
|
-
//
|
|
3961
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_FullscreenDocument.module.css
|
|
3962
3962
|
var src_components_primarygrid_FullscreenDocument_default;
|
|
3963
3963
|
var init_src_components_primarygrid_FullscreenDocument = __esm({
|
|
3964
|
-
"
|
|
3964
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_FullscreenDocument.module.css"() {
|
|
3965
3965
|
"use strict";
|
|
3966
|
-
|
|
3967
|
-
src_components_primarygrid_FullscreenDocument_default = { "
|
|
3966
|
+
init_NMYNxILpTmCntBXmtmk_MvE3sTZTMF5h7ZTYCjUiK4();
|
|
3967
|
+
src_components_primarygrid_FullscreenDocument_default = { "switchContent": "vv-Dp8JkG-switchContent", "volumeIcon": "vv-Dp8JkG-volumeIcon", "mask": "vv-Dp8JkG-mask vv-Dp8JkG-anyZone", "document": "vv-Dp8JkG-document", "centeredContainer": "vv-Dp8JkG-centeredContainer", "anyZone": "vv-Dp8JkG-anyZone", "actions": "vv-Dp8JkG-actions", "zoneContent": "vv-Dp8JkG-zoneContent", "riveContainer": "vv-Dp8JkG-riveContainer", "correctionZone": "vv-Dp8JkG-correctionZone" };
|
|
3968
3968
|
}
|
|
3969
3969
|
});
|
|
3970
3970
|
|
|
@@ -6222,19 +6222,19 @@ var init_floating_ui_react = __esm({
|
|
|
6222
6222
|
}
|
|
6223
6223
|
});
|
|
6224
6224
|
|
|
6225
|
-
// css-modules:css-modules://
|
|
6226
|
-
var
|
|
6227
|
-
"css-modules:css-modules://
|
|
6225
|
+
// css-modules:css-modules://zYxYOjy4cJ5GtVt1VB548da17_SXs5EJp4lZ3uC84PM.css
|
|
6226
|
+
var init_zYxYOjy4cJ5GtVt1VB548da17_SXs5EJp4lZ3uC84PM = __esm({
|
|
6227
|
+
"css-modules:css-modules://zYxYOjy4cJ5GtVt1VB548da17_SXs5EJp4lZ3uC84PM.css"() {
|
|
6228
6228
|
}
|
|
6229
6229
|
});
|
|
6230
6230
|
|
|
6231
|
-
//
|
|
6231
|
+
// tmp_esbuild1755864893274/_src_components_ViewImage.module.css
|
|
6232
6232
|
var src_components_ViewImage_default;
|
|
6233
6233
|
var init_src_components_ViewImage = __esm({
|
|
6234
|
-
"
|
|
6234
|
+
"tmp_esbuild1755864893274/_src_components_ViewImage.module.css"() {
|
|
6235
6235
|
"use strict";
|
|
6236
|
-
|
|
6237
|
-
src_components_ViewImage_default = { "
|
|
6236
|
+
init_zYxYOjy4cJ5GtVt1VB548da17_SXs5EJp4lZ3uC84PM();
|
|
6237
|
+
src_components_ViewImage_default = { "img": "vv-LZiNGW-img", "definitionTitle": "vv-LZiNGW-definitionTitle", "definition": "vv-LZiNGW-definition", "span": "vv-LZiNGW-span", "root": "vv-LZiNGW-root", "container": "vv-LZiNGW-container" };
|
|
6238
6238
|
}
|
|
6239
6239
|
});
|
|
6240
6240
|
|
|
@@ -6258,7 +6258,16 @@ var init_ViewImage2 = __esm({
|
|
|
6258
6258
|
"use strict";
|
|
6259
6259
|
init_floating_ui_react();
|
|
6260
6260
|
init_ViewImage();
|
|
6261
|
-
ViewImage = ({
|
|
6261
|
+
ViewImage = ({
|
|
6262
|
+
word,
|
|
6263
|
+
children,
|
|
6264
|
+
className,
|
|
6265
|
+
style,
|
|
6266
|
+
onShow = _19.noop,
|
|
6267
|
+
onHide = _19.noop,
|
|
6268
|
+
...props
|
|
6269
|
+
}) => {
|
|
6270
|
+
const { src = "", definition = "", title } = word;
|
|
6262
6271
|
const [isOpen, setIsOpen] = useState15(false);
|
|
6263
6272
|
const [, startTransition] = useTransition();
|
|
6264
6273
|
const arrowRef = useRef8(null);
|
|
@@ -6313,7 +6322,14 @@ var init_ViewImage2 = __esm({
|
|
|
6313
6322
|
isValidElement(children) ? cloneElement2(children, { ref: refs.setReference, onClick }) : /* @__PURE__ */ jsx30("span", { ref: refs.setReference, onClick, children }),
|
|
6314
6323
|
isOpen && /* @__PURE__ */ jsx30(Portal2, { shouldDisableScroll: false, children: /* @__PURE__ */ jsx30("div", { className: src_components_ViewImage_default.root, ref: refs.setFloating, style: floatingStyles, children: /* @__PURE__ */ jsxs18("span", { style, tabIndex: -1, className: cx5(className, src_components_ViewImage_default.container), ...props, children: [
|
|
6315
6324
|
/* @__PURE__ */ jsx30(FloatingArrow, { ref: arrowRef, context, width: 24, height: 16, fill: "var(--pk-blue-20-color)" }),
|
|
6316
|
-
/* @__PURE__ */ jsx30("img", { src, className: src_components_ViewImage_default.img })
|
|
6325
|
+
!!src && /* @__PURE__ */ jsx30("img", { src, className: src_components_ViewImage_default.img }),
|
|
6326
|
+
!!definition && /* @__PURE__ */ jsxs18("p", { className: src_components_ViewImage_default.definition, children: [
|
|
6327
|
+
/* @__PURE__ */ jsxs18("span", { className: src_components_ViewImage_default.definitionTitle, children: [
|
|
6328
|
+
title,
|
|
6329
|
+
" : "
|
|
6330
|
+
] }),
|
|
6331
|
+
definition
|
|
6332
|
+
] })
|
|
6317
6333
|
] }) }) })
|
|
6318
6334
|
] });
|
|
6319
6335
|
};
|
|
@@ -6321,9 +6337,52 @@ var init_ViewImage2 = __esm({
|
|
|
6321
6337
|
}
|
|
6322
6338
|
});
|
|
6323
6339
|
|
|
6324
|
-
// src/components/primarygrid/
|
|
6340
|
+
// src/components/primarygrid/DefinitionWord.tsx
|
|
6325
6341
|
import { ANALYTICS_LINK_CLICKED as ANALYTICS_LINK_CLICKED3, dispatchAnalyticsEvent as dispatchAnalyticsEvent3 } from "@lls/utils";
|
|
6326
6342
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
6343
|
+
var DefinitionWord, DefinitionWord_default;
|
|
6344
|
+
var init_DefinitionWord = __esm({
|
|
6345
|
+
"src/components/primarygrid/DefinitionWord.tsx"() {
|
|
6346
|
+
"use strict";
|
|
6347
|
+
init_HighlightedArea2();
|
|
6348
|
+
init_ViewImage2();
|
|
6349
|
+
init_template2();
|
|
6350
|
+
init_FullscreenDocument();
|
|
6351
|
+
DefinitionWord = ({
|
|
6352
|
+
definitionWord,
|
|
6353
|
+
gridItem,
|
|
6354
|
+
zoneVisibilityCounter,
|
|
6355
|
+
pageId,
|
|
6356
|
+
docId
|
|
6357
|
+
}) => {
|
|
6358
|
+
return /* @__PURE__ */ jsx31(
|
|
6359
|
+
ViewImage_default,
|
|
6360
|
+
{
|
|
6361
|
+
word: definitionWord.zoneElement.word,
|
|
6362
|
+
onShow: () => dispatchAnalyticsEvent3(ANALYTICS_LINK_CLICKED3, {
|
|
6363
|
+
featureName: "subzone|word-definition",
|
|
6364
|
+
resourceId: [pageId ? `${pageId}|${docId}` : ""],
|
|
6365
|
+
extraData: `word: ${definitionWord.zoneElement.word?.id} | ${definitionWord.zoneElement.word?.title}`
|
|
6366
|
+
}),
|
|
6367
|
+
children: /* @__PURE__ */ jsx31(
|
|
6368
|
+
HighlightedArea_default,
|
|
6369
|
+
{
|
|
6370
|
+
type: "purple",
|
|
6371
|
+
zoneVisibilityCounter,
|
|
6372
|
+
className: src_components_primarygrid_FullscreenDocument_default.anyZone,
|
|
6373
|
+
style: getGridElementStyle(definitionWord, gridItem)
|
|
6374
|
+
}
|
|
6375
|
+
)
|
|
6376
|
+
}
|
|
6377
|
+
);
|
|
6378
|
+
};
|
|
6379
|
+
DefinitionWord_default = DefinitionWord;
|
|
6380
|
+
}
|
|
6381
|
+
});
|
|
6382
|
+
|
|
6383
|
+
// src/components/primarygrid/PicWord.tsx
|
|
6384
|
+
import { ANALYTICS_LINK_CLICKED as ANALYTICS_LINK_CLICKED4, dispatchAnalyticsEvent as dispatchAnalyticsEvent4 } from "@lls/utils";
|
|
6385
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
6327
6386
|
var PicWord, PicWord_default;
|
|
6328
6387
|
var init_PicWord = __esm({
|
|
6329
6388
|
"src/components/primarygrid/PicWord.tsx"() {
|
|
@@ -6335,16 +6394,19 @@ var init_PicWord = __esm({
|
|
|
6335
6394
|
PicWord = ({
|
|
6336
6395
|
picWord,
|
|
6337
6396
|
gridItem,
|
|
6338
|
-
zoneVisibilityCounter
|
|
6339
|
-
|
|
6397
|
+
zoneVisibilityCounter,
|
|
6398
|
+
pageId,
|
|
6399
|
+
docId
|
|
6400
|
+
}) => /* @__PURE__ */ jsx32(
|
|
6340
6401
|
ViewImage_default,
|
|
6341
6402
|
{
|
|
6342
|
-
|
|
6343
|
-
onShow: () =>
|
|
6403
|
+
word: picWord.zoneElement.word,
|
|
6404
|
+
onShow: () => dispatchAnalyticsEvent4(ANALYTICS_LINK_CLICKED4, {
|
|
6344
6405
|
featureName: "subzone|word-image",
|
|
6406
|
+
resourceId: [pageId ? `${pageId}|${docId}` : ""],
|
|
6345
6407
|
extraData: `word: ${picWord.zoneElement.word?.id} | ${picWord.zoneElement.word?.title}`
|
|
6346
6408
|
}),
|
|
6347
|
-
children: /* @__PURE__ */
|
|
6409
|
+
children: /* @__PURE__ */ jsx32(
|
|
6348
6410
|
HighlightedArea_default,
|
|
6349
6411
|
{
|
|
6350
6412
|
type: "purple",
|
|
@@ -6360,7 +6422,7 @@ var init_PicWord = __esm({
|
|
|
6360
6422
|
});
|
|
6361
6423
|
|
|
6362
6424
|
// src/components/primarygrid/SubZone.tsx
|
|
6363
|
-
import { jsx as
|
|
6425
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
6364
6426
|
var SubZone, SubZone_default;
|
|
6365
6427
|
var init_SubZone = __esm({
|
|
6366
6428
|
"src/components/primarygrid/SubZone.tsx"() {
|
|
@@ -6378,7 +6440,7 @@ var init_SubZone = __esm({
|
|
|
6378
6440
|
const onClick = () => {
|
|
6379
6441
|
showSubZone(zone.zoneElement.id, index3);
|
|
6380
6442
|
};
|
|
6381
|
-
return /* @__PURE__ */
|
|
6443
|
+
return /* @__PURE__ */ jsx33(
|
|
6382
6444
|
HighlightedArea_default,
|
|
6383
6445
|
{
|
|
6384
6446
|
color: "blue",
|
|
@@ -6397,10 +6459,10 @@ var init_SubZone = __esm({
|
|
|
6397
6459
|
// src/components/primarygrid/FullscreenDocument.tsx
|
|
6398
6460
|
import { Portal as Portal3 } from "@lls/lls-kit";
|
|
6399
6461
|
import { Button as Button8, PlayerAudio } from "@lls/lls-kit/primary";
|
|
6400
|
-
import { ANALYTICS_LINK_CLICKED as
|
|
6462
|
+
import { ANALYTICS_LINK_CLICKED as ANALYTICS_LINK_CLICKED5, dispatchAnalyticsEvent as dispatchAnalyticsEvent5 } from "@lls/utils";
|
|
6401
6463
|
import _20 from "lodash/fp.js";
|
|
6402
6464
|
import React7, { useMemo as useMemo6 } from "react";
|
|
6403
|
-
import { Fragment as Fragment6, jsx as
|
|
6465
|
+
import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6404
6466
|
var FullscreenDoc, FullscreenDocument_default;
|
|
6405
6467
|
var init_FullscreenDocument2 = __esm({
|
|
6406
6468
|
"src/components/primarygrid/FullscreenDocument.tsx"() {
|
|
@@ -6410,6 +6472,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6410
6472
|
init_template2();
|
|
6411
6473
|
init_AudioWord();
|
|
6412
6474
|
init_Correction();
|
|
6475
|
+
init_DefinitionWord();
|
|
6413
6476
|
init_FullscreenDocument();
|
|
6414
6477
|
init_PicWord();
|
|
6415
6478
|
init_SubZone();
|
|
@@ -6432,37 +6495,38 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6432
6495
|
subZone: subZones,
|
|
6433
6496
|
mask: masks,
|
|
6434
6497
|
correction: corrections,
|
|
6435
|
-
audioWord: audioWords
|
|
6498
|
+
audioWord: audioWords,
|
|
6499
|
+
definitionWord: definitionWords
|
|
6436
6500
|
} = _20.groupBy("zoneElement.type", currentGridItem?.elements ?? {});
|
|
6437
6501
|
const setAudioState = (showAudio) => {
|
|
6438
|
-
showAudio &&
|
|
6502
|
+
showAudio && dispatchAnalyticsEvent5(ANALYTICS_LINK_CLICKED5, { featureName: "zone_media", extraData: "format: audio" });
|
|
6439
6503
|
setUiState({ ...UI_INIT, showAudio });
|
|
6440
6504
|
};
|
|
6441
6505
|
const showVideo = () => {
|
|
6442
|
-
|
|
6506
|
+
dispatchAnalyticsEvent5(ANALYTICS_LINK_CLICKED5, { featureName: "zone_media", extraData: "format: video" });
|
|
6443
6507
|
setUiState({ ...UI_INIT, showVideo: true });
|
|
6444
6508
|
};
|
|
6445
6509
|
const showRive = () => {
|
|
6446
|
-
|
|
6510
|
+
dispatchAnalyticsEvent5(ANALYTICS_LINK_CLICKED5, { featureName: "zone_media", extraData: "format: rive" });
|
|
6447
6511
|
setUiState({ ...UI_INIT, showRive: true });
|
|
6448
6512
|
};
|
|
6449
6513
|
const showSubZone = (subZoneId, subZoneIndex) => {
|
|
6450
|
-
|
|
6514
|
+
dispatchAnalyticsEvent5(ANALYTICS_LINK_CLICKED5, { featureName: "subzone|zoom", extraData: `index: ${subZoneIndex}` });
|
|
6451
6515
|
setUiState({ ...UI_INIT, subZoneId });
|
|
6452
6516
|
};
|
|
6453
6517
|
const audioSrc = _20.get("props.docJson.audios.0", fullscreenChild);
|
|
6454
6518
|
const videoSrc = _20.get("props.docJson.videos.0", fullscreenChild);
|
|
6455
6519
|
const riveData = _20.get("props.docJson.rives.0", fullscreenChild);
|
|
6456
6520
|
const showActions = !(uiState?.showContentMd || uiState?.subZoneId);
|
|
6457
|
-
return currentGridItem ? /* @__PURE__ */
|
|
6458
|
-
/* @__PURE__ */
|
|
6521
|
+
return currentGridItem ? /* @__PURE__ */ jsx34(Portal3, { children: /* @__PURE__ */ jsxs19("div", { className: src_components_primarygrid_FullscreenDocument_default.document, style: { "--v-grid-picture-aspect-ratio": pictureRatio }, children: [
|
|
6522
|
+
/* @__PURE__ */ jsx34("div", { className: src_components_primarygrid_FullscreenDocument_default.zoneContent, children: uiState?.showContentMd ? /* @__PURE__ */ jsx34("div", { children: fullscreenChild }) : uiState?.subZoneId ? /* @__PURE__ */ jsx34("div", { className: src_components_primarygrid_FullscreenDocument_default.centeredContainer, children: /* @__PURE__ */ jsx34(
|
|
6459
6523
|
ZoomedPicture_default,
|
|
6460
6524
|
{
|
|
6461
6525
|
pictureSource,
|
|
6462
6526
|
gridItem: currentGridItem.elements.find(({ zoneElement: { id } }) => id === uiState.subZoneId)
|
|
6463
6527
|
}
|
|
6464
|
-
) }) : /* @__PURE__ */
|
|
6465
|
-
masks?.map((gridItemElement) => /* @__PURE__ */
|
|
6528
|
+
) }) : /* @__PURE__ */ jsx34("div", { className: src_components_primarygrid_FullscreenDocument_default.centeredContainer, children: /* @__PURE__ */ jsxs19(ZoomedPicture_default, { pictureSource, gridItem: currentGridItem, children: [
|
|
6529
|
+
masks?.map((gridItemElement) => /* @__PURE__ */ jsx34(
|
|
6466
6530
|
"div",
|
|
6467
6531
|
{
|
|
6468
6532
|
className: src_components_primarygrid_FullscreenDocument_default.mask,
|
|
@@ -6470,7 +6534,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6470
6534
|
},
|
|
6471
6535
|
gridItemElement.zoneElement.id
|
|
6472
6536
|
)),
|
|
6473
|
-
subZones?.map((gridItemElement, index3) => /* @__PURE__ */
|
|
6537
|
+
subZones?.map((gridItemElement, index3) => /* @__PURE__ */ jsx34(
|
|
6474
6538
|
SubZone_default,
|
|
6475
6539
|
{
|
|
6476
6540
|
index: index3,
|
|
@@ -6481,7 +6545,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6481
6545
|
},
|
|
6482
6546
|
gridItemElement.zoneElement.id
|
|
6483
6547
|
)),
|
|
6484
|
-
corrections?.map((gridItemElement) => /* @__PURE__ */
|
|
6548
|
+
corrections?.map((gridItemElement) => /* @__PURE__ */ jsx34(
|
|
6485
6549
|
Correction_default,
|
|
6486
6550
|
{
|
|
6487
6551
|
zone: gridItemElement,
|
|
@@ -6492,18 +6556,33 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6492
6556
|
gridItemElement.zoneElement.id
|
|
6493
6557
|
)),
|
|
6494
6558
|
picWords?.map(
|
|
6495
|
-
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */
|
|
6559
|
+
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */ jsx34(
|
|
6496
6560
|
PicWord_default,
|
|
6497
6561
|
{
|
|
6498
6562
|
picWord: gridItemElement,
|
|
6499
6563
|
gridItem: currentGridItem,
|
|
6500
|
-
zoneVisibilityCounter
|
|
6564
|
+
zoneVisibilityCounter,
|
|
6565
|
+
pageId: template?.id,
|
|
6566
|
+
docId: doc.id
|
|
6567
|
+
},
|
|
6568
|
+
gridItemElement.zoneElement.id
|
|
6569
|
+
) : null
|
|
6570
|
+
),
|
|
6571
|
+
definitionWords?.map(
|
|
6572
|
+
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */ jsx34(
|
|
6573
|
+
DefinitionWord_default,
|
|
6574
|
+
{
|
|
6575
|
+
definitionWord: gridItemElement,
|
|
6576
|
+
gridItem: currentGridItem,
|
|
6577
|
+
zoneVisibilityCounter,
|
|
6578
|
+
pageId: template?.id,
|
|
6579
|
+
docId: doc.id
|
|
6501
6580
|
},
|
|
6502
6581
|
gridItemElement.zoneElement.id
|
|
6503
6582
|
) : null
|
|
6504
6583
|
),
|
|
6505
6584
|
audioWords?.map(
|
|
6506
|
-
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */
|
|
6585
|
+
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */ jsx34(
|
|
6507
6586
|
AudioWord_default,
|
|
6508
6587
|
{
|
|
6509
6588
|
audioWord: gridItemElement,
|
|
@@ -6514,11 +6593,11 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6514
6593
|
) : null
|
|
6515
6594
|
)
|
|
6516
6595
|
] }) }) }),
|
|
6517
|
-
/* @__PURE__ */
|
|
6518
|
-
/* @__PURE__ */
|
|
6519
|
-
/* @__PURE__ */
|
|
6596
|
+
/* @__PURE__ */ jsx34("div", { className: src_components_primarygrid_FullscreenDocument_default.actions, children: showActions && (uiState?.showAudio ? /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
6597
|
+
/* @__PURE__ */ jsx34(PlayerAudio, { src: audioSrc, defaultVolume: 0.75, autoplay: true }),
|
|
6598
|
+
/* @__PURE__ */ jsx34(Button8, { onClick: () => setAudioState(false), theme: "blue", dashed: true, iconLeft: "cancel" })
|
|
6520
6599
|
] }) : /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
6521
|
-
audioSrc && /* @__PURE__ */
|
|
6600
|
+
audioSrc && /* @__PURE__ */ jsx34(
|
|
6522
6601
|
Button8,
|
|
6523
6602
|
{
|
|
6524
6603
|
dashed: true,
|
|
@@ -6530,7 +6609,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6530
6609
|
children: "Ecouter l'audio"
|
|
6531
6610
|
}
|
|
6532
6611
|
),
|
|
6533
|
-
videoSrc && /* @__PURE__ */
|
|
6612
|
+
videoSrc && /* @__PURE__ */ jsx34(
|
|
6534
6613
|
Button8,
|
|
6535
6614
|
{
|
|
6536
6615
|
dashed: true,
|
|
@@ -6542,7 +6621,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6542
6621
|
children: "Lancer la vid\xE9o"
|
|
6543
6622
|
}
|
|
6544
6623
|
),
|
|
6545
|
-
riveData && /* @__PURE__ */
|
|
6624
|
+
riveData && /* @__PURE__ */ jsx34(
|
|
6546
6625
|
Button8,
|
|
6547
6626
|
{
|
|
6548
6627
|
dashed: true,
|
|
@@ -6561,19 +6640,19 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6561
6640
|
}
|
|
6562
6641
|
});
|
|
6563
6642
|
|
|
6564
|
-
// css-modules:css-modules://
|
|
6565
|
-
var
|
|
6566
|
-
"css-modules:css-modules://
|
|
6643
|
+
// css-modules:css-modules://SlhPbXFm_uom74E6GJ_pFh9JEUDbBS-9uBl9KGv3cjU.css
|
|
6644
|
+
var init_SlhPbXFm_uom74E6GJ_pFh9JEUDbBS_9uBl9KGv3cjU = __esm({
|
|
6645
|
+
"css-modules:css-modules://SlhPbXFm_uom74E6GJ_pFh9JEUDbBS-9uBl9KGv3cjU.css"() {
|
|
6567
6646
|
}
|
|
6568
6647
|
});
|
|
6569
6648
|
|
|
6570
|
-
//
|
|
6649
|
+
// tmp_esbuild1755864893274/_src_components_primarygrid_ViewGrid.module.css
|
|
6571
6650
|
var src_components_primarygrid_ViewGrid_default;
|
|
6572
6651
|
var init_src_components_primarygrid_ViewGrid = __esm({
|
|
6573
|
-
"
|
|
6652
|
+
"tmp_esbuild1755864893274/_src_components_primarygrid_ViewGrid.module.css"() {
|
|
6574
6653
|
"use strict";
|
|
6575
|
-
|
|
6576
|
-
src_components_primarygrid_ViewGrid_default = { "
|
|
6654
|
+
init_SlhPbXFm_uom74E6GJ_pFh9JEUDbBS_9uBl9KGv3cjU();
|
|
6655
|
+
src_components_primarygrid_ViewGrid_default = { "pageDivider": "vv-UB1MdW-pageDivider", "viewGrid": "vv-UB1MdW-viewGrid", "pictureZone": "vv-UB1MdW-pictureZone", "content": "vv-UB1MdW-content" };
|
|
6577
6656
|
}
|
|
6578
6657
|
});
|
|
6579
6658
|
|
|
@@ -6588,7 +6667,7 @@ var init_ViewGrid = __esm({
|
|
|
6588
6667
|
// src/components/primarygrid/ViewGrid.tsx
|
|
6589
6668
|
import { useAnalyticsEventEnhancer } from "@lls/utils";
|
|
6590
6669
|
import _21 from "lodash/fp.js";
|
|
6591
|
-
import { jsx as
|
|
6670
|
+
import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
6592
6671
|
var ViewGrid, ViewGrid_default;
|
|
6593
6672
|
var init_ViewGrid2 = __esm({
|
|
6594
6673
|
"src/components/primarygrid/ViewGrid.tsx"() {
|
|
@@ -6614,8 +6693,8 @@ var init_ViewGrid2 = __esm({
|
|
|
6614
6693
|
resourceId: [`${template?.id}${fullscreenDoc?.id ? `|${fullscreenDoc.id}` : ""}`]
|
|
6615
6694
|
});
|
|
6616
6695
|
return /* @__PURE__ */ jsxs20("div", { className: src_components_primarygrid_ViewGrid_default.viewGrid, children: [
|
|
6617
|
-
/* @__PURE__ */
|
|
6618
|
-
return /* @__PURE__ */
|
|
6696
|
+
/* @__PURE__ */ jsx35("div", { className: src_components_primarygrid_ViewGrid_default.content, children: /* @__PURE__ */ jsx35(ZoomedPicture_default, { pictureSource, children: reversedLayouts.map((layoutItem, index3) => {
|
|
6697
|
+
return /* @__PURE__ */ jsx35(
|
|
6619
6698
|
HighlightedArea_default,
|
|
6620
6699
|
{
|
|
6621
6700
|
"data-playwright-highlightedarea-index": index3,
|
|
@@ -6633,8 +6712,8 @@ var init_ViewGrid2 = __esm({
|
|
|
6633
6712
|
layoutItem.id
|
|
6634
6713
|
);
|
|
6635
6714
|
}) }) }),
|
|
6636
|
-
/* @__PURE__ */
|
|
6637
|
-
fullscreenDoc && /* @__PURE__ */
|
|
6715
|
+
/* @__PURE__ */ jsx35("div", { className: src_components_primarygrid_ViewGrid_default.pageDivider }),
|
|
6716
|
+
fullscreenDoc && /* @__PURE__ */ jsx35(FullscreenDocument_default, { doc: fullscreenDoc, children })
|
|
6638
6717
|
] });
|
|
6639
6718
|
};
|
|
6640
6719
|
ViewGrid_default = ViewGrid;
|
|
@@ -6642,7 +6721,7 @@ var init_ViewGrid2 = __esm({
|
|
|
6642
6721
|
});
|
|
6643
6722
|
|
|
6644
6723
|
// src/components/primarygrid/Grid.tsx
|
|
6645
|
-
import { jsx as
|
|
6724
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
6646
6725
|
var PrimaryGrid, Grid_default;
|
|
6647
6726
|
var init_Grid = __esm({
|
|
6648
6727
|
"src/components/primarygrid/Grid.tsx"() {
|
|
@@ -6653,25 +6732,25 @@ var init_Grid = __esm({
|
|
|
6653
6732
|
init_ViewGrid2();
|
|
6654
6733
|
PrimaryGrid = ({ children }) => {
|
|
6655
6734
|
const { mode } = useReadMdRendererProps(["mode"]);
|
|
6656
|
-
return isEditMode(mode) ? /* @__PURE__ */
|
|
6735
|
+
return isEditMode(mode) ? /* @__PURE__ */ jsx36(EditGrid_default, { children }) : /* @__PURE__ */ jsx36(ViewGrid_default, { children });
|
|
6657
6736
|
};
|
|
6658
6737
|
Grid_default = PrimaryGrid;
|
|
6659
6738
|
}
|
|
6660
6739
|
});
|
|
6661
6740
|
|
|
6662
|
-
// css-modules:css-modules://
|
|
6663
|
-
var
|
|
6664
|
-
"css-modules:css-modules://
|
|
6741
|
+
// css-modules:css-modules://D-sNLd7yGJq_G19HULXss5zZ0aveCnfFJiAAfv_Xha4.css
|
|
6742
|
+
var init_D_sNLd7yGJq_G19HULXss5zZ0aveCnfFJiAAfv_Xha4 = __esm({
|
|
6743
|
+
"css-modules:css-modules://D-sNLd7yGJq_G19HULXss5zZ0aveCnfFJiAAfv_Xha4.css"() {
|
|
6665
6744
|
}
|
|
6666
6745
|
});
|
|
6667
6746
|
|
|
6668
|
-
//
|
|
6747
|
+
// tmp_esbuild1755864893274/_src_components_core_DocumentHtml.module.css
|
|
6669
6748
|
var src_components_core_DocumentHtml_default;
|
|
6670
6749
|
var init_src_components_core_DocumentHtml = __esm({
|
|
6671
|
-
"
|
|
6750
|
+
"tmp_esbuild1755864893274/_src_components_core_DocumentHtml.module.css"() {
|
|
6672
6751
|
"use strict";
|
|
6673
|
-
|
|
6674
|
-
src_components_core_DocumentHtml_default = { "document": "vv-
|
|
6752
|
+
init_D_sNLd7yGJq_G19HULXss5zZ0aveCnfFJiAAfv_Xha4();
|
|
6753
|
+
src_components_core_DocumentHtml_default = { "document": "vv-pQalja-document" };
|
|
6675
6754
|
}
|
|
6676
6755
|
});
|
|
6677
6756
|
|
|
@@ -6688,7 +6767,7 @@ import React8, { memo, useRef as useRef9 } from "react";
|
|
|
6688
6767
|
import HtmlToReact from "html-to-react";
|
|
6689
6768
|
import _22 from "lodash/fp.js";
|
|
6690
6769
|
import { cx as cx6, pipe as pipe6 } from "@lls/utils";
|
|
6691
|
-
import { Fragment as Fragment7, jsx as
|
|
6770
|
+
import { Fragment as Fragment7, jsx as jsx37, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6692
6771
|
var htmlToReactParser, processNodeDefinitions, MemoToolbar, DocumentHtml, getProcessingInstructions, MdRenderer, DocumentHtml_default;
|
|
6693
6772
|
var init_DocumentHtml2 = __esm({
|
|
6694
6773
|
"src/components/core/DocumentHtml.tsx"() {
|
|
@@ -6710,7 +6789,7 @@ var init_DocumentHtml2 = __esm({
|
|
|
6710
6789
|
const openEditor = _22.get("openEditor", props);
|
|
6711
6790
|
const openMetadataEditor = _22.get("openMetadataEditor", props);
|
|
6712
6791
|
const deleteDocument = _22.get("deleteDocument", props);
|
|
6713
|
-
return /* @__PURE__ */
|
|
6792
|
+
return /* @__PURE__ */ jsx37(
|
|
6714
6793
|
Toolbar,
|
|
6715
6794
|
{
|
|
6716
6795
|
openEditor,
|
|
@@ -6724,15 +6803,15 @@ var init_DocumentHtml2 = __esm({
|
|
|
6724
6803
|
const { mode } = useReadMdRendererProps(["mode"]);
|
|
6725
6804
|
const documentRef = useRef9(null);
|
|
6726
6805
|
return /* @__PURE__ */ jsxs21(Fragment7, { children: [
|
|
6727
|
-
/* @__PURE__ */
|
|
6728
|
-
/* @__PURE__ */
|
|
6806
|
+
/* @__PURE__ */ jsx37(MemoToolbar, { toolbarProps: props, docJson }),
|
|
6807
|
+
/* @__PURE__ */ jsx37(
|
|
6729
6808
|
"div",
|
|
6730
6809
|
{
|
|
6731
6810
|
ref: documentRef,
|
|
6732
6811
|
"data-mode": mode,
|
|
6733
6812
|
"data-uuid": docJson?.uuid ?? "root",
|
|
6734
6813
|
className: cx6(DOCUMENT_CLASSNAME, src_components_core_DocumentHtml_default.document),
|
|
6735
|
-
children: /* @__PURE__ */
|
|
6814
|
+
children: /* @__PURE__ */ jsx37(ErrorBoundary_default, { docJson, mode, children: /* @__PURE__ */ jsx37(
|
|
6736
6815
|
MdRenderer,
|
|
6737
6816
|
{
|
|
6738
6817
|
mdRendererProps,
|
|
@@ -6751,10 +6830,10 @@ var init_DocumentHtml2 = __esm({
|
|
|
6751
6830
|
processNode: handler
|
|
6752
6831
|
});
|
|
6753
6832
|
const _shortTag = (name, Component, props = {}, mapAttributes = _22.identity) => {
|
|
6754
|
-
return tag(name, (node, children, key) => /* @__PURE__ */
|
|
6833
|
+
return tag(name, (node, children, key) => /* @__PURE__ */ jsx37(Component, { ...mapAttributes(node.attribs), children, ...props }, key));
|
|
6755
6834
|
};
|
|
6756
6835
|
return [
|
|
6757
|
-
tag("primarygrid", (node) => /* @__PURE__ */
|
|
6836
|
+
tag("primarygrid", (node) => /* @__PURE__ */ jsx37(Grid_default, { ...node.attribs, children: docChildren }, "grid")),
|
|
6758
6837
|
{
|
|
6759
6838
|
shouldProcessNode: (node) => {
|
|
6760
6839
|
if (node.type === "text" && _22.trim(node.data) === "") {
|
|
@@ -6788,19 +6867,19 @@ var init_DocumentHtml2 = __esm({
|
|
|
6788
6867
|
}
|
|
6789
6868
|
});
|
|
6790
6869
|
|
|
6791
|
-
// css-modules:css-modules://
|
|
6792
|
-
var
|
|
6793
|
-
"css-modules:css-modules://
|
|
6870
|
+
// css-modules:css-modules://t9fj2wQOU_Oy_6W_MmCWgLpcw3aXCcrWn6Z5m0oytPs.css
|
|
6871
|
+
var init_t9fj2wQOU_Oy_6W_MmCWgLpcw3aXCcrWn6Z5m0oytPs = __esm({
|
|
6872
|
+
"css-modules:css-modules://t9fj2wQOU_Oy_6W_MmCWgLpcw3aXCcrWn6Z5m0oytPs.css"() {
|
|
6794
6873
|
}
|
|
6795
6874
|
});
|
|
6796
6875
|
|
|
6797
|
-
//
|
|
6876
|
+
// tmp_esbuild1755864893274/_src_components_core_Document.module.css
|
|
6798
6877
|
var src_components_core_Document_default;
|
|
6799
6878
|
var init_src_components_core_Document = __esm({
|
|
6800
|
-
"
|
|
6879
|
+
"tmp_esbuild1755864893274/_src_components_core_Document.module.css"() {
|
|
6801
6880
|
"use strict";
|
|
6802
|
-
|
|
6803
|
-
src_components_core_Document_default = { "
|
|
6881
|
+
init_t9fj2wQOU_Oy_6W_MmCWgLpcw3aXCcrWn6Z5m0oytPs();
|
|
6882
|
+
src_components_core_Document_default = { "rootDocument": "vv-T6iMxG-rootDocument", "divSearch": "vv-T6iMxG-divSearch" };
|
|
6804
6883
|
}
|
|
6805
6884
|
});
|
|
6806
6885
|
|
|
@@ -6815,7 +6894,7 @@ var init_Document = __esm({
|
|
|
6815
6894
|
// src/components/core/Document.tsx
|
|
6816
6895
|
import _23 from "lodash/fp.js";
|
|
6817
6896
|
import React9 from "react";
|
|
6818
|
-
import { jsx as
|
|
6897
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
6819
6898
|
var Document, RootDocument, Document_default;
|
|
6820
6899
|
var init_Document2 = __esm({
|
|
6821
6900
|
"src/components/core/Document.tsx"() {
|
|
@@ -6823,20 +6902,20 @@ var init_Document2 = __esm({
|
|
|
6823
6902
|
init_DocumentHtml2();
|
|
6824
6903
|
init_Document();
|
|
6825
6904
|
Document = ({ docJson, toolbarProps = {}, mdRendererProps }) => {
|
|
6826
|
-
return /* @__PURE__ */
|
|
6905
|
+
return /* @__PURE__ */ jsx38(DocumentHtml_default, { toolbarProps, mdRendererProps, docJson });
|
|
6827
6906
|
};
|
|
6828
6907
|
Document.displayName = "Document";
|
|
6829
6908
|
RootDocument = React9.forwardRef(
|
|
6830
6909
|
({ docJson = {}, toolbarProps, mdRendererProps }, ref) => {
|
|
6831
6910
|
const children = _23.getOr([], "children", docJson);
|
|
6832
|
-
return /* @__PURE__ */
|
|
6911
|
+
return /* @__PURE__ */ jsx38("div", { className: src_components_core_Document_default.rootDocument, ref, children: /* @__PURE__ */ jsx38(
|
|
6833
6912
|
DocumentHtml_default,
|
|
6834
6913
|
{
|
|
6835
6914
|
toolbarProps,
|
|
6836
6915
|
mdRendererProps,
|
|
6837
6916
|
docJson,
|
|
6838
6917
|
children: _23.map((child) => {
|
|
6839
|
-
return /* @__PURE__ */
|
|
6918
|
+
return /* @__PURE__ */ jsx38(
|
|
6840
6919
|
Document,
|
|
6841
6920
|
{
|
|
6842
6921
|
toolbarProps,
|
|
@@ -6854,17 +6933,17 @@ var init_Document2 = __esm({
|
|
|
6854
6933
|
}
|
|
6855
6934
|
});
|
|
6856
6935
|
|
|
6857
|
-
// css-modules:css-modules://
|
|
6858
|
-
var
|
|
6859
|
-
"css-modules:css-modules://
|
|
6936
|
+
// css-modules:css-modules://dxG8aylCyDs5KiaE7xRqFWhNt2y4AvtWn_YJfwYS_Ug.css
|
|
6937
|
+
var init_dxG8aylCyDs5KiaE7xRqFWhNt2y4AvtWn_YJfwYS_Ug = __esm({
|
|
6938
|
+
"css-modules:css-modules://dxG8aylCyDs5KiaE7xRqFWhNt2y4AvtWn_YJfwYS_Ug.css"() {
|
|
6860
6939
|
}
|
|
6861
6940
|
});
|
|
6862
6941
|
|
|
6863
|
-
//
|
|
6942
|
+
// tmp_esbuild1755864893274/_src_styles_Codemirror.module.css
|
|
6864
6943
|
var init_src_styles_Codemirror = __esm({
|
|
6865
|
-
"
|
|
6944
|
+
"tmp_esbuild1755864893274/_src_styles_Codemirror.module.css"() {
|
|
6866
6945
|
"use strict";
|
|
6867
|
-
|
|
6946
|
+
init_dxG8aylCyDs5KiaE7xRqFWhNt2y4AvtWn_YJfwYS_Ug();
|
|
6868
6947
|
}
|
|
6869
6948
|
});
|
|
6870
6949
|
|
|
@@ -6876,19 +6955,19 @@ var init_Codemirror = __esm({
|
|
|
6876
6955
|
}
|
|
6877
6956
|
});
|
|
6878
6957
|
|
|
6879
|
-
// css-modules:css-modules://
|
|
6880
|
-
var
|
|
6881
|
-
"css-modules:css-modules://
|
|
6958
|
+
// css-modules:css-modules://bJwO9M79kpehHPh0WgoJQ0SW5ung96rdkTlxLeEWFmU.css
|
|
6959
|
+
var init_bJwO9M79kpehHPh0WgoJQ0SW5ung96rdkTlxLeEWFmU = __esm({
|
|
6960
|
+
"css-modules:css-modules://bJwO9M79kpehHPh0WgoJQ0SW5ung96rdkTlxLeEWFmU.css"() {
|
|
6882
6961
|
}
|
|
6883
6962
|
});
|
|
6884
6963
|
|
|
6885
|
-
//
|
|
6964
|
+
// tmp_esbuild1755864893274/_src_components_core_viewer_ViewerMd.module.css
|
|
6886
6965
|
var src_components_core_viewer_ViewerMd_default;
|
|
6887
6966
|
var init_src_components_core_viewer_ViewerMd = __esm({
|
|
6888
|
-
"
|
|
6967
|
+
"tmp_esbuild1755864893274/_src_components_core_viewer_ViewerMd.module.css"() {
|
|
6889
6968
|
"use strict";
|
|
6890
|
-
|
|
6891
|
-
src_components_core_viewer_ViewerMd_default = { "
|
|
6969
|
+
init_bJwO9M79kpehHPh0WgoJQ0SW5ung96rdkTlxLeEWFmU();
|
|
6970
|
+
src_components_core_viewer_ViewerMd_default = { "viewer": "vv-tMyyJa-viewer kit-themecss", "viewerInner": "vv-tMyyJa-viewerInner" };
|
|
6892
6971
|
}
|
|
6893
6972
|
});
|
|
6894
6973
|
|
|
@@ -6905,7 +6984,7 @@ import React10, { useRef as useRef10, useCallback as useCallback8, useMemo as us
|
|
|
6905
6984
|
import { styleThemeProps } from "@lls/lls-kit";
|
|
6906
6985
|
import _24 from "lodash/fp.js";
|
|
6907
6986
|
import { cx as cx7, pipe as pipe7 } from "@lls/utils";
|
|
6908
|
-
import { jsx as
|
|
6987
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
6909
6988
|
var getMdRendererProps, ViewerMd, ViewerMd_default;
|
|
6910
6989
|
var init_ViewerMd2 = __esm({
|
|
6911
6990
|
"src/components/core/viewer/ViewerMd.tsx"() {
|
|
@@ -7023,7 +7102,7 @@ var init_ViewerMd2 = __esm({
|
|
|
7023
7102
|
openMetadataEditor
|
|
7024
7103
|
};
|
|
7025
7104
|
}, [deleteDocument, openEditor, openMetadataEditor]);
|
|
7026
|
-
return /* @__PURE__ */
|
|
7105
|
+
return /* @__PURE__ */ jsx39(
|
|
7027
7106
|
"div",
|
|
7028
7107
|
{
|
|
7029
7108
|
style: {
|
|
@@ -7032,7 +7111,7 @@ var init_ViewerMd2 = __esm({
|
|
|
7032
7111
|
"data-isdysmode": +isDysMode,
|
|
7033
7112
|
className: cx7(VIVI_CLASSNAME, src_components_core_viewer_ViewerMd_default.viewer),
|
|
7034
7113
|
ref,
|
|
7035
|
-
children: /* @__PURE__ */
|
|
7114
|
+
children: /* @__PURE__ */ jsx39("div", { className: src_components_core_viewer_ViewerMd_default.viewerInner, ref: innerViewerRef, "data-mode": mode, children: /* @__PURE__ */ jsx39(Document_default, { mdRendererProps, toolbarProps, docJson: template }) })
|
|
7036
7115
|
}
|
|
7037
7116
|
);
|
|
7038
7117
|
}
|
|
@@ -7059,19 +7138,19 @@ var init_usePictureSource = __esm({
|
|
|
7059
7138
|
}
|
|
7060
7139
|
});
|
|
7061
7140
|
|
|
7062
|
-
// css-modules:css-modules://
|
|
7063
|
-
var
|
|
7064
|
-
"css-modules:css-modules://
|
|
7141
|
+
// css-modules:css-modules://vB6eUYy62jVChOMQX07t6umdFA4EKxMkYTD3mzfTcDY.css
|
|
7142
|
+
var init_vB6eUYy62jVChOMQX07t6umdFA4EKxMkYTD3mzfTcDY = __esm({
|
|
7143
|
+
"css-modules:css-modules://vB6eUYy62jVChOMQX07t6umdFA4EKxMkYTD3mzfTcDY.css"() {
|
|
7065
7144
|
}
|
|
7066
7145
|
});
|
|
7067
7146
|
|
|
7068
|
-
//
|
|
7147
|
+
// tmp_esbuild1755864893274/_src_components_Alert.module.css
|
|
7069
7148
|
var src_components_Alert_default;
|
|
7070
7149
|
var init_src_components_Alert = __esm({
|
|
7071
|
-
"
|
|
7150
|
+
"tmp_esbuild1755864893274/_src_components_Alert.module.css"() {
|
|
7072
7151
|
"use strict";
|
|
7073
|
-
|
|
7074
|
-
src_components_Alert_default = { "
|
|
7152
|
+
init_vB6eUYy62jVChOMQX07t6umdFA4EKxMkYTD3mzfTcDY();
|
|
7153
|
+
src_components_Alert_default = { "alert": "vv-b_71Ba-alert", "alertOpenedAnimation": "vv-b_71Ba-alertOpenedAnimation" };
|
|
7075
7154
|
}
|
|
7076
7155
|
});
|
|
7077
7156
|
|
|
@@ -7084,20 +7163,20 @@ var init_Alert = __esm({
|
|
|
7084
7163
|
});
|
|
7085
7164
|
|
|
7086
7165
|
// src/components/Alert.tsx
|
|
7087
|
-
import { jsx as
|
|
7166
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
7088
7167
|
var Alert, Alert_default;
|
|
7089
7168
|
var init_Alert2 = __esm({
|
|
7090
7169
|
"src/components/Alert.tsx"() {
|
|
7091
7170
|
"use strict";
|
|
7092
7171
|
init_Alert();
|
|
7093
|
-
Alert = ({ text }) => text && /* @__PURE__ */
|
|
7172
|
+
Alert = ({ text }) => text && /* @__PURE__ */ jsx40("div", { className: src_components_Alert_default.alert, children: text });
|
|
7094
7173
|
Alert_default = Alert;
|
|
7095
7174
|
}
|
|
7096
7175
|
});
|
|
7097
7176
|
|
|
7098
7177
|
// src/components/core/editor/EditViewerMd.tsx
|
|
7099
7178
|
import React11, { useCallback as useCallback9, useState as useState17 } from "react";
|
|
7100
|
-
import { Fragment as Fragment8, jsx as
|
|
7179
|
+
import { Fragment as Fragment8, jsx as jsx41, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
7101
7180
|
var EditViewerMd, EditViewerMd_default;
|
|
7102
7181
|
var init_EditViewerMd = __esm({
|
|
7103
7182
|
"src/components/core/editor/EditViewerMd.tsx"() {
|
|
@@ -7150,7 +7229,7 @@ var init_EditViewerMd = __esm({
|
|
|
7150
7229
|
[onChange]
|
|
7151
7230
|
);
|
|
7152
7231
|
return /* @__PURE__ */ jsxs22(Fragment8, { children: [
|
|
7153
|
-
/* @__PURE__ */
|
|
7232
|
+
/* @__PURE__ */ jsx41(
|
|
7154
7233
|
ViewerMd_default,
|
|
7155
7234
|
{
|
|
7156
7235
|
template,
|
|
@@ -7165,26 +7244,26 @@ var init_EditViewerMd = __esm({
|
|
|
7165
7244
|
...props
|
|
7166
7245
|
}
|
|
7167
7246
|
),
|
|
7168
|
-
/* @__PURE__ */
|
|
7247
|
+
/* @__PURE__ */ jsx41(Alert_default, { text: pasteError })
|
|
7169
7248
|
] });
|
|
7170
7249
|
});
|
|
7171
7250
|
EditViewerMd_default = EditViewerMd;
|
|
7172
7251
|
}
|
|
7173
7252
|
});
|
|
7174
7253
|
|
|
7175
|
-
// css-modules:css-modules
|
|
7176
|
-
var
|
|
7177
|
-
"css-modules:css-modules
|
|
7254
|
+
// css-modules:css-modules://leVQbn-LWZG5Z6ZwyhfCBn5rSeYXfdDHPogVxuVyV58.css
|
|
7255
|
+
var init_leVQbn_LWZG5Z6ZwyhfCBn5rSeYXfdDHPogVxuVyV58 = __esm({
|
|
7256
|
+
"css-modules:css-modules://leVQbn-LWZG5Z6ZwyhfCBn5rSeYXfdDHPogVxuVyV58.css"() {
|
|
7178
7257
|
}
|
|
7179
7258
|
});
|
|
7180
7259
|
|
|
7181
|
-
//
|
|
7260
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_EditorView.module.css
|
|
7182
7261
|
var src_components_core_editor_EditorView_default;
|
|
7183
7262
|
var init_src_components_core_editor_EditorView = __esm({
|
|
7184
|
-
"
|
|
7263
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_EditorView.module.css"() {
|
|
7185
7264
|
"use strict";
|
|
7186
|
-
|
|
7187
|
-
src_components_core_editor_EditorView_default = { "
|
|
7265
|
+
init_leVQbn_LWZG5Z6ZwyhfCBn5rSeYXfdDHPogVxuVyV58();
|
|
7266
|
+
src_components_core_editor_EditorView_default = { "fullscreenPrevButton": "vv-NxeCNa-fullscreenPrevButton vv-NxeCNa-fullscreenButton", "editorViewContainer": "vv-NxeCNa-editorViewContainer", "fullscreenButton": "vv-NxeCNa-fullscreenButton", "bookInner": "vv-NxeCNa-bookInner", "fullscreenNextButton": "vv-NxeCNa-fullscreenNextButton vv-NxeCNa-fullscreenButton", "book": "vv-NxeCNa-book", "fullscreenExitButton": "vv-NxeCNa-fullscreenExitButton vv-NxeCNa-fullscreenButton", "viewTopBar": "vv-NxeCNa-viewTopBar" };
|
|
7188
7267
|
}
|
|
7189
7268
|
});
|
|
7190
7269
|
|
|
@@ -7201,7 +7280,7 @@ import { KIT_PORTAL_ROOT_CLASSNAME } from "@lls/lls-kit";
|
|
|
7201
7280
|
import React12, { useCallback as useCallback10, useMemo as useMemo8, useState as useState18 } from "react";
|
|
7202
7281
|
import { Button as Button9 } from "@lls/lls-kit";
|
|
7203
7282
|
import { cx as cx8 } from "@lls/utils";
|
|
7204
|
-
import { Fragment as Fragment9, jsx as
|
|
7283
|
+
import { Fragment as Fragment9, jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
7205
7284
|
var ViewModeEditor, SwitchView, EditorView_default;
|
|
7206
7285
|
var init_EditorView2 = __esm({
|
|
7207
7286
|
"src/components/core/editor/EditorView.tsx"() {
|
|
@@ -7234,8 +7313,8 @@ var init_EditorView2 = __esm({
|
|
|
7234
7313
|
}
|
|
7235
7314
|
};
|
|
7236
7315
|
return /* @__PURE__ */ jsxs23("div", { className: cx8(KIT_PORTAL_ROOT_CLASSNAME, src_components_core_editor_EditorView_default.editorViewContainer), children: [
|
|
7237
|
-
/* @__PURE__ */
|
|
7238
|
-
/* @__PURE__ */
|
|
7316
|
+
/* @__PURE__ */ jsx42("div", { className: src_components_core_editor_EditorView_default.viewTopBar, children: /* @__PURE__ */ jsx42(Button9, { icon: "bell", onClick: () => setZoneVisibilityCounter((prev) => prev + 1) }) }),
|
|
7317
|
+
/* @__PURE__ */ jsx42("div", { className: src_components_core_editor_EditorView_default.book, children: /* @__PURE__ */ jsx42("div", { className: src_components_core_editor_EditorView_default.bookInner, children: /* @__PURE__ */ jsx42(
|
|
7239
7318
|
ViewerMd_default,
|
|
7240
7319
|
{
|
|
7241
7320
|
pictureSource,
|
|
@@ -7256,9 +7335,9 @@ var init_EditorView2 = __esm({
|
|
|
7256
7335
|
}
|
|
7257
7336
|
) }) }),
|
|
7258
7337
|
hasFullscreenDoc && /* @__PURE__ */ jsxs23(Fragment9, { children: [
|
|
7259
|
-
fullscreenDocIndex > 0 && !uiState.subZoneId && /* @__PURE__ */
|
|
7260
|
-
fullscreenDocIndex < docsUuids.length - 1 && !uiState.subZoneId && /* @__PURE__ */
|
|
7261
|
-
/* @__PURE__ */
|
|
7338
|
+
fullscreenDocIndex > 0 && !uiState.subZoneId && /* @__PURE__ */ jsx42(Button9, { className: src_components_core_editor_EditorView_default.fullscreenPrevButton, onClick: goToPreviousDoc, children: "Previous" }),
|
|
7339
|
+
fullscreenDocIndex < docsUuids.length - 1 && !uiState.subZoneId && /* @__PURE__ */ jsx42(Button9, { className: src_components_core_editor_EditorView_default.fullscreenNextButton, onClick: goToNextDoc, children: "Next" }),
|
|
7340
|
+
/* @__PURE__ */ jsx42(Button9, { className: src_components_core_editor_EditorView_default.fullscreenExitButton, onClick: exitFullscreen, children: "Exit" })
|
|
7262
7341
|
] })
|
|
7263
7342
|
] });
|
|
7264
7343
|
}
|
|
@@ -7278,7 +7357,7 @@ var init_EditorView2 = __esm({
|
|
|
7278
7357
|
words = []
|
|
7279
7358
|
}, ref) => {
|
|
7280
7359
|
const pictureSourceProps = usePictureSource_default({ template, mode });
|
|
7281
|
-
return isEditMode(mode) ? /* @__PURE__ */
|
|
7360
|
+
return isEditMode(mode) ? /* @__PURE__ */ jsx42(
|
|
7282
7361
|
EditViewerMd_default,
|
|
7283
7362
|
{
|
|
7284
7363
|
ref,
|
|
@@ -7294,7 +7373,7 @@ var init_EditorView2 = __esm({
|
|
|
7294
7373
|
words,
|
|
7295
7374
|
...pictureSourceProps
|
|
7296
7375
|
}
|
|
7297
|
-
) : /* @__PURE__ */
|
|
7376
|
+
) : /* @__PURE__ */ jsx42(
|
|
7298
7377
|
ViewModeEditor,
|
|
7299
7378
|
{
|
|
7300
7379
|
ref,
|
|
@@ -7311,19 +7390,19 @@ var init_EditorView2 = __esm({
|
|
|
7311
7390
|
}
|
|
7312
7391
|
});
|
|
7313
7392
|
|
|
7314
|
-
// css-modules:css-modules://
|
|
7315
|
-
var
|
|
7316
|
-
"css-modules:css-modules://
|
|
7393
|
+
// css-modules:css-modules://ZjmZWkWZGNC-gOEWODR4Y03xWdVqNuGBzG_r8Q6HA_A.css
|
|
7394
|
+
var init_ZjmZWkWZGNC_gOEWODR4Y03xWdVqNuGBzG_r8Q6HA_A = __esm({
|
|
7395
|
+
"css-modules:css-modules://ZjmZWkWZGNC-gOEWODR4Y03xWdVqNuGBzG_r8Q6HA_A.css"() {
|
|
7317
7396
|
}
|
|
7318
7397
|
});
|
|
7319
7398
|
|
|
7320
|
-
//
|
|
7399
|
+
// tmp_esbuild1755864893274/_src_components_core_editor_MetadataEditor.module.css
|
|
7321
7400
|
var src_components_core_editor_MetadataEditor_default;
|
|
7322
7401
|
var init_src_components_core_editor_MetadataEditor = __esm({
|
|
7323
|
-
"
|
|
7402
|
+
"tmp_esbuild1755864893274/_src_components_core_editor_MetadataEditor.module.css"() {
|
|
7324
7403
|
"use strict";
|
|
7325
|
-
|
|
7326
|
-
src_components_core_editor_MetadataEditor_default = { "
|
|
7404
|
+
init_ZjmZWkWZGNC_gOEWODR4Y03xWdVqNuGBzG_r8Q6HA_A();
|
|
7405
|
+
src_components_core_editor_MetadataEditor_default = { "rnd": "vv-OMKFeq-rnd", "select": "vv-OMKFeq-select", "body": "vv-OMKFeq-body", "fieldWrapper": "vv-OMKFeq-fieldWrapper", "uuid": "vv-OMKFeq-uuid", "header": "vv-OMKFeq-header", "field": "vv-OMKFeq-field" };
|
|
7327
7406
|
}
|
|
7328
7407
|
});
|
|
7329
7408
|
|
|
@@ -7340,7 +7419,7 @@ import _25 from "lodash/fp.js";
|
|
|
7340
7419
|
import { Button as Button10 } from "@lls/lls-kit";
|
|
7341
7420
|
import { pipe as pipe8 } from "@lls/utils";
|
|
7342
7421
|
import Select from "react-select";
|
|
7343
|
-
import { jsx as
|
|
7422
|
+
import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
7344
7423
|
var MetadataEditor, MetadataEditor_default;
|
|
7345
7424
|
var init_MetadataEditor2 = __esm({
|
|
7346
7425
|
"src/components/core/editor/MetadataEditor.tsx"() {
|
|
@@ -7355,16 +7434,16 @@ var init_MetadataEditor2 = __esm({
|
|
|
7355
7434
|
defaultPositions: positions
|
|
7356
7435
|
});
|
|
7357
7436
|
return /* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.rnd, ref: rndRef, children: [
|
|
7358
|
-
/* @__PURE__ */
|
|
7437
|
+
/* @__PURE__ */ jsx43("div", { className: src_components_core_editor_MetadataEditor_default.header, onMouseDown: launchTranslate, children: /* @__PURE__ */ jsx43(Button10, { onClick: onClose, theme: "gray", children: "cancel" }) }),
|
|
7359
7438
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.body, children: [
|
|
7360
7439
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7361
7440
|
"Uuid:",
|
|
7362
7441
|
" ",
|
|
7363
|
-
/* @__PURE__ */
|
|
7442
|
+
/* @__PURE__ */ jsx43("span", { className: src_components_core_editor_MetadataEditor_default.uuid, style: { "--data-font": "monospace" }, children: doc.uuid })
|
|
7364
7443
|
] }),
|
|
7365
7444
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7366
7445
|
"Title",
|
|
7367
|
-
/* @__PURE__ */
|
|
7446
|
+
/* @__PURE__ */ jsx43(
|
|
7368
7447
|
"input",
|
|
7369
7448
|
{
|
|
7370
7449
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7376,7 +7455,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7376
7455
|
] }),
|
|
7377
7456
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7378
7457
|
"Description",
|
|
7379
|
-
/* @__PURE__ */
|
|
7458
|
+
/* @__PURE__ */ jsx43(
|
|
7380
7459
|
"input",
|
|
7381
7460
|
{
|
|
7382
7461
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7388,7 +7467,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7388
7467
|
] }),
|
|
7389
7468
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7390
7469
|
"Image",
|
|
7391
|
-
/* @__PURE__ */
|
|
7470
|
+
/* @__PURE__ */ jsx43(
|
|
7392
7471
|
"input",
|
|
7393
7472
|
{
|
|
7394
7473
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7400,7 +7479,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7400
7479
|
] }),
|
|
7401
7480
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7402
7481
|
"Keywords",
|
|
7403
|
-
/* @__PURE__ */
|
|
7482
|
+
/* @__PURE__ */ jsx43(
|
|
7404
7483
|
"input",
|
|
7405
7484
|
{
|
|
7406
7485
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7412,7 +7491,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7412
7491
|
] }),
|
|
7413
7492
|
!_25.isEmpty(notions) && /* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7414
7493
|
"Notion",
|
|
7415
|
-
/* @__PURE__ */
|
|
7494
|
+
/* @__PURE__ */ jsx43(
|
|
7416
7495
|
Select,
|
|
7417
7496
|
{
|
|
7418
7497
|
className: src_components_core_editor_MetadataEditor_default.select,
|
|
@@ -7502,19 +7581,19 @@ var init_useScroll = __esm({
|
|
|
7502
7581
|
}
|
|
7503
7582
|
});
|
|
7504
7583
|
|
|
7505
|
-
// css-modules:css-modules://
|
|
7506
|
-
var
|
|
7507
|
-
"css-modules:css-modules://
|
|
7584
|
+
// css-modules:css-modules://ve-UU11gR8TDg3YMO-a_1x8bGdgvDy-GGpXNr1y71KQ.css
|
|
7585
|
+
var init_ve_UU11gR8TDg3YMO_a_1x8bGdgvDy_GGpXNr1y71KQ = __esm({
|
|
7586
|
+
"css-modules:css-modules://ve-UU11gR8TDg3YMO-a_1x8bGdgvDy-GGpXNr1y71KQ.css"() {
|
|
7508
7587
|
}
|
|
7509
7588
|
});
|
|
7510
7589
|
|
|
7511
|
-
//
|
|
7590
|
+
// tmp_esbuild1755864893274/_src_components_lazy_index.editor.module.css
|
|
7512
7591
|
var src_components_lazy_index_editor_default;
|
|
7513
7592
|
var init_src_components_lazy_index_editor = __esm({
|
|
7514
|
-
"
|
|
7593
|
+
"tmp_esbuild1755864893274/_src_components_lazy_index.editor.module.css"() {
|
|
7515
7594
|
"use strict";
|
|
7516
|
-
|
|
7517
|
-
src_components_lazy_index_editor_default = { "
|
|
7595
|
+
init_ve_UU11gR8TDg3YMO_a_1x8bGdgvDy_GGpXNr1y71KQ();
|
|
7596
|
+
src_components_lazy_index_editor_default = { "alertOpenedAnimation": "vv-KCAeka-alertOpenedAnimation", "stickyBar": "vv-KCAeka-stickyBar", "pageContainer": "vv-KCAeka-pageContainer", "button": "vv-KCAeka-button", "screen": "vv-KCAeka-screen", "alert": "vv-KCAeka-alert", "submit": "vv-KCAeka-submit" };
|
|
7518
7597
|
}
|
|
7519
7598
|
});
|
|
7520
7599
|
|
|
@@ -7535,7 +7614,7 @@ import React13, { useCallback as useCallback12, useEffect as useEffect11, useSta
|
|
|
7535
7614
|
import _27 from "lodash/fp.js";
|
|
7536
7615
|
import { Button as Button11, CheckBox, RadioButton, Snackbar as Snackbar2 } from "@lls/lls-kit";
|
|
7537
7616
|
import { copyToClipboard as copyToClipboard2, pipe as pipe9 } from "@lls/utils";
|
|
7538
|
-
import { Fragment as Fragment10, jsx as
|
|
7617
|
+
import { Fragment as Fragment10, jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
7539
7618
|
var Editor2, CopyButton, EditorStickyBar, EditorNext, index_editor_default;
|
|
7540
7619
|
var init_index_editor2 = __esm({
|
|
7541
7620
|
"src/components/lazy/index.editor.tsx"() {
|
|
@@ -7562,7 +7641,7 @@ var init_index_editor2 = __esm({
|
|
|
7562
7641
|
setCopiedMessage("");
|
|
7563
7642
|
}, 3500);
|
|
7564
7643
|
}, [template, setCopiedMessage]);
|
|
7565
|
-
return /* @__PURE__ */
|
|
7644
|
+
return /* @__PURE__ */ jsx44(Button11, { className: src_components_lazy_index_editor_default.button, theme, accent: "alt", type: "button", onClick, children: "Copier le JSON" });
|
|
7566
7645
|
};
|
|
7567
7646
|
EditorStickyBar = ({
|
|
7568
7647
|
mode,
|
|
@@ -7585,7 +7664,7 @@ var init_index_editor2 = __esm({
|
|
|
7585
7664
|
}, 3500);
|
|
7586
7665
|
};
|
|
7587
7666
|
return /* @__PURE__ */ jsxs25("div", { className: src_components_lazy_index_editor_default.stickyBar, children: [
|
|
7588
|
-
setOpenSummary && /* @__PURE__ */
|
|
7667
|
+
setOpenSummary && /* @__PURE__ */ jsx44(
|
|
7589
7668
|
Button11,
|
|
7590
7669
|
{
|
|
7591
7670
|
theme: stickyBarTheme,
|
|
@@ -7595,7 +7674,7 @@ var init_index_editor2 = __esm({
|
|
|
7595
7674
|
children: `${openSummary ? "Cacher" : "Afficher"} le sommaire`
|
|
7596
7675
|
}
|
|
7597
7676
|
),
|
|
7598
|
-
/* @__PURE__ */
|
|
7677
|
+
/* @__PURE__ */ jsx44(
|
|
7599
7678
|
RadioButton,
|
|
7600
7679
|
{
|
|
7601
7680
|
isChecked: mode === "edit",
|
|
@@ -7605,7 +7684,7 @@ var init_index_editor2 = __esm({
|
|
|
7605
7684
|
value: "edit"
|
|
7606
7685
|
}
|
|
7607
7686
|
),
|
|
7608
|
-
/* @__PURE__ */
|
|
7687
|
+
/* @__PURE__ */ jsx44(
|
|
7609
7688
|
RadioButton,
|
|
7610
7689
|
{
|
|
7611
7690
|
isChecked: mode === "view",
|
|
@@ -7615,7 +7694,7 @@ var init_index_editor2 = __esm({
|
|
|
7615
7694
|
value: "view"
|
|
7616
7695
|
}
|
|
7617
7696
|
),
|
|
7618
|
-
/* @__PURE__ */
|
|
7697
|
+
/* @__PURE__ */ jsx44(
|
|
7619
7698
|
CheckBox,
|
|
7620
7699
|
{
|
|
7621
7700
|
label: "Show Coordinates",
|
|
@@ -7623,9 +7702,9 @@ var init_index_editor2 = __esm({
|
|
|
7623
7702
|
onChange: () => setShowZonesCoordinates((prev) => !prev)
|
|
7624
7703
|
}
|
|
7625
7704
|
),
|
|
7626
|
-
/* @__PURE__ */
|
|
7627
|
-
/* @__PURE__ */
|
|
7628
|
-
/* @__PURE__ */
|
|
7705
|
+
/* @__PURE__ */ jsx44(Button11, { theme: stickyBarTheme, onClick: handleSubmit, children: "Submit" }),
|
|
7706
|
+
/* @__PURE__ */ jsx44(CopyButton, { theme: stickyBarTheme, template, setCopiedMessage }),
|
|
7707
|
+
/* @__PURE__ */ jsx44(Button11, { className: src_components_lazy_index_editor_default.button, theme: stickyBarTheme, accent: "alt", onClick: copyZones, children: "Copier les zones" })
|
|
7629
7708
|
] });
|
|
7630
7709
|
};
|
|
7631
7710
|
EditorNext = React13.forwardRef(
|
|
@@ -7736,10 +7815,10 @@ ${JSON.stringify(
|
|
|
7736
7815
|
setOpenSummary
|
|
7737
7816
|
};
|
|
7738
7817
|
return /* @__PURE__ */ jsxs25(Fragment10, { children: [
|
|
7739
|
-
/* @__PURE__ */
|
|
7740
|
-
/* @__PURE__ */
|
|
7741
|
-
/* @__PURE__ */
|
|
7742
|
-
/* @__PURE__ */
|
|
7818
|
+
/* @__PURE__ */ jsx44(EditorStickyBar, { ...toolbarProps }),
|
|
7819
|
+
/* @__PURE__ */ jsx44("div", { className: src_components_lazy_index_editor_default.pageContainer, children: /* @__PURE__ */ jsxs25("div", { className: src_components_lazy_index_editor_default.screen, children: [
|
|
7820
|
+
/* @__PURE__ */ jsx44(Alert_default, { text: copiedMessage }),
|
|
7821
|
+
/* @__PURE__ */ jsx44(
|
|
7743
7822
|
EditorView_default,
|
|
7744
7823
|
{
|
|
7745
7824
|
ref,
|
|
@@ -7754,7 +7833,7 @@ ${JSON.stringify(
|
|
|
7754
7833
|
words
|
|
7755
7834
|
}
|
|
7756
7835
|
),
|
|
7757
|
-
metadataEditor.path && /* @__PURE__ */
|
|
7836
|
+
metadataEditor.path && /* @__PURE__ */ jsx44(
|
|
7758
7837
|
MetadataEditor_default,
|
|
7759
7838
|
{
|
|
7760
7839
|
doc: getDocumentByUuid(metadataEditor.path, template),
|
|
@@ -7765,7 +7844,7 @@ ${JSON.stringify(
|
|
|
7765
7844
|
},
|
|
7766
7845
|
`metadata_${metadataEditor.path}`
|
|
7767
7846
|
),
|
|
7768
|
-
editEditor.path && /* @__PURE__ */
|
|
7847
|
+
editEditor.path && /* @__PURE__ */ jsx44(
|
|
7769
7848
|
Editor2,
|
|
7770
7849
|
{
|
|
7771
7850
|
error: docLintErrors[editEditor.path],
|
|
@@ -7778,7 +7857,7 @@ ${JSON.stringify(
|
|
|
7778
7857
|
`edit_${editEditor.path}`
|
|
7779
7858
|
)
|
|
7780
7859
|
] }) }),
|
|
7781
|
-
showWarningSnackbar && !!firstFoundErrorUuid && /* @__PURE__ */
|
|
7860
|
+
showWarningSnackbar && !!firstFoundErrorUuid && /* @__PURE__ */ jsx44(
|
|
7782
7861
|
Snackbar2,
|
|
7783
7862
|
{
|
|
7784
7863
|
open: true,
|
|
@@ -7801,23 +7880,23 @@ ${JSON.stringify(
|
|
|
7801
7880
|
|
|
7802
7881
|
// src/index.editor.tsx
|
|
7803
7882
|
import React14, { Suspense as Suspense2 } from "react";
|
|
7804
|
-
import { jsx as
|
|
7883
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
7805
7884
|
var LazyEditor2 = React14.lazy(() => Promise.resolve().then(() => (init_index_editor2(), index_editor_exports)));
|
|
7806
7885
|
var ViewerEditor = (props) => {
|
|
7807
|
-
return /* @__PURE__ */
|
|
7886
|
+
return /* @__PURE__ */ jsx45(Suspense2, { children: /* @__PURE__ */ jsx45(LazyEditor2, { ...props }) });
|
|
7808
7887
|
};
|
|
7809
7888
|
var index_editor_default2 = ViewerEditor;
|
|
7810
7889
|
|
|
7811
7890
|
// src/index.viewer.tsx
|
|
7812
7891
|
init_ViewerMd2();
|
|
7813
7892
|
init_usePictureSource();
|
|
7814
|
-
import { jsx as
|
|
7893
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
7815
7894
|
var Viewer = (props) => {
|
|
7816
7895
|
const pictureSourceProps = usePictureSource_default({
|
|
7817
7896
|
template: props.template,
|
|
7818
7897
|
mode: props.mode
|
|
7819
7898
|
});
|
|
7820
|
-
return /* @__PURE__ */
|
|
7899
|
+
return /* @__PURE__ */ jsx46(ViewerMd_default, { ...props, ...pictureSourceProps });
|
|
7821
7900
|
};
|
|
7822
7901
|
var index_viewer_default = Viewer;
|
|
7823
7902
|
export {
|