@lls/vivi 24.24.0-ed6d605a → 24.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/vivi.css +227 -247
- package/lib/index.js +345 -424
- 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(--green-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(--green-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
|
+
"definition",
|
|
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
|
+
definition: "definitions",
|
|
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?.definitions ?? [],
|
|
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://ygr0NhH7PpG6cK6ZO3jTx5o4ronNoggB-CfvqZVRLUs.css
|
|
386
|
+
var init_ygr0NhH7PpG6cK6ZO3jTx5o4ronNoggB_CfvqZVRLUs = __esm({
|
|
387
|
+
"css-modules:css-modules://ygr0NhH7PpG6cK6ZO3jTx5o4ronNoggB-CfvqZVRLUs.css"() {
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
//
|
|
391
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_lazy_CodemirrorEditor.browser.module.css"() {
|
|
395
395
|
"use strict";
|
|
396
|
-
|
|
397
|
-
src_components_lazy_CodemirrorEditor_browser_default = { "codemirrorWrapper": "vv-
|
|
396
|
+
init_ygr0NhH7PpG6cK6ZO3jTx5o4ronNoggB_CfvqZVRLUs();
|
|
397
|
+
src_components_lazy_CodemirrorEditor_browser_default = { "codemirrorWrapper": "vv-Im8Ytq-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://FnTEuG5DSwUvoEYjWjMhkzPetvu7AAwSUkHNQBbAhSE.css
|
|
550
|
+
var init_FnTEuG5DSwUvoEYjWjMhkzPetvu7AAwSUkHNQBbAhSE = __esm({
|
|
551
|
+
"css-modules:css-modules://FnTEuG5DSwUvoEYjWjMhkzPetvu7AAwSUkHNQBbAhSE.css"() {
|
|
552
552
|
}
|
|
553
553
|
});
|
|
554
554
|
|
|
555
|
-
//
|
|
555
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorHeaderModal.module.css"() {
|
|
559
559
|
"use strict";
|
|
560
|
-
|
|
561
|
-
src_components_core_editor_EditorHeaderModal_default = { "header": "vv-
|
|
560
|
+
init_FnTEuG5DSwUvoEYjWjMhkzPetvu7AAwSUkHNQBbAhSE();
|
|
561
|
+
src_components_core_editor_EditorHeaderModal_default = { "header": "vv-d5cOla-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://oxC_JA_TFNgamxyzn3nwDqZp1stZfuMqsceO6t7f_sk.css
|
|
674
|
+
var init_oxC_JA_TFNgamxyzn3nwDqZp1stZfuMqsceO6t7f_sk = __esm({
|
|
675
|
+
"css-modules:css-modules://oxC_JA_TFNgamxyzn3nwDqZp1stZfuMqsceO6t7f_sk.css"() {
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
678
|
|
|
679
|
-
//
|
|
679
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorListModal.module.css"() {
|
|
683
683
|
"use strict";
|
|
684
|
-
|
|
685
|
-
src_components_core_editor_EditorListModal_default = { "ul": "vv-
|
|
684
|
+
init_oxC_JA_TFNgamxyzn3nwDqZp1stZfuMqsceO6t7f_sk();
|
|
685
|
+
src_components_core_editor_EditorListModal_default = { "ul": "vv-Fwa_lG-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://u-d3jv2XUCaN2JYK-5HAZl3H2LmLjqbnNJM-3c5rlVI.css
|
|
721
|
+
var init_u_d3jv2XUCaN2JYK_5HAZl3H2LmLjqbnNJM_3c5rlVI = __esm({
|
|
722
|
+
"css-modules:css-modules://u-d3jv2XUCaN2JYK-5HAZl3H2LmLjqbnNJM-3c5rlVI.css"() {
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
725
|
|
|
726
|
-
//
|
|
726
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorMathsModal.module.css"() {
|
|
730
730
|
"use strict";
|
|
731
|
-
|
|
732
|
-
src_components_core_editor_EditorMathsModal_default = { "mathsElement": "vv-
|
|
731
|
+
init_u_d3jv2XUCaN2JYK_5HAZl3H2LmLjqbnNJM_3c5rlVI();
|
|
732
|
+
src_components_core_editor_EditorMathsModal_default = { "mathsElement": "vv-gczzEq-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://QD2eyJRb1NmeY_UyW8GLSgIpu06j4UI9KnH9nZ5MYWo.css
|
|
776
|
+
var init_QD2eyJRb1NmeY_UyW8GLSgIpu06j4UI9KnH9nZ5MYWo = __esm({
|
|
777
|
+
"css-modules:css-modules://QD2eyJRb1NmeY_UyW8GLSgIpu06j4UI9KnH9nZ5MYWo.css"() {
|
|
778
778
|
}
|
|
779
779
|
});
|
|
780
780
|
|
|
781
|
-
//
|
|
781
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorOrderedListModal.module.css"() {
|
|
785
785
|
"use strict";
|
|
786
|
-
|
|
787
|
-
src_components_core_editor_EditorOrderedListModal_default = { "ol": "vv-
|
|
786
|
+
init_QD2eyJRb1NmeY_UyW8GLSgIpu06j4UI9KnH9nZ5MYWo();
|
|
787
|
+
src_components_core_editor_EditorOrderedListModal_default = { "ol": "vv-O2R9ZW-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://wQFiXziu6hKY85trrKdz-qkRtZBx0PJzZ3cTBr2I2xM.css
|
|
845
|
+
var init_wQFiXziu6hKY85trrKdz_qkRtZBx0PJzZ3cTBr2I2xM = __esm({
|
|
846
|
+
"css-modules:css-modules://wQFiXziu6hKY85trrKdz-qkRtZBx0PJzZ3cTBr2I2xM.css"() {
|
|
847
847
|
}
|
|
848
848
|
});
|
|
849
849
|
|
|
850
|
-
//
|
|
850
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorQuestionModal.module.css"() {
|
|
854
854
|
"use strict";
|
|
855
|
-
|
|
856
|
-
src_components_core_editor_EditorQuestionModal_default = { "question": "vv-
|
|
855
|
+
init_wQFiXziu6hKY85trrKdz_qkRtZBx0PJzZ3cTBr2I2xM();
|
|
856
|
+
src_components_core_editor_EditorQuestionModal_default = { "question": "vv-vGd9Aq-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://-7TSBZeRDhGcE1qC2KX1ykpEzlwNhJnt2FQtf8nFSKQ.css
|
|
923
|
+
var init_TSBZeRDhGcE1qC2KX1ykpEzlwNhJnt2FQtf8nFSKQ = __esm({
|
|
924
|
+
"css-modules:css-modules://-7TSBZeRDhGcE1qC2KX1ykpEzlwNhJnt2FQtf8nFSKQ.css"() {
|
|
925
925
|
}
|
|
926
926
|
});
|
|
927
927
|
|
|
928
|
-
//
|
|
928
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorStampModal.module.css"() {
|
|
932
932
|
"use strict";
|
|
933
|
-
|
|
934
|
-
src_components_core_editor_EditorStampModal_default = { "stamp": "vv-
|
|
933
|
+
init_TSBZeRDhGcE1qC2KX1ykpEzlwNhJnt2FQtf8nFSKQ();
|
|
934
|
+
src_components_core_editor_EditorStampModal_default = { "stamp": "vv-XVz35G-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://hqZEocGJ8W2l3jd8qqA6wG97Hj-SjBrwf8Sr0bGdSEU.css
|
|
997
|
+
var init_hqZEocGJ8W2l3jd8qqA6wG97Hj_SjBrwf8Sr0bGdSEU = __esm({
|
|
998
|
+
"css-modules:css-modules://hqZEocGJ8W2l3jd8qqA6wG97Hj-SjBrwf8Sr0bGdSEU.css"() {
|
|
999
999
|
}
|
|
1000
1000
|
});
|
|
1001
1001
|
|
|
1002
|
-
//
|
|
1002
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorTableModal.module.css"() {
|
|
1006
1006
|
"use strict";
|
|
1007
|
-
|
|
1008
|
-
src_components_core_editor_EditorTableModal_default = { "
|
|
1007
|
+
init_hqZEocGJ8W2l3jd8qqA6wG97Hj_SjBrwf8Sr0bGdSEU();
|
|
1008
|
+
src_components_core_editor_EditorTableModal_default = { "cell": "vv-y2a7Hq-cell", "line": "vv-y2a7Hq-line", "header": "vv-y2a7Hq-header", "grid": "vv-y2a7Hq-grid" };
|
|
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://xCwOrIndl-4wXBWV7dnPx_q8IH7zzs5tHTXrAVuc7KM.css
|
|
1099
|
+
var init_xCwOrIndl_4wXBWV7dnPx_q8IH7zzs5tHTXrAVuc7KM = __esm({
|
|
1100
|
+
"css-modules:css-modules://xCwOrIndl-4wXBWV7dnPx_q8IH7zzs5tHTXrAVuc7KM.css"() {
|
|
1101
1101
|
}
|
|
1102
1102
|
});
|
|
1103
1103
|
|
|
1104
|
-
//
|
|
1104
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorTitleModal.module.css"() {
|
|
1108
1108
|
"use strict";
|
|
1109
|
-
|
|
1110
|
-
src_components_core_editor_EditorTitleModal_default = { "
|
|
1109
|
+
init_xCwOrIndl_4wXBWV7dnPx_q8IH7zzs5tHTXrAVuc7KM();
|
|
1110
|
+
src_components_core_editor_EditorTitleModal_default = { "h3": "vv-zYalFG-h3", "h2": "vv-zYalFG-h2", "body2": "vv-zYalFG-body2", "title": "vv-zYalFG-title", "body3": "vv-zYalFG-body3", "h4": "vv-zYalFG-h4", "body1": "vv-zYalFG-body1", "h1": "vv-zYalFG-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://eAHDZXSpQ3GonyMnvTu1sTbGVflR0iGPbNCfrOrauDo.css
|
|
1193
|
+
var init_eAHDZXSpQ3GonyMnvTu1sTbGVflR0iGPbNCfrOrauDo = __esm({
|
|
1194
|
+
"css-modules:css-modules://eAHDZXSpQ3GonyMnvTu1sTbGVflR0iGPbNCfrOrauDo.css"() {
|
|
1195
1195
|
}
|
|
1196
1196
|
});
|
|
1197
1197
|
|
|
1198
|
-
//
|
|
1198
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_EditorToolbar.module.css"() {
|
|
1202
1202
|
"use strict";
|
|
1203
|
-
|
|
1204
|
-
src_components_core_editor_EditorToolbar_default = { "span": "vv-
|
|
1203
|
+
init_eAHDZXSpQ3GonyMnvTu1sTbGVflR0iGPbNCfrOrauDo();
|
|
1204
|
+
src_components_core_editor_EditorToolbar_default = { "span": "vv-nynH4a-span", "editorToolbar": "vv-nynH4a-editorToolbar" };
|
|
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://Lom-eQCMYEY8dks2bH1md0736lGYQTFrEGz8dAxGlxM.css
|
|
1450
|
+
var init_Lom_eQCMYEY8dks2bH1md0736lGYQTFrEGz8dAxGlxM = __esm({
|
|
1451
|
+
"css-modules:css-modules://Lom-eQCMYEY8dks2bH1md0736lGYQTFrEGz8dAxGlxM.css"() {
|
|
1452
1452
|
}
|
|
1453
1453
|
});
|
|
1454
1454
|
|
|
1455
|
-
//
|
|
1455
|
+
// tmp_esbuild1753881049094/_src_hooks_useDragAndResize.module.css
|
|
1456
1456
|
var src_hooks_useDragAndResize_default;
|
|
1457
1457
|
var init_src_hooks_useDragAndResize = __esm({
|
|
1458
|
-
"
|
|
1458
|
+
"tmp_esbuild1753881049094/_src_hooks_useDragAndResize.module.css"() {
|
|
1459
1459
|
"use strict";
|
|
1460
|
-
|
|
1461
|
-
src_hooks_useDragAndResize_default = { "handle": "vv-
|
|
1460
|
+
init_Lom_eQCMYEY8dks2bH1md0736lGYQTFrEGz8dAxGlxM();
|
|
1461
|
+
src_hooks_useDragAndResize_default = { "handle": "vv-g0LMRG-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://FqfZlfZL0jf-hV54KTMkwPfEXzpuFduGDzHqweb7-DI.css
|
|
1742
|
+
var init_FqfZlfZL0jf_hV54KTMkwPfEXzpuFduGDzHqweb7_DI = __esm({
|
|
1743
|
+
"css-modules:css-modules://FqfZlfZL0jf-hV54KTMkwPfEXzpuFduGDzHqweb7-DI.css"() {
|
|
1744
1744
|
}
|
|
1745
1745
|
});
|
|
1746
1746
|
|
|
1747
|
-
//
|
|
1747
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_editor_Editor.module.css"() {
|
|
1751
1751
|
"use strict";
|
|
1752
|
-
|
|
1753
|
-
src_components_core_editor_Editor_default = { "rnd": "vv-
|
|
1752
|
+
init_FqfZlfZL0jf_hV54KTMkwPfEXzpuFduGDzHqweb7_DI();
|
|
1753
|
+
src_components_core_editor_Editor_default = { "rnd": "vv-8iB7fq-rnd", "header": "vv-8iB7fq-header", "errorBanner": "vv-8iB7fq-errorBanner", "wrapper": "vv-8iB7fq-wrapper" };
|
|
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://euYx97hS4YtBL05QsuAcn_4Cm75w-YWdUuoqROQKcCk.css
|
|
2026
|
+
var init_euYx97hS4YtBL05QsuAcn_4Cm75w_YWdUuoqROQKcCk = __esm({
|
|
2027
|
+
"css-modules:css-modules://euYx97hS4YtBL05QsuAcn_4Cm75w-YWdUuoqROQKcCk.css"() {
|
|
2028
2028
|
}
|
|
2029
2029
|
});
|
|
2030
2030
|
|
|
2031
|
-
//
|
|
2031
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_DocumentToolbar.module.css"() {
|
|
2035
2035
|
"use strict";
|
|
2036
|
-
|
|
2037
|
-
src_components_core_DocumentToolbar_default = { "
|
|
2036
|
+
init_euYx97hS4YtBL05QsuAcn_4Cm75w_YWdUuoqROQKcCk();
|
|
2037
|
+
src_components_core_DocumentToolbar_default = { "toolbar": "vv-4ypgKW-toolbar", "parentToolbar": "vv-4ypgKW-parentToolbar", "toggleMenuButton": "vv-4ypgKW-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://vet9xvO0xI6-F2eUJs4Ht8ccMGM-soiU33OZumRoY2s.css
|
|
2095
|
+
var init_vet9xvO0xI6_F2eUJs4Ht8ccMGM_soiU33OZumRoY2s = __esm({
|
|
2096
|
+
"css-modules:css-modules://vet9xvO0xI6-F2eUJs4Ht8ccMGM-soiU33OZumRoY2s.css"() {
|
|
2097
2097
|
}
|
|
2098
2098
|
});
|
|
2099
2099
|
|
|
2100
|
-
//
|
|
2100
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_core_ErrorBoundary.module.css"() {
|
|
2104
2104
|
"use strict";
|
|
2105
|
-
|
|
2106
|
-
src_components_core_ErrorBoundary_default = { "errorBoundary": "vv-
|
|
2105
|
+
init_vet9xvO0xI6_F2eUJs4Ht8ccMGM_soiU33OZumRoY2s();
|
|
2106
|
+
src_components_core_ErrorBoundary_default = { "errorBoundary": "vv-9rE79a-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://oIbmiGhf6cif-KVEW4lYsdKZaiEAjKT_HIOJDEtZfgc.css
|
|
2260
|
+
var init_oIbmiGhf6cif_KVEW4lYsdKZaiEAjKT_HIOJDEtZfgc = __esm({
|
|
2261
|
+
"css-modules:css-modules://oIbmiGhf6cif-KVEW4lYsdKZaiEAjKT_HIOJDEtZfgc.css"() {
|
|
2262
2262
|
}
|
|
2263
2263
|
});
|
|
2264
2264
|
|
|
2265
|
-
//
|
|
2265
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_primarygrid_EditGrid.module.css"() {
|
|
2269
2269
|
"use strict";
|
|
2270
|
-
|
|
2271
|
-
src_components_primarygrid_EditGrid_default = { "
|
|
2270
|
+
init_oIbmiGhf6cif_KVEW4lYsdKZaiEAjKT_HIOJDEtZfgc();
|
|
2271
|
+
src_components_primarygrid_EditGrid_default = { "editGrid": "vv-jIVm0W-editGrid", "angleValue": "vv-jIVm0W-angleValue", "interfaceHeader": "vv-jIVm0W-interfaceHeader", "zonePictureInner": "vv-jIVm0W-zonePictureInner", "docs": "vv-jIVm0W-docs", "col": "vv-jIVm0W-col", "interface": "vv-jIVm0W-interface", "row": "vv-jIVm0W-row", "zonePicture": "vv-jIVm0W-zonePicture", "zone": "vv-jIVm0W-zone" };
|
|
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://dV9mPOIFqO0qGNVwIb2FwjRbGkcckkiSbUAlBrdsWrk.css
|
|
2284
|
+
var init_dV9mPOIFqO0qGNVwIb2FwjRbGkcckkiSbUAlBrdsWrk = __esm({
|
|
2285
|
+
"css-modules:css-modules://dV9mPOIFqO0qGNVwIb2FwjRbGkcckkiSbUAlBrdsWrk.css"() {
|
|
2286
2286
|
}
|
|
2287
2287
|
});
|
|
2288
2288
|
|
|
2289
|
-
//
|
|
2289
|
+
// tmp_esbuild1753881049094/_src_components_Audio.module.css
|
|
2290
2290
|
var src_components_Audio_default;
|
|
2291
2291
|
var init_src_components_Audio = __esm({
|
|
2292
|
-
"
|
|
2292
|
+
"tmp_esbuild1753881049094/_src_components_Audio.module.css"() {
|
|
2293
2293
|
"use strict";
|
|
2294
|
-
|
|
2295
|
-
src_components_Audio_default = { "container": "vv-
|
|
2294
|
+
init_dV9mPOIFqO0qGNVwIb2FwjRbGkcckkiSbUAlBrdsWrk();
|
|
2295
|
+
src_components_Audio_default = { "container": "vv-8RqEGa-container", "audio": "vv-8RqEGa-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://m-KhsrAfai_qY11o3YbfQ6cCIoAV0uOd9seELATKNhU.css
|
|
2339
|
+
var init_m_KhsrAfai_qY11o3YbfQ6cCIoAV0uOd9seELATKNhU = __esm({
|
|
2340
|
+
"css-modules:css-modules://m-KhsrAfai_qY11o3YbfQ6cCIoAV0uOd9seELATKNhU.css"() {
|
|
2341
2341
|
}
|
|
2342
2342
|
});
|
|
2343
2343
|
|
|
2344
|
-
//
|
|
2344
|
+
// tmp_esbuild1753881049094/_src_components_Rive.module.css
|
|
2345
2345
|
var src_components_Rive_default;
|
|
2346
2346
|
var init_src_components_Rive = __esm({
|
|
2347
|
-
"
|
|
2347
|
+
"tmp_esbuild1753881049094/_src_components_Rive.module.css"() {
|
|
2348
2348
|
"use strict";
|
|
2349
|
-
|
|
2350
|
-
src_components_Rive_default = { "container": "vv-
|
|
2349
|
+
init_m_KhsrAfai_qY11o3YbfQ6cCIoAV0uOd9seELATKNhU();
|
|
2350
|
+
src_components_Rive_default = { "container": "vv-jORfpq-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://VXZk7OI7ZKjArFaSteNelo4RlKstu8Br98Y44sBTYCQ.css
|
|
2392
|
+
var init_VXZk7OI7ZKjArFaSteNelo4RlKstu8Br98Y44sBTYCQ = __esm({
|
|
2393
|
+
"css-modules:css-modules://VXZk7OI7ZKjArFaSteNelo4RlKstu8Br98Y44sBTYCQ.css"() {
|
|
2394
2394
|
}
|
|
2395
2395
|
});
|
|
2396
2396
|
|
|
2397
|
-
//
|
|
2397
|
+
// tmp_esbuild1753881049094/_src_components_Video.module.css
|
|
2398
2398
|
var src_components_Video_default;
|
|
2399
2399
|
var init_src_components_Video = __esm({
|
|
2400
|
-
"
|
|
2400
|
+
"tmp_esbuild1753881049094/_src_components_Video.module.css"() {
|
|
2401
2401
|
"use strict";
|
|
2402
|
-
|
|
2403
|
-
src_components_Video_default = { "video": "vv--
|
|
2402
|
+
init_VXZk7OI7ZKjArFaSteNelo4RlKstu8Br98Y44sBTYCQ();
|
|
2403
|
+
src_components_Video_default = { "video": "vv--QdqPG-video", "container": "vv--QdqPG-container" };
|
|
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
|
+
definition: "D\xE9finition",
|
|
2477
2477
|
subZone: "Sous-zone",
|
|
2478
2478
|
mask: "Masque",
|
|
2479
2479
|
correction: "Correction",
|
|
@@ -2722,11 +2722,12 @@ 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(--green-40-color)";
|
|
2726
2726
|
case "audioWord":
|
|
2727
2727
|
return "var(--pk-pink-30-color)";
|
|
2728
|
-
case "
|
|
2729
|
-
return "
|
|
2728
|
+
case "definition":
|
|
2729
|
+
return "yellow";
|
|
2730
|
+
// TO COMPLETE
|
|
2730
2731
|
default:
|
|
2731
2732
|
return "black";
|
|
2732
2733
|
}
|
|
@@ -2753,19 +2754,19 @@ var init_zoneMaker2 = __esm({
|
|
|
2753
2754
|
}
|
|
2754
2755
|
});
|
|
2755
2756
|
|
|
2756
|
-
// css-modules:css-modules://
|
|
2757
|
-
var
|
|
2758
|
-
"css-modules:css-modules://
|
|
2757
|
+
// css-modules:css-modules://K7RfUqXbXo_fk3q4LDS-ZvRnMFPKr4qBXkOiTk3_Q-w.css
|
|
2758
|
+
var init_K7RfUqXbXo_fk3q4LDS_ZvRnMFPKr4qBXkOiTk3_Q_w = __esm({
|
|
2759
|
+
"css-modules:css-modules://K7RfUqXbXo_fk3q4LDS-ZvRnMFPKr4qBXkOiTk3_Q-w.css"() {
|
|
2759
2760
|
}
|
|
2760
2761
|
});
|
|
2761
2762
|
|
|
2762
|
-
//
|
|
2763
|
+
// tmp_esbuild1753881049094/_src_components_primarygrid_EditZoneModal.module.css
|
|
2763
2764
|
var src_components_primarygrid_EditZoneModal_default;
|
|
2764
2765
|
var init_src_components_primarygrid_EditZoneModal = __esm({
|
|
2765
|
-
"
|
|
2766
|
+
"tmp_esbuild1753881049094/_src_components_primarygrid_EditZoneModal.module.css"() {
|
|
2766
2767
|
"use strict";
|
|
2767
|
-
|
|
2768
|
-
src_components_primarygrid_EditZoneModal_default = { "
|
|
2768
|
+
init_K7RfUqXbXo_fk3q4LDS_ZvRnMFPKr4qBXkOiTk3_Q_w();
|
|
2769
|
+
src_components_primarygrid_EditZoneModal_default = { "zoneElements": "vv-z-V_sa-zoneElements", "properties": "vv-z-V_sa-properties", "zoneElementsList": "vv-z-V_sa-zoneElementsList", "col": "vv-z-V_sa-col", "contentMdDoc": "vv-z-V_sa-contentMdDoc", "angleValue": "vv-z-V_sa-angleValue", "rive": "vv-z-V_sa-rive", "row": "vv-z-V_sa-row", "zonePictureInner": "vv-z-V_sa-zonePictureInner", "addZoneButtons": "vv-z-V_sa-addZoneButtons", "zone": "vv-z-V_sa-zone", "zonePicture": "vv-z-V_sa-zonePicture", "stickyElementsList": "vv-z-V_sa-stickyElementsList", "rightButton": "vv-z-V_sa-rightButton", "leftButton": "vv-z-V_sa-leftButton", "addZone": "vv-z-V_sa-addZone", "mediaContainer": "vv-z-V_sa-mediaContainer" };
|
|
2769
2770
|
}
|
|
2770
2771
|
});
|
|
2771
2772
|
|
|
@@ -2803,19 +2804,19 @@ var init_ZoneCoordinates = __esm({
|
|
|
2803
2804
|
}
|
|
2804
2805
|
});
|
|
2805
2806
|
|
|
2806
|
-
// css-modules:css-modules://
|
|
2807
|
-
var
|
|
2808
|
-
"css-modules:css-modules://
|
|
2807
|
+
// css-modules:css-modules://axwqWfyrWVPmpbphV2xj2_exydE7ohpLw6QkkRp7Plc.css
|
|
2808
|
+
var init_axwqWfyrWVPmpbphV2xj2_exydE7ohpLw6QkkRp7Plc = __esm({
|
|
2809
|
+
"css-modules:css-modules://axwqWfyrWVPmpbphV2xj2_exydE7ohpLw6QkkRp7Plc.css"() {
|
|
2809
2810
|
}
|
|
2810
2811
|
});
|
|
2811
2812
|
|
|
2812
|
-
//
|
|
2813
|
+
// tmp_esbuild1753881049094/_src_components_primarygrid_ZoneMaker.module.css
|
|
2813
2814
|
var src_components_primarygrid_ZoneMaker_default;
|
|
2814
2815
|
var init_src_components_primarygrid_ZoneMaker = __esm({
|
|
2815
|
-
"
|
|
2816
|
+
"tmp_esbuild1753881049094/_src_components_primarygrid_ZoneMaker.module.css"() {
|
|
2816
2817
|
"use strict";
|
|
2817
|
-
|
|
2818
|
-
src_components_primarygrid_ZoneMaker_default = { "zoneMakeContainer": "vv-
|
|
2818
|
+
init_axwqWfyrWVPmpbphV2xj2_exydE7ohpLw6QkkRp7Plc();
|
|
2819
|
+
src_components_primarygrid_ZoneMaker_default = { "zoneMakeContainer": "vv-H6fFDq-zoneMakeContainer", "handle": "vv-H6fFDq-handle", "pageDivider": "vv-H6fFDq-pageDivider", "zoneMaker": "vv-H6fFDq-zoneMaker", "mediaContainer": "vv-H6fFDq-mediaContainer", "pictureZone": "vv-H6fFDq-pictureZone", "settingsButton": "vv-H6fFDq-settingsButton" };
|
|
2819
2820
|
}
|
|
2820
2821
|
});
|
|
2821
2822
|
|
|
@@ -2837,19 +2838,19 @@ var init_url = __esm({
|
|
|
2837
2838
|
}
|
|
2838
2839
|
});
|
|
2839
2840
|
|
|
2840
|
-
// css-modules:css-modules://
|
|
2841
|
-
var
|
|
2842
|
-
"css-modules:css-modules://
|
|
2841
|
+
// css-modules:css-modules://QIWes2B7Y0n-EFArK65yV8AucLm07OkD6MCdFKN0Vd8.css
|
|
2842
|
+
var init_QIWes2B7Y0n_EFArK65yV8AucLm07OkD6MCdFKN0Vd8 = __esm({
|
|
2843
|
+
"css-modules:css-modules://QIWes2B7Y0n-EFArK65yV8AucLm07OkD6MCdFKN0Vd8.css"() {
|
|
2843
2844
|
}
|
|
2844
2845
|
});
|
|
2845
2846
|
|
|
2846
|
-
//
|
|
2847
|
+
// tmp_esbuild1753881049094/_src_components_primarygrid_ZoomedPicture.module.css
|
|
2847
2848
|
var src_components_primarygrid_ZoomedPicture_default;
|
|
2848
2849
|
var init_src_components_primarygrid_ZoomedPicture = __esm({
|
|
2849
|
-
"
|
|
2850
|
+
"tmp_esbuild1753881049094/_src_components_primarygrid_ZoomedPicture.module.css"() {
|
|
2850
2851
|
"use strict";
|
|
2851
|
-
|
|
2852
|
-
src_components_primarygrid_ZoomedPicture_default = { "
|
|
2852
|
+
init_QIWes2B7Y0n_EFArK65yV8AucLm07OkD6MCdFKN0Vd8();
|
|
2853
|
+
src_components_primarygrid_ZoomedPicture_default = { "zoomedPicture": "vv-uvgIZq-zoomedPicture", "imgPicture": "vv-uvgIZq-imgPicture", "placeholder": "vv-uvgIZq-placeholder", "generatedAsset": "vv-uvgIZq-generatedAsset", "emptyFrame": "vv-uvgIZq-emptyFrame" };
|
|
2853
2854
|
}
|
|
2854
2855
|
});
|
|
2855
2856
|
|
|
@@ -3233,13 +3234,12 @@ var init_EditZoneModal2 = __esm({
|
|
|
3233
3234
|
addDocument(newZone);
|
|
3234
3235
|
scrollToZone(newZone);
|
|
3235
3236
|
};
|
|
3236
|
-
const
|
|
3237
|
-
return ["audioWord", "picWord"
|
|
3237
|
+
const isPicWordOrAudioWord = (zoneElement) => {
|
|
3238
|
+
return ["audioWord", "picWord"].includes(zoneElement.type);
|
|
3238
3239
|
};
|
|
3239
3240
|
const wordsLists = useMemo2(
|
|
3240
3241
|
() => ({
|
|
3241
3242
|
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.map((type) => /* @__PURE__ */ jsx23(Button5, { onClick: () => addZoneElement(type), children: ZONE_ELEMENTS_LABEL[type] }, type)) })
|
|
3303
|
+
/* @__PURE__ */ jsx23("div", { className: src_components_primarygrid_EditZoneModal_default.addZoneButtons, children: ZONE_ELEMENT_CATEGORIES.filter((type) => type !== "definition").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: isPicWordOrAudioWord(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://aBDGPwUttWLKMsu0h8ztDSoHUxiWVFjTDSjQGi4-t_I.css
|
|
3541
|
+
var init_aBDGPwUttWLKMsu0h8ztDSoHUxiWVFjTDSjQGi4_t_I = __esm({
|
|
3542
|
+
"css-modules:css-modules://aBDGPwUttWLKMsu0h8ztDSoHUxiWVFjTDSjQGi4-t_I.css"() {
|
|
3543
3543
|
}
|
|
3544
3544
|
});
|
|
3545
3545
|
|
|
3546
|
-
//
|
|
3546
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_primarygrid_sortable_SortableItem.module.css"() {
|
|
3550
3550
|
"use strict";
|
|
3551
|
-
|
|
3552
|
-
src_components_primarygrid_sortable_SortableItem_default = { "item": "vv-
|
|
3551
|
+
init_aBDGPwUttWLKMsu0h8ztDSoHUxiWVFjTDSjQGi4_t_I();
|
|
3552
|
+
src_components_primarygrid_sortable_SortableItem_default = { "item": "vv-LVLXfW-item", "dragButton": "vv-LVLXfW-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://Ku6KupjVCUiM9fHo_DM1qVVu-DX8-PtGCI3ZJkLX08U.css
|
|
3893
|
+
var init_Ku6KupjVCUiM9fHo_DM1qVVu_DX8_PtGCI3ZJkLX08U = __esm({
|
|
3894
|
+
"css-modules:css-modules://Ku6KupjVCUiM9fHo_DM1qVVu-DX8-PtGCI3ZJkLX08U.css"() {
|
|
3895
3895
|
}
|
|
3896
3896
|
});
|
|
3897
3897
|
|
|
3898
|
-
//
|
|
3898
|
+
// tmp_esbuild1753881049094/_src_components_HighlightedArea.module.css
|
|
3899
3899
|
var src_components_HighlightedArea_default;
|
|
3900
3900
|
var init_src_components_HighlightedArea = __esm({
|
|
3901
|
-
"
|
|
3901
|
+
"tmp_esbuild1753881049094/_src_components_HighlightedArea.module.css"() {
|
|
3902
3902
|
"use strict";
|
|
3903
|
-
|
|
3904
|
-
src_components_HighlightedArea_default = { "highlight": "vv-
|
|
3903
|
+
init_Ku6KupjVCUiM9fHo_DM1qVVu_DX8_PtGCI3ZJkLX08U();
|
|
3904
|
+
src_components_HighlightedArea_default = { "highlight": "vv--WbJ5a-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://nFqcmVlgqN6EK95CDFcpXoJAo-JPY5AbOZyUBuCEYMg.css
|
|
3956
|
+
var init_nFqcmVlgqN6EK95CDFcpXoJAo_JPY5AbOZyUBuCEYMg = __esm({
|
|
3957
|
+
"css-modules:css-modules://nFqcmVlgqN6EK95CDFcpXoJAo-JPY5AbOZyUBuCEYMg.css"() {
|
|
3958
3958
|
}
|
|
3959
3959
|
});
|
|
3960
3960
|
|
|
3961
|
-
//
|
|
3961
|
+
// tmp_esbuild1753881049094/_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_esbuild1753881049094/_src_components_primarygrid_FullscreenDocument.module.css"() {
|
|
3965
3965
|
"use strict";
|
|
3966
|
-
|
|
3967
|
-
src_components_primarygrid_FullscreenDocument_default = { "
|
|
3966
|
+
init_nFqcmVlgqN6EK95CDFcpXoJAo_JPY5AbOZyUBuCEYMg();
|
|
3967
|
+
src_components_primarygrid_FullscreenDocument_default = { "document": "vv-JVi6gq-document", "actions": "vv-JVi6gq-actions", "anyZone": "vv-JVi6gq-anyZone", "riveContainer": "vv-JVi6gq-riveContainer", "switchContent": "vv-JVi6gq-switchContent", "mask": "vv-JVi6gq-mask vv-JVi6gq-anyZone", "centeredContainer": "vv-JVi6gq-centeredContainer", "volumeIcon": "vv-JVi6gq-volumeIcon", "zoneContent": "vv-JVi6gq-zoneContent", "correctionZone": "vv-JVi6gq-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://qD4zlp2N58pxyuZdvVNLyt0ZFZKrnkA6wmsRldNxdn0.css
|
|
6226
|
+
var init_qD4zlp2N58pxyuZdvVNLyt0ZFZKrnkA6wmsRldNxdn0 = __esm({
|
|
6227
|
+
"css-modules:css-modules://qD4zlp2N58pxyuZdvVNLyt0ZFZKrnkA6wmsRldNxdn0.css"() {
|
|
6228
6228
|
}
|
|
6229
6229
|
});
|
|
6230
6230
|
|
|
6231
|
-
//
|
|
6231
|
+
// tmp_esbuild1753881049094/_src_components_ViewImage.module.css
|
|
6232
6232
|
var src_components_ViewImage_default;
|
|
6233
6233
|
var init_src_components_ViewImage = __esm({
|
|
6234
|
-
"
|
|
6234
|
+
"tmp_esbuild1753881049094/_src_components_ViewImage.module.css"() {
|
|
6235
6235
|
"use strict";
|
|
6236
|
-
|
|
6237
|
-
src_components_ViewImage_default = { "span": "vv-
|
|
6236
|
+
init_qD4zlp2N58pxyuZdvVNLyt0ZFZKrnkA6wmsRldNxdn0();
|
|
6237
|
+
src_components_ViewImage_default = { "span": "vv-vbq62G-span", "container": "vv-vbq62G-container", "root": "vv-vbq62G-root", "img": "vv-vbq62G-img" };
|
|
6238
6238
|
}
|
|
6239
6239
|
});
|
|
6240
6240
|
|
|
@@ -6258,16 +6258,7 @@ var init_ViewImage2 = __esm({
|
|
|
6258
6258
|
"use strict";
|
|
6259
6259
|
init_floating_ui_react();
|
|
6260
6260
|
init_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;
|
|
6261
|
+
ViewImage = ({ src, children, className, style, onShow = _19.noop, onHide = _19.noop, ...props }) => {
|
|
6271
6262
|
const [isOpen, setIsOpen] = useState15(false);
|
|
6272
6263
|
const [, startTransition] = useTransition();
|
|
6273
6264
|
const arrowRef = useRef8(null);
|
|
@@ -6322,14 +6313,7 @@ var init_ViewImage2 = __esm({
|
|
|
6322
6313
|
isValidElement(children) ? cloneElement2(children, { ref: refs.setReference, onClick }) : /* @__PURE__ */ jsx30("span", { ref: refs.setReference, onClick, children }),
|
|
6323
6314
|
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: [
|
|
6324
6315
|
/* @__PURE__ */ jsx30(FloatingArrow, { ref: arrowRef, context, width: 24, height: 16, fill: "var(--pk-blue-20-color)" }),
|
|
6325
|
-
|
|
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
|
-
] })
|
|
6316
|
+
/* @__PURE__ */ jsx30("img", { src, className: src_components_ViewImage_default.img })
|
|
6333
6317
|
] }) }) })
|
|
6334
6318
|
] });
|
|
6335
6319
|
};
|
|
@@ -6337,52 +6321,9 @@ var init_ViewImage2 = __esm({
|
|
|
6337
6321
|
}
|
|
6338
6322
|
});
|
|
6339
6323
|
|
|
6340
|
-
// src/components/primarygrid/
|
|
6324
|
+
// src/components/primarygrid/PicWord.tsx
|
|
6341
6325
|
import { ANALYTICS_LINK_CLICKED as ANALYTICS_LINK_CLICKED3, dispatchAnalyticsEvent as dispatchAnalyticsEvent3 } from "@lls/utils";
|
|
6342
6326
|
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";
|
|
6386
6327
|
var PicWord, PicWord_default;
|
|
6387
6328
|
var init_PicWord = __esm({
|
|
6388
6329
|
"src/components/primarygrid/PicWord.tsx"() {
|
|
@@ -6394,19 +6335,16 @@ var init_PicWord = __esm({
|
|
|
6394
6335
|
PicWord = ({
|
|
6395
6336
|
picWord,
|
|
6396
6337
|
gridItem,
|
|
6397
|
-
zoneVisibilityCounter
|
|
6398
|
-
|
|
6399
|
-
docId
|
|
6400
|
-
}) => /* @__PURE__ */ jsx32(
|
|
6338
|
+
zoneVisibilityCounter
|
|
6339
|
+
}) => /* @__PURE__ */ jsx31(
|
|
6401
6340
|
ViewImage_default,
|
|
6402
6341
|
{
|
|
6403
|
-
|
|
6404
|
-
onShow: () =>
|
|
6342
|
+
src: picWord.zoneElement.word?.src || "",
|
|
6343
|
+
onShow: () => dispatchAnalyticsEvent3(ANALYTICS_LINK_CLICKED3, {
|
|
6405
6344
|
featureName: "subzone|word-image",
|
|
6406
|
-
resourceId: [pageId ? `${pageId}|${docId}` : ""],
|
|
6407
6345
|
extraData: `word: ${picWord.zoneElement.word?.id} | ${picWord.zoneElement.word?.title}`
|
|
6408
6346
|
}),
|
|
6409
|
-
children: /* @__PURE__ */
|
|
6347
|
+
children: /* @__PURE__ */ jsx31(
|
|
6410
6348
|
HighlightedArea_default,
|
|
6411
6349
|
{
|
|
6412
6350
|
type: "purple",
|
|
@@ -6422,7 +6360,7 @@ var init_PicWord = __esm({
|
|
|
6422
6360
|
});
|
|
6423
6361
|
|
|
6424
6362
|
// src/components/primarygrid/SubZone.tsx
|
|
6425
|
-
import { jsx as
|
|
6363
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
6426
6364
|
var SubZone, SubZone_default;
|
|
6427
6365
|
var init_SubZone = __esm({
|
|
6428
6366
|
"src/components/primarygrid/SubZone.tsx"() {
|
|
@@ -6440,7 +6378,7 @@ var init_SubZone = __esm({
|
|
|
6440
6378
|
const onClick = () => {
|
|
6441
6379
|
showSubZone(zone.zoneElement.id, index3);
|
|
6442
6380
|
};
|
|
6443
|
-
return /* @__PURE__ */
|
|
6381
|
+
return /* @__PURE__ */ jsx32(
|
|
6444
6382
|
HighlightedArea_default,
|
|
6445
6383
|
{
|
|
6446
6384
|
color: "blue",
|
|
@@ -6459,10 +6397,10 @@ var init_SubZone = __esm({
|
|
|
6459
6397
|
// src/components/primarygrid/FullscreenDocument.tsx
|
|
6460
6398
|
import { Portal as Portal3 } from "@lls/lls-kit";
|
|
6461
6399
|
import { Button as Button8, PlayerAudio } from "@lls/lls-kit/primary";
|
|
6462
|
-
import { ANALYTICS_LINK_CLICKED as
|
|
6400
|
+
import { ANALYTICS_LINK_CLICKED as ANALYTICS_LINK_CLICKED4, dispatchAnalyticsEvent as dispatchAnalyticsEvent4 } from "@lls/utils";
|
|
6463
6401
|
import _20 from "lodash/fp.js";
|
|
6464
6402
|
import React7, { useMemo as useMemo6 } from "react";
|
|
6465
|
-
import { Fragment as Fragment6, jsx as
|
|
6403
|
+
import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6466
6404
|
var FullscreenDoc, FullscreenDocument_default;
|
|
6467
6405
|
var init_FullscreenDocument2 = __esm({
|
|
6468
6406
|
"src/components/primarygrid/FullscreenDocument.tsx"() {
|
|
@@ -6472,7 +6410,6 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6472
6410
|
init_template2();
|
|
6473
6411
|
init_AudioWord();
|
|
6474
6412
|
init_Correction();
|
|
6475
|
-
init_DefinitionWord();
|
|
6476
6413
|
init_FullscreenDocument();
|
|
6477
6414
|
init_PicWord();
|
|
6478
6415
|
init_SubZone();
|
|
@@ -6495,38 +6432,37 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6495
6432
|
subZone: subZones,
|
|
6496
6433
|
mask: masks,
|
|
6497
6434
|
correction: corrections,
|
|
6498
|
-
audioWord: audioWords
|
|
6499
|
-
definitionWord: definitionWords
|
|
6435
|
+
audioWord: audioWords
|
|
6500
6436
|
} = _20.groupBy("zoneElement.type", currentGridItem?.elements ?? {});
|
|
6501
6437
|
const setAudioState = (showAudio) => {
|
|
6502
|
-
showAudio &&
|
|
6438
|
+
showAudio && dispatchAnalyticsEvent4(ANALYTICS_LINK_CLICKED4, { featureName: "zone_media", extraData: "format: audio" });
|
|
6503
6439
|
setUiState({ ...UI_INIT, showAudio });
|
|
6504
6440
|
};
|
|
6505
6441
|
const showVideo = () => {
|
|
6506
|
-
|
|
6442
|
+
dispatchAnalyticsEvent4(ANALYTICS_LINK_CLICKED4, { featureName: "zone_media", extraData: "format: video" });
|
|
6507
6443
|
setUiState({ ...UI_INIT, showVideo: true });
|
|
6508
6444
|
};
|
|
6509
6445
|
const showRive = () => {
|
|
6510
|
-
|
|
6446
|
+
dispatchAnalyticsEvent4(ANALYTICS_LINK_CLICKED4, { featureName: "zone_media", extraData: "format: rive" });
|
|
6511
6447
|
setUiState({ ...UI_INIT, showRive: true });
|
|
6512
6448
|
};
|
|
6513
6449
|
const showSubZone = (subZoneId, subZoneIndex) => {
|
|
6514
|
-
|
|
6450
|
+
dispatchAnalyticsEvent4(ANALYTICS_LINK_CLICKED4, { featureName: "subzone|zoom", extraData: `index: ${subZoneIndex}` });
|
|
6515
6451
|
setUiState({ ...UI_INIT, subZoneId });
|
|
6516
6452
|
};
|
|
6517
6453
|
const audioSrc = _20.get("props.docJson.audios.0", fullscreenChild);
|
|
6518
6454
|
const videoSrc = _20.get("props.docJson.videos.0", fullscreenChild);
|
|
6519
6455
|
const riveData = _20.get("props.docJson.rives.0", fullscreenChild);
|
|
6520
6456
|
const showActions = !(uiState?.showContentMd || uiState?.subZoneId);
|
|
6521
|
-
return currentGridItem ? /* @__PURE__ */
|
|
6522
|
-
/* @__PURE__ */
|
|
6457
|
+
return currentGridItem ? /* @__PURE__ */ jsx33(Portal3, { children: /* @__PURE__ */ jsxs19("div", { className: src_components_primarygrid_FullscreenDocument_default.document, style: { "--v-grid-picture-aspect-ratio": pictureRatio }, children: [
|
|
6458
|
+
/* @__PURE__ */ jsx33("div", { className: src_components_primarygrid_FullscreenDocument_default.zoneContent, children: uiState?.showContentMd ? /* @__PURE__ */ jsx33("div", { children: fullscreenChild }) : uiState?.subZoneId ? /* @__PURE__ */ jsx33("div", { className: src_components_primarygrid_FullscreenDocument_default.centeredContainer, children: /* @__PURE__ */ jsx33(
|
|
6523
6459
|
ZoomedPicture_default,
|
|
6524
6460
|
{
|
|
6525
6461
|
pictureSource,
|
|
6526
6462
|
gridItem: currentGridItem.elements.find(({ zoneElement: { id } }) => id === uiState.subZoneId)
|
|
6527
6463
|
}
|
|
6528
|
-
) }) : /* @__PURE__ */
|
|
6529
|
-
masks?.map((gridItemElement) => /* @__PURE__ */
|
|
6464
|
+
) }) : /* @__PURE__ */ jsx33("div", { className: src_components_primarygrid_FullscreenDocument_default.centeredContainer, children: /* @__PURE__ */ jsxs19(ZoomedPicture_default, { pictureSource, gridItem: currentGridItem, children: [
|
|
6465
|
+
masks?.map((gridItemElement) => /* @__PURE__ */ jsx33(
|
|
6530
6466
|
"div",
|
|
6531
6467
|
{
|
|
6532
6468
|
className: src_components_primarygrid_FullscreenDocument_default.mask,
|
|
@@ -6534,7 +6470,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6534
6470
|
},
|
|
6535
6471
|
gridItemElement.zoneElement.id
|
|
6536
6472
|
)),
|
|
6537
|
-
subZones?.map((gridItemElement, index3) => /* @__PURE__ */
|
|
6473
|
+
subZones?.map((gridItemElement, index3) => /* @__PURE__ */ jsx33(
|
|
6538
6474
|
SubZone_default,
|
|
6539
6475
|
{
|
|
6540
6476
|
index: index3,
|
|
@@ -6545,7 +6481,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6545
6481
|
},
|
|
6546
6482
|
gridItemElement.zoneElement.id
|
|
6547
6483
|
)),
|
|
6548
|
-
corrections?.map((gridItemElement) => /* @__PURE__ */
|
|
6484
|
+
corrections?.map((gridItemElement) => /* @__PURE__ */ jsx33(
|
|
6549
6485
|
Correction_default,
|
|
6550
6486
|
{
|
|
6551
6487
|
zone: gridItemElement,
|
|
@@ -6556,33 +6492,18 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6556
6492
|
gridItemElement.zoneElement.id
|
|
6557
6493
|
)),
|
|
6558
6494
|
picWords?.map(
|
|
6559
|
-
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */
|
|
6495
|
+
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */ jsx33(
|
|
6560
6496
|
PicWord_default,
|
|
6561
6497
|
{
|
|
6562
6498
|
picWord: gridItemElement,
|
|
6563
6499
|
gridItem: currentGridItem,
|
|
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
|
|
6500
|
+
zoneVisibilityCounter
|
|
6580
6501
|
},
|
|
6581
6502
|
gridItemElement.zoneElement.id
|
|
6582
6503
|
) : null
|
|
6583
6504
|
),
|
|
6584
6505
|
audioWords?.map(
|
|
6585
|
-
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */
|
|
6506
|
+
(gridItemElement) => gridItemElement.zoneElement.word ? /* @__PURE__ */ jsx33(
|
|
6586
6507
|
AudioWord_default,
|
|
6587
6508
|
{
|
|
6588
6509
|
audioWord: gridItemElement,
|
|
@@ -6593,11 +6514,11 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6593
6514
|
) : null
|
|
6594
6515
|
)
|
|
6595
6516
|
] }) }) }),
|
|
6596
|
-
/* @__PURE__ */
|
|
6597
|
-
/* @__PURE__ */
|
|
6598
|
-
/* @__PURE__ */
|
|
6517
|
+
/* @__PURE__ */ jsx33("div", { className: src_components_primarygrid_FullscreenDocument_default.actions, children: showActions && (uiState?.showAudio ? /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
6518
|
+
/* @__PURE__ */ jsx33(PlayerAudio, { src: audioSrc, defaultVolume: 0.75, autoplay: true }),
|
|
6519
|
+
/* @__PURE__ */ jsx33(Button8, { onClick: () => setAudioState(false), theme: "blue", dashed: true, iconLeft: "cancel" })
|
|
6599
6520
|
] }) : /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
6600
|
-
audioSrc && /* @__PURE__ */
|
|
6521
|
+
audioSrc && /* @__PURE__ */ jsx33(
|
|
6601
6522
|
Button8,
|
|
6602
6523
|
{
|
|
6603
6524
|
dashed: true,
|
|
@@ -6609,7 +6530,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6609
6530
|
children: "Ecouter l'audio"
|
|
6610
6531
|
}
|
|
6611
6532
|
),
|
|
6612
|
-
videoSrc && /* @__PURE__ */
|
|
6533
|
+
videoSrc && /* @__PURE__ */ jsx33(
|
|
6613
6534
|
Button8,
|
|
6614
6535
|
{
|
|
6615
6536
|
dashed: true,
|
|
@@ -6621,7 +6542,7 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6621
6542
|
children: "Lancer la vid\xE9o"
|
|
6622
6543
|
}
|
|
6623
6544
|
),
|
|
6624
|
-
riveData && /* @__PURE__ */
|
|
6545
|
+
riveData && /* @__PURE__ */ jsx33(
|
|
6625
6546
|
Button8,
|
|
6626
6547
|
{
|
|
6627
6548
|
dashed: true,
|
|
@@ -6640,19 +6561,19 @@ var init_FullscreenDocument2 = __esm({
|
|
|
6640
6561
|
}
|
|
6641
6562
|
});
|
|
6642
6563
|
|
|
6643
|
-
// css-modules:css-modules://
|
|
6644
|
-
var
|
|
6645
|
-
"css-modules:css-modules://
|
|
6564
|
+
// css-modules:css-modules://1bVDKBpPU1-elI0cWfxtupA8CQTPtSQC73wP9IQRkgE.css
|
|
6565
|
+
var init_bVDKBpPU1_elI0cWfxtupA8CQTPtSQC73wP9IQRkgE = __esm({
|
|
6566
|
+
"css-modules:css-modules://1bVDKBpPU1-elI0cWfxtupA8CQTPtSQC73wP9IQRkgE.css"() {
|
|
6646
6567
|
}
|
|
6647
6568
|
});
|
|
6648
6569
|
|
|
6649
|
-
//
|
|
6570
|
+
// tmp_esbuild1753881049094/_src_components_primarygrid_ViewGrid.module.css
|
|
6650
6571
|
var src_components_primarygrid_ViewGrid_default;
|
|
6651
6572
|
var init_src_components_primarygrid_ViewGrid = __esm({
|
|
6652
|
-
"
|
|
6573
|
+
"tmp_esbuild1753881049094/_src_components_primarygrid_ViewGrid.module.css"() {
|
|
6653
6574
|
"use strict";
|
|
6654
|
-
|
|
6655
|
-
src_components_primarygrid_ViewGrid_default = { "
|
|
6575
|
+
init_bVDKBpPU1_elI0cWfxtupA8CQTPtSQC73wP9IQRkgE();
|
|
6576
|
+
src_components_primarygrid_ViewGrid_default = { "viewGrid": "vv-RAd9LG-viewGrid", "pictureZone": "vv-RAd9LG-pictureZone", "content": "vv-RAd9LG-content", "pageDivider": "vv-RAd9LG-pageDivider" };
|
|
6656
6577
|
}
|
|
6657
6578
|
});
|
|
6658
6579
|
|
|
@@ -6667,7 +6588,7 @@ var init_ViewGrid = __esm({
|
|
|
6667
6588
|
// src/components/primarygrid/ViewGrid.tsx
|
|
6668
6589
|
import { useAnalyticsEventEnhancer } from "@lls/utils";
|
|
6669
6590
|
import _21 from "lodash/fp.js";
|
|
6670
|
-
import { jsx as
|
|
6591
|
+
import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
6671
6592
|
var ViewGrid, ViewGrid_default;
|
|
6672
6593
|
var init_ViewGrid2 = __esm({
|
|
6673
6594
|
"src/components/primarygrid/ViewGrid.tsx"() {
|
|
@@ -6693,8 +6614,8 @@ var init_ViewGrid2 = __esm({
|
|
|
6693
6614
|
resourceId: [`${template?.id}${fullscreenDoc?.id ? `|${fullscreenDoc.id}` : ""}`]
|
|
6694
6615
|
});
|
|
6695
6616
|
return /* @__PURE__ */ jsxs20("div", { className: src_components_primarygrid_ViewGrid_default.viewGrid, children: [
|
|
6696
|
-
/* @__PURE__ */
|
|
6697
|
-
return /* @__PURE__ */
|
|
6617
|
+
/* @__PURE__ */ jsx34("div", { className: src_components_primarygrid_ViewGrid_default.content, children: /* @__PURE__ */ jsx34(ZoomedPicture_default, { pictureSource, children: reversedLayouts.map((layoutItem, index3) => {
|
|
6618
|
+
return /* @__PURE__ */ jsx34(
|
|
6698
6619
|
HighlightedArea_default,
|
|
6699
6620
|
{
|
|
6700
6621
|
"data-playwright-highlightedarea-index": index3,
|
|
@@ -6712,8 +6633,8 @@ var init_ViewGrid2 = __esm({
|
|
|
6712
6633
|
layoutItem.id
|
|
6713
6634
|
);
|
|
6714
6635
|
}) }) }),
|
|
6715
|
-
/* @__PURE__ */
|
|
6716
|
-
fullscreenDoc && /* @__PURE__ */
|
|
6636
|
+
/* @__PURE__ */ jsx34("div", { className: src_components_primarygrid_ViewGrid_default.pageDivider }),
|
|
6637
|
+
fullscreenDoc && /* @__PURE__ */ jsx34(FullscreenDocument_default, { doc: fullscreenDoc, children })
|
|
6717
6638
|
] });
|
|
6718
6639
|
};
|
|
6719
6640
|
ViewGrid_default = ViewGrid;
|
|
@@ -6721,7 +6642,7 @@ var init_ViewGrid2 = __esm({
|
|
|
6721
6642
|
});
|
|
6722
6643
|
|
|
6723
6644
|
// src/components/primarygrid/Grid.tsx
|
|
6724
|
-
import { jsx as
|
|
6645
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
6725
6646
|
var PrimaryGrid, Grid_default;
|
|
6726
6647
|
var init_Grid = __esm({
|
|
6727
6648
|
"src/components/primarygrid/Grid.tsx"() {
|
|
@@ -6732,25 +6653,25 @@ var init_Grid = __esm({
|
|
|
6732
6653
|
init_ViewGrid2();
|
|
6733
6654
|
PrimaryGrid = ({ children }) => {
|
|
6734
6655
|
const { mode } = useReadMdRendererProps(["mode"]);
|
|
6735
|
-
return isEditMode(mode) ? /* @__PURE__ */
|
|
6656
|
+
return isEditMode(mode) ? /* @__PURE__ */ jsx35(EditGrid_default, { children }) : /* @__PURE__ */ jsx35(ViewGrid_default, { children });
|
|
6736
6657
|
};
|
|
6737
6658
|
Grid_default = PrimaryGrid;
|
|
6738
6659
|
}
|
|
6739
6660
|
});
|
|
6740
6661
|
|
|
6741
|
-
// css-modules:css-modules://
|
|
6742
|
-
var
|
|
6743
|
-
"css-modules:css-modules://
|
|
6662
|
+
// css-modules:css-modules://kPVgxj9e3zojr1D0220gS8CsBjQ1ufWfZxF4JG4-z8o.css
|
|
6663
|
+
var init_kPVgxj9e3zojr1D0220gS8CsBjQ1ufWfZxF4JG4_z8o = __esm({
|
|
6664
|
+
"css-modules:css-modules://kPVgxj9e3zojr1D0220gS8CsBjQ1ufWfZxF4JG4-z8o.css"() {
|
|
6744
6665
|
}
|
|
6745
6666
|
});
|
|
6746
6667
|
|
|
6747
|
-
//
|
|
6668
|
+
// tmp_esbuild1753881049094/_src_components_core_DocumentHtml.module.css
|
|
6748
6669
|
var src_components_core_DocumentHtml_default;
|
|
6749
6670
|
var init_src_components_core_DocumentHtml = __esm({
|
|
6750
|
-
"
|
|
6671
|
+
"tmp_esbuild1753881049094/_src_components_core_DocumentHtml.module.css"() {
|
|
6751
6672
|
"use strict";
|
|
6752
|
-
|
|
6753
|
-
src_components_core_DocumentHtml_default = { "document": "vv-
|
|
6673
|
+
init_kPVgxj9e3zojr1D0220gS8CsBjQ1ufWfZxF4JG4_z8o();
|
|
6674
|
+
src_components_core_DocumentHtml_default = { "document": "vv-LFKRGa-document" };
|
|
6754
6675
|
}
|
|
6755
6676
|
});
|
|
6756
6677
|
|
|
@@ -6767,7 +6688,7 @@ import React8, { memo, useRef as useRef9 } from "react";
|
|
|
6767
6688
|
import HtmlToReact from "html-to-react";
|
|
6768
6689
|
import _22 from "lodash/fp.js";
|
|
6769
6690
|
import { cx as cx6, pipe as pipe6 } from "@lls/utils";
|
|
6770
|
-
import { Fragment as Fragment7, jsx as
|
|
6691
|
+
import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6771
6692
|
var htmlToReactParser, processNodeDefinitions, MemoToolbar, DocumentHtml, getProcessingInstructions, MdRenderer, DocumentHtml_default;
|
|
6772
6693
|
var init_DocumentHtml2 = __esm({
|
|
6773
6694
|
"src/components/core/DocumentHtml.tsx"() {
|
|
@@ -6789,7 +6710,7 @@ var init_DocumentHtml2 = __esm({
|
|
|
6789
6710
|
const openEditor = _22.get("openEditor", props);
|
|
6790
6711
|
const openMetadataEditor = _22.get("openMetadataEditor", props);
|
|
6791
6712
|
const deleteDocument = _22.get("deleteDocument", props);
|
|
6792
|
-
return /* @__PURE__ */
|
|
6713
|
+
return /* @__PURE__ */ jsx36(
|
|
6793
6714
|
Toolbar,
|
|
6794
6715
|
{
|
|
6795
6716
|
openEditor,
|
|
@@ -6803,15 +6724,15 @@ var init_DocumentHtml2 = __esm({
|
|
|
6803
6724
|
const { mode } = useReadMdRendererProps(["mode"]);
|
|
6804
6725
|
const documentRef = useRef9(null);
|
|
6805
6726
|
return /* @__PURE__ */ jsxs21(Fragment7, { children: [
|
|
6806
|
-
/* @__PURE__ */
|
|
6807
|
-
/* @__PURE__ */
|
|
6727
|
+
/* @__PURE__ */ jsx36(MemoToolbar, { toolbarProps: props, docJson }),
|
|
6728
|
+
/* @__PURE__ */ jsx36(
|
|
6808
6729
|
"div",
|
|
6809
6730
|
{
|
|
6810
6731
|
ref: documentRef,
|
|
6811
6732
|
"data-mode": mode,
|
|
6812
6733
|
"data-uuid": docJson?.uuid ?? "root",
|
|
6813
6734
|
className: cx6(DOCUMENT_CLASSNAME, src_components_core_DocumentHtml_default.document),
|
|
6814
|
-
children: /* @__PURE__ */
|
|
6735
|
+
children: /* @__PURE__ */ jsx36(ErrorBoundary_default, { docJson, mode, children: /* @__PURE__ */ jsx36(
|
|
6815
6736
|
MdRenderer,
|
|
6816
6737
|
{
|
|
6817
6738
|
mdRendererProps,
|
|
@@ -6830,10 +6751,10 @@ var init_DocumentHtml2 = __esm({
|
|
|
6830
6751
|
processNode: handler
|
|
6831
6752
|
});
|
|
6832
6753
|
const _shortTag = (name, Component, props = {}, mapAttributes = _22.identity) => {
|
|
6833
|
-
return tag(name, (node, children, key) => /* @__PURE__ */
|
|
6754
|
+
return tag(name, (node, children, key) => /* @__PURE__ */ jsx36(Component, { ...mapAttributes(node.attribs), children, ...props }, key));
|
|
6834
6755
|
};
|
|
6835
6756
|
return [
|
|
6836
|
-
tag("primarygrid", (node) => /* @__PURE__ */
|
|
6757
|
+
tag("primarygrid", (node) => /* @__PURE__ */ jsx36(Grid_default, { ...node.attribs, children: docChildren }, "grid")),
|
|
6837
6758
|
{
|
|
6838
6759
|
shouldProcessNode: (node) => {
|
|
6839
6760
|
if (node.type === "text" && _22.trim(node.data) === "") {
|
|
@@ -6867,19 +6788,19 @@ var init_DocumentHtml2 = __esm({
|
|
|
6867
6788
|
}
|
|
6868
6789
|
});
|
|
6869
6790
|
|
|
6870
|
-
// css-modules:css-modules://
|
|
6871
|
-
var
|
|
6872
|
-
"css-modules:css-modules://
|
|
6791
|
+
// css-modules:css-modules://6mXgyQNRE0RrO0xXFnJmYWc2xHR-HSrLozmPwkqmwjo.css
|
|
6792
|
+
var init_mXgyQNRE0RrO0xXFnJmYWc2xHR_HSrLozmPwkqmwjo = __esm({
|
|
6793
|
+
"css-modules:css-modules://6mXgyQNRE0RrO0xXFnJmYWc2xHR-HSrLozmPwkqmwjo.css"() {
|
|
6873
6794
|
}
|
|
6874
6795
|
});
|
|
6875
6796
|
|
|
6876
|
-
//
|
|
6797
|
+
// tmp_esbuild1753881049094/_src_components_core_Document.module.css
|
|
6877
6798
|
var src_components_core_Document_default;
|
|
6878
6799
|
var init_src_components_core_Document = __esm({
|
|
6879
|
-
"
|
|
6800
|
+
"tmp_esbuild1753881049094/_src_components_core_Document.module.css"() {
|
|
6880
6801
|
"use strict";
|
|
6881
|
-
|
|
6882
|
-
src_components_core_Document_default = { "
|
|
6802
|
+
init_mXgyQNRE0RrO0xXFnJmYWc2xHR_HSrLozmPwkqmwjo();
|
|
6803
|
+
src_components_core_Document_default = { "divSearch": "vv-SIqeEW-divSearch", "rootDocument": "vv-SIqeEW-rootDocument" };
|
|
6883
6804
|
}
|
|
6884
6805
|
});
|
|
6885
6806
|
|
|
@@ -6894,7 +6815,7 @@ var init_Document = __esm({
|
|
|
6894
6815
|
// src/components/core/Document.tsx
|
|
6895
6816
|
import _23 from "lodash/fp.js";
|
|
6896
6817
|
import React9 from "react";
|
|
6897
|
-
import { jsx as
|
|
6818
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
6898
6819
|
var Document, RootDocument, Document_default;
|
|
6899
6820
|
var init_Document2 = __esm({
|
|
6900
6821
|
"src/components/core/Document.tsx"() {
|
|
@@ -6902,20 +6823,20 @@ var init_Document2 = __esm({
|
|
|
6902
6823
|
init_DocumentHtml2();
|
|
6903
6824
|
init_Document();
|
|
6904
6825
|
Document = ({ docJson, toolbarProps = {}, mdRendererProps }) => {
|
|
6905
|
-
return /* @__PURE__ */
|
|
6826
|
+
return /* @__PURE__ */ jsx37(DocumentHtml_default, { toolbarProps, mdRendererProps, docJson });
|
|
6906
6827
|
};
|
|
6907
6828
|
Document.displayName = "Document";
|
|
6908
6829
|
RootDocument = React9.forwardRef(
|
|
6909
6830
|
({ docJson = {}, toolbarProps, mdRendererProps }, ref) => {
|
|
6910
6831
|
const children = _23.getOr([], "children", docJson);
|
|
6911
|
-
return /* @__PURE__ */
|
|
6832
|
+
return /* @__PURE__ */ jsx37("div", { className: src_components_core_Document_default.rootDocument, ref, children: /* @__PURE__ */ jsx37(
|
|
6912
6833
|
DocumentHtml_default,
|
|
6913
6834
|
{
|
|
6914
6835
|
toolbarProps,
|
|
6915
6836
|
mdRendererProps,
|
|
6916
6837
|
docJson,
|
|
6917
6838
|
children: _23.map((child) => {
|
|
6918
|
-
return /* @__PURE__ */
|
|
6839
|
+
return /* @__PURE__ */ jsx37(
|
|
6919
6840
|
Document,
|
|
6920
6841
|
{
|
|
6921
6842
|
toolbarProps,
|
|
@@ -6933,17 +6854,17 @@ var init_Document2 = __esm({
|
|
|
6933
6854
|
}
|
|
6934
6855
|
});
|
|
6935
6856
|
|
|
6936
|
-
// css-modules:css-modules://
|
|
6937
|
-
var
|
|
6938
|
-
"css-modules:css-modules://
|
|
6857
|
+
// css-modules:css-modules://YJYPtzmhv44XdA7_5GY0lKfDNEG5mFLy7decGLTegvk.css
|
|
6858
|
+
var init_YJYPtzmhv44XdA7_5GY0lKfDNEG5mFLy7decGLTegvk = __esm({
|
|
6859
|
+
"css-modules:css-modules://YJYPtzmhv44XdA7_5GY0lKfDNEG5mFLy7decGLTegvk.css"() {
|
|
6939
6860
|
}
|
|
6940
6861
|
});
|
|
6941
6862
|
|
|
6942
|
-
//
|
|
6863
|
+
// tmp_esbuild1753881049094/_src_styles_Codemirror.module.css
|
|
6943
6864
|
var init_src_styles_Codemirror = __esm({
|
|
6944
|
-
"
|
|
6865
|
+
"tmp_esbuild1753881049094/_src_styles_Codemirror.module.css"() {
|
|
6945
6866
|
"use strict";
|
|
6946
|
-
|
|
6867
|
+
init_YJYPtzmhv44XdA7_5GY0lKfDNEG5mFLy7decGLTegvk();
|
|
6947
6868
|
}
|
|
6948
6869
|
});
|
|
6949
6870
|
|
|
@@ -6955,19 +6876,19 @@ var init_Codemirror = __esm({
|
|
|
6955
6876
|
}
|
|
6956
6877
|
});
|
|
6957
6878
|
|
|
6958
|
-
// css-modules:css-modules://
|
|
6959
|
-
var
|
|
6960
|
-
"css-modules:css-modules://
|
|
6879
|
+
// css-modules:css-modules://GQnbHWYpkwl0rd1pQ9TxI2VSDb4nDM2gY9xG_KlmC_o.css
|
|
6880
|
+
var init_GQnbHWYpkwl0rd1pQ9TxI2VSDb4nDM2gY9xG_KlmC_o = __esm({
|
|
6881
|
+
"css-modules:css-modules://GQnbHWYpkwl0rd1pQ9TxI2VSDb4nDM2gY9xG_KlmC_o.css"() {
|
|
6961
6882
|
}
|
|
6962
6883
|
});
|
|
6963
6884
|
|
|
6964
|
-
//
|
|
6885
|
+
// tmp_esbuild1753881049094/_src_components_core_viewer_ViewerMd.module.css
|
|
6965
6886
|
var src_components_core_viewer_ViewerMd_default;
|
|
6966
6887
|
var init_src_components_core_viewer_ViewerMd = __esm({
|
|
6967
|
-
"
|
|
6888
|
+
"tmp_esbuild1753881049094/_src_components_core_viewer_ViewerMd.module.css"() {
|
|
6968
6889
|
"use strict";
|
|
6969
|
-
|
|
6970
|
-
src_components_core_viewer_ViewerMd_default = { "
|
|
6890
|
+
init_GQnbHWYpkwl0rd1pQ9TxI2VSDb4nDM2gY9xG_KlmC_o();
|
|
6891
|
+
src_components_core_viewer_ViewerMd_default = { "viewerInner": "vv-xfCjFG-viewerInner", "viewer": "vv-xfCjFG-viewer kit-themecss" };
|
|
6971
6892
|
}
|
|
6972
6893
|
});
|
|
6973
6894
|
|
|
@@ -6984,7 +6905,7 @@ import React10, { useRef as useRef10, useCallback as useCallback8, useMemo as us
|
|
|
6984
6905
|
import { styleThemeProps } from "@lls/lls-kit";
|
|
6985
6906
|
import _24 from "lodash/fp.js";
|
|
6986
6907
|
import { cx as cx7, pipe as pipe7 } from "@lls/utils";
|
|
6987
|
-
import { jsx as
|
|
6908
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
6988
6909
|
var getMdRendererProps, ViewerMd, ViewerMd_default;
|
|
6989
6910
|
var init_ViewerMd2 = __esm({
|
|
6990
6911
|
"src/components/core/viewer/ViewerMd.tsx"() {
|
|
@@ -7102,7 +7023,7 @@ var init_ViewerMd2 = __esm({
|
|
|
7102
7023
|
openMetadataEditor
|
|
7103
7024
|
};
|
|
7104
7025
|
}, [deleteDocument, openEditor, openMetadataEditor]);
|
|
7105
|
-
return /* @__PURE__ */
|
|
7026
|
+
return /* @__PURE__ */ jsx38(
|
|
7106
7027
|
"div",
|
|
7107
7028
|
{
|
|
7108
7029
|
style: {
|
|
@@ -7111,7 +7032,7 @@ var init_ViewerMd2 = __esm({
|
|
|
7111
7032
|
"data-isdysmode": +isDysMode,
|
|
7112
7033
|
className: cx7(VIVI_CLASSNAME, src_components_core_viewer_ViewerMd_default.viewer),
|
|
7113
7034
|
ref,
|
|
7114
|
-
children: /* @__PURE__ */
|
|
7035
|
+
children: /* @__PURE__ */ jsx38("div", { className: src_components_core_viewer_ViewerMd_default.viewerInner, ref: innerViewerRef, "data-mode": mode, children: /* @__PURE__ */ jsx38(Document_default, { mdRendererProps, toolbarProps, docJson: template }) })
|
|
7115
7036
|
}
|
|
7116
7037
|
);
|
|
7117
7038
|
}
|
|
@@ -7138,19 +7059,19 @@ var init_usePictureSource = __esm({
|
|
|
7138
7059
|
}
|
|
7139
7060
|
});
|
|
7140
7061
|
|
|
7141
|
-
// css-modules:css-modules://
|
|
7142
|
-
var
|
|
7143
|
-
"css-modules:css-modules://
|
|
7062
|
+
// css-modules:css-modules://ikz49Amn5slWx9-prj5EoRNLioHHsWnbpzUOWzo7KsU.css
|
|
7063
|
+
var init_ikz49Amn5slWx9_prj5EoRNLioHHsWnbpzUOWzo7KsU = __esm({
|
|
7064
|
+
"css-modules:css-modules://ikz49Amn5slWx9-prj5EoRNLioHHsWnbpzUOWzo7KsU.css"() {
|
|
7144
7065
|
}
|
|
7145
7066
|
});
|
|
7146
7067
|
|
|
7147
|
-
//
|
|
7068
|
+
// tmp_esbuild1753881049094/_src_components_Alert.module.css
|
|
7148
7069
|
var src_components_Alert_default;
|
|
7149
7070
|
var init_src_components_Alert = __esm({
|
|
7150
|
-
"
|
|
7071
|
+
"tmp_esbuild1753881049094/_src_components_Alert.module.css"() {
|
|
7151
7072
|
"use strict";
|
|
7152
|
-
|
|
7153
|
-
src_components_Alert_default = { "alertOpenedAnimation": "vv-
|
|
7073
|
+
init_ikz49Amn5slWx9_prj5EoRNLioHHsWnbpzUOWzo7KsU();
|
|
7074
|
+
src_components_Alert_default = { "alertOpenedAnimation": "vv-m0eTDW-alertOpenedAnimation", "alert": "vv-m0eTDW-alert" };
|
|
7154
7075
|
}
|
|
7155
7076
|
});
|
|
7156
7077
|
|
|
@@ -7163,20 +7084,20 @@ var init_Alert = __esm({
|
|
|
7163
7084
|
});
|
|
7164
7085
|
|
|
7165
7086
|
// src/components/Alert.tsx
|
|
7166
|
-
import { jsx as
|
|
7087
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
7167
7088
|
var Alert, Alert_default;
|
|
7168
7089
|
var init_Alert2 = __esm({
|
|
7169
7090
|
"src/components/Alert.tsx"() {
|
|
7170
7091
|
"use strict";
|
|
7171
7092
|
init_Alert();
|
|
7172
|
-
Alert = ({ text }) => text && /* @__PURE__ */
|
|
7093
|
+
Alert = ({ text }) => text && /* @__PURE__ */ jsx39("div", { className: src_components_Alert_default.alert, children: text });
|
|
7173
7094
|
Alert_default = Alert;
|
|
7174
7095
|
}
|
|
7175
7096
|
});
|
|
7176
7097
|
|
|
7177
7098
|
// src/components/core/editor/EditViewerMd.tsx
|
|
7178
7099
|
import React11, { useCallback as useCallback9, useState as useState17 } from "react";
|
|
7179
|
-
import { Fragment as Fragment8, jsx as
|
|
7100
|
+
import { Fragment as Fragment8, jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
7180
7101
|
var EditViewerMd, EditViewerMd_default;
|
|
7181
7102
|
var init_EditViewerMd = __esm({
|
|
7182
7103
|
"src/components/core/editor/EditViewerMd.tsx"() {
|
|
@@ -7229,7 +7150,7 @@ var init_EditViewerMd = __esm({
|
|
|
7229
7150
|
[onChange]
|
|
7230
7151
|
);
|
|
7231
7152
|
return /* @__PURE__ */ jsxs22(Fragment8, { children: [
|
|
7232
|
-
/* @__PURE__ */
|
|
7153
|
+
/* @__PURE__ */ jsx40(
|
|
7233
7154
|
ViewerMd_default,
|
|
7234
7155
|
{
|
|
7235
7156
|
template,
|
|
@@ -7244,26 +7165,26 @@ var init_EditViewerMd = __esm({
|
|
|
7244
7165
|
...props
|
|
7245
7166
|
}
|
|
7246
7167
|
),
|
|
7247
|
-
/* @__PURE__ */
|
|
7168
|
+
/* @__PURE__ */ jsx40(Alert_default, { text: pasteError })
|
|
7248
7169
|
] });
|
|
7249
7170
|
});
|
|
7250
7171
|
EditViewerMd_default = EditViewerMd;
|
|
7251
7172
|
}
|
|
7252
7173
|
});
|
|
7253
7174
|
|
|
7254
|
-
// css-modules:css-modules
|
|
7255
|
-
var
|
|
7256
|
-
"css-modules:css-modules
|
|
7175
|
+
// css-modules:css-modules://-LIfSzIsgY2qsuzOTOyp7T3atImw9QIWmjsrpDhUFPA.css
|
|
7176
|
+
var init_LIfSzIsgY2qsuzOTOyp7T3atImw9QIWmjsrpDhUFPA = __esm({
|
|
7177
|
+
"css-modules:css-modules://-LIfSzIsgY2qsuzOTOyp7T3atImw9QIWmjsrpDhUFPA.css"() {
|
|
7257
7178
|
}
|
|
7258
7179
|
});
|
|
7259
7180
|
|
|
7260
|
-
//
|
|
7181
|
+
// tmp_esbuild1753881049094/_src_components_core_editor_EditorView.module.css
|
|
7261
7182
|
var src_components_core_editor_EditorView_default;
|
|
7262
7183
|
var init_src_components_core_editor_EditorView = __esm({
|
|
7263
|
-
"
|
|
7184
|
+
"tmp_esbuild1753881049094/_src_components_core_editor_EditorView.module.css"() {
|
|
7264
7185
|
"use strict";
|
|
7265
|
-
|
|
7266
|
-
src_components_core_editor_EditorView_default = { "
|
|
7186
|
+
init_LIfSzIsgY2qsuzOTOyp7T3atImw9QIWmjsrpDhUFPA();
|
|
7187
|
+
src_components_core_editor_EditorView_default = { "fullscreenNextButton": "vv-D009mq-fullscreenNextButton vv-D009mq-fullscreenButton", "bookInner": "vv-D009mq-bookInner", "fullscreenButton": "vv-D009mq-fullscreenButton", "viewTopBar": "vv-D009mq-viewTopBar", "fullscreenExitButton": "vv-D009mq-fullscreenExitButton vv-D009mq-fullscreenButton", "book": "vv-D009mq-book", "editorViewContainer": "vv-D009mq-editorViewContainer", "fullscreenPrevButton": "vv-D009mq-fullscreenPrevButton vv-D009mq-fullscreenButton" };
|
|
7267
7188
|
}
|
|
7268
7189
|
});
|
|
7269
7190
|
|
|
@@ -7280,7 +7201,7 @@ import { KIT_PORTAL_ROOT_CLASSNAME } from "@lls/lls-kit";
|
|
|
7280
7201
|
import React12, { useCallback as useCallback10, useMemo as useMemo8, useState as useState18 } from "react";
|
|
7281
7202
|
import { Button as Button9 } from "@lls/lls-kit";
|
|
7282
7203
|
import { cx as cx8 } from "@lls/utils";
|
|
7283
|
-
import { Fragment as Fragment9, jsx as
|
|
7204
|
+
import { Fragment as Fragment9, jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
7284
7205
|
var ViewModeEditor, SwitchView, EditorView_default;
|
|
7285
7206
|
var init_EditorView2 = __esm({
|
|
7286
7207
|
"src/components/core/editor/EditorView.tsx"() {
|
|
@@ -7313,8 +7234,8 @@ var init_EditorView2 = __esm({
|
|
|
7313
7234
|
}
|
|
7314
7235
|
};
|
|
7315
7236
|
return /* @__PURE__ */ jsxs23("div", { className: cx8(KIT_PORTAL_ROOT_CLASSNAME, src_components_core_editor_EditorView_default.editorViewContainer), children: [
|
|
7316
|
-
/* @__PURE__ */
|
|
7317
|
-
/* @__PURE__ */
|
|
7237
|
+
/* @__PURE__ */ jsx41("div", { className: src_components_core_editor_EditorView_default.viewTopBar, children: /* @__PURE__ */ jsx41(Button9, { icon: "bell", onClick: () => setZoneVisibilityCounter((prev) => prev + 1) }) }),
|
|
7238
|
+
/* @__PURE__ */ jsx41("div", { className: src_components_core_editor_EditorView_default.book, children: /* @__PURE__ */ jsx41("div", { className: src_components_core_editor_EditorView_default.bookInner, children: /* @__PURE__ */ jsx41(
|
|
7318
7239
|
ViewerMd_default,
|
|
7319
7240
|
{
|
|
7320
7241
|
pictureSource,
|
|
@@ -7335,9 +7256,9 @@ var init_EditorView2 = __esm({
|
|
|
7335
7256
|
}
|
|
7336
7257
|
) }) }),
|
|
7337
7258
|
hasFullscreenDoc && /* @__PURE__ */ jsxs23(Fragment9, { children: [
|
|
7338
|
-
fullscreenDocIndex > 0 && !uiState.subZoneId && /* @__PURE__ */
|
|
7339
|
-
fullscreenDocIndex < docsUuids.length - 1 && !uiState.subZoneId && /* @__PURE__ */
|
|
7340
|
-
/* @__PURE__ */
|
|
7259
|
+
fullscreenDocIndex > 0 && !uiState.subZoneId && /* @__PURE__ */ jsx41(Button9, { className: src_components_core_editor_EditorView_default.fullscreenPrevButton, onClick: goToPreviousDoc, children: "Previous" }),
|
|
7260
|
+
fullscreenDocIndex < docsUuids.length - 1 && !uiState.subZoneId && /* @__PURE__ */ jsx41(Button9, { className: src_components_core_editor_EditorView_default.fullscreenNextButton, onClick: goToNextDoc, children: "Next" }),
|
|
7261
|
+
/* @__PURE__ */ jsx41(Button9, { className: src_components_core_editor_EditorView_default.fullscreenExitButton, onClick: exitFullscreen, children: "Exit" })
|
|
7341
7262
|
] })
|
|
7342
7263
|
] });
|
|
7343
7264
|
}
|
|
@@ -7357,7 +7278,7 @@ var init_EditorView2 = __esm({
|
|
|
7357
7278
|
words = []
|
|
7358
7279
|
}, ref) => {
|
|
7359
7280
|
const pictureSourceProps = usePictureSource_default({ template, mode });
|
|
7360
|
-
return isEditMode(mode) ? /* @__PURE__ */
|
|
7281
|
+
return isEditMode(mode) ? /* @__PURE__ */ jsx41(
|
|
7361
7282
|
EditViewerMd_default,
|
|
7362
7283
|
{
|
|
7363
7284
|
ref,
|
|
@@ -7373,7 +7294,7 @@ var init_EditorView2 = __esm({
|
|
|
7373
7294
|
words,
|
|
7374
7295
|
...pictureSourceProps
|
|
7375
7296
|
}
|
|
7376
|
-
) : /* @__PURE__ */
|
|
7297
|
+
) : /* @__PURE__ */ jsx41(
|
|
7377
7298
|
ViewModeEditor,
|
|
7378
7299
|
{
|
|
7379
7300
|
ref,
|
|
@@ -7390,19 +7311,19 @@ var init_EditorView2 = __esm({
|
|
|
7390
7311
|
}
|
|
7391
7312
|
});
|
|
7392
7313
|
|
|
7393
|
-
// css-modules:css-modules://
|
|
7394
|
-
var
|
|
7395
|
-
"css-modules:css-modules://
|
|
7314
|
+
// css-modules:css-modules://MjBczGkpded-M6c-6IneOcBtjBf689JRlz2Rwn4B4Vo.css
|
|
7315
|
+
var init_MjBczGkpded_M6c_6IneOcBtjBf689JRlz2Rwn4B4Vo = __esm({
|
|
7316
|
+
"css-modules:css-modules://MjBczGkpded-M6c-6IneOcBtjBf689JRlz2Rwn4B4Vo.css"() {
|
|
7396
7317
|
}
|
|
7397
7318
|
});
|
|
7398
7319
|
|
|
7399
|
-
//
|
|
7320
|
+
// tmp_esbuild1753881049094/_src_components_core_editor_MetadataEditor.module.css
|
|
7400
7321
|
var src_components_core_editor_MetadataEditor_default;
|
|
7401
7322
|
var init_src_components_core_editor_MetadataEditor = __esm({
|
|
7402
|
-
"
|
|
7323
|
+
"tmp_esbuild1753881049094/_src_components_core_editor_MetadataEditor.module.css"() {
|
|
7403
7324
|
"use strict";
|
|
7404
|
-
|
|
7405
|
-
src_components_core_editor_MetadataEditor_default = { "fieldWrapper": "vv-
|
|
7325
|
+
init_MjBczGkpded_M6c_6IneOcBtjBf689JRlz2Rwn4B4Vo();
|
|
7326
|
+
src_components_core_editor_MetadataEditor_default = { "fieldWrapper": "vv-yhD6ta-fieldWrapper", "field": "vv-yhD6ta-field", "rnd": "vv-yhD6ta-rnd", "select": "vv-yhD6ta-select", "body": "vv-yhD6ta-body", "uuid": "vv-yhD6ta-uuid", "header": "vv-yhD6ta-header" };
|
|
7406
7327
|
}
|
|
7407
7328
|
});
|
|
7408
7329
|
|
|
@@ -7419,7 +7340,7 @@ import _25 from "lodash/fp.js";
|
|
|
7419
7340
|
import { Button as Button10 } from "@lls/lls-kit";
|
|
7420
7341
|
import { pipe as pipe8 } from "@lls/utils";
|
|
7421
7342
|
import Select from "react-select";
|
|
7422
|
-
import { jsx as
|
|
7343
|
+
import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
7423
7344
|
var MetadataEditor, MetadataEditor_default;
|
|
7424
7345
|
var init_MetadataEditor2 = __esm({
|
|
7425
7346
|
"src/components/core/editor/MetadataEditor.tsx"() {
|
|
@@ -7434,16 +7355,16 @@ var init_MetadataEditor2 = __esm({
|
|
|
7434
7355
|
defaultPositions: positions
|
|
7435
7356
|
});
|
|
7436
7357
|
return /* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.rnd, ref: rndRef, children: [
|
|
7437
|
-
/* @__PURE__ */
|
|
7358
|
+
/* @__PURE__ */ jsx42("div", { className: src_components_core_editor_MetadataEditor_default.header, onMouseDown: launchTranslate, children: /* @__PURE__ */ jsx42(Button10, { onClick: onClose, theme: "gray", children: "cancel" }) }),
|
|
7438
7359
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.body, children: [
|
|
7439
7360
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7440
7361
|
"Uuid:",
|
|
7441
7362
|
" ",
|
|
7442
|
-
/* @__PURE__ */
|
|
7363
|
+
/* @__PURE__ */ jsx42("span", { className: src_components_core_editor_MetadataEditor_default.uuid, style: { "--data-font": "monospace" }, children: doc.uuid })
|
|
7443
7364
|
] }),
|
|
7444
7365
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7445
7366
|
"Title",
|
|
7446
|
-
/* @__PURE__ */
|
|
7367
|
+
/* @__PURE__ */ jsx42(
|
|
7447
7368
|
"input",
|
|
7448
7369
|
{
|
|
7449
7370
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7455,7 +7376,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7455
7376
|
] }),
|
|
7456
7377
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7457
7378
|
"Description",
|
|
7458
|
-
/* @__PURE__ */
|
|
7379
|
+
/* @__PURE__ */ jsx42(
|
|
7459
7380
|
"input",
|
|
7460
7381
|
{
|
|
7461
7382
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7467,7 +7388,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7467
7388
|
] }),
|
|
7468
7389
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7469
7390
|
"Image",
|
|
7470
|
-
/* @__PURE__ */
|
|
7391
|
+
/* @__PURE__ */ jsx42(
|
|
7471
7392
|
"input",
|
|
7472
7393
|
{
|
|
7473
7394
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7479,7 +7400,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7479
7400
|
] }),
|
|
7480
7401
|
/* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7481
7402
|
"Keywords",
|
|
7482
|
-
/* @__PURE__ */
|
|
7403
|
+
/* @__PURE__ */ jsx42(
|
|
7483
7404
|
"input",
|
|
7484
7405
|
{
|
|
7485
7406
|
className: src_components_core_editor_MetadataEditor_default.field,
|
|
@@ -7491,7 +7412,7 @@ var init_MetadataEditor2 = __esm({
|
|
|
7491
7412
|
] }),
|
|
7492
7413
|
!_25.isEmpty(notions) && /* @__PURE__ */ jsxs24("div", { className: src_components_core_editor_MetadataEditor_default.fieldWrapper, children: [
|
|
7493
7414
|
"Notion",
|
|
7494
|
-
/* @__PURE__ */
|
|
7415
|
+
/* @__PURE__ */ jsx42(
|
|
7495
7416
|
Select,
|
|
7496
7417
|
{
|
|
7497
7418
|
className: src_components_core_editor_MetadataEditor_default.select,
|
|
@@ -7581,19 +7502,19 @@ var init_useScroll = __esm({
|
|
|
7581
7502
|
}
|
|
7582
7503
|
});
|
|
7583
7504
|
|
|
7584
|
-
// css-modules:css-modules://
|
|
7585
|
-
var
|
|
7586
|
-
"css-modules:css-modules://
|
|
7505
|
+
// css-modules:css-modules://2TR5u4uVlSKP2Xktu3fwTJeguwjWnrtKriK1IwyESME.css
|
|
7506
|
+
var init_TR5u4uVlSKP2Xktu3fwTJeguwjWnrtKriK1IwyESME = __esm({
|
|
7507
|
+
"css-modules:css-modules://2TR5u4uVlSKP2Xktu3fwTJeguwjWnrtKriK1IwyESME.css"() {
|
|
7587
7508
|
}
|
|
7588
7509
|
});
|
|
7589
7510
|
|
|
7590
|
-
//
|
|
7511
|
+
// tmp_esbuild1753881049094/_src_components_lazy_index.editor.module.css
|
|
7591
7512
|
var src_components_lazy_index_editor_default;
|
|
7592
7513
|
var init_src_components_lazy_index_editor = __esm({
|
|
7593
|
-
"
|
|
7514
|
+
"tmp_esbuild1753881049094/_src_components_lazy_index.editor.module.css"() {
|
|
7594
7515
|
"use strict";
|
|
7595
|
-
|
|
7596
|
-
src_components_lazy_index_editor_default = { "
|
|
7516
|
+
init_TR5u4uVlSKP2Xktu3fwTJeguwjWnrtKriK1IwyESME();
|
|
7517
|
+
src_components_lazy_index_editor_default = { "alert": "vv-sU18EG-alert", "button": "vv-sU18EG-button", "submit": "vv-sU18EG-submit", "pageContainer": "vv-sU18EG-pageContainer", "stickyBar": "vv-sU18EG-stickyBar", "alertOpenedAnimation": "vv-sU18EG-alertOpenedAnimation", "screen": "vv-sU18EG-screen" };
|
|
7597
7518
|
}
|
|
7598
7519
|
});
|
|
7599
7520
|
|
|
@@ -7614,7 +7535,7 @@ import React13, { useCallback as useCallback12, useEffect as useEffect11, useSta
|
|
|
7614
7535
|
import _27 from "lodash/fp.js";
|
|
7615
7536
|
import { Button as Button11, CheckBox, RadioButton, Snackbar as Snackbar2 } from "@lls/lls-kit";
|
|
7616
7537
|
import { copyToClipboard as copyToClipboard2, pipe as pipe9 } from "@lls/utils";
|
|
7617
|
-
import { Fragment as Fragment10, jsx as
|
|
7538
|
+
import { Fragment as Fragment10, jsx as jsx43, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
7618
7539
|
var Editor2, CopyButton, EditorStickyBar, EditorNext, index_editor_default;
|
|
7619
7540
|
var init_index_editor2 = __esm({
|
|
7620
7541
|
"src/components/lazy/index.editor.tsx"() {
|
|
@@ -7641,7 +7562,7 @@ var init_index_editor2 = __esm({
|
|
|
7641
7562
|
setCopiedMessage("");
|
|
7642
7563
|
}, 3500);
|
|
7643
7564
|
}, [template, setCopiedMessage]);
|
|
7644
|
-
return /* @__PURE__ */
|
|
7565
|
+
return /* @__PURE__ */ jsx43(Button11, { className: src_components_lazy_index_editor_default.button, theme, accent: "alt", type: "button", onClick, children: "Copier le JSON" });
|
|
7645
7566
|
};
|
|
7646
7567
|
EditorStickyBar = ({
|
|
7647
7568
|
mode,
|
|
@@ -7664,7 +7585,7 @@ var init_index_editor2 = __esm({
|
|
|
7664
7585
|
}, 3500);
|
|
7665
7586
|
};
|
|
7666
7587
|
return /* @__PURE__ */ jsxs25("div", { className: src_components_lazy_index_editor_default.stickyBar, children: [
|
|
7667
|
-
setOpenSummary && /* @__PURE__ */
|
|
7588
|
+
setOpenSummary && /* @__PURE__ */ jsx43(
|
|
7668
7589
|
Button11,
|
|
7669
7590
|
{
|
|
7670
7591
|
theme: stickyBarTheme,
|
|
@@ -7674,7 +7595,7 @@ var init_index_editor2 = __esm({
|
|
|
7674
7595
|
children: `${openSummary ? "Cacher" : "Afficher"} le sommaire`
|
|
7675
7596
|
}
|
|
7676
7597
|
),
|
|
7677
|
-
/* @__PURE__ */
|
|
7598
|
+
/* @__PURE__ */ jsx43(
|
|
7678
7599
|
RadioButton,
|
|
7679
7600
|
{
|
|
7680
7601
|
isChecked: mode === "edit",
|
|
@@ -7684,7 +7605,7 @@ var init_index_editor2 = __esm({
|
|
|
7684
7605
|
value: "edit"
|
|
7685
7606
|
}
|
|
7686
7607
|
),
|
|
7687
|
-
/* @__PURE__ */
|
|
7608
|
+
/* @__PURE__ */ jsx43(
|
|
7688
7609
|
RadioButton,
|
|
7689
7610
|
{
|
|
7690
7611
|
isChecked: mode === "view",
|
|
@@ -7694,7 +7615,7 @@ var init_index_editor2 = __esm({
|
|
|
7694
7615
|
value: "view"
|
|
7695
7616
|
}
|
|
7696
7617
|
),
|
|
7697
|
-
/* @__PURE__ */
|
|
7618
|
+
/* @__PURE__ */ jsx43(
|
|
7698
7619
|
CheckBox,
|
|
7699
7620
|
{
|
|
7700
7621
|
label: "Show Coordinates",
|
|
@@ -7702,9 +7623,9 @@ var init_index_editor2 = __esm({
|
|
|
7702
7623
|
onChange: () => setShowZonesCoordinates((prev) => !prev)
|
|
7703
7624
|
}
|
|
7704
7625
|
),
|
|
7705
|
-
/* @__PURE__ */
|
|
7706
|
-
/* @__PURE__ */
|
|
7707
|
-
/* @__PURE__ */
|
|
7626
|
+
/* @__PURE__ */ jsx43(Button11, { theme: stickyBarTheme, onClick: handleSubmit, children: "Submit" }),
|
|
7627
|
+
/* @__PURE__ */ jsx43(CopyButton, { theme: stickyBarTheme, template, setCopiedMessage }),
|
|
7628
|
+
/* @__PURE__ */ jsx43(Button11, { className: src_components_lazy_index_editor_default.button, theme: stickyBarTheme, accent: "alt", onClick: copyZones, children: "Copier les zones" })
|
|
7708
7629
|
] });
|
|
7709
7630
|
};
|
|
7710
7631
|
EditorNext = React13.forwardRef(
|
|
@@ -7815,10 +7736,10 @@ ${JSON.stringify(
|
|
|
7815
7736
|
setOpenSummary
|
|
7816
7737
|
};
|
|
7817
7738
|
return /* @__PURE__ */ jsxs25(Fragment10, { children: [
|
|
7818
|
-
/* @__PURE__ */
|
|
7819
|
-
/* @__PURE__ */
|
|
7820
|
-
/* @__PURE__ */
|
|
7821
|
-
/* @__PURE__ */
|
|
7739
|
+
/* @__PURE__ */ jsx43(EditorStickyBar, { ...toolbarProps }),
|
|
7740
|
+
/* @__PURE__ */ jsx43("div", { className: src_components_lazy_index_editor_default.pageContainer, children: /* @__PURE__ */ jsxs25("div", { className: src_components_lazy_index_editor_default.screen, children: [
|
|
7741
|
+
/* @__PURE__ */ jsx43(Alert_default, { text: copiedMessage }),
|
|
7742
|
+
/* @__PURE__ */ jsx43(
|
|
7822
7743
|
EditorView_default,
|
|
7823
7744
|
{
|
|
7824
7745
|
ref,
|
|
@@ -7833,7 +7754,7 @@ ${JSON.stringify(
|
|
|
7833
7754
|
words
|
|
7834
7755
|
}
|
|
7835
7756
|
),
|
|
7836
|
-
metadataEditor.path && /* @__PURE__ */
|
|
7757
|
+
metadataEditor.path && /* @__PURE__ */ jsx43(
|
|
7837
7758
|
MetadataEditor_default,
|
|
7838
7759
|
{
|
|
7839
7760
|
doc: getDocumentByUuid(metadataEditor.path, template),
|
|
@@ -7844,7 +7765,7 @@ ${JSON.stringify(
|
|
|
7844
7765
|
},
|
|
7845
7766
|
`metadata_${metadataEditor.path}`
|
|
7846
7767
|
),
|
|
7847
|
-
editEditor.path && /* @__PURE__ */
|
|
7768
|
+
editEditor.path && /* @__PURE__ */ jsx43(
|
|
7848
7769
|
Editor2,
|
|
7849
7770
|
{
|
|
7850
7771
|
error: docLintErrors[editEditor.path],
|
|
@@ -7857,7 +7778,7 @@ ${JSON.stringify(
|
|
|
7857
7778
|
`edit_${editEditor.path}`
|
|
7858
7779
|
)
|
|
7859
7780
|
] }) }),
|
|
7860
|
-
showWarningSnackbar && !!firstFoundErrorUuid && /* @__PURE__ */
|
|
7781
|
+
showWarningSnackbar && !!firstFoundErrorUuid && /* @__PURE__ */ jsx43(
|
|
7861
7782
|
Snackbar2,
|
|
7862
7783
|
{
|
|
7863
7784
|
open: true,
|
|
@@ -7880,23 +7801,23 @@ ${JSON.stringify(
|
|
|
7880
7801
|
|
|
7881
7802
|
// src/index.editor.tsx
|
|
7882
7803
|
import React14, { Suspense as Suspense2 } from "react";
|
|
7883
|
-
import { jsx as
|
|
7804
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
7884
7805
|
var LazyEditor2 = React14.lazy(() => Promise.resolve().then(() => (init_index_editor2(), index_editor_exports)));
|
|
7885
7806
|
var ViewerEditor = (props) => {
|
|
7886
|
-
return /* @__PURE__ */
|
|
7807
|
+
return /* @__PURE__ */ jsx44(Suspense2, { children: /* @__PURE__ */ jsx44(LazyEditor2, { ...props }) });
|
|
7887
7808
|
};
|
|
7888
7809
|
var index_editor_default2 = ViewerEditor;
|
|
7889
7810
|
|
|
7890
7811
|
// src/index.viewer.tsx
|
|
7891
7812
|
init_ViewerMd2();
|
|
7892
7813
|
init_usePictureSource();
|
|
7893
|
-
import { jsx as
|
|
7814
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
7894
7815
|
var Viewer = (props) => {
|
|
7895
7816
|
const pictureSourceProps = usePictureSource_default({
|
|
7896
7817
|
template: props.template,
|
|
7897
7818
|
mode: props.mode
|
|
7898
7819
|
});
|
|
7899
|
-
return /* @__PURE__ */
|
|
7820
|
+
return /* @__PURE__ */ jsx45(ViewerMd_default, { ...props, ...pictureSourceProps });
|
|
7900
7821
|
};
|
|
7901
7822
|
var index_viewer_default = Viewer;
|
|
7902
7823
|
export {
|