dsh-openwrite 0.2.8 → 0.2.10
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 +28 -3
- package/docs/DSH_STORE.md +1 -1
- package/docs/INSTALL.md +27 -6
- package/docs/RELEASE_ACCEPTANCE.md +22 -1
- package/package.json +1 -1
- package/packages/openwrite-bridge/lib/domain.js +1 -0
- package/packages/openwrite-bridge/lib/tools.js +6 -0
- package/packages/studio-panel/lib/client.js +649 -497
- package/packages/studio-panel/lib/client.js.map +1 -1
- package/packages/studio-panel/lib/types/client/ProjectMetadataEditor.d.ts +6 -0
- package/packages/studio-panel/lib/types/client/locales.d.ts +1 -1
- package/packages/studio-panel/lib/types/client/packaged-editor-globals.d.ts +8 -0
- package/release/{openwrite-5.8.1-py3-none-any.whl → openwrite-5.8.2-py3-none-any.whl} +0 -0
- package/release/runtime-manifest.json +4 -4
- package/release/source.json +3 -3
|
@@ -29633,10 +29633,10 @@ window.__ModuleLoader__.load({
|
|
|
29633
29633
|
document.head.appendChild(tag);
|
|
29634
29634
|
}
|
|
29635
29635
|
var LaunchOpenWrite_module_css_default = {
|
|
29636
|
+
"primary": "Ll8urG_primary",
|
|
29636
29637
|
"entry": "Ll8urG_entry",
|
|
29637
|
-
"path": "Ll8urG_path",
|
|
29638
29638
|
"dialog": "Ll8urG_dialog",
|
|
29639
|
-
"
|
|
29639
|
+
"path": "Ll8urG_path"
|
|
29640
29640
|
};
|
|
29641
29641
|
//#endregion
|
|
29642
29642
|
//#region src/client/LaunchOpenWrite.tsx
|
|
@@ -36740,6 +36740,42 @@ window.__ModuleLoader__.load({
|
|
|
36740
36740
|
</svg>`);
|
|
36741
36741
|
}
|
|
36742
36742
|
//#endregion
|
|
36743
|
+
//#region src/client/packaged-editor-globals.ts
|
|
36744
|
+
/** Load only the editor resources shipped and served by this plugin. */
|
|
36745
|
+
const resources = {
|
|
36746
|
+
Lute: "/studio-panel/vendor/vditor/dist/js/lute/lute.min.js",
|
|
36747
|
+
VditorI18n: "/studio-panel/vendor/vditor/dist/js/i18n/zh_CN.js"
|
|
36748
|
+
};
|
|
36749
|
+
const pending = /* @__PURE__ */ new Map();
|
|
36750
|
+
function loadPackagedEditorGlobal(name) {
|
|
36751
|
+
const win = window;
|
|
36752
|
+
if (win[name] !== void 0) return Promise.resolve();
|
|
36753
|
+
const current = pending.get(name);
|
|
36754
|
+
if (current) return current;
|
|
36755
|
+
const promise = new Promise((resolve, reject) => {
|
|
36756
|
+
const script = document.createElement("script");
|
|
36757
|
+
script.src = resources[name];
|
|
36758
|
+
script.async = true;
|
|
36759
|
+
script.dataset.openwriteGlobal = name;
|
|
36760
|
+
const finish = (error) => {
|
|
36761
|
+
window.clearTimeout(timer);
|
|
36762
|
+
script.onload = null;
|
|
36763
|
+
script.onerror = null;
|
|
36764
|
+
if (error) {
|
|
36765
|
+
script.remove();
|
|
36766
|
+
reject(error);
|
|
36767
|
+
} else resolve();
|
|
36768
|
+
};
|
|
36769
|
+
const timer = window.setTimeout(() => finish(/* @__PURE__ */ new Error(`studio-panel: ${name} load timed out`)), 2e4);
|
|
36770
|
+
script.onload = () => finish(win[name] === void 0 ? /* @__PURE__ */ new Error(`studio-panel: ${name} did not initialize`) : void 0);
|
|
36771
|
+
script.onerror = () => finish(/* @__PURE__ */ new Error(`studio-panel: failed to load ${name}`));
|
|
36772
|
+
document.head.appendChild(script);
|
|
36773
|
+
});
|
|
36774
|
+
pending.set(name, promise);
|
|
36775
|
+
promise.then(() => pending.delete(name), () => pending.delete(name));
|
|
36776
|
+
return promise;
|
|
36777
|
+
}
|
|
36778
|
+
//#endregion
|
|
36743
36779
|
//#region src/client/manuscript-selection.ts
|
|
36744
36780
|
const SELECTION_POLISH_ACTIONS = [
|
|
36745
36781
|
{
|
|
@@ -38065,262 +38101,262 @@ window.__ModuleLoader__.load({
|
|
|
38065
38101
|
document.head.appendChild(tag);
|
|
38066
38102
|
}
|
|
38067
38103
|
var views_module_css_default = {
|
|
38068
|
-
"
|
|
38069
|
-
"
|
|
38070
|
-
"
|
|
38071
|
-
"
|
|
38072
|
-
"nodeTitle": "hpCk7W_nodeTitle",
|
|
38073
|
-
"dagStructured": "hpCk7W_dagStructured",
|
|
38074
|
-
"primaryButton": "hpCk7W_primaryButton",
|
|
38075
|
-
"foreshadowNode": "hpCk7W_foreshadowNode",
|
|
38076
|
-
"sidebarSegments": "hpCk7W_sidebarSegments",
|
|
38077
|
-
"dagDetailRow": "hpCk7W_dagDetailRow",
|
|
38078
|
-
"sidebarEmpty": "hpCk7W_sidebarEmpty",
|
|
38079
|
-
"dagNode": "hpCk7W_dagNode",
|
|
38080
|
-
"chip": "hpCk7W_chip",
|
|
38081
|
-
"taskReviewMeta": "hpCk7W_taskReviewMeta",
|
|
38082
|
-
"previewHit": "hpCk7W_previewHit",
|
|
38083
|
-
"listBlockLabel": "hpCk7W_listBlockLabel",
|
|
38084
|
-
"taskCardMain": "hpCk7W_taskCardMain",
|
|
38085
|
-
"input": "hpCk7W_input",
|
|
38086
|
-
"assetRowMeta": "hpCk7W_assetRowMeta",
|
|
38087
|
-
"benchmarkResults": "hpCk7W_benchmarkResults",
|
|
38088
|
-
"benchmarkLegacy": "hpCk7W_benchmarkLegacy",
|
|
38089
|
-
"bodyEditor": "hpCk7W_bodyEditor",
|
|
38090
|
-
"taskCardTitle": "hpCk7W_taskCardTitle",
|
|
38091
|
-
"launchPanel": "hpCk7W_launchPanel",
|
|
38092
|
-
"researchSearch": "hpCk7W_researchSearch",
|
|
38093
|
-
"detailHeading": "hpCk7W_detailHeading",
|
|
38094
|
-
"modelActiveStatus": "hpCk7W_modelActiveStatus",
|
|
38095
|
-
"scopeSelect": "hpCk7W_scopeSelect",
|
|
38096
|
-
"benchmarkSummary": "hpCk7W_benchmarkSummary",
|
|
38097
|
-
"linkButton": "hpCk7W_linkButton",
|
|
38098
|
-
"relationshipCanvas": "hpCk7W_relationshipCanvas",
|
|
38099
|
-
"inlineInput": "hpCk7W_inlineInput",
|
|
38100
|
-
"referenceUnits": "hpCk7W_referenceUnits",
|
|
38101
|
-
"derivedOrigin": "hpCk7W_derivedOrigin",
|
|
38102
|
-
"editorLabel": "hpCk7W_editorLabel",
|
|
38103
|
-
"taskIssuePriority": "hpCk7W_taskIssuePriority",
|
|
38104
|
-
"relationNode": "hpCk7W_relationNode",
|
|
38105
|
-
"taskDetailError": "hpCk7W_taskDetailError",
|
|
38106
|
-
"treeItem": "hpCk7W_treeItem",
|
|
38107
|
-
"overlayMark": "hpCk7W_overlayMark",
|
|
38108
|
-
"modelHint": "hpCk7W_modelHint",
|
|
38109
|
-
"nodeActions": "hpCk7W_nodeActions",
|
|
38110
|
-
"tag": "hpCk7W_tag",
|
|
38111
|
-
"derivedRelations": "hpCk7W_derivedRelations",
|
|
38112
|
-
"bodyTextarea": "hpCk7W_bodyTextarea",
|
|
38113
|
-
"modelRouteRow": "hpCk7W_modelRouteRow",
|
|
38114
|
-
"benchmarkSplit": "hpCk7W_benchmarkSplit",
|
|
38115
|
-
"taskList": "hpCk7W_taskList",
|
|
38116
|
-
"scoreChip": "hpCk7W_scoreChip",
|
|
38117
|
-
"vditorFrame": "hpCk7W_vditorFrame",
|
|
38118
|
-
"modelGroup": "hpCk7W_modelGroup",
|
|
38119
|
-
"taskIssueRow": "hpCk7W_taskIssueRow",
|
|
38120
|
-
"benchmarkRun": "hpCk7W_benchmarkRun",
|
|
38121
|
-
"previewPane": "hpCk7W_previewPane",
|
|
38104
|
+
"benchmarkProfiles": "hpCk7W_benchmarkProfiles",
|
|
38105
|
+
"searchResult": "hpCk7W_searchResult",
|
|
38106
|
+
"searchInput": "hpCk7W_searchInput",
|
|
38107
|
+
"derivedName": "hpCk7W_derivedName",
|
|
38122
38108
|
"taskFailure": "hpCk7W_taskFailure",
|
|
38123
|
-
"
|
|
38109
|
+
"detailToolbar": "hpCk7W_detailToolbar",
|
|
38110
|
+
"modelApiKeyInput": "hpCk7W_modelApiKeyInput",
|
|
38111
|
+
"editor": "hpCk7W_editor",
|
|
38124
38112
|
"benchmarkError": "hpCk7W_benchmarkError",
|
|
38125
|
-
"
|
|
38126
|
-
"truthSection": "hpCk7W_truthSection",
|
|
38113
|
+
"derivedArrow": "hpCk7W_derivedArrow",
|
|
38127
38114
|
"truncatedNote": "hpCk7W_truncatedNote",
|
|
38128
|
-
"
|
|
38129
|
-
"
|
|
38130
|
-
"
|
|
38131
|
-
"
|
|
38132
|
-
"
|
|
38133
|
-
"
|
|
38134
|
-
"benchmarkPhases": "hpCk7W_benchmarkPhases",
|
|
38135
|
-
"modelLayout": "hpCk7W_modelLayout",
|
|
38136
|
-
"taskSummaryItem": "hpCk7W_taskSummaryItem",
|
|
38137
|
-
"assetRow": "hpCk7W_assetRow",
|
|
38138
|
-
"kindFilterRow": "hpCk7W_kindFilterRow",
|
|
38115
|
+
"dagWorkspace": "hpCk7W_dagWorkspace",
|
|
38116
|
+
"referenceUnits": "hpCk7W_referenceUnits",
|
|
38117
|
+
"benchmarkResults": "hpCk7W_benchmarkResults",
|
|
38118
|
+
"searchChangePlan": "hpCk7W_searchChangePlan",
|
|
38119
|
+
"modelActions": "hpCk7W_modelActions",
|
|
38120
|
+
"dagDetail": "hpCk7W_dagDetail",
|
|
38139
38121
|
"dagStructuredRow": "hpCk7W_dagStructuredRow",
|
|
38140
|
-
"
|
|
38141
|
-
"
|
|
38142
|
-
"
|
|
38122
|
+
"benchmarkCost": "hpCk7W_benchmarkCost",
|
|
38123
|
+
"assetAliases": "hpCk7W_assetAliases",
|
|
38124
|
+
"sidebar": "hpCk7W_sidebar",
|
|
38143
38125
|
"researchFailure": "hpCk7W_researchFailure",
|
|
38144
|
-
"
|
|
38145
|
-
"
|
|
38146
|
-
"
|
|
38147
|
-
"
|
|
38148
|
-
"
|
|
38149
|
-
"
|
|
38150
|
-
"
|
|
38151
|
-
"derivedName": "hpCk7W_derivedName",
|
|
38152
|
-
"root": "hpCk7W_root",
|
|
38153
|
-
"mainPane": "hpCk7W_mainPane",
|
|
38154
|
-
"dagDomainRow": "hpCk7W_dagDomainRow",
|
|
38126
|
+
"searchResultActive": "hpCk7W_searchResultActive",
|
|
38127
|
+
"modelActiveStatus": "hpCk7W_modelActiveStatus",
|
|
38128
|
+
"paneHeading": "hpCk7W_paneHeading",
|
|
38129
|
+
"dagNode": "hpCk7W_dagNode",
|
|
38130
|
+
"edgeArrow": "hpCk7W_edgeArrow",
|
|
38131
|
+
"conflictNotice": "hpCk7W_conflictNotice",
|
|
38132
|
+
"benchmarkRuns": "hpCk7W_benchmarkRuns",
|
|
38155
38133
|
"graphNodeMeta": "hpCk7W_graphNodeMeta",
|
|
38134
|
+
"searchSnippet": "hpCk7W_searchSnippet",
|
|
38135
|
+
"fieldRow": "hpCk7W_fieldRow",
|
|
38136
|
+
"sidebarSegments": "hpCk7W_sidebarSegments",
|
|
38137
|
+
"inlineActions": "hpCk7W_inlineActions",
|
|
38138
|
+
"modelGroup": "hpCk7W_modelGroup",
|
|
38139
|
+
"taskResult": "hpCk7W_taskResult",
|
|
38140
|
+
"relationFlowNodeShell": "hpCk7W_relationFlowNodeShell",
|
|
38141
|
+
"benchmarkSummary": "hpCk7W_benchmarkSummary",
|
|
38142
|
+
"errorText": "hpCk7W_errorText",
|
|
38143
|
+
"bodyEditor": "hpCk7W_bodyEditor",
|
|
38144
|
+
"taskFields": "hpCk7W_taskFields",
|
|
38145
|
+
"vditorOverlay": "hpCk7W_vditorOverlay",
|
|
38146
|
+
"relationNote": "hpCk7W_relationNote",
|
|
38147
|
+
"detailTitle": "hpCk7W_detailTitle",
|
|
38148
|
+
"detailHeading": "hpCk7W_detailHeading",
|
|
38156
38149
|
"groupChevron": "hpCk7W_groupChevron",
|
|
38157
|
-
"
|
|
38158
|
-
"
|
|
38159
|
-
"
|
|
38160
|
-
"
|
|
38161
|
-
"
|
|
38162
|
-
"
|
|
38150
|
+
"modelEmpty": "hpCk7W_modelEmpty",
|
|
38151
|
+
"taskTime": "hpCk7W_taskTime",
|
|
38152
|
+
"listBlockLabel": "hpCk7W_listBlockLabel",
|
|
38153
|
+
"graphCanvas": "hpCk7W_graphCanvas",
|
|
38154
|
+
"taskIssuePriority": "hpCk7W_taskIssuePriority",
|
|
38155
|
+
"listBlockItems": "hpCk7W_listBlockItems",
|
|
38156
|
+
"graphColumnHeader": "hpCk7W_graphColumnHeader",
|
|
38157
|
+
"benchmarkSection": "hpCk7W_benchmarkSection",
|
|
38158
|
+
"relationBlock": "hpCk7W_relationBlock",
|
|
38159
|
+
"previewPane": "hpCk7W_previewPane",
|
|
38160
|
+
"segmentButton": "hpCk7W_segmentButton",
|
|
38161
|
+
"relationDimmed": "hpCk7W_relationDimmed",
|
|
38162
|
+
"actionButton": "hpCk7W_actionButton",
|
|
38163
|
+
"benchmarkTable": "hpCk7W_benchmarkTable",
|
|
38164
|
+
"nodeSummary": "hpCk7W_nodeSummary",
|
|
38165
|
+
"inlineInput": "hpCk7W_inlineInput",
|
|
38166
|
+
"summaryTextarea": "hpCk7W_summaryTextarea",
|
|
38167
|
+
"detailTitleRow": "hpCk7W_detailTitleRow",
|
|
38168
|
+
"detail": "hpCk7W_detail",
|
|
38169
|
+
"validationBlock": "hpCk7W_validationBlock",
|
|
38170
|
+
"textarea": "hpCk7W_textarea",
|
|
38171
|
+
"relationshipWorkspace": "hpCk7W_relationshipWorkspace",
|
|
38172
|
+
"relationshipStats": "hpCk7W_relationshipStats",
|
|
38173
|
+
"taskIssueText": "hpCk7W_taskIssueText",
|
|
38163
38174
|
"graphFilterRow": "hpCk7W_graphFilterRow",
|
|
38164
|
-
"
|
|
38165
|
-
"
|
|
38175
|
+
"chevronPlaceholder": "hpCk7W_chevronPlaceholder",
|
|
38176
|
+
"benchmarkOutput": "hpCk7W_benchmarkOutput",
|
|
38177
|
+
"taskProgressLine": "hpCk7W_taskProgressLine",
|
|
38178
|
+
"taskList": "hpCk7W_taskList",
|
|
38179
|
+
"sidebarEmpty": "hpCk7W_sidebarEmpty",
|
|
38180
|
+
"researchFilters": "hpCk7W_researchFilters",
|
|
38181
|
+
"scopeSelect": "hpCk7W_scopeSelect",
|
|
38182
|
+
"createPanel": "hpCk7W_createPanel",
|
|
38183
|
+
"previewHit": "hpCk7W_previewHit",
|
|
38184
|
+
"modelImpact": "hpCk7W_modelImpact",
|
|
38166
38185
|
"workflowStages": "hpCk7W_workflowStages",
|
|
38186
|
+
"assetRow": "hpCk7W_assetRow",
|
|
38187
|
+
"taskRow": "hpCk7W_taskRow",
|
|
38167
38188
|
"researchSourceList": "hpCk7W_researchSourceList",
|
|
38168
|
-
"
|
|
38169
|
-
"
|
|
38189
|
+
"modelTestRow": "hpCk7W_modelTestRow",
|
|
38190
|
+
"derivedRelations": "hpCk7W_derivedRelations",
|
|
38191
|
+
"taskError": "hpCk7W_taskError",
|
|
38192
|
+
"taskIssues": "hpCk7W_taskIssues",
|
|
38193
|
+
"dagRevisionAction": "hpCk7W_dagRevisionAction",
|
|
38194
|
+
"modelEditor": "hpCk7W_modelEditor",
|
|
38195
|
+
"taskSummaryBar": "hpCk7W_taskSummaryBar",
|
|
38196
|
+
"referenceReader": "hpCk7W_referenceReader",
|
|
38197
|
+
"relationD3Nodes": "hpCk7W_relationD3Nodes",
|
|
38170
38198
|
"relationFlowNode": "hpCk7W_relationFlowNode",
|
|
38171
|
-
"
|
|
38172
|
-
"
|
|
38199
|
+
"searchLocator": "hpCk7W_searchLocator",
|
|
38200
|
+
"searchResultTitle": "hpCk7W_searchResultTitle",
|
|
38201
|
+
"taskReviewMeta": "hpCk7W_taskReviewMeta",
|
|
38202
|
+
"taskIssueSeverity": "hpCk7W_taskIssueSeverity",
|
|
38203
|
+
"modelTabs": "hpCk7W_modelTabs",
|
|
38204
|
+
"searchMark": "hpCk7W_searchMark",
|
|
38205
|
+
"modelCheckbox": "hpCk7W_modelCheckbox",
|
|
38206
|
+
"groupHeader": "hpCk7W_groupHeader",
|
|
38207
|
+
"relationshipSvg": "hpCk7W_relationshipSvg",
|
|
38208
|
+
"taskCard": "hpCk7W_taskCard",
|
|
38209
|
+
"graphNodeTitle": "hpCk7W_graphNodeTitle",
|
|
38210
|
+
"taskStatus": "hpCk7W_taskStatus",
|
|
38211
|
+
"taskTimelineStep": "hpCk7W_taskTimelineStep",
|
|
38212
|
+
"benchmarkInputs": "hpCk7W_benchmarkInputs",
|
|
38213
|
+
"benchmarkUsage": "hpCk7W_benchmarkUsage",
|
|
38173
38214
|
"button": "hpCk7W_button",
|
|
38174
|
-
"
|
|
38175
|
-
"
|
|
38215
|
+
"benchmarkMetrics": "hpCk7W_benchmarkMetrics",
|
|
38216
|
+
"chip": "hpCk7W_chip",
|
|
38217
|
+
"summaryEditor": "hpCk7W_summaryEditor",
|
|
38176
38218
|
"benchmarkProvenance": "hpCk7W_benchmarkProvenance",
|
|
38177
|
-
"
|
|
38178
|
-
"taskCardHeader": "hpCk7W_taskCardHeader",
|
|
38179
|
-
"graphNodeTitle": "hpCk7W_graphNodeTitle",
|
|
38180
|
-
"taskResult": "hpCk7W_taskResult",
|
|
38181
|
-
"chevronPlaceholder": "hpCk7W_chevronPlaceholder",
|
|
38182
|
-
"graphCanvas": "hpCk7W_graphCanvas",
|
|
38183
|
-
"modelChips": "hpCk7W_modelChips",
|
|
38184
|
-
"conflictNotice": "hpCk7W_conflictNotice",
|
|
38185
|
-
"assetMeta": "hpCk7W_assetMeta",
|
|
38186
|
-
"bodyTextareaDirty": "hpCk7W_bodyTextareaDirty",
|
|
38187
|
-
"referenceReader": "hpCk7W_referenceReader",
|
|
38188
|
-
"listBlockItems": "hpCk7W_listBlockItems",
|
|
38189
|
-
"detailNotice": "hpCk7W_detailNotice",
|
|
38190
|
-
"editor": "hpCk7W_editor",
|
|
38191
|
-
"editorActions": "hpCk7W_editorActions",
|
|
38192
|
-
"modelRoutes": "hpCk7W_modelRoutes",
|
|
38193
|
-
"modelApiKeyInput": "hpCk7W_modelApiKeyInput",
|
|
38194
|
-
"benchmarkRunGroupHeader": "hpCk7W_benchmarkRunGroupHeader",
|
|
38195
|
-
"treeChildren": "hpCk7W_treeChildren",
|
|
38219
|
+
"detailHeader": "hpCk7W_detailHeader",
|
|
38196
38220
|
"vditorHost": "hpCk7W_vditorHost",
|
|
38197
|
-
"modelActions": "hpCk7W_modelActions",
|
|
38198
|
-
"taskControls": "hpCk7W_taskControls",
|
|
38199
|
-
"taskProgressTrack": "hpCk7W_taskProgressTrack",
|
|
38200
38221
|
"taskTimeline": "hpCk7W_taskTimeline",
|
|
38201
|
-
"
|
|
38202
|
-
"
|
|
38203
|
-
"
|
|
38204
|
-
"
|
|
38205
|
-
"
|
|
38206
|
-
"
|
|
38207
|
-
"
|
|
38208
|
-
"
|
|
38209
|
-
"
|
|
38210
|
-
"
|
|
38211
|
-
"
|
|
38212
|
-
"
|
|
38222
|
+
"modelRouteRow": "hpCk7W_modelRouteRow",
|
|
38223
|
+
"root": "hpCk7W_root",
|
|
38224
|
+
"relationD3Label": "hpCk7W_relationD3Label",
|
|
38225
|
+
"input": "hpCk7W_input",
|
|
38226
|
+
"dagNodeContent": "hpCk7W_dagNodeContent",
|
|
38227
|
+
"taskDetailError": "hpCk7W_taskDetailError",
|
|
38228
|
+
"toolbar": "hpCk7W_toolbar",
|
|
38229
|
+
"truthSection": "hpCk7W_truthSection",
|
|
38230
|
+
"treeChildren": "hpCk7W_treeChildren",
|
|
38231
|
+
"modelFormGrid": "hpCk7W_modelFormGrid",
|
|
38232
|
+
"launchPanel": "hpCk7W_launchPanel",
|
|
38233
|
+
"editorActions": "hpCk7W_editorActions",
|
|
38234
|
+
"taskIssueDim": "hpCk7W_taskIssueDim",
|
|
38235
|
+
"relationChip": "hpCk7W_relationChip",
|
|
38236
|
+
"taskPhase": "hpCk7W_taskPhase",
|
|
38237
|
+
"dagRoot": "hpCk7W_dagRoot",
|
|
38238
|
+
"notice": "hpCk7W_notice",
|
|
38239
|
+
"taskSummaryItem": "hpCk7W_taskSummaryItem",
|
|
38240
|
+
"modelDependencies": "hpCk7W_modelDependencies",
|
|
38241
|
+
"statusBadge": "hpCk7W_statusBadge",
|
|
38213
38242
|
"searchResultPath": "hpCk7W_searchResultPath",
|
|
38214
|
-
"
|
|
38243
|
+
"iconButton": "hpCk7W_iconButton",
|
|
38244
|
+
"dagDetailRow": "hpCk7W_dagDetailRow",
|
|
38245
|
+
"benchmarkStatus": "hpCk7W_benchmarkStatus",
|
|
38246
|
+
"bodyTextareaDirty": "hpCk7W_bodyTextareaDirty",
|
|
38247
|
+
"assetRowMeta": "hpCk7W_assetRowMeta",
|
|
38215
38248
|
"mdInline": "hpCk7W_mdInline",
|
|
38216
|
-
"
|
|
38217
|
-
"
|
|
38249
|
+
"treeRow": "hpCk7W_treeRow",
|
|
38250
|
+
"foreshadowNode": "hpCk7W_foreshadowNode",
|
|
38251
|
+
"scoreChip": "hpCk7W_scoreChip",
|
|
38252
|
+
"relationEditor": "hpCk7W_relationEditor",
|
|
38253
|
+
"buttonDanger": "hpCk7W_buttonDanger",
|
|
38254
|
+
"listBlock": "hpCk7W_listBlock",
|
|
38255
|
+
"kindBadge": "hpCk7W_kindBadge",
|
|
38256
|
+
"fieldKey": "hpCk7W_fieldKey",
|
|
38257
|
+
"benchmarkRunGroupHeader": "hpCk7W_benchmarkRunGroupHeader",
|
|
38258
|
+
"benchmarkControls": "hpCk7W_benchmarkControls",
|
|
38259
|
+
"relationD3Links": "hpCk7W_relationD3Links",
|
|
38260
|
+
"taskDetail": "hpCk7W_taskDetail",
|
|
38261
|
+
"researchProvenance": "hpCk7W_researchProvenance",
|
|
38262
|
+
"derivedRow": "hpCk7W_derivedRow",
|
|
38218
38263
|
"edgeLabel": "hpCk7W_edgeLabel",
|
|
38219
|
-
"
|
|
38220
|
-
"
|
|
38221
|
-
"
|
|
38222
|
-
"
|
|
38223
|
-
"
|
|
38224
|
-
"
|
|
38225
|
-
"fieldList": "hpCk7W_fieldList",
|
|
38226
|
-
"profileChoice": "hpCk7W_profileChoice",
|
|
38227
|
-
"benchmarkCost": "hpCk7W_benchmarkCost",
|
|
38228
|
-
"benchmarkStatus": "hpCk7W_benchmarkStatus",
|
|
38229
|
-
"benchmarkUsage": "hpCk7W_benchmarkUsage",
|
|
38230
|
-
"fieldRow": "hpCk7W_fieldRow",
|
|
38231
|
-
"derivedArrow": "hpCk7W_derivedArrow",
|
|
38264
|
+
"nodeActions": "hpCk7W_nodeActions",
|
|
38265
|
+
"tree": "hpCk7W_tree",
|
|
38266
|
+
"searchResultHead": "hpCk7W_searchResultHead",
|
|
38267
|
+
"modelChips": "hpCk7W_modelChips",
|
|
38268
|
+
"relationNode": "hpCk7W_relationNode",
|
|
38269
|
+
"researchReferenceOnly": "hpCk7W_researchReferenceOnly",
|
|
38232
38270
|
"modelChip": "hpCk7W_modelChip",
|
|
38233
|
-
"
|
|
38234
|
-
"
|
|
38235
|
-
"
|
|
38236
|
-
"
|
|
38237
|
-
"
|
|
38271
|
+
"bodyTextarea": "hpCk7W_bodyTextarea",
|
|
38272
|
+
"benchmarkCellStack": "hpCk7W_benchmarkCellStack",
|
|
38273
|
+
"relationshipCanvas": "hpCk7W_relationshipCanvas",
|
|
38274
|
+
"benchmarkPhases": "hpCk7W_benchmarkPhases",
|
|
38275
|
+
"derivedNote": "hpCk7W_derivedNote",
|
|
38276
|
+
"profileChoice": "hpCk7W_profileChoice",
|
|
38277
|
+
"taskSummary": "hpCk7W_taskSummary",
|
|
38278
|
+
"searchResultHeading": "hpCk7W_searchResultHeading",
|
|
38279
|
+
"body": "hpCk7W_body",
|
|
38280
|
+
"sidebarFooter": "hpCk7W_sidebarFooter",
|
|
38281
|
+
"assetRowName": "hpCk7W_assetRowName",
|
|
38282
|
+
"chevronButton": "hpCk7W_chevronButton",
|
|
38283
|
+
"researchSearch": "hpCk7W_researchSearch",
|
|
38284
|
+
"taskActions": "hpCk7W_taskActions",
|
|
38285
|
+
"modelGroupTitle": "hpCk7W_modelGroupTitle",
|
|
38286
|
+
"taskCardTitle": "hpCk7W_taskCardTitle",
|
|
38287
|
+
"dagDomainRow": "hpCk7W_dagDomainRow",
|
|
38288
|
+
"taskCardHeader": "hpCk7W_taskCardHeader",
|
|
38289
|
+
"detailBody": "hpCk7W_detailBody",
|
|
38290
|
+
"previewHead": "hpCk7W_previewHead",
|
|
38291
|
+
"fieldList": "hpCk7W_fieldList",
|
|
38292
|
+
"benchmarkOutputList": "hpCk7W_benchmarkOutputList",
|
|
38293
|
+
"taskIssueRow": "hpCk7W_taskIssueRow",
|
|
38294
|
+
"inlineRename": "hpCk7W_inlineRename",
|
|
38238
38295
|
"countChip": "hpCk7W_countChip",
|
|
38239
|
-
"
|
|
38240
|
-
"
|
|
38241
|
-
"
|
|
38242
|
-
"
|
|
38243
|
-
"
|
|
38296
|
+
"nodeTitle": "hpCk7W_nodeTitle",
|
|
38297
|
+
"kindFilterRow": "hpCk7W_kindFilterRow",
|
|
38298
|
+
"taskEvent": "hpCk7W_taskEvent",
|
|
38299
|
+
"workflowBlock": "hpCk7W_workflowBlock",
|
|
38300
|
+
"overlayMark": "hpCk7W_overlayMark",
|
|
38301
|
+
"modelList": "hpCk7W_modelList",
|
|
38302
|
+
"modelRouteMeta": "hpCk7W_modelRouteMeta",
|
|
38303
|
+
"dagStructured": "hpCk7W_dagStructured",
|
|
38304
|
+
"taskProgressTrack": "hpCk7W_taskProgressTrack",
|
|
38305
|
+
"dagOverview": "hpCk7W_dagOverview",
|
|
38306
|
+
"sidebarList": "hpCk7W_sidebarList",
|
|
38244
38307
|
"taskSearch": "hpCk7W_taskSearch",
|
|
38245
|
-
"
|
|
38246
|
-
"
|
|
38308
|
+
"modelHint": "hpCk7W_modelHint",
|
|
38309
|
+
"detailNotice": "hpCk7W_detailNotice",
|
|
38310
|
+
"dagCanvas": "hpCk7W_dagCanvas",
|
|
38311
|
+
"relationshipCanvasHeader": "hpCk7W_relationshipCanvasHeader",
|
|
38312
|
+
"benchmarkRunGroup": "hpCk7W_benchmarkRunGroup",
|
|
38313
|
+
"toolbarMeta": "hpCk7W_toolbarMeta",
|
|
38314
|
+
"modelUnsaved": "hpCk7W_modelUnsaved",
|
|
38247
38315
|
"validationList": "hpCk7W_validationList",
|
|
38248
|
-
"
|
|
38249
|
-
"
|
|
38250
|
-
"relationshipStats": "hpCk7W_relationshipStats",
|
|
38251
|
-
"researchWorkspace": "hpCk7W_researchWorkspace",
|
|
38252
|
-
"taskCard": "hpCk7W_taskCard",
|
|
38253
|
-
"edge": "hpCk7W_edge",
|
|
38254
|
-
"detailBody": "hpCk7W_detailBody",
|
|
38255
|
-
"taskCardActions": "hpCk7W_taskCardActions",
|
|
38256
|
-
"modelCheckbox": "hpCk7W_modelCheckbox",
|
|
38257
|
-
"taskEvents": "hpCk7W_taskEvents",
|
|
38258
|
-
"taskProgressLine": "hpCk7W_taskProgressLine",
|
|
38259
|
-
"assetAliases": "hpCk7W_assetAliases",
|
|
38260
|
-
"groupHeader": "hpCk7W_groupHeader",
|
|
38316
|
+
"derivedOrigin": "hpCk7W_derivedOrigin",
|
|
38317
|
+
"dagObjectList": "hpCk7W_dagObjectList",
|
|
38261
38318
|
"taskIssuesSummary": "hpCk7W_taskIssuesSummary",
|
|
38262
|
-
"
|
|
38263
|
-
"
|
|
38264
|
-
"
|
|
38265
|
-
"
|
|
38266
|
-
"
|
|
38267
|
-
"
|
|
38268
|
-
"
|
|
38269
|
-
"
|
|
38270
|
-
"
|
|
38271
|
-
"relationEditor": "hpCk7W_relationEditor",
|
|
38272
|
-
"taskActions": "hpCk7W_taskActions",
|
|
38273
|
-
"searchResultHead": "hpCk7W_searchResultHead",
|
|
38274
|
-
"taskIssues": "hpCk7W_taskIssues",
|
|
38275
|
-
"createPanel": "hpCk7W_createPanel",
|
|
38276
|
-
"listBlock": "hpCk7W_listBlock",
|
|
38277
|
-
"summaryTextarea": "hpCk7W_summaryTextarea",
|
|
38278
|
-
"dagRoot": "hpCk7W_dagRoot",
|
|
38279
|
-
"dagDetail": "hpCk7W_dagDetail",
|
|
38319
|
+
"libraryRoot": "hpCk7W_libraryRoot",
|
|
38320
|
+
"editorRow": "hpCk7W_editorRow",
|
|
38321
|
+
"benchmarkRun": "hpCk7W_benchmarkRun",
|
|
38322
|
+
"detailSummary": "hpCk7W_detailSummary",
|
|
38323
|
+
"taskControls": "hpCk7W_taskControls",
|
|
38324
|
+
"researchWorkspace": "hpCk7W_researchWorkspace",
|
|
38325
|
+
"tableScroll": "hpCk7W_tableScroll",
|
|
38326
|
+
"primaryButton": "hpCk7W_primaryButton",
|
|
38327
|
+
"relationshipDetail": "hpCk7W_relationshipDetail",
|
|
38280
38328
|
"searchChangeDiff": "hpCk7W_searchChangeDiff",
|
|
38281
|
-
"
|
|
38282
|
-
"
|
|
38283
|
-
"
|
|
38284
|
-
"
|
|
38329
|
+
"mainPane": "hpCk7W_mainPane",
|
|
38330
|
+
"derivedTitle": "hpCk7W_derivedTitle",
|
|
38331
|
+
"researchSources": "hpCk7W_researchSources",
|
|
38332
|
+
"modelLayout": "hpCk7W_modelLayout",
|
|
38333
|
+
"dagObjectItem": "hpCk7W_dagObjectItem",
|
|
38285
38334
|
"relationChips": "hpCk7W_relationChips",
|
|
38286
|
-
"
|
|
38287
|
-
"
|
|
38288
|
-
"
|
|
38289
|
-
"
|
|
38290
|
-
"
|
|
38291
|
-
"taskSummaryBar": "hpCk7W_taskSummaryBar",
|
|
38292
|
-
"modelImpact": "hpCk7W_modelImpact",
|
|
38293
|
-
"modelRouteMeta": "hpCk7W_modelRouteMeta",
|
|
38335
|
+
"editorLabel": "hpCk7W_editorLabel",
|
|
38336
|
+
"dagPrimitiveList": "hpCk7W_dagPrimitiveList",
|
|
38337
|
+
"treeItem": "hpCk7W_treeItem",
|
|
38338
|
+
"previewLine": "hpCk7W_previewLine",
|
|
38339
|
+
"tag": "hpCk7W_tag",
|
|
38294
38340
|
"fieldValue": "hpCk7W_fieldValue",
|
|
38295
|
-
"
|
|
38296
|
-
"
|
|
38297
|
-
"
|
|
38298
|
-
"
|
|
38299
|
-
"searchResult": "hpCk7W_searchResult",
|
|
38300
|
-
"body": "hpCk7W_body",
|
|
38301
|
-
"detailSummary": "hpCk7W_detailSummary",
|
|
38302
|
-
"benchmarkInputs": "hpCk7W_benchmarkInputs",
|
|
38303
|
-
"relationD3Links": "hpCk7W_relationD3Links",
|
|
38304
|
-
"modelTabs": "hpCk7W_modelTabs",
|
|
38305
|
-
"toolbar": "hpCk7W_toolbar",
|
|
38341
|
+
"edge": "hpCk7W_edge",
|
|
38342
|
+
"taskEvents": "hpCk7W_taskEvents",
|
|
38343
|
+
"taskCardActions": "hpCk7W_taskCardActions",
|
|
38344
|
+
"taskChapter": "hpCk7W_taskChapter",
|
|
38306
38345
|
"researchMetrics": "hpCk7W_researchMetrics",
|
|
38307
|
-
"
|
|
38308
|
-
"
|
|
38309
|
-
"
|
|
38310
|
-
"
|
|
38311
|
-
"
|
|
38312
|
-
"
|
|
38313
|
-
"
|
|
38314
|
-
"
|
|
38315
|
-
"
|
|
38316
|
-
"
|
|
38317
|
-
"
|
|
38318
|
-
"
|
|
38319
|
-
"
|
|
38320
|
-
"
|
|
38321
|
-
"searchLocator": "hpCk7W_searchLocator",
|
|
38322
|
-
"modelEditor": "hpCk7W_modelEditor",
|
|
38323
|
-
"errorText": "hpCk7W_errorText"
|
|
38346
|
+
"modelListItem": "hpCk7W_modelListItem",
|
|
38347
|
+
"assetMeta": "hpCk7W_assetMeta",
|
|
38348
|
+
"relationRow": "hpCk7W_relationRow",
|
|
38349
|
+
"benchmarkSources": "hpCk7W_benchmarkSources",
|
|
38350
|
+
"linkButton": "hpCk7W_linkButton",
|
|
38351
|
+
"resultLink": "hpCk7W_resultLink",
|
|
38352
|
+
"benchmarkSplit": "hpCk7W_benchmarkSplit",
|
|
38353
|
+
"benchmarkLegacy": "hpCk7W_benchmarkLegacy",
|
|
38354
|
+
"taskCardMain": "hpCk7W_taskCardMain",
|
|
38355
|
+
"taskDetailSummary": "hpCk7W_taskDetailSummary",
|
|
38356
|
+
"vditorFrame": "hpCk7W_vditorFrame",
|
|
38357
|
+
"relationOrigin": "hpCk7W_relationOrigin",
|
|
38358
|
+
"modelRoutes": "hpCk7W_modelRoutes",
|
|
38359
|
+
"titleInput": "hpCk7W_titleInput"
|
|
38324
38360
|
};
|
|
38325
38361
|
//#endregion
|
|
38326
38362
|
//#region src/client/VditorBody.tsx
|
|
@@ -38342,16 +38378,6 @@ window.__ModuleLoader__.load({
|
|
|
38342
38378
|
function applyTheme(instance, dark) {
|
|
38343
38379
|
instance.setTheme(dark ? "dark" : "classic", dark ? "dark" : "light", void 0, CONTENT_THEME_PATH);
|
|
38344
38380
|
}
|
|
38345
|
-
async function installPackagedGlobal(path, globalName) {
|
|
38346
|
-
const win = window;
|
|
38347
|
-
if (win[globalName] !== void 0) return;
|
|
38348
|
-
const response = await fetch(path, { headers: { accept: "text/javascript" } });
|
|
38349
|
-
if (!response.ok) throw new Error(`studio-panel: failed to load ${globalName} (${String(response.status)})`);
|
|
38350
|
-
const source = await response.text();
|
|
38351
|
-
if (win[globalName] !== void 0) return;
|
|
38352
|
-
new Function(source).call(window);
|
|
38353
|
-
if (win[globalName] === void 0) throw new Error(`studio-panel: ${globalName} did not initialize`);
|
|
38354
|
-
}
|
|
38355
38381
|
/**
|
|
38356
38382
|
* Attach Vditor's packaged CSS and resolve the constructor bundled into this
|
|
38357
38383
|
* plugin. Auxiliary language/theme assets continue to use the same-origin
|
|
@@ -38369,7 +38395,7 @@ window.__ModuleLoader__.load({
|
|
|
38369
38395
|
link.href = `${VDITOR_BASE}/dist/index.css`;
|
|
38370
38396
|
document.head.appendChild(link);
|
|
38371
38397
|
}
|
|
38372
|
-
await Promise.all([
|
|
38398
|
+
await Promise.all([loadPackagedEditorGlobal("VditorI18n"), loadPackagedEditorGlobal("Lute")]);
|
|
38373
38399
|
if (document.getElementById("vditorLuteScript") === null) {
|
|
38374
38400
|
const marker = document.createElement("script");
|
|
38375
38401
|
marker.id = "vditorLuteScript";
|
|
@@ -39285,183 +39311,183 @@ window.__ModuleLoader__.load({
|
|
|
39285
39311
|
document.head.appendChild(tag);
|
|
39286
39312
|
}
|
|
39287
39313
|
var Workbench_module_css_default = {
|
|
39288
|
-
"
|
|
39289
|
-
"
|
|
39290
|
-
"
|
|
39291
|
-
"
|
|
39292
|
-
"
|
|
39293
|
-
"
|
|
39294
|
-
"
|
|
39295
|
-
"
|
|
39296
|
-
"
|
|
39297
|
-
"
|
|
39298
|
-
"
|
|
39299
|
-
"
|
|
39300
|
-
"
|
|
39314
|
+
"contextChipHint": "Wik-wW_contextChipHint",
|
|
39315
|
+
"restorePreview": "Wik-wW_restorePreview",
|
|
39316
|
+
"conflictBar": "Wik-wW_conflictBar",
|
|
39317
|
+
"inspectorTabs": "Wik-wW_inspectorTabs",
|
|
39318
|
+
"chapterMove": "Wik-wW_chapterMove",
|
|
39319
|
+
"transferPanel": "Wik-wW_transferPanel",
|
|
39320
|
+
"manuscriptEditor": "Wik-wW_manuscriptEditor",
|
|
39321
|
+
"contextSectionBody": "Wik-wW_contextSectionBody",
|
|
39322
|
+
"headerIconButton": "Wik-wW_headerIconButton",
|
|
39323
|
+
"contextChipBadge": "Wik-wW_contextChipBadge",
|
|
39324
|
+
"contextSection": "Wik-wW_contextSection",
|
|
39325
|
+
"proposalProvenance": "Wik-wW_proposalProvenance",
|
|
39326
|
+
"turnTraceLink": "Wik-wW_turnTraceLink",
|
|
39327
|
+
"studio": "Wik-wW_studio",
|
|
39328
|
+
"foreshadowActions": "Wik-wW_foreshadowActions",
|
|
39329
|
+
"muted": "Wik-wW_muted",
|
|
39330
|
+
"exportPurpose": "Wik-wW_exportPurpose",
|
|
39301
39331
|
"diffBlock": "Wik-wW_diffBlock",
|
|
39332
|
+
"tabletInspectorButton": "Wik-wW_tabletInspectorButton",
|
|
39333
|
+
"turnValuePair": "Wik-wW_turnValuePair",
|
|
39334
|
+
"versionCard": "Wik-wW_versionCard",
|
|
39335
|
+
"contextItem": "Wik-wW_contextItem",
|
|
39336
|
+
"acceptanceDetails": "Wik-wW_acceptanceDetails",
|
|
39337
|
+
"stageRail": "Wik-wW_stageRail",
|
|
39338
|
+
"centerNotice": "Wik-wW_centerNotice",
|
|
39339
|
+
"turnEntityChange": "Wik-wW_turnEntityChange",
|
|
39340
|
+
"externalLink": "Wik-wW_externalLink",
|
|
39341
|
+
"readerContent": "Wik-wW_readerContent",
|
|
39342
|
+
"commandButton": "Wik-wW_commandButton",
|
|
39343
|
+
"reviewRevisionActions": "Wik-wW_reviewRevisionActions",
|
|
39344
|
+
"contextExceptions": "Wik-wW_contextExceptions",
|
|
39345
|
+
"operationSection": "Wik-wW_operationSection",
|
|
39346
|
+
"contextChip": "Wik-wW_contextChip",
|
|
39302
39347
|
"proposalTexts": "Wik-wW_proposalTexts",
|
|
39348
|
+
"exportDetailSection": "Wik-wW_exportDetailSection",
|
|
39303
39349
|
"exportSummaryGrid": "Wik-wW_exportSummaryGrid",
|
|
39304
|
-
"
|
|
39305
|
-
"contextChipPopover": "Wik-wW_contextChipPopover",
|
|
39306
|
-
"acceptanceMessage": "Wik-wW_acceptanceMessage",
|
|
39307
|
-
"orderNotice": "Wik-wW_orderNotice",
|
|
39308
|
-
"issueList": "Wik-wW_issueList",
|
|
39309
|
-
"centerNotice": "Wik-wW_centerNotice",
|
|
39310
|
-
"exportIssues": "Wik-wW_exportIssues",
|
|
39311
|
-
"transferDetailHeader": "Wik-wW_transferDetailHeader",
|
|
39312
|
-
"contextSections": "Wik-wW_contextSections",
|
|
39313
|
-
"creationRoot": "Wik-wW_creationRoot",
|
|
39314
|
-
"chapterTitle": "Wik-wW_chapterTitle",
|
|
39350
|
+
"activityCard": "Wik-wW_activityCard",
|
|
39315
39351
|
"contextChipError": "Wik-wW_contextChipError",
|
|
39316
|
-
"markerFields": "Wik-wW_markerFields",
|
|
39317
|
-
"chapterMeta": "Wik-wW_chapterMeta",
|
|
39318
|
-
"mentionCard": "Wik-wW_mentionCard",
|
|
39319
|
-
"inspectorTabs": "Wik-wW_inspectorTabs",
|
|
39320
39352
|
"exportState": "Wik-wW_exportState",
|
|
39353
|
+
"revisionPane": "Wik-wW_revisionPane",
|
|
39354
|
+
"mentionCandidates": "Wik-wW_mentionCandidates",
|
|
39355
|
+
"issueList": "Wik-wW_issueList",
|
|
39321
39356
|
"draftStorageError": "Wik-wW_draftStorageError",
|
|
39322
|
-
"
|
|
39323
|
-
"
|
|
39324
|
-
"
|
|
39325
|
-
"
|
|
39357
|
+
"restoreWorkspace": "Wik-wW_restoreWorkspace",
|
|
39358
|
+
"chapterEmpty": "Wik-wW_chapterEmpty",
|
|
39359
|
+
"mentionCard": "Wik-wW_mentionCard",
|
|
39360
|
+
"readerChapter": "Wik-wW_readerChapter",
|
|
39361
|
+
"inspectorHeader": "Wik-wW_inspectorHeader",
|
|
39362
|
+
"acceptanceCard": "Wik-wW_acceptanceCard",
|
|
39363
|
+
"markerForm": "Wik-wW_markerForm",
|
|
39364
|
+
"contextSources": "Wik-wW_contextSources",
|
|
39365
|
+
"contextRetrieval": "Wik-wW_contextRetrieval",
|
|
39366
|
+
"turnEntityChanges": "Wik-wW_turnEntityChanges",
|
|
39367
|
+
"exportPreflightHeader": "Wik-wW_exportPreflightHeader",
|
|
39368
|
+
"transferList": "Wik-wW_transferList",
|
|
39369
|
+
"importPrepare": "Wik-wW_importPrepare",
|
|
39370
|
+
"operationNote": "Wik-wW_operationNote",
|
|
39371
|
+
"projectCurrent": "Wik-wW_projectCurrent",
|
|
39372
|
+
"chapterList": "Wik-wW_chapterList",
|
|
39373
|
+
"manuscriptFallback": "Wik-wW_manuscriptFallback",
|
|
39374
|
+
"projectPath": "Wik-wW_projectPath",
|
|
39375
|
+
"contextBudgets": "Wik-wW_contextBudgets",
|
|
39376
|
+
"versionPreview": "Wik-wW_versionPreview",
|
|
39377
|
+
"contextStale": "Wik-wW_contextStale",
|
|
39378
|
+
"mentionHits": "Wik-wW_mentionHits",
|
|
39379
|
+
"diffList": "Wik-wW_diffList",
|
|
39380
|
+
"annotationChip": "Wik-wW_annotationChip",
|
|
39381
|
+
"annotationList": "Wik-wW_annotationList",
|
|
39326
39382
|
"acceptanceError": "Wik-wW_acceptanceError",
|
|
39327
|
-
"
|
|
39328
|
-
"contextExceptions": "Wik-wW_contextExceptions",
|
|
39329
|
-
"foreshadowBuckets": "Wik-wW_foreshadowBuckets",
|
|
39330
|
-
"recoveryBar": "Wik-wW_recoveryBar",
|
|
39331
|
-
"stageRail": "Wik-wW_stageRail",
|
|
39332
|
-
"readerHeader": "Wik-wW_readerHeader",
|
|
39383
|
+
"reviewStale": "Wik-wW_reviewStale",
|
|
39333
39384
|
"contextManifest": "Wik-wW_contextManifest",
|
|
39334
|
-
"
|
|
39335
|
-
"
|
|
39336
|
-
"historyHeader": "Wik-wW_historyHeader",
|
|
39385
|
+
"visuallyHidden": "Wik-wW_visuallyHidden",
|
|
39386
|
+
"workspaceContent": "Wik-wW_workspaceContent",
|
|
39337
39387
|
"archivePlan": "Wik-wW_archivePlan",
|
|
39338
|
-
"
|
|
39339
|
-
"
|
|
39340
|
-
"inspectorSkeleton": "Wik-wW_inspectorSkeleton",
|
|
39341
|
-
"contextItem": "Wik-wW_contextItem",
|
|
39342
|
-
"contextSectionBody": "Wik-wW_contextSectionBody",
|
|
39343
|
-
"proposalProvenance": "Wik-wW_proposalProvenance",
|
|
39388
|
+
"editorPane": "Wik-wW_editorPane",
|
|
39389
|
+
"drawerClose": "Wik-wW_drawerClose",
|
|
39344
39390
|
"archiveCreate": "Wik-wW_archiveCreate",
|
|
39345
|
-
"
|
|
39346
|
-
"
|
|
39391
|
+
"proposalList": "Wik-wW_proposalList",
|
|
39392
|
+
"workspaceRoot": "Wik-wW_workspaceRoot",
|
|
39347
39393
|
"activityProgress": "Wik-wW_activityProgress",
|
|
39348
|
-
"
|
|
39349
|
-
"
|
|
39350
|
-
"foreshadowActions": "Wik-wW_foreshadowActions",
|
|
39351
|
-
"acceptanceDetails": "Wik-wW_acceptanceDetails",
|
|
39352
|
-
"issue": "Wik-wW_issue",
|
|
39353
|
-
"contextSection": "Wik-wW_contextSection",
|
|
39354
|
-
"proposalCard": "Wik-wW_proposalCard",
|
|
39355
|
-
"historyNotice": "Wik-wW_historyNotice",
|
|
39356
|
-
"contextOverview": "Wik-wW_contextOverview",
|
|
39357
|
-
"versionList": "Wik-wW_versionList",
|
|
39394
|
+
"scrim": "Wik-wW_scrim",
|
|
39395
|
+
"inspectorSkeleton": "Wik-wW_inspectorSkeleton",
|
|
39358
39396
|
"dangerAction": "Wik-wW_dangerAction",
|
|
39359
|
-
"
|
|
39360
|
-
"
|
|
39361
|
-
"
|
|
39362
|
-
"editorPane": "Wik-wW_editorPane",
|
|
39363
|
-
"acceptanceCard": "Wik-wW_acceptanceCard",
|
|
39364
|
-
"chapterRail": "Wik-wW_chapterRail",
|
|
39365
|
-
"reviewSummary": "Wik-wW_reviewSummary",
|
|
39366
|
-
"inspectorNotice": "Wik-wW_inspectorNotice",
|
|
39367
|
-
"writingProgress": "Wik-wW_writingProgress",
|
|
39368
|
-
"turnValuePair": "Wik-wW_turnValuePair",
|
|
39397
|
+
"workspaceNav": "Wik-wW_workspaceNav",
|
|
39398
|
+
"saveState": "Wik-wW_saveState",
|
|
39399
|
+
"annotationHits": "Wik-wW_annotationHits",
|
|
39369
39400
|
"mobileBar": "Wik-wW_mobileBar",
|
|
39370
|
-
"
|
|
39371
|
-
"chapterText": "Wik-wW_chapterText",
|
|
39372
|
-
"transferWorkspaceHeader": "Wik-wW_transferWorkspaceHeader",
|
|
39373
|
-
"transferList": "Wik-wW_transferList",
|
|
39401
|
+
"archiveListItem": "Wik-wW_archiveListItem",
|
|
39374
39402
|
"turnPlanNotice": "Wik-wW_turnPlanNotice",
|
|
39375
|
-
"
|
|
39376
|
-
"
|
|
39377
|
-
"
|
|
39378
|
-
"
|
|
39379
|
-
"
|
|
39380
|
-
"
|
|
39381
|
-
"
|
|
39382
|
-
"
|
|
39403
|
+
"transferActions": "Wik-wW_transferActions",
|
|
39404
|
+
"foreshadowBuckets": "Wik-wW_foreshadowBuckets",
|
|
39405
|
+
"contextChipPopover": "Wik-wW_contextChipPopover",
|
|
39406
|
+
"inspector": "Wik-wW_inspector",
|
|
39407
|
+
"selectionPolish": "Wik-wW_selectionPolish",
|
|
39408
|
+
"editorHeader": "Wik-wW_editorHeader",
|
|
39409
|
+
"headerMenu": "Wik-wW_headerMenu",
|
|
39410
|
+
"contextFullText": "Wik-wW_contextFullText",
|
|
39411
|
+
"proposalCard": "Wik-wW_proposalCard",
|
|
39412
|
+
"contextSections": "Wik-wW_contextSections",
|
|
39413
|
+
"transferDetail": "Wik-wW_transferDetail",
|
|
39414
|
+
"headerStatus": "Wik-wW_headerStatus",
|
|
39415
|
+
"chapterTitle": "Wik-wW_chapterTitle",
|
|
39416
|
+
"chapterRail": "Wik-wW_chapterRail",
|
|
39417
|
+
"exportPreflight": "Wik-wW_exportPreflight",
|
|
39418
|
+
"recoveryActions": "Wik-wW_recoveryActions",
|
|
39419
|
+
"turnSummary": "Wik-wW_turnSummary",
|
|
39420
|
+
"acceptanceMessage": "Wik-wW_acceptanceMessage",
|
|
39421
|
+
"documentSkeleton": "Wik-wW_documentSkeleton",
|
|
39422
|
+
"recoveryBody": "Wik-wW_recoveryBody",
|
|
39423
|
+
"contextSectionButton": "Wik-wW_contextSectionButton",
|
|
39424
|
+
"inspectorDrawerClose": "Wik-wW_inspectorDrawerClose",
|
|
39425
|
+
"continuousReader": "Wik-wW_continuousReader",
|
|
39426
|
+
"chapterSearch": "Wik-wW_chapterSearch",
|
|
39427
|
+
"chapterMeta": "Wik-wW_chapterMeta",
|
|
39383
39428
|
"headerUtilities": "Wik-wW_headerUtilities",
|
|
39384
|
-
"
|
|
39429
|
+
"foreshadowBucket": "Wik-wW_foreshadowBucket",
|
|
39385
39430
|
"activityList": "Wik-wW_activityList",
|
|
39386
|
-
"
|
|
39387
|
-
"
|
|
39388
|
-
"
|
|
39431
|
+
"reviewSummary": "Wik-wW_reviewSummary",
|
|
39432
|
+
"recoveryBar": "Wik-wW_recoveryBar",
|
|
39433
|
+
"archiveSummary": "Wik-wW_archiveSummary",
|
|
39434
|
+
"desktopPaneButton": "Wik-wW_desktopPaneButton",
|
|
39435
|
+
"connectionDot": "Wik-wW_connectionDot",
|
|
39389
39436
|
"foreshadowAction": "Wik-wW_foreshadowAction",
|
|
39390
|
-
"
|
|
39391
|
-
"
|
|
39392
|
-
"
|
|
39393
|
-
"
|
|
39394
|
-
"
|
|
39395
|
-
"
|
|
39396
|
-
"importPlan": "Wik-wW_importPlan",
|
|
39397
|
-
"exportControls": "Wik-wW_exportControls",
|
|
39437
|
+
"paneHeading": "Wik-wW_paneHeading",
|
|
39438
|
+
"transferFailure": "Wik-wW_transferFailure",
|
|
39439
|
+
"chapterJump": "Wik-wW_chapterJump",
|
|
39440
|
+
"foreshadowDetail": "Wik-wW_foreshadowDetail",
|
|
39441
|
+
"creationRoot": "Wik-wW_creationRoot",
|
|
39442
|
+
"annotationQuote": "Wik-wW_annotationQuote",
|
|
39398
39443
|
"transferWorkspace": "Wik-wW_transferWorkspace",
|
|
39399
|
-
"
|
|
39400
|
-
"inspectorDrawerClose": "Wik-wW_inspectorDrawerClose",
|
|
39401
|
-
"scrim": "Wik-wW_scrim",
|
|
39402
|
-
"contextFullText": "Wik-wW_contextFullText",
|
|
39403
|
-
"turnEntityChanges": "Wik-wW_turnEntityChanges",
|
|
39404
|
-
"visuallyHidden": "Wik-wW_visuallyHidden",
|
|
39405
|
-
"restoreWorkspace": "Wik-wW_restoreWorkspace",
|
|
39406
|
-
"selectionPolish": "Wik-wW_selectionPolish",
|
|
39407
|
-
"operationSection": "Wik-wW_operationSection",
|
|
39444
|
+
"projectSwitchRow": "Wik-wW_projectSwitchRow",
|
|
39408
39445
|
"contextChipField": "Wik-wW_contextChipField",
|
|
39409
|
-
"
|
|
39410
|
-
"
|
|
39411
|
-
"
|
|
39412
|
-
"
|
|
39446
|
+
"editorIdentity": "Wik-wW_editorIdentity",
|
|
39447
|
+
"colorDots": "Wik-wW_colorDots",
|
|
39448
|
+
"chapterIndex": "Wik-wW_chapterIndex",
|
|
39449
|
+
"acceptanceActions": "Wik-wW_acceptanceActions",
|
|
39450
|
+
"reviewClosure": "Wik-wW_reviewClosure",
|
|
39451
|
+
"chapterButton": "Wik-wW_chapterButton",
|
|
39452
|
+
"inspectorNotice": "Wik-wW_inspectorNotice",
|
|
39453
|
+
"versionList": "Wik-wW_versionList",
|
|
39454
|
+
"transferDetailHeader": "Wik-wW_transferDetailHeader",
|
|
39455
|
+
"turnRevisionPair": "Wik-wW_turnRevisionPair",
|
|
39456
|
+
"acceptanceHeader": "Wik-wW_acceptanceHeader",
|
|
39457
|
+
"orderNotice": "Wik-wW_orderNotice",
|
|
39458
|
+
"historySection": "Wik-wW_historySection",
|
|
39413
39459
|
"importStructure": "Wik-wW_importStructure",
|
|
39414
|
-
"
|
|
39415
|
-
"mobileTitle": "Wik-wW_mobileTitle",
|
|
39416
|
-
"conflictBar": "Wik-wW_conflictBar",
|
|
39417
|
-
"inspectorBody": "Wik-wW_inspectorBody",
|
|
39418
|
-
"turnPlanActions": "Wik-wW_turnPlanActions",
|
|
39419
|
-
"workspaceNav": "Wik-wW_workspaceNav",
|
|
39420
|
-
"importPrepare": "Wik-wW_importPrepare",
|
|
39421
|
-
"contextStale": "Wik-wW_contextStale",
|
|
39422
|
-
"foreshadowBucket": "Wik-wW_foreshadowBucket",
|
|
39423
|
-
"annotationQuote": "Wik-wW_annotationQuote",
|
|
39424
|
-
"contextSectionButton": "Wik-wW_contextSectionButton",
|
|
39425
|
-
"studio": "Wik-wW_studio",
|
|
39426
|
-
"exportPurpose": "Wik-wW_exportPurpose",
|
|
39427
|
-
"restorePreview": "Wik-wW_restorePreview",
|
|
39428
|
-
"recoveryActions": "Wik-wW_recoveryActions",
|
|
39429
|
-
"chapterDrawerClose": "Wik-wW_chapterDrawerClose",
|
|
39460
|
+
"chapterText": "Wik-wW_chapterText",
|
|
39430
39461
|
"contextChipRoot": "Wik-wW_contextChipRoot",
|
|
39431
|
-
"
|
|
39432
|
-
"turnEntityChange": "Wik-wW_turnEntityChange",
|
|
39433
|
-
"exportPreflight": "Wik-wW_exportPreflight",
|
|
39434
|
-
"muted": "Wik-wW_muted",
|
|
39435
|
-
"workspaceRoot": "Wik-wW_workspaceRoot",
|
|
39436
|
-
"chapterJump": "Wik-wW_chapterJump",
|
|
39437
|
-
"exportPreflightHeader": "Wik-wW_exportPreflightHeader",
|
|
39462
|
+
"editorActions": "Wik-wW_editorActions",
|
|
39438
39463
|
"editorBoot": "Wik-wW_editorBoot",
|
|
39439
|
-
"
|
|
39440
|
-
"
|
|
39441
|
-
"inspectorHeader": "Wik-wW_inspectorHeader",
|
|
39442
|
-
"revisionPane": "Wik-wW_revisionPane",
|
|
39443
|
-
"chapterEmpty": "Wik-wW_chapterEmpty",
|
|
39444
|
-
"contextChip": "Wik-wW_contextChip",
|
|
39445
|
-
"turnSummary": "Wik-wW_turnSummary",
|
|
39446
|
-
"manuscriptEditor": "Wik-wW_manuscriptEditor",
|
|
39447
|
-
"headerIconButton": "Wik-wW_headerIconButton",
|
|
39448
|
-
"transferFailure": "Wik-wW_transferFailure",
|
|
39449
|
-
"foreshadowDetail": "Wik-wW_foreshadowDetail",
|
|
39464
|
+
"transferWorkspaceHeader": "Wik-wW_transferWorkspaceHeader",
|
|
39465
|
+
"turnMutationItem": "Wik-wW_turnMutationItem",
|
|
39450
39466
|
"exportWorkspace": "Wik-wW_exportWorkspace",
|
|
39451
|
-
"
|
|
39452
|
-
"mentionCandidates": "Wik-wW_mentionCandidates",
|
|
39453
|
-
"editorIdentity": "Wik-wW_editorIdentity",
|
|
39454
|
-
"acceptanceHeader": "Wik-wW_acceptanceHeader",
|
|
39455
|
-
"inspector": "Wik-wW_inspector",
|
|
39467
|
+
"historyNotice": "Wik-wW_historyNotice",
|
|
39456
39468
|
"annotationCard": "Wik-wW_annotationCard",
|
|
39457
|
-
"
|
|
39458
|
-
"
|
|
39459
|
-
"
|
|
39460
|
-
"tabletInspectorButton": "Wik-wW_tabletInspectorButton",
|
|
39461
|
-
"recoveryBody": "Wik-wW_recoveryBody",
|
|
39469
|
+
"exportControls": "Wik-wW_exportControls",
|
|
39470
|
+
"inspectorBody": "Wik-wW_inspectorBody",
|
|
39471
|
+
"writingProgress": "Wik-wW_writingProgress",
|
|
39462
39472
|
"activityPane": "Wik-wW_activityPane",
|
|
39473
|
+
"chapterIdentity": "Wik-wW_chapterIdentity",
|
|
39474
|
+
"historyHeader": "Wik-wW_historyHeader",
|
|
39475
|
+
"issue": "Wik-wW_issue",
|
|
39476
|
+
"importPlan": "Wik-wW_importPlan",
|
|
39463
39477
|
"transferColumns": "Wik-wW_transferColumns",
|
|
39464
|
-
"
|
|
39478
|
+
"proposalHunks": "Wik-wW_proposalHunks",
|
|
39479
|
+
"exportChapterList": "Wik-wW_exportChapterList",
|
|
39480
|
+
"mobileTitle": "Wik-wW_mobileTitle",
|
|
39481
|
+
"turnPlanActions": "Wik-wW_turnPlanActions",
|
|
39482
|
+
"readerHeader": "Wik-wW_readerHeader",
|
|
39483
|
+
"iconButton": "Wik-wW_iconButton",
|
|
39484
|
+
"colorDot": "Wik-wW_colorDot",
|
|
39485
|
+
"readerError": "Wik-wW_readerError",
|
|
39486
|
+
"exportIssues": "Wik-wW_exportIssues",
|
|
39487
|
+
"markerFields": "Wik-wW_markerFields",
|
|
39488
|
+
"annotateForm": "Wik-wW_annotateForm",
|
|
39489
|
+
"chapterDrawerClose": "Wik-wW_chapterDrawerClose",
|
|
39490
|
+
"contextOverview": "Wik-wW_contextOverview"
|
|
39465
39491
|
};
|
|
39466
39492
|
//#endregion
|
|
39467
39493
|
//#region src/client/ContinuousReader.tsx
|
|
@@ -146385,35 +146411,35 @@ window.__ModuleLoader__.load({
|
|
|
146385
146411
|
document.head.appendChild(tag);
|
|
146386
146412
|
}
|
|
146387
146413
|
var SceneWorkbench_module_css_default = {
|
|
146388
|
-
"previewList": "NpkHjW_previewList",
|
|
146389
|
-
"chapter": "NpkHjW_chapter",
|
|
146390
|
-
"good": "NpkHjW_good",
|
|
146391
146414
|
"button": "NpkHjW_button",
|
|
146392
|
-
"
|
|
146415
|
+
"good": "NpkHjW_good",
|
|
146416
|
+
"sceneCard": "NpkHjW_sceneCard",
|
|
146417
|
+
"confirmRow": "NpkHjW_confirmRow",
|
|
146418
|
+
"actions": "NpkHjW_actions",
|
|
146419
|
+
"count": "NpkHjW_count",
|
|
146420
|
+
"moveRow": "NpkHjW_moveRow",
|
|
146421
|
+
"editor": "NpkHjW_editor",
|
|
146422
|
+
"migrationHeading": "NpkHjW_migrationHeading",
|
|
146393
146423
|
"statusRow": "NpkHjW_statusRow",
|
|
146394
|
-
"
|
|
146395
|
-
"
|
|
146424
|
+
"chapter": "NpkHjW_chapter",
|
|
146425
|
+
"root": "NpkHjW_root",
|
|
146396
146426
|
"rollbackRow": "NpkHjW_rollbackRow",
|
|
146397
146427
|
"missingNotice": "NpkHjW_missingNotice",
|
|
146398
|
-
"header": "NpkHjW_header",
|
|
146399
|
-
"sceneList": "NpkHjW_sceneList",
|
|
146400
|
-
"moveRow": "NpkHjW_moveRow",
|
|
146401
|
-
"issuePanel": "NpkHjW_issuePanel",
|
|
146402
|
-
"count": "NpkHjW_count",
|
|
146403
|
-
"confirmRow": "NpkHjW_confirmRow",
|
|
146404
|
-
"sceneHeading": "NpkHjW_sceneHeading",
|
|
146405
|
-
"migrationHeading": "NpkHjW_migrationHeading",
|
|
146406
|
-
"orderToolbar": "NpkHjW_orderToolbar",
|
|
146407
146428
|
"sceneId": "NpkHjW_sceneId",
|
|
146429
|
+
"inlineWarning": "NpkHjW_inlineWarning",
|
|
146430
|
+
"sceneHeading": "NpkHjW_sceneHeading",
|
|
146408
146431
|
"notice": "NpkHjW_notice",
|
|
146409
|
-
"
|
|
146410
|
-
"sceneCard": "NpkHjW_sceneCard",
|
|
146411
|
-
"editor": "NpkHjW_editor",
|
|
146432
|
+
"header": "NpkHjW_header",
|
|
146412
146433
|
"formGrid": "NpkHjW_formGrid",
|
|
146413
|
-
"migration": "NpkHjW_migration",
|
|
146414
146434
|
"bad": "NpkHjW_bad",
|
|
146415
|
-
"
|
|
146416
|
-
"
|
|
146435
|
+
"orderToolbar": "NpkHjW_orderToolbar",
|
|
146436
|
+
"primaryButton": "NpkHjW_primaryButton",
|
|
146437
|
+
"issuePanel": "NpkHjW_issuePanel",
|
|
146438
|
+
"migration": "NpkHjW_migration",
|
|
146439
|
+
"sceneList": "NpkHjW_sceneList",
|
|
146440
|
+
"metadataGrid": "NpkHjW_metadataGrid",
|
|
146441
|
+
"previewList": "NpkHjW_previewList",
|
|
146442
|
+
"previewIssues": "NpkHjW_previewIssues"
|
|
146417
146443
|
};
|
|
146418
146444
|
//#endregion
|
|
146419
146445
|
//#region src/client/SceneWorkbench.tsx
|
|
@@ -149361,6 +149387,115 @@ window.__ModuleLoader__.load({
|
|
|
149361
149387
|
});
|
|
149362
149388
|
}
|
|
149363
149389
|
//#endregion
|
|
149390
|
+
//#region src/client/ProjectMetadataEditor.tsx
|
|
149391
|
+
function ProjectMetadataEditor({ fetchStudioApi, postStudioApi, t, onSaved }) {
|
|
149392
|
+
const [value, setValue] = (0, react.useState)(null);
|
|
149393
|
+
const [revision, setRevision] = (0, react.useState)("");
|
|
149394
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
149395
|
+
const [error, setError] = (0, react.useState)("");
|
|
149396
|
+
const mounted = (0, react.useRef)(true);
|
|
149397
|
+
(0, react.useEffect)(() => {
|
|
149398
|
+
mounted.current = true;
|
|
149399
|
+
return () => {
|
|
149400
|
+
mounted.current = false;
|
|
149401
|
+
};
|
|
149402
|
+
}, []);
|
|
149403
|
+
const load = async () => {
|
|
149404
|
+
setBusy(true);
|
|
149405
|
+
setError("");
|
|
149406
|
+
try {
|
|
149407
|
+
const response = await fetchStudioApi("/workspace");
|
|
149408
|
+
const project = (response.data ?? response).project;
|
|
149409
|
+
if (!project?.metadata || !project.metadata_revision) throw new Error(t("tools.export.unavailable"));
|
|
149410
|
+
if (mounted.current) {
|
|
149411
|
+
setValue({
|
|
149412
|
+
title: String(project.metadata.title ?? ""),
|
|
149413
|
+
author: String(project.metadata.author ?? ""),
|
|
149414
|
+
language: String(project.metadata.language ?? "zh-CN")
|
|
149415
|
+
});
|
|
149416
|
+
setRevision(String(project.metadata_revision));
|
|
149417
|
+
}
|
|
149418
|
+
} catch (cause) {
|
|
149419
|
+
if (mounted.current) setError(cause instanceof Error ? cause.message : String(cause));
|
|
149420
|
+
} finally {
|
|
149421
|
+
if (mounted.current) setBusy(false);
|
|
149422
|
+
}
|
|
149423
|
+
};
|
|
149424
|
+
const save = async () => {
|
|
149425
|
+
if (!value || busy) return;
|
|
149426
|
+
setBusy(true);
|
|
149427
|
+
setError("");
|
|
149428
|
+
try {
|
|
149429
|
+
await postStudioApi("/project/metadata", {
|
|
149430
|
+
...value,
|
|
149431
|
+
expected_revision: revision
|
|
149432
|
+
});
|
|
149433
|
+
if (mounted.current) {
|
|
149434
|
+
setValue(null);
|
|
149435
|
+
onSaved();
|
|
149436
|
+
}
|
|
149437
|
+
} catch (cause) {
|
|
149438
|
+
if (mounted.current) setError(cause instanceof Error ? cause.message : String(cause));
|
|
149439
|
+
} finally {
|
|
149440
|
+
if (mounted.current) setBusy(false);
|
|
149441
|
+
}
|
|
149442
|
+
};
|
|
149443
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [
|
|
149444
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
149445
|
+
type: "button",
|
|
149446
|
+
className: Workbench_module_css_default.actionButton,
|
|
149447
|
+
disabled: busy || value !== null,
|
|
149448
|
+
onClick: () => void load(),
|
|
149449
|
+
children: t("tools.metadata.edit")
|
|
149450
|
+
}),
|
|
149451
|
+
error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
149452
|
+
role: "alert",
|
|
149453
|
+
children: error
|
|
149454
|
+
}),
|
|
149455
|
+
value && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("form", {
|
|
149456
|
+
onSubmit: (event) => {
|
|
149457
|
+
event.preventDefault();
|
|
149458
|
+
save();
|
|
149459
|
+
},
|
|
149460
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: t("tools.metadata.hint") }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
149461
|
+
className: Workbench_module_css_default.exportControls,
|
|
149462
|
+
children: [
|
|
149463
|
+
[
|
|
149464
|
+
"title",
|
|
149465
|
+
"author",
|
|
149466
|
+
"language"
|
|
149467
|
+
].map((key) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t(`tools.export.metadata.${key}`), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
149468
|
+
required: true,
|
|
149469
|
+
disabled: busy,
|
|
149470
|
+
value: value[key],
|
|
149471
|
+
maxLength: key === "language" ? 35 : 120,
|
|
149472
|
+
onChange: (event) => setValue({
|
|
149473
|
+
...value,
|
|
149474
|
+
[key]: event.target.value
|
|
149475
|
+
})
|
|
149476
|
+
})] }, key)),
|
|
149477
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
149478
|
+
type: "submit",
|
|
149479
|
+
className: Workbench_module_css_default.commandButton,
|
|
149480
|
+
disabled: busy,
|
|
149481
|
+
children: t("tools.metadata.save")
|
|
149482
|
+
}),
|
|
149483
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
149484
|
+
type: "button",
|
|
149485
|
+
className: Workbench_module_css_default.actionButton,
|
|
149486
|
+
disabled: busy,
|
|
149487
|
+
onClick: () => {
|
|
149488
|
+
setValue(null);
|
|
149489
|
+
setError("");
|
|
149490
|
+
},
|
|
149491
|
+
children: t("tools.metadata.cancel")
|
|
149492
|
+
})
|
|
149493
|
+
]
|
|
149494
|
+
})]
|
|
149495
|
+
})
|
|
149496
|
+
] });
|
|
149497
|
+
}
|
|
149498
|
+
//#endregion
|
|
149364
149499
|
//#region \0dsh-css:/home/runner/work/Openwrite/Openwrite/packages/studio-panel/src/client/BenchmarkView.module.css.mjs
|
|
149365
149500
|
const css$2 = ".za6_jG_root{background:var(--dsw-alias-bg-base);min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary);flex-direction:column;font-size:13px;display:flex;container:za6_jG_benchmark/inline-size}.za6_jG_root *,.za6_jG_root :before,.za6_jG_root :after{box-sizing:border-box}.za6_jG_root :where(button,input,select,summary,[tabindex]):focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:3px}.za6_jG_root :where(button,input,select){font:inherit}.za6_jG_root :where(button,summary){-webkit-tap-highlight-color:transparent}.za6_jG_root button:disabled{cursor:not-allowed;opacity:.5}.za6_jG_root fieldset:disabled .za6_jG_profileChoice{cursor:default;opacity:.65}.za6_jG_root h1,.za6_jG_root h2,.za6_jG_root h3,.za6_jG_root p{margin:0}.za6_jG_root h2,.za6_jG_root h3{font-size:14px;font-weight:600}.za6_jG_root small{font-size:11px}.za6_jG_body{scrollbar-gutter:stable;flex:auto;min-height:0;padding:22px 24px 140px;overflow:auto}.za6_jG_body>*{max-width:1440px;margin-inline:auto}.za6_jG_pageHeader,.za6_jG_pageIdentity,.za6_jG_sectionHeading,.za6_jG_launchBar,.za6_jG_benchmarkSummary,.za6_jG_historyHeading,.za6_jG_runHeading,.za6_jG_taskProgress{align-items:center;gap:12px;display:flex}.za6_jG_pageHeader{justify-content:space-between;margin-bottom:20px}.za6_jG_pageIdentity{align-items:flex-start;min-width:0}.za6_jG_pageIcon{width:40px;height:40px;color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-2);border-radius:12px;flex:none;place-items:center;display:grid}.za6_jG_pageHeader h1{letter-spacing:-.3px;font-size:20px;line-height:1.35}.za6_jG_pageHeader p,.za6_jG_sectionHeading p{color:var(--dsw-alias-label-secondary);margin-top:6px;font-size:12px;line-height:1.65}.za6_jG_button,.za6_jG_primaryButton{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);min-height:36px;color:var(--dsw-alias-label-primary);white-space:nowrap;cursor:pointer;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:7px;padding:7px 12px;display:inline-flex}.za6_jG_button:hover:enabled{background:var(--dsw-alias-interactive-bg-hover)}.za6_jG_primaryButton{border-color:var(--dsw-alias-button-primary-fill);background:var(--dsw-alias-button-primary-fill);min-width:132px;min-height:39px;color:var(--dsw-alias-label-primary-inverted);font-weight:600}.za6_jG_primaryButton:hover:enabled{background:var(--dsw-alias-button-primary-hover);border-color:var(--dsw-alias-button-primary-hover)}.za6_jG_benchmarkControls{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);border-radius:12px;padding:18px 20px 0}.za6_jG_sectionHeading{justify-content:space-between;margin-bottom:16px}.za6_jG_sectionHeading>div{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.za6_jG_sectionHeading p{margin-top:0}.za6_jG_taskSelector{border:0;gap:12px;min-width:0;margin:0 0 20px;padding:0;display:flex}.za6_jG_taskSelector legend{margin-bottom:9px;padding:0;font-weight:600}.za6_jG_taskSelector>label{border:1px solid var(--dsw-alias-border-l2);cursor:pointer;border-radius:8px;flex:1;align-items:flex-start;gap:9px;min-width:0;padding:12px;display:flex}.za6_jG_taskSelector>label[data-selected=true]{border-color:var(--dsw-alias-state-business-primary);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 5%, var(--dsw-alias-bg-base))}.za6_jG_taskSelector input{accent-color:var(--dsw-alias-state-business-primary);margin:2px 0 0}.za6_jG_taskSelector span{gap:5px;display:grid}.za6_jG_taskSelector small{color:var(--dsw-alias-label-secondary);line-height:1.6}.za6_jG_scopeHint{color:var(--dsw-alias-label-secondary);flex-wrap:wrap;gap:5px 12px;font-size:12px;line-height:1.6;display:flex;margin-top:10px!important}.za6_jG_scopeHint>span{flex-basis:100%}.za6_jG_pipeline{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);border-radius:8px;margin:15px 0 10px;padding:13px 14px}.za6_jG_pipelineHeading{cursor:pointer;flex-wrap:wrap;align-items:center;gap:7px;min-height:30px;list-style:none;display:flex}.za6_jG_pipelineHeading::-webkit-details-marker{display:none}.za6_jG_pipeline details[open]>summary>svg:last-child{transform:rotate(90deg)}.za6_jG_pipelineHeading>span{color:var(--dsw-alias-label-secondary);margin-left:auto;font-size:11px}.za6_jG_pipelineNodes{counter-reset:stage;flex-wrap:wrap;gap:8px;margin:12px 0;padding:0;list-style:none;display:flex}.za6_jG_pipelineNodes li{counter-increment:stage;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);overflow-wrap:anywhere;border-radius:6px;flex:125px;min-width:0;padding:9px 10px;font-size:12px;line-height:1.55}.za6_jG_pipelineNodes li:before{content:counter(stage) \". \";color:var(--dsw-alias-state-business-primary)}.za6_jG_pipelineNodes small{color:var(--dsw-alias-label-secondary);margin-top:4px;display:block}.za6_jG_pipeline p{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:1.7}.za6_jG_executionRecord{border:1px solid var(--dsw-alias-border-l2);border-radius:8px;margin-top:15px;padding:12px}.za6_jG_executionRecord>small{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin-top:5px;display:block}.za6_jG_modelGroups{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.za6_jG_modelGroup,.za6_jG_configFields{border:0;min-width:0;margin:0;padding:0}.za6_jG_modelGroup legend{align-items:center;gap:7px;margin-bottom:9px;padding:0;font-weight:600;display:flex}.za6_jG_count{background:var(--dsw-alias-bg-layer-2);min-width:21px;height:20px;color:var(--dsw-alias-label-secondary);border-radius:5px;place-items:center;padding-inline:5px;font-size:11px;font-weight:500;display:inline-grid}.za6_jG_modelPicker>summary{border:1px solid var(--dsw-alias-border-l2);cursor:pointer;border-radius:7px;align-items:center;gap:10px;min-height:38px;padding:9px 11px;list-style:none;display:flex}.za6_jG_modelPicker>summary::-webkit-details-marker{display:none}.za6_jG_modelPicker>summary>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.za6_jG_modelPicker>summary>span[data-empty=true]{color:var(--dsw-alias-label-secondary)}.za6_jG_modelPicker>summary>svg{color:var(--dsw-alias-label-secondary);flex:none;transform:rotate(90deg)}.za6_jG_modelPicker[open]>summary>svg{transform:rotate(-90deg)}.za6_jG_modelPicker>summary:hover{background:var(--dsw-alias-interactive-bg-hover)}.za6_jG_modelPicker[open]>summary{border-color:var(--dsw-alias-state-business-primary)}.za6_jG_benchmarkProfiles{gap:7px;max-height:190px;margin:8px -3px 0;padding:3px;display:grid;overflow:auto}.za6_jG_profileChoice{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);cursor:pointer;border-radius:7px;align-items:flex-start;gap:10px;min-width:0;min-height:55px;padding:10px 11px;display:flex}.za6_jG_profileChoice:hover{background:var(--dsw-alias-interactive-bg-hover)}.za6_jG_profileChoice[data-selected=true]{border-color:var(--dsw-alias-state-business-primary);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 5%, var(--dsw-alias-bg-base))}.za6_jG_profileChoice input{width:15px;height:15px;accent-color:var(--dsw-alias-state-business-primary);flex:none;margin:2px 0 0}.za6_jG_profileChoice>span{gap:4px;min-width:0;display:grid}.za6_jG_profileChoice strong{overflow-wrap:anywhere;font-size:12px;font-weight:600}.za6_jG_profileChoice small{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;line-height:1.5}.za6_jG_configFields{margin-top:20px}.za6_jG_benchmarkInputs,.za6_jG_advancedInputs{gap:14px;display:grid}.za6_jG_benchmarkInputs{grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) minmax(170px,1.3fr)}.za6_jG_advancedInputs{grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px;padding:6px 0 13px}.za6_jG_configFields label{min-width:0;color:var(--dsw-alias-label-secondary);gap:7px;font-size:12px;display:grid}.za6_jG_configFields input,.za6_jG_configFields select{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);width:100%;min-width:0;height:36px;color:var(--dsw-alias-label-primary);border-radius:7px;padding:6px 10px;font-size:13px}.za6_jG_configFields input:disabled,.za6_jG_configFields select:disabled{opacity:.65}.za6_jG_advanced{margin-top:8px}.za6_jG_advanced>summary,.za6_jG_metadataSection>summary{cursor:pointer;align-items:center;gap:7px;list-style:none;display:flex}.za6_jG_advanced>summary::-webkit-details-marker,.za6_jG_metadataSection>summary::-webkit-details-marker{display:none}.za6_jG_advanced>summary{min-height:42px;color:var(--dsw-alias-label-secondary);font-size:12px}.za6_jG_advanced>summary>span{margin-left:auto;font-size:11px}.za6_jG_advanced[open]>summary>svg,.za6_jG_metadataSection[open]>summary>svg{transform:rotate(90deg)}.za6_jG_launchBar{border-top:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);border-radius:0 0 12px 12px;justify-content:space-between;margin:0 -20px;padding:14px 20px}.za6_jG_workload{flex-wrap:wrap;align-items:baseline;gap:6px 12px;min-width:0;line-height:1.5;display:flex}.za6_jG_workload strong{font-size:12px}.za6_jG_workload>span{color:var(--dsw-alias-label-secondary);font-size:12px}.za6_jG_workload small{color:var(--dsw-alias-label-secondary);flex-basis:100%}.za6_jG_taskError{border:1px solid var(--dsw-alias-state-error-secondary);color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;border-radius:8px;margin-bottom:16px;padding:12px 14px;font-size:12px;line-height:1.65}.za6_jG_taskProgress{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);border-radius:8px;flex-wrap:wrap;margin-top:14px;padding:13px 15px;font-size:12px}.za6_jG_taskProgress>span{color:var(--dsw-alias-label-secondary)}.za6_jG_taskProgress>progress{width:100%;height:5px;accent-color:var(--dsw-alias-state-business-primary);flex-basis:100%}.za6_jG_taskProgress[data-status=failed]{border-color:var(--dsw-alias-state-error-secondary)}.za6_jG_taskFailure{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;flex-basis:100%;line-height:1.65}.za6_jG_benchmarkSplit{grid-template-columns:248px minmax(0,1fr);align-items:start;gap:20px;margin-top:24px;display:grid}.za6_jG_benchmarkRuns{border:1px solid var(--dsw-alias-border-l2);border-radius:10px;min-width:0;overflow:hidden}.za6_jG_historyHeading{border-bottom:1px solid var(--dsw-alias-border-l2);justify-content:space-between;padding:14px}.za6_jG_historyHeading h2{align-items:center;gap:7px;display:flex}.za6_jG_historyHeading svg{color:var(--dsw-alias-label-secondary)}.za6_jG_runList{max-height:760px;padding:10px;overflow:auto}.za6_jG_benchmarkRunGroup+.za6_jG_benchmarkRunGroup{margin-top:12px}.za6_jG_benchmarkRunGroupHeader{color:var(--dsw-alias-label-secondary);gap:4px;padding:6px 5px 9px;display:grid}.za6_jG_benchmarkRunGroupHeader strong{font-size:11px;font-weight:500}.za6_jG_benchmarkRunGroupHeader>span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.za6_jG_benchmarkRun{width:100%;color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;gap:6px;margin-bottom:6px;padding:11px;display:grid}.za6_jG_benchmarkRun:hover{background:var(--dsw-alias-interactive-bg-hover)}.za6_jG_benchmarkRun[data-active=true]{border-color:var(--dsw-alias-state-business-primary);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 5%, var(--dsw-alias-bg-base))}.za6_jG_runHeading{justify-content:space-between;gap:6px;min-width:0}.za6_jG_runHeading>strong{overflow-wrap:anywhere;font-size:13px}.za6_jG_benchmarkRun>span:not(.za6_jG_runHeading),.za6_jG_benchmarkRun>small{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:1.5}.za6_jG_runScore{flex-wrap:wrap;align-items:baseline;gap:5px;display:flex}.za6_jG_runScore>strong{color:var(--dsw-alias-label-primary);font-size:14px}.za6_jG_runScore>small{flex-basis:100%}.za6_jG_runId{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.za6_jG_benchmarkResults{min-width:0}.za6_jG_resultPlaceholder{border:1px dashed var(--dsw-alias-border-l2);text-align:center;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:260px;padding:28px;display:flex}.za6_jG_resultPlaceholder>svg,.za6_jG_resultPlaceholder p{color:var(--dsw-alias-label-secondary)}.za6_jG_resultPlaceholder p{font-size:12px;line-height:1.65}.za6_jG_benchmarkSummary{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;margin:2px 0 16px}.za6_jG_benchmarkSummary>div{min-width:0}.za6_jG_benchmarkSummary h2{line-height:1.5}.za6_jG_benchmarkSummary h2>span{margin-left:8px;font-weight:400}.za6_jG_benchmarkSummary small{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin-top:5px;display:block}.za6_jG_benchmarkSummary>span{color:var(--dsw-alias-label-secondary);flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;display:flex}.za6_jG_benchmarkMetrics{border:1px solid var(--dsw-alias-border-l2);border-radius:9px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:23px;display:grid;overflow:hidden}.za6_jG_benchmarkMetrics>div{border-right:1px solid var(--dsw-alias-border-l2);flex-direction:column;gap:8px;min-width:0;padding:13px 12px;display:flex}.za6_jG_benchmarkMetrics>div:last-child{border:0}.za6_jG_benchmarkMetrics span,.za6_jG_benchmarkMetrics small{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:1.5}.za6_jG_benchmarkMetrics strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:22px;font-weight:600;line-height:1.1}.za6_jG_benchmarkMetrics>div:first-child strong{color:var(--dsw-alias-state-business-primary)}.za6_jG_benchmarkSection{margin-bottom:24px}.za6_jG_benchmarkSection>h3{align-items:center;gap:7px;margin-bottom:11px;display:flex}.za6_jG_notice,.za6_jG_loading{min-height:82px;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-2);text-align:center;border-radius:7px;justify-content:center;align-items:center;gap:9px;padding:22px 14px;font-size:12px;line-height:1.7;display:flex}.za6_jG_loading{background:0 0}.za6_jG_tableScroll{border:1px solid var(--dsw-alias-border-l2);border-radius:8px;max-width:100%;overflow:auto}.za6_jG_benchmarkTable{border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums;width:100%;font-size:11px}.za6_jG_benchmarkTable th,.za6_jG_benchmarkTable td{border-bottom:1px solid var(--dsw-alias-border-l2);vertical-align:top;padding:11px 12px}.za6_jG_benchmarkTable th{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);white-space:nowrap;font-weight:500}.za6_jG_benchmarkTable tbody tr:last-child td{border-bottom:none}.za6_jG_benchmarkTable tbody tr:hover{background:var(--dsw-alias-interactive-bg-hover)}.za6_jG_benchmarkCellStack,.za6_jG_benchmarkUsage,.za6_jG_benchmarkCost{flex-direction:column;gap:5px;min-width:80px;line-height:1.5;display:flex}.za6_jG_benchmarkCellStack{overflow-wrap:anywhere;min-width:120px;max-width:200px}.za6_jG_benchmarkCellStack strong{font-size:12px;font-weight:600}.za6_jG_benchmarkCellStack small,.za6_jG_benchmarkUsage small,.za6_jG_benchmarkCost small{color:var(--dsw-alias-label-secondary);font-size:10px}.za6_jG_benchmarkCost strong{font-size:12px;font-weight:600}.za6_jG_benchmarkError{min-width:80px;max-width:210px;color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;line-height:1.5;display:block}.za6_jG_benchmarkStatus{background:var(--dsw-alias-bg-layer-2);white-space:nowrap;border-radius:5px;align-self:flex-start;align-items:center;width:fit-content;padding:3px 6px;font-size:10px;line-height:1.35;display:inline-flex}.za6_jG_benchmarkStatus[data-status=completed]{color:var(--dsw-alias-state-success-primary);background:color-mix(in srgb, var(--dsw-alias-state-success-primary) 9%, transparent)}.za6_jG_benchmarkStatus[data-status=running]{color:var(--dsw-alias-state-business-primary);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 9%, transparent)}.za6_jG_benchmarkStatus[data-status=partial],.za6_jG_benchmarkStatus[data-status=interrupted]{color:var(--dsw-alias-state-warn-primary)}.za6_jG_benchmarkStatus[data-status=failed]{color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 9%, transparent)}.za6_jG_benchmarkOutputList{gap:8px;display:grid}.za6_jG_benchmarkOutput{border:1px solid var(--dsw-alias-border-l2);border-radius:8px}.za6_jG_benchmarkOutput summary{color:var(--dsw-alias-label-primary);cursor:pointer;overflow-wrap:anywhere;padding:12px;font-size:12px;line-height:1.6}.za6_jG_benchmarkOutput pre{border-top:1px solid var(--dsw-alias-border-l2);max-height:560px;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:18px;font-size:13px;line-height:1.9;overflow:auto}.za6_jG_benchmarkOutput p{border-top:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;padding:16px}.za6_jG_metadataSection{border:1px solid var(--dsw-alias-border-l2);border-radius:8px;margin-top:10px}.za6_jG_metadataSection>summary{min-height:44px;padding:12px;font-size:12px;font-weight:500}.za6_jG_metadataSection[open]>summary{border-bottom:1px solid var(--dsw-alias-border-l2)}.za6_jG_benchmarkPhases{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:16px;list-style:none;display:grid}.za6_jG_benchmarkPhases li{gap:7px;min-width:0;display:grid}.za6_jG_benchmarkPhases span{color:var(--dsw-alias-label-secondary);font-size:11px}.za6_jG_benchmarkPhases strong{overflow-wrap:anywhere;font-size:11px;font-weight:400;line-height:1.65}.za6_jG_benchmarkProvenance{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 24px;margin:0;padding:17px;display:grid}.za6_jG_benchmarkProvenance>div{min-width:0}.za6_jG_benchmarkProvenance dt{color:var(--dsw-alias-label-secondary);font-size:11px}.za6_jG_benchmarkProvenance dd{overflow-wrap:anywhere;margin:6px 0 0;font-size:12px;line-height:1.6}.za6_jG_benchmarkLegacy{color:var(--dsw-alias-state-warn-primary);font-size:11px;line-height:1.6}.za6_jG_metadataSection>.za6_jG_benchmarkLegacy{padding:0 16px 16px}.za6_jG_benchmarkSources{border-top:1px solid var(--dsw-alias-border-l2);margin:0 16px 16px;padding-top:10px;font-size:11px}.za6_jG_benchmarkSources summary{cursor:pointer;padding-block:5px}.za6_jG_benchmarkSources ul{gap:12px;padding-left:18px;display:grid}.za6_jG_benchmarkSources li strong,.za6_jG_benchmarkSources li span{overflow-wrap:anywhere;line-height:1.6;display:block}.za6_jG_benchmarkSources li strong{font-weight:500}.za6_jG_benchmarkSources li span{color:var(--dsw-alias-label-secondary);margin-top:4px}.za6_jG_spinning{flex:none;animation:1s linear infinite za6_jG_spin}@keyframes za6_jG_spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.za6_jG_spinning{animation:none}}@container za6_jG_benchmark (width<=1050px){.za6_jG_body{padding:20px 18px 140px}.za6_jG_benchmarkSplit{grid-template-columns:214px minmax(0,1fr);gap:16px}.za6_jG_benchmarkMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}.za6_jG_benchmarkMetrics>div{border-bottom:1px solid var(--dsw-alias-border-l2)}.za6_jG_benchmarkMetrics>div:nth-child(3){border-right:0}.za6_jG_benchmarkMetrics>div:nth-child(n+4){border-bottom:0}}@container za6_jG_benchmark (width<=740px){.za6_jG_benchmarkSplit{grid-template-columns:minmax(0,1fr)}.za6_jG_runList{grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:10px;max-height:238px;display:grid}.za6_jG_benchmarkRunGroup+.za6_jG_benchmarkRunGroup{margin-top:0}.za6_jG_benchmarkRunGroupHeader{padding-top:0}.za6_jG_benchmarkRun{margin-bottom:0}.za6_jG_pageHeader{align-items:flex-start;gap:8px}.za6_jG_pageHeader h1{font-size:18px}.za6_jG_pageIcon{display:none}.za6_jG_benchmarkControls{padding:16px 16px 0}.za6_jG_modelGroups{grid-template-columns:minmax(0,1fr);gap:18px}.za6_jG_benchmarkProfiles{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}.za6_jG_launchBar{margin-inline:-16px;padding-inline:16px}.za6_jG_benchmarkMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}.za6_jG_benchmarkMetrics>div{border-bottom:1px solid var(--dsw-alias-border-l2)}.za6_jG_benchmarkMetrics>div:nth-child(3){border-right:0}.za6_jG_benchmarkMetrics>div:nth-child(n+4){border-bottom:0}.za6_jG_benchmarkPhases{grid-template-columns:repeat(2,minmax(0,1fr))}}@container za6_jG_benchmark (width<=480px){.za6_jG_body{padding:16px 12px 140px}.za6_jG_pageHeader p{font-size:11px}.za6_jG_pageHeader .za6_jG_button{padding:7px 9px}.za6_jG_taskSelector{flex-direction:column}.za6_jG_benchmarkInputs{grid-template-columns:minmax(0,1fr)}.za6_jG_benchmarkInputs>label:last-child{grid-column:1/-1}.za6_jG_benchmarkProfiles{grid-template-columns:minmax(0,1fr)}.za6_jG_launchBar{flex-direction:column;align-items:stretch;gap:12px}.za6_jG_primaryButton{width:100%}.za6_jG_advanced>summary{flex-wrap:wrap;padding-block:12px}.za6_jG_advanced>summary>span{flex-basis:100%;margin-left:21px}.za6_jG_benchmarkMetrics strong{font-size:20px}.za6_jG_benchmarkMetrics>div{padding-inline:9px}.za6_jG_benchmarkProvenance{grid-template-columns:minmax(0,1fr)}.za6_jG_benchmarkSummary h2>span{margin-top:4px;margin-left:0;display:block}}.za6_jG_reviewWarning{border:1px solid var(--dsw-alias-state-warn-secondary);background:color-mix(in srgb, var(--dsw-alias-state-warn-primary) 6%, var(--dsw-alias-bg-base));color:var(--dsw-alias-label-secondary);border-radius:8px;gap:6px;margin-bottom:14px;padding:12px 14px;font-size:11px;line-height:1.65;display:grid}.za6_jG_reviewWarning>strong{color:var(--dsw-alias-state-warn-primary);font-size:12px}.za6_jG_benchmarkMetrics>div[data-partial=true] strong{color:var(--dsw-alias-state-warn-primary)}.za6_jG_benchmarkError>strong{margin-bottom:6px;font-size:11px;font-weight:500;display:block}";
|
|
149366
149501
|
const tagId$2 = "@dsh-novel/studio-panel/BenchmarkView.module.css";
|
|
@@ -149372,71 +149507,71 @@ window.__ModuleLoader__.load({
|
|
|
149372
149507
|
document.head.appendChild(tag);
|
|
149373
149508
|
}
|
|
149374
149509
|
var BenchmarkView_module_css_default = {
|
|
149375
|
-
"
|
|
149376
|
-
"benchmarkRunGroup": "za6_jG_benchmarkRunGroup",
|
|
149377
|
-
"runScore": "za6_jG_runScore",
|
|
149378
|
-
"modelGroup": "za6_jG_modelGroup",
|
|
149379
|
-
"runList": "za6_jG_runList",
|
|
149380
|
-
"tableScroll": "za6_jG_tableScroll",
|
|
149381
|
-
"launchBar": "za6_jG_launchBar",
|
|
149382
|
-
"configFields": "za6_jG_configFields",
|
|
149383
|
-
"benchmarkStatus": "za6_jG_benchmarkStatus",
|
|
149384
|
-
"benchmarkError": "za6_jG_benchmarkError",
|
|
149385
|
-
"root": "za6_jG_root",
|
|
149386
|
-
"benchmarkInputs": "za6_jG_benchmarkInputs",
|
|
149387
|
-
"spinning": "za6_jG_spinning",
|
|
149388
|
-
"benchmarkSection": "za6_jG_benchmarkSection",
|
|
149389
|
-
"advancedInputs": "za6_jG_advancedInputs",
|
|
149390
|
-
"sectionHeading": "za6_jG_sectionHeading",
|
|
149510
|
+
"benchmarkCost": "za6_jG_benchmarkCost",
|
|
149391
149511
|
"benchmarkSummary": "za6_jG_benchmarkSummary",
|
|
149512
|
+
"taskSelector": "za6_jG_taskSelector",
|
|
149513
|
+
"benchmarkSources": "za6_jG_benchmarkSources",
|
|
149392
149514
|
"pageIdentity": "za6_jG_pageIdentity",
|
|
149393
|
-
"
|
|
149394
|
-
"benchmarkSplit": "za6_jG_benchmarkSplit",
|
|
149515
|
+
"benchmarkUsage": "za6_jG_benchmarkUsage",
|
|
149395
149516
|
"benchmarkLegacy": "za6_jG_benchmarkLegacy",
|
|
149396
|
-
"
|
|
149397
|
-
"advanced": "za6_jG_advanced",
|
|
149398
|
-
"pipelineNodes": "za6_jG_pipelineNodes",
|
|
149399
|
-
"benchmarkSources": "za6_jG_benchmarkSources",
|
|
149400
|
-
"body": "za6_jG_body",
|
|
149517
|
+
"benchmarkControls": "za6_jG_benchmarkControls",
|
|
149401
149518
|
"pageHeader": "za6_jG_pageHeader",
|
|
149402
|
-
"
|
|
149403
|
-
"
|
|
149404
|
-
"
|
|
149405
|
-
"benchmarkCellStack": "za6_jG_benchmarkCellStack",
|
|
149406
|
-
"taskError": "za6_jG_taskError",
|
|
149407
|
-
"taskFailure": "za6_jG_taskFailure",
|
|
149408
|
-
"pipelineHeading": "za6_jG_pipelineHeading",
|
|
149409
|
-
"benchmarkPhases": "za6_jG_benchmarkPhases",
|
|
149410
|
-
"benchmarkOutputList": "za6_jG_benchmarkOutputList",
|
|
149411
|
-
"modelPicker": "za6_jG_modelPicker",
|
|
149412
|
-
"taskProgress": "za6_jG_taskProgress",
|
|
149413
|
-
"benchmarkResults": "za6_jG_benchmarkResults",
|
|
149414
|
-
"modelGroups": "za6_jG_modelGroups",
|
|
149415
|
-
"benchmarkUsage": "za6_jG_benchmarkUsage",
|
|
149416
|
-
"count": "za6_jG_count",
|
|
149519
|
+
"benchmarkMetrics": "za6_jG_benchmarkMetrics",
|
|
149520
|
+
"benchmarkRunGroup": "za6_jG_benchmarkRunGroup",
|
|
149521
|
+
"executionRecord": "za6_jG_executionRecord",
|
|
149417
149522
|
"reviewWarning": "za6_jG_reviewWarning",
|
|
149523
|
+
"button": "za6_jG_button",
|
|
149524
|
+
"benchmarkStatus": "za6_jG_benchmarkStatus",
|
|
149525
|
+
"benchmarkInputs": "za6_jG_benchmarkInputs",
|
|
149526
|
+
"workload": "za6_jG_workload",
|
|
149527
|
+
"launchBar": "za6_jG_launchBar",
|
|
149528
|
+
"modelGroup": "za6_jG_modelGroup",
|
|
149529
|
+
"metadataSection": "za6_jG_metadataSection",
|
|
149530
|
+
"root": "za6_jG_root",
|
|
149531
|
+
"pageIcon": "za6_jG_pageIcon",
|
|
149532
|
+
"historyHeading": "za6_jG_historyHeading",
|
|
149418
149533
|
"scopeHint": "za6_jG_scopeHint",
|
|
149534
|
+
"advancedInputs": "za6_jG_advancedInputs",
|
|
149535
|
+
"pipelineHeading": "za6_jG_pipelineHeading",
|
|
149536
|
+
"taskFailure": "za6_jG_taskFailure",
|
|
149537
|
+
"loading": "za6_jG_loading",
|
|
149538
|
+
"runScore": "za6_jG_runScore",
|
|
149539
|
+
"advanced": "za6_jG_advanced",
|
|
149540
|
+
"modelPicker": "za6_jG_modelPicker",
|
|
149419
149541
|
"benchmarkProvenance": "za6_jG_benchmarkProvenance",
|
|
149542
|
+
"benchmarkRunGroupHeader": "za6_jG_benchmarkRunGroupHeader",
|
|
149543
|
+
"benchmarkOutput": "za6_jG_benchmarkOutput",
|
|
149544
|
+
"benchmarkTable": "za6_jG_benchmarkTable",
|
|
149545
|
+
"notice": "za6_jG_notice",
|
|
149546
|
+
"benchmarkRun": "za6_jG_benchmarkRun",
|
|
149547
|
+
"benchmarkResults": "za6_jG_benchmarkResults",
|
|
149548
|
+
"sectionHeading": "za6_jG_sectionHeading",
|
|
149549
|
+
"benchmarkProfiles": "za6_jG_benchmarkProfiles",
|
|
149550
|
+
"benchmarkSection": "za6_jG_benchmarkSection",
|
|
149420
149551
|
"resultPlaceholder": "za6_jG_resultPlaceholder",
|
|
149421
|
-
"
|
|
149552
|
+
"modelGroups": "za6_jG_modelGroups",
|
|
149553
|
+
"benchmarkOutputList": "za6_jG_benchmarkOutputList",
|
|
149554
|
+
"taskError": "za6_jG_taskError",
|
|
149555
|
+
"body": "za6_jG_body",
|
|
149556
|
+
"taskProgress": "za6_jG_taskProgress",
|
|
149557
|
+
"pipeline": "za6_jG_pipeline",
|
|
149558
|
+
"benchmarkError": "za6_jG_benchmarkError",
|
|
149422
149559
|
"spin": "za6_jG_spin",
|
|
149423
|
-
"
|
|
149424
|
-
"
|
|
149425
|
-
"
|
|
149426
|
-
"
|
|
149560
|
+
"profileChoice": "za6_jG_profileChoice",
|
|
149561
|
+
"runHeading": "za6_jG_runHeading",
|
|
149562
|
+
"benchmarkSplit": "za6_jG_benchmarkSplit",
|
|
149563
|
+
"runList": "za6_jG_runList",
|
|
149564
|
+
"primaryButton": "za6_jG_primaryButton",
|
|
149565
|
+
"runId": "za6_jG_runId",
|
|
149566
|
+
"spinning": "za6_jG_spinning",
|
|
149567
|
+
"configFields": "za6_jG_configFields",
|
|
149427
149568
|
"benchmarkRuns": "za6_jG_benchmarkRuns",
|
|
149428
|
-
"
|
|
149569
|
+
"benchmarkCellStack": "za6_jG_benchmarkCellStack",
|
|
149570
|
+
"tableScroll": "za6_jG_tableScroll",
|
|
149571
|
+
"benchmarkPhases": "za6_jG_benchmarkPhases",
|
|
149429
149572
|
"benchmark": "za6_jG_benchmark",
|
|
149430
|
-
"
|
|
149431
|
-
"
|
|
149432
|
-
"taskSelector": "za6_jG_taskSelector",
|
|
149433
|
-
"historyHeading": "za6_jG_historyHeading",
|
|
149434
|
-
"benchmarkProfiles": "za6_jG_benchmarkProfiles",
|
|
149435
|
-
"benchmarkRun": "za6_jG_benchmarkRun",
|
|
149436
|
-
"benchmarkMetrics": "za6_jG_benchmarkMetrics",
|
|
149437
|
-
"loading": "za6_jG_loading",
|
|
149438
|
-
"benchmarkTable": "za6_jG_benchmarkTable",
|
|
149439
|
-
"benchmarkCost": "za6_jG_benchmarkCost"
|
|
149573
|
+
"count": "za6_jG_count",
|
|
149574
|
+
"pipelineNodes": "za6_jG_pipelineNodes"
|
|
149440
149575
|
};
|
|
149441
149576
|
//#endregion
|
|
149442
149577
|
//#region src/client/benchmark-options.ts
|
|
@@ -154297,6 +154432,15 @@ window.__ModuleLoader__.load({
|
|
|
154297
154432
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(import_lucide_react.Download, { size: 18 }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("tools.export") })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
154298
154433
|
className: Workbench_module_css_default.exportWorkspace,
|
|
154299
154434
|
children: [
|
|
154435
|
+
workspace !== void 0 && !notInitialized && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ProjectMetadataEditor, {
|
|
154436
|
+
fetchStudioApi,
|
|
154437
|
+
postStudioApi,
|
|
154438
|
+
t,
|
|
154439
|
+
onSaved: () => {
|
|
154440
|
+
setPreflightReload((value) => value + 1);
|
|
154441
|
+
workbenchStore.invalidate("workspace");
|
|
154442
|
+
}
|
|
154443
|
+
}),
|
|
154300
154444
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
154301
154445
|
className: Workbench_module_css_default.exportControls,
|
|
154302
154446
|
children: [
|
|
@@ -154431,7 +154575,7 @@ window.__ModuleLoader__.load({
|
|
|
154431
154575
|
" · ",
|
|
154432
154576
|
chapter.title
|
|
154433
154577
|
] }),
|
|
154434
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
154578
|
+
workbench.editorStatus !== "idle" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
154435
154579
|
"data-save": workbench.editorStatus,
|
|
154436
154580
|
children: t(`creation.status.${workbench.editorStatus}`)
|
|
154437
154581
|
}),
|
|
@@ -154682,15 +154826,15 @@ window.__ModuleLoader__.load({
|
|
|
154682
154826
|
}
|
|
154683
154827
|
var DomainToolCard_module_css_default = {
|
|
154684
154828
|
"action": "Pzee0G_action",
|
|
154685
|
-
"
|
|
154829
|
+
"spin": "Pzee0G_spin",
|
|
154830
|
+
"toolName": "Pzee0G_toolName",
|
|
154686
154831
|
"head": "Pzee0G_head",
|
|
154687
|
-
"
|
|
154832
|
+
"row": "Pzee0G_row",
|
|
154688
154833
|
"family": "Pzee0G_family",
|
|
154689
|
-
"
|
|
154834
|
+
"card": "Pzee0G_card",
|
|
154690
154835
|
"summary": "Pzee0G_summary",
|
|
154691
|
-
"
|
|
154692
|
-
"
|
|
154693
|
-
"toolName": "Pzee0G_toolName"
|
|
154836
|
+
"chevron": "Pzee0G_chevron",
|
|
154837
|
+
"body": "Pzee0G_body"
|
|
154694
154838
|
};
|
|
154695
154839
|
//#endregion
|
|
154696
154840
|
//#region src/client/DomainToolCard.tsx
|
|
@@ -155210,7 +155354,7 @@ window.__ModuleLoader__.load({
|
|
|
155210
155354
|
"creation.draft.restore": "恢复到编辑器",
|
|
155211
155355
|
"creation.draft.dismiss": "忽略并删除",
|
|
155212
155356
|
"creation.draft.unavailable": "本地恢复保护不可用;当前编辑器内容仍会保留到本页关闭前。",
|
|
155213
|
-
"creation.status.idle": "
|
|
155357
|
+
"creation.status.idle": "尚未载入正文",
|
|
155214
155358
|
"creation.status.loading": "载入中",
|
|
155215
155359
|
"creation.status.saved": "已保存",
|
|
155216
155360
|
"creation.status.dirty": "未保存",
|
|
@@ -155324,6 +155468,10 @@ window.__ModuleLoader__.load({
|
|
|
155324
155468
|
"tools.export.bookTarget": "全书目标",
|
|
155325
155469
|
"tools.export.chapterTarget": "单章目标",
|
|
155326
155470
|
"tools.export.completion": "完成度",
|
|
155471
|
+
"tools.metadata.edit": "编辑作品信息",
|
|
155472
|
+
"tools.metadata.save": "保存作品信息",
|
|
155473
|
+
"tools.metadata.cancel": "取消",
|
|
155474
|
+
"tools.metadata.hint": "交付导出前请填写书名、作者署名和语言。",
|
|
155327
155475
|
"tools.export.metadata": "书籍元数据",
|
|
155328
155476
|
"tools.export.metadata.title": "书名",
|
|
155329
155477
|
"tools.export.metadata.author": "作者",
|
|
@@ -156266,7 +156414,7 @@ window.__ModuleLoader__.load({
|
|
|
156266
156414
|
"creation.draft.restore": "Restore to editor",
|
|
156267
156415
|
"creation.draft.dismiss": "Ignore and delete",
|
|
156268
156416
|
"creation.draft.unavailable": "Local recovery protection is unavailable. The editor keeps this text until the page closes.",
|
|
156269
|
-
"creation.status.idle": "
|
|
156417
|
+
"creation.status.idle": "No manuscript loaded",
|
|
156270
156418
|
"creation.status.loading": "Loading",
|
|
156271
156419
|
"creation.status.saved": "Saved",
|
|
156272
156420
|
"creation.status.dirty": "Unsaved",
|
|
@@ -156380,6 +156528,10 @@ window.__ModuleLoader__.load({
|
|
|
156380
156528
|
"tools.export.bookTarget": "Book target",
|
|
156381
156529
|
"tools.export.chapterTarget": "Chapter target",
|
|
156382
156530
|
"tools.export.completion": "Completion",
|
|
156531
|
+
"tools.metadata.edit": "Edit book information",
|
|
156532
|
+
"tools.metadata.save": "Save book information",
|
|
156533
|
+
"tools.metadata.cancel": "Cancel",
|
|
156534
|
+
"tools.metadata.hint": "Set the title, author credit and language before delivery export.",
|
|
156383
156535
|
"tools.export.metadata": "Book metadata",
|
|
156384
156536
|
"tools.export.metadata.title": "Title",
|
|
156385
156537
|
"tools.export.metadata.author": "Author",
|
|
@@ -157070,31 +157222,31 @@ window.__ModuleLoader__.load({
|
|
|
157070
157222
|
document.head.appendChild(tag);
|
|
157071
157223
|
}
|
|
157072
157224
|
var ReviewCard_module_css_default = {
|
|
157073
|
-
"dimension": "InxF9G_dimension",
|
|
157074
157225
|
"verdictRow": "InxF9G_verdictRow",
|
|
157075
|
-
"verdict": "InxF9G_verdict",
|
|
157076
|
-
"sep": "InxF9G_sep",
|
|
157077
|
-
"issueGroup": "InxF9G_issueGroup",
|
|
157078
|
-
"root": "InxF9G_root",
|
|
157079
|
-
"issueHead": "InxF9G_issueHead",
|
|
157080
|
-
"priority": "InxF9G_priority",
|
|
157081
|
-
"severity": "InxF9G_severity",
|
|
157082
|
-
"issueSummary": "InxF9G_issueSummary",
|
|
157083
|
-
"issueCount": "InxF9G_issueCount",
|
|
157084
|
-
"card": "InxF9G_card",
|
|
157085
|
-
"score": "InxF9G_score",
|
|
157086
|
-
"bodyWrap": "InxF9G_bodyWrap",
|
|
157087
|
-
"rawJson": "InxF9G_rawJson",
|
|
157088
157226
|
"summary": "InxF9G_summary",
|
|
157089
|
-
"
|
|
157090
|
-
"
|
|
157227
|
+
"priority": "InxF9G_priority",
|
|
157228
|
+
"suggestionLabel": "InxF9G_suggestionLabel",
|
|
157091
157229
|
"rawTitle": "InxF9G_rawTitle",
|
|
157092
157230
|
"issueGroupTitle": "InxF9G_issueGroupTitle",
|
|
157093
|
-
"
|
|
157094
|
-
"
|
|
157231
|
+
"issueSummary": "InxF9G_issueSummary",
|
|
157232
|
+
"issueGroup": "InxF9G_issueGroup",
|
|
157233
|
+
"bodyWrap": "InxF9G_bodyWrap",
|
|
157234
|
+
"severity": "InxF9G_severity",
|
|
157235
|
+
"dimension": "InxF9G_dimension",
|
|
157095
157236
|
"suggestion": "InxF9G_suggestion",
|
|
157237
|
+
"reportSummary": "InxF9G_reportSummary",
|
|
157238
|
+
"issue": "InxF9G_issue",
|
|
157239
|
+
"title": "InxF9G_title",
|
|
157240
|
+
"verdict": "InxF9G_verdict",
|
|
157241
|
+
"sep": "InxF9G_sep",
|
|
157096
157242
|
"metric": "InxF9G_metric",
|
|
157097
|
-
"
|
|
157243
|
+
"issueCount": "InxF9G_issueCount",
|
|
157244
|
+
"quote": "InxF9G_quote",
|
|
157245
|
+
"score": "InxF9G_score",
|
|
157246
|
+
"rawJson": "InxF9G_rawJson",
|
|
157247
|
+
"card": "InxF9G_card",
|
|
157248
|
+
"root": "InxF9G_root",
|
|
157249
|
+
"issueHead": "InxF9G_issueHead"
|
|
157098
157250
|
};
|
|
157099
157251
|
//#endregion
|
|
157100
157252
|
//#region src/client/ReviewCard.tsx
|
|
@@ -157991,7 +158143,7 @@ window.__ModuleLoader__.load({
|
|
|
157991
158143
|
if (selected === null) return false;
|
|
157992
158144
|
const workspace = await ctx.workspaces.create({ path: selected });
|
|
157993
158145
|
const sessionId = await ctx.sessions.create({ workspaceId: workspace.workspaceId });
|
|
157994
|
-
const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-
|
|
158146
|
+
const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-10");
|
|
157995
158147
|
if (!result.ok) throw new Error(result.error.message);
|
|
157996
158148
|
ctx.sessions.open(sessionId);
|
|
157997
158149
|
ctx.uiConversation.binding(sessionId).activate("openwrite.creation");
|