@morlay/ui-conversation-manager 0.1.9 → 0.1.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/dist/client.cjs +120 -120
- package/dist/client.mjs +13 -13
- package/package.json +5 -5
- package/src/client/index.ts +1 -1
package/dist/client.cjs
CHANGED
|
@@ -1148,76 +1148,76 @@ window.__ModuleLoader__.load({
|
|
|
1148
1148
|
//#endregion
|
|
1149
1149
|
//#region ../../client/dsh-client-ui-primitives/src/client/schema-form/hints.ts
|
|
1150
1150
|
var SchemaFormHints = class extends _deepseek_ai_cordis.Service {
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1151
|
+
readers = /* @__PURE__ */ new Map();
|
|
1152
|
+
texts = /* @__PURE__ */ new Map();
|
|
1153
|
+
selects = /* @__PURE__ */ new Map();
|
|
1154
|
+
sources = /* @__PURE__ */ new Map();
|
|
1155
|
+
listeners = /* @__PURE__ */ new Set();
|
|
1156
1156
|
constructor(ctx) {
|
|
1157
1157
|
super(ctx, "schemaFormHints");
|
|
1158
1158
|
}
|
|
1159
1159
|
keysFor(ns, path) {
|
|
1160
|
-
return lookup(this
|
|
1160
|
+
return lookup(this.readers, ns, path)?.() ?? [];
|
|
1161
1161
|
}
|
|
1162
1162
|
textFor(ns, path) {
|
|
1163
|
-
return lookup(this
|
|
1163
|
+
return lookup(this.texts, ns, path)?.() ?? {};
|
|
1164
1164
|
}
|
|
1165
1165
|
select(ns, path, spec) {
|
|
1166
1166
|
const key = locationKey(ns, path);
|
|
1167
|
-
this
|
|
1168
|
-
this
|
|
1167
|
+
this.selects.set(key, spec);
|
|
1168
|
+
this.publish();
|
|
1169
1169
|
return () => {
|
|
1170
|
-
if (this
|
|
1171
|
-
this
|
|
1172
|
-
this
|
|
1170
|
+
if (this.selects.get(key) !== spec) return;
|
|
1171
|
+
this.selects.delete(key);
|
|
1172
|
+
this.publish();
|
|
1173
1173
|
};
|
|
1174
1174
|
}
|
|
1175
1175
|
selectFor(ns, path) {
|
|
1176
|
-
return lookup(this
|
|
1176
|
+
return lookup(this.selects, ns, path);
|
|
1177
1177
|
}
|
|
1178
1178
|
source(name, spec) {
|
|
1179
|
-
this
|
|
1180
|
-
this
|
|
1179
|
+
this.sources.set(name, spec);
|
|
1180
|
+
this.publish();
|
|
1181
1181
|
return () => {
|
|
1182
|
-
if (this
|
|
1183
|
-
this
|
|
1184
|
-
this
|
|
1182
|
+
if (this.sources.get(name) !== spec) return;
|
|
1183
|
+
this.sources.delete(name);
|
|
1184
|
+
this.publish();
|
|
1185
1185
|
};
|
|
1186
1186
|
}
|
|
1187
1187
|
sourceFor(name) {
|
|
1188
|
-
return this
|
|
1188
|
+
return this.sources.get(name);
|
|
1189
1189
|
}
|
|
1190
1190
|
describe(ns, path, read) {
|
|
1191
1191
|
const key = locationKey(ns, path);
|
|
1192
|
-
this
|
|
1193
|
-
this
|
|
1192
|
+
this.texts.set(key, read);
|
|
1193
|
+
this.publish();
|
|
1194
1194
|
return () => {
|
|
1195
|
-
if (this
|
|
1196
|
-
this
|
|
1197
|
-
this
|
|
1195
|
+
if (this.texts.get(key) !== read) return;
|
|
1196
|
+
this.texts.delete(key);
|
|
1197
|
+
this.publish();
|
|
1198
1198
|
};
|
|
1199
1199
|
}
|
|
1200
1200
|
suggestKeys(ns, path, read) {
|
|
1201
1201
|
const key = locationKey(ns, path);
|
|
1202
|
-
this
|
|
1203
|
-
this
|
|
1202
|
+
this.readers.set(key, read);
|
|
1203
|
+
this.publish();
|
|
1204
1204
|
return () => {
|
|
1205
|
-
if (this
|
|
1206
|
-
this
|
|
1207
|
-
this
|
|
1205
|
+
if (this.readers.get(key) !== read) return;
|
|
1206
|
+
this.readers.delete(key);
|
|
1207
|
+
this.publish();
|
|
1208
1208
|
};
|
|
1209
1209
|
}
|
|
1210
1210
|
subscribe(listener) {
|
|
1211
|
-
this
|
|
1211
|
+
this.listeners.add(listener);
|
|
1212
1212
|
return () => {
|
|
1213
|
-
this
|
|
1213
|
+
this.listeners.delete(listener);
|
|
1214
1214
|
};
|
|
1215
1215
|
}
|
|
1216
1216
|
refresh() {
|
|
1217
|
-
this
|
|
1217
|
+
this.publish();
|
|
1218
1218
|
}
|
|
1219
|
-
|
|
1220
|
-
for (const listener of this
|
|
1219
|
+
publish() {
|
|
1220
|
+
for (const listener of this.listeners) listener();
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
1223
|
function locationKey(ns, path) {
|
|
@@ -1608,25 +1608,25 @@ window.__ModuleLoader__.load({
|
|
|
1608
1608
|
document.head.appendChild(tag);
|
|
1609
1609
|
}
|
|
1610
1610
|
var schema_form_module_css_default = {
|
|
1611
|
-
"lineInvalid": "N3kx7G_lineInvalid",
|
|
1612
|
-
"lineFoldSpacer": "N3kx7G_lineFoldSpacer",
|
|
1613
|
-
"lineKey": "N3kx7G_lineKey",
|
|
1614
|
-
"lineBody": "N3kx7G_lineBody",
|
|
1615
|
-
"lineValue": "N3kx7G_lineValue",
|
|
1616
|
-
"editorRoot": "N3kx7G_editorRoot",
|
|
1617
|
-
"compactInput": "N3kx7G_compactInput",
|
|
1618
|
-
"compactTextField": "N3kx7G_compactTextField",
|
|
1619
|
-
"hint": "N3kx7G_hint",
|
|
1620
1611
|
"lineRow": "N3kx7G_lineRow",
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1612
|
+
"compactInput": "N3kx7G_compactInput",
|
|
1613
|
+
"lineToken": "N3kx7G_lineToken",
|
|
1623
1614
|
"lineNumber": "N3kx7G_lineNumber",
|
|
1615
|
+
"lineFoldSpacer": "N3kx7G_lineFoldSpacer",
|
|
1616
|
+
"compactTextField": "N3kx7G_compactTextField",
|
|
1624
1617
|
"valueSlot": "N3kx7G_valueSlot",
|
|
1618
|
+
"hoverActions": "N3kx7G_hoverActions",
|
|
1619
|
+
"lineBody": "N3kx7G_lineBody",
|
|
1620
|
+
"lineInvalid": "N3kx7G_lineInvalid",
|
|
1621
|
+
"hint": "N3kx7G_hint",
|
|
1622
|
+
"valueTrigger": "N3kx7G_valueTrigger",
|
|
1623
|
+
"lineKey": "N3kx7G_lineKey",
|
|
1624
|
+
"lineValue": "N3kx7G_lineValue",
|
|
1625
1625
|
"lineComment": "N3kx7G_lineComment",
|
|
1626
1626
|
"addWrap": "N3kx7G_addWrap",
|
|
1627
|
+
"editorRoot": "N3kx7G_editorRoot",
|
|
1627
1628
|
"lineFold": "N3kx7G_lineFold",
|
|
1628
|
-
"
|
|
1629
|
-
"lineToken": "N3kx7G_lineToken"
|
|
1629
|
+
"lineActions": "N3kx7G_lineActions"
|
|
1630
1630
|
};
|
|
1631
1631
|
//#endregion
|
|
1632
1632
|
//#region ../../client/dsh-client-ui-primitives/src/client/schema-form/TruncatedTooltip.tsx
|
|
@@ -2502,11 +2502,11 @@ window.__ModuleLoader__.load({
|
|
|
2502
2502
|
});
|
|
2503
2503
|
}
|
|
2504
2504
|
function install(ctx) {
|
|
2505
|
+
const hints = new SchemaFormHints(ctx.root);
|
|
2505
2506
|
ctx.effect(() => ctx.locale.register(NS$1, {
|
|
2506
2507
|
zh: zh$1,
|
|
2507
2508
|
en: en$1
|
|
2508
2509
|
}), "ui-schema-form: dictionaries");
|
|
2509
|
-
const hints = new SchemaFormHints(ctx);
|
|
2510
2510
|
ctx.effect(() => ctx.slots.registerFactory({
|
|
2511
2511
|
name: "settings.schema-form.form",
|
|
2512
2512
|
scope: "root",
|
|
@@ -2619,55 +2619,55 @@ window.__ModuleLoader__.load({
|
|
|
2619
2619
|
document.head.appendChild(tag);
|
|
2620
2620
|
}
|
|
2621
2621
|
var layout_module_css_default = {
|
|
2622
|
-
"
|
|
2622
|
+
"fixed": "_7Ar2dq_fixed",
|
|
2623
|
+
"strong": "_7Ar2dq_strong",
|
|
2623
2624
|
"text": "_7Ar2dq_text",
|
|
2624
|
-
"
|
|
2625
|
+
"sizeLg": "_7Ar2dq_sizeLg",
|
|
2626
|
+
"wrap": "_7Ar2dq_wrap",
|
|
2625
2627
|
"gap8": "_7Ar2dq_gap8",
|
|
2626
|
-
"
|
|
2628
|
+
"plain": "_7Ar2dq_plain",
|
|
2629
|
+
"mono": "_7Ar2dq_mono",
|
|
2630
|
+
"wSearch": "_7Ar2dq_wSearch",
|
|
2631
|
+
"gap0": "_7Ar2dq_gap0",
|
|
2632
|
+
"gap4": "_7Ar2dq_gap4",
|
|
2627
2633
|
"padPage": "_7Ar2dq_padPage",
|
|
2628
|
-
"stack": "_7Ar2dq_stack",
|
|
2629
2634
|
"padBlocking": "_7Ar2dq_padBlocking",
|
|
2635
|
+
"gap10": "_7Ar2dq_gap10",
|
|
2636
|
+
"padRow": "_7Ar2dq_padRow",
|
|
2630
2637
|
"push": "_7Ar2dq_push",
|
|
2638
|
+
"sizeXs": "_7Ar2dq_sizeXs",
|
|
2639
|
+
"sizeMd": "_7Ar2dq_sizeMd",
|
|
2640
|
+
"sizeBase": "_7Ar2dq_sizeBase",
|
|
2641
|
+
"tonePrimary": "_7Ar2dq_tonePrimary",
|
|
2642
|
+
"alignStart": "_7Ar2dq_alignStart",
|
|
2643
|
+
"gap12": "_7Ar2dq_gap12",
|
|
2644
|
+
"truncate": "_7Ar2dq_truncate",
|
|
2645
|
+
"gap16": "_7Ar2dq_gap16",
|
|
2631
2646
|
"toneSecondary": "_7Ar2dq_toneSecondary",
|
|
2632
|
-
"
|
|
2633
|
-
"
|
|
2647
|
+
"tabular": "_7Ar2dq_tabular",
|
|
2648
|
+
"alignEnd": "_7Ar2dq_alignEnd",
|
|
2649
|
+
"justifyEnd": "_7Ar2dq_justifyEnd",
|
|
2650
|
+
"padNone": "_7Ar2dq_padNone",
|
|
2634
2651
|
"justifyCenter": "_7Ar2dq_justifyCenter",
|
|
2652
|
+
"toneTertiary": "_7Ar2dq_toneTertiary",
|
|
2653
|
+
"justifyBetween": "_7Ar2dq_justifyBetween",
|
|
2654
|
+
"boxed": "_7Ar2dq_boxed",
|
|
2635
2655
|
"toneDanger": "_7Ar2dq_toneDanger",
|
|
2636
2656
|
"weightMedium": "_7Ar2dq_weightMedium",
|
|
2637
|
-
"fixed": "_7Ar2dq_fixed",
|
|
2638
|
-
"row": "_7Ar2dq_row",
|
|
2639
|
-
"alignStart": "_7Ar2dq_alignStart",
|
|
2640
|
-
"grow": "_7Ar2dq_grow",
|
|
2641
|
-
"padCard": "_7Ar2dq_padCard",
|
|
2642
2657
|
"gapWide": "_7Ar2dq_gapWide",
|
|
2643
|
-
"
|
|
2658
|
+
"row": "_7Ar2dq_row",
|
|
2644
2659
|
"narrow": "_7Ar2dq_narrow",
|
|
2645
|
-
"
|
|
2646
|
-
"sizeXs": "_7Ar2dq_sizeXs",
|
|
2647
|
-
"sizeMd": "_7Ar2dq_sizeMd",
|
|
2648
|
-
"gap12": "_7Ar2dq_gap12",
|
|
2649
|
-
"alignCenter": "_7Ar2dq_alignCenter",
|
|
2650
|
-
"padBody": "_7Ar2dq_padBody",
|
|
2651
|
-
"alignEnd": "_7Ar2dq_alignEnd",
|
|
2660
|
+
"gap14": "_7Ar2dq_gap14",
|
|
2652
2661
|
"sizeSm": "_7Ar2dq_sizeSm",
|
|
2653
|
-
"
|
|
2654
|
-
"
|
|
2655
|
-
"gap4": "_7Ar2dq_gap4",
|
|
2656
|
-
"plain": "_7Ar2dq_plain",
|
|
2657
|
-
"strong": "_7Ar2dq_strong",
|
|
2658
|
-
"mono": "_7Ar2dq_mono",
|
|
2659
|
-
"padNone": "_7Ar2dq_padNone",
|
|
2660
|
-
"boxed": "_7Ar2dq_boxed",
|
|
2662
|
+
"fill": "_7Ar2dq_fill",
|
|
2663
|
+
"grow": "_7Ar2dq_grow",
|
|
2661
2664
|
"gap2": "_7Ar2dq_gap2",
|
|
2662
|
-
"
|
|
2663
|
-
"
|
|
2665
|
+
"alignCenter": "_7Ar2dq_alignCenter",
|
|
2666
|
+
"padCard": "_7Ar2dq_padCard",
|
|
2667
|
+
"padBody": "_7Ar2dq_padBody",
|
|
2664
2668
|
"scroll": "_7Ar2dq_scroll",
|
|
2665
|
-
"
|
|
2666
|
-
"
|
|
2667
|
-
"wSearch": "_7Ar2dq_wSearch",
|
|
2668
|
-
"tabular": "_7Ar2dq_tabular",
|
|
2669
|
-
"tonePrimary": "_7Ar2dq_tonePrimary",
|
|
2670
|
-
"justifyEnd": "_7Ar2dq_justifyEnd"
|
|
2669
|
+
"gap6": "_7Ar2dq_gap6",
|
|
2670
|
+
"stack": "_7Ar2dq_stack"
|
|
2671
2671
|
};
|
|
2672
2672
|
//#endregion
|
|
2673
2673
|
//#region ../../client/dsh-client-ui-primitives/src/client/layout/scales.ts
|
|
@@ -2750,15 +2750,15 @@ window.__ModuleLoader__.load({
|
|
|
2750
2750
|
document.head.appendChild(tag);
|
|
2751
2751
|
}
|
|
2752
2752
|
var SettingsFieldRow_module_css_default = {
|
|
2753
|
-
"reset": "Il1Dtq_reset",
|
|
2754
2753
|
"row": "Il1Dtq_row",
|
|
2755
|
-
"text": "Il1Dtq_text",
|
|
2756
|
-
"label": "Il1Dtq_label",
|
|
2757
|
-
"invalid": "Il1Dtq_invalid",
|
|
2758
2754
|
"inline": "Il1Dtq_inline",
|
|
2759
2755
|
"body": "Il1Dtq_body",
|
|
2760
|
-
"
|
|
2761
|
-
"
|
|
2756
|
+
"hint": "Il1Dtq_hint",
|
|
2757
|
+
"label": "Il1Dtq_label",
|
|
2758
|
+
"reset": "Il1Dtq_reset",
|
|
2759
|
+
"invalid": "Il1Dtq_invalid",
|
|
2760
|
+
"text": "Il1Dtq_text",
|
|
2761
|
+
"badge": "Il1Dtq_badge"
|
|
2762
2762
|
};
|
|
2763
2763
|
//#endregion
|
|
2764
2764
|
//#region ../../client/dsh-client-ui-primitives/src/client/settings-form/SettingsFieldRow.tsx
|
|
@@ -2898,8 +2898,8 @@ window.__ModuleLoader__.load({
|
|
|
2898
2898
|
document.head.appendChild(tag);
|
|
2899
2899
|
}
|
|
2900
2900
|
var SeatButton_module_css_default = {
|
|
2901
|
-
"chevron": "JqQ4qG_chevron",
|
|
2902
2901
|
"seat": "JqQ4qG_seat",
|
|
2902
|
+
"chevron": "JqQ4qG_chevron",
|
|
2903
2903
|
"expanded": "JqQ4qG_expanded",
|
|
2904
2904
|
"label": "JqQ4qG_label",
|
|
2905
2905
|
"icon": "JqQ4qG_icon"
|
|
@@ -3006,8 +3006,8 @@ window.__ModuleLoader__.load({
|
|
|
3006
3006
|
}
|
|
3007
3007
|
var IconButton_module_css_default = {
|
|
3008
3008
|
"iconButton": "AibFna_iconButton",
|
|
3009
|
-
"
|
|
3010
|
-
"
|
|
3009
|
+
"circle": "AibFna_circle",
|
|
3010
|
+
"sm": "AibFna_sm"
|
|
3011
3011
|
};
|
|
3012
3012
|
//#endregion
|
|
3013
3013
|
//#region ../../client/dsh-client-ui-primitives/src/client/controls/IconButton.tsx
|
|
@@ -3033,16 +3033,16 @@ window.__ModuleLoader__.load({
|
|
|
3033
3033
|
document.head.appendChild(tag);
|
|
3034
3034
|
}
|
|
3035
3035
|
var ModelRouteList_module_css_default = {
|
|
3036
|
-
"
|
|
3037
|
-
"
|
|
3036
|
+
"list": "_1vK46q_list",
|
|
3037
|
+
"provider": "_1vK46q_provider",
|
|
3038
|
+
"id": "_1vK46q_id",
|
|
3038
3039
|
"notice": "_1vK46q_notice",
|
|
3039
|
-
"text": "_1vK46q_text",
|
|
3040
3040
|
"group": "_1vK46q_group",
|
|
3041
|
-
"
|
|
3041
|
+
"name": "_1vK46q_name",
|
|
3042
3042
|
"item": "_1vK46q_item",
|
|
3043
|
-
"
|
|
3044
|
-
"
|
|
3045
|
-
"
|
|
3043
|
+
"text": "_1vK46q_text",
|
|
3044
|
+
"error": "_1vK46q_error",
|
|
3045
|
+
"picked": "_1vK46q_picked"
|
|
3046
3046
|
};
|
|
3047
3047
|
//#endregion
|
|
3048
3048
|
//#region ../../client/dsh-client-ui-primitives/src/client/controls/ModelRouteList.tsx
|
|
@@ -3149,9 +3149,9 @@ window.__ModuleLoader__.load({
|
|
|
3149
3149
|
document.head.appendChild(tag);
|
|
3150
3150
|
}
|
|
3151
3151
|
var SearchSelect_module_css_default = {
|
|
3152
|
-
"trigger": "kEYv4q_trigger",
|
|
3153
|
-
"searchRow": "kEYv4q_searchRow",
|
|
3154
3152
|
"searchInput": "kEYv4q_searchInput",
|
|
3153
|
+
"searchRow": "kEYv4q_searchRow",
|
|
3154
|
+
"trigger": "kEYv4q_trigger",
|
|
3155
3155
|
"empty": "kEYv4q_empty"
|
|
3156
3156
|
};
|
|
3157
3157
|
//#endregion
|
|
@@ -3265,13 +3265,13 @@ window.__ModuleLoader__.load({
|
|
|
3265
3265
|
document.head.appendChild(tag);
|
|
3266
3266
|
}
|
|
3267
3267
|
var TagInput_module_css_default = {
|
|
3268
|
-
"chipRemove": "Qg7I9G_chipRemove",
|
|
3269
|
-
"anchor": "Qg7I9G_anchor",
|
|
3270
|
-
"empty": "Qg7I9G_empty",
|
|
3271
|
-
"chip": "Qg7I9G_chip",
|
|
3272
|
-
"row": "Qg7I9G_row",
|
|
3273
3268
|
"input": "Qg7I9G_input",
|
|
3274
|
-
"
|
|
3269
|
+
"row": "Qg7I9G_row",
|
|
3270
|
+
"chip": "Qg7I9G_chip",
|
|
3271
|
+
"anchor": "Qg7I9G_anchor",
|
|
3272
|
+
"chipRemove": "Qg7I9G_chipRemove",
|
|
3273
|
+
"box": "Qg7I9G_box",
|
|
3274
|
+
"empty": "Qg7I9G_empty"
|
|
3275
3275
|
};
|
|
3276
3276
|
//#endregion
|
|
3277
3277
|
//#region ../../client/dsh-client-ui-primitives/src/client/controls/TagInput.tsx
|
|
@@ -17332,24 +17332,24 @@ window.__ModuleLoader__.load({
|
|
|
17332
17332
|
document.head.appendChild(tag);
|
|
17333
17333
|
}
|
|
17334
17334
|
var ConversationManagerPage_module_css_default = {
|
|
17335
|
-
"
|
|
17336
|
-
"
|
|
17337
|
-
"
|
|
17335
|
+
"filters": "AmU5Dq_filters",
|
|
17336
|
+
"listPane": "AmU5Dq_listPane",
|
|
17337
|
+
"pageContent": "AmU5Dq_pageContent",
|
|
17338
|
+
"searchField": "AmU5Dq_searchField",
|
|
17339
|
+
"searchClear": "AmU5Dq_searchClear",
|
|
17338
17340
|
"statusText": "AmU5Dq_statusText",
|
|
17341
|
+
"statusFailure": "AmU5Dq_statusFailure",
|
|
17342
|
+
"pageHeading": "AmU5Dq_pageHeading",
|
|
17339
17343
|
"filterTab": "AmU5Dq_filterTab",
|
|
17340
|
-
"
|
|
17341
|
-
"
|
|
17344
|
+
"page": "AmU5Dq_page",
|
|
17345
|
+
"pageScroll": "AmU5Dq_pageScroll",
|
|
17346
|
+
"statusBody": "AmU5Dq_statusBody",
|
|
17347
|
+
"filterTabs": "AmU5Dq_filterTabs",
|
|
17342
17348
|
"headingActions": "AmU5Dq_headingActions",
|
|
17343
|
-
"
|
|
17349
|
+
"list": "AmU5Dq_list",
|
|
17344
17350
|
"status": "AmU5Dq_status",
|
|
17345
|
-
"searchField": "AmU5Dq_searchField",
|
|
17346
|
-
"pageContent": "AmU5Dq_pageContent",
|
|
17347
17351
|
"listStatus": "AmU5Dq_listStatus",
|
|
17348
|
-
"
|
|
17349
|
-
"filters": "AmU5Dq_filters",
|
|
17350
|
-
"statusFailure": "AmU5Dq_statusFailure",
|
|
17351
|
-
"page": "AmU5Dq_page",
|
|
17352
|
-
"list": "AmU5Dq_list"
|
|
17352
|
+
"filterTabActive": "AmU5Dq_filterTabActive"
|
|
17353
17353
|
};
|
|
17354
17354
|
//#endregion
|
|
17355
17355
|
//#region src/client/format.ts
|
package/dist/client.mjs
CHANGED
|
@@ -139,24 +139,24 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
139
139
|
document.head.appendChild(tag);
|
|
140
140
|
}
|
|
141
141
|
var ConversationManagerPage_module_css_default = {
|
|
142
|
-
"statusText": "AmU5Dq_statusText",
|
|
143
|
-
"searchClear": "AmU5Dq_searchClear",
|
|
144
142
|
"statusBody": "AmU5Dq_statusBody",
|
|
145
|
-
"
|
|
143
|
+
"headingActions": "AmU5Dq_headingActions",
|
|
144
|
+
"filterTabs": "AmU5Dq_filterTabs",
|
|
145
|
+
"listPane": "AmU5Dq_listPane",
|
|
146
|
+
"page": "AmU5Dq_page",
|
|
146
147
|
"searchField": "AmU5Dq_searchField",
|
|
147
|
-
"pageContent": "AmU5Dq_pageContent",
|
|
148
|
-
"pageScroll": "AmU5Dq_pageScroll",
|
|
149
|
-
"pageHeading": "AmU5Dq_pageHeading",
|
|
150
|
-
"statusFailure": "AmU5Dq_statusFailure",
|
|
151
|
-
"filterTabActive": "AmU5Dq_filterTabActive",
|
|
152
|
-
"list": "AmU5Dq_list",
|
|
153
148
|
"status": "AmU5Dq_status",
|
|
149
|
+
"filters": "AmU5Dq_filters",
|
|
154
150
|
"listStatus": "AmU5Dq_listStatus",
|
|
155
|
-
"
|
|
151
|
+
"pageContent": "AmU5Dq_pageContent",
|
|
156
152
|
"filterTab": "AmU5Dq_filterTab",
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
153
|
+
"list": "AmU5Dq_list",
|
|
154
|
+
"pageHeading": "AmU5Dq_pageHeading",
|
|
155
|
+
"filterTabActive": "AmU5Dq_filterTabActive",
|
|
156
|
+
"statusFailure": "AmU5Dq_statusFailure",
|
|
157
|
+
"pageScroll": "AmU5Dq_pageScroll",
|
|
158
|
+
"statusText": "AmU5Dq_statusText",
|
|
159
|
+
"searchClear": "AmU5Dq_searchClear"
|
|
160
160
|
};
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region src/client/format.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/ui-conversation-manager",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "「对话管理」全局面板页(浏览器半):会话与统计两层 Tabs——会话视图给出全量会话(含已归档)的搜索、分页、归档 / 取消归档 / 导出 / 删除、导入为新会话与孤儿数据 GC,统计视图给出全部对话的 token 用量。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"archived-sessions",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./locale/*.json": "./locale/*.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@morlay/dsh-client-ui-primitives": "0.0.
|
|
39
|
+
"@morlay/dsh-client-ui-primitives": "0.0.13"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@testing-library/react": "^16.1.0",
|
|
@@ -58,6 +58,9 @@
|
|
|
58
58
|
"@deepseek-ai/dsh-session": "^0.2.1-rc.1",
|
|
59
59
|
"react": "^18.2.0"
|
|
60
60
|
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"dsh": ">= 0.2.1-rc.1 < 0.2.2"
|
|
63
|
+
},
|
|
61
64
|
"dsh": {
|
|
62
65
|
"client": {
|
|
63
66
|
"platform": "web",
|
|
@@ -72,9 +75,6 @@
|
|
|
72
75
|
]
|
|
73
76
|
}
|
|
74
77
|
},
|
|
75
|
-
"engines": {
|
|
76
|
-
"dsh": ">= 0.2.1-rc.1 < 0.2.2"
|
|
77
|
-
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "pnpm exec tsdown"
|
|
80
80
|
}
|
package/src/client/index.ts
CHANGED
|
@@ -39,7 +39,7 @@ export const PANEL_ORDER = 1;
|
|
|
39
39
|
export const inject = ["slots", "locale", "uiWorkspace", "sessions"];
|
|
40
40
|
|
|
41
41
|
export function apply(ctx: ClientContext): void {
|
|
42
|
-
//
|
|
42
|
+
// 基础面(内联库)由 `@morlay/dsh-client-modules` 的 client 行统一装配;这里只注册本行的字段文案。
|
|
43
43
|
ctx.effect(() => ctx.locale.register(NS, { zh, en }), "ui-conversation-manager: dictionaries");
|
|
44
44
|
const t = ctx.locale.bind(NS);
|
|
45
45
|
// ctx.sessions 的类型被别的 client 半的声明占住(SessionStore),按既有做法从服务面取。
|