@camstack/addon-pipeline-orchestrator 0.1.1
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/@mf-types/compiled-types/widgets/PipelineQuickStats.d.ts +3 -0
- package/dist/@mf-types/compiled-types/widgets/PipelineQuickStats.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/ZoneEditor.d.ts +17 -0
- package/dist/@mf-types/compiled-types/widgets/ZoneEditor.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/ZonesTab.d.ts +7 -0
- package/dist/@mf-types/compiled-types/widgets/ZonesTab.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/index.d.ts +13 -0
- package/dist/@mf-types/compiled-types/widgets/index.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneCanvas.d.ts +60 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneCanvas.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneForm.d.ts +23 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneForm.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneList.d.ts +15 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneList.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneOverlay.d.ts +19 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneOverlay.d.ts.map +1 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneRulesEditor.d.ts +9 -0
- package/dist/@mf-types/compiled-types/widgets/zone-editor/ZoneRulesEditor.d.ts.map +1 -0
- package/dist/@mf-types/widgets.d.ts +2 -0
- package/dist/@mf-types.d.ts +3 -0
- package/dist/@mf-types.zip +0 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-CCBTZBOa.mjs +12 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CvusB3VY.mjs +17 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-BrYYwKk_.mjs +34 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-DoWbefqS.mjs +104 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-D4eEXltm.mjs +85 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-CVrnrGED.mjs +62 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs-B848Fc_m.mjs +88 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-B-q1guKT.mjs +29 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-Cg6QsnjR.mjs +36 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs-Dp8hqYOB.mjs +45 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-CeGb2_QF.mjs +6 -0
- package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-BBmNf5hf.mjs +34 -0
- package/dist/_stub.js +16268 -0
- package/dist/_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-C5Dbnljh.mjs +157 -0
- package/dist/client-BkQItW6e.mjs +9836 -0
- package/dist/getErrorShape-BPSzUA7W-TlK8ipWe.mjs +211 -0
- package/dist/hostInit-xzBPWUz0.mjs +168 -0
- package/dist/index-BI-_eQhe.mjs +185 -0
- package/dist/index-BJzn4K_R.mjs +2603 -0
- package/dist/index-BZ6YICSw.mjs +17936 -0
- package/dist/index-Bj470a3A.mjs +725 -0
- package/dist/index-C3iAUQqS.mjs +533 -0
- package/dist/index-CWkKuNLr.mjs +232 -0
- package/dist/index-Cj-UePAd.mjs +435 -0
- package/dist/index-D0dNM7_R.mjs +2892 -0
- package/dist/index-DNWfP1gi.mjs +2464 -0
- package/dist/index-DnFVXz0U.mjs +14162 -0
- package/dist/index-xncRG7-x.mjs +2713 -0
- package/dist/index.d.mts +907 -0
- package/dist/index.d.ts +907 -0
- package/dist/index.js +18670 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +18668 -0
- package/dist/index.mjs.map +1 -0
- package/dist/jsx-runtime-CJ4xYF4l.mjs +55 -0
- package/dist/remoteEntry.js +85 -0
- package/dist/virtualExposes-8FzWTdq3.mjs +42 -0
- package/package.json +95 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelineQuickStats.d.ts","sourceRoot":"","sources":["../../../../src/widgets/PipelineQuickStats.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAOL,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAE7B,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,2CASpD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ZoneEditor — `zone-editor` widget. Owned by addon-pipeline-orchestrator
|
|
3
|
+
* (the cap surface for `zones` + `zone-rules`).
|
|
4
|
+
*
|
|
5
|
+
* Wraps the `ZonesTab` content (canvas + zone list + form + rules
|
|
6
|
+
* editors) into the `WidgetProps` contract. `<WidgetSlot widgetId=
|
|
7
|
+
* "pipeline-orchestrator/zone-editor" deviceId={…}/>` mounts it from a
|
|
8
|
+
* form contribution (`fieldType: 'widget'`) or a top-tab section.
|
|
9
|
+
*
|
|
10
|
+
* Replaces the legacy bespoke `'zone-editor'` field type in admin-ui's
|
|
11
|
+
* CustomFieldRenderersProvider — the operator-facing surface is
|
|
12
|
+
* unchanged but the React code lives alongside the addon that owns
|
|
13
|
+
* the `zones` cap.
|
|
14
|
+
*/
|
|
15
|
+
import type { WidgetProps } from '@camstack/ui-library';
|
|
16
|
+
export declare function ZoneEditor(props: WidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ZoneEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneEditor.d.ts","sourceRoot":"","sources":["../../../../src/widgets/ZoneEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAGvD,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,2CAS5C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DeviceProxy } from '@camstack/types';
|
|
2
|
+
export interface ZonesTabProps {
|
|
3
|
+
readonly deviceId: number;
|
|
4
|
+
}
|
|
5
|
+
export declare function ZonesTab({ deviceId }: ZonesTabProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export type { DeviceProxy as ZonesTabDeviceProxy };
|
|
7
|
+
//# sourceMappingURL=ZonesTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZonesTab.d.ts","sourceRoot":"","sources":["../../../../src/widgets/ZonesTab.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAmB,WAAW,EAAE,MAAM,iBAAiB,CAAA;AA2CnE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAC1B;AAED,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAkLnD;AAED,YAAY,EAAE,WAAW,IAAI,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widget bundle entry — built into `dist/widgets.mjs` by
|
|
3
|
+
* `vite.widgets.config.ts`. Default export is the `Record<stableId,
|
|
4
|
+
* Component>` map the host's `WidgetRegistry` consumes.
|
|
5
|
+
*/
|
|
6
|
+
import { PipelineQuickStats } from './PipelineQuickStats';
|
|
7
|
+
import { ZoneEditor } from './ZoneEditor';
|
|
8
|
+
declare const _default: {
|
|
9
|
+
'pipeline-quick-stats': typeof PipelineQuickStats;
|
|
10
|
+
'zone-editor': typeof ZoneEditor;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/index.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;;;;;AAEzC,wBAGC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export type ZoneKind = 'polygon' | 'tripwire';
|
|
3
|
+
export interface Zone {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
kind: ZoneKind;
|
|
7
|
+
color: string;
|
|
8
|
+
points: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
interface ZoneCanvasProps {
|
|
14
|
+
zones: Zone[];
|
|
15
|
+
selectedZoneId: string | null;
|
|
16
|
+
onSelectZone: (id: string | null) => void;
|
|
17
|
+
onZonePointsChange: (id: string, points: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
}[]) => void;
|
|
21
|
+
onZoneComplete: (zone: Zone) => void;
|
|
22
|
+
drawingKind: ZoneKind | null;
|
|
23
|
+
/**
|
|
24
|
+
* Optional backdrop element rendered behind the konva Stage —
|
|
25
|
+
* typically a cached snapshot `<img>` or a live `CameraStreamPlayer`.
|
|
26
|
+
* Stretched to fill the 16:9 container; the konva Stage is transparent
|
|
27
|
+
* on top so zones overlay the backdrop without intercepting media
|
|
28
|
+
* playback.
|
|
29
|
+
*/
|
|
30
|
+
backdrop?: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Overlay mode for layering the zone editor on top of an external
|
|
33
|
+
* stream player (e.g. `StreamPanel.extraOverlay`).
|
|
34
|
+
*
|
|
35
|
+
* `false` (default): standalone editor. Component owns a 16:9
|
|
36
|
+
* aspect-ratio container with a dark backdrop, sized via its own
|
|
37
|
+
* ResizeObserver. Backdrop slot fills the inside.
|
|
38
|
+
*
|
|
39
|
+
* `true`: transparent absolute-fill of the parent. No own backdrop,
|
|
40
|
+
* no rounded corners, no aspect-ratio container — the parent
|
|
41
|
+
* (player) provides those. The Konva Stage sizes to the parent box
|
|
42
|
+
* (still tracked via ResizeObserver). When `false` and `drawingKind
|
|
43
|
+
* === null`, the component disables its own pointer-events so
|
|
44
|
+
* clicks pass through to the underlying video — `selectedZone`
|
|
45
|
+
* highlights still render but don't intercept.
|
|
46
|
+
*/
|
|
47
|
+
transparent?: boolean;
|
|
48
|
+
}
|
|
49
|
+
declare function ZoneCanvasImpl({ zones, selectedZoneId, onSelectZone, onZonePointsChange, onZoneComplete, drawingKind, backdrop, transparent, }: ZoneCanvasProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
/**
|
|
51
|
+
* Memoised export. The Konva scene is expensive to re-evaluate (many
|
|
52
|
+
* `<Group>` / `<Line>` / `<Circle>` nodes per zone, plus per-zone
|
|
53
|
+
* inline drag-bound closures), and the parent player tree re-renders
|
|
54
|
+
* on every detection / motion event. With memo + stable handlers in
|
|
55
|
+
* `ZoneOverlay` the canvas only re-renders when its actual inputs
|
|
56
|
+
* change (`zones` array, `selectedZoneId`, `drawingKind`).
|
|
57
|
+
*/
|
|
58
|
+
export declare const ZoneCanvas: import("react").MemoExoticComponent<typeof ZoneCanvasImpl>;
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=ZoneCanvas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneCanvas.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/zone-editor/ZoneCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtF,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAA;AAE7C,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CACnC;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACzC,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,KAAK,IAAI,CAAA;IAC5E,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IACpC,WAAW,EAAE,QAAQ,GAAG,IAAI,CAAA;IAC5B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AA6CD,iBAAS,cAAc,CAAC,EACtB,KAAK,EACL,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAmB,GACpB,EAAE,eAAe,2CA2kBjB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,4DAAuB,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Zone } from './ZoneCanvas';
|
|
2
|
+
interface ZoneFormProps {
|
|
3
|
+
/** Zone payload sourced from the in-flight draft. The parent only
|
|
4
|
+
* renders this form while a draft is active, so name/color/points
|
|
5
|
+
* are always the editable in-memory values. */
|
|
6
|
+
zone: Zone;
|
|
7
|
+
onSave: () => void;
|
|
8
|
+
onDiscard: () => void;
|
|
9
|
+
onDelete: () => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Zone settings form. Only mounted while the operator has an active
|
|
13
|
+
* draft (selection IS edit mode — see `ZonesTab.selectedZone` and the
|
|
14
|
+
* `useZoneEditing` context). Save commits the draft via a single
|
|
15
|
+
* `updateZone` round-trip; Discard reverts. While the form is
|
|
16
|
+
* mounted, every name/color keystroke and vertex drag updates the
|
|
17
|
+
* draft in-memory only — no upstream RPC fires until Save, so the
|
|
18
|
+
* device-config-changed → pipeline-runner detach/attach storm is
|
|
19
|
+
* batched into one cycle per save.
|
|
20
|
+
*/
|
|
21
|
+
export declare function ZoneForm({ zone, onSave, onDiscard, onDelete }: ZoneFormProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=ZoneForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneForm.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/zone-editor/ZoneForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAqBxC,UAAU,aAAa;IACrB;;oDAEgD;IAChD,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAMD;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAqG5E"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Zone, ZoneKind } from './ZoneCanvas';
|
|
2
|
+
interface ZoneListProps {
|
|
3
|
+
zones: Zone[];
|
|
4
|
+
selectedZoneId: string | null;
|
|
5
|
+
drawingKind: ZoneKind | null;
|
|
6
|
+
/** Selection IS edit-mode — `onSelectZone(id)` enters draft mode
|
|
7
|
+
* for that zone, `onSelectZone(null)` discards. */
|
|
8
|
+
onSelectZone: (id: string | null) => void;
|
|
9
|
+
onDeleteZone: (id: string) => void;
|
|
10
|
+
onStartDraw: (kind: ZoneKind) => void;
|
|
11
|
+
onCancelDraw: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function ZoneList({ zones, selectedZoneId, drawingKind, onSelectZone, onDeleteZone, onStartDraw, onCancelDraw, }: ZoneListProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ZoneList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneList.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/zone-editor/ZoneList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAoBlD,UAAU,aAAa;IACrB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,WAAW,EAAE,QAAQ,GAAG,IAAI,CAAA;IAC5B;wDACoD;IACpD,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACzC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IACrC,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;AAMD,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,YAAY,GACb,EAAE,aAAa,2CAiGf"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ZoneOverlayProps {
|
|
2
|
+
readonly deviceId: number;
|
|
3
|
+
}
|
|
4
|
+
declare function ZoneOverlayImpl({ deviceId }: ZoneOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
/**
|
|
6
|
+
* Memoised export — `<ZoneOverlay deviceId={n}/>` lives in the
|
|
7
|
+
* player-overlay registry and is rendered inside `StreamPanel`'s
|
|
8
|
+
* `extraOverlay` slot. Detection events (motion / bbox / phase) fire
|
|
9
|
+
* 5–30Hz and would otherwise propagate down through `StreamPanel`
|
|
10
|
+
* into this subtree on every event, re-evaluating the entire Konva
|
|
11
|
+
* scene. Memoising on `deviceId` (the only prop) lets React skip
|
|
12
|
+
* those renders entirely; the overlay still updates whenever its
|
|
13
|
+
* own state hooks fire (`useDeviceStateSlice(zones)` /
|
|
14
|
+
* `useZoneEditing`), which is the actual rate of change for the
|
|
15
|
+
* editor surface.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ZoneOverlay: import("react").MemoExoticComponent<typeof ZoneOverlayImpl>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ZoneOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/zone-editor/ZoneOverlay.tsx"],"names":[],"mappings":"AAyDA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAC1B;AAED,iBAAS,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,kDA+GtD;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,6DAAwB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Zone, ZoneRuleStage, DeviceProxy } from '@camstack/types';
|
|
2
|
+
export interface ZoneRulesEditorProps {
|
|
3
|
+
readonly dev: DeviceProxy | null;
|
|
4
|
+
readonly stage: ZoneRuleStage;
|
|
5
|
+
readonly zones: readonly Zone[];
|
|
6
|
+
readonly title?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function ZoneRulesEditor({ dev, stage, zones, title }: ZoneRulesEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ZoneRulesEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneRulesEditor.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/zone-editor/ZoneRulesEditor.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAY,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAqBjF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAA;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAA;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CACxB;AAoCD,wBAAgB,eAAe,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,oBAAoB,2CA6PjF"}
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const e = "__mf_module_cache__";
|
|
2
|
+
globalThis[e] ||= { share: {}, remote: {} };
|
|
3
|
+
globalThis[e].share ||= {};
|
|
4
|
+
globalThis[e].remote ||= {};
|
|
5
|
+
const s = globalThis[e], _ = s.share["@camstack/sdk"];
|
|
6
|
+
if (_ === void 0)
|
|
7
|
+
throw new Error("[Module Federation] Shared module @camstack/sdk was imported before federation bootstrap finished.");
|
|
8
|
+
_.__esModule ? _.default : _.default;
|
|
9
|
+
const { DEFAULT_ENABLED_CLASSES: a, DetectionClass: m, ELIGIBLE_HA_DOMAINS: l, ELIGIBLE_HA_DOMAINS_SET: f, ELIGIBLE_SCRYPTED_DEVICE_TYPES: t, ELIGIBLE_SCRYPTED_DEVICE_TYPES_SET: o, FEATURE_MATRIX: i, HA_DOMAIN_TYPE_MAP: C, RAW_TO_CANONICAL: n, SCRYPTED_TYPE_TO_CANONICAL: E, System: r, TIMELINE_PRESET_ALL: c, TIMELINE_PRESET_CRITICAL: T, TIMELINE_PRESET_IMPORTANT: I, animalClasses: d, audioClasses: A, audioLabelClasses: L, createSystem: S, defaultDetectionClasses: u, detectionClassesDefaultMap: P, doorbellClasses: D, faceClasses: h, getBackendRequiredFeatures: M, getCanonicalDeviceType: b, getClassesForTimelinePreset: g, getNextEvalInterval: N, getParentClass: R, getParentDetectionClass: p, getSourceFeatures: O, isAnimalClassname: F, isAudioClassname: k, isDoorbellClassname: Y, isFaceClassname: B, isFeatureAvailable: v, isLabelDetection: G, isMotionClassname: y, isPackageClassname: w, isPersonClassname: x, isPlateClassname: H, isSensorLabelClassname: V, isVehicleClassname: U, licensePlateClasses: q, motionClasses: K, packageClasses: W, personClasses: X, selectOptimalStream: j, sensorLabelClasses: z, vehicleClasses: J } = _;
|
|
10
|
+
export {
|
|
11
|
+
S as _
|
|
12
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const e = "__mf_module_cache__";
|
|
2
|
+
globalThis[e] ||= { share: {}, remote: {} };
|
|
3
|
+
globalThis[e].share ||= {};
|
|
4
|
+
globalThis[e].remote ||= {};
|
|
5
|
+
const m = globalThis[e], _ = m.share["@camstack/types"];
|
|
6
|
+
if (_ === void 0)
|
|
7
|
+
throw new Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
8
|
+
_.__esModule ? _.default : _.default;
|
|
9
|
+
const { ACCESSORY_LABEL: a, ALL_CAPABILITY_DEFINITIONS: t, APPLE_SA_TO_MACRO: i, AUDIO_BACKEND_CHOICES: f, AUDIO_MACRO_LABELS: o, AccessoriesStatusSchema: c, AccessoryKind: r, AddonAutoUpdateSchema: S, AddonListItemSchema: n, AddonPageDeclarationSchema: s, AddonPageInfoSchema: h, AgentLoadSummarySchema: l, AlertSchema: d, AlertSeveritySchema: C, AlertSourceSchema: u, AlertStatusSchema: p, ApiKeyRecordSchema: y, ApiKeySummarySchema: A, AudioAnalysisResultSchema: E, AudioAnalysisSettingsSchema: b, AudioChunkInputSchema: g, AudioClassSummarySchema: T, AudioClassificationLabelSchema: R, AudioClassificationResultSchema: P, AudioCodecInfoSchema: I, AudioDecodeSessionConfigSchema: D, AudioEncodeSessionConfigSchema: O, AudioEncodedChunkSchema: v, AudioEventSchema: M, AudioLevelSchema: L, AudioMetricsHistoryPointSchema: N, AudioMetricsHistorySchema: k, AudioMetricsSnapshotSchema: B, AudioPcmChunkSchema: U, AuthResultSchema: F, AutoUpdateSettingsSchema: w, AvailableIntegrationTypeSchema: W, BACKEND_TO_FORMAT: H, BATTERY_DEVICE_PROFILE: z, BaseAddon: K, BaseDevice: Y, BaseDeviceProvider: x, BatteryStatusSchema: Z, BoundingBoxSchema: G, BrightnessStatusSchema: V, BrokerAudioClientSchema: j, BrokerClientsSchema: J, BrokerDecodedClientSchema: Q, BrokerRtspClientSchema: q, BrokerStatsSchema: X, BrokerStatusSchema: $, CAM_PROFILE_ORDER: __, CAPABILITY_NAMES: e_, CAPABILITY_ROUTER_KEYS: m_, CAP_NAMES_WITH_STATUS: a_, COCO_80_LABELS: t_, COCO_TO_MACRO: i_, CamProfileSchema: f_, CamStreamKindSchema: o_, CamStreamResolutionSchema: c_, CameraCredentialsSchema: r_, CameraCredentialsStatusSchema: S_, CameraMetricsSchema: n_, CameraMetricsWithDeviceIdSchema: s_, CameraStreamSchema: h_, CapabilityBindingsSchema: l_, ChargingStatus: d_, ClientNetworkStatsSchema: C_, ClusterAddonNodeDeploymentSchema: u_, ClusterAddonStatusEntrySchema: p_, CollectionColumnSchema: y_, CollectionIndexSchema: A_, ConfigEntrySchema: E_, ConfigSectionWithValuesSchema: b_, ConfigTabDeclarationSchema: g_, CreateApiKeyInputSchema: T_, CreateApiKeyResultSchema: R_, CreateIntegrationInputSchema: P_, CreateScopedTokenInputSchema: I_, CreateScopedTokenResultSchema: D_, CreateUserInputSchema: O_, CustomActionInputSchema: v_, DEFAULT_ADDON_GROUP: M_, DEFAULT_ADDON_PLACEMENT: L_, DEFAULT_AUDIO_ANALYZER_CONFIG: N_, DEFAULT_DECODER_HWACCEL_CONFIG: k_, DEFAULT_FEATURES: B_, DEFAULT_RETENTION: U_, DEVICE_PROFILES: F_, DEVICE_SETTINGS_CONTRIBUTION_METHODS: w_, DEVICE_STATUS_METHOD: W_, DEVICE_TYPE_INFO: H_, DecodedFrameSchema: z_, DecoderAssignmentSchema: K_, DecoderSessionConfigSchema: Y_, DecoderStatsSchema: x_, DeleteIntegrationResultSchema: Z_, DetectorOutputSchema: G_, DeviceConfig: V_, DeviceDiscoveryStatusSchema: j_, DeviceFeature: J_, DeviceInfoSchema: Q_, DeviceNetworkStatsSchema: q_, DeviceRole: X_, DeviceRuntimeState: $_, DeviceStatusSchema: _e, DeviceType: ee, DiscoveredChildDeviceSchema: me, DiscoveredChildStatusSchema: ae, DiscoveredDeviceSchema: te, DoorbellPressEventSchema: ie, DoorbellStatusSchema: fe, ElementConfigStore: oe, EmbeddingInfoSchema: ce, EmbeddingResultSchema: re, EncodedPacketSchema: Se, EnrichedWidgetMetadataSchema: ne, EventCategory: se, EventItemSchema: he, EventKindSchema: le, EventSourceType: de, ExposedResourceSchema: Ce, FeatureManifestSchema: ue, FeatureProbeStatusSchema: pe, FrameInputSchema: ye, GlobalMetricsSchema: Ae, HF_BASE_URL: Ee, HF_REPO: be, HWACCEL_OPTIONS: ge, HealthStatusSchema: Te, HistoryPointSchema: Re, HistoryResolutionEnum: Pe, InstalledPackageSchema: Ie, IntegrationLiteSchema: De, IntegrationWithStateSchema: Oe, IntercomAbilitySchema: ve, IntercomStatusSchema: Me, LogEntrySchema: Le, LogLevelSchema: Ne, LogStreamEntrySchema: ke, MACRO_LABELS: Be, MODEL_FORMATS: Ue, MediaFileSchema: Fe, MotionAnalysisResultSchema: we, MotionEventSchema: We, MotionOnMotionChangedDataSchema: He, MotionRegionSchema: ze, MotionSourceEnum: Ke, MotionSourcesSchema: Ye, MotionStatusSchema: xe, MotionTriggerRuntimeStateSchema: Ze, MotionTriggerStatusSchema: Ge, NativeDetectionSchema: Ve, NativeObjectClassEnum: je, NativeObjectDetectionStatusSchema: Je, NetworkAccessStatusSchema: Qe, NetworkAddressSchema: qe, NetworkEndpointSchema: Xe, NotificationHistoryEntrySchema: $e, NotificationRuleSchema: _m, NotificationSchema: em, ObjectEventSchema: mm, OrchestratorMetricsSchema: am, OsdOverlayKindEnum: tm, OsdOverlayPatchSchema: im, OsdOverlaySchema: fm, OsdPositionEnum: om, OsdStatusSchema: cm, PIPELINE_FLOW_CAPABILITY_NAMES: rm, PIPELINE_OWNER_CAPABILITY_NAMES: Sm, PYTHON_SCRIPT: nm, PackageUpdateSchema: sm, PackageVersionInfoSchema: hm, PcmSampleFormatSchema: lm, PerScopeBreakdownSchema: dm, PipelineAssignmentSchema: Cm, PipelineDefaultStepSchema: um, PipelineEngineChoiceSchema: pm, PipelineRunResultBridge: ym, PipelineStepInputSchema: Am, PlaceholderReasonSchema: Em, PolygonPointSchema: bm, ProfileSlotSchema: gm, ProfileSlotStatusSchema: Tm, ProviderStatusSchema: Rm, PtzAutotrackRuntimeStateSchema: Pm, PtzAutotrackSettingsSchema: Im, PtzAutotrackStatusSchema: Dm, PtzAutotrackTargetOptionSchema: Om, PtzMoveCommandSchema: vm, PtzPositionSchema: Mm, PtzPresetSchema: Lm, QueryFilterSchema: Nm, RECOGNITION_TYPES: km, RUNTIME_DEFAULTS: Bm, RUNTIME_TO_FORMAT: Um, ReadinessRegistry: Fm, ReadinessTimeoutError: wm, RegisteredStreamSchema: Wm, ReportMotionInputSchema: Hm, RingBuffer: zm, RtspRestreamEntrySchema: Km, RunnerCameraConfigSchema: Ym, RunnerCameraDeviceUIFields: xm, RunnerLocalLoadSchema: Zm, RunnerLocalMetricsSchema: Gm, STREAM_QUALITY_LABELS: Vm, SUB_DETECTION_TYPES: jm, ScopedTokenSchema: Jm, ScopedTokenSummarySchema: Qm, SearchResultSchema: qm, SegmentSchema: Xm, SettingsPatchSchema: $m, SettingsRecordSchema: _a, SettingsSchemaWithValuesSchema: ea, SettingsUpdateResultSchema: ma, SnapshotImageSchema: aa, SpatialDetectionSchema: ta, StorageLocationTypeSchema: ia, StreamFormatSchema: fa, StreamInfoSchema: oa, StreamNetworkStatsSchema: ca, StreamSourceEntrySchema: ra, StreamSourceSchema: Sa, SwitchStatusSchema: na, SystemMetricsSchema: sa, SystemMirror: ha, TestConnectionResultSchema: la, ToastSchema: da, TokenScopeSchema: Ca, TopologyNodeSchema: ua, TopologyProcessSchema: pa, TopologyServiceSchema: ya, TrackSchema: Aa, TrackStateSchema: Ea, TrackedDetectionSchema: ba, TurnServerSchema: ga, UpdateIntegrationInputSchema: Ta, UpdateUserInputSchema: Ra, UserRecordSchema: Pa, UserRoleSchema: Ia, UserSummarySchema: Da, WELL_KNOWN_TABS: Oa, WELL_KNOWN_TAB_MAP: va, WebrtcStreamChoiceSchema: Ma, WebrtcStreamTargetSchema: La, WidgetHostEnum: Na, WidgetMetadataSchema: ka, WidgetSizeEnum: Ba, YAMNET_TO_MACRO: Ua, ZoneKindEnum: Fa, ZoneRuleModeEnum: wa, ZoneRuleSchema: Wa, ZoneRuleStageEnum: Ha, ZoneRulesArraySchema: za, ZoneSchema: Ka, ZoneScopeBreakdownSchema: Ya, accessoriesCapability: xa, accessoryStableId: Za, addonPagesCapability: Ga, addonPagesSourceCapability: Va, addonRoutesCapability: ja, addonSettingsCapability: Ja, addonWidgetsCapability: Qa, addonWidgetsSourceCapability: qa, addonsCapability: Xa, adminUiCapability: $a, advancedNotifierCapability: _t, alertsCapability: et, asBoolean: mt, asJsonArray: at, asJsonObject: tt, asNumber: it, asString: ft, audioAnalysisCapability: ot, audioAnalyzerCapability: ct, audioCodecCapability: rt, audioMetricsCapability: St, authProviderCapability: nt, autoAssignProfiles: st, backupCapability: ht, batteryCapability: lt, bindAddonActions: dt, brightnessCapability: Ct, cameraCredentialsCapability: ut, cameraStreamsCapability: pt, classifyStream: yt, classifyStreams: At, cosineSimilarity: Et, createDeviceProxy: bt, createEvent: gt, createLazyTrpcSource: Tt, createMirrorSource: Rt, createRuntimeStateBridge: Pt, createSliceHandle: It, createSystemProxy: Dt, customAction: Ot, decoderCapability: vt, defineCustomActions: Mt, detectionPipelineCapability: Lt, deviceDiscoveryCapability: Nt, deviceManagerCapability: kt, deviceMatchesProfile: Bt, deviceOpsCapability: Ut, deviceProviderCapability: Ft, deviceStateCapability: wt, deviceStatusCapability: Wt, doorbellCapability: Ht, embeddingEncoderCapability: zt, emitDownForOwnedCaps: Kt, emitReadiness: Yt, errMsg: xt, evaluateZoneRules: Zt, event: Gt, eventsCapability: Vt, expandCapMethods: jt, featureProbeCapability: Jt, formatForBackend: Qt, formatForRuntime: qt, getAudioMacroClassIds: Xt, hfModelUrl: $t, hydrateSchema: _i, integrationsCapability: ei, intercomCapability: mi, isAgentOnlyPlacement: ai, isDeployableToAgent: ti, isEvent: ii, logDestinationCapability: fi, mapAudioLabelToMacro: oi, maskUrlCredentials: ci, method: ri, metricsProviderCapability: Si, motionCapability: ni, motionDetectionCapability: si, motionTriggerCapability: hi, nativeObjectDetectionCapability: li, networkAccessCapability: di, networkQualityCapability: Ci, nodesCapability: ui, normalizeAddonInitResult: pi, notificationOutputCapability: yi, osdCapability: Ai, parseCameraStreamConfig: Ei, parseJsonArray: bi, parseJsonObject: gi, parseJsonUnknown: Ti, pipelineAnalyticsCapability: Ri, pipelineExecutorCapability: Pi, pipelineOrchestratorCapability: Ii, pipelineRunnerCapability: Di, platformProbeCapability: Oi, ptzAutotrackCapability: vi, ptzCapability: Mi, pythonScriptForBackend: Li, readinessKey: Ni, rebootCapability: ki, recordingCapability: Bi, recordingEngineCapability: Ui, requiresPython: Fi, resolveAddonExecution: wi, resolveAddonGroup: Wi, resolveAddonPlacement: Hi, resolveAddonRuntime: zi, resolveDetectionRuntime: Ki, resolveDeviceProfile: Yi, resolveModelFormat: xi, restreamerCapability: Zi, runInferenceStep: Gi, scopeKey: Vi, settingsStoreCapability: ji, snapshotCapability: Ji, snapshotProviderCapability: Qi, storageCapability: qi, streamBrokerCapability: Xi, streamPixels: $i, streamQualityLabel: _f, streamingEngineCapability: ef, switchCapability: mf, systemCapability: af, toDeviceSummary: tf, toStreamSourceEntry: ff, toastCapability: of, turnProviderCapability: cf, userManagementCapability: rf, webrtcCapability: Sf, webrtcClientHintsSchema: nf, webrtcSessionCapability: sf, zodEntriesToConfigUI: hf, zoneAnalyticsCapability: lf, zoneRulesCapability: df, zonesCapability: Cf } = _;
|
|
10
|
+
export {
|
|
11
|
+
Be as _,
|
|
12
|
+
Dt as a,
|
|
13
|
+
ha as b,
|
|
14
|
+
se as c,
|
|
15
|
+
bt as d,
|
|
16
|
+
t as e
|
|
17
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const _ = "__mf_module_cache__";
|
|
2
|
+
globalThis[_] ||= { share: {}, remote: {} };
|
|
3
|
+
globalThis[_].share ||= {};
|
|
4
|
+
globalThis[_].remote ||= {};
|
|
5
|
+
const t = globalThis[_], e = t.share["@camstack/ui-library"];
|
|
6
|
+
if (e === void 0)
|
|
7
|
+
throw new Error("[Module Federation] Shared module @camstack/ui-library was imported before federation bootstrap finished.");
|
|
8
|
+
e.__esModule ? e.default : e.default;
|
|
9
|
+
const { AddonGlobalSettingsForm: s, AgentStepEditor: i, AppShell: r, AudioClassificationList: m, AudioLevelWaveform: o, AudioWaveform: n, BTN_COMPACT: a, BTN_COMPACT_DANGER: f, BTN_COMPACT_PRIMARY: u, BTN_COMPACT_WARNING: c, Badge: l, BatteryBadge: d, BottomSheet: S, Breadcrumb: g, Button: p, CHIP_ACTIVE: v, CHIP_BASE: P, CHIP_INACTIVE: D, CLASS_COLORS: A, CameraStreamPlayer: C, Card: G, Checkbox: h, CodeBlock: E, CollapsibleCard: M, ConfigFormBuilder: R, ConfigFormField: y, ConfigSchemaField: T, ConfirmActionButton: b, ConfirmDialogProvider: L, CustomFieldRenderersProvider: O, DEFAULT_COLOR: I, DataTable: B, DetectionCanvas: k, DetectionOverlay: U, DetectionResultTree: N, DevShell: x, DeviceActivityPanel: F, DeviceCard: W, DeviceContextProvider: w, DeviceGrid: H, DeviceItem: z, DeviceList: Z, Dialog: V, DialogContent: K, DialogDescription: Q, DialogFooter: X, DialogHeader: j, DialogTitle: Y, DialogTrigger: q, DiscoveryPanel: J, DoorbellRecentPanel: $, Dropdown: ee, DropdownContent: _e, DropdownItem: te, DropdownTrigger: se, EmptyState: ie, EventStream: re, FilterBar: me, FloatingEventStream: oe, FloatingLogStream: ne, FloatingPanel: ae, FormField: fe, GRID_GAP: ue, GRID_PAIRED: ce, GRID_QUICK_STATS: le, INPUT_COMPACT: de, IconButton: Se, ImageSelector: ge, InferenceConfigSelector: pe, Input: ve, KebabMenu: Pe, KeyValueList: De, LIST_ROW: Ae, Label: Ce, LogStream: Ge, LoginForm: he, MobileDrawer: Ee, NodeMultiSelectField: Me, NodePicker: Re, NodeSelectField: ye, PHASE_CONFIG: Te, PTZOverlay: be, PageHeader: Le, PhaseIcon: Oe, PipelineBuilder: Ie, PipelineRuntimeSelector: Be, PipelineStep: ke, PipelineTreeMatrix: Ue, PlayerOverlaysProvider: Ne, Popover: xe, PopoverContent: Fe, PopoverTrigger: We, ProviderBadge: we, ResponseLog: He, SECTION_BODY: ze, SECTION_CARD: Ze, SECTION_HEADER: Ve, SPLIT_PANEL_OUTER: Ke, SPLIT_PANEL_SIDE: Qe, STACK_GAP: Xe, ScrollArea: je, Select: Ye, SemanticBadge: qe, Separator: Je, Sidebar: $e, SidebarItem: e_, Skeleton: __, SlideOverPanel: t_, SnapshotButton: s_, StatCard: i_, StateValuesStream: r_, StatusBadge: m_, StepTimings: o_, StepTreeMaster: n_, StreamPanel: a_, Switch: f_, SystemProvider: u_, TEXT_FIELD_LABEL: c_, TEXT_HINT: l_, TEXT_METRIC: d_, TEXT_SECTION_LABEL: S_, TEXT_VALUE: g_, Tabs: p_, TabsContent: v_, TabsList: P_, TabsTrigger: D_, ThemeProvider: A_, Tooltip: C_, TooltipContent: G_, TooltipTrigger: h_, VersionBadge: E_, WidgetRegistryProvider: M_, WidgetSlot: R_, ZoneEditingProvider: y_, buildStepTreeFromSchema: T_, cn: b_, createSharedContext: L_, createTheme: O_, darkColors: I_, defaultTheme: B_, deriveDeviceKind: k_, ensureMfHostInit: U_, getClassColor: N_, getPhaseVisual: x_, isFieldVisible: F_, lightColors: W_, mirror: w_, mountAddonPage: H_, providerIcons: z_, statusIcons: Z_, themeToCss: V_, trpc: K_, useAccessoriesGetStatus: Q_, useAddonPagesListPages: X_, useAddonSettingsGetDeviceSettings: j_, useAddonSettingsGetGlobalSettings: Y_, useAddonSettingsUpdateDeviceSettings: q_, useAddonSettingsUpdateGlobalSettings: J_, useAddonWidgetsListWidgets: $_, useAddonsApplyAutoUpdateToAll: et, useAddonsCustom: _t, useAddonsForceRefresh: tt, useAddonsGetAddonAutoUpdate: st, useAddonsGetAutoUpdateSettings: it, useAddonsGetLogs: rt, useAddonsGetVersions: mt, useAddonsInstallFromWorkspace: ot, useAddonsInstallPackage: nt, useAddonsIsWorkspaceAvailable: at, useAddonsList: ft, useAddonsListPackages: ut, useAddonsListUpdates: ct, useAddonsListWorkspacePackages: lt, useAddonsOnAddonLogs: dt, useAddonsReloadPackages: St, useAddonsRestartAddon: gt, useAddonsRestartServer: pt, useAddonsSearchAvailable: vt, useAddonsSetAddonAutoUpdate: Pt, useAddonsSetAutoUpdateSettings: Dt, useAddonsUninstallPackage: At, useAddonsUpdatePackage: Ct, useAlertsDismiss: Gt, useAlertsEmit: ht, useAlertsGetUnreadCount: Et, useAlertsList: Mt, useAlertsMarkAllRead: Rt, useAlertsMarkRead: yt, useAlertsUpdate: Tt, useAllWidgets: bt, useAudioAnalysisApplyDeviceSettingsPatch: Lt, useAudioAnalysisGetDeviceLiveContribution: Ot, useAudioAnalysisGetDeviceSettingsContribution: It, useAudioAnalysisResolveDeviceSettings: Bt, useAudioAnalyzerAnalyseChunk: kt, useAudioAnalyzerClassify: Ut, useAudioAnalyzerDispose: Nt, useAudioAnalyzerIsReady: xt, useAudioAnalyzerReprobeAudioEngine: Ft, useAudioCodecCanHandle: Wt, useAudioCodecCloseSession: wt, useAudioCodecCreateDecodeSession: Ht, useAudioCodecCreateEncodeSession: zt, useAudioCodecFlushEncode: Zt, useAudioCodecListActiveSessions: Vt, useAudioCodecListSupportedCodecs: Kt, useAudioCodecPullEncoded: Qt, useAudioCodecPullPcm: Xt, useAudioCodecPushEncodedFrame: jt, useAudioCodecPushPcm: Yt, useAudioMetricsGetCurrentSnapshot: qt, useAudioMetricsGetHistory: Jt, useBackupDelete: $t, useBackupList: es, useBackupRestore: _s, useBackupTrigger: ts, useBatteryGetStatus: ss, useBrightnessGetStatus: is, useBrightnessSetBrightness: rs, useCameraStreamsGetBrokerStreams: ms, useCameraStreamsGetCameraStreams: os, useCameraStreamsGetRtspEntries: ns, useClusterNodes: as, useConfirm: fs, useCustomFieldRenderer: us, useDebouncedString: cs, useDecoderCreateSession: ls, useDecoderDestroySession: ds, useDecoderGetInfo: Ss, useDecoderGetStats: gs, useDecoderListActiveSessions: ps, useDecoderOpenStream: vs, useDecoderPullFrames: Ps, useDecoderPushPacket: Ds, useDecoderReprobeHwaccel: As, useDecoderSupportsCodec: Cs, useDecoderUpdateConfig: Gs, useDetectionPipelineApplyDeviceSettingsPatch: hs, useDetectionPipelineGetDeviceLiveContribution: Es, useDetectionPipelineGetDeviceSettingsContribution: Ms, useDevShell: Rs, useDevice: ys, useDeviceBattery: Ts, useDeviceCapability: bs, useDeviceDetections: Ls, useDeviceDiscoveryAdoptDevice: Os, useDeviceDiscoveryGetStatus: Is, useDeviceDiscoveryListDiscovered: Bs, useDeviceDiscoveryRefreshDiscovery: ks, useDeviceDiscoveryReleaseDevice: Us, useDeviceId: Ns, useDeviceManagerAddLocation: xs, useDeviceManagerAdoptDevice: Fs, useDeviceManagerAllocateDeviceId: Ws, useDeviceManagerCreateDevice: ws, useDeviceManagerDisable: Hs, useDeviceManagerDiscoverDevices: zs, useDeviceManagerEnable: Zs, useDeviceManagerGetAllBindings: Vs, useDeviceManagerGetBindings: Ks, useDeviceManagerGetChildren: Qs, useDeviceManagerGetConfigSchema: Xs, useDeviceManagerGetCreationSchema: js, useDeviceManagerGetDevice: Ys, useDeviceManagerGetDeviceAggregate: qs, useDeviceManagerGetDeviceLiveInfoAggregate: Js, useDeviceManagerGetDeviceSettingsAggregate: $s, useDeviceManagerGetDeviceStatusAggregate: ei, useDeviceManagerGetSettingsSchema: _i, useDeviceManagerGetStreamProfileMap: ti, useDeviceManagerGetStreamSources: si, useDeviceManagerListAll: ii, useDeviceManagerListBindableCapsForDeviceType: ri, useDeviceManagerListLocations: mi, useDeviceManagerListPersistedByAddon: oi, useDeviceManagerListWrappersForCap: ni, useDeviceManagerLoadConfig: ai, useDeviceManagerLoadMeta: fi, useDeviceManagerLoadRuntimeState: ui, useDeviceManagerPersistConfig: ci, useDeviceManagerProbeStreams: li, useDeviceManagerRegisterDevice: di, useDeviceManagerRemove: Si, useDeviceManagerRemoveDevice: gi, useDeviceManagerRemoveLocation: pi, useDeviceManagerSetDisabled: vi, useDeviceManagerSetLocation: Pi, useDeviceManagerSetMetadata: Di, useDeviceManagerSetName: Ai, useDeviceManagerSetStreamProfileMap: Ci, useDeviceManagerSetWrapperActive: Gi, useDeviceManagerTestCreationField: hi, useDeviceManagerTestField: Ei, useDeviceManagerUpdateConfig: Mi, useDeviceManagerUpdateDeviceField: Ri, useDeviceManagerUpdateDeviceFieldsBatch: yi, useDeviceOpsGetConfigEntries: Ti, useDeviceOpsGetSettingsSchema: bi, useDeviceOpsGetStreamSources: Li, useDeviceOpsRemoveDevice: Oi, useDeviceOpsSetConfig: Ii, useDeviceProviderAdoptDiscoveredDevice: Bi, useDeviceProviderCreateDevice: ki, useDeviceProviderDiscoverDevices: Ui, useDeviceProviderGetChildCreationSchema: Ni, useDeviceProviderGetDevices: xi, useDeviceProviderGetStatus: Fi, useDeviceProviderStart: Wi, useDeviceProviderStop: wi, useDeviceProviderSupportsDiscovery: Hi, useDeviceProviderSupportsManualCreation: zi, useDeviceProviderTestCreationField: Zi, useDeviceProxy: Vi, useDeviceSnapshot: Ki, useDeviceSnapshotImage: Qi, useDeviceState: Xi, useDeviceStateGetAllSnapshots: ji, useDeviceStateGetCapSlice: Yi, useDeviceStateGetSnapshot: qi, useDeviceStateSetCapSlice: Ji, useDeviceStateSlice: $i, useDeviceWebrtc: er, useDevices: _r, useDoorbellEvents: tr, useDoorbellGetStatus: sr, useEventInvalidation: ir, useEventStreamLatest: rr, useEventStreamMap: mr, useEventsGetEventClipUrl: or, useEventsGetEventThumbnail: nr, useEventsGetEvents: ar, useIntegrationsCreate: fr, useIntegrationsDelete: ur, useIntegrationsGet: cr, useIntegrationsGetAvailableTypes: lr, useIntegrationsGetByAddonId: dr, useIntegrationsGetSettings: Sr, useIntegrationsList: gr, useIntegrationsSetSettings: pr, useIntegrationsTestConnection: vr, useIntegrationsUpdate: Pr, useIntercomGetStatus: Dr, useIntercomHandleAnswer: Ar, useIntercomStartSession: Cr, useIntercomStopSession: Gr, useIsMidWidth: hr, useIsMobile: Er, useLiveBuffer: Mr, useLiveEvent: Rr, useMetricsProviderCollectSnapshot: yr, useMetricsProviderGetAddonStats: Tr, useMetricsProviderGetCached: br, useMetricsProviderGetCpuTemperature: Lr, useMetricsProviderGetCurrent: Or, useMetricsProviderGetDiskSpace: Ir, useMetricsProviderGetGpuInfo: Br, useMetricsProviderGetProcessStats: kr, useMetricsProviderKillProcess: Ur, useMetricsProviderListAddonInstances: Nr, useMetricsProviderListNodeProcesses: xr, useMotionDetectionAnalyze: Fr, useMotionDetectionApplyDeviceSettingsPatch: Wr, useMotionDetectionGetDeviceLiveContribution: wr, useMotionDetectionGetDeviceSettingsContribution: Hr, useMotionDetectionRemoveCamera: zr, useMotionDetectionReset: Zr, useMotionGetStatus: Vr, useMotionIsDetected: Kr, useMotionTriggerGetStatus: Qr, useMotionTriggerSetMotionTrigger: Xr, useNativeObjectDetectionGetStatus: jr, useNetworkQualityGetAllStats: Yr, useNetworkQualityGetDeviceStats: qr, useNetworkQualityReportClientStats: Jr, useNodesClusterAddonStatus: $r, useNodesDeployAddon: em, useNodesExecuteQuery: _m, useNodesRenameNode: tm, useNodesRestartAddon: sm, useNodesRestartNode: im, useNodesRestartProcess: rm, useNodesSetProcessLogLevel: mm, useNodesShutdownNode: om, useNodesTopology: nm, useNodesUndeployAddon: am, useNotificationOutputSend: fm, useNotificationOutputSendTest: um, useOptionalSystem: cm, useOptionalWidgetRegistry: lm, useOsdGetStatus: dm, useOsdSetOverlay: Sm, usePTZ: gm, usePipelineAnalyticsApplyDeviceSettingsPatch: pm, usePipelineAnalyticsClearTracks: vm, usePipelineAnalyticsGetActiveTracks: Pm, usePipelineAnalyticsGetAudioEvents: Dm, usePipelineAnalyticsGetDeviceLiveContribution: Am, usePipelineAnalyticsGetDeviceSettingsContribution: Cm, usePipelineAnalyticsGetEventMedia: Gm, usePipelineAnalyticsGetMotionEvents: hm, usePipelineAnalyticsGetObjectEvents: Em, usePipelineAnalyticsGetTrack: Mm, usePipelineAnalyticsGetTrackMedia: Rm, usePipelineAnalyticsListTracks: ym, usePipelineExecutorCacheFrameInPool: Tm, usePipelineExecutorDeleteModel: bm, usePipelineExecutorDeleteTemplate: Lm, usePipelineExecutorDetect: Om, usePipelineExecutorDownloadModel: Im, usePipelineExecutorGetAddonModels: Bm, usePipelineExecutorGetAudioCapabilities: km, usePipelineExecutorGetAvailableEngines: Um, usePipelineExecutorGetCapabilities: Nm, usePipelineExecutorGetDefaultSteps: xm, usePipelineExecutorGetDetectionConfigSchema: Fm, usePipelineExecutorGetEffectiveTuning: Wm, usePipelineExecutorGetGlobalPipelineConfig: wm, usePipelineExecutorGetGlobalSteps: Hm, usePipelineExecutorGetOrchestratorConfigSchema: zm, usePipelineExecutorGetReferenceAudio: Zm, usePipelineExecutorGetReferenceAudioFiles: Vm, usePipelineExecutorGetReferenceImage: Km, usePipelineExecutorGetSchema: Qm, usePipelineExecutorGetSelectedEngine: Xm, usePipelineExecutorGetVideoPipelineSteps: jm, usePipelineExecutorInferCached: Ym, usePipelineExecutorKillEngine: qm, usePipelineExecutorListLoadedEngines: Jm, usePipelineExecutorListReferenceImages: $m, usePipelineExecutorListTemplates: eo, usePipelineExecutorReprobeEngine: _o, usePipelineExecutorRunAudioTest: to, usePipelineExecutorRunPipeline: so, usePipelineExecutorRunPipelineBatch: io, usePipelineExecutorSaveTemplate: ro, usePipelineExecutorSetVideoPipelineSteps: mo, usePipelineExecutorSpinEngine: oo, usePipelineExecutorUncacheFrame: no, usePipelineExecutorUpdateTemplate: ao, usePipelineOrchestratorApplyDeviceSettingsPatch: fo, usePipelineOrchestratorAssignAudio: uo, usePipelineOrchestratorAssignDecoder: co, usePipelineOrchestratorAssignPipeline: lo, usePipelineOrchestratorDeleteTemplate: So, usePipelineOrchestratorGetAgentLoad: go, usePipelineOrchestratorGetAgentSettings: po, usePipelineOrchestratorGetAudioAssignment: vo, usePipelineOrchestratorGetAudioAssignments: Po, usePipelineOrchestratorGetAudioNodeLoad: Do, usePipelineOrchestratorGetCameraMetrics: Ao, usePipelineOrchestratorGetCameraSettings: Co, usePipelineOrchestratorGetCameraStepOverrides: Go, usePipelineOrchestratorGetCapabilityBindings: ho, usePipelineOrchestratorGetDecoderAssignment: Eo, usePipelineOrchestratorGetDecoderAssignments: Mo, usePipelineOrchestratorGetDeviceLiveContribution: Ro, usePipelineOrchestratorGetDeviceSettingsContribution: yo, usePipelineOrchestratorGetGlobalMetrics: To, usePipelineOrchestratorGetPipelineAssignment: bo, usePipelineOrchestratorGetPipelineAssignments: Lo, usePipelineOrchestratorListAgentSettings: Oo, usePipelineOrchestratorListTemplates: Io, usePipelineOrchestratorRebalance: Bo, usePipelineOrchestratorRemoveAgentSettings: ko, usePipelineOrchestratorResolvePipeline: Uo, usePipelineOrchestratorSaveTemplate: No, usePipelineOrchestratorSetAgentAddonDefaults: xo, usePipelineOrchestratorSetCameraPipelineForAgent: Fo, usePipelineOrchestratorSetCameraStepOverride: Wo, usePipelineOrchestratorSetCameraStepToggle: wo, usePipelineOrchestratorSetCapabilityBinding: Ho, usePipelineOrchestratorUnassignAudio: zo, usePipelineOrchestratorUnassignDecoder: Zo, usePipelineOrchestratorUnassignPipeline: Vo, usePipelineOrchestratorUpdateTemplate: Ko, usePipelineRunnerAttachCamera: Qo, usePipelineRunnerDetachCamera: Xo, usePipelineRunnerGetAllCameraMetrics: jo, usePipelineRunnerGetCameraMetrics: Yo, usePipelineRunnerGetLocalCameras: qo, usePipelineRunnerGetLocalLoad: Jo, usePipelineRunnerGetLocalMetrics: $o, usePipelineRunnerReportMotion: en, usePlatformProbeGetCapabilities: _n, usePlatformProbeGetHardware: tn, usePlatformProbeResolveHwAccel: sn, usePlatformProbeResolveInferenceConfig: rn, usePlayerOverlayLayer: mn, usePlayerOverlayLayers: on, usePlayerToolbarButton: nn, usePlayerToolbarButtons: an, usePtzAutotrackGetSettings: fn, usePtzAutotrackGetStatus: un, usePtzAutotrackSetEnabled: cn, usePtzAutotrackSetSettings: ln, usePtzContinuousMove: dn, usePtzGetPosition: Sn, usePtzGetPresets: gn, usePtzGetStatus: pn, usePtzGoHome: vn, usePtzGoToPreset: Pn, usePtzMove: Dn, usePtzStop: An, useRebootReboot: Cn, useRecordingEngineDisable: Gn, useRecordingEngineEnable: hn, useRecordingEngineEstimateGlobalStorage: En, useRecordingEngineEstimateStorage: Mn, useRecordingEngineGetAvailability: Rn, useRecordingEngineGetConfig: yn, useRecordingEngineGetMotionStats: Tn, useRecordingEngineGetPlaylist: bn, useRecordingEngineGetPolicy: Ln, useRecordingEngineGetPolicyStatus: On, useRecordingEngineGetRetentionConfig: In, useRecordingEngineGetSegments: Bn, useRecordingEngineGetStatus: kn, useRecordingEngineGetStorageUsage: Un, useRecordingEngineGetThumbnail: Nn, useRecordingEngineSetPolicy: xn, useRecordingEngineUpdateConfig: Fn, useRecordingEngineUpdateRetentionConfig: Wn, useRecordingGetPlaybackUrl: wn, useRecordingGetSegments: Hn, useRecordingGetThumbnailAt: zn, useSettingsStoreCount: Zn, useSettingsStoreDeclareCollection: Vn, useSettingsStoreDelete: Kn, useSettingsStoreGet: Qn, useSettingsStoreInsert: Xn, useSettingsStoreIsEmpty: jn, useSettingsStoreQuery: Yn, useSettingsStoreSet: qn, useSettingsStoreUpdate: Jn, useSnapshotApplyDeviceSettingsPatch: $n, useSnapshotGetDeviceLiveContribution: ea, useSnapshotGetDeviceSettingsContribution: _a, useSnapshotGetSnapshot: ta, useSnapshotGetStatus: sa, useSnapshotInvalidateCache: ia, useSnapshotProviderGetSnapshot: ra, useSnapshotProviderSupportsDevice: ma, useStorageDelete: oa, useStorageExists: na, useStorageGetAvailableSpace: aa, useStorageList: fa, useStorageRead: ua, useStorageResolve: ca, useStorageWrite: la, useStreamBrokerApplyDeviceSettingsPatch: da, useStreamBrokerAssignProfile: Sa, useStreamBrokerGetAllRtspEntries: ga, useStreamBrokerGetBroker: pa, useStreamBrokerGetBrokerStats: va, useStreamBrokerGetDeviceLiveContribution: Pa, useStreamBrokerGetDeviceSettingsContribution: Da, useStreamBrokerGetPreBufferInfo: Aa, useStreamBrokerGetRtspEntry: Ca, useStreamBrokerGetRtspPort: Ga, useStreamBrokerGetStreamUrl: ha, useStreamBrokerIsRtspEnabled: Ea, useStreamBrokerKillClient: Ma, useStreamBrokerListAllCameraStreams: Ra, useStreamBrokerListAllProfileSlots: ya, useStreamBrokerListClients: Ta, useStreamBrokerPublishCameraStream: ba, useStreamBrokerRegenerateRtspToken: La, useStreamBrokerRestartProfile: Oa, useStreamBrokerRetractCameraStream: Ia, useStreamBrokerSetPreBufferDuration: Ba, useStreamBrokerSetRtspEnabled: ka, useStreamBrokerUnassignProfile: Ua, useSwitchGetStatus: Na, useSwitchSetState: xa, useSystem: Fa, useSystemFeatureFlags: Wa, useSystemForceRetentionCleanup: wa, useSystemGetRetentionConfig: Ha, useSystemHealth: za, useSystemInfo: Za, useSystemMutation: Va, useSystemNetworkAddresses: Ka, useSystemQuery: Qa, useSystemSetRetentionConfig: Xa, useThemeMode: ja, useToastOnToast: Ya, useTurnProviderGetTurnServers: qa, useUserManagementCreateApiKey: Ja, useUserManagementCreateScopedToken: $a, useUserManagementCreateUser: ef, useUserManagementDeleteUser: _f, useUserManagementListApiKeys: tf, useUserManagementListScopedTokens: sf, useUserManagementListUsers: rf, useUserManagementResetPassword: mf, useUserManagementRevokeApiKey: of, useUserManagementRevokeScopedToken: nf, useUserManagementUpdateUser: af, useUserManagementValidateApiKey: ff, useUserManagementValidateCredentials: uf, useUserManagementValidateScopedToken: cf, useWebrtcSessionCloseSession: lf, useWebrtcSessionCreateSession: df, useWebrtcSessionHandleAnswer: Sf, useWebrtcSessionHasAdaptiveBitrate: gf, useWebrtcSessionListStreams: pf, useWidget: vf, useWidgetMetadata: Pf, useWidgetRegistry: Df, useZoneAnalyticsGetCameraHistory: Af, useZoneAnalyticsGetCurrentSnapshot: Cf, useZoneAnalyticsGetUnzonedHistory: Gf, useZoneAnalyticsGetZoneHistory: hf, useZoneEditing: Ef, useZoneRulesListRules: Mf, useZoneRulesSetRules: Rf, useZonesAddZone: yf, useZonesListZones: Tf, useZonesRemoveZone: bf, useZonesUpdateZone: Lf } = e;
|
|
10
|
+
export {
|
|
11
|
+
ir as _,
|
|
12
|
+
bo as a,
|
|
13
|
+
Yo as b,
|
|
14
|
+
Fa as c,
|
|
15
|
+
Vi as d,
|
|
16
|
+
x_ as e,
|
|
17
|
+
Ef as f,
|
|
18
|
+
de as g,
|
|
19
|
+
f as h,
|
|
20
|
+
$i as i,
|
|
21
|
+
S_ as j,
|
|
22
|
+
a as k,
|
|
23
|
+
u as l,
|
|
24
|
+
P as m,
|
|
25
|
+
v as n,
|
|
26
|
+
D as o,
|
|
27
|
+
mn as p,
|
|
28
|
+
Xe as q,
|
|
29
|
+
Ze as r,
|
|
30
|
+
Ve as s,
|
|
31
|
+
l_ as t,
|
|
32
|
+
ze as u,
|
|
33
|
+
ue as v
|
|
34
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
function o(a, n) {
|
|
2
|
+
for (var u = 0; u < n.length; u++) {
|
|
3
|
+
const _ = n[u];
|
|
4
|
+
if (typeof _ != "string" && !Array.isArray(_)) {
|
|
5
|
+
for (const r in _)
|
|
6
|
+
if (r !== "default" && !(r in a)) {
|
|
7
|
+
const s = Object.getOwnPropertyDescriptor(_, r);
|
|
8
|
+
s && Object.defineProperty(a, r, s.get ? s : {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: () => _[r]
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
|
|
16
|
+
}
|
|
17
|
+
const t = "__mf_module_cache__";
|
|
18
|
+
globalThis[t] ||= { share: {}, remote: {} };
|
|
19
|
+
globalThis[t].share ||= {};
|
|
20
|
+
globalThis[t].remote ||= {};
|
|
21
|
+
const i = globalThis[t], e = i.share["@tanstack/react-query"];
|
|
22
|
+
if (e === void 0)
|
|
23
|
+
throw new Error("[Module Federation] Shared module @tanstack/react-query was imported before federation bootstrap finished.");
|
|
24
|
+
const f = e, m = e.__esModule ? e.default : e.default ?? e, { HydrationBoundary: y, IsRestoringProvider: l, QueryClientContext: d, QueryClientProvider: c, QueryErrorResetBoundary: h, infiniteQueryOptions: Q, mutationOptions: p, queryOptions: g, useInfiniteQuery: M, useIsFetching: b, useIsMutating: S, useIsRestoring: v, useMutation: C, useMutationState: O, usePrefetchInfiniteQuery: E, usePrefetchQuery: I, useQueries: k, useQuery: T, useQueryClient: P, useQueryErrorResetBoundary: D, useSuspenseInfiniteQuery: R, useSuspenseQueries: q, useSuspenseQuery: w, CancelledError: x, InfiniteQueryObserver: B, Mutation: j, MutationCache: K, MutationObserver: F, QueriesObserver: H, Query: A, QueryCache: z, QueryClient: G, QueryObserver: N, defaultScheduler: J, defaultShouldDehydrateMutation: L, defaultShouldDehydrateQuery: U, dehydrate: V, environmentManager: W, experimental_streamedQuery: X, focusManager: Y, hashKey: Z, hydrate: $, isCancelledError: ee, isServer: _e, keepPreviousData: re, matchMutation: te, matchQuery: ae, noop: ue, notifyManager: se, onlineManager: ne, partialMatchKey: oe, replaceEqualDeep: ie, shouldThrowError: fe, skipToken: me, timeoutManager: ye, dataTagErrorSymbol: le, dataTagSymbol: de, unsetMarker: ce } = e, he = /* @__PURE__ */ o({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
CancelledError: x,
|
|
27
|
+
HydrationBoundary: y,
|
|
28
|
+
InfiniteQueryObserver: B,
|
|
29
|
+
IsRestoringProvider: l,
|
|
30
|
+
Mutation: j,
|
|
31
|
+
MutationCache: K,
|
|
32
|
+
MutationObserver: F,
|
|
33
|
+
QueriesObserver: H,
|
|
34
|
+
Query: A,
|
|
35
|
+
QueryCache: z,
|
|
36
|
+
QueryClient: G,
|
|
37
|
+
QueryClientContext: d,
|
|
38
|
+
QueryClientProvider: c,
|
|
39
|
+
QueryErrorResetBoundary: h,
|
|
40
|
+
QueryObserver: N,
|
|
41
|
+
dataTagErrorSymbol: le,
|
|
42
|
+
dataTagSymbol: de,
|
|
43
|
+
default: m,
|
|
44
|
+
defaultScheduler: J,
|
|
45
|
+
defaultShouldDehydrateMutation: L,
|
|
46
|
+
defaultShouldDehydrateQuery: U,
|
|
47
|
+
dehydrate: V,
|
|
48
|
+
environmentManager: W,
|
|
49
|
+
experimental_streamedQuery: X,
|
|
50
|
+
focusManager: Y,
|
|
51
|
+
hashKey: Z,
|
|
52
|
+
hydrate: $,
|
|
53
|
+
infiniteQueryOptions: Q,
|
|
54
|
+
isCancelledError: ee,
|
|
55
|
+
isServer: _e,
|
|
56
|
+
keepPreviousData: re,
|
|
57
|
+
matchMutation: te,
|
|
58
|
+
matchQuery: ae,
|
|
59
|
+
mutationOptions: p,
|
|
60
|
+
noop: ue,
|
|
61
|
+
notifyManager: se,
|
|
62
|
+
onlineManager: ne,
|
|
63
|
+
partialMatchKey: oe,
|
|
64
|
+
queryOptions: g,
|
|
65
|
+
replaceEqualDeep: ie,
|
|
66
|
+
shouldThrowError: fe,
|
|
67
|
+
skipToken: me,
|
|
68
|
+
timeoutManager: ye,
|
|
69
|
+
unsetMarker: ce,
|
|
70
|
+
useInfiniteQuery: M,
|
|
71
|
+
useIsFetching: b,
|
|
72
|
+
useIsMutating: S,
|
|
73
|
+
useIsRestoring: v,
|
|
74
|
+
useMutation: C,
|
|
75
|
+
useMutationState: O,
|
|
76
|
+
usePrefetchInfiniteQuery: E,
|
|
77
|
+
usePrefetchQuery: I,
|
|
78
|
+
useQueries: k,
|
|
79
|
+
useQuery: T,
|
|
80
|
+
useQueryClient: P,
|
|
81
|
+
useQueryErrorResetBoundary: D,
|
|
82
|
+
useSuspenseInfiniteQuery: R,
|
|
83
|
+
useSuspenseQueries: q,
|
|
84
|
+
useSuspenseQuery: w
|
|
85
|
+
}, [f]);
|
|
86
|
+
export {
|
|
87
|
+
T as _,
|
|
88
|
+
me as a,
|
|
89
|
+
g as b,
|
|
90
|
+
Q as c,
|
|
91
|
+
R as d,
|
|
92
|
+
E as e,
|
|
93
|
+
M as f,
|
|
94
|
+
Z as g,
|
|
95
|
+
C as h,
|
|
96
|
+
q as i,
|
|
97
|
+
k as j,
|
|
98
|
+
w as k,
|
|
99
|
+
I as l,
|
|
100
|
+
P as m,
|
|
101
|
+
G as n,
|
|
102
|
+
c as o,
|
|
103
|
+
he as p
|
|
104
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
function s(n, o) {
|
|
2
|
+
for (var r = 0; r < o.length; r++) {
|
|
3
|
+
const t = o[r];
|
|
4
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
5
|
+
for (const _ in t)
|
|
6
|
+
if (_ !== "default" && !(_ in n)) {
|
|
7
|
+
const i = Object.getOwnPropertyDescriptor(t, _);
|
|
8
|
+
i && Object.defineProperty(n, _, i.get ? i : {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: () => t[_]
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
16
|
+
}
|
|
17
|
+
const a = "__mf_module_cache__";
|
|
18
|
+
globalThis[a] ||= { share: {}, remote: {} };
|
|
19
|
+
globalThis[a].share ||= {};
|
|
20
|
+
globalThis[a].remote ||= {};
|
|
21
|
+
const l = globalThis[a], e = l.share["@trpc/client"];
|
|
22
|
+
if (e === void 0)
|
|
23
|
+
throw new Error("[Module Federation] Shared module @trpc/client was imported before federation bootstrap finished.");
|
|
24
|
+
const c = e, f = e.__esModule ? e.default : e.default ?? e, { TRPCClientError: m, TRPCUntypedClient: p, clientCallTypeToProcedureType: d, createTRPCClient: h, createTRPCClientProxy: C, createTRPCProxyClient: u, createTRPCUntypedClient: T, createWSClient: y, experimental_localLink: b, getFetch: k, getUntypedClient: L, httpBatchLink: P, httpBatchStreamLink: g, httpLink: S, httpSubscriptionLink: R, isFormData: x, isNonJsonSerializable: w, isOctetType: E, isTRPCClientError: j, jsonEncoder: B, loggerLink: O, retryLink: U, splitLink: F, unstable_httpBatchStreamLink: M, unstable_httpSubscriptionLink: z, unstable_localLink: v, wsLink: A } = e, D = /* @__PURE__ */ s({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
TRPCClientError: m,
|
|
27
|
+
TRPCUntypedClient: p,
|
|
28
|
+
clientCallTypeToProcedureType: d,
|
|
29
|
+
createTRPCClient: h,
|
|
30
|
+
createTRPCClientProxy: C,
|
|
31
|
+
createTRPCProxyClient: u,
|
|
32
|
+
createTRPCUntypedClient: T,
|
|
33
|
+
createWSClient: y,
|
|
34
|
+
default: f,
|
|
35
|
+
experimental_localLink: b,
|
|
36
|
+
getFetch: k,
|
|
37
|
+
getUntypedClient: L,
|
|
38
|
+
httpBatchLink: P,
|
|
39
|
+
httpBatchStreamLink: g,
|
|
40
|
+
httpLink: S,
|
|
41
|
+
httpSubscriptionLink: R,
|
|
42
|
+
isFormData: x,
|
|
43
|
+
isNonJsonSerializable: w,
|
|
44
|
+
isOctetType: E,
|
|
45
|
+
isTRPCClientError: j,
|
|
46
|
+
jsonEncoder: B,
|
|
47
|
+
loggerLink: O,
|
|
48
|
+
retryLink: U,
|
|
49
|
+
splitLink: F,
|
|
50
|
+
unstable_httpBatchStreamLink: M,
|
|
51
|
+
unstable_httpSubscriptionLink: z,
|
|
52
|
+
unstable_localLink: v,
|
|
53
|
+
wsLink: A
|
|
54
|
+
}, [c]);
|
|
55
|
+
export {
|
|
56
|
+
A,
|
|
57
|
+
D as B,
|
|
58
|
+
p as _,
|
|
59
|
+
L as a,
|
|
60
|
+
h as b,
|
|
61
|
+
C as c,
|
|
62
|
+
c as d,
|
|
63
|
+
m as e,
|
|
64
|
+
d as f,
|
|
65
|
+
u as g,
|
|
66
|
+
T as h,
|
|
67
|
+
y as i,
|
|
68
|
+
b as j,
|
|
69
|
+
k,
|
|
70
|
+
P as l,
|
|
71
|
+
g as m,
|
|
72
|
+
S as n,
|
|
73
|
+
R as o,
|
|
74
|
+
x as p,
|
|
75
|
+
w as q,
|
|
76
|
+
E as r,
|
|
77
|
+
j as s,
|
|
78
|
+
B as t,
|
|
79
|
+
O as u,
|
|
80
|
+
U as v,
|
|
81
|
+
F as w,
|
|
82
|
+
M as x,
|
|
83
|
+
z as y,
|
|
84
|
+
v as z
|
|
85
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
function l(n, o) {
|
|
2
|
+
for (var i = 0; i < o.length; i++) {
|
|
3
|
+
const t = o[i];
|
|
4
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
5
|
+
for (const _ in t)
|
|
6
|
+
if (_ !== "default" && !(_ in n)) {
|
|
7
|
+
const a = Object.getOwnPropertyDescriptor(t, _);
|
|
8
|
+
a && Object.defineProperty(n, _, a.get ? a : {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: () => t[_]
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
16
|
+
}
|
|
17
|
+
const r = "__mf_module_cache__";
|
|
18
|
+
globalThis[r] ||= { share: {}, remote: {} };
|
|
19
|
+
globalThis[r].share ||= {};
|
|
20
|
+
globalThis[r].remote ||= {};
|
|
21
|
+
const c = globalThis[r], e = c.share["@trpc/react-query"];
|
|
22
|
+
if (e === void 0)
|
|
23
|
+
throw new Error("[Module Federation] Shared module @trpc/react-query was imported before federation bootstrap finished.");
|
|
24
|
+
const s = e, f = e.__esModule ? e.default : e.default ?? e, { createTRPCQueryUtils: m, createTRPCReact: p, getMutationKey: u, getQueryKey: C, TRPCClientError: y, TRPCUntypedClient: d, clientCallTypeToProcedureType: h, createTRPCClient: T, createTRPCClientProxy: P, createTRPCProxyClient: b, createTRPCUntypedClient: g, createWSClient: k, experimental_localLink: L, getFetch: R, getUntypedClient: S, httpBatchLink: x, httpBatchStreamLink: E, httpLink: U, httpSubscriptionLink: w, isFormData: M, isNonJsonSerializable: O, isOctetType: j, isTRPCClientError: B, jsonEncoder: F, loggerLink: K, retryLink: Q, splitLink: q, unstable_httpBatchStreamLink: z, unstable_httpSubscriptionLink: D, unstable_localLink: N, wsLink: v } = e, A = /* @__PURE__ */ l({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
TRPCClientError: y,
|
|
27
|
+
TRPCUntypedClient: d,
|
|
28
|
+
clientCallTypeToProcedureType: h,
|
|
29
|
+
createTRPCClient: T,
|
|
30
|
+
createTRPCClientProxy: P,
|
|
31
|
+
createTRPCProxyClient: b,
|
|
32
|
+
createTRPCQueryUtils: m,
|
|
33
|
+
createTRPCReact: p,
|
|
34
|
+
createTRPCUntypedClient: g,
|
|
35
|
+
createWSClient: k,
|
|
36
|
+
default: f,
|
|
37
|
+
experimental_localLink: L,
|
|
38
|
+
getFetch: R,
|
|
39
|
+
getMutationKey: u,
|
|
40
|
+
getQueryKey: C,
|
|
41
|
+
getUntypedClient: S,
|
|
42
|
+
httpBatchLink: x,
|
|
43
|
+
httpBatchStreamLink: E,
|
|
44
|
+
httpLink: U,
|
|
45
|
+
httpSubscriptionLink: w,
|
|
46
|
+
isFormData: M,
|
|
47
|
+
isNonJsonSerializable: O,
|
|
48
|
+
isOctetType: j,
|
|
49
|
+
isTRPCClientError: B,
|
|
50
|
+
jsonEncoder: F,
|
|
51
|
+
loggerLink: K,
|
|
52
|
+
retryLink: Q,
|
|
53
|
+
splitLink: q,
|
|
54
|
+
unstable_httpBatchStreamLink: z,
|
|
55
|
+
unstable_httpSubscriptionLink: D,
|
|
56
|
+
unstable_localLink: N,
|
|
57
|
+
wsLink: v
|
|
58
|
+
}, [s]);
|
|
59
|
+
export {
|
|
60
|
+
p as _,
|
|
61
|
+
A as a
|
|
62
|
+
};
|