@dsh-agentic-roleplay/core 0.7.2 → 0.7.3
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/README.md +1 -1
- package/lib/{authoring-tools-q34iq3hW.js → authoring-tools-CIsWbq0B.js} +197 -20
- package/lib/authoring.js +251 -331
- package/lib/client.js +613 -331
- package/lib/client.js.map +1 -1
- package/lib/doctor.js +1 -1
- package/lib/{gallery-BxZGOgMb.js → gallery-DmBZ2L5l.js} +2 -2
- package/lib/{generator-BFmSYvR8.js → generator-BmdoTIL2.js} +2 -2
- package/lib/{hooks-HnqXO8mM.js → hooks-C8eELrni.js} +2 -2
- package/lib/images.js +4 -4
- package/lib/index.js +70 -563
- package/lib/{library-BGxPKs9a.js → library-lVNf9qG_.js} +37 -4
- package/lib/{lorebook-author-tools-D9RrMK5g.js → lorebook-author-tools-BDOs4i5C.js} +6 -6
- package/lib/lorebook-authoring.js +3 -3
- package/lib/orchestration.js +8 -8
- package/lib/{pack-jail-MPekqSuQ.js → pack-jail-DeTscGT2.js} +1255 -12
- package/lib/{packs-jowC-MN_.js → packs-CY8ms8v_.js} +2 -2
- package/lib/{presenter-agent-DvZtnf0Q.js → presenter-agent-cFR4sos3.js} +4 -4
- package/lib/{preset-author-tools-8kv1Glxe.js → preset-author-tools-2m4BLtws.js} +6 -6
- package/lib/preset-authoring.js +4 -4
- package/lib/{preset-VatN-845.js → preset-n4-j6k4S.js} +2 -2
- package/lib/{reflection-CvOZGjmn.js → reflection-CJB5s0ip.js} +6 -6
- package/lib/{route-DRTJ_vcA.js → route-C6SHz9j2.js} +2 -2
- package/lib/{text-JbWfTHbr.js → text-Cwl5s0j0.js} +3 -1
- package/package.json +2 -2
package/lib/client.js
CHANGED
|
@@ -37,8 +37,8 @@ window.__ModuleLoader__.load({
|
|
|
37
37
|
}
|
|
38
38
|
tag$34.textContent = css$34;
|
|
39
39
|
var PageTabs_module_css_default = {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"tabs": "rp_Poldga_tabs",
|
|
41
|
+
"tab": "rp_Poldga_tab"
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/client/panel/PageTabs.tsx
|
|
@@ -93,10 +93,10 @@ window.__ModuleLoader__.load({
|
|
|
93
93
|
}
|
|
94
94
|
tag$33.textContent = css$33;
|
|
95
95
|
var RoleplayPanel_module_css_default = {
|
|
96
|
+
"title": "rp_ua5gBa_title",
|
|
96
97
|
"body": "rp_ua5gBa_body",
|
|
97
98
|
"panel": "rp_ua5gBa_panel",
|
|
98
|
-
"header": "rp_ua5gBa_header"
|
|
99
|
-
"title": "rp_ua5gBa_title"
|
|
99
|
+
"header": "rp_ua5gBa_header"
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
102
|
//#region src/client/panel/RoleplayPanel.tsx
|
|
@@ -429,38 +429,41 @@ window.__ModuleLoader__.load({
|
|
|
429
429
|
}
|
|
430
430
|
tag$32.textContent = css$32;
|
|
431
431
|
var ImportCard_module_css_default = {
|
|
432
|
+
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
433
|
+
"entryHead": "rp_5cvtma_entryHead",
|
|
434
|
+
"tags": "rp_5cvtma_tags",
|
|
435
|
+
"text": "rp_5cvtma_text",
|
|
436
|
+
"entryOff": "rp_5cvtma_entryOff",
|
|
437
|
+
"section": "rp_5cvtma_section",
|
|
438
|
+
"error": "rp_5cvtma_error",
|
|
439
|
+
"fieldHead": "rp_5cvtma_fieldHead",
|
|
440
|
+
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
441
|
+
"choice": "rp_5cvtma_choice",
|
|
432
442
|
"choiceText": "rp_5cvtma_choiceText",
|
|
443
|
+
"about": "rp_5cvtma_about",
|
|
444
|
+
"title": "rp_5cvtma_title",
|
|
433
445
|
"preview": "rp_5cvtma_preview",
|
|
434
|
-
"
|
|
446
|
+
"space": "rp_5cvtma_space",
|
|
447
|
+
"note": "rp_5cvtma_note",
|
|
435
448
|
"body": "rp_5cvtma_body",
|
|
436
|
-
"
|
|
449
|
+
"noPicture": "rp_5cvtma_noPicture",
|
|
450
|
+
"label": "rp_5cvtma_label",
|
|
451
|
+
"heading": "rp_5cvtma_heading",
|
|
452
|
+
"page": "rp_5cvtma_page",
|
|
437
453
|
"top": "rp_5cvtma_top",
|
|
438
454
|
"row": "rp_5cvtma_row",
|
|
439
|
-
"title": "rp_5cvtma_title",
|
|
440
|
-
"page": "rp_5cvtma_page",
|
|
441
|
-
"about": "rp_5cvtma_about",
|
|
442
|
-
"heading": "rp_5cvtma_heading",
|
|
443
455
|
"field": "rp_5cvtma_field",
|
|
444
456
|
"entry": "rp_5cvtma_entry",
|
|
445
|
-
"fieldHead": "rp_5cvtma_fieldHead",
|
|
446
|
-
"entryHead": "rp_5cvtma_entryHead",
|
|
447
457
|
"entryTitle": "rp_5cvtma_entryTitle",
|
|
448
|
-
"label": "rp_5cvtma_label",
|
|
449
458
|
"picture": "rp_5cvtma_picture",
|
|
450
|
-
"header": "rp_5cvtma_header"
|
|
451
|
-
"noPicture": "rp_5cvtma_noPicture",
|
|
452
|
-
"tags": "rp_5cvtma_tags",
|
|
453
|
-
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
454
|
-
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
455
|
-
"text": "rp_5cvtma_text",
|
|
456
|
-
"entryOff": "rp_5cvtma_entryOff",
|
|
457
|
-
"note": "rp_5cvtma_note",
|
|
458
|
-
"space": "rp_5cvtma_space",
|
|
459
|
-
"choice": "rp_5cvtma_choice"
|
|
459
|
+
"header": "rp_5cvtma_header"
|
|
460
460
|
};
|
|
461
461
|
//#endregion
|
|
462
462
|
//#region src/client/widgets/import-card/ImportCard.tsx
|
|
463
463
|
const pictureUrl = (id) => `${API_PREFIX}/worlds/import/picture?id=${encodeURIComponent(id)}`;
|
|
464
|
+
/** What the person is offered first: updating the world of that name nobody changed, otherwise a new world. */
|
|
465
|
+
const defaultTarget = (targets) => targets?.find((target) => target.sameName && target.edited === "no")?.worldId;
|
|
466
|
+
const editedNote = (target, t) => target.edited === "no" ? t("ic_targetClean") : target.edited === "yes" ? t("ic_targetEdited", { files: target.changes.join(", ") }) : t("ic_targetUnknown");
|
|
464
467
|
const same$1 = (a, b) => a.kind === b.kind && (a.kind !== "alternate" || b.kind === "alternate" && a.index === b.index);
|
|
465
468
|
function Text({ label, text, t, note }) {
|
|
466
469
|
const [open, setOpen] = (0, react.useState)(false);
|
|
@@ -497,15 +500,18 @@ window.__ModuleLoader__.load({
|
|
|
497
500
|
* What a card holds, for the person to look through and decide what becomes of it: which lorebook entries are read at all, and which greeting opens the story.
|
|
498
501
|
* The caller says what starting and cancelling do, because a card comes from a file or from a catalogue.
|
|
499
502
|
*/
|
|
500
|
-
function ImportCard({ t, preview, start: begin, discard, onCancelled, onStarted }) {
|
|
503
|
+
function ImportCard({ t, preview, initialUpdate, start: begin, discard, onCancelled, onStarted }) {
|
|
501
504
|
const { card } = preview;
|
|
502
505
|
const entries = card.book?.entries ?? [];
|
|
503
506
|
const [name, setName] = (0, react.useState)(preview.choices.name);
|
|
504
507
|
const [off, setOff] = (0, react.useState)(() => new Set(preview.choices.disabledEntries));
|
|
505
508
|
const [opening, setOpening] = (0, react.useState)(preview.choices.opening);
|
|
506
509
|
const [open, setOpen] = (0, react.useState)(/* @__PURE__ */ new Set());
|
|
510
|
+
const [update, setUpdate] = (0, react.useState)(() => initialUpdate ?? defaultTarget(preview.targets));
|
|
507
511
|
const [starting, setStarting] = (0, react.useState)(false);
|
|
508
512
|
const [error, setError] = (0, react.useState)();
|
|
513
|
+
const others = (preview.targets ?? []).filter((target) => !target.sameName);
|
|
514
|
+
const chosenOther = others.find((target) => target.worldId === update);
|
|
509
515
|
const greetings = [...card.firstMessage.trim() === "" ? [] : [{
|
|
510
516
|
choice: { kind: "first" },
|
|
511
517
|
label: t("ic_openingFirst"),
|
|
@@ -539,7 +545,7 @@ window.__ModuleLoader__.load({
|
|
|
539
545
|
if (name.trim() === "" || starting) return;
|
|
540
546
|
setStarting(true);
|
|
541
547
|
setError(void 0);
|
|
542
|
-
begin(choices()).then((started) => {
|
|
548
|
+
begin(choices(), update).then((started) => {
|
|
543
549
|
onStarted(started.chatSessionId, started.started);
|
|
544
550
|
}, (failure) => {
|
|
545
551
|
setStarting(false);
|
|
@@ -559,7 +565,7 @@ window.__ModuleLoader__.load({
|
|
|
559
565
|
children: [
|
|
560
566
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
561
567
|
className: ImportCard_module_css_default.title,
|
|
562
|
-
children: t("ic_title")
|
|
568
|
+
children: update === void 0 ? t("ic_title") : t("ic_updateTitle")
|
|
563
569
|
}),
|
|
564
570
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: ImportCard_module_css_default.space }),
|
|
565
571
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
@@ -574,7 +580,7 @@ window.__ModuleLoader__.load({
|
|
|
574
580
|
size: "sm",
|
|
575
581
|
disabled: name.trim() === "" || starting,
|
|
576
582
|
onClick: start,
|
|
577
|
-
children: starting ? t("ic_starting") : t("ic_start")
|
|
583
|
+
children: starting ? t("ic_starting") : update === void 0 ? t("ic_start") : t("ic_update")
|
|
578
584
|
})
|
|
579
585
|
]
|
|
580
586
|
}),
|
|
@@ -605,6 +611,7 @@ window.__ModuleLoader__.load({
|
|
|
605
611
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("ic_worldName") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
606
612
|
value: name,
|
|
607
613
|
maxLength: 200,
|
|
614
|
+
disabled: update !== void 0,
|
|
608
615
|
onChange: (event) => {
|
|
609
616
|
setName(event.target.value);
|
|
610
617
|
}
|
|
@@ -628,6 +635,102 @@ window.__ModuleLoader__.load({
|
|
|
628
635
|
]
|
|
629
636
|
})]
|
|
630
637
|
}),
|
|
638
|
+
preview.targets !== void 0 && preview.targets.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
639
|
+
className: ImportCard_module_css_default.section,
|
|
640
|
+
children: [
|
|
641
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
642
|
+
className: ImportCard_module_css_default.heading,
|
|
643
|
+
children: t("ic_target")
|
|
644
|
+
}),
|
|
645
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
646
|
+
className: ImportCard_module_css_default.note,
|
|
647
|
+
children: t("ic_targetHelp")
|
|
648
|
+
}),
|
|
649
|
+
preview.targets.filter((target) => target.sameName).map((target) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
650
|
+
className: ImportCard_module_css_default.choice,
|
|
651
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
652
|
+
type: "radio",
|
|
653
|
+
name: "target",
|
|
654
|
+
"aria-label": t("ic_targetUpdate", { name: target.name }),
|
|
655
|
+
checked: update === target.worldId,
|
|
656
|
+
onChange: () => {
|
|
657
|
+
setUpdate(target.worldId);
|
|
658
|
+
}
|
|
659
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
660
|
+
className: ImportCard_module_css_default.choiceText,
|
|
661
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
662
|
+
className: ImportCard_module_css_default.fieldTitle,
|
|
663
|
+
children: t("ic_targetUpdate", { name: target.name })
|
|
664
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
665
|
+
className: ImportCard_module_css_default.preview,
|
|
666
|
+
children: editedNote(target, t)
|
|
667
|
+
})]
|
|
668
|
+
})]
|
|
669
|
+
}, target.worldId)),
|
|
670
|
+
others.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
671
|
+
className: ImportCard_module_css_default.choice,
|
|
672
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
673
|
+
type: "radio",
|
|
674
|
+
name: "target",
|
|
675
|
+
"aria-label": t("ic_targetOther"),
|
|
676
|
+
checked: chosenOther !== void 0,
|
|
677
|
+
onChange: () => {
|
|
678
|
+
setUpdate(others[0]?.worldId);
|
|
679
|
+
}
|
|
680
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
681
|
+
className: ImportCard_module_css_default.choiceText,
|
|
682
|
+
children: [
|
|
683
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
684
|
+
className: ImportCard_module_css_default.fieldTitle,
|
|
685
|
+
children: t("ic_targetOther")
|
|
686
|
+
}),
|
|
687
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
688
|
+
"aria-label": t("ic_targetOtherChoose"),
|
|
689
|
+
"data-testid": "roleplay-import-other",
|
|
690
|
+
disabled: chosenOther === void 0,
|
|
691
|
+
value: chosenOther?.worldId ?? "",
|
|
692
|
+
onChange: (event) => {
|
|
693
|
+
setUpdate(event.target.value);
|
|
694
|
+
},
|
|
695
|
+
children: [chosenOther === void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
696
|
+
value: "",
|
|
697
|
+
children: t("ic_targetOtherChoose")
|
|
698
|
+
}), others.map((target) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
699
|
+
value: target.worldId,
|
|
700
|
+
children: target.name
|
|
701
|
+
}, target.worldId))]
|
|
702
|
+
}),
|
|
703
|
+
chosenOther !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
704
|
+
className: ImportCard_module_css_default.preview,
|
|
705
|
+
children: [
|
|
706
|
+
t("ic_targetKeepsName"),
|
|
707
|
+
" ",
|
|
708
|
+
editedNote(chosenOther, t)
|
|
709
|
+
]
|
|
710
|
+
})
|
|
711
|
+
]
|
|
712
|
+
})]
|
|
713
|
+
}),
|
|
714
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
715
|
+
className: ImportCard_module_css_default.choice,
|
|
716
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
717
|
+
type: "radio",
|
|
718
|
+
name: "target",
|
|
719
|
+
"aria-label": t("ic_targetNew"),
|
|
720
|
+
checked: update === void 0,
|
|
721
|
+
onChange: () => {
|
|
722
|
+
setUpdate(void 0);
|
|
723
|
+
}
|
|
724
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
725
|
+
className: ImportCard_module_css_default.choiceText,
|
|
726
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
727
|
+
className: ImportCard_module_css_default.fieldTitle,
|
|
728
|
+
children: t("ic_targetNew")
|
|
729
|
+
})
|
|
730
|
+
})]
|
|
731
|
+
})
|
|
732
|
+
]
|
|
733
|
+
}),
|
|
631
734
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
632
735
|
className: ImportCard_module_css_default.section,
|
|
633
736
|
children: [
|
|
@@ -815,38 +918,38 @@ window.__ModuleLoader__.load({
|
|
|
815
918
|
}
|
|
816
919
|
tag$31.textContent = css$31;
|
|
817
920
|
var CataloguePage_module_css_default = {
|
|
818
|
-
"placeholder": "rp_qK1u-G_placeholder",
|
|
819
|
-
"select": "rp_qK1u-G_select",
|
|
820
|
-
"toolbar": "rp_qK1u-G_toolbar",
|
|
821
|
-
"status": "rp_qK1u-G_status",
|
|
822
921
|
"update": "rp_qK1u-G_update",
|
|
823
|
-
"
|
|
824
|
-
"
|
|
922
|
+
"card": "rp_qK1u-G_card",
|
|
923
|
+
"field": "rp_qK1u-G_field",
|
|
924
|
+
"meta": "rp_qK1u-G_meta",
|
|
825
925
|
"image": "rp_qK1u-G_image",
|
|
826
|
-
"message": "rp_qK1u-G_message",
|
|
827
|
-
"kind": "rp_qK1u-G_kind",
|
|
828
|
-
"grid": "rp_qK1u-G_grid",
|
|
829
|
-
"search": "rp_qK1u-G_search",
|
|
830
926
|
"tags": "rp_qK1u-G_tags",
|
|
831
|
-
"form": "rp_qK1u-G_form",
|
|
832
|
-
"field": "rp_qK1u-G_field",
|
|
833
|
-
"name": "rp_qK1u-G_name",
|
|
834
|
-
"detail": "rp_qK1u-G_detail",
|
|
835
|
-
"label": "rp_qK1u-G_label",
|
|
836
927
|
"description": "rp_qK1u-G_description",
|
|
928
|
+
"changes": "rp_qK1u-G_changes",
|
|
929
|
+
"notice": "rp_qK1u-G_notice",
|
|
837
930
|
"updates": "rp_qK1u-G_updates",
|
|
838
|
-
"
|
|
931
|
+
"actions": "rp_qK1u-G_actions",
|
|
932
|
+
"success": "rp_qK1u-G_success",
|
|
933
|
+
"name": "rp_qK1u-G_name",
|
|
934
|
+
"label": "rp_qK1u-G_label",
|
|
935
|
+
"kinds": "rp_qK1u-G_kinds",
|
|
839
936
|
"cover": "rp_qK1u-G_cover",
|
|
937
|
+
"detail": "rp_qK1u-G_detail",
|
|
938
|
+
"select": "rp_qK1u-G_select",
|
|
939
|
+
"status": "rp_qK1u-G_status",
|
|
940
|
+
"placeholder": "rp_qK1u-G_placeholder",
|
|
941
|
+
"form": "rp_qK1u-G_form",
|
|
840
942
|
"body": "rp_qK1u-G_body",
|
|
841
|
-
"
|
|
842
|
-
"
|
|
843
|
-
"
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
"
|
|
943
|
+
"search": "rp_qK1u-G_search",
|
|
944
|
+
"grid": "rp_qK1u-G_grid",
|
|
945
|
+
"kind": "rp_qK1u-G_kind",
|
|
946
|
+
"toolbar": "rp_qK1u-G_toolbar",
|
|
947
|
+
"message": "rp_qK1u-G_message",
|
|
948
|
+
"page": "rp_qK1u-G_page",
|
|
847
949
|
"spacer": "rp_qK1u-G_spacer",
|
|
848
|
-
"
|
|
849
|
-
"
|
|
950
|
+
"warning": "rp_qK1u-G_warning",
|
|
951
|
+
"viewport": "rp_qK1u-G_viewport",
|
|
952
|
+
"more": "rp_qK1u-G_more"
|
|
850
953
|
};
|
|
851
954
|
//#endregion
|
|
852
955
|
//#region src/client/pages/catalogue/ImportUrlDialog.tsx
|
|
@@ -1049,18 +1152,18 @@ window.__ModuleLoader__.load({
|
|
|
1049
1152
|
}
|
|
1050
1153
|
tag$30.textContent = css$30;
|
|
1051
1154
|
var ImportSelection_module_css_default = {
|
|
1052
|
-
"extra": "rp_Jx0l4q_extra",
|
|
1053
1155
|
"full": "rp_Jx0l4q_full",
|
|
1054
|
-
"text": "rp_Jx0l4q_text",
|
|
1055
1156
|
"sampling": "rp_Jx0l4q_sampling",
|
|
1157
|
+
"error": "rp_Jx0l4q_error",
|
|
1158
|
+
"extra": "rp_Jx0l4q_extra",
|
|
1056
1159
|
"meta": "rp_Jx0l4q_meta",
|
|
1057
|
-
"
|
|
1160
|
+
"note": "rp_Jx0l4q_note",
|
|
1161
|
+
"text": "rp_Jx0l4q_text",
|
|
1058
1162
|
"count": "rp_Jx0l4q_count",
|
|
1059
|
-
"
|
|
1163
|
+
"body": "rp_Jx0l4q_body",
|
|
1060
1164
|
"help": "rp_Jx0l4q_help",
|
|
1061
1165
|
"bar": "rp_Jx0l4q_bar",
|
|
1062
|
-
"
|
|
1063
|
-
"error": "rp_Jx0l4q_error",
|
|
1166
|
+
"list": "rp_Jx0l4q_list",
|
|
1064
1167
|
"row": "rp_Jx0l4q_row"
|
|
1065
1168
|
};
|
|
1066
1169
|
//#endregion
|
|
@@ -1731,12 +1834,13 @@ window.__ModuleLoader__.load({
|
|
|
1731
1834
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImportCard, {
|
|
1732
1835
|
t,
|
|
1733
1836
|
preview: reviewing.preview,
|
|
1734
|
-
start: (choices) => convertStaged({
|
|
1837
|
+
start: (choices, update) => convertStaged({
|
|
1735
1838
|
source: reviewing.source,
|
|
1736
1839
|
versionId: reviewing.versionId,
|
|
1737
1840
|
id: reviewing.preview.id,
|
|
1738
1841
|
choices,
|
|
1739
|
-
language: t("language")
|
|
1842
|
+
language: t("language"),
|
|
1843
|
+
...update === void 0 ? {} : { update }
|
|
1740
1844
|
}),
|
|
1741
1845
|
discard: () => discardCard(reviewing.preview.id),
|
|
1742
1846
|
onCancelled: () => {
|
|
@@ -2034,6 +2138,18 @@ window.__ModuleLoader__.load({
|
|
|
2034
2138
|
const dictionaries$21 = {
|
|
2035
2139
|
en: {
|
|
2036
2140
|
ic_title: "Import a character card",
|
|
2141
|
+
ic_updateTitle: "Update a world from a newer card",
|
|
2142
|
+
ic_target: "Update a world, or import a new one",
|
|
2143
|
+
ic_targetHelp: "A world that was imported from a card can be brought up to date with this version by the assistant, instead of importing everything again. Every change it makes asks for your approval unless you turned that off.",
|
|
2144
|
+
ic_targetOther: "Update another world",
|
|
2145
|
+
ic_targetOtherChoose: "Which world",
|
|
2146
|
+
ic_targetKeepsName: "The world keeps its own name.",
|
|
2147
|
+
ic_targetUpdate: "Update “{name}” from this card",
|
|
2148
|
+
ic_targetNew: "Import as a new world",
|
|
2149
|
+
ic_targetClean: "Not changed since the import: the assistant edits it, and you approve each change.",
|
|
2150
|
+
ic_targetEdited: "You changed it since the import ({files}). A copy is safer; an update keeps those edits where it can.",
|
|
2151
|
+
ic_targetUnknown: "Imported before changes were recorded, so it cannot be told whether you edited it. A copy is safer.",
|
|
2152
|
+
ic_update: "Update",
|
|
2037
2153
|
ic_source: "A {spec} card{converted}.",
|
|
2038
2154
|
ic_worldName: "Name of the new world",
|
|
2039
2155
|
ic_noPicture: "No picture",
|
|
@@ -2068,6 +2184,18 @@ window.__ModuleLoader__.load({
|
|
|
2068
2184
|
},
|
|
2069
2185
|
zh: {
|
|
2070
2186
|
ic_title: "导入角色卡",
|
|
2187
|
+
ic_updateTitle: "用新版角色卡更新世界",
|
|
2188
|
+
ic_target: "更新已有世界,或导入为新世界",
|
|
2189
|
+
ic_targetHelp: "由角色卡导入的世界,可以让助手按这个版本更新到最新,而不必重新导入全部内容。除非你关闭了确认,助手的每项改动都需要你批准。",
|
|
2190
|
+
ic_targetOther: "更新另一个世界",
|
|
2191
|
+
ic_targetOtherChoose: "选择世界",
|
|
2192
|
+
ic_targetKeepsName: "世界保留它自己的名字。",
|
|
2193
|
+
ic_targetUpdate: "用这张卡更新“{name}”",
|
|
2194
|
+
ic_targetNew: "作为新世界导入",
|
|
2195
|
+
ic_targetClean: "导入后没有被修改过:由助手修改,每项改动都需要你批准。",
|
|
2196
|
+
ic_targetEdited: "导入后你修改过它({files})。建议另存为副本;更新会尽量保留这些修改。",
|
|
2197
|
+
ic_targetUnknown: "导入时尚未记录文件状态,无法判断你是否修改过。建议另存为副本。",
|
|
2198
|
+
ic_update: "更新",
|
|
2071
2199
|
ic_source: "{spec} 角色卡{converted}。",
|
|
2072
2200
|
ic_worldName: "新世界的名称",
|
|
2073
2201
|
ic_noPicture: "没有图片",
|
|
@@ -2274,8 +2402,8 @@ window.__ModuleLoader__.load({
|
|
|
2274
2402
|
updatesProblem: "Could not check \"{name}\" for updates: {message}",
|
|
2275
2403
|
convert: "Review and convert",
|
|
2276
2404
|
converting: "Converting…",
|
|
2277
|
-
convertNote: "A character card
|
|
2278
|
-
convertedBefore: "You converted this card before ({names}).
|
|
2405
|
+
convertNote: "A character card can become a new world, or update a world that was imported from an earlier version of the card. A new conversion makes its own world; an update is applied by that world's authoring agent and keeps a recoverable copy of the previous files.",
|
|
2406
|
+
convertedBefore: "You converted this card before ({names}). You can make another world, or update a world that was imported from a card.",
|
|
2279
2407
|
convertFailed: "Could not convert: {message}",
|
|
2280
2408
|
convertNotStartedShort: "The world was made, but the conversion has not started: open its authoring chat and send the import message yourself.",
|
|
2281
2409
|
convertNotStarted: "The world \"{name}\" was made, but the conversion did not start: {failure}. Open its authoring chat to send the import message yourself.",
|
|
@@ -2367,8 +2495,8 @@ window.__ModuleLoader__.load({
|
|
|
2367
2495
|
updatesProblem: "无法检查“{name}”的更新:{message}",
|
|
2368
2496
|
convert: "查看并转换",
|
|
2369
2497
|
converting: "转换中…",
|
|
2370
|
-
convertNote: "
|
|
2371
|
-
convertedBefore: "你以前转换过这张卡({names}
|
|
2498
|
+
convertNote: "角色卡既可以转换为新世界,也可以更新由旧版角色卡导入的世界。新转换会创建独立世界;更新由该世界的创作助手执行,并保留可恢复的旧文件。",
|
|
2499
|
+
convertedBefore: "你以前转换过这张卡({names})。你可以再创建一个世界,也可以更新由角色卡导入的世界。",
|
|
2372
2500
|
convertFailed: "无法转换:{message}",
|
|
2373
2501
|
convertNotStartedShort: "世界已创建,但转换没有开始:请打开它的创作对话,自己发送导入消息。",
|
|
2374
2502
|
convertNotStarted: "世界“{name}”已创建,但转换没有开始:{failure}。请打开它的创作对话,自己发送导入消息。",
|
|
@@ -2933,40 +3061,40 @@ window.__ModuleLoader__.load({
|
|
|
2933
3061
|
}
|
|
2934
3062
|
tag$29.textContent = css$29;
|
|
2935
3063
|
var CharactersPanel_module_css_default = {
|
|
2936
|
-
"
|
|
2937
|
-
"
|
|
2938
|
-
"
|
|
2939
|
-
"
|
|
3064
|
+
"field": "rp_5ZMIxq_field",
|
|
3065
|
+
"wide": "rp_5ZMIxq_wide",
|
|
3066
|
+
"help": "rp_5ZMIxq_help",
|
|
3067
|
+
"section": "rp_5ZMIxq_section",
|
|
2940
3068
|
"empty": "rp_5ZMIxq_empty",
|
|
2941
|
-
"
|
|
3069
|
+
"placeholder": "rp_5ZMIxq_placeholder",
|
|
3070
|
+
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
3071
|
+
"panel": "rp_5ZMIxq_panel",
|
|
3072
|
+
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
3073
|
+
"bar": "rp_5ZMIxq_bar",
|
|
3074
|
+
"goal": "rp_5ZMIxq_goal",
|
|
3075
|
+
"tabs": "rp_5ZMIxq_tabs",
|
|
3076
|
+
"body": "rp_5ZMIxq_body",
|
|
2942
3077
|
"area": "rp_5ZMIxq_area",
|
|
2943
|
-
"initial": "rp_5ZMIxq_initial",
|
|
2944
|
-
"sheet": "rp_5ZMIxq_sheet",
|
|
2945
3078
|
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
2946
|
-
"
|
|
2947
|
-
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
3079
|
+
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
2948
3080
|
"nameInput": "rp_5ZMIxq_nameInput",
|
|
2949
|
-
"
|
|
2950
|
-
"
|
|
2951
|
-
"
|
|
2952
|
-
"wide": "rp_5ZMIxq_wide",
|
|
3081
|
+
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
3082
|
+
"initial": "rp_5ZMIxq_initial",
|
|
3083
|
+
"select": "rp_5ZMIxq_select",
|
|
2953
3084
|
"row": "rp_5ZMIxq_row",
|
|
2954
|
-
"
|
|
2955
|
-
"grid": "rp_5ZMIxq_grid",
|
|
2956
|
-
"label": "rp_5ZMIxq_label",
|
|
2957
|
-
"portrait": "rp_5ZMIxq_portrait",
|
|
3085
|
+
"portraitError": "rp_5ZMIxq_portraitError",
|
|
2958
3086
|
"portraitHint": "rp_5ZMIxq_portraitHint",
|
|
2959
|
-
"meta": "rp_5ZMIxq_meta",
|
|
2960
|
-
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
2961
|
-
"missing": "rp_5ZMIxq_missing",
|
|
2962
|
-
"body": "rp_5ZMIxq_body",
|
|
2963
|
-
"error": "rp_5ZMIxq_error",
|
|
2964
|
-
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
2965
|
-
"panel": "rp_5ZMIxq_panel",
|
|
2966
3087
|
"tabOn": "rp_5ZMIxq_tabOn",
|
|
3088
|
+
"missing": "rp_5ZMIxq_missing",
|
|
3089
|
+
"tab": "rp_5ZMIxq_tab",
|
|
2967
3090
|
"head": "rp_5ZMIxq_head",
|
|
2968
|
-
"
|
|
2969
|
-
"
|
|
3091
|
+
"sheet": "rp_5ZMIxq_sheet",
|
|
3092
|
+
"grid": "rp_5ZMIxq_grid",
|
|
3093
|
+
"meta": "rp_5ZMIxq_meta",
|
|
3094
|
+
"barText": "rp_5ZMIxq_barText",
|
|
3095
|
+
"error": "rp_5ZMIxq_error",
|
|
3096
|
+
"label": "rp_5ZMIxq_label",
|
|
3097
|
+
"portrait": "rp_5ZMIxq_portrait"
|
|
2970
3098
|
};
|
|
2971
3099
|
//#endregion
|
|
2972
3100
|
//#region src/client/world-editor/EditorTabs.tsx
|
|
@@ -4692,38 +4820,38 @@ window.__ModuleLoader__.load({
|
|
|
4692
4820
|
tag$28.textContent = css$28;
|
|
4693
4821
|
var RelationsPanel_module_css_default = {
|
|
4694
4822
|
"toolbar": "rp_7pEHTW_toolbar",
|
|
4695
|
-
"
|
|
4696
|
-
"edge": "rp_7pEHTW_edge",
|
|
4697
|
-
"notice": "rp_7pEHTW_notice",
|
|
4698
|
-
"error": "rp_7pEHTW_error",
|
|
4823
|
+
"node_character": "rp_7pEHTW_node_character",
|
|
4699
4824
|
"head": "rp_7pEHTW_head",
|
|
4700
|
-
"
|
|
4825
|
+
"notice": "rp_7pEHTW_notice",
|
|
4826
|
+
"node_location": "rp_7pEHTW_node_location",
|
|
4701
4827
|
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
4828
|
+
"edgeKind": "rp_7pEHTW_edgeKind",
|
|
4702
4829
|
"actions": "rp_7pEHTW_actions",
|
|
4703
|
-
"wide": "rp_7pEHTW_wide",
|
|
4704
|
-
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4705
4830
|
"space": "rp_7pEHTW_space",
|
|
4706
|
-
"
|
|
4831
|
+
"node_item": "rp_7pEHTW_node_item",
|
|
4832
|
+
"error": "rp_7pEHTW_error",
|
|
4833
|
+
"workspace": "rp_7pEHTW_workspace",
|
|
4834
|
+
"check": "rp_7pEHTW_check",
|
|
4835
|
+
"node_faction": "rp_7pEHTW_node_faction",
|
|
4836
|
+
"node": "rp_7pEHTW_node",
|
|
4837
|
+
"filter": "rp_7pEHTW_filter",
|
|
4838
|
+
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
4839
|
+
"wide": "rp_7pEHTW_wide",
|
|
4840
|
+
"panel": "rp_7pEHTW_panel",
|
|
4841
|
+
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
4707
4842
|
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
4708
|
-
"
|
|
4843
|
+
"form": "rp_7pEHTW_form",
|
|
4709
4844
|
"metrics": "rp_7pEHTW_metrics",
|
|
4710
|
-
"filter": "rp_7pEHTW_filter",
|
|
4711
|
-
"node_faction": "rp_7pEHTW_node_faction",
|
|
4712
|
-
"check": "rp_7pEHTW_check",
|
|
4713
|
-
"workspace": "rp_7pEHTW_workspace",
|
|
4714
|
-
"node_item": "rp_7pEHTW_node_item",
|
|
4715
4845
|
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
4716
4846
|
"filterOn": "rp_7pEHTW_filterOn",
|
|
4717
4847
|
"empty": "rp_7pEHTW_empty",
|
|
4718
|
-
"status": "rp_7pEHTW_status",
|
|
4719
|
-
"list": "rp_7pEHTW_list",
|
|
4720
4848
|
"graph": "rp_7pEHTW_graph",
|
|
4721
|
-
"
|
|
4722
|
-
"
|
|
4723
|
-
"
|
|
4724
|
-
"
|
|
4849
|
+
"inspector": "rp_7pEHTW_inspector",
|
|
4850
|
+
"perspective": "rp_7pEHTW_perspective",
|
|
4851
|
+
"list": "rp_7pEHTW_list",
|
|
4852
|
+
"edge": "rp_7pEHTW_edge",
|
|
4725
4853
|
"entities": "rp_7pEHTW_entities",
|
|
4726
|
-
"
|
|
4854
|
+
"status": "rp_7pEHTW_status"
|
|
4727
4855
|
};
|
|
4728
4856
|
//#endregion
|
|
4729
4857
|
//#region src/client/world-editor/RelationsPanel.tsx
|
|
@@ -6098,12 +6226,12 @@ window.__ModuleLoader__.load({
|
|
|
6098
6226
|
}
|
|
6099
6227
|
tag$27.textContent = css$27;
|
|
6100
6228
|
var PackFrame_module_css_default = {
|
|
6101
|
-
"
|
|
6229
|
+
"hud": "rp_h_sbFq_hud",
|
|
6230
|
+
"problems": "rp_h_sbFq_problems",
|
|
6102
6231
|
"frame": "rp_h_sbFq_frame",
|
|
6232
|
+
"tab": "rp_h_sbFq_tab",
|
|
6103
6233
|
"fill": "rp_h_sbFq_fill",
|
|
6104
|
-
"
|
|
6105
|
-
"message": "rp_h_sbFq_message",
|
|
6106
|
-
"problems": "rp_h_sbFq_problems"
|
|
6234
|
+
"message": "rp_h_sbFq_message"
|
|
6107
6235
|
};
|
|
6108
6236
|
//#endregion
|
|
6109
6237
|
//#region src/client/widgets/pack-frame/theme.ts
|
|
@@ -6366,13 +6494,13 @@ window.__ModuleLoader__.load({
|
|
|
6366
6494
|
}
|
|
6367
6495
|
tag$26.textContent = css$26;
|
|
6368
6496
|
var PacksPanel_module_css_default = {
|
|
6369
|
-
"
|
|
6497
|
+
"stageTall": "rp_FLaP7q_stageTall",
|
|
6370
6498
|
"log": "rp_FLaP7q_log",
|
|
6499
|
+
"group": "rp_FLaP7q_group",
|
|
6371
6500
|
"files": "rp_FLaP7q_files",
|
|
6372
6501
|
"controls": "rp_FLaP7q_controls",
|
|
6373
|
-
"
|
|
6374
|
-
"
|
|
6375
|
-
"stageTall": "rp_FLaP7q_stageTall"
|
|
6502
|
+
"note": "rp_FLaP7q_note",
|
|
6503
|
+
"stage": "rp_FLaP7q_stage"
|
|
6376
6504
|
};
|
|
6377
6505
|
//#endregion
|
|
6378
6506
|
//#region src/client/world-editor/PacksPanel.tsx
|
|
@@ -7473,12 +7601,12 @@ window.__ModuleLoader__.load({
|
|
|
7473
7601
|
}
|
|
7474
7602
|
tag$25.textContent = css$25;
|
|
7475
7603
|
var SamplingFields_module_css_default = {
|
|
7604
|
+
"root": "rp_9vxYSG_root",
|
|
7476
7605
|
"label": "rp_9vxYSG_label",
|
|
7477
7606
|
"input": "rp_9vxYSG_input",
|
|
7478
7607
|
"grid": "rp_9vxYSG_grid",
|
|
7479
|
-
"help": "rp_9vxYSG_help",
|
|
7480
7608
|
"field": "rp_9vxYSG_field",
|
|
7481
|
-
"
|
|
7609
|
+
"help": "rp_9vxYSG_help"
|
|
7482
7610
|
};
|
|
7483
7611
|
//#endregion
|
|
7484
7612
|
//#region src/client/widgets/sampling-fields/SamplingFields.tsx
|
|
@@ -8895,17 +9023,17 @@ window.__ModuleLoader__.load({
|
|
|
8895
9023
|
}
|
|
8896
9024
|
tag$24.textContent = css$24;
|
|
8897
9025
|
var ToolSwitches_module_css_default = {
|
|
8898
|
-
"
|
|
9026
|
+
"error": "rp_CjoFLq_error",
|
|
8899
9027
|
"root": "rp_CjoFLq_root",
|
|
8900
9028
|
"agent": "rp_CjoFLq_agent",
|
|
8901
|
-
"agentName": "rp_CjoFLq_agentName",
|
|
8902
|
-
"hint": "rp_CjoFLq_hint",
|
|
8903
|
-
"tool": "rp_CjoFLq_tool",
|
|
8904
|
-
"title": "rp_CjoFLq_title",
|
|
8905
9029
|
"default": "rp_CjoFLq_default",
|
|
8906
|
-
"
|
|
9030
|
+
"external": "rp_CjoFLq_external",
|
|
9031
|
+
"tool": "rp_CjoFLq_tool",
|
|
8907
9032
|
"toolText": "rp_CjoFLq_toolText",
|
|
8908
|
-
"help": "rp_CjoFLq_help"
|
|
9033
|
+
"help": "rp_CjoFLq_help",
|
|
9034
|
+
"title": "rp_CjoFLq_title",
|
|
9035
|
+
"hint": "rp_CjoFLq_hint",
|
|
9036
|
+
"agentName": "rp_CjoFLq_agentName"
|
|
8909
9037
|
};
|
|
8910
9038
|
//#endregion
|
|
8911
9039
|
//#region src/client/widgets/tool-switches/ToolSwitches.tsx
|
|
@@ -9916,34 +10044,34 @@ window.__ModuleLoader__.load({
|
|
|
9916
10044
|
}
|
|
9917
10045
|
tag$23.textContent = css$23;
|
|
9918
10046
|
var GalleryView_module_css_default = {
|
|
9919
|
-
"
|
|
9920
|
-
"
|
|
9921
|
-
"
|
|
9922
|
-
"
|
|
10047
|
+
"message": "rp_9pSHmG_message",
|
|
10048
|
+
"facts": "rp_9pSHmG_facts",
|
|
10049
|
+
"editField": "rp_9pSHmG_editField",
|
|
10050
|
+
"image": "rp_9pSHmG_image",
|
|
10051
|
+
"tags": "rp_9pSHmG_tags",
|
|
10052
|
+
"select": "rp_9pSHmG_select",
|
|
9923
10053
|
"status": "rp_9pSHmG_status",
|
|
9924
|
-
"editLabel": "rp_9pSHmG_editLabel",
|
|
9925
|
-
"thumb": "rp_9pSHmG_thumb",
|
|
9926
10054
|
"editInput": "rp_9pSHmG_editInput",
|
|
9927
|
-
"edit": "rp_9pSHmG_edit",
|
|
9928
|
-
"actions": "rp_9pSHmG_actions",
|
|
9929
|
-
"pre": "rp_9pSHmG_pre",
|
|
9930
10055
|
"large": "rp_9pSHmG_large",
|
|
9931
|
-
"
|
|
9932
|
-
"statusError": "rp_9pSHmG_statusError",
|
|
9933
|
-
"select": "rp_9pSHmG_select",
|
|
9934
|
-
"grid": "rp_9pSHmG_grid",
|
|
10056
|
+
"edit": "rp_9pSHmG_edit",
|
|
9935
10057
|
"detail": "rp_9pSHmG_detail",
|
|
9936
|
-
"image": "rp_9pSHmG_image",
|
|
9937
|
-
"facts": "rp_9pSHmG_facts",
|
|
9938
|
-
"cell": "rp_9pSHmG_cell",
|
|
9939
|
-
"open": "rp_9pSHmG_open",
|
|
9940
|
-
"tags": "rp_9pSHmG_tags",
|
|
9941
10058
|
"note": "rp_9pSHmG_note",
|
|
9942
|
-
"
|
|
9943
|
-
"
|
|
9944
|
-
"
|
|
10059
|
+
"cell": "rp_9pSHmG_cell",
|
|
10060
|
+
"thumb": "rp_9pSHmG_thumb",
|
|
10061
|
+
"actions": "rp_9pSHmG_actions",
|
|
10062
|
+
"error": "rp_9pSHmG_error",
|
|
10063
|
+
"toolbar": "rp_9pSHmG_toolbar",
|
|
10064
|
+
"editLabel": "rp_9pSHmG_editLabel",
|
|
10065
|
+
"editArea": "rp_9pSHmG_editArea",
|
|
9945
10066
|
"count": "rp_9pSHmG_count",
|
|
10067
|
+
"caption": "rp_9pSHmG_caption",
|
|
10068
|
+
"pre": "rp_9pSHmG_pre",
|
|
10069
|
+
"editHelp": "rp_9pSHmG_editHelp",
|
|
10070
|
+
"grid": "rp_9pSHmG_grid",
|
|
10071
|
+
"editButton": "rp_9pSHmG_editButton",
|
|
9946
10072
|
"page": "rp_9pSHmG_page",
|
|
10073
|
+
"open": "rp_9pSHmG_open",
|
|
10074
|
+
"statusError": "rp_9pSHmG_statusError",
|
|
9947
10075
|
"reusable": "rp_9pSHmG_reusable"
|
|
9948
10076
|
};
|
|
9949
10077
|
//#endregion
|
|
@@ -10285,13 +10413,13 @@ window.__ModuleLoader__.load({
|
|
|
10285
10413
|
}
|
|
10286
10414
|
tag$22.textContent = css$22;
|
|
10287
10415
|
var WorldEditor_module_css_default = {
|
|
10416
|
+
"drawerItem": "rp__swA3a_drawerItem",
|
|
10288
10417
|
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
10289
10418
|
"content": "rp__swA3a_content",
|
|
10419
|
+
"drawer": "rp__swA3a_drawer",
|
|
10290
10420
|
"warning": "rp__swA3a_warning",
|
|
10291
10421
|
"view": "rp__swA3a_view",
|
|
10292
|
-
"
|
|
10293
|
-
"message": "rp__swA3a_message",
|
|
10294
|
-
"drawerItem": "rp__swA3a_drawerItem"
|
|
10422
|
+
"message": "rp__swA3a_message"
|
|
10295
10423
|
};
|
|
10296
10424
|
//#endregion
|
|
10297
10425
|
//#region src/client/world-editor/WorldEditor.tsx
|
|
@@ -10687,27 +10815,27 @@ window.__ModuleLoader__.load({
|
|
|
10687
10815
|
}
|
|
10688
10816
|
tag$21.textContent = css$21;
|
|
10689
10817
|
var AvatarsPage_module_css_default = {
|
|
10690
|
-
"form": "rp_pQOzEG_form",
|
|
10691
|
-
"card": "rp_pQOzEG_card",
|
|
10692
|
-
"toolbar": "rp_pQOzEG_toolbar",
|
|
10693
|
-
"text": "rp_pQOzEG_text",
|
|
10694
|
-
"summary": "rp_pQOzEG_summary",
|
|
10695
|
-
"open": "rp_pQOzEG_open",
|
|
10696
|
-
"error": "rp_pQOzEG_error",
|
|
10697
|
-
"message": "rp_pQOzEG_message",
|
|
10698
|
-
"editHeader": "rp_pQOzEG_editHeader",
|
|
10699
|
-
"name": "rp_pQOzEG_name",
|
|
10700
10818
|
"portrait": "rp_pQOzEG_portrait",
|
|
10701
10819
|
"editTitle": "rp_pQOzEG_editTitle",
|
|
10702
10820
|
"editBody": "rp_pQOzEG_editBody",
|
|
10821
|
+
"error": "rp_pQOzEG_error",
|
|
10822
|
+
"name": "rp_pQOzEG_name",
|
|
10823
|
+
"summary": "rp_pQOzEG_summary",
|
|
10703
10824
|
"placeholder": "rp_pQOzEG_placeholder",
|
|
10704
10825
|
"actions": "rp_pQOzEG_actions",
|
|
10705
10826
|
"viewport": "rp_pQOzEG_viewport",
|
|
10706
|
-
"
|
|
10707
|
-
"
|
|
10827
|
+
"toolbar": "rp_pQOzEG_toolbar",
|
|
10828
|
+
"card": "rp_pQOzEG_card",
|
|
10829
|
+
"message": "rp_pQOzEG_message",
|
|
10830
|
+
"page": "rp_pQOzEG_page",
|
|
10831
|
+
"editHeader": "rp_pQOzEG_editHeader",
|
|
10708
10832
|
"field": "rp_pQOzEG_field",
|
|
10709
10833
|
"label": "rp_pQOzEG_label",
|
|
10710
|
-
"
|
|
10834
|
+
"grid": "rp_pQOzEG_grid",
|
|
10835
|
+
"form": "rp_pQOzEG_form",
|
|
10836
|
+
"count": "rp_pQOzEG_count",
|
|
10837
|
+
"text": "rp_pQOzEG_text",
|
|
10838
|
+
"open": "rp_pQOzEG_open"
|
|
10711
10839
|
};
|
|
10712
10840
|
//#endregion
|
|
10713
10841
|
//#region src/client/pages/avatars/AvatarsPage.tsx
|
|
@@ -12153,37 +12281,37 @@ window.__ModuleLoader__.load({
|
|
|
12153
12281
|
}
|
|
12154
12282
|
tag$20.textContent = css$20;
|
|
12155
12283
|
var LorebooksPage_module_css_default = {
|
|
12156
|
-
"
|
|
12157
|
-
"
|
|
12158
|
-
"section": "rp_VV-Eha_section",
|
|
12159
|
-
"field": "rp_VV-Eha_field",
|
|
12160
|
-
"form": "rp_VV-Eha_form",
|
|
12284
|
+
"actions": "rp_VV-Eha_actions",
|
|
12285
|
+
"title": "rp_VV-Eha_title",
|
|
12161
12286
|
"help": "rp_VV-Eha_help",
|
|
12287
|
+
"field": "rp_VV-Eha_field",
|
|
12288
|
+
"card": "rp_VV-Eha_card",
|
|
12289
|
+
"error": "rp_VV-Eha_error",
|
|
12290
|
+
"label": "rp_VV-Eha_label",
|
|
12291
|
+
"meta": "rp_VV-Eha_meta",
|
|
12292
|
+
"page": "rp_VV-Eha_page",
|
|
12162
12293
|
"head": "rp_VV-Eha_head",
|
|
12163
|
-
"
|
|
12294
|
+
"count": "rp_VV-Eha_count",
|
|
12295
|
+
"viewport": "rp_VV-Eha_viewport",
|
|
12164
12296
|
"editTitle": "rp_VV-Eha_editTitle",
|
|
12165
|
-
"
|
|
12166
|
-
"
|
|
12167
|
-
"
|
|
12297
|
+
"warning": "rp_VV-Eha_warning",
|
|
12298
|
+
"section": "rp_VV-Eha_section",
|
|
12299
|
+
"toolbar": "rp_VV-Eha_toolbar",
|
|
12300
|
+
"editHeader": "rp_VV-Eha_editHeader",
|
|
12301
|
+
"editBody": "rp_VV-Eha_editBody",
|
|
12168
12302
|
"area": "rp_VV-Eha_area",
|
|
12303
|
+
"cardActions": "rp_VV-Eha_cardActions",
|
|
12304
|
+
"input": "rp_VV-Eha_input",
|
|
12169
12305
|
"grid": "rp_VV-Eha_grid",
|
|
12170
|
-
"warning": "rp_VV-Eha_warning",
|
|
12171
12306
|
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
12172
12307
|
"name": "rp_VV-Eha_name",
|
|
12173
|
-
"viewport": "rp_VV-Eha_viewport",
|
|
12174
12308
|
"row": "rp_VV-Eha_row",
|
|
12175
|
-
"
|
|
12176
|
-
"
|
|
12309
|
+
"form": "rp_VV-Eha_form",
|
|
12310
|
+
"ok": "rp_VV-Eha_ok",
|
|
12177
12311
|
"entryArea": "rp_VV-Eha_entryArea",
|
|
12178
|
-
"actions": "rp_VV-Eha_actions",
|
|
12179
|
-
"count": "rp_VV-Eha_count",
|
|
12180
|
-
"card": "rp_VV-Eha_card",
|
|
12181
|
-
"description": "rp_VV-Eha_description",
|
|
12182
|
-
"toolbar": "rp_VV-Eha_toolbar",
|
|
12183
|
-
"label": "rp_VV-Eha_label",
|
|
12184
12312
|
"message": "rp_VV-Eha_message",
|
|
12185
|
-
"
|
|
12186
|
-
"
|
|
12313
|
+
"select": "rp_VV-Eha_select",
|
|
12314
|
+
"description": "rp_VV-Eha_description"
|
|
12187
12315
|
};
|
|
12188
12316
|
//#endregion
|
|
12189
12317
|
//#region src/client/pages/lorebooks/LorebookEditor.tsx
|
|
@@ -13227,35 +13355,35 @@ window.__ModuleLoader__.load({
|
|
|
13227
13355
|
}
|
|
13228
13356
|
tag$19.textContent = css$19;
|
|
13229
13357
|
var PresetsPage_module_css_default = {
|
|
13230
|
-
"help": "rp_ZK89ba_help",
|
|
13231
|
-
"page": "rp_ZK89ba_page",
|
|
13232
|
-
"editTitle": "rp_ZK89ba_editTitle",
|
|
13233
|
-
"row": "rp_ZK89ba_row",
|
|
13234
|
-
"title": "rp_ZK89ba_title",
|
|
13235
|
-
"error": "rp_ZK89ba_error",
|
|
13236
|
-
"ok": "rp_ZK89ba_ok",
|
|
13237
|
-
"field": "rp_ZK89ba_field",
|
|
13238
13358
|
"grid": "rp_ZK89ba_grid",
|
|
13239
13359
|
"actions": "rp_ZK89ba_actions",
|
|
13360
|
+
"name": "rp_ZK89ba_name",
|
|
13240
13361
|
"head": "rp_ZK89ba_head",
|
|
13241
|
-
"area": "rp_ZK89ba_area",
|
|
13242
|
-
"toolbar": "rp_ZK89ba_toolbar",
|
|
13243
13362
|
"editHeader": "rp_ZK89ba_editHeader",
|
|
13244
|
-
"
|
|
13245
|
-
"editBody": "rp_ZK89ba_editBody",
|
|
13363
|
+
"label": "rp_ZK89ba_label",
|
|
13246
13364
|
"cardActions": "rp_ZK89ba_cardActions",
|
|
13247
|
-
"
|
|
13248
|
-
"
|
|
13249
|
-
"
|
|
13250
|
-
"name": "rp_ZK89ba_name",
|
|
13251
|
-
"sectionTitle": "rp_ZK89ba_sectionTitle",
|
|
13365
|
+
"card": "rp_ZK89ba_card",
|
|
13366
|
+
"title": "rp_ZK89ba_title",
|
|
13367
|
+
"form": "rp_ZK89ba_form",
|
|
13252
13368
|
"section": "rp_ZK89ba_section",
|
|
13369
|
+
"field": "rp_ZK89ba_field",
|
|
13370
|
+
"warning": "rp_ZK89ba_warning",
|
|
13371
|
+
"count": "rp_ZK89ba_count",
|
|
13372
|
+
"row": "rp_ZK89ba_row",
|
|
13373
|
+
"toolbar": "rp_ZK89ba_toolbar",
|
|
13374
|
+
"page": "rp_ZK89ba_page",
|
|
13375
|
+
"area": "rp_ZK89ba_area",
|
|
13376
|
+
"message": "rp_ZK89ba_message",
|
|
13377
|
+
"viewport": "rp_ZK89ba_viewport",
|
|
13378
|
+
"error": "rp_ZK89ba_error",
|
|
13379
|
+
"help": "rp_ZK89ba_help",
|
|
13380
|
+
"meta": "rp_ZK89ba_meta",
|
|
13381
|
+
"editTitle": "rp_ZK89ba_editTitle",
|
|
13382
|
+
"ok": "rp_ZK89ba_ok",
|
|
13383
|
+
"editBody": "rp_ZK89ba_editBody",
|
|
13253
13384
|
"input": "rp_ZK89ba_input",
|
|
13254
|
-
"
|
|
13255
|
-
"
|
|
13256
|
-
"form": "rp_ZK89ba_form",
|
|
13257
|
-
"label": "rp_ZK89ba_label",
|
|
13258
|
-
"description": "rp_ZK89ba_description"
|
|
13385
|
+
"description": "rp_ZK89ba_description",
|
|
13386
|
+
"sectionTitle": "rp_ZK89ba_sectionTitle"
|
|
13259
13387
|
};
|
|
13260
13388
|
//#endregion
|
|
13261
13389
|
//#region src/client/pages/presets/PresetEditor.tsx
|
|
@@ -14318,8 +14446,8 @@ window.__ModuleLoader__.load({
|
|
|
14318
14446
|
}
|
|
14319
14447
|
tag$18.textContent = css$18;
|
|
14320
14448
|
var Pager_module_css_default = {
|
|
14321
|
-
"
|
|
14322
|
-
"
|
|
14449
|
+
"pager": "rp_KBAD0W_pager",
|
|
14450
|
+
"position": "rp_KBAD0W_position"
|
|
14323
14451
|
};
|
|
14324
14452
|
//#endregion
|
|
14325
14453
|
//#region src/client/widgets/pager/Pager.tsx
|
|
@@ -14393,9 +14521,9 @@ window.__ModuleLoader__.load({
|
|
|
14393
14521
|
tag$16.textContent = css$16;
|
|
14394
14522
|
var DeleteSessionDialog_module_css_default = {
|
|
14395
14523
|
"question": "rp_FifHrW_question",
|
|
14524
|
+
"body": "rp_FifHrW_body",
|
|
14396
14525
|
"choice": "rp_FifHrW_choice",
|
|
14397
14526
|
"error": "rp_FifHrW_error",
|
|
14398
|
-
"body": "rp_FifHrW_body",
|
|
14399
14527
|
"warning": "rp_FifHrW_warning"
|
|
14400
14528
|
};
|
|
14401
14529
|
//#endregion
|
|
@@ -14534,28 +14662,28 @@ window.__ModuleLoader__.load({
|
|
|
14534
14662
|
}
|
|
14535
14663
|
tag$15.textContent = css$15;
|
|
14536
14664
|
var SessionsPage_module_css_default = {
|
|
14537
|
-
"scrolls": "rp_24z4eW_scrolls",
|
|
14538
|
-
"badge": "rp_24z4eW_badge",
|
|
14539
|
-
"worldColumn": "rp_24z4eW_worldColumn",
|
|
14540
14665
|
"spinning": "rp_24z4eW_spinning",
|
|
14541
|
-
"actions": "rp_24z4eW_actions",
|
|
14542
|
-
"notice": "rp_24z4eW_notice",
|
|
14543
|
-
"page": "rp_24z4eW_page",
|
|
14544
|
-
"actionsColumn": "rp_24z4eW_actionsColumn",
|
|
14545
|
-
"nameColumn": "rp_24z4eW_nameColumn",
|
|
14546
|
-
"name": "rp_24z4eW_name",
|
|
14547
|
-
"fits": "rp_24z4eW_fits",
|
|
14548
|
-
"table": "rp_24z4eW_table",
|
|
14549
14666
|
"toolbar": "rp_24z4eW_toolbar",
|
|
14550
|
-
"
|
|
14667
|
+
"spin": "rp_24z4eW_spin",
|
|
14551
14668
|
"count": "rp_24z4eW_count",
|
|
14552
|
-
"
|
|
14669
|
+
"worldColumn": "rp_24z4eW_worldColumn",
|
|
14670
|
+
"viewport": "rp_24z4eW_viewport",
|
|
14671
|
+
"page": "rp_24z4eW_page",
|
|
14553
14672
|
"secondary": "rp_24z4eW_secondary",
|
|
14554
14673
|
"number": "rp_24z4eW_number",
|
|
14555
|
-
"
|
|
14556
|
-
"
|
|
14674
|
+
"actions": "rp_24z4eW_actions",
|
|
14675
|
+
"badge": "rp_24z4eW_badge",
|
|
14676
|
+
"actionsColumn": "rp_24z4eW_actionsColumn",
|
|
14677
|
+
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
14678
|
+
"scrolls": "rp_24z4eW_scrolls",
|
|
14679
|
+
"table": "rp_24z4eW_table",
|
|
14557
14680
|
"message": "rp_24z4eW_message",
|
|
14558
|
-
"
|
|
14681
|
+
"name": "rp_24z4eW_name",
|
|
14682
|
+
"nameColumn": "rp_24z4eW_nameColumn",
|
|
14683
|
+
"fits": "rp_24z4eW_fits",
|
|
14684
|
+
"timeColumn": "rp_24z4eW_timeColumn",
|
|
14685
|
+
"archived": "rp_24z4eW_archived",
|
|
14686
|
+
"notice": "rp_24z4eW_notice"
|
|
14559
14687
|
};
|
|
14560
14688
|
//#endregion
|
|
14561
14689
|
//#region src/client/pages/sessions/SessionsPage.tsx
|
|
@@ -15174,21 +15302,21 @@ window.__ModuleLoader__.load({
|
|
|
15174
15302
|
}
|
|
15175
15303
|
tag$14.textContent = css$14;
|
|
15176
15304
|
var SyncPage_module_css_default = {
|
|
15305
|
+
"meta": "rp_Gk-byG_meta",
|
|
15306
|
+
"choices": "rp_Gk-byG_choices",
|
|
15307
|
+
"unit": "rp_Gk-byG_unit",
|
|
15177
15308
|
"detail": "rp_Gk-byG_detail",
|
|
15178
|
-
"actions": "rp_Gk-byG_actions",
|
|
15179
|
-
"confirmation": "rp_Gk-byG_confirmation",
|
|
15180
|
-
"error": "rp_Gk-byG_error",
|
|
15181
|
-
"page": "rp_Gk-byG_page",
|
|
15182
|
-
"message": "rp_Gk-byG_message",
|
|
15183
|
-
"conflict": "rp_Gk-byG_conflict",
|
|
15184
15309
|
"problem": "rp_Gk-byG_problem",
|
|
15310
|
+
"error": "rp_Gk-byG_error",
|
|
15185
15311
|
"table": "rp_Gk-byG_table",
|
|
15312
|
+
"message": "rp_Gk-byG_message",
|
|
15186
15313
|
"failed": "rp_Gk-byG_failed",
|
|
15187
|
-
"
|
|
15314
|
+
"conflict": "rp_Gk-byG_conflict",
|
|
15315
|
+
"confirmation": "rp_Gk-byG_confirmation",
|
|
15316
|
+
"page": "rp_Gk-byG_page",
|
|
15188
15317
|
"viewport": "rp_Gk-byG_viewport",
|
|
15189
|
-
"
|
|
15190
|
-
"toolbar": "rp_Gk-byG_toolbar"
|
|
15191
|
-
"meta": "rp_Gk-byG_meta"
|
|
15318
|
+
"actions": "rp_Gk-byG_actions",
|
|
15319
|
+
"toolbar": "rp_Gk-byG_toolbar"
|
|
15192
15320
|
};
|
|
15193
15321
|
//#endregion
|
|
15194
15322
|
//#region src/client/pages/sync/SyncPage.tsx
|
|
@@ -15668,16 +15796,16 @@ window.__ModuleLoader__.load({
|
|
|
15668
15796
|
}
|
|
15669
15797
|
tag$13.textContent = css$13;
|
|
15670
15798
|
var WorldCard_module_css_default = {
|
|
15671
|
-
"placeholder": "rp_Bvxx5q_placeholder",
|
|
15672
|
-
"play": "rp_Bvxx5q_play",
|
|
15673
|
-
"tags": "rp_Bvxx5q_tags",
|
|
15674
15799
|
"image": "rp_Bvxx5q_image",
|
|
15800
|
+
"info": "rp_Bvxx5q_info",
|
|
15801
|
+
"tags": "rp_Bvxx5q_tags",
|
|
15675
15802
|
"tag": "rp_Bvxx5q_tag",
|
|
15676
|
-
"card": "rp_Bvxx5q_card",
|
|
15677
|
-
"openButton": "rp_Bvxx5q_openButton",
|
|
15678
15803
|
"name": "rp_Bvxx5q_name",
|
|
15679
15804
|
"cover": "rp_Bvxx5q_cover",
|
|
15680
|
-
"
|
|
15805
|
+
"openButton": "rp_Bvxx5q_openButton",
|
|
15806
|
+
"play": "rp_Bvxx5q_play",
|
|
15807
|
+
"card": "rp_Bvxx5q_card",
|
|
15808
|
+
"placeholder": "rp_Bvxx5q_placeholder"
|
|
15681
15809
|
};
|
|
15682
15810
|
//#endregion
|
|
15683
15811
|
//#region src/client/widgets/world-card/WorldCard.tsx
|
|
@@ -15771,9 +15899,9 @@ window.__ModuleLoader__.load({
|
|
|
15771
15899
|
}
|
|
15772
15900
|
tag$12.textContent = css$12;
|
|
15773
15901
|
var AvatarChoices_module_css_default = {
|
|
15902
|
+
"option": "rp_YCstOG_option",
|
|
15774
15903
|
"text": "rp_YCstOG_text",
|
|
15775
15904
|
"summary": "rp_YCstOG_summary",
|
|
15776
|
-
"option": "rp_YCstOG_option",
|
|
15777
15905
|
"name": "rp_YCstOG_name"
|
|
15778
15906
|
};
|
|
15779
15907
|
//#endregion
|
|
@@ -15815,17 +15943,17 @@ window.__ModuleLoader__.load({
|
|
|
15815
15943
|
tag$11.textContent = css$11;
|
|
15816
15944
|
var StartSessionDialog_module_css_default = {
|
|
15817
15945
|
"form": "rp_AnbLKG_form",
|
|
15946
|
+
"optionText": "rp_AnbLKG_optionText",
|
|
15818
15947
|
"field": "rp_AnbLKG_field",
|
|
15819
|
-
"
|
|
15948
|
+
"optionName": "rp_AnbLKG_optionName",
|
|
15820
15949
|
"message": "rp_AnbLKG_message",
|
|
15821
|
-
"
|
|
15950
|
+
"advanced": "rp_AnbLKG_advanced",
|
|
15951
|
+
"advancedToggle": "rp_AnbLKG_advancedToggle",
|
|
15822
15952
|
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
15823
|
-
"
|
|
15824
|
-
"optionName": "rp_AnbLKG_optionName",
|
|
15953
|
+
"option": "rp_AnbLKG_option",
|
|
15825
15954
|
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
15826
|
-
"optionText": "rp_AnbLKG_optionText",
|
|
15827
15955
|
"label": "rp_AnbLKG_label",
|
|
15828
|
-
"
|
|
15956
|
+
"error": "rp_AnbLKG_error"
|
|
15829
15957
|
};
|
|
15830
15958
|
//#endregion
|
|
15831
15959
|
//#region src/client/pages/worlds/AddAvatarsDialog.tsx
|
|
@@ -16989,14 +17117,14 @@ window.__ModuleLoader__.load({
|
|
|
16989
17117
|
}
|
|
16990
17118
|
tag$10.textContent = css$10;
|
|
16991
17119
|
var SettingsFields_module_css_default = {
|
|
16992
|
-
"
|
|
17120
|
+
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
16993
17121
|
"row": "rp_Rhi3yq_row",
|
|
16994
17122
|
"group": "rp_Rhi3yq_group",
|
|
16995
|
-
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
16996
17123
|
"label": "rp_Rhi3yq_label",
|
|
16997
|
-
"field": "rp_Rhi3yq_field",
|
|
16998
17124
|
"help": "rp_Rhi3yq_help",
|
|
16999
|
-
"
|
|
17125
|
+
"error": "rp_Rhi3yq_error",
|
|
17126
|
+
"area": "rp_Rhi3yq_area",
|
|
17127
|
+
"field": "rp_Rhi3yq_field"
|
|
17000
17128
|
};
|
|
17001
17129
|
//#endregion
|
|
17002
17130
|
//#region src/client/settings-form/SettingsFields.tsx
|
|
@@ -17195,14 +17323,15 @@ window.__ModuleLoader__.load({
|
|
|
17195
17323
|
body: file
|
|
17196
17324
|
}));
|
|
17197
17325
|
}
|
|
17198
|
-
async function startImport(id, choices, language) {
|
|
17326
|
+
async function startImport(id, choices, language, update) {
|
|
17199
17327
|
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/start?id=${encodeURIComponent(id)}`, {
|
|
17200
17328
|
method: "POST",
|
|
17201
17329
|
credentials: "same-origin",
|
|
17202
17330
|
headers: { "content-type": "application/json" },
|
|
17203
17331
|
body: JSON.stringify({
|
|
17204
17332
|
...choices,
|
|
17205
|
-
language
|
|
17333
|
+
language,
|
|
17334
|
+
...update === void 0 ? {} : { update }
|
|
17206
17335
|
})
|
|
17207
17336
|
}));
|
|
17208
17337
|
}
|
|
@@ -17212,6 +17341,17 @@ window.__ModuleLoader__.load({
|
|
|
17212
17341
|
credentials: "same-origin"
|
|
17213
17342
|
});
|
|
17214
17343
|
}
|
|
17344
|
+
/** Whether a world can be updated from a newer card, and whether its last update can be undone. */
|
|
17345
|
+
async function updateStatus(worldId) {
|
|
17346
|
+
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/update?id=${encodeURIComponent(worldId)}`, { credentials: "same-origin" }));
|
|
17347
|
+
}
|
|
17348
|
+
/** Returns a world to what it was before its last card update; the answer says where what it held is kept. */
|
|
17349
|
+
async function revertUpdate(worldId) {
|
|
17350
|
+
return await answer$1(await fetch(`${API_PREFIX}/worlds/import/update?id=${encodeURIComponent(worldId)}`, {
|
|
17351
|
+
method: "DELETE",
|
|
17352
|
+
credentials: "same-origin"
|
|
17353
|
+
}));
|
|
17354
|
+
}
|
|
17215
17355
|
//#endregion
|
|
17216
17356
|
//#region src/client/pages/worlds/translate-api.ts
|
|
17217
17357
|
/** The language a world is written in, or nothing when it has too little text to tell. */
|
|
@@ -17251,8 +17391,8 @@ window.__ModuleLoader__.load({
|
|
|
17251
17391
|
tag$9.textContent = css$9;
|
|
17252
17392
|
var TranslateBanner_module_css_default = {
|
|
17253
17393
|
"error": "rp_Lx8vJa_error",
|
|
17254
|
-
"
|
|
17255
|
-
"
|
|
17394
|
+
"text": "rp_Lx8vJa_text",
|
|
17395
|
+
"banner": "rp_Lx8vJa_banner"
|
|
17256
17396
|
};
|
|
17257
17397
|
//#endregion
|
|
17258
17398
|
//#region src/client/pages/worlds/TranslateBanner.tsx
|
|
@@ -17843,25 +17983,25 @@ window.__ModuleLoader__.load({
|
|
|
17843
17983
|
}
|
|
17844
17984
|
tag$8.textContent = css$8;
|
|
17845
17985
|
var WorldsPage_module_css_default = {
|
|
17846
|
-
"
|
|
17847
|
-
"
|
|
17848
|
-
"notice": "rp_FHUyRq_notice",
|
|
17849
|
-
"scrolls": "rp_FHUyRq_scrolls",
|
|
17850
|
-
"authorButton": "rp_FHUyRq_authorButton",
|
|
17851
|
-
"starters": "rp_FHUyRq_starters",
|
|
17852
|
-
"toolbar": "rp_FHUyRq_toolbar",
|
|
17986
|
+
"count": "rp_FHUyRq_count",
|
|
17987
|
+
"message": "rp_FHUyRq_message",
|
|
17853
17988
|
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
17854
|
-
"
|
|
17855
|
-
"spinning": "rp_FHUyRq_spinning",
|
|
17989
|
+
"editBody": "rp_FHUyRq_editBody",
|
|
17856
17990
|
"cell": "rp_FHUyRq_cell",
|
|
17991
|
+
"page": "rp_FHUyRq_page",
|
|
17992
|
+
"spin": "rp_FHUyRq_spin",
|
|
17857
17993
|
"fits": "rp_FHUyRq_fits",
|
|
17858
|
-
"
|
|
17994
|
+
"grid": "rp_FHUyRq_grid",
|
|
17995
|
+
"toolbar": "rp_FHUyRq_toolbar",
|
|
17859
17996
|
"editHeader": "rp_FHUyRq_editHeader",
|
|
17997
|
+
"spinning": "rp_FHUyRq_spinning",
|
|
17998
|
+
"scrolls": "rp_FHUyRq_scrolls",
|
|
17999
|
+
"authorButton": "rp_FHUyRq_authorButton",
|
|
18000
|
+
"editTitle": "rp_FHUyRq_editTitle",
|
|
17860
18001
|
"starter": "rp_FHUyRq_starter",
|
|
17861
|
-
"count": "rp_FHUyRq_count",
|
|
17862
|
-
"grid": "rp_FHUyRq_grid",
|
|
17863
18002
|
"viewport": "rp_FHUyRq_viewport",
|
|
17864
|
-
"
|
|
18003
|
+
"notice": "rp_FHUyRq_notice",
|
|
18004
|
+
"starters": "rp_FHUyRq_starters"
|
|
17865
18005
|
};
|
|
17866
18006
|
//#endregion
|
|
17867
18007
|
//#region src/client/pages/worlds/StarterWorlds.tsx
|
|
@@ -17919,6 +18059,46 @@ window.__ModuleLoader__.load({
|
|
|
17919
18059
|
});
|
|
17920
18060
|
}
|
|
17921
18061
|
//#endregion
|
|
18062
|
+
//#region src/client/pages/worlds/RevertUpdateDialog.tsx
|
|
18063
|
+
/** Asks before a world goes back to how it was before its last card update. */
|
|
18064
|
+
function RevertUpdateDialog({ t, revert, onDone, onClose }) {
|
|
18065
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
18066
|
+
const [error, setError] = (0, react.useState)();
|
|
18067
|
+
const confirm = () => {
|
|
18068
|
+
setBusy(true);
|
|
18069
|
+
setError(void 0);
|
|
18070
|
+
revert().then((done) => {
|
|
18071
|
+
onDone(done.keptIn);
|
|
18072
|
+
}, (failure) => {
|
|
18073
|
+
setBusy(false);
|
|
18074
|
+
setError(t("revertFailed", { message: failure instanceof Error ? failure.message : String(failure) }));
|
|
18075
|
+
});
|
|
18076
|
+
};
|
|
18077
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
18078
|
+
open: true,
|
|
18079
|
+
onClose,
|
|
18080
|
+
title: t("revertTitle"),
|
|
18081
|
+
description: t("revertHelp"),
|
|
18082
|
+
closeLabel: t("close"),
|
|
18083
|
+
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18084
|
+
variant: "ghost",
|
|
18085
|
+
disabled: busy,
|
|
18086
|
+
onClick: onClose,
|
|
18087
|
+
children: t("cancel")
|
|
18088
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18089
|
+
variant: "primary",
|
|
18090
|
+
disabled: busy,
|
|
18091
|
+
onClick: confirm,
|
|
18092
|
+
children: busy ? t("reverting") : t("revertConfirm")
|
|
18093
|
+
})] }),
|
|
18094
|
+
children: error !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18095
|
+
className: StartSessionDialog_module_css_default.error,
|
|
18096
|
+
role: "alert",
|
|
18097
|
+
children: error
|
|
18098
|
+
})
|
|
18099
|
+
});
|
|
18100
|
+
}
|
|
18101
|
+
//#endregion
|
|
17922
18102
|
//#region src/client/pages/worlds/WorldsPage.tsx
|
|
17923
18103
|
/** The worlds, one page of cards at a time. */
|
|
17924
18104
|
function WorldsPage({ t, useWorlds, load, refresh, openStartDialog, closeStartDialog, startSession, dismissStarted, openAuthoring, openChat }) {
|
|
@@ -17931,6 +18111,11 @@ window.__ModuleLoader__.load({
|
|
|
17931
18111
|
const [addingAvatars, setAddingAvatars] = (0, react.useState)(false);
|
|
17932
18112
|
const [editorVersion, setEditorVersion] = (0, react.useState)(0);
|
|
17933
18113
|
const [importing, setImporting] = (0, react.useState)();
|
|
18114
|
+
const [updating, setUpdating] = (0, react.useState)();
|
|
18115
|
+
const [cardStatus, setCardStatus] = (0, react.useState)();
|
|
18116
|
+
const [reverting, setReverting] = (0, react.useState)(false);
|
|
18117
|
+
const updatePicker = (0, react.useRef)(null);
|
|
18118
|
+
const [updateBusy, setUpdateBusy] = (0, react.useState)(false);
|
|
17934
18119
|
const [uploading, setUploading] = (0, react.useState)(false);
|
|
17935
18120
|
const [importNotice, setImportNotice] = (0, react.useState)();
|
|
17936
18121
|
const picker = (0, react.useRef)(null);
|
|
@@ -17942,6 +18127,21 @@ window.__ModuleLoader__.load({
|
|
|
17942
18127
|
(0, react.useEffect)(() => {
|
|
17943
18128
|
load();
|
|
17944
18129
|
}, [load]);
|
|
18130
|
+
(0, react.useEffect)(() => {
|
|
18131
|
+
setCardStatus(void 0);
|
|
18132
|
+
if (editing === void 0) return;
|
|
18133
|
+
let current = true;
|
|
18134
|
+
updateStatus(editing.id).then((status) => {
|
|
18135
|
+
if (current) setCardStatus(status);
|
|
18136
|
+
}, () => void 0);
|
|
18137
|
+
return () => {
|
|
18138
|
+
current = false;
|
|
18139
|
+
};
|
|
18140
|
+
}, [
|
|
18141
|
+
editing?.id,
|
|
18142
|
+
editorVersion,
|
|
18143
|
+
importing === void 0
|
|
18144
|
+
]);
|
|
17945
18145
|
const worlds = state.payload?.worlds ?? [];
|
|
17946
18146
|
const start = pageStart(requestedStart, worlds.length, pageSize);
|
|
17947
18147
|
const pages = pageCount(worlds.length, pageSize);
|
|
@@ -17963,6 +18163,24 @@ window.__ModuleLoader__.load({
|
|
|
17963
18163
|
setImportNotice(t("importUploadFailed", { message: failure instanceof Error ? failure.message : String(failure) }));
|
|
17964
18164
|
});
|
|
17965
18165
|
};
|
|
18166
|
+
const chooseUpdateCard = (world, file) => {
|
|
18167
|
+
if (file === void 0) return;
|
|
18168
|
+
setUpdateBusy(true);
|
|
18169
|
+
setPresetNotice(void 0);
|
|
18170
|
+
uploadCard(file).then((preview) => {
|
|
18171
|
+
setUpdateBusy(false);
|
|
18172
|
+
if (preview.targets?.some((target) => target.worldId === world) !== true) {
|
|
18173
|
+
discardImport(preview.id);
|
|
18174
|
+
setPresetNotice(t("updateNotFromCard"));
|
|
18175
|
+
return;
|
|
18176
|
+
}
|
|
18177
|
+
setUpdating(world);
|
|
18178
|
+
setImporting(preview);
|
|
18179
|
+
}, (failure) => {
|
|
18180
|
+
setUpdateBusy(false);
|
|
18181
|
+
setPresetNotice(t("importUploadFailed", { message: failure instanceof Error ? failure.message : String(failure) }));
|
|
18182
|
+
});
|
|
18183
|
+
};
|
|
17966
18184
|
const choosePreset = (world, file) => {
|
|
17967
18185
|
if (file === void 0) return;
|
|
17968
18186
|
setPresetBusy(true);
|
|
@@ -17984,13 +18202,16 @@ window.__ModuleLoader__.load({
|
|
|
17984
18202
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImportCard, {
|
|
17985
18203
|
t,
|
|
17986
18204
|
preview: importing,
|
|
17987
|
-
|
|
18205
|
+
...updating === void 0 ? {} : { initialUpdate: updating },
|
|
18206
|
+
start: (choices, update) => startImport(importing.id, choices, t("language"), update),
|
|
17988
18207
|
discard: () => discardImport(importing.id),
|
|
17989
18208
|
onCancelled: () => {
|
|
17990
18209
|
setImporting(void 0);
|
|
18210
|
+
setUpdating(void 0);
|
|
17991
18211
|
},
|
|
17992
18212
|
onStarted: (chat, started) => {
|
|
17993
18213
|
setImporting(void 0);
|
|
18214
|
+
setUpdating(void 0);
|
|
17994
18215
|
refresh();
|
|
17995
18216
|
if (!started) setImportNotice(t("importNotStarted"));
|
|
17996
18217
|
openChat(chat);
|
|
@@ -18017,6 +18238,34 @@ window.__ModuleLoader__.load({
|
|
|
18017
18238
|
className: WorldsPage_module_css_default.editTitle,
|
|
18018
18239
|
children: editing.name
|
|
18019
18240
|
}),
|
|
18241
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
18242
|
+
ref: updatePicker,
|
|
18243
|
+
type: "file",
|
|
18244
|
+
accept: ".png,.json,image/png,application/json",
|
|
18245
|
+
hidden: true,
|
|
18246
|
+
"data-testid": "roleplay-update-input",
|
|
18247
|
+
onChange: (event) => {
|
|
18248
|
+
chooseUpdateCard(editing.id, event.target.files?.[0]);
|
|
18249
|
+
event.target.value = "";
|
|
18250
|
+
}
|
|
18251
|
+
}),
|
|
18252
|
+
cardStatus?.fromCard === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18253
|
+
variant: "outline",
|
|
18254
|
+
size: "sm",
|
|
18255
|
+
disabled: updateBusy,
|
|
18256
|
+
onClick: () => {
|
|
18257
|
+
updatePicker.current?.click();
|
|
18258
|
+
},
|
|
18259
|
+
children: updateBusy ? t("updateReading") : t("updateFromCard")
|
|
18260
|
+
}),
|
|
18261
|
+
cardStatus?.revertible === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18262
|
+
variant: "outline",
|
|
18263
|
+
size: "sm",
|
|
18264
|
+
onClick: () => {
|
|
18265
|
+
setReverting(true);
|
|
18266
|
+
},
|
|
18267
|
+
children: t("revertUpdate")
|
|
18268
|
+
}),
|
|
18020
18269
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
18021
18270
|
ref: presetPicker,
|
|
18022
18271
|
type: "file",
|
|
@@ -18091,6 +18340,19 @@ window.__ModuleLoader__.load({
|
|
|
18091
18340
|
worldName: editing.name,
|
|
18092
18341
|
openChat
|
|
18093
18342
|
}),
|
|
18343
|
+
reverting && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RevertUpdateDialog, {
|
|
18344
|
+
t,
|
|
18345
|
+
onClose: () => {
|
|
18346
|
+
setReverting(false);
|
|
18347
|
+
},
|
|
18348
|
+
revert: () => revertUpdate(editing.id),
|
|
18349
|
+
onDone: (keptIn) => {
|
|
18350
|
+
setReverting(false);
|
|
18351
|
+
setPresetNotice(t("revertDone", { folder: keptIn }));
|
|
18352
|
+
setEditorVersion((version) => version + 1);
|
|
18353
|
+
refresh();
|
|
18354
|
+
}
|
|
18355
|
+
}),
|
|
18094
18356
|
addingAvatars && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AddAvatarsDialog, {
|
|
18095
18357
|
t,
|
|
18096
18358
|
worldId: editing.id,
|
|
@@ -18750,6 +19012,16 @@ window.__ModuleLoader__.load({
|
|
|
18750
19012
|
worldPresetNone: "None",
|
|
18751
19013
|
worldPresetHelp: "Writing instructions from your library for new stories of this world. It can be changed later in the editor.",
|
|
18752
19014
|
createWorldFailed: "Could not create the world: {message}",
|
|
19015
|
+
updateFromCard: "Update from card",
|
|
19016
|
+
updateReading: "Reading the card…",
|
|
19017
|
+
updateNotFromCard: "This world was not made from a character card, so a card cannot update it.",
|
|
19018
|
+
revertUpdate: "Undo card update",
|
|
19019
|
+
revertTitle: "Undo the last card update?",
|
|
19020
|
+
revertHelp: "The world goes back to how it was before the update, including the card it was made from. What it holds now is kept in the world's .trash folder, so changes you made since can still be found. Pictures are not part of this.",
|
|
19021
|
+
revertConfirm: "Undo the update",
|
|
19022
|
+
reverting: "Undoing…",
|
|
19023
|
+
revertFailed: "Could not undo the update: {message}",
|
|
19024
|
+
revertDone: "The world is back to how it was before the update. What it held is in {folder}.",
|
|
18753
19025
|
importPreset: "Import narration preset",
|
|
18754
19026
|
presetVerbatim: "Put the chosen prompts of \"{name}\" into the world as its narration style, word for word. Check them in the Prompts section.",
|
|
18755
19027
|
presetVerbatimReplaced: "Put the chosen prompts of \"{name}\" into the world as its narration style, word for word. The style it had before is in the world's trash folder. Check the new one in the Prompts section.",
|
|
@@ -18844,6 +19116,16 @@ window.__ModuleLoader__.load({
|
|
|
18844
19116
|
worldPresetNone: "无",
|
|
18845
19117
|
worldPresetHelp: "库中的写作指令,供这个世界的新故事使用;之后可在编辑器中修改。",
|
|
18846
19118
|
createWorldFailed: "无法创建世界:{message}",
|
|
19119
|
+
updateFromCard: "用角色卡更新",
|
|
19120
|
+
updateReading: "正在读取角色卡…",
|
|
19121
|
+
updateNotFromCard: "这个世界不是由角色卡导入的,无法用角色卡更新。",
|
|
19122
|
+
revertUpdate: "撤销卡片更新",
|
|
19123
|
+
revertTitle: "撤销上一次卡片更新?",
|
|
19124
|
+
revertHelp: "世界会回到更新之前的样子,包括它所依据的角色卡。现在的内容会保存在世界的 .trash 文件夹里,之后做的修改仍然可以找回。图片不在撤销范围内。",
|
|
19125
|
+
revertConfirm: "撤销更新",
|
|
19126
|
+
reverting: "正在撤销…",
|
|
19127
|
+
revertFailed: "无法撤销更新:{message}",
|
|
19128
|
+
revertDone: "世界已回到更新之前的样子。原来的内容保存在 {folder}。",
|
|
18847
19129
|
importPreset: "导入叙述预设",
|
|
18848
19130
|
presetVerbatim: "已将“{name}”所选提示原文放入世界,作为它的叙述风格。请在“提示词”部分检查。",
|
|
18849
19131
|
presetVerbatimReplaced: "已将“{name}”所选提示原文放入世界,作为它的叙述风格。原来的风格保存在世界的回收文件夹里。请在“提示词”部分检查新的风格。",
|
|
@@ -19247,10 +19529,10 @@ window.__ModuleLoader__.load({
|
|
|
19247
19529
|
}
|
|
19248
19530
|
tag$7.textContent = css$7;
|
|
19249
19531
|
var BranchDialog_module_css_default = {
|
|
19532
|
+
"field": "rp_Dy1TaW_field",
|
|
19250
19533
|
"label": "rp_Dy1TaW_label",
|
|
19251
19534
|
"error": "rp_Dy1TaW_error",
|
|
19252
|
-
"form": "rp_Dy1TaW_form"
|
|
19253
|
-
"field": "rp_Dy1TaW_field"
|
|
19535
|
+
"form": "rp_Dy1TaW_form"
|
|
19254
19536
|
};
|
|
19255
19537
|
//#endregion
|
|
19256
19538
|
//#region src/client/branch/BranchDialog.tsx
|
|
@@ -19719,17 +20001,17 @@ window.__ModuleLoader__.load({
|
|
|
19719
20001
|
}
|
|
19720
20002
|
tag$6.textContent = css$6;
|
|
19721
20003
|
var SidebarPage_module_css_default = {
|
|
19722
|
-
"description": "rp_Ptco8a_description",
|
|
19723
|
-
"content": "rp_Ptco8a_content",
|
|
19724
|
-
"main": "rp_Ptco8a_main",
|
|
19725
|
-
"message": "rp_Ptco8a_message",
|
|
19726
20004
|
"page": "rp_Ptco8a_page",
|
|
19727
|
-
"
|
|
20005
|
+
"content": "rp_Ptco8a_content",
|
|
19728
20006
|
"name": "rp_Ptco8a_name",
|
|
19729
20007
|
"text": "rp_Ptco8a_text",
|
|
20008
|
+
"entry": "rp_Ptco8a_entry",
|
|
19730
20009
|
"title": "rp_Ptco8a_title",
|
|
20010
|
+
"main": "rp_Ptco8a_main",
|
|
19731
20011
|
"icon": "rp_Ptco8a_icon",
|
|
19732
|
-
"bar": "rp_Ptco8a_bar"
|
|
20012
|
+
"bar": "rp_Ptco8a_bar",
|
|
20013
|
+
"description": "rp_Ptco8a_description",
|
|
20014
|
+
"message": "rp_Ptco8a_message"
|
|
19733
20015
|
};
|
|
19734
20016
|
//#endregion
|
|
19735
20017
|
//#region src/client/interface/SidebarPage.tsx
|
|
@@ -20057,28 +20339,28 @@ window.__ModuleLoader__.load({
|
|
|
20057
20339
|
}
|
|
20058
20340
|
tag$5.textContent = css$5;
|
|
20059
20341
|
var ChatSettingsView_module_css_default = {
|
|
20060
|
-
"
|
|
20061
|
-
"
|
|
20342
|
+
"table": "rp_wLpbxW_table",
|
|
20343
|
+
"description": "rp_wLpbxW_description",
|
|
20344
|
+
"title": "rp_wLpbxW_title",
|
|
20062
20345
|
"notice": "rp_wLpbxW_notice",
|
|
20063
|
-
"
|
|
20346
|
+
"help": "rp_wLpbxW_help",
|
|
20064
20347
|
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
20065
|
-
"
|
|
20066
|
-
"
|
|
20067
|
-
"
|
|
20348
|
+
"select": "rp_wLpbxW_select",
|
|
20349
|
+
"error": "rp_wLpbxW_error",
|
|
20350
|
+
"reasons": "rp_wLpbxW_reasons",
|
|
20351
|
+
"list": "rp_wLpbxW_list",
|
|
20068
20352
|
"pre": "rp_wLpbxW_pre",
|
|
20069
20353
|
"saved": "rp_wLpbxW_saved",
|
|
20070
|
-
"description": "rp_wLpbxW_description",
|
|
20071
|
-
"table": "rp_wLpbxW_table",
|
|
20072
|
-
"help": "rp_wLpbxW_help",
|
|
20073
20354
|
"field": "rp_wLpbxW_field",
|
|
20074
|
-
"
|
|
20075
|
-
"list": "rp_wLpbxW_list",
|
|
20076
|
-
"reasons": "rp_wLpbxW_reasons",
|
|
20355
|
+
"link": "rp_wLpbxW_link",
|
|
20077
20356
|
"label": "rp_wLpbxW_label",
|
|
20078
|
-
"activityBody": "rp_wLpbxW_activityBody",
|
|
20079
|
-
"activity": "rp_wLpbxW_activity",
|
|
20080
20357
|
"view": "rp_wLpbxW_view",
|
|
20081
|
-
"
|
|
20358
|
+
"actions": "rp_wLpbxW_actions",
|
|
20359
|
+
"row": "rp_wLpbxW_row",
|
|
20360
|
+
"activityBody": "rp_wLpbxW_activityBody",
|
|
20361
|
+
"run": "rp_wLpbxW_run",
|
|
20362
|
+
"message": "rp_wLpbxW_message",
|
|
20363
|
+
"activity": "rp_wLpbxW_activity"
|
|
20082
20364
|
};
|
|
20083
20365
|
//#endregion
|
|
20084
20366
|
//#region src/client/chat-settings/settings-api.ts
|
|
@@ -21829,16 +22111,16 @@ window.__ModuleLoader__.load({
|
|
|
21829
22111
|
}
|
|
21830
22112
|
tag$4.textContent = css$4;
|
|
21831
22113
|
var CatalogueSettings_module_css_default = {
|
|
22114
|
+
"row": "rp_KPhXDa_row",
|
|
22115
|
+
"keyArea": "rp_KPhXDa_keyArea",
|
|
21832
22116
|
"section": "rp_KPhXDa_section",
|
|
21833
22117
|
"label": "rp_KPhXDa_label",
|
|
21834
|
-
"
|
|
22118
|
+
"actions": "rp_KPhXDa_actions",
|
|
21835
22119
|
"field": "rp_KPhXDa_field",
|
|
21836
22120
|
"hint": "rp_KPhXDa_hint",
|
|
21837
|
-
"actions": "rp_KPhXDa_actions",
|
|
21838
|
-
"row": "rp_KPhXDa_row",
|
|
21839
|
-
"problem": "rp_KPhXDa_problem",
|
|
21840
22121
|
"keyHint": "rp_KPhXDa_keyHint",
|
|
21841
|
-
"
|
|
22122
|
+
"problem": "rp_KPhXDa_problem",
|
|
22123
|
+
"title": "rp_KPhXDa_title"
|
|
21842
22124
|
};
|
|
21843
22125
|
//#endregion
|
|
21844
22126
|
//#region src/client/settings/AuthoringToolSettings.tsx
|
|
@@ -22057,18 +22339,18 @@ window.__ModuleLoader__.load({
|
|
|
22057
22339
|
}
|
|
22058
22340
|
tag$3.textContent = css$3;
|
|
22059
22341
|
var AssistantSettings_module_css_default = {
|
|
22060
|
-
"
|
|
22061
|
-
"invalid": "rp_ZwzM4q_invalid",
|
|
22062
|
-
"hint": "rp_ZwzM4q_hint",
|
|
22063
|
-
"select": "rp_ZwzM4q_select",
|
|
22064
|
-
"field": "rp_ZwzM4q_field",
|
|
22342
|
+
"reset": "rp_ZwzM4q_reset",
|
|
22065
22343
|
"fields": "rp_ZwzM4q_fields",
|
|
22066
|
-
"
|
|
22344
|
+
"field": "rp_ZwzM4q_field",
|
|
22345
|
+
"select": "rp_ZwzM4q_select",
|
|
22067
22346
|
"title": "rp_ZwzM4q_title",
|
|
22068
|
-
"reset": "rp_ZwzM4q_reset",
|
|
22069
|
-
"badges": "rp_ZwzM4q_badges",
|
|
22070
22347
|
"fieldHint": "rp_ZwzM4q_fieldHint",
|
|
22071
|
-
"
|
|
22348
|
+
"section": "rp_ZwzM4q_section",
|
|
22349
|
+
"head": "rp_ZwzM4q_head",
|
|
22350
|
+
"badges": "rp_ZwzM4q_badges",
|
|
22351
|
+
"hint": "rp_ZwzM4q_hint",
|
|
22352
|
+
"label": "rp_ZwzM4q_label",
|
|
22353
|
+
"invalid": "rp_ZwzM4q_invalid"
|
|
22072
22354
|
};
|
|
22073
22355
|
//#endregion
|
|
22074
22356
|
//#region src/client/settings/AssistantSettings.tsx
|
|
@@ -23349,28 +23631,28 @@ window.__ModuleLoader__.load({
|
|
|
23349
23631
|
}
|
|
23350
23632
|
tag$2.textContent = css$2;
|
|
23351
23633
|
var NarrationView_module_css_default = {
|
|
23352
|
-
"line": "rp_NFPimG_line",
|
|
23353
23634
|
"oocLabel": "rp_NFPimG_oocLabel",
|
|
23354
|
-
"dice": "rp_NFPimG_dice",
|
|
23355
|
-
"name": "rp_NFPimG_name",
|
|
23356
|
-
"words": "rp_NFPimG_words",
|
|
23357
|
-
"speech": "rp_NFPimG_speech",
|
|
23358
|
-
"images": "rp_NFPimG_images",
|
|
23359
|
-
"note": "rp_NFPimG_note",
|
|
23360
|
-
"sceneImage": "rp_NFPimG_sceneImage",
|
|
23361
|
-
"imageButton": "rp_NFPimG_imageButton",
|
|
23362
23635
|
"oocRefused": "rp_NFPimG_oocRefused",
|
|
23363
|
-
"
|
|
23364
|
-
"diceSummary": "rp_NFPimG_diceSummary",
|
|
23365
|
-
"preview": "rp_NFPimG_preview",
|
|
23366
|
-
"playAll": "rp_NFPimG_playAll",
|
|
23367
|
-
"diceList": "rp_NFPimG_diceList",
|
|
23636
|
+
"imageButton": "rp_NFPimG_imageButton",
|
|
23368
23637
|
"imageStatus": "rp_NFPimG_imageStatus",
|
|
23638
|
+
"line": "rp_NFPimG_line",
|
|
23369
23639
|
"output": "rp_NFPimG_output",
|
|
23370
|
-
"oocNote": "rp_NFPimG_oocNote",
|
|
23371
23640
|
"imageError": "rp_NFPimG_imageError",
|
|
23641
|
+
"note": "rp_NFPimG_note",
|
|
23642
|
+
"dice": "rp_NFPimG_dice",
|
|
23643
|
+
"diceSummary": "rp_NFPimG_diceSummary",
|
|
23644
|
+
"sceneImage": "rp_NFPimG_sceneImage",
|
|
23645
|
+
"playAll": "rp_NFPimG_playAll",
|
|
23646
|
+
"playLine": "rp_NFPimG_playLine",
|
|
23647
|
+
"diceList": "rp_NFPimG_diceList",
|
|
23648
|
+
"speech": "rp_NFPimG_speech",
|
|
23649
|
+
"words": "rp_NFPimG_words",
|
|
23650
|
+
"narration": "rp_NFPimG_narration",
|
|
23372
23651
|
"avatar": "rp_NFPimG_avatar",
|
|
23373
|
-
"
|
|
23652
|
+
"name": "rp_NFPimG_name",
|
|
23653
|
+
"images": "rp_NFPimG_images",
|
|
23654
|
+
"preview": "rp_NFPimG_preview",
|
|
23655
|
+
"oocNote": "rp_NFPimG_oocNote"
|
|
23374
23656
|
};
|
|
23375
23657
|
//#endregion
|
|
23376
23658
|
//#region src/client/transcript/PreviewNode.tsx
|
|
@@ -23635,11 +23917,11 @@ window.__ModuleLoader__.load({
|
|
|
23635
23917
|
}
|
|
23636
23918
|
tag$1.textContent = css$1;
|
|
23637
23919
|
var SuggestionsDock_module_css_default = {
|
|
23638
|
-
"chip": "rp_rWH4DG_chip",
|
|
23639
|
-
"card": "rp_rWH4DG_card",
|
|
23640
23920
|
"dock": "rp_rWH4DG_dock",
|
|
23641
|
-
"
|
|
23642
|
-
"
|
|
23921
|
+
"card": "rp_rWH4DG_card",
|
|
23922
|
+
"chip": "rp_rWH4DG_chip",
|
|
23923
|
+
"label": "rp_rWH4DG_label",
|
|
23924
|
+
"lines": "rp_rWH4DG_lines"
|
|
23643
23925
|
};
|
|
23644
23926
|
//#endregion
|
|
23645
23927
|
//#region src/client/transcript/SuggestionsDock.tsx
|
|
@@ -23759,12 +24041,12 @@ window.__ModuleLoader__.load({
|
|
|
23759
24041
|
}
|
|
23760
24042
|
tag.textContent = css;
|
|
23761
24043
|
var TurnsDock_module_css_default = {
|
|
24044
|
+
"dock": "rp_f4YLlq_dock",
|
|
23762
24045
|
"select": "rp_f4YLlq_select",
|
|
23763
|
-
"
|
|
24046
|
+
"count": "rp_f4YLlq_count",
|
|
23764
24047
|
"group": "rp_f4YLlq_group",
|
|
23765
24048
|
"button": "rp_f4YLlq_button",
|
|
23766
|
-
"
|
|
23767
|
-
"count": "rp_f4YLlq_count"
|
|
24049
|
+
"error": "rp_f4YLlq_error"
|
|
23768
24050
|
};
|
|
23769
24051
|
//#endregion
|
|
23770
24052
|
//#region src/client/transcript/withdrawn.ts
|