@fses/workbench-app 0.2.18 → 0.2.20
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/WORKBENCH-CLOSURE.json +14 -14
- package/dist/WorkbenchCardCenterDrawer-CWBuBD04.js +421 -0
- package/dist/WorkbenchDiagnosticsFooter-BxpwRNMe.js +22 -0
- package/dist/WorkbenchDiagnosticsPage-D0mWFNWS.js +72 -0
- package/dist/Workspace-DwnUU7_7.js +22678 -0
- package/dist/adapters/defaultAgentTransportAdapter.d.ts +6 -0
- package/dist/adapters/defaultBrowserAdapters.d.ts +22 -0
- package/dist/adapters/defaultPlatformRequestAdapter.d.ts +6 -0
- package/dist/adapters/defaultRealtimeAdapter.d.ts +6 -0
- package/dist/adapters/endpointResolver.d.ts +16 -0
- package/dist/adapters/index.d.ts +7 -1
- package/dist/adapters/servicePorts.d.ts +20 -0
- package/dist/adapters/types.d.ts +27 -1
- package/dist/canvas/api/index.js +1 -1
- package/dist/canvas/bridge/workbenchCanvasBus.d.ts +13 -1
- package/dist/canvas/persistence/canvasSnapshotStorage.d.ts +3 -2
- package/dist/{canvasFacade-B8jYm_aO.js → canvasFacade-ZFqB_i7z.js} +1 -1
- package/dist/{cardFactory-DmEBcCf4.js → cardFactory-D5dyYSC3.js} +197 -161
- package/dist/components/WorkbenchAppHost.vue.d.ts +5 -5
- package/dist/components/WorkbenchApplication.vue.d.ts +2 -2
- package/dist/components/WorkbenchCardCenterDrawer.vue.d.ts +2 -0
- package/dist/components/WorkbenchDiagnosticsFooter.vue.d.ts +2 -0
- package/dist/components/WorkbenchDiagnosticsPage.vue.d.ts +2 -0
- package/dist/components/WorkbenchDrawerOutlet.vue.d.ts +6 -0
- package/dist/components/WorkbenchFeatureOutlet.vue.d.ts +2 -0
- package/dist/components/WorkbenchSlotOutlet.vue.d.ts +5 -0
- package/dist/config/workbenchAppConfig.d.ts +4 -0
- package/dist/customCardCatalog-DcoxF7gK.js +512 -0
- package/dist/extensions/index.d.ts +3 -54
- package/dist/extensions/index.js +7 -5
- package/dist/extensions/manifest.d.ts +27 -0
- package/dist/extensions/normalizeWorkbenchExtensions.d.ts +19 -0
- package/dist/extensions/types.d.ts +62 -0
- package/dist/fses-workbench-app.js +106 -89
- package/dist/index-CytMrt6f.js +1771 -0
- package/dist/index-DkGYPLLJ.js +34 -0
- package/dist/index.d.ts +10 -1
- package/dist/internal/personal-workbench/components/workbench/WorkbenchCanvas.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/components/workbench/WorkbenchCanvasSettingsMenu.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/components/workbench/WorkbenchFdeImageComposeDrawer.vue.d.ts +19 -0
- package/dist/internal/personal-workbench/components/workbench/WorkbenchFdeToolbar.vue.d.ts +36 -0
- package/dist/internal/personal-workbench/components/workbench/WorkbenchStudio.vue.d.ts +2 -2
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasConfigController.d.ts +23 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasLayoutController.d.ts +12 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasRefreshController.d.ts +11 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasSelectionController.d.ts +11 -0
- package/dist/internal/personal-workbench/components/workbench/showcase/WorkbenchShowcase.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/controllers/workbenchBuiltinPluginBridge.d.ts +32 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartConfigModel.d.ts +68 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDataSourceController.d.ts +100 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDrilldownController.d.ts +96 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDrilldownTable.d.ts +34 -0
- package/dist/internal/personal-workbench/controllers/workbenchFdeVersionController.d.ts +107 -0
- package/dist/internal/personal-workbench/controllers/workbenchRecommendationConfigModel.d.ts +82 -0
- package/dist/internal/personal-workbench/lib/deepAgentApi.d.ts +13 -9
- package/dist/internal/personal-workbench/lib/deepAgentQueueState.d.ts +3 -1
- package/dist/internal/personal-workbench/lib/fdeWorkbenchConfigClient.d.ts +6 -5
- package/dist/internal/personal-workbench/lib/runtimeIdentity.d.ts +5 -0
- package/dist/internal/personal-workbench/lib/runtimePrimitiveRegistry.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/vueRuntimeAdapters.d.ts +4 -4
- package/dist/internal/personal-workbench/lib/workbenchApi.d.ts +61 -47
- package/dist/internal/personal-workbench/lib/workbenchMetricDetailApi.d.ts +2 -1
- package/dist/internal/personal-workbench/lib/workbenchRemoteClient.d.ts +3 -1
- package/dist/internal/personal-workbench/lib/workbenchRequestTransport.d.ts +24 -0
- package/dist/internal/personal-workbench/lib/workbenchStorage.d.ts +8 -7
- package/dist/internal/personal-workbench/pages/Workspace.vue.d.ts +2 -2
- package/dist/internal/personal-workbench/stores/domains/actionsRuntime.d.ts +35 -0
- package/dist/internal/personal-workbench/stores/domains/canvasRuntime.d.ts +44 -0
- package/dist/internal/personal-workbench/stores/domains/conversationRuntime.d.ts +29 -0
- package/dist/internal/personal-workbench/stores/domains/dataBindingRuntime.d.ts +27 -0
- package/dist/internal/personal-workbench/stores/domains/fdeRuntime.d.ts +38 -0
- package/dist/internal/personal-workbench/stores/domains/memoryRuntime.d.ts +53 -0
- package/dist/internal/personal-workbench/stores/workbenchRuntime.d.ts +28 -1
- package/dist/kernel/command/createCommandRegistry.d.ts +19 -0
- package/dist/kernel/createWorkbenchHostContext.d.ts +43 -0
- package/dist/kernel/createWorkbenchKernel.d.ts +7 -0
- package/dist/kernel/diagnostics/createWorkbenchDiagnostics.d.ts +35 -0
- package/dist/kernel/event/createEventBus.d.ts +16 -0
- package/dist/kernel/plugin/createPluginManager.d.ts +7 -0
- package/dist/kernel/plugin/registrationScope.d.ts +15 -0
- package/dist/kernel/plugin/types.d.ts +30 -0
- package/dist/kernel/registry/createRegistry.d.ts +42 -0
- package/dist/kernel/registry/resolveSlotContributions.d.ts +14 -0
- package/dist/kernel/types.d.ts +52 -0
- package/dist/kernel/workbenchHostContext.d.ts +14 -0
- package/dist/normalizeWorkbenchExtensions-Ccv3n3fC.js +425 -0
- package/dist/plugin/index.d.ts +7 -0
- package/dist/plugin/index.js +8 -0
- package/dist/plugin/types.d.ts +106 -0
- package/dist/plugins/defaultWorkbenchPlugins.d.ts +11 -0
- package/dist/plugins/workbenchCardCenterPlugin.d.ts +13 -0
- package/dist/plugins/workbenchDiagnosticsPlugin.d.ts +15 -0
- package/dist/plugins/workbenchDrawerCommands.d.ts +16 -0
- package/dist/plugins/workbenchSettingsPlugin.d.ts +19 -0
- package/dist/plugins/workbenchThemePlugin.d.ts +15 -0
- package/dist/routing/createWorkbenchFeatureRoute.d.ts +11 -0
- package/dist/routing/resolveWorkbenchFeatureRoute.d.ts +23 -0
- package/dist/runtime/index.d.ts +6 -1
- package/dist/runtime/index.js +6 -3
- package/dist/runtime/scope/createWorkbenchRuntimeScope.d.ts +10 -0
- package/dist/runtime/store/workbenchRuntimeContext.d.ts +12 -0
- package/dist/runtime/store/workbenchRuntimeFacade.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/useWorkbenchRuntime-CJLqEtgU.js +24062 -0
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +28256 -7528
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +17 -17
- package/node_modules/@fses/ai-chat/dist/style.css +1 -1
- package/node_modules/@fses/ai-chat/package.json +3 -3
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card-renderers.js +5 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.js +5 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.umd.cjs +1 -1
- package/node_modules/@fses/workbench-card/dist/types/block.d.ts +4 -1
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/node_modules/@fses/workbench-card/src/registry/cardRegistry.ts +4 -4
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.js +1 -1
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.ts +1 -1
- package/node_modules/@fses/workbench-card/src/types/block.ts +4 -12
- package/package.json +7 -3
- package/dist/Workspace-JvnSC-w9.js +0 -23186
- package/dist/index-D-WW3bXH.js +0 -829
- package/dist/useWorkbenchRuntime-D_AtkXIX.js +0 -23865
- package/dist/workbenchCustomComponentRegistry-CWUPjCnJ.js +0 -267
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@fses/workbench-card";
|
|
2
|
-
import { resolveCardRegistryEntry as
|
|
2
|
+
import { resolveCardRegistryEntry as Z, compositeCardPatternById as ee } from "@fses/workbench-card/registry";
|
|
3
3
|
import "@fses/workbench-card/renderers";
|
|
4
4
|
const e = (a, t, i) => {
|
|
5
5
|
if (!a)
|
|
@@ -15,28 +15,7 @@ const e = (a, t, i) => {
|
|
|
15
15
|
const d = t[l];
|
|
16
16
|
o = o.replace(new RegExp(`\\{\\s*${l}\\s*\\}`, "g"), d);
|
|
17
17
|
}), o || (i ? o = i : o = a), o;
|
|
18
|
-
}
|
|
19
|
-
let x = {}, N = {}, E = {};
|
|
20
|
-
function Z(a) {
|
|
21
|
-
x = a;
|
|
22
|
-
}
|
|
23
|
-
function Qe(a, t, i) {
|
|
24
|
-
N = a, E = t, Z(i);
|
|
25
|
-
}
|
|
26
|
-
function Ze() {
|
|
27
|
-
return N;
|
|
28
|
-
}
|
|
29
|
-
function ee() {
|
|
30
|
-
return E;
|
|
31
|
-
}
|
|
32
|
-
function ea() {
|
|
33
|
-
return x;
|
|
34
|
-
}
|
|
35
|
-
function aa() {
|
|
36
|
-
var a;
|
|
37
|
-
return (a = x.fde) == null ? void 0 : a.generatedTemplateShell;
|
|
38
|
-
}
|
|
39
|
-
const ae = {
|
|
18
|
+
}, ae = {
|
|
40
19
|
"card.metric.numeric": { previewKind: "metricNumeric", layoutHint: "metric", sampleTone: "info", sampleTitle: e("FWA.877e1787571438961") },
|
|
41
20
|
"card.metric.combo": { previewKind: "metricCombo", layoutHint: "metric", sampleTone: "info", sampleTitle: e("FWA.386b1787571438967") },
|
|
42
21
|
"card.metric.comparison": { previewKind: "metricComparison", layoutHint: "metric", sampleTone: "success", sampleTitle: e("FWA.f04a1787571438972") },
|
|
@@ -204,7 +183,7 @@ function oe(a) {
|
|
|
204
183
|
t.set(r, [...t.get(r) || [], i]);
|
|
205
184
|
}), [...t.entries()].map(([i, r]) => ({ y: i, rects: r.sort((n, s) => n.x - s.x) })).sort((i, r) => i.y - r.y);
|
|
206
185
|
}
|
|
207
|
-
function
|
|
186
|
+
function x(a) {
|
|
208
187
|
return a.reduce((t, i) => Math.max(t, i.h), 0);
|
|
209
188
|
}
|
|
210
189
|
function ce(a) {
|
|
@@ -221,11 +200,11 @@ function G(a) {
|
|
|
221
200
|
}
|
|
222
201
|
return null;
|
|
223
202
|
}
|
|
224
|
-
function
|
|
203
|
+
function U(a, t) {
|
|
225
204
|
const i = oe(t), r = i.map((l) => ({
|
|
226
205
|
...l,
|
|
227
206
|
width: ce(l.rects),
|
|
228
|
-
height:
|
|
207
|
+
height: x(l.rects),
|
|
229
208
|
hasSameSize: l.rects.some((d) => le(d, a))
|
|
230
209
|
})).filter(
|
|
231
210
|
(l) => l.width + a.w <= p && de(l.height, a.h)
|
|
@@ -234,13 +213,13 @@ function q(a, t) {
|
|
|
234
213
|
const l = { ...a, x: c(s.width), y: s.y };
|
|
235
214
|
if (S(l, t)) return l;
|
|
236
215
|
}
|
|
237
|
-
const o = i.reduce((l, d) => Math.max(l, d.y +
|
|
216
|
+
const o = i.reduce((l, d) => Math.max(l, d.y + x(d.rects)), 0);
|
|
238
217
|
return { ...a, x: 0, y: c(o) };
|
|
239
218
|
}
|
|
240
|
-
function
|
|
219
|
+
function q(a, t) {
|
|
241
220
|
const i = T(a);
|
|
242
221
|
if (S(i, t)) return i;
|
|
243
|
-
const r =
|
|
222
|
+
const r = U(i, t);
|
|
244
223
|
if (S(r, t)) return r;
|
|
245
224
|
const n = t.reduce((l, d) => Math.max(l, d.y + d.h), 0), s = D([
|
|
246
225
|
0,
|
|
@@ -260,8 +239,8 @@ function U(a, t) {
|
|
|
260
239
|
return { ...i, x: 0, y: c(n + y) };
|
|
261
240
|
}
|
|
262
241
|
function ue(a, t) {
|
|
263
|
-
const i = T(a), r =
|
|
264
|
-
return S(r, t) ? r :
|
|
242
|
+
const i = T(a), r = U(i, t);
|
|
243
|
+
return S(r, t) ? r : q(i, t);
|
|
265
244
|
}
|
|
266
245
|
function la(a) {
|
|
267
246
|
const t = /* @__PURE__ */ new Map();
|
|
@@ -275,17 +254,17 @@ function la(a) {
|
|
|
275
254
|
}), s = n.reduce((u, b) => u + f(b.layout).w, 0), o = Math.max(0, p - s), l = n.reduce((u, b) => Math.min(u, f(b.layout).w), p), d = G(n.map((u) => f(u.layout))), A = !!d && o > 0 && o < l, W = A ? n.filter((u) => f(u.layout).w === L[d].w) : [], m = W.length > 0 ? o / W.length : 0;
|
|
276
255
|
let v = 0;
|
|
277
256
|
return n.map((u, b) => {
|
|
278
|
-
const h = f(u.layout), w = b === n.length - 1, K = W.length > 0 ? W.includes(u) : A && w,
|
|
257
|
+
const h = f(u.layout), w = b === n.length - 1, K = W.length > 0 ? W.includes(u) : A && w, Q = A && w ? Math.max(y, c(p - v)) : Math.max(y, c(K ? h.w + m : h.w)), P = {
|
|
279
258
|
...h,
|
|
280
259
|
x: c(v),
|
|
281
260
|
y: i,
|
|
282
|
-
w:
|
|
261
|
+
w: Q
|
|
283
262
|
};
|
|
284
|
-
return v +=
|
|
263
|
+
return v += P.w, {
|
|
285
264
|
...u,
|
|
286
265
|
layout: {
|
|
287
266
|
...u.layout,
|
|
288
|
-
...
|
|
267
|
+
...P
|
|
289
268
|
}
|
|
290
269
|
};
|
|
291
270
|
});
|
|
@@ -314,7 +293,7 @@ function me(a) {
|
|
|
314
293
|
const t = [];
|
|
315
294
|
let i = 0, r = [];
|
|
316
295
|
const n = () => {
|
|
317
|
-
r.length !== 0 && (t.push(...pe(r, c(i))), i +=
|
|
296
|
+
r.length !== 0 && (t.push(...pe(r, c(i))), i += x(r.map((s) => s.rect)), r = []);
|
|
318
297
|
};
|
|
319
298
|
return a.forEach((s) => {
|
|
320
299
|
const o = f(s.layout);
|
|
@@ -378,7 +357,7 @@ function Ae(a) {
|
|
|
378
357
|
w: F(((s = a.layout) == null ? void 0 : s.w) ?? a.width, t.w),
|
|
379
358
|
h: F(((o = a.layout) == null ? void 0 : o.h) ?? a.height, t.h)
|
|
380
359
|
});
|
|
381
|
-
return
|
|
360
|
+
return q(i, a.placed);
|
|
382
361
|
}
|
|
383
362
|
function Fe(a) {
|
|
384
363
|
var r, n, s, o;
|
|
@@ -400,65 +379,118 @@ function We(a, t) {
|
|
|
400
379
|
static: !1
|
|
401
380
|
};
|
|
402
381
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
async function fe(a) {
|
|
413
|
-
const i = we(a, he()) ?? a, r = await be(i);
|
|
414
|
-
if (r.ok) return r.value;
|
|
415
|
-
throw r.error;
|
|
416
|
-
}
|
|
417
|
-
async function be(a) {
|
|
418
|
-
try {
|
|
382
|
+
function da(a) {
|
|
383
|
+
return {
|
|
384
|
+
getItem: (t) => a.getItem(t),
|
|
385
|
+
removeItem: (t) => a.removeItem(t),
|
|
386
|
+
setItem: (t, i) => a.setItem(t, i)
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
const k = {
|
|
390
|
+
async loadJson(a) {
|
|
419
391
|
const t = await fetch(a, { credentials: "same-origin" });
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
392
|
+
if (!t.ok) throw new Error(`WORKBENCH_ASSET_REQUEST_FAILED:${t.status}`);
|
|
393
|
+
return t.json();
|
|
394
|
+
},
|
|
395
|
+
resolveAssetUrl: (a) => a
|
|
396
|
+
}, C = {
|
|
397
|
+
debug: (a, t) => console.debug(a, t),
|
|
398
|
+
error: (a, t) => console.error(a, t),
|
|
399
|
+
info: (a, t) => console.info(a, t),
|
|
400
|
+
warn: (a, t) => console.warn(a, t)
|
|
401
|
+
}, ua = {
|
|
402
|
+
error: (a) => C.error(a),
|
|
403
|
+
info: (a) => C.info(a),
|
|
404
|
+
success: (a) => C.info(a),
|
|
405
|
+
warning: (a) => C.warn(a)
|
|
406
|
+
};
|
|
407
|
+
let H = {}, j = {}, Y = {};
|
|
408
|
+
function fe(a) {
|
|
409
|
+
H = a;
|
|
410
|
+
}
|
|
411
|
+
function pa(a, t, i) {
|
|
412
|
+
j = a, Y = t, fe(i);
|
|
413
|
+
}
|
|
414
|
+
function be() {
|
|
415
|
+
return j;
|
|
425
416
|
}
|
|
426
417
|
function he() {
|
|
418
|
+
return Y;
|
|
419
|
+
}
|
|
420
|
+
function ma() {
|
|
421
|
+
return H;
|
|
422
|
+
}
|
|
423
|
+
function Aa() {
|
|
424
|
+
var a;
|
|
425
|
+
return (a = H.fde) == null ? void 0 : a.generatedTemplateShell;
|
|
426
|
+
}
|
|
427
|
+
const _ = "echarts-system-card-templates";
|
|
428
|
+
let B = /* @__PURE__ */ new WeakMap();
|
|
429
|
+
const we = /* @__PURE__ */ new Set();
|
|
430
|
+
function ye(a) {
|
|
431
|
+
const t = B.get(a);
|
|
432
|
+
if (t) return t;
|
|
433
|
+
const i = /* @__PURE__ */ new Map();
|
|
434
|
+
return B.set(a, i), we.add(i), i;
|
|
435
|
+
}
|
|
436
|
+
async function E(a) {
|
|
437
|
+
const t = Te(a, ge()), i = be().assetAdapter ?? k, r = i.resolveAssetUrl(t ?? a), n = ye(i), s = n.get(r);
|
|
438
|
+
if (s) return await s;
|
|
439
|
+
const o = ve(r, i).then((l) => {
|
|
440
|
+
if (l.ok) return l.value;
|
|
441
|
+
throw l.error;
|
|
442
|
+
});
|
|
443
|
+
return n.set(r, o), o.catch(() => {
|
|
444
|
+
n.get(r) === o && n.delete(r);
|
|
445
|
+
}), await o;
|
|
446
|
+
}
|
|
447
|
+
async function ve(a, t) {
|
|
448
|
+
var i;
|
|
449
|
+
try {
|
|
450
|
+
const r = t.loadJson ? await t.loadJson(a) : await ((i = k.loadJson) == null ? void 0 : i.call(k, a));
|
|
451
|
+
if (r === void 0) throw new Error("WORKBENCH_ASSET_JSON_LOADER_REQUIRED");
|
|
452
|
+
return { ok: !0, value: r };
|
|
453
|
+
} catch (r) {
|
|
454
|
+
const n = r instanceof Error ? r.message : String(r);
|
|
455
|
+
return { ok: !1, error: new Error(e("FWA.698e1787570315934", { p0: a, p1: n })) };
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
function ge() {
|
|
427
459
|
var t, i;
|
|
428
|
-
return ((i = (t =
|
|
460
|
+
return ((i = (t = he().assets) == null ? void 0 : t.echartsTemplateCdnBaseUrl) == null ? void 0 : i.trim()) || void 0;
|
|
429
461
|
}
|
|
430
|
-
function
|
|
462
|
+
function Te(a, t) {
|
|
431
463
|
if (!t) return;
|
|
432
464
|
const i = t.replace(/\/+$/u, ""), r = a.replace(/^\/+/u, "");
|
|
433
|
-
return i.endsWith(`/${
|
|
465
|
+
return i.endsWith(`/${_}`) ? `${i}/${r.slice(`${_}/`.length)}` : `${i}/${r}`;
|
|
434
466
|
}
|
|
435
|
-
const
|
|
436
|
-
function
|
|
467
|
+
const Se = ["extraction", "officialComparison", "officialSourceReplay"], Ke = ["params", "reloadPolicy", "extraction"];
|
|
468
|
+
function Fa(a) {
|
|
437
469
|
let t = !1;
|
|
438
470
|
const i = a.blocks.map((r) => {
|
|
439
|
-
const n =
|
|
471
|
+
const n = Ce(r);
|
|
440
472
|
return n !== r && (t = !0), n;
|
|
441
473
|
});
|
|
442
474
|
return t ? { ...a, blocks: i } : a;
|
|
443
475
|
}
|
|
444
|
-
function
|
|
476
|
+
function Ce(a) {
|
|
445
477
|
if (!g(a.data)) return a;
|
|
446
|
-
const t =
|
|
478
|
+
const t = R(a.data);
|
|
447
479
|
return t === a.data ? a : { ...a, data: t };
|
|
448
480
|
}
|
|
449
|
-
function
|
|
481
|
+
function R(a) {
|
|
450
482
|
let t = !1;
|
|
451
|
-
const i =
|
|
483
|
+
const i = ke(a) ? { ...a } : a;
|
|
452
484
|
if (g(i.protocolConfig)) {
|
|
453
|
-
const r =
|
|
485
|
+
const r = N(i.protocolConfig, Se);
|
|
454
486
|
r !== i.protocolConfig && (i.protocolConfig = r, t = !0);
|
|
455
487
|
}
|
|
456
488
|
if (g(i.protocolData)) {
|
|
457
|
-
const r =
|
|
489
|
+
const r = N(i.protocolData, Ke);
|
|
458
490
|
r !== i.protocolData && (i.protocolData = r, t = !0);
|
|
459
491
|
}
|
|
460
492
|
if (Array.isArray(i.nestedBlocks)) {
|
|
461
|
-
const r = i.nestedBlocks.map((n) => g(n) ?
|
|
493
|
+
const r = i.nestedBlocks.map((n) => g(n) ? Re(n) : n);
|
|
462
494
|
if (r.some((n, s) => n !== i.nestedBlocks[s])) {
|
|
463
495
|
if (i === a) return { ...a, nestedBlocks: r };
|
|
464
496
|
i.nestedBlocks = r, t = !0;
|
|
@@ -466,13 +498,13 @@ function k(a) {
|
|
|
466
498
|
}
|
|
467
499
|
return t ? i : a;
|
|
468
500
|
}
|
|
469
|
-
function
|
|
501
|
+
function ke(a) {
|
|
470
502
|
return a.shape === "protocolRender" && a.rendererType === "echarts" && g(a.protocolConfig);
|
|
471
503
|
}
|
|
472
|
-
function
|
|
473
|
-
let t = !1, i =
|
|
504
|
+
function Re(a) {
|
|
505
|
+
let t = !1, i = R(a);
|
|
474
506
|
if (i !== a && (t = !0), g(i.data)) {
|
|
475
|
-
const r =
|
|
507
|
+
const r = R(i.data);
|
|
476
508
|
r !== i.data && (i = i === a ? { ...a, data: r } : { ...i, data: r }, t = !0);
|
|
477
509
|
}
|
|
478
510
|
return t ? i : a;
|
|
@@ -480,16 +512,16 @@ function Se(a) {
|
|
|
480
512
|
function g(a) {
|
|
481
513
|
return !!(a && typeof a == "object" && !Array.isArray(a));
|
|
482
514
|
}
|
|
483
|
-
function
|
|
515
|
+
function N(a, t) {
|
|
484
516
|
let i = !1;
|
|
485
517
|
const r = { ...a };
|
|
486
518
|
return t.forEach((n) => {
|
|
487
519
|
n in r && (delete r[n], i = !0);
|
|
488
520
|
}), i ? r : a;
|
|
489
521
|
}
|
|
490
|
-
async function
|
|
522
|
+
async function Le(a) {
|
|
491
523
|
try {
|
|
492
|
-
const t = await
|
|
524
|
+
const t = await E(a.echarts.configPath), i = a.echarts.dataPath ? await E(a.echarts.dataPath) : void 0, r = R({
|
|
493
525
|
shape: "protocolRender",
|
|
494
526
|
rendererType: "echarts",
|
|
495
527
|
protocolConfig: t,
|
|
@@ -528,13 +560,13 @@ async function Ke(a) {
|
|
|
528
560
|
};
|
|
529
561
|
}
|
|
530
562
|
}
|
|
531
|
-
function
|
|
563
|
+
function xe(a) {
|
|
532
564
|
return !!(a && typeof a == "object" && typeof a.capabilityId == "string" && a.capabilityId.startsWith("card.echarts.") && typeof a.echarts == "object");
|
|
533
565
|
}
|
|
534
|
-
function
|
|
566
|
+
function He(a = "canvas-card") {
|
|
535
567
|
return typeof crypto < "u" && "randomUUID" in crypto ? `${a}-${crypto.randomUUID()}` : `${a}-${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
536
568
|
}
|
|
537
|
-
function
|
|
569
|
+
function Ie() {
|
|
538
570
|
return {
|
|
539
571
|
mode: "final",
|
|
540
572
|
status: "ready",
|
|
@@ -545,15 +577,15 @@ function Le() {
|
|
|
545
577
|
submitable: !1
|
|
546
578
|
};
|
|
547
579
|
}
|
|
548
|
-
function
|
|
580
|
+
function Me(a) {
|
|
549
581
|
if (a.category !== "card.composite_cards") return null;
|
|
550
|
-
const t =
|
|
582
|
+
const t = ee(a.type);
|
|
551
583
|
if (!t) return null;
|
|
552
|
-
if (t.id === "threePanelAnalysis") return
|
|
584
|
+
if (t.id === "threePanelAnalysis") return Pe(t.scene);
|
|
553
585
|
const i = t.dataContract.nestedBlockKinds.slice(0, 4).map((r, n) => ({
|
|
554
586
|
id: `${t.id}-sample-${n + 1}`,
|
|
555
587
|
title: $(t.id, r, n),
|
|
556
|
-
kind:
|
|
588
|
+
kind: De(r),
|
|
557
589
|
visualKind: r,
|
|
558
590
|
slot: n < 2 ? "body" : "footer",
|
|
559
591
|
dataBindingStatus: n === 0 ? "business_input" : "none",
|
|
@@ -571,7 +603,7 @@ function Re(a) {
|
|
|
571
603
|
hint: e("FWA.ec2a1787570563978")
|
|
572
604
|
}
|
|
573
605
|
} : {},
|
|
574
|
-
data:
|
|
606
|
+
data: _e(r)
|
|
575
607
|
}));
|
|
576
608
|
return {
|
|
577
609
|
shape: "customCanvas",
|
|
@@ -586,7 +618,7 @@ function Re(a) {
|
|
|
586
618
|
nestedBlocks: i
|
|
587
619
|
};
|
|
588
620
|
}
|
|
589
|
-
function
|
|
621
|
+
function Pe(a) {
|
|
590
622
|
const t = [
|
|
591
623
|
{
|
|
592
624
|
id: "three-panel-bar",
|
|
@@ -692,10 +724,10 @@ function $(a, t, i) {
|
|
|
692
724
|
businessMetricMatrix: [e("FWA.25e01787571129662"), e("FWA.a0961787571242490"), e("FWA.e42d1787571338288"), e("FWA.ac7c1787571338344")]
|
|
693
725
|
}[a]) == null ? void 0 : n[i]) || t;
|
|
694
726
|
}
|
|
695
|
-
function
|
|
727
|
+
function De(a) {
|
|
696
728
|
return /metric|score/i.test(a) ? "metric" : /chart|donut|bars/i.test(a) ? "chart" : "list";
|
|
697
729
|
}
|
|
698
|
-
function
|
|
730
|
+
function _e(a) {
|
|
699
731
|
return /metric|score/i.test(a) ? { shape: "metricSummary", primaryValue: e("FWA.0d711787571337185"), primaryLabel: e("FWA.e2111787571338404") } : /donut/i.test(a) ? { shape: "pieSlices", slices: [{ label: e("FWA.43dd1787571618441"), value: 62 }, { label: e("FWA.052e1787571618580"), value: 38 }] } : /chart|bars/i.test(a) ? { shape: "singleSeries", categories: [e("FWA.55e41787571618717"), e("FWA.5b001787571618852"), e("FWA.64471787571618994")], series: [{ name: e("FWA.71261787571619150"), type: "line", data: [82, 88, 91] }] } : {
|
|
700
732
|
shape: "categoryRanking",
|
|
701
733
|
items: [
|
|
@@ -704,7 +736,7 @@ function Ie(a) {
|
|
|
704
736
|
]
|
|
705
737
|
};
|
|
706
738
|
}
|
|
707
|
-
function
|
|
739
|
+
function Be(a, t) {
|
|
708
740
|
const i = {
|
|
709
741
|
multiPanel: [e("FWA.53761787571129780"), e("FWA.0ff71787571338461"), e("FWA.39661787571338520"), e("FWA.64681787571242533")],
|
|
710
742
|
executiveCockpit: [e("FWA.76001787571129820"), e("FWA.d8731787571338577"), e("FWA.6dc41787571338637"), e("FWA.1d191787571338696")],
|
|
@@ -780,7 +812,7 @@ function Me(a, t) {
|
|
|
780
812
|
]
|
|
781
813
|
};
|
|
782
814
|
}
|
|
783
|
-
function
|
|
815
|
+
function Ee() {
|
|
784
816
|
return {
|
|
785
817
|
shape: "customCanvas",
|
|
786
818
|
sourceLabel: "Canvas Runtime",
|
|
@@ -791,7 +823,7 @@ function De() {
|
|
|
791
823
|
containerRole: "nested-card-container"
|
|
792
824
|
};
|
|
793
825
|
}
|
|
794
|
-
function
|
|
826
|
+
function Ne(a, t) {
|
|
795
827
|
const r = {
|
|
796
828
|
metricNumeric: { value: 128, delta: 0.062, compare: e("FWA.5d301787571552615"), secondary: [{ label: e("FWA.623d1787571552810"), format: "number", value: 128 }, { label: e("FWA.f08b1787571552912"), format: "number", value: 24 }] },
|
|
797
829
|
metricCombo: { value: 386, delta: 0.094, compare: e("FWA.9a9f1787571347249"), secondary: [{ label: e("FWA.96181787571623667"), format: "currency", value: 218 }, { label: e("FWA.1cfc1787571624253"), format: "number", value: 168 }] },
|
|
@@ -822,7 +854,7 @@ function Pe(a, t) {
|
|
|
822
854
|
secondary: r.secondary
|
|
823
855
|
};
|
|
824
856
|
}
|
|
825
|
-
function
|
|
857
|
+
function $e(a, t) {
|
|
826
858
|
const i = {
|
|
827
859
|
analysisInsight: [e("FWA.c0a11787570980837"), e("FWA.4dc31787570821893"), e("FWA.93581787570895296")],
|
|
828
860
|
analysisRootCause: [e("FWA.f1a71787570648345"), e("FWA.268c1787570822649"), e("FWA.fe0b1787570896346")],
|
|
@@ -849,7 +881,7 @@ function _e(a, t) {
|
|
|
849
881
|
sourceLabel: "Canvas Runtime"
|
|
850
882
|
};
|
|
851
883
|
}
|
|
852
|
-
function
|
|
884
|
+
function J() {
|
|
853
885
|
return {
|
|
854
886
|
shape: "rows",
|
|
855
887
|
sourceLabel: "Canvas Runtime",
|
|
@@ -861,7 +893,7 @@ function j() {
|
|
|
861
893
|
]
|
|
862
894
|
};
|
|
863
895
|
}
|
|
864
|
-
function
|
|
896
|
+
function ze(a, t) {
|
|
865
897
|
return {
|
|
866
898
|
tableRecordList: { shape: "rows", sourceLabel: "Canvas Runtime", visualKind: "tableRecordList", columns: [e("FWA.e57a1787571628465"), e("FWA.e3461787571559959"), e("FWA.ee021787571625156"), e("FWA.af1b1787571627074")], rows: [
|
|
867
899
|
{ id: "row-1", cells: [e("FWA.9aea1787571352081"), e("FWA.944d1787571628728"), e("FWA.78d21787571559370"), "12"] },
|
|
@@ -920,7 +952,7 @@ function Be(a, t) {
|
|
|
920
952
|
{ id: "row-2", cells: [e("FWA.9de01787571358785"), e("FWA.c5ea1787571129976"), e("FWA.9c511787571640913")] }
|
|
921
953
|
] }
|
|
922
954
|
}[t.previewKind] || {
|
|
923
|
-
...
|
|
955
|
+
...J(),
|
|
924
956
|
visualKind: t.previewKind,
|
|
925
957
|
columns: [e("FWA.c9fe1787571643688"), e("FWA.ee021787571625156"), e("FWA.b97c1787571634848")],
|
|
926
958
|
rows: [
|
|
@@ -929,16 +961,16 @@ function Be(a, t) {
|
|
|
929
961
|
]
|
|
930
962
|
};
|
|
931
963
|
}
|
|
932
|
-
function
|
|
933
|
-
return a.category === "card.table_cards" ?
|
|
964
|
+
function Oe(a, t) {
|
|
965
|
+
return a.category === "card.table_cards" ? ze(a, t) : a.capabilityId === "card.identity.directory" ? { shape: "rows", sourceLabel: "Canvas Runtime", visualKind: "identityDirectory", columns: [e("FWA.55241787571644519"), e("FWA.d7021787571644744"), e("FWA.ee021787571625156")], rows: [
|
|
934
966
|
{ id: "row-1", cells: [e("FWA.944d1787571628728"), e("FWA.592f1787571248352"), e("FWA.7db31787571645198")] },
|
|
935
967
|
{ id: "row-2", cells: [e("FWA.ec991787571629051"), e("FWA.432f1787571248802"), e("FWA.81781787571645570")] }
|
|
936
968
|
] } : a.capabilityId === "card.workflow.approvalList" ? { shape: "rows", sourceLabel: "Canvas Runtime", visualKind: "workflowApprovalList", columns: [e("FWA.41391787571646095"), e("FWA.f2d91787571638223"), e("FWA.ee021787571625156")], rows: [
|
|
937
969
|
{ id: "row-1", cells: [e("FWA.deda1787571358997"), e("FWA.08571787571359477"), e("FWA.e9f11787571560367")] },
|
|
938
970
|
{ id: "row-2", cells: [e("FWA.2ed71787571359949"), e("FWA.efe51787571360380"), e("FWA.78d21787571559370")] }
|
|
939
|
-
] } :
|
|
971
|
+
] } : J();
|
|
940
972
|
}
|
|
941
|
-
function
|
|
973
|
+
function Ge(a, t) {
|
|
942
974
|
if (t.previewKind === "chartBubbleScale")
|
|
943
975
|
return {
|
|
944
976
|
shape: "scatterPoints",
|
|
@@ -988,7 +1020,7 @@ function ze(a, t) {
|
|
|
988
1020
|
]
|
|
989
1021
|
};
|
|
990
1022
|
}
|
|
991
|
-
function
|
|
1023
|
+
function Ue(a) {
|
|
992
1024
|
return a.previewKind === "chartDonutProgress" ? {
|
|
993
1025
|
shape: "pieSlices",
|
|
994
1026
|
innerRadius: 0.58,
|
|
@@ -1007,7 +1039,7 @@ function Ne(a) {
|
|
|
1007
1039
|
narrative: e("FWA.78111787570896869", { p0: a.sampleTitle })
|
|
1008
1040
|
};
|
|
1009
1041
|
}
|
|
1010
|
-
function
|
|
1042
|
+
function qe(a) {
|
|
1011
1043
|
return {
|
|
1012
1044
|
shape: "mapRegions",
|
|
1013
1045
|
regions: a.previewKind === "geoRegionalHeat" ? [
|
|
@@ -1022,7 +1054,7 @@ function Ee(a) {
|
|
|
1022
1054
|
narrative: e("FWA.78111787570896869", { p0: a.sampleTitle })
|
|
1023
1055
|
};
|
|
1024
1056
|
}
|
|
1025
|
-
function
|
|
1057
|
+
function je(a, t) {
|
|
1026
1058
|
const i = t.previewKind === "chartDrilldownTree" || t.previewKind === "workflowApprovalChain";
|
|
1027
1059
|
return {
|
|
1028
1060
|
shape: "treeHierarchy",
|
|
@@ -1041,7 +1073,7 @@ function Oe(a, t) {
|
|
|
1041
1073
|
narrative: e("FWA.78111787570896869", { p0: t.sampleTitle })
|
|
1042
1074
|
};
|
|
1043
1075
|
}
|
|
1044
|
-
function
|
|
1076
|
+
function Ye(a) {
|
|
1045
1077
|
return {
|
|
1046
1078
|
shape: "geoGlobe",
|
|
1047
1079
|
title: a.sampleTitle,
|
|
@@ -1058,7 +1090,7 @@ function Ge(a) {
|
|
|
1058
1090
|
narrative: e("FWA.78111787570896869", { p0: a.sampleTitle })
|
|
1059
1091
|
};
|
|
1060
1092
|
}
|
|
1061
|
-
function
|
|
1093
|
+
function Je(a, t) {
|
|
1062
1094
|
const i = t.sampleTitle || a.title, r = t.previewKind === "geoMigrationFlow" ? [e("FWA.70a31787571564827"), e("FWA.1b6f1787571565352"), e("FWA.2a821787571565490")] : t.previewKind === "geoRouteTrack" ? [e("FWA.366a1787571649681"), e("FWA.91831787571565887"), e("FWA.d4881787571649857")] : t.previewKind.includes("Permission") || t.previewKind.includes("permission") ? [e("FWA.85ad1787571650036"), e("FWA.d7021787571644744"), e("FWA.cbd71787571650213")] : t.previewKind.includes("Lineage") || t.previewKind.includes("lineage") ? [e("FWA.fe7c1787571566400"), e("FWA.fceb1787571635191"), e("FWA.f0f41787571650402")] : t.previewKind === "graphKnowledge" ? [e("FWA.0eb11787571650583"), e("FWA.63721787571650811"), e("FWA.aa671787571651078")] : [e("FWA.a22b1787571366237"), e("FWA.1f791787571651380"), e("FWA.0ce21787571366650")];
|
|
1063
1095
|
return {
|
|
1064
1096
|
shape: "networkGraph",
|
|
@@ -1076,7 +1108,7 @@ function qe(a, t) {
|
|
|
1076
1108
|
narrative: e("FWA.e3aa1787570825040", { p0: i })
|
|
1077
1109
|
};
|
|
1078
1110
|
}
|
|
1079
|
-
function
|
|
1111
|
+
function Ve(a, t) {
|
|
1080
1112
|
return a.dataShape === "weatherCurrent" ? {
|
|
1081
1113
|
shape: "weatherCurrent",
|
|
1082
1114
|
location: e("FWA.dc881787571648412"),
|
|
@@ -1121,7 +1153,7 @@ function Ue(a, t) {
|
|
|
1121
1153
|
} : null;
|
|
1122
1154
|
}
|
|
1123
1155
|
function z(a, t) {
|
|
1124
|
-
if (t.previewKind === "customNestedContainer") return
|
|
1156
|
+
if (t.previewKind === "customNestedContainer") return Ee();
|
|
1125
1157
|
const r = {
|
|
1126
1158
|
customBlankCanvas: "blank-card-canvas",
|
|
1127
1159
|
utilityQuickLinks: "quick-links",
|
|
@@ -1156,17 +1188,17 @@ function z(a, t) {
|
|
|
1156
1188
|
elements: n
|
|
1157
1189
|
};
|
|
1158
1190
|
}
|
|
1159
|
-
function
|
|
1191
|
+
function Xe(a, t) {
|
|
1160
1192
|
if (t && typeof t == "object") return t;
|
|
1161
|
-
const i = e("FWA.97aa1787570384619", { p0: a.title }), r = te(a), n =
|
|
1193
|
+
const i = e("FWA.97aa1787570384619", { p0: a.title }), r = te(a), n = Me(a);
|
|
1162
1194
|
if (n) return n;
|
|
1163
|
-
if (a.dataShape === "metricSummary") return
|
|
1164
|
-
if (a.dataShape === "rows") return
|
|
1165
|
-
if (a.dataShape === "insightNarrative" || a.dataShape === "reportSummary") return
|
|
1195
|
+
if (a.dataShape === "metricSummary") return Ne(a, r);
|
|
1196
|
+
if (a.dataShape === "rows") return Oe(a, r);
|
|
1197
|
+
if (a.dataShape === "insightNarrative" || a.dataShape === "reportSummary") return $e(a, r);
|
|
1166
1198
|
if (a.dataShape === "dashboardGrid")
|
|
1167
|
-
return
|
|
1168
|
-
if (a.dataShape === "pieSlices") return
|
|
1169
|
-
if (a.dataShape === "singleSeries" || a.dataShape === "multiSeries" || a.dataShape === "scatterPoints") return
|
|
1199
|
+
return Be(a, i);
|
|
1200
|
+
if (a.dataShape === "pieSlices") return Ue(r);
|
|
1201
|
+
if (a.dataShape === "singleSeries" || a.dataShape === "multiSeries" || a.dataShape === "scatterPoints") return Ge(a, r);
|
|
1170
1202
|
if (a.dataShape === "waterfallSteps")
|
|
1171
1203
|
return {
|
|
1172
1204
|
shape: "waterfallSteps",
|
|
@@ -1244,7 +1276,7 @@ function je(a, t) {
|
|
|
1244
1276
|
],
|
|
1245
1277
|
narrative: i
|
|
1246
1278
|
};
|
|
1247
|
-
if (a.dataShape === "mapRegions") return
|
|
1279
|
+
if (a.dataShape === "mapRegions") return qe(r);
|
|
1248
1280
|
if (a.dataShape === "sankeyFlow")
|
|
1249
1281
|
return {
|
|
1250
1282
|
shape: "sankeyFlow",
|
|
@@ -1261,7 +1293,7 @@ function je(a, t) {
|
|
|
1261
1293
|
],
|
|
1262
1294
|
narrative: i
|
|
1263
1295
|
};
|
|
1264
|
-
if (a.dataShape === "treeHierarchy") return
|
|
1296
|
+
if (a.dataShape === "treeHierarchy") return je(a, r);
|
|
1265
1297
|
if (a.dataShape === "ganttTasks")
|
|
1266
1298
|
return {
|
|
1267
1299
|
shape: "ganttTasks",
|
|
@@ -1307,8 +1339,8 @@ function je(a, t) {
|
|
|
1307
1339
|
cumulative: [42, 73, 91, 100],
|
|
1308
1340
|
narrative: i
|
|
1309
1341
|
};
|
|
1310
|
-
if (a.dataShape === "networkGraph") return
|
|
1311
|
-
if (a.dataShape === "geoGlobe") return
|
|
1342
|
+
if (a.dataShape === "networkGraph") return Je(a, r);
|
|
1343
|
+
if (a.dataShape === "geoGlobe") return Ye(r);
|
|
1312
1344
|
if (a.dataShape === "taskSummary")
|
|
1313
1345
|
return {
|
|
1314
1346
|
shape: "taskSummary",
|
|
@@ -1322,18 +1354,18 @@ function je(a, t) {
|
|
|
1322
1354
|
{ id: "task-2", title: e("FWA.91961787571130062"), type: "document", owner: e("FWA.ad161787571568154"), status: "reading", dueAt: e("FWA.9d4a1787571652053") }
|
|
1323
1355
|
]
|
|
1324
1356
|
};
|
|
1325
|
-
const s =
|
|
1357
|
+
const s = Ve(a, r);
|
|
1326
1358
|
return s || (a.dataShape === "customCanvas", z(a, r));
|
|
1327
1359
|
}
|
|
1328
|
-
function
|
|
1329
|
-
const i =
|
|
1330
|
-
return r || (i ?
|
|
1360
|
+
function Wa(a, t) {
|
|
1361
|
+
const i = X(a), r = V(a, i);
|
|
1362
|
+
return r || (i ? M(a, t, i) : I(a));
|
|
1331
1363
|
}
|
|
1332
|
-
async function
|
|
1333
|
-
const i =
|
|
1334
|
-
return r || (i ?
|
|
1364
|
+
async function fa(a, t) {
|
|
1365
|
+
const i = X(a), r = V(a, i);
|
|
1366
|
+
return r || (i ? xe(i) ? await Qe(a, t, i) : M(a, t, i) : I(a));
|
|
1335
1367
|
}
|
|
1336
|
-
function
|
|
1368
|
+
function V(a, t) {
|
|
1337
1369
|
return t ? a.registryEntry && a.capabilityId && a.capabilityId !== a.registryEntry.capabilityId ? {
|
|
1338
1370
|
status: "failed",
|
|
1339
1371
|
registryEntry: t,
|
|
@@ -1349,21 +1381,21 @@ function Y(a, t) {
|
|
|
1349
1381
|
registryEntry: t,
|
|
1350
1382
|
reason: e("FWA.d1461787570357548", { p0: t.capabilityId }),
|
|
1351
1383
|
suggestion: e("FWA.65e31787570341627")
|
|
1352
|
-
} : null :
|
|
1384
|
+
} : null : I(a);
|
|
1353
1385
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return a.registryEntry ??
|
|
1386
|
+
function X(a) {
|
|
1387
|
+
return a.registryEntry ?? Z(a);
|
|
1356
1388
|
}
|
|
1357
|
-
function
|
|
1389
|
+
function I(a) {
|
|
1358
1390
|
return {
|
|
1359
1391
|
status: "failed",
|
|
1360
1392
|
reason: e("FWA.a4581787570650442", { p0: a.capabilityId || `${a.category || "-"}/${a.type || "-"}` }),
|
|
1361
1393
|
suggestion: e("FWA.8dbd1787570217430")
|
|
1362
1394
|
};
|
|
1363
1395
|
}
|
|
1364
|
-
function
|
|
1396
|
+
function M(a, t, i, r) {
|
|
1365
1397
|
var A, W, m, v, u, b, h, w;
|
|
1366
|
-
const n = String(((A = a.meta) == null ? void 0 : A.id) || ((W = a.layout) == null ? void 0 : W.i) ||
|
|
1398
|
+
const n = String(((A = a.meta) == null ? void 0 : A.id) || ((W = a.layout) == null ? void 0 : W.i) || He()), o = (a.layout ? Ae : Fe)({
|
|
1367
1399
|
preset: ((m = a.size) == null ? void 0 : m.preset) || "medium",
|
|
1368
1400
|
width: (v = a.size) == null ? void 0 : v.width,
|
|
1369
1401
|
height: (u = a.size) == null ? void 0 : u.height,
|
|
@@ -1399,8 +1431,8 @@ function I(a, t, i, r) {
|
|
|
1399
1431
|
rendererKey: l,
|
|
1400
1432
|
preset: (w = a.renderer) == null ? void 0 : w.preset
|
|
1401
1433
|
},
|
|
1402
|
-
state:
|
|
1403
|
-
data: (r == null ? void 0 : r.data) ??
|
|
1434
|
+
state: Ie(),
|
|
1435
|
+
data: (r == null ? void 0 : r.data) ?? Xe(i, a.data),
|
|
1404
1436
|
meta: {
|
|
1405
1437
|
...a.meta,
|
|
1406
1438
|
...(r == null ? void 0 : r.meta) ?? {},
|
|
@@ -1419,42 +1451,46 @@ function I(a, t, i, r) {
|
|
|
1419
1451
|
}
|
|
1420
1452
|
}, registryEntry: i };
|
|
1421
1453
|
}
|
|
1422
|
-
async function
|
|
1423
|
-
const r = await
|
|
1424
|
-
return r.ok ?
|
|
1454
|
+
async function Qe(a, t, i) {
|
|
1455
|
+
const r = await Le(i);
|
|
1456
|
+
return r.ok ? M(a, t, i, {
|
|
1425
1457
|
renderer: r.renderer,
|
|
1426
1458
|
data: r.data,
|
|
1427
1459
|
meta: r.meta
|
|
1428
1460
|
}) : { status: "failed", registryEntry: i, reason: r.reason };
|
|
1429
1461
|
}
|
|
1430
1462
|
export {
|
|
1463
|
+
Fa as A,
|
|
1464
|
+
Aa as B,
|
|
1465
|
+
he as C,
|
|
1431
1466
|
L as D,
|
|
1467
|
+
be as E,
|
|
1432
1468
|
p as L,
|
|
1433
1469
|
y as S,
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1470
|
+
oa as a,
|
|
1471
|
+
Wa as b,
|
|
1472
|
+
fa as c,
|
|
1437
1473
|
e as d,
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1474
|
+
ma as e,
|
|
1475
|
+
ua as f,
|
|
1476
|
+
C as g,
|
|
1477
|
+
k as h,
|
|
1478
|
+
pa as i,
|
|
1479
|
+
ca as j,
|
|
1480
|
+
T as k,
|
|
1445
1481
|
We as l,
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1482
|
+
la as m,
|
|
1483
|
+
da as n,
|
|
1484
|
+
O as o,
|
|
1485
|
+
ue as p,
|
|
1486
|
+
q,
|
|
1451
1487
|
Ae as r,
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1488
|
+
ta as s,
|
|
1489
|
+
S as t,
|
|
1490
|
+
ia as u,
|
|
1491
|
+
ra as v,
|
|
1492
|
+
ne as w,
|
|
1493
|
+
sa as x,
|
|
1494
|
+
Fe as y,
|
|
1495
|
+
na as z
|
|
1460
1496
|
};
|