soma-core 2.2.6 → 2.2.8
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/core/build/compiler/soma-precompile.js +66 -10
- package/core/client/container/IContainerAdapter.ts +4 -0
- package/core/client/container/SomaContainerAdapter.ts +43 -2
- package/core/client/data/data-object-resolver.ts +43 -8
- package/core/client/engine/event-engine.ts +28 -3
- package/core/client/engine/soma-bootstrap.ts +2 -1
- package/core/client/engines/chart/adapter-echarts.ts +75 -2
- package/core/client/engines/chart/index.ts +18 -0
- package/core/client/engines/chart/port.ts +13 -0
- package/core/client/infra/notify/DefaultNotifyService.ts +2 -2
- package/core/client/parser/confirm-spec.ts +99 -6
- package/core/client/parser/data-config-parser.ts +1 -1
- package/core/client/parser/pipeline-parser.ts +2 -1
- package/core/client/render-ports/hide-transition.ts +9 -0
- package/core/client/render-ports/index.ts +4 -0
- package/core/client/render-ports/notify-renderer.ts +2 -1
- package/core/index.ts +16 -4
- package/core/server/api/load-host-service.ts +3 -0
- package/core/server/api/paged-list.ts +259 -0
- package/core/server/host/empty-host-bootstrap.mjs +3 -0
- package/core/server/host/host-assembly.ts +3 -0
- package/core/server/host/source-aliases.cjs +345 -0
- package/core/server/host/source-aliases.ts +32 -0
- package/core/server/host/source-packages.cjs +1 -0
- package/core/server/infra/cache/ServerFileCache.ts +4 -1
- package/core/server/node.ts +10 -0
- package/core/server/runtime-space/bindings.ts +47 -1
- package/core/server/runtime-space/digest.ts +6 -0
- package/core/server/runtime-space/index.ts +1 -1
- package/core/server/runtime-space/inject.ts +4 -1
- package/core/server/runtime-space/prewarm.ts +8 -8
- package/core/server/runtime-space/store.ts +8 -7
- package/core/server/runtime-space/types.ts +3 -2
- package/core/shared/core-diagnostic-codes.ts +6 -0
- package/core/shared/data-declaration-checks.ts +29 -3
- package/core/shared/registry-generated/diagnostic-registry-index.ts +5 -0
- package/core/shared/registry-generated/diagnostic-registry.ts +35 -0
- package/core/shared/registry-generated/limits.ts +18 -2
- package/core/shared/registry-generated/std-grammar.ts +1 -1
- package/core/shared/types/data-config.types.ts +3 -1
- package/core/shared/types/event.types.ts +9 -0
- package/dist/browser/soma-runtime.js +262 -23
- package/dist/core/index.cjs +283 -23
- package/dist/host-native/aot-builder.cjs +284 -0
- package/dist/host-native/native-server.cjs +395 -24
- package/dist/lsp/component-tree.cjs +66 -10
- package/dist/types/client/container/IContainerAdapter.d.ts +3 -0
- package/dist/types/client/container/SomaContainerAdapter.d.ts +5 -0
- package/dist/types/client/data/data-object-resolver.d.ts +2 -0
- package/dist/types/client/engines/chart/index.d.ts +1 -1
- package/dist/types/client/engines/chart/port.d.ts +15 -0
- package/dist/types/client/parser/confirm-spec.d.ts +27 -3
- package/dist/types/client/render-ports/hide-transition.d.ts +9 -0
- package/dist/types/client/render-ports/index.d.ts +4 -0
- package/dist/types/client/render-ports/notify-renderer.d.ts +2 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/server/api/paged-list.d.ts +101 -0
- package/dist/types/server/host/source-aliases.d.cts +53 -0
- package/dist/types/server/host/source-aliases.d.ts +30 -0
- package/dist/types/server/host/source-packages.d.cts +2 -0
- package/dist/types/server/node.d.ts +1 -0
- package/dist/types/server/runtime-space/bindings.d.ts +9 -0
- package/dist/types/server/runtime-space/digest.d.ts +5 -0
- package/dist/types/server/runtime-space/index.d.ts +1 -1
- package/dist/types/server/runtime-space/prewarm.d.ts +2 -2
- package/dist/types/server/runtime-space/types.d.ts +3 -2
- package/dist/types/shared/core-diagnostic-codes.d.ts +1 -1
- package/dist/types/shared/registry-generated/diagnostic-registry.d.ts +30 -0
- package/dist/types/shared/registry-generated/limits.d.ts +14 -0
- package/dist/types/shared/registry-generated/std-grammar.d.ts +1 -1
- package/dist/types/shared/types/data-config.types.d.ts +3 -1
- package/dist/types/shared/types/event.types.d.ts +8 -0
- package/host-native/src/aot-builder.ts +23 -0
- package/host-native/src/host-prepare.ts +18 -1
- package/host-native/src/native-server.ts +16 -0
- package/host-native/styles/globals.css +30 -28
- package/package.json +13 -2
package/dist/core/index.cjs
CHANGED
|
@@ -94469,6 +94469,9 @@ __export(index_exports, {
|
|
|
94469
94469
|
SOMA_BATCH_ITEM_STATUSES: () => SOMA_BATCH_ITEM_STATUSES,
|
|
94470
94470
|
SOMA_BUILTIN_LOCALE: () => SOMA_BUILTIN_LOCALE,
|
|
94471
94471
|
SOMA_COMPILE_PURPOSES: () => SOMA_COMPILE_PURPOSES,
|
|
94472
|
+
SOMA_CONFIRM_COUNT_NAME: () => SOMA_CONFIRM_COUNT_NAME,
|
|
94473
|
+
SOMA_CONFIRM_MISSING: () => SOMA_CONFIRM_MISSING,
|
|
94474
|
+
SOMA_CONFIRM_TONES: () => SOMA_CONFIRM_TONES,
|
|
94472
94475
|
SOMA_CORE_DIAGNOSTIC_CODES: () => SOMA_CORE_DIAGNOSTIC_CODES,
|
|
94473
94476
|
SOMA_CORE_HOOK_ATTRIBUTES: () => SOMA_CORE_HOOK_ATTRIBUTES,
|
|
94474
94477
|
SOMA_DATA_FIELD_KEYS: () => SOMA_DATA_FIELD_KEYS,
|
|
@@ -94557,6 +94560,7 @@ __export(index_exports, {
|
|
|
94557
94560
|
collectPageHookIds: () => collectPageHookIds,
|
|
94558
94561
|
collectPredicateFields: () => collectPredicateFields,
|
|
94559
94562
|
composeComponentPacks: () => composeComponentPacks,
|
|
94563
|
+
confirmContextOf: () => confirmContextOf,
|
|
94560
94564
|
confirmKeyAccepts: () => confirmKeyAccepts,
|
|
94561
94565
|
confirmSatisfied: () => confirmSatisfied,
|
|
94562
94566
|
coreDiagnostic: () => coreDiagnostic,
|
|
@@ -94618,6 +94622,7 @@ __export(index_exports, {
|
|
|
94618
94622
|
isScopePath: () => isScopePath,
|
|
94619
94623
|
isSelectionScope: () => isSelectionScope,
|
|
94620
94624
|
isSomaError: () => isSomaError,
|
|
94625
|
+
listConfirmPlaceholders: () => listConfirmPlaceholders,
|
|
94621
94626
|
listInjectedStyleKeys: () => listInjectedStyleKeys,
|
|
94622
94627
|
loadSomaDomainModuleFromRegistry: () => loadSomaDomainModuleFromRegistry,
|
|
94623
94628
|
localesOf: () => localesOf,
|
|
@@ -94665,6 +94670,7 @@ __export(index_exports, {
|
|
|
94665
94670
|
renderPublishedPage: () => renderPublishedPage,
|
|
94666
94671
|
resetBootTimings: () => resetBootTimings,
|
|
94667
94672
|
resetPackStyleInjection: () => resetPackStyleInjection,
|
|
94673
|
+
resolveConfirmSpec: () => resolveConfirmSpec,
|
|
94668
94674
|
resolveDisplayLocale: () => resolveDisplayLocale,
|
|
94669
94675
|
resolveHostBootstrapOptions: () => resolveHostBootstrapOptions,
|
|
94670
94676
|
resolveSafeUrl: () => resolveSafeUrl,
|
|
@@ -94687,6 +94693,7 @@ __export(index_exports, {
|
|
|
94687
94693
|
startBootTimings: () => startBootTimings,
|
|
94688
94694
|
stepCountOf: () => stepCountOf,
|
|
94689
94695
|
stepOriginOf: () => stepOriginOf,
|
|
94696
|
+
substituteConfirmText: () => substituteConfirmText,
|
|
94690
94697
|
supplyFromDefinitions: () => supplyFromDefinitions,
|
|
94691
94698
|
toPlainErrorShape: () => toPlainErrorShape,
|
|
94692
94699
|
urlSchemeOf: () => urlSchemeOf,
|
|
@@ -97379,6 +97386,9 @@ function isCoreHookAttribute(name2) {
|
|
|
97379
97386
|
// core/client/container/SomaContainerAdapter.ts
|
|
97380
97387
|
var SomaContainerAdapter = class {
|
|
97381
97388
|
navigateHandler = null;
|
|
97389
|
+
hideTransition = null;
|
|
97390
|
+
/** 正在「隐藏前过渡」的元素 -> 取消控制器(显示时 abort,作废旧 Promise) */
|
|
97391
|
+
pendingHides = /* @__PURE__ */ new WeakMap();
|
|
97382
97392
|
/** 注入自定义导航处理器(如 SomaRouter + Next.js 路由) */
|
|
97383
97393
|
setNavigateHandler(handler) {
|
|
97384
97394
|
this.navigateHandler = handler;
|
|
@@ -97461,10 +97471,45 @@ var SomaContainerAdapter = class {
|
|
|
97461
97471
|
}
|
|
97462
97472
|
/** 显隐只有 `hidden` 属性这一个机制:不写内联样式、不切类名;元素自带的 display 规则压不过 `[hidden]`,见 host-next/app/globals.css(宿主壳样式) */
|
|
97463
97473
|
setVisibility(element, visible) {
|
|
97464
|
-
|
|
97474
|
+
const pending2 = this.pendingHides.get(element);
|
|
97475
|
+
if (visible) {
|
|
97476
|
+
if (pending2) {
|
|
97477
|
+
this.pendingHides.delete(element);
|
|
97478
|
+
pending2.abort();
|
|
97479
|
+
}
|
|
97480
|
+
element.hidden = false;
|
|
97481
|
+
return;
|
|
97482
|
+
}
|
|
97483
|
+
const hook = this.hideTransition;
|
|
97484
|
+
if (!hook || element.hidden || pending2) {
|
|
97485
|
+
if (!pending2) element.hidden = true;
|
|
97486
|
+
return;
|
|
97487
|
+
}
|
|
97488
|
+
const controller = new AbortController();
|
|
97489
|
+
let result;
|
|
97490
|
+
try {
|
|
97491
|
+
result = hook(element, controller.signal);
|
|
97492
|
+
} catch {
|
|
97493
|
+
element.hidden = true;
|
|
97494
|
+
return;
|
|
97495
|
+
}
|
|
97496
|
+
if (!result || typeof result.then !== "function") {
|
|
97497
|
+
element.hidden = true;
|
|
97498
|
+
return;
|
|
97499
|
+
}
|
|
97500
|
+
this.pendingHides.set(element, controller);
|
|
97501
|
+
const settle = () => {
|
|
97502
|
+
if (this.pendingHides.get(element) !== controller || controller.signal.aborted) return;
|
|
97503
|
+
this.pendingHides.delete(element);
|
|
97504
|
+
element.hidden = true;
|
|
97505
|
+
};
|
|
97506
|
+
result.then(settle, settle);
|
|
97465
97507
|
}
|
|
97466
97508
|
isVisible(element) {
|
|
97467
|
-
return !element.hidden;
|
|
97509
|
+
return !element.hidden && !this.pendingHides.has(element);
|
|
97510
|
+
}
|
|
97511
|
+
setHideTransition(hook) {
|
|
97512
|
+
this.hideTransition = hook;
|
|
97468
97513
|
}
|
|
97469
97514
|
toggleClasses(element, classes, enabled) {
|
|
97470
97515
|
if (classes.length === 0) return;
|
|
@@ -101255,6 +101300,7 @@ var MemoryCache = class {
|
|
|
101255
101300
|
var NOTIFY_LEVELS = ["success", "info", "warning", "error", "alert", "announce"];
|
|
101256
101301
|
var NOTIFY_POLITENESS = ["polite", "assertive"];
|
|
101257
101302
|
var SOMA_CONFIRM_LEVELS = ["plain", "typed", "consent"];
|
|
101303
|
+
var SOMA_CONFIRM_TONES = ["default", "danger"];
|
|
101258
101304
|
|
|
101259
101305
|
// core/shared/types/region-scope.types.ts
|
|
101260
101306
|
init_soma_error();
|
|
@@ -101285,7 +101331,7 @@ function isImeProcessing(event) {
|
|
|
101285
101331
|
// core/client/parser/confirm-spec.ts
|
|
101286
101332
|
var SOMA_CONFIRM_REJECTED_PREFIX = "soma-confirm:";
|
|
101287
101333
|
var SOMA_CONFIRM_TEXT_MAX = 1e3;
|
|
101288
|
-
var SPEC_KEYS = ["level", "text", "phrase", "impact"];
|
|
101334
|
+
var SPEC_KEYS = ["level", "text", "phrase", "impact", "tone"];
|
|
101289
101335
|
function boundedText(value, key) {
|
|
101290
101336
|
if (typeof value !== "string" || value.trim() === "") return `confirm.${key} \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\uFF0C\u5F53\u524D\u503C: ${JSON.stringify(value)}`;
|
|
101291
101337
|
if (value.length > SOMA_CONFIRM_TEXT_MAX) return `confirm.${key} \u8FC7\u957F\uFF08\u4E0A\u9650 ${SOMA_CONFIRM_TEXT_MAX} \u5B57\u7B26\uFF09`;
|
|
@@ -101293,7 +101339,7 @@ function boundedText(value, key) {
|
|
|
101293
101339
|
}
|
|
101294
101340
|
function checkConfirmSpec(raw) {
|
|
101295
101341
|
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) {
|
|
101296
|
-
return { ok: false, error: `confirm \u7ED3\u6784\u5FC5\u987B\u662F { level, text, phrase?, impact? } \u5BF9\u8C61\uFF0C\u5F53\u524D\u503C: ${JSON.stringify(raw)}` };
|
|
101342
|
+
return { ok: false, error: `confirm \u7ED3\u6784\u5FC5\u987B\u662F { level, text, phrase?, impact?, tone? } \u5BF9\u8C61\uFF0C\u5F53\u524D\u503C: ${JSON.stringify(raw)}` };
|
|
101297
101343
|
}
|
|
101298
101344
|
const record2 = raw;
|
|
101299
101345
|
const extra = Object.keys(record2).find((key) => !SPEC_KEYS.includes(key));
|
|
@@ -101304,6 +101350,9 @@ function checkConfirmSpec(raw) {
|
|
|
101304
101350
|
if (typeof level !== "string" || !SOMA_CONFIRM_LEVELS.includes(level)) {
|
|
101305
101351
|
return { ok: false, error: `confirm.level \u5FC5\u987B\u662F ${SOMA_CONFIRM_LEVELS.join(" / ")} \u4E4B\u4E00\uFF0C\u5F53\u524D\u503C: ${JSON.stringify(level)}` };
|
|
101306
101352
|
}
|
|
101353
|
+
if (record2.tone !== void 0 && (typeof record2.tone !== "string" || !SOMA_CONFIRM_TONES.includes(record2.tone))) {
|
|
101354
|
+
return { ok: false, error: `confirm.tone \u5FC5\u987B\u662F ${SOMA_CONFIRM_TONES.join(" / ")} \u4E4B\u4E00\uFF08\u4E0D\u5199 = default\uFF09\uFF0C\u5F53\u524D\u503C: ${JSON.stringify(record2.tone)}` };
|
|
101355
|
+
}
|
|
101307
101356
|
const textProblem = boundedText(record2.text, "text");
|
|
101308
101357
|
if (textProblem !== null) return { ok: false, error: textProblem };
|
|
101309
101358
|
for (const key of ["phrase", "impact"]) {
|
|
@@ -101331,7 +101380,8 @@ function checkConfirmSpec(raw) {
|
|
|
101331
101380
|
level: lv,
|
|
101332
101381
|
text: text2,
|
|
101333
101382
|
...lv === "typed" ? { phrase: record2.phrase.trim() } : {},
|
|
101334
|
-
...lv !== "plain" && record2.impact !== void 0 ? { impact: record2.impact.trim() } : {}
|
|
101383
|
+
...lv !== "plain" && record2.impact !== void 0 ? { impact: record2.impact.trim() } : {},
|
|
101384
|
+
...record2.tone === "danger" ? { tone: "danger" } : {}
|
|
101335
101385
|
}
|
|
101336
101386
|
};
|
|
101337
101387
|
}
|
|
@@ -101352,6 +101402,52 @@ function parseConfirmSegment(message) {
|
|
|
101352
101402
|
}
|
|
101353
101403
|
return { spec: { level: "plain", text: text2 } };
|
|
101354
101404
|
}
|
|
101405
|
+
var SOMA_CONFIRM_MISSING = "\u2014";
|
|
101406
|
+
var SOMA_CONFIRM_COUNT_NAME = "n";
|
|
101407
|
+
var CONFIRM_TOKEN = /\{\{|\}\}|\{([A-Za-z_][A-Za-z0-9_]*)\}/g;
|
|
101408
|
+
var warnedMissing = /* @__PURE__ */ new Set();
|
|
101409
|
+
function listConfirmPlaceholders(text2) {
|
|
101410
|
+
const names = [];
|
|
101411
|
+
for (const m4 of text2.matchAll(CONFIRM_TOKEN)) {
|
|
101412
|
+
if (m4[1] !== void 0 && !names.includes(m4[1])) names.push(m4[1]);
|
|
101413
|
+
}
|
|
101414
|
+
return names;
|
|
101415
|
+
}
|
|
101416
|
+
function scalarText(value) {
|
|
101417
|
+
if (typeof value === "string") return value;
|
|
101418
|
+
if (typeof value === "number" || typeof value === "boolean" || typeof value === "bigint") return String(value);
|
|
101419
|
+
return null;
|
|
101420
|
+
}
|
|
101421
|
+
function substituteConfirmText(text2, context, onMissing) {
|
|
101422
|
+
if (!text2.includes("{") && !text2.includes("}")) return text2;
|
|
101423
|
+
const row = context.row !== null && typeof context.row === "object" && !Array.isArray(context.row) ? context.row : void 0;
|
|
101424
|
+
return text2.replace(CONFIRM_TOKEN, (token, name2) => {
|
|
101425
|
+
if (name2 === void 0) return token === "{{" ? "{" : "}";
|
|
101426
|
+
const value = name2 === SOMA_CONFIRM_COUNT_NAME ? context.count : row?.[name2];
|
|
101427
|
+
const plain = scalarText(value);
|
|
101428
|
+
if (plain !== null) return plain;
|
|
101429
|
+
onMissing?.(name2);
|
|
101430
|
+
return SOMA_CONFIRM_MISSING;
|
|
101431
|
+
});
|
|
101432
|
+
}
|
|
101433
|
+
function resolveConfirmSpec(spec, context, onMissing) {
|
|
101434
|
+
const text2 = substituteConfirmText(spec.text, context, onMissing);
|
|
101435
|
+
const impact = spec.impact === void 0 ? void 0 : substituteConfirmText(spec.impact, context, onMissing);
|
|
101436
|
+
if (text2 === spec.text && impact === spec.impact) return spec;
|
|
101437
|
+
return { ...spec, text: text2, ...impact !== void 0 ? { impact } : {} };
|
|
101438
|
+
}
|
|
101439
|
+
function warnConfirmMissing(name2, where) {
|
|
101440
|
+
if (warnedMissing.has(name2)) return;
|
|
101441
|
+
warnedMissing.add(name2);
|
|
101442
|
+
const dev = typeof process === "undefined" || process.env?.NODE_ENV !== "production";
|
|
101443
|
+
if (dev) console.warn(`[soma-core][\u5F15\u64CE] ${where} \u7684\u786E\u8BA4\u6587\u6848\u5360\u4F4D {${name2}} \u53D6\u4E0D\u5230\u503C\uFF0C\u5DF2\u4EE3\u5165\u300C${SOMA_CONFIRM_MISSING}\u300D\uFF08\u5360\u4F4D\u53EA\u53D6\u8F7D\u8377 row \u7684\u5B57\u6BB5\uFF0C{n} \u53D6\u5DF2\u9009\u884C\u6570\uFF1B\u5B57\u9762\u82B1\u62EC\u53F7\u5199 {{ }}\uFF09`);
|
|
101444
|
+
}
|
|
101445
|
+
function confirmContextOf(payload, rowData) {
|
|
101446
|
+
const record2 = payload !== null && typeof payload === "object" && !Array.isArray(payload) ? payload : void 0;
|
|
101447
|
+
const row = record2 !== void 0 && "row" in record2 ? record2.row : rowData;
|
|
101448
|
+
const count2 = Array.isArray(record2?.rows) ? record2.rows.length : void 0;
|
|
101449
|
+
return { ...row !== void 0 ? { row } : {}, ...count2 !== void 0 ? { count: count2 } : {} };
|
|
101450
|
+
}
|
|
101355
101451
|
function confirmSatisfied(spec, input) {
|
|
101356
101452
|
if (spec.level === "typed") {
|
|
101357
101453
|
const phrase = (spec.phrase ?? "").trim();
|
|
@@ -101841,7 +101937,7 @@ function splitOptionalSegments(parts) {
|
|
|
101841
101937
|
const segment2 = parseConfirmSegment(message);
|
|
101842
101938
|
if ("error" in segment2) throw new SomaEventParseError(segment2.error, parts.join(" | "));
|
|
101843
101939
|
confirm = segment2.spec.text;
|
|
101844
|
-
confirmSpec = segment2.spec.level === "plain" ? void 0 : segment2.spec;
|
|
101940
|
+
confirmSpec = segment2.spec.level === "plain" && segment2.spec.tone === void 0 ? void 0 : segment2.spec;
|
|
101845
101941
|
continue;
|
|
101846
101942
|
}
|
|
101847
101943
|
if (index > 0 && part.startsWith(PERMISSION_PREFIX)) {
|
|
@@ -105771,7 +105867,15 @@ var SomaEventEngine = class {
|
|
|
105771
105867
|
return false;
|
|
105772
105868
|
};
|
|
105773
105869
|
if (!isCurrent()) return;
|
|
105774
|
-
const preChecked = this.preCheck(
|
|
105870
|
+
const preChecked = this.preCheck(
|
|
105871
|
+
config,
|
|
105872
|
+
config.somaId,
|
|
105873
|
+
element,
|
|
105874
|
+
confirmContextOf(
|
|
105875
|
+
isSomaEmitEvent(originalEvent) ? originalEvent.payload : void 0,
|
|
105876
|
+
rowContext instanceof SomaRowScope ? rowContext.data : void 0
|
|
105877
|
+
)
|
|
105878
|
+
);
|
|
105775
105879
|
if (!(preChecked instanceof Promise ? await preChecked : preChecked)) {
|
|
105776
105880
|
runtime.status = "blocked";
|
|
105777
105881
|
runtime.message = "pre-check rejected";
|
|
@@ -106030,12 +106134,17 @@ var SomaEventEngine = class {
|
|
|
106030
106134
|
if (this.confirmGraded) return this.confirmGraded(spec);
|
|
106031
106135
|
return this.adapter.confirm(spec.text);
|
|
106032
106136
|
}
|
|
106033
|
-
preCheck(config, somaId, element) {
|
|
106137
|
+
preCheck(config, somaId, element, confirmContext) {
|
|
106034
106138
|
if (this.getContext(element) instanceof SomaRowScope ? this.pendingRows.has(element) : this.pendingSet.has(somaId)) {
|
|
106035
106139
|
return false;
|
|
106036
106140
|
}
|
|
106037
106141
|
if (config.confirm) {
|
|
106038
|
-
|
|
106142
|
+
const spec = resolveConfirmSpec(
|
|
106143
|
+
config.confirmSpec ?? { level: "plain", text: config.confirm },
|
|
106144
|
+
confirmContext,
|
|
106145
|
+
(name2) => warnConfirmMissing(name2, `${somaId}.${config.domEvent}`)
|
|
106146
|
+
);
|
|
106147
|
+
return this.askConfirm(spec);
|
|
106039
106148
|
}
|
|
106040
106149
|
return true;
|
|
106041
106150
|
}
|
|
@@ -109081,8 +109190,8 @@ var DefaultNotifyService = class {
|
|
|
109081
109190
|
return this.renderer.confirm({
|
|
109082
109191
|
message: spec.text,
|
|
109083
109192
|
...title === void 0 ? {} : { title },
|
|
109084
|
-
// plain
|
|
109085
|
-
...spec.level === "plain" ? {} : { spec }
|
|
109193
|
+
// plain 且无语气不带 spec:旧渲染器与旧测试看到的请求逐字不变
|
|
109194
|
+
...spec.level === "plain" && spec.tone === void 0 ? {} : { spec }
|
|
109086
109195
|
});
|
|
109087
109196
|
}
|
|
109088
109197
|
return this.confirmResult;
|
|
@@ -109985,6 +110094,63 @@ function createEChartsAdapter(adapterOptions = {}) {
|
|
|
109985
110094
|
chart.off("mouseout", onOut);
|
|
109986
110095
|
};
|
|
109987
110096
|
},
|
|
110097
|
+
onColumn(handler) {
|
|
110098
|
+
const zr = chart.getZr();
|
|
110099
|
+
const axisOf = () => {
|
|
110100
|
+
const model = chart.getModel();
|
|
110101
|
+
for (const dim of ["x", "y"]) {
|
|
110102
|
+
const axis = model.getComponent(`${dim}Axis`, 0);
|
|
110103
|
+
if (axis !== void 0 && axis.get("type") === "category") {
|
|
110104
|
+
const scale3 = axis.axis?.scale;
|
|
110105
|
+
const metaCats = scale3?.getOrdinalMeta?.()?.categories;
|
|
110106
|
+
const cats = metaCats !== void 0 && metaCats.length > 0 ? metaCats : axis.getCategories?.() ?? [];
|
|
110107
|
+
return { dim, count: cats.length };
|
|
110108
|
+
}
|
|
110109
|
+
}
|
|
110110
|
+
return null;
|
|
110111
|
+
};
|
|
110112
|
+
const columnAt = (x2, y2) => {
|
|
110113
|
+
const axis = axisOf();
|
|
110114
|
+
if (axis === null || axis.count === 0) return null;
|
|
110115
|
+
if (!chart.containPixel({ gridIndex: 0 }, [x2, y2])) return null;
|
|
110116
|
+
const raw = chart.convertFromPixel({ gridIndex: 0 }, [x2, y2]);
|
|
110117
|
+
const v4 = Array.isArray(raw) ? raw[axis.dim === "x" ? 0 : 1] : raw;
|
|
110118
|
+
if (typeof v4 !== "number" || !Number.isFinite(v4)) return null;
|
|
110119
|
+
const dataIndex = Math.min(axis.count - 1, Math.max(0, Math.round(v4)));
|
|
110120
|
+
return columnAnchor(dataIndex, axis.dim);
|
|
110121
|
+
};
|
|
110122
|
+
const columnAnchor = (dataIndex, dim) => {
|
|
110123
|
+
const finder = dim === "x" ? { xAxisIndex: 0 } : { yAxisIndex: 0 };
|
|
110124
|
+
const px = chart.convertToPixel(finder, dataIndex);
|
|
110125
|
+
const grid = chart.getModel().getComponent("grid", 0);
|
|
110126
|
+
const rect = grid?.coordinateSystem?.getRect();
|
|
110127
|
+
const along = typeof px === "number" ? px : Array.isArray(px) ? px[0] : NaN;
|
|
110128
|
+
if (!Number.isFinite(along)) return null;
|
|
110129
|
+
const anchor = dim === "x" ? { x: along, y: rect?.y ?? 0 } : { x: rect?.x ?? 0, y: along };
|
|
110130
|
+
return { dataIndex, anchor };
|
|
110131
|
+
};
|
|
110132
|
+
const read = (e3) => typeof e3.offsetX === "number" && typeof e3.offsetY === "number" ? columnAt(e3.offsetX, e3.offsetY) : null;
|
|
110133
|
+
const onMove = (e3) => {
|
|
110134
|
+
const c2 = read(e3);
|
|
110135
|
+
handler(c2 === null ? "leave" : "hover", c2);
|
|
110136
|
+
};
|
|
110137
|
+
const onClick = (e3) => {
|
|
110138
|
+
const c2 = read(e3);
|
|
110139
|
+
if (c2 !== null) handler("click", c2);
|
|
110140
|
+
};
|
|
110141
|
+
const onOut = () => handler("leave", null);
|
|
110142
|
+
zr.on("mousemove", onMove);
|
|
110143
|
+
zr.on("click", onClick);
|
|
110144
|
+
zr.on("globalout", onOut);
|
|
110145
|
+
let active2 = true;
|
|
110146
|
+
return () => {
|
|
110147
|
+
if (!active2) return;
|
|
110148
|
+
active2 = false;
|
|
110149
|
+
zr.off("mousemove", onMove);
|
|
110150
|
+
zr.off("click", onClick);
|
|
110151
|
+
zr.off("globalout", onOut);
|
|
110152
|
+
};
|
|
110153
|
+
},
|
|
109988
110154
|
resize() {
|
|
109989
110155
|
chart.resize(size3 === void 0 ? void 0 : { width: size3.width, height: size3.height });
|
|
109990
110156
|
},
|
|
@@ -110047,6 +110213,21 @@ function guard(inner23) {
|
|
|
110047
110213
|
unsubs.add(wrapped);
|
|
110048
110214
|
return wrapped;
|
|
110049
110215
|
},
|
|
110216
|
+
...inner23.onColumn === void 0 ? {} : {
|
|
110217
|
+
onColumn(handler) {
|
|
110218
|
+
live();
|
|
110219
|
+
const off = inner23.onColumn(handler);
|
|
110220
|
+
let done = false;
|
|
110221
|
+
const wrapped = () => {
|
|
110222
|
+
if (done) return;
|
|
110223
|
+
done = true;
|
|
110224
|
+
unsubs.delete(wrapped);
|
|
110225
|
+
off();
|
|
110226
|
+
};
|
|
110227
|
+
unsubs.add(wrapped);
|
|
110228
|
+
return wrapped;
|
|
110229
|
+
}
|
|
110230
|
+
},
|
|
110050
110231
|
resize() {
|
|
110051
110232
|
live();
|
|
110052
110233
|
inner23.resize();
|
|
@@ -111046,6 +111227,17 @@ var SOMA_CORE_DIAGNOSTIC_CODES = [
|
|
|
111046
111227
|
// 时间:ready() 前调同步方法
|
|
111047
111228
|
"CORE-TEMPORAL-ZONE",
|
|
111048
111229
|
// 时间:时区标识非法
|
|
111230
|
+
// 宿主源码别名(产生点 core/server/host/source-aliases.cjs,CJS 不能 import 本表,码字面量两处各一份,由本表对账测试与注册表一致)
|
|
111231
|
+
"CORE-HOST-ALIAS-INVALID",
|
|
111232
|
+
// 别名声明形状不对 / 路径越界或不存在 / 别名名字非法(error)
|
|
111233
|
+
"CORE-HOST-ALIAS-RESERVED",
|
|
111234
|
+
// 别名占了保留名(soma / soma-*、server-only、node_modules、带子路径的 Node 内置)(error)
|
|
111235
|
+
"CORE-HOST-ALIAS-SHADOW",
|
|
111236
|
+
// 宿主 node_modules/<别名> 已存在且不是指向别名目录的软链(warning,别名仍生效)
|
|
111237
|
+
"CORE-HOST-ALIAS-DUPLICATE",
|
|
111238
|
+
// 多个源码根里同名别名,先声明者胜(warning)
|
|
111239
|
+
"CORE-HOST-ALIAS-TSCONFIG-DRIFT",
|
|
111240
|
+
// tsconfig.json 的 baseUrl 与第一个源码根不一致(warning)
|
|
111049
111241
|
"CORE-DND-SPEC",
|
|
111050
111242
|
// 拖放:getData 返回非对象 / 同元素重复登记
|
|
111051
111243
|
"CORE-ALGO-DIFF-INPUT",
|
|
@@ -112091,14 +112283,16 @@ function inspectSourceRequire(raw, paramNames) {
|
|
|
112091
112283
|
}
|
|
112092
112284
|
const issues = [];
|
|
112093
112285
|
const seen = /* @__PURE__ */ new Set();
|
|
112094
|
-
|
|
112095
|
-
const at2 = `require[${index}]`;
|
|
112286
|
+
const checkName = (name2, at2, inGroup) => {
|
|
112096
112287
|
if (typeof name2 !== "string" || name2.trim() === "") {
|
|
112097
112288
|
issues.push({ path: at2, message: `require \u91CC\u7684\u53C2\u6570\u540D\u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\uFF0C\u5F53\u524D\u503C: ${show(name2)}` });
|
|
112098
112289
|
return;
|
|
112099
112290
|
}
|
|
112100
112291
|
if (seen.has(name2)) {
|
|
112101
|
-
issues.push({
|
|
112292
|
+
issues.push({
|
|
112293
|
+
path: at2,
|
|
112294
|
+
message: inGroup ? `require \u91CC\u6709\u91CD\u590D\u7684\u53C2\u6570\u540D "${name2}"\uFF08\u540C\u540D\u4E0D\u80FD\u5728\u5355\u9879\u4E0E\u5206\u7EC4\u91CC\u3001\u6216\u4E24\u4E2A\u5206\u7EC4\u91CC\u91CD\u590D\u51FA\u73B0\uFF09` : `require \u91CC\u6709\u91CD\u590D\u7684\u53C2\u6570\u540D "${name2}"`
|
|
112295
|
+
});
|
|
112102
112296
|
return;
|
|
112103
112297
|
}
|
|
112104
112298
|
seen.add(name2);
|
|
@@ -112108,6 +112302,28 @@ function inspectSourceRequire(raw, paramNames) {
|
|
|
112108
112302
|
message: `require \u91CC\u7684 "${name2}" \u6CA1\u6709\u51FA\u73B0\u5728\u540C\u4E00\u6765\u6E90\u7684 params \u91CC\uFF08params \u6709: ${paramNames.join(" / ") || "\u65E0"}\uFF09`
|
|
112109
112303
|
});
|
|
112110
112304
|
}
|
|
112305
|
+
};
|
|
112306
|
+
raw.forEach((entry, index) => {
|
|
112307
|
+
const at2 = `require[${index}]`;
|
|
112308
|
+
if (!Array.isArray(entry)) {
|
|
112309
|
+
checkName(entry, at2, false);
|
|
112310
|
+
return;
|
|
112311
|
+
}
|
|
112312
|
+
if (entry.length < 2) {
|
|
112313
|
+
issues.push({
|
|
112314
|
+
path: at2,
|
|
112315
|
+
message: `require \u91CC\u7684\u300C\u81F3\u5C11\u4E00\u4E2A\u300D\u5206\u7EC4\u81F3\u5C11\u8981 2 \u4E2A\u53C2\u6570\u540D\uFF08\u5355\u4E2A\u53C2\u6570\u76F4\u63A5\u5199\u540D\u5B57\uFF09\uFF0C\u5F53\u524D\u503C: ${show(entry)}`
|
|
112316
|
+
});
|
|
112317
|
+
return;
|
|
112318
|
+
}
|
|
112319
|
+
entry.forEach((member, memberIndex) => {
|
|
112320
|
+
const memberAt = `${at2}[${memberIndex}]`;
|
|
112321
|
+
if (Array.isArray(member)) {
|
|
112322
|
+
issues.push({ path: memberAt, message: `require \u7684\u5206\u7EC4\u53EA\u8BB8\u4E00\u5C42\uFF0C\u4E0D\u80FD\u518D\u5D4C\u5957\u6570\u7EC4\uFF0C\u5F53\u524D\u503C: ${show(member)}` });
|
|
112323
|
+
return;
|
|
112324
|
+
}
|
|
112325
|
+
checkName(member, memberAt, true);
|
|
112326
|
+
});
|
|
112111
112327
|
});
|
|
112112
112328
|
return issues;
|
|
112113
112329
|
}
|
|
@@ -112919,6 +113135,11 @@ var SOMA_PIPELINE_LIMITS = {
|
|
|
112919
113135
|
"file": "core/server/registry/registry-file-lock.ts",
|
|
112920
113136
|
"symbol": "SOMA_PIPELINE_LIMITS"
|
|
112921
113137
|
},
|
|
113138
|
+
{
|
|
113139
|
+
"module": "soma-core",
|
|
113140
|
+
"file": "core/server/api/paged-list.ts",
|
|
113141
|
+
"symbol": "SOMA_PIPELINE_LIMITS"
|
|
113142
|
+
},
|
|
112922
113143
|
{
|
|
112923
113144
|
"module": "soma-core",
|
|
112924
113145
|
"file": "core/server/registry/registry-write-pipeline.ts",
|
|
@@ -112934,6 +113155,11 @@ var SOMA_PIPELINE_LIMITS = {
|
|
|
112934
113155
|
"file": "core/server/registry/source/version-store.ts",
|
|
112935
113156
|
"symbol": "SOMA_PIPELINE_LIMITS"
|
|
112936
113157
|
},
|
|
113158
|
+
{
|
|
113159
|
+
"module": "soma-core",
|
|
113160
|
+
"file": "core/server/runtime-space/inject.ts",
|
|
113161
|
+
"symbol": "SOMA_PIPELINE_LIMITS"
|
|
113162
|
+
},
|
|
112937
113163
|
{
|
|
112938
113164
|
"module": "soma-ui",
|
|
112939
113165
|
"file": "src/compiler/bdl/registry/archive.ts",
|
|
@@ -113282,7 +113508,8 @@ var SOMA_PIPELINE_LIMITS = {
|
|
|
113282
113508
|
"watchFailLimit": 2,
|
|
113283
113509
|
"serverFileMaxEntries": 512,
|
|
113284
113510
|
"serverFileMaxBytes": 33554432,
|
|
113285
|
-
"serverDirMaxEntries": 256
|
|
113511
|
+
"serverDirMaxEntries": 256,
|
|
113512
|
+
"sourceRootAliasCapacity": 64
|
|
113286
113513
|
},
|
|
113287
113514
|
"runtimeCache": {
|
|
113288
113515
|
"basis": "runtime \u7A7A\u95F4 L1 \u5185\u5B58 LRU \u7684\u6761\u76EE\u5BB9\u91CF\uFF08\u7F16\u8BD1\u7ED3\u679C\u4E0E\u6807\u51C6\u683C\u5F0F\u4EA7\u7269\u5404\u4E00\u6761\u76EE\uFF09\u4E0E\u9759\u6001\u9875\u5730\u5740\u6E05\u5355\u7684\u5F00\u53D1\u6001\u590D\u6838\u95F4\u9694\uFF1B\u5BB9\u91CF\u4E0D\u5C0F\u4E8E\u53D1\u5E03\u9875\u4EA7\u7269\u7F13\u5B58\u5BB9\u91CF\uFF08cache.publishedArtifactCapacity\uFF09\uFF0C\u56E0\u4E3A L1 \u8981\u5BB9\u5F97\u4E0B\u5DF2\u53D1\u5E03\u9875\u52A0\u4E0A\u8FD0\u884C\u671F\u6309 URL \u6CE8\u5165\u7684\u9875\uFF1B\u590D\u6838\u95F4\u9694\u8BA9\u65B0\u589E\u9759\u6001\u9875\u6700\u8FDF\u8FD9\u4E2A\u6BEB\u79D2\u6570\u540E\u8FDB\u5165\u5199\u5165\u671F\u51B2\u7A81\u5224\u5B9A\uFF08\u751F\u4EA7\u6001\u4E0D\u8FC7\u671F\uFF09\u3002\u8FC1\u5165\u524D\u662F soma-core store.ts \u7684 SOMA_RUNTIME_CACHE_ENTRIES_DEFAULT \u4E0E static-source.ts \u7684 DEV_TTL_MS",
|
|
@@ -113300,6 +113527,10 @@ var SOMA_PIPELINE_LIMITS = {
|
|
|
113300
113527
|
"maxWaitMs": 5e3,
|
|
113301
113528
|
"waitSliceMs": 15
|
|
113302
113529
|
},
|
|
113530
|
+
"pagedList": {
|
|
113531
|
+
"pageSizeDefault": 10,
|
|
113532
|
+
"pageSizeMax": 500
|
|
113533
|
+
},
|
|
113303
113534
|
"writeRate": {
|
|
113304
113535
|
"limit": 120,
|
|
113305
113536
|
"windowMs": 6e4
|
|
@@ -113310,7 +113541,8 @@ var SOMA_PIPELINE_LIMITS = {
|
|
|
113310
113541
|
"defaultDebounceMs": 300
|
|
113311
113542
|
},
|
|
113312
113543
|
"inject": {
|
|
113313
|
-
"pageMaxBytes": 4194304
|
|
113544
|
+
"pageMaxBytes": 4194304,
|
|
113545
|
+
"batchFailureMessageMaxChars": 2e3
|
|
113314
113546
|
},
|
|
113315
113547
|
"execution": {
|
|
113316
113548
|
"maxNodes": 128,
|
|
@@ -113593,7 +113825,7 @@ function parseSource(raw, path, objectNames, selfName, deps) {
|
|
|
113593
113825
|
SOMA_FROM_REQUIRE_CODE
|
|
113594
113826
|
);
|
|
113595
113827
|
}
|
|
113596
|
-
source.require = [...
|
|
113828
|
+
source.require = requireRaw.map((entry) => Array.isArray(entry) ? [...entry] : entry);
|
|
113597
113829
|
}
|
|
113598
113830
|
return source;
|
|
113599
113831
|
}
|
|
@@ -114461,6 +114693,19 @@ var SomaDataCycleError = class extends Error {
|
|
|
114461
114693
|
function isPlainObject6(value) {
|
|
114462
114694
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
114463
114695
|
}
|
|
114696
|
+
function explicitBooleans(fields2, model, create4) {
|
|
114697
|
+
let next = null;
|
|
114698
|
+
for (const [key, field] of Object.entries(fields2)) {
|
|
114699
|
+
if (field?.type !== "bool") continue;
|
|
114700
|
+
const present = Object.hasOwn(model, key);
|
|
114701
|
+
const value = model[key];
|
|
114702
|
+
const blank = value === void 0 || value === null || value === "";
|
|
114703
|
+
if (present ? !blank : !create4) continue;
|
|
114704
|
+
next ??= { ...model };
|
|
114705
|
+
next[key] = false;
|
|
114706
|
+
}
|
|
114707
|
+
return next ?? model;
|
|
114708
|
+
}
|
|
114464
114709
|
function readPath2(root, segments) {
|
|
114465
114710
|
let current = root;
|
|
114466
114711
|
for (const segment2 of segments) {
|
|
@@ -114878,8 +115123,10 @@ var SomaDataObjectResolver = class {
|
|
|
114878
115123
|
*/
|
|
114879
115124
|
async submit(name2, model, mode, options = {}) {
|
|
114880
115125
|
const intent = options.intent ?? "explicit";
|
|
114881
|
-
const
|
|
114882
|
-
const write =
|
|
115126
|
+
const declared = this.config.objects[name2];
|
|
115127
|
+
const write = declared?.write;
|
|
115128
|
+
const sent = write !== void 0 && declared?.fields !== void 0 && isPlainObject6(model) ? explicitBooleans(declared.fields, model, (mode ?? this.inferWriteMode(name2, write)) === "create") : model;
|
|
115129
|
+
const result = await this.submitRaw(name2, sent, mode, options.identityField, options.signal);
|
|
114883
115130
|
if (!write) return result;
|
|
114884
115131
|
if (result.ok) return decorateSuccess(result, write, intent);
|
|
114885
115132
|
return decorateFailure(result, intent, { sentToken: readConcurrencyToken(model, write) });
|
|
@@ -115032,8 +115279,10 @@ var SomaDataObjectResolver = class {
|
|
|
115032
115279
|
*/
|
|
115033
115280
|
mapSubmitError(error2, write) {
|
|
115034
115281
|
const payload = extractErrorPayload(error2);
|
|
115035
|
-
const
|
|
115036
|
-
const
|
|
115282
|
+
const raw = payload.message ?? (error2 instanceof Error ? error2.message : "\u63D0\u4EA4\u5931\u8D25");
|
|
115283
|
+
const http = splitHttpMessage(raw);
|
|
115284
|
+
const message = http === null ? raw : http.text !== "" ? http.text : "\u63D0\u4EA4\u5931\u8D25";
|
|
115285
|
+
const status = commandStatusOf(error2) ?? http?.status;
|
|
115037
115286
|
const conflict = status === 409 || status === 412 ? readConflictState(error2, write) : {};
|
|
115038
115287
|
const withStatus = status === void 0 ? { ...conflict } : { status, ...conflict };
|
|
115039
115288
|
if (!payload.fieldErrors) return { ok: false, message, ...withStatus };
|
|
@@ -115517,7 +115766,10 @@ var SomaDataObjectResolver = class {
|
|
|
115517
115766
|
this.assertActive();
|
|
115518
115767
|
const params = this.resolveParams(source.params, selfName, selfValue);
|
|
115519
115768
|
if (params === null) return { skipped: false, data: [] };
|
|
115520
|
-
|
|
115769
|
+
const blank = (name2) => isRequiredParamBlank(params?.[name2]);
|
|
115770
|
+
if (source.require?.some((entry) => Array.isArray(entry) ? entry.every(blank) : blank(entry))) {
|
|
115771
|
+
return { skipped: true };
|
|
115772
|
+
}
|
|
115521
115773
|
return { skipped: false, data: await this.requestSource(source, selfName, params) };
|
|
115522
115774
|
}
|
|
115523
115775
|
requestSource(source, selfName, params) {
|
|
@@ -115525,7 +115777,7 @@ var SomaDataObjectResolver = class {
|
|
|
115525
115777
|
this.onFetch?.({ region: selfName, object: selfName, window: { offset: 0, limit: 0 }, query: params ?? {} });
|
|
115526
115778
|
} catch {
|
|
115527
115779
|
}
|
|
115528
|
-
const request = this.http.get(source.api, params ? { params } :
|
|
115780
|
+
const request = this.http.get(source.api, params ? { params, silentErrorToast: true } : { silentErrorToast: true });
|
|
115529
115781
|
if (source.failWhen === void 0) return request;
|
|
115530
115782
|
return Promise.resolve(request).then((data) => {
|
|
115531
115783
|
const refusal = envelopeFailureOf(data, { failWhen: source.failWhen, messagePath: source.messagePath }, "\u670D\u52A1\u7AEF\u62D2\u7EDD\u4E86\u8BE5\u8BF7\u6C42");
|
|
@@ -119437,6 +119689,7 @@ var SomaBootstrap = class {
|
|
|
119437
119689
|
...shortcutsDesign()?.sequenceTimeoutMs !== void 0 ? { sequenceTimeoutMs: shortcutsDesign().sequenceTimeoutMs } : {}
|
|
119438
119690
|
});
|
|
119439
119691
|
this.renderPorts = options.renderPorts;
|
|
119692
|
+
if (options.renderPorts?.hideTransition) this.adapter.setHideTransition?.(options.renderPorts.hideTransition);
|
|
119440
119693
|
this.engines = options.engines ?? {};
|
|
119441
119694
|
this.localeOptions = options.locale ?? {};
|
|
119442
119695
|
this.preferredLocale = this.localeOptions.initial;
|
|
@@ -122092,6 +122345,9 @@ function scopeDiagnostic(decl, path) {
|
|
|
122092
122345
|
SOMA_BATCH_ITEM_STATUSES,
|
|
122093
122346
|
SOMA_BUILTIN_LOCALE,
|
|
122094
122347
|
SOMA_COMPILE_PURPOSES,
|
|
122348
|
+
SOMA_CONFIRM_COUNT_NAME,
|
|
122349
|
+
SOMA_CONFIRM_MISSING,
|
|
122350
|
+
SOMA_CONFIRM_TONES,
|
|
122095
122351
|
SOMA_CORE_DIAGNOSTIC_CODES,
|
|
122096
122352
|
SOMA_CORE_HOOK_ATTRIBUTES,
|
|
122097
122353
|
SOMA_DATA_FIELD_KEYS,
|
|
@@ -122180,6 +122436,7 @@ function scopeDiagnostic(decl, path) {
|
|
|
122180
122436
|
collectPageHookIds,
|
|
122181
122437
|
collectPredicateFields,
|
|
122182
122438
|
composeComponentPacks,
|
|
122439
|
+
confirmContextOf,
|
|
122183
122440
|
confirmKeyAccepts,
|
|
122184
122441
|
confirmSatisfied,
|
|
122185
122442
|
coreDiagnostic,
|
|
@@ -122241,6 +122498,7 @@ function scopeDiagnostic(decl, path) {
|
|
|
122241
122498
|
isScopePath,
|
|
122242
122499
|
isSelectionScope,
|
|
122243
122500
|
isSomaError,
|
|
122501
|
+
listConfirmPlaceholders,
|
|
122244
122502
|
listInjectedStyleKeys,
|
|
122245
122503
|
loadSomaDomainModuleFromRegistry,
|
|
122246
122504
|
localesOf,
|
|
@@ -122288,6 +122546,7 @@ function scopeDiagnostic(decl, path) {
|
|
|
122288
122546
|
renderPublishedPage,
|
|
122289
122547
|
resetBootTimings,
|
|
122290
122548
|
resetPackStyleInjection,
|
|
122549
|
+
resolveConfirmSpec,
|
|
122291
122550
|
resolveDisplayLocale,
|
|
122292
122551
|
resolveHostBootstrapOptions,
|
|
122293
122552
|
resolveSafeUrl,
|
|
@@ -122310,6 +122569,7 @@ function scopeDiagnostic(decl, path) {
|
|
|
122310
122569
|
startBootTimings,
|
|
122311
122570
|
stepCountOf,
|
|
122312
122571
|
stepOriginOf,
|
|
122572
|
+
substituteConfirmText,
|
|
122313
122573
|
supplyFromDefinitions,
|
|
122314
122574
|
toPlainErrorShape,
|
|
122315
122575
|
urlSchemeOf,
|