@camstack/addon-pipeline 0.1.11 → 0.1.12
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/assets/icon.svg +6 -0
- package/dist/audio-analyzer/index.js +16 -16
- package/dist/audio-analyzer/index.mjs +1 -1
- package/dist/audio-codec-nodeav/index.js +7 -7
- package/dist/audio-codec-nodeav/index.mjs +1 -1
- package/dist/decoder-nodeav/index.js +12 -12
- package/dist/decoder-nodeav/index.mjs +1 -1
- package/dist/detection-pipeline/index.js +45 -45
- package/dist/detection-pipeline/index.js.map +1 -1
- package/dist/detection-pipeline/index.mjs +1 -1
- package/dist/index-BhOycEVH.js +13867 -0
- package/dist/index-BhOycEVH.js.map +1 -0
- package/dist/index-FxfFGsiL.mjs +13868 -0
- package/dist/index-FxfFGsiL.mjs.map +1 -0
- package/dist/motion-wasm/index.js +8 -8
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +76 -77
- package/dist/pipeline-runner/index.js.map +1 -1
- package/dist/pipeline-runner/index.mjs +50 -51
- package/dist/pipeline-runner/index.mjs.map +1 -1
- package/dist/stream-broker/@mf-types.zip +0 -0
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-BvJPhiY_.mjs +20 -0
- package/dist/stream-broker/_stub.js +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BuV9ar3i.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Czwg8GUO.mjs} +6 -6
- package/dist/stream-broker/{hostInit-CjVI5LuK.mjs → hostInit-fG6oFw4t.mjs} +6 -6
- package/dist/stream-broker/{index-BF5Qr03x.mjs → index-BOmtakNy.mjs} +66 -43
- package/dist/stream-broker/{index-DUJwOcGq.mjs → index-Bpv0NSqI.mjs} +1733 -1569
- package/dist/stream-broker/{index-DuBCn5us.mjs → index-l13fl8lu.mjs} +378 -373
- package/dist/stream-broker/index.js +100 -100
- package/dist/stream-broker/index.js.map +1 -1
- package/dist/stream-broker/index.mjs +1 -1
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +24 -9
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-DbMNirr7.mjs +0 -20
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
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: o, AudioLevelWaveform: m, AudioWaveform: n, BTN_COMPACT: a, BTN_COMPACT_DANGER: u, BTN_COMPACT_PRIMARY: f, 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: G, Card: C, Checkbox: h, CodeBlock: M, CollapsibleCard: E, ConfigFormBuilder: R, ConfigFormField: L, ConfigSchemaField: T, ConfirmActionButton: y, ConfirmDialogProvider: k, CustomFieldRenderersProvider: b, DEFAULT_COLOR: B, DataTable: O, DetectionCanvas: I, DetectionOverlay: U, DetectionResultTree: N, DevShell: x, DeviceActivityPanel: w, DeviceCard: F, DeviceContextProvider: W, DeviceGrid: H, DeviceItem: z, DeviceList: Z, Dialog: V, DialogContent: K, DialogDescription: q, DialogFooter: Q, DialogHeader: X, DialogTitle: j, DialogTrigger: J, DiscoveryPanel: Y, DoorbellRecentPanel: $, Dropdown: ee, DropdownContent: _e, DropdownItem: te, DropdownTrigger: se, EmptyState: ie, EventStream: re, FilterBar: oe, FloatingEventStream: me, FloatingLogStream: ne, FloatingPanel: ae, FormField: ue, GRID_GAP: fe, 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: Ge, LogStream: Ce, LoginForm: he, MobileDrawer: Me, NodeMultiSelectField: Ee, NodePicker: Re, NodeSelectField: Le, PHASE_CONFIG: Te, PTZOverlay: ye, PageHeader: ke, PhaseIcon: be, PipelineBuilder: Be, PipelineRuntimeSelector: Oe, PipelineStep: Ie, PipelineTreeMatrix: Ue, PlayerOverlaysProvider: Ne, Popover: xe, PopoverContent: we, PopoverTrigger: Fe, ProviderBadge: We, ResponseLog: He, SECTION_BODY: ze, SECTION_CARD: Ze, SECTION_HEADER: Ve, SPLIT_PANEL_OUTER: Ke, SPLIT_PANEL_SIDE: qe, STACK_GAP: Qe, ScopePicker: Xe, ScrollArea: je, Select: Je, SemanticBadge: Ye, Separator: $e, Sidebar: e_, SidebarItem: __, Skeleton: t_, SlideOverPanel: s_, SnapshotButton: i_, StatCard: r_, StateValuesStream: o_, StatusBadge: m_, StepTimings: n_, StepTreeMaster: a_, StreamBrokerSelector: u_, StreamPanel: f_, Switch: c_, SystemProvider: l_, TEXT_FIELD_LABEL: d_, TEXT_HINT: S_, TEXT_METRIC: g_, TEXT_SECTION_LABEL: p_, TEXT_VALUE: v_, Tabs: P_, TabsContent: D_, TabsList: A_, TabsTrigger: G_, ThemeProvider: C_, Tooltip: h_, TooltipContent: M_, TooltipTrigger: E_, VersionBadge: R_, WidgetRegistryProvider: L_, WidgetSlot: T_, ZoneEditingProvider: y_, __toESM: k_, buildStepTreeFromSchema: b_, cn: B_, createSharedContext: O_, createTheme: I_, darkColors: U_, defaultTheme: N_, deriveDeviceKind: x_, ensureMfHostInit: w_, getClassColor: F_, getPhaseVisual: W_, isFieldVisible: H_, lightColors: z_, mirror: Z_, mountAddonPage: V_, providerIcons: K_, statusIcons: q_, themeToCss: Q_, trpc: X_, useAccessoriesGetStatus: j_, useAddonPagesListPages: J_, useAddonSettingsGetDeviceSettings: Y_, useAddonSettingsGetGlobalSettings: $_, useAddonSettingsUpdateDeviceSettings: et, useAddonSettingsUpdateGlobalSettings: _t, useAddonWidgetsListWidgets: tt, useAddonsApplyAutoUpdateToAll: st, useAddonsCustom: it, useAddonsForceRefresh: rt, useAddonsGetAddonAutoUpdate: ot, useAddonsGetAutoUpdateSettings: mt, useAddonsGetLogs: nt, useAddonsGetVersions: at, useAddonsInstallFromWorkspace: ut, useAddonsInstallPackage: ft, useAddonsIsWorkspaceAvailable: ct, useAddonsList: lt, useAddonsListPackages: dt, useAddonsListUpdates: St, useAddonsListWorkspacePackages: gt, useAddonsOnAddonLogs: pt, useAddonsReloadPackages: vt, useAddonsRestartAddon: Pt, useAddonsRestartServer: Dt, useAddonsRetryLoad: At, useAddonsRollbackPackage: Gt, useAddonsSearchAvailable: Ct, useAddonsSetAddonAutoUpdate: ht, useAddonsSetAutoUpdateSettings: Mt, useAddonsUninstallPackage: Et, useAddonsUpdatePackage: Rt, useAlertsDismiss: Lt, useAlertsEmit: Tt, useAlertsGetUnreadCount: yt, useAlertsList: kt, useAlertsMarkAllRead: bt, useAlertsMarkRead: Bt, useAlertsUpdate: Ot, useAllWidgets: It, useAudioAnalysisApplyDeviceSettingsPatch: Ut, useAudioAnalysisGetDeviceLiveContribution: Nt, useAudioAnalysisGetDeviceSettingsContribution: xt, useAudioAnalysisResolveDeviceSettings: wt, useAudioAnalyzerAnalyseChunk: Ft, useAudioAnalyzerClassify: Wt, useAudioAnalyzerDispose: Ht, useAudioAnalyzerIsReady: zt, useAudioAnalyzerReprobeAudioEngine: Zt, useAudioCodecCanHandle: Vt, useAudioCodecCloseSession: Kt, useAudioCodecCreateDecodeSession: qt, useAudioCodecCreateEncodeSession: Qt, useAudioCodecFlushEncode: Xt, useAudioCodecListActiveSessions: jt, useAudioCodecListSupportedCodecs: Jt, useAudioCodecPullEncoded: Yt, useAudioCodecPullPcm: $t, useAudioCodecPushEncodedFrame: es, useAudioCodecPushPcm: _s, useAudioMetricsGetCurrentSnapshot: ts, useAudioMetricsGetHistory: ss, useAuthenticationListProviders: is, useAuthenticationSetProviderEnabled: rs, useBackupDelete: os, useBackupGetEntries: ms, useBackupList: ns, useBackupListArchives: as, useBackupListDestinations: us, useBackupListLocations: fs, useBackupPreviewSchedule: cs, useBackupRestore: ls, useBackupTrigger: ds, useBackupUpsertDestinationPolicy: Ss, useBatteryGetStatus: gs, useBrightnessGetStatus: ps, useBrightnessSetBrightness: vs, useCameraCredentialsGetCredentials: Ps, useCameraCredentialsGetStatus: Ds, useCameraStreamsGetBrokerStreams: As, useCameraStreamsGetCameraStreams: Gs, useCameraStreamsGetRtspEntries: Cs, useClusterNodes: hs, useConfirm: Ms, useCustomFieldRenderer: Es, useDebouncedString: Rs, useDecoderCreateSession: Ls, useDecoderDestroySession: Ts, useDecoderGetInfo: ys, useDecoderGetStats: ks, useDecoderListActiveSessions: bs, useDecoderOpenStream: Bs, useDecoderPullFrames: Os, useDecoderPushPacket: Is, useDecoderReprobeHwaccel: Us, useDecoderSupportsCodec: Ns, useDecoderUpdateConfig: xs, useDetectionPipelineApplyDeviceSettingsPatch: ws, useDetectionPipelineGetDeviceLiveContribution: Fs, useDetectionPipelineGetDeviceSettingsContribution: Ws, useDevShell: Hs, useDevice: zs, useDeviceBattery: Zs, useDeviceCapability: Vs, useDeviceDetections: Ks, useDeviceDiscoveryAdoptDevice: qs, useDeviceDiscoveryGetStatus: Qs, useDeviceDiscoveryListDiscovered: Xs, useDeviceDiscoveryRefreshDiscovery: js, useDeviceDiscoveryReleaseDevice: Js, useDeviceExportApplyDeviceSettingsPatch: Ys, useDeviceExportExposeDevice: $s, useDeviceExportGetDeviceLiveContribution: ei, useDeviceExportGetDeviceSettingsContribution: _i, useDeviceExportGetStatus: ti, useDeviceExportListExposedDevices: si, useDeviceExportListSupportedDeviceKinds: ii, useDeviceExportUnexposeDevice: ri, useDeviceId: oi, useDeviceManagerAddLocation: mi, useDeviceManagerAdoptDevice: ni, useDeviceManagerAllocateDeviceId: ai, useDeviceManagerCreateDevice: ui, useDeviceManagerDisable: fi, useDeviceManagerDiscoverDevices: ci, useDeviceManagerEnable: li, useDeviceManagerGetAllBindings: di, useDeviceManagerGetBindings: Si, useDeviceManagerGetChildren: gi, useDeviceManagerGetConfigSchema: pi, useDeviceManagerGetCreationSchema: vi, useDeviceManagerGetDevice: Pi, useDeviceManagerGetDeviceAggregate: Di, useDeviceManagerGetDeviceLiveInfoAggregate: Ai, useDeviceManagerGetDeviceSettingsAggregate: Gi, useDeviceManagerGetDeviceStatusAggregate: Ci, useDeviceManagerGetSettingsSchema: hi, useDeviceManagerGetStreamProfileMap: Mi, useDeviceManagerGetStreamSources: Ei, useDeviceManagerListAll: Ri, useDeviceManagerListBindableCapsForDeviceType: Li, useDeviceManagerListLocations: Ti, useDeviceManagerListPersistedByAddon: yi, useDeviceManagerListWrappersForCap: ki, useDeviceManagerLoadConfig: bi, useDeviceManagerLoadMeta: Bi, useDeviceManagerLoadRuntimeState: Oi, useDeviceManagerPersistConfig: Ii, useDeviceManagerProbeStreams: Ui, useDeviceManagerRegisterDevice: Ni, useDeviceManagerRemove: xi, useDeviceManagerRemoveDevice: wi, useDeviceManagerRemoveLocation: Fi, useDeviceManagerSetDisabled: Wi, useDeviceManagerSetLocation: Hi, useDeviceManagerSetMetadata: zi, useDeviceManagerSetName: Zi, useDeviceManagerSetStreamProfileMap: Vi, useDeviceManagerSetWrapperActive: Ki, useDeviceManagerTestCreationField: qi, useDeviceManagerTestField: Qi, useDeviceManagerUpdateConfig: Xi, useDeviceManagerUpdateDeviceField: ji, useDeviceManagerUpdateDeviceFieldsBatch: Ji, useDeviceOpsGetConfigEntries: Yi, useDeviceOpsGetSettingsSchema: $i, useDeviceOpsGetStreamSources: er, useDeviceOpsRemoveDevice: _r, useDeviceOpsSetConfig: tr, useDeviceProviderAdoptDiscoveredDevice: sr, useDeviceProviderCreateDevice: ir, useDeviceProviderDiscoverDevices: rr, useDeviceProviderGetChildCreationSchema: or, useDeviceProviderGetDevices: mr, useDeviceProviderGetStatus: nr, useDeviceProviderStart: ar, useDeviceProviderStop: ur, useDeviceProviderSupportsDiscovery: fr, useDeviceProviderSupportsManualCreation: cr, useDeviceProviderTestCreationField: lr, useDeviceProxy: dr, useDeviceSnapshot: Sr, useDeviceSnapshotImage: gr, useDeviceState: pr, useDeviceStateGetAllSnapshots: vr, useDeviceStateGetCapSlice: Pr, useDeviceStateGetSnapshot: Dr, useDeviceStateSetCapSlice: Ar, useDeviceStateSlice: Gr, useDeviceStatusGetStatus: Cr, useDeviceWebrtc: hr, useDevices: Mr, useDoorbellEvents: Er, useDoorbellGetStatus: Rr, useEventInvalidation: Lr, useEventStreamLatest: Tr, useEventStreamMap: yr, useEventsGetEventClipUrl: kr, useEventsGetEventThumbnail: br, useEventsGetEvents: Br, useFeatureProbeGetStatus: Or, useIntegrationsCreate: Ir, useIntegrationsDelete: Ur, useIntegrationsGet: Nr, useIntegrationsGetAvailableTypes: xr, useIntegrationsGetByAddonId: wr, useIntegrationsGetSettings: Fr, useIntegrationsList: Wr, useIntegrationsSetSettings: Hr, useIntegrationsTestConnection: zr, useIntegrationsUpdate: Zr, useIntercomEndTalkSession: Vr, useIntercomGetStatus: Kr, useIntercomHandleAnswer: qr, useIntercomPushTalkPcm: Qr, useIntercomStartSession: Xr, useIntercomStartTalkSession: jr, useIntercomStopSession: Jr, useIsMidWidth: Yr, useIsMobile: $r, useLiveBuffer: eo, useLiveEvent: _o, useLocalNetworkGetAllowedAddresses: to, useLocalNetworkGetConnectionEndpoints: so, useLocalNetworkGetPreferred: io, useLocalNetworkList: ro, useLocalNetworkResetAllowlistToBestMatch: oo, useLocalNetworkSetAllowedAddresses: mo, useMeshNetworkGetStatus: no, useMeshNetworkJoin: ao, useMeshNetworkLeave: uo, useMeshNetworkListPeers: fo, useMeshNetworkLogout: co, useMeshNetworkStartLogin: lo, useMeshNetworkTestConnection: So, useMeshOrchestratorJoinProvider: go, useMeshOrchestratorLeaveProvider: po, useMeshOrchestratorListProviderPeers: vo, useMeshOrchestratorListProviders: Po, useMeshOrchestratorLogoutProvider: Do, useMeshOrchestratorStartLoginProvider: Ao, useMetricsProviderCollectSnapshot: Go, useMetricsProviderGetAddonStats: Co, useMetricsProviderGetCached: ho, useMetricsProviderGetCpuTemperature: Mo, useMetricsProviderGetCurrent: Eo, useMetricsProviderGetDiskSpace: Ro, useMetricsProviderGetGpuInfo: Lo, useMetricsProviderGetProcessStats: To, useMetricsProviderKillProcess: yo, useMetricsProviderListAddonInstances: ko, useMetricsProviderListNodeProcesses: bo, useMotionDetectionAnalyze: Bo, useMotionDetectionApplyDeviceSettingsPatch: Oo, useMotionDetectionGetDeviceLiveContribution: Io, useMotionDetectionGetDeviceSettingsContribution: Uo, useMotionDetectionRemoveCamera: No, useMotionDetectionReset: xo, useMotionGetStatus: wo, useMotionIsDetected: Fo, useMotionTriggerGetStatus: Wo, useMotionTriggerSetMotionTrigger: Ho, useMqttBrokerAddBroker: zo, useMqttBrokerGetBrokerConfig: Zo, useMqttBrokerGetStatus: Vo, useMqttBrokerListBrokers: Ko, useMqttBrokerRemoveBroker: qo, useMqttBrokerStartEmbeddedBroker: Qo, useMqttBrokerStopEmbeddedBroker: Xo, useMqttBrokerTestConnection: jo, useNativeObjectDetectionGetStatus: Jo, useNetworkQualityGetAllStats: Yo, useNetworkQualityGetDeviceStats: $o, useNetworkQualityReportClientStats: em, useNodesClusterAddonStatus: _m, useNodesDeployAddon: tm, useNodesExecuteQuery: sm, useNodesGetNodeAddons: im, useNodesRenameNode: rm, useNodesRestartAddon: om, useNodesRestartNode: mm, useNodesRestartProcess: nm, useNodesSetProcessLogLevel: am, useNodesShutdownNode: um, useNodesTopology: fm, useNodesUndeployAddon: cm, useNotificationOutputSend: lm, useNotificationOutputSendTest: dm, useOptionalSystem: Sm, useOptionalWidgetRegistry: gm, useOsdGetStatus: pm, useOsdSetOverlay: vm, usePTZ: Pm, usePipelineAnalyticsApplyDeviceSettingsPatch: Dm, usePipelineAnalyticsClearTracks: Am, usePipelineAnalyticsGetActiveTracks: Gm, usePipelineAnalyticsGetAudioEvents: Cm, usePipelineAnalyticsGetDeviceLiveContribution: hm, usePipelineAnalyticsGetDeviceSettingsContribution: Mm, usePipelineAnalyticsGetEventMedia: Em, usePipelineAnalyticsGetMotionEvents: Rm, usePipelineAnalyticsGetObjectEvents: Lm, usePipelineAnalyticsGetTrack: Tm, usePipelineAnalyticsGetTrackMedia: ym, usePipelineAnalyticsListTracks: km, usePipelineExecutorCacheFrameInPool: bm, usePipelineExecutorDeleteModel: Bm, usePipelineExecutorDeleteTemplate: Om, usePipelineExecutorDetect: Im, usePipelineExecutorDownloadModel: Um, usePipelineExecutorGetAddonModels: Nm, usePipelineExecutorGetAudioCapabilities: xm, usePipelineExecutorGetAvailableEngines: wm, usePipelineExecutorGetCapabilities: Fm, usePipelineExecutorGetDefaultSteps: Wm, usePipelineExecutorGetDetectionConfigSchema: Hm, usePipelineExecutorGetEffectiveTuning: zm, usePipelineExecutorGetGlobalPipelineConfig: Zm, usePipelineExecutorGetGlobalSteps: Vm, usePipelineExecutorGetOrchestratorConfigSchema: Km, usePipelineExecutorGetReferenceAudio: qm, usePipelineExecutorGetReferenceAudioFiles: Qm, usePipelineExecutorGetReferenceImage: Xm, usePipelineExecutorGetSchema: jm, usePipelineExecutorGetSelectedEngine: Jm, usePipelineExecutorGetVideoPipelineSteps: Ym, usePipelineExecutorInferCached: $m, usePipelineExecutorKillEngine: en, usePipelineExecutorListLoadedEngines: _n, usePipelineExecutorListReferenceImages: tn, usePipelineExecutorListTemplates: sn, usePipelineExecutorReprobeEngine: rn, usePipelineExecutorRunAudioTest: on, usePipelineExecutorRunPipeline: mn, usePipelineExecutorRunPipelineBatch: nn, usePipelineExecutorSaveTemplate: an, usePipelineExecutorSetVideoPipelineSteps: un, usePipelineExecutorSpinEngine: fn, usePipelineExecutorUncacheFrame: cn, usePipelineExecutorUpdateTemplate: ln, usePipelineOrchestratorApplyDeviceSettingsPatch: dn, usePipelineOrchestratorAssignAudio: Sn, usePipelineOrchestratorAssignDecoder: gn, usePipelineOrchestratorAssignPipeline: pn, usePipelineOrchestratorDeleteTemplate: vn, usePipelineOrchestratorGetAgentLoad: Pn, usePipelineOrchestratorGetAgentSettings: Dn, usePipelineOrchestratorGetAudioAssignment: An, usePipelineOrchestratorGetAudioAssignments: Gn, usePipelineOrchestratorGetAudioNodeLoad: Cn, usePipelineOrchestratorGetCameraMetrics: hn, usePipelineOrchestratorGetCameraSettings: Mn, usePipelineOrchestratorGetCameraStepOverrides: En, usePipelineOrchestratorGetCapabilityBindings: Rn, usePipelineOrchestratorGetDecoderAssignment: Ln, usePipelineOrchestratorGetDecoderAssignments: Tn, usePipelineOrchestratorGetDeviceLiveContribution: yn, usePipelineOrchestratorGetDeviceSettingsContribution: kn, usePipelineOrchestratorGetGlobalMetrics: bn, usePipelineOrchestratorGetPipelineAssignment: Bn, usePipelineOrchestratorGetPipelineAssignments: On, usePipelineOrchestratorListAgentSettings: In, usePipelineOrchestratorListTemplates: Un, usePipelineOrchestratorRebalance: Nn, usePipelineOrchestratorRemoveAgentSettings: xn, usePipelineOrchestratorResolvePipeline: wn, usePipelineOrchestratorSaveTemplate: Fn, usePipelineOrchestratorSetAgentAddonDefaults: Wn, usePipelineOrchestratorSetCameraPipelineForAgent: Hn, usePipelineOrchestratorSetCameraStepOverride: zn, usePipelineOrchestratorSetCameraStepToggle: Zn, usePipelineOrchestratorSetCapabilityBinding: Vn, usePipelineOrchestratorUnassignAudio: Kn, usePipelineOrchestratorUnassignDecoder: qn, usePipelineOrchestratorUnassignPipeline: Qn, usePipelineOrchestratorUpdateTemplate: Xn, usePipelineRunnerAttachCamera: jn, usePipelineRunnerDetachCamera: Jn, usePipelineRunnerGetAllCameraMetrics: Yn, usePipelineRunnerGetCameraMetrics: $n, usePipelineRunnerGetLocalCameras: ea, usePipelineRunnerGetLocalLoad: _a, usePipelineRunnerGetLocalMetrics: ta, usePipelineRunnerReportMotion: sa, usePlatformProbeGetCapabilities: ia, usePlatformProbeGetHardware: ra, usePlatformProbeGetHardwareEncoders: oa, usePlatformProbeRefreshHardwareEncoders: ma, usePlatformProbeResolveHwAccel: na, usePlatformProbeResolveInferenceConfig: aa, usePlayerOverlayLayer: ua, usePlayerOverlayLayers: fa, usePlayerToolbarButton: ca, usePlayerToolbarButtons: la, usePtzAutotrackGetSettings: da, usePtzAutotrackGetStatus: Sa, usePtzAutotrackSetEnabled: ga, usePtzAutotrackSetSettings: pa, usePtzContinuousMove: va, usePtzGetPosition: Pa, usePtzGetPresets: Da, usePtzGetStatus: Aa, usePtzGoHome: Ga, usePtzGoToPreset: Ca, usePtzMove: ha, usePtzStop: Ma, useRebootReboot: Ea, useRecordingEngineDisable: Ra, useRecordingEngineEnable: La, useRecordingEngineEstimateGlobalStorage: Ta, useRecordingEngineEstimateStorage: ya, useRecordingEngineGetAvailability: ka, useRecordingEngineGetConfig: ba, useRecordingEngineGetMotionStats: Ba, useRecordingEngineGetPlaylist: Oa, useRecordingEngineGetPolicy: Ia, useRecordingEngineGetPolicyStatus: Ua, useRecordingEngineGetRetentionConfig: Na, useRecordingEngineGetSegments: xa, useRecordingEngineGetStatus: wa, useRecordingEngineGetStorageUsage: Fa, useRecordingEngineGetThumbnail: Wa, useRecordingEngineSetPolicy: Ha, useRecordingEngineUpdateConfig: za, useRecordingEngineUpdateRetentionConfig: Za, useRecordingGetPlaybackUrl: Va, useRecordingGetSegments: Ka, useRecordingGetThumbnailAt: qa, useRemoteAccessListProviders: Qa, useRemoteAccessStartProvider: Xa, useRemoteAccessStopProvider: ja, useSettingsStoreCount: Ja, useSettingsStoreDeclareCollection: Ya, useSettingsStoreDelete: $a, useSettingsStoreGet: eu, useSettingsStoreInsert: _u, useSettingsStoreIsEmpty: tu, useSettingsStoreQuery: su, useSettingsStoreSet: iu, useSettingsStoreUpdate: ru, useSnapshotApplyDeviceSettingsPatch: ou, useSnapshotGetDeviceLiveContribution: mu, useSnapshotGetDeviceSettingsContribution: nu, useSnapshotGetSnapshot: au, useSnapshotGetStatus: uu, useSnapshotInvalidateCache: fu, useSnapshotProviderGetSnapshot: cu, useSnapshotProviderSupportsDevice: lu, useStorageAbortUpload: du, useStorageBeginDownload: Su, useStorageBeginUpload: gu, useStorageDelete: pu, useStorageDeleteLocation: vu, useStorageEndDownload: Pu, useStorageExists: Du, useStorageFinalizeUpload: Au, useStorageGetAvailableSpace: Gu, useStorageGetDefaultLocation: Cu, useStorageList: hu, useStorageListLocations: Mu, useStorageListProviders: Eu, useStorageRead: Ru, useStorageReadChunk: Lu, useStorageResolve: Tu, useStorageTestConfig: yu, useStorageTestLocation: ku, useStorageUpsertLocation: bu, useStorageWrite: Bu, useStorageWriteChunk: Ou, useStreamBrokerApplyDeviceSettingsPatch: Iu, useStreamBrokerAssignProfile: Uu, useStreamBrokerGetAllRtspEntries: Nu, useStreamBrokerGetBroker: xu, useStreamBrokerGetBrokerStats: wu, useStreamBrokerGetDeviceLiveContribution: Fu, useStreamBrokerGetDeviceSettingsContribution: Wu, useStreamBrokerGetPreBufferInfo: Hu, useStreamBrokerGetRtspEntry: zu, useStreamBrokerGetRtspPort: Zu, useStreamBrokerGetStreamUrl: Vu, useStreamBrokerGetStreamWithCodec: Ku, useStreamBrokerIsRtspEnabled: qu, useStreamBrokerKillClient: Qu, useStreamBrokerListAllCameraStreams: Xu, useStreamBrokerListAllProfileSlots: ju, useStreamBrokerListClients: Ju, useStreamBrokerPublishCameraStream: Yu, useStreamBrokerRegenerateRtspToken: $u, useStreamBrokerReleaseStreamWithCodec: ef, useStreamBrokerRestartProfile: _f, useStreamBrokerRetractCameraStream: tf, useStreamBrokerSetPreBufferDuration: sf, useStreamBrokerSetRtspEnabled: rf, useStreamBrokerUnassignProfile: of, useSwitchGetStatus: mf, useSwitchSetState: nf, useSystem: af, useSystemFeatureFlags: uf, useSystemForceRetentionCleanup: ff, useSystemGetRetentionConfig: cf, useSystemHealth: lf, useSystemInfo: df, useSystemMutation: Sf, useSystemNetworkAddresses: gf, useSystemQuery: pf, useSystemSetRetentionConfig: vf, useThemeMode: Pf, useToastOnToast: Df, useTurnOrchestratorGetAllServers: Af, useTurnOrchestratorListProviders: Gf, useTurnOrchestratorSetProviderEnabled: Cf, useTurnProviderGetTurnServers: hf, useUserManagementConfirmTotp: Mf, useUserManagementCreateApiKey: Ef, useUserManagementCreateScopedToken: Rf, useUserManagementCreateUser: Lf, useUserManagementDeleteUser: Tf, useUserManagementDisableTotp: yf, useUserManagementGetTotpStatus: kf, useUserManagementListApiKeys: bf, useUserManagementListScopedTokens: Bf, useUserManagementListUsers: Of, useUserManagementResetPassword: If, useUserManagementRevokeApiKey: Uf, useUserManagementRevokeScopedToken: Nf, useUserManagementSetUserScopes: xf, useUserManagementSetupTotp: wf, useUserManagementUpdateUser: Ff, useUserManagementValidateApiKey: Wf, useUserManagementValidateCredentials: Hf, useUserManagementValidateScopedToken: zf, useUserManagementVerifyTotp: Zf, useWebrtcSessionCloseSession: Vf, useWebrtcSessionCreateSession: Kf, useWebrtcSessionHandleAnswer: qf, useWebrtcSessionHandleOffer: Qf, useWebrtcSessionHasAdaptiveBitrate: Xf, useWebrtcSessionListStreams: jf, useWidget: Jf, useWidgetMetadata: Yf, useWidgetRegistry: $f, useZoneAnalyticsGetCameraHistory: ec, useZoneAnalyticsGetCurrentSnapshot: _c, useZoneAnalyticsGetUnzonedHistory: tc, useZoneAnalyticsGetZoneHistory: sc, useZoneEditing: ic, useZoneRulesListRules: rc, useZoneRulesSetRules: oc, useZonesAddZone: mc, useZonesListZones: nc, useZonesRemoveZone: ac, useZonesUpdateZone: uc, validateScopes: fc } = e;
|
|
10
|
+
export {
|
|
11
|
+
Lr as _,
|
|
12
|
+
ju as a,
|
|
13
|
+
af as b,
|
|
14
|
+
dr as c,
|
|
15
|
+
Tr as d,
|
|
16
|
+
Ju as e,
|
|
17
|
+
Wu as f,
|
|
18
|
+
Iu as g,
|
|
19
|
+
Qu as h
|
|
20
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e, a as r, b as B } from "./__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-gBEZsQrp.mjs";
|
|
2
2
|
import { _ as z, a as G } from "./__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-U1EUeEPs.mjs";
|
|
3
3
|
import { a as R, b as S, c as k, d as y, e as I } from "./__mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.mjs-DePVYdid.mjs";
|
|
4
|
-
import { _ as E, a as Q, b as W, c as X, d as T, e as Z, f as V, g as J, h as Y } from "./__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-
|
|
4
|
+
import { _ as E, a as Q, b as W, c as X, d as T, e as Z, f as V, g as J, h as Y } from "./__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-BvJPhiY_.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.511.0 - ISC
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
"@camstack/sdk": {
|
|
3
3
|
name: "@camstack/sdk",
|
|
4
|
-
version: "0.1.
|
|
4
|
+
version: "0.1.47",
|
|
5
5
|
scope: ["default"],
|
|
6
6
|
loaded: !1,
|
|
7
7
|
from: "__mfe_internal__addon_stream_broker_widgets",
|
|
@@ -10,13 +10,13 @@ const e = {
|
|
|
10
10
|
},
|
|
11
11
|
shareConfig: {
|
|
12
12
|
singleton: !0,
|
|
13
|
-
requiredVersion: "^0.1.
|
|
13
|
+
requiredVersion: "^0.1.47",
|
|
14
14
|
import: !1
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"@camstack/types": {
|
|
18
18
|
name: "@camstack/types",
|
|
19
|
-
version: "0.1.
|
|
19
|
+
version: "0.1.33",
|
|
20
20
|
scope: ["default"],
|
|
21
21
|
loaded: !1,
|
|
22
22
|
from: "__mfe_internal__addon_stream_broker_widgets",
|
|
@@ -25,13 +25,13 @@ const e = {
|
|
|
25
25
|
},
|
|
26
26
|
shareConfig: {
|
|
27
27
|
singleton: !0,
|
|
28
|
-
requiredVersion: "^0.1.
|
|
28
|
+
requiredVersion: "^0.1.33",
|
|
29
29
|
import: !1
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"@camstack/ui-library": {
|
|
33
33
|
name: "@camstack/ui-library",
|
|
34
|
-
version: "0.1.
|
|
34
|
+
version: "0.1.50",
|
|
35
35
|
scope: ["default"],
|
|
36
36
|
loaded: !1,
|
|
37
37
|
from: "__mfe_internal__addon_stream_broker_widgets",
|
|
@@ -40,7 +40,7 @@ const e = {
|
|
|
40
40
|
},
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
43
|
-
requiredVersion: "^0.1.
|
|
43
|
+
requiredVersion: "^0.1.50",
|
|
44
44
|
import: !1
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -56,21 +56,21 @@ async function l() {
|
|
|
56
56
|
}), r.share["react/jsx-runtime"] = e;
|
|
57
57
|
}
|
|
58
58
|
if (r.share["@camstack/sdk"] === void 0) {
|
|
59
|
-
const e = { ...await import("./index-
|
|
59
|
+
const e = { ...await import("./index-BOmtakNy.mjs") };
|
|
60
60
|
Object.defineProperty(e, "__esModule", {
|
|
61
61
|
value: !0,
|
|
62
62
|
enumerable: !1
|
|
63
63
|
}), r.share["@camstack/sdk"] = e;
|
|
64
64
|
}
|
|
65
65
|
if (r.share["@camstack/types"] === void 0) {
|
|
66
|
-
const e = { ...await import("./index-
|
|
66
|
+
const e = { ...await import("./index-Bpv0NSqI.mjs") };
|
|
67
67
|
Object.defineProperty(e, "__esModule", {
|
|
68
68
|
value: !0,
|
|
69
69
|
enumerable: !1
|
|
70
70
|
}), r.share["@camstack/types"] = e;
|
|
71
71
|
}
|
|
72
72
|
if (r.share["@camstack/ui-library"] === void 0) {
|
|
73
|
-
const e = { ...await import("./index-
|
|
73
|
+
const e = { ...await import("./index-l13fl8lu.mjs") };
|
|
74
74
|
Object.defineProperty(e, "__esModule", {
|
|
75
75
|
value: !0,
|
|
76
76
|
enumerable: !1
|
|
@@ -101,21 +101,21 @@ async function l() {
|
|
|
101
101
|
"@camstack/sdk": {
|
|
102
102
|
shareConfig: {
|
|
103
103
|
singleton: !0,
|
|
104
|
-
requiredVersion: "^0.1.
|
|
104
|
+
requiredVersion: "^0.1.47",
|
|
105
105
|
import: !1
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
"@camstack/types": {
|
|
109
109
|
shareConfig: {
|
|
110
110
|
singleton: !0,
|
|
111
|
-
requiredVersion: "^0.1.
|
|
111
|
+
requiredVersion: "^0.1.33",
|
|
112
112
|
import: !1
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"@camstack/ui-library": {
|
|
116
116
|
shareConfig: {
|
|
117
117
|
singleton: !0,
|
|
118
|
-
requiredVersion: "^0.1.
|
|
118
|
+
requiredVersion: "^0.1.50",
|
|
119
119
|
import: !1
|
|
120
120
|
}
|
|
121
121
|
},
|
|
@@ -17,7 +17,7 @@ class Pe {
|
|
|
17
17
|
this.keyToValue.clear(), this.valueToKey.clear();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
class
|
|
20
|
+
class $ {
|
|
21
21
|
constructor(t) {
|
|
22
22
|
this.generateIdentifier = t, this.kv = new Pe();
|
|
23
23
|
}
|
|
@@ -34,7 +34,7 @@ class q {
|
|
|
34
34
|
return this.kv.getByKey(t);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
class
|
|
37
|
+
class Ce extends $ {
|
|
38
38
|
constructor() {
|
|
39
39
|
super((t) => t.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
|
|
40
40
|
}
|
|
@@ -45,7 +45,7 @@ class ke extends q {
|
|
|
45
45
|
return this.classToAllowedProps.get(t);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function ke(e) {
|
|
49
49
|
if ("values" in Object)
|
|
50
50
|
return Object.values(e);
|
|
51
51
|
const t = [];
|
|
@@ -54,7 +54,7 @@ function Ce(e) {
|
|
|
54
54
|
return t;
|
|
55
55
|
}
|
|
56
56
|
function Se(e, t) {
|
|
57
|
-
const r =
|
|
57
|
+
const r = ke(e);
|
|
58
58
|
if ("find" in r)
|
|
59
59
|
return r.find(t);
|
|
60
60
|
const s = r;
|
|
@@ -77,7 +77,7 @@ function B(e, t) {
|
|
|
77
77
|
return s;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
class
|
|
80
|
+
class Te {
|
|
81
81
|
constructor() {
|
|
82
82
|
this.transfomers = {};
|
|
83
83
|
}
|
|
@@ -91,7 +91,7 @@ class Re {
|
|
|
91
91
|
return this.transfomers[t];
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const Re = (e) => Object.prototype.toString.call(e).slice(8, -1), W = (e) => typeof e > "u", Ie = (e) => e === null, P = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, I = (e) => P(e) && Object.keys(e).length === 0, g = (e) => Array.isArray(e), Ae = (e) => typeof e == "string", Me = (e) => typeof e == "number" && !isNaN(e), Oe = (e) => typeof e == "boolean", De = (e) => e instanceof RegExp, C = (e) => e instanceof Map, k = (e) => e instanceof Set, K = (e) => Re(e) === "Symbol", Le = (e) => e instanceof Date && !isNaN(e.valueOf()), Y = (e) => e instanceof Error, U = (e) => typeof e == "number" && isNaN(e), Ne = (e) => Oe(e) || Ie(e) || W(e) || Me(e) || Ae(e) || K(e), xe = (e) => typeof e == "bigint", Ve = (e) => e === 1 / 0 || e === -1 / 0, Be = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Ue = (e) => e instanceof URL, A = (e) => e.replace(/\\/g, "\\\\").replace(/\./g, "\\."), R = (e) => e.map(String).map(A).join("."), E = (e, t) => {
|
|
95
95
|
const r = [];
|
|
96
96
|
let s = "";
|
|
97
97
|
for (let i = 0; i < e.length; i++) {
|
|
@@ -149,19 +149,19 @@ const G = [
|
|
|
149
149
|
return new RegExp(t, r);
|
|
150
150
|
}),
|
|
151
151
|
y(
|
|
152
|
-
|
|
152
|
+
k,
|
|
153
153
|
"set",
|
|
154
154
|
// (sets only exist in es6+)
|
|
155
155
|
// eslint-disable-next-line es5/no-es6-methods
|
|
156
156
|
(e) => [...e.values()],
|
|
157
157
|
(e) => new Set(e)
|
|
158
158
|
),
|
|
159
|
-
y(
|
|
159
|
+
y(C, "map", (e) => [...e.entries()], (e) => new Map(e)),
|
|
160
160
|
y((e) => U(e) || Ve(e), "number", (e) => U(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
|
|
161
161
|
y((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
|
|
162
162
|
y(Ue, "URL", (e) => e.toString(), (e) => new URL(e))
|
|
163
163
|
];
|
|
164
|
-
function
|
|
164
|
+
function T(e, t, r, s) {
|
|
165
165
|
return {
|
|
166
166
|
isApplicable: e,
|
|
167
167
|
annotation: t,
|
|
@@ -169,7 +169,7 @@ function R(e, t, r, s) {
|
|
|
169
169
|
untransform: s
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
const H =
|
|
172
|
+
const H = T((e, t) => K(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, r) => {
|
|
173
173
|
const s = r.symbolRegistry.getValue(t[1]);
|
|
174
174
|
if (!s)
|
|
175
175
|
throw new Error("Trying to deserialize unknown symbol");
|
|
@@ -184,7 +184,7 @@ const H = R((e, t) => K(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =>
|
|
|
184
184
|
Float32Array,
|
|
185
185
|
Float64Array,
|
|
186
186
|
Uint8ClampedArray
|
|
187
|
-
].reduce((e, t) => (e[t.name] = t, e), {}), X =
|
|
187
|
+
].reduce((e, t) => (e[t.name] = t, e), {}), X = T(Be, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
|
|
188
188
|
const r = ze[t[1]];
|
|
189
189
|
if (!r)
|
|
190
190
|
throw new Error("Trying to deserialize unknown typed array");
|
|
@@ -193,7 +193,7 @@ const H = R((e, t) => K(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =>
|
|
|
193
193
|
function Z(e, t) {
|
|
194
194
|
return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
|
|
195
195
|
}
|
|
196
|
-
const j =
|
|
196
|
+
const j = T(Z, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
|
|
197
197
|
const r = t.classRegistry.getAllowedProps(e.constructor);
|
|
198
198
|
if (!r)
|
|
199
199
|
return { ...e };
|
|
@@ -206,13 +206,13 @@ const j = R(Z, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)]
|
|
|
206
206
|
if (!s)
|
|
207
207
|
throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
|
|
208
208
|
return Object.assign(Object.create(s.prototype), e);
|
|
209
|
-
}), Q =
|
|
209
|
+
}), Q = T((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, r) => {
|
|
210
210
|
const s = r.customTransformerRegistry.findByName(t[1]);
|
|
211
211
|
if (!s)
|
|
212
212
|
throw new Error("Trying to deserialize unknown custom value");
|
|
213
213
|
return s.deserialize(e);
|
|
214
|
-
}),
|
|
215
|
-
const r = B(
|
|
214
|
+
}), qe = [j, H, Q, X], z = (e, t) => {
|
|
215
|
+
const r = B(qe, (n) => n.isApplicable(e, t));
|
|
216
216
|
if (r)
|
|
217
217
|
return {
|
|
218
218
|
value: r.transform(e, t),
|
|
@@ -228,7 +228,7 @@ const j = R(Z, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)]
|
|
|
228
228
|
G.forEach((e) => {
|
|
229
229
|
J[e.annotation] = e;
|
|
230
230
|
});
|
|
231
|
-
const
|
|
231
|
+
const Fe = (e, t, r) => {
|
|
232
232
|
if (g(t))
|
|
233
233
|
switch (t[0]) {
|
|
234
234
|
case "symbol":
|
|
@@ -264,13 +264,13 @@ function ee(e) {
|
|
|
264
264
|
if (S(e, "constructor"))
|
|
265
265
|
throw new Error("constructor is not allowed as a property");
|
|
266
266
|
}
|
|
267
|
-
const
|
|
267
|
+
const $e = (e, t) => {
|
|
268
268
|
ee(t);
|
|
269
269
|
for (let r = 0; r < t.length; r++) {
|
|
270
270
|
const s = t[r];
|
|
271
|
-
if (
|
|
271
|
+
if (k(e))
|
|
272
272
|
e = b(e, +s);
|
|
273
|
-
else if (
|
|
273
|
+
else if (C(e)) {
|
|
274
274
|
const n = +s, i = +t[++r] == 0 ? "key" : "value", o = b(e, n);
|
|
275
275
|
switch (i) {
|
|
276
276
|
case "key":
|
|
@@ -295,10 +295,10 @@ const qe = (e, t) => {
|
|
|
295
295
|
s = s[a];
|
|
296
296
|
} else if (P(s))
|
|
297
297
|
s = s[o];
|
|
298
|
-
else if (
|
|
298
|
+
else if (k(s)) {
|
|
299
299
|
const a = +o;
|
|
300
300
|
s = b(s, a);
|
|
301
|
-
} else if (
|
|
301
|
+
} else if (C(s)) {
|
|
302
302
|
if (i === t.length - 2)
|
|
303
303
|
break;
|
|
304
304
|
const c = +o, f = +t[++i] == 0 ? "key" : "value", h = b(s, c);
|
|
@@ -313,11 +313,11 @@ const qe = (e, t) => {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
const n = t[t.length - 1];
|
|
316
|
-
if (g(s) ? s[+n] = r(s[+n]) : P(s) && (s[n] = r(s[n])),
|
|
316
|
+
if (g(s) ? s[+n] = r(s[+n]) : P(s) && (s[n] = r(s[n])), k(s)) {
|
|
317
317
|
const i = b(s, +n), o = r(i);
|
|
318
318
|
i !== o && (s.delete(i), s.add(o));
|
|
319
319
|
}
|
|
320
|
-
if (
|
|
320
|
+
if (C(s)) {
|
|
321
321
|
const i = +t[t.length - 2], o = b(s, i);
|
|
322
322
|
switch (+n == 0 ? "key" : "value") {
|
|
323
323
|
case "key": {
|
|
@@ -354,13 +354,13 @@ function O(e, t, r, s = []) {
|
|
|
354
354
|
}
|
|
355
355
|
function We(e, t, r, s) {
|
|
356
356
|
return O(t, (n, i) => {
|
|
357
|
-
e = M(e, i, (o) =>
|
|
357
|
+
e = M(e, i, (o) => Fe(o, n, s));
|
|
358
358
|
}, r), e;
|
|
359
359
|
}
|
|
360
360
|
function Ke(e, t, r) {
|
|
361
361
|
const s = te(r);
|
|
362
362
|
function n(i, o) {
|
|
363
|
-
const a =
|
|
363
|
+
const a = $e(e, E(o, s));
|
|
364
364
|
i.map((c) => E(c, s)).forEach((c) => {
|
|
365
365
|
e = M(e, c, () => a);
|
|
366
366
|
});
|
|
@@ -374,7 +374,7 @@ function Ke(e, t, r) {
|
|
|
374
374
|
v(t, n);
|
|
375
375
|
return e;
|
|
376
376
|
}
|
|
377
|
-
const Ye = (e, t) => P(e) || g(e) ||
|
|
377
|
+
const Ye = (e, t) => P(e) || g(e) || C(e) || k(e) || Y(e) || Z(e, t);
|
|
378
378
|
function Ge(e, t, r) {
|
|
379
379
|
const s = r.get(e);
|
|
380
380
|
s ? s.push(t) : r.set(e, [t]);
|
|
@@ -387,7 +387,7 @@ function He(e, t) {
|
|
|
387
387
|
return;
|
|
388
388
|
t || (n = n.map((a) => a.map(String)).sort((a, c) => a.length - c.length));
|
|
389
389
|
const [i, ...o] = n;
|
|
390
|
-
i.length === 0 ? s = o.map(
|
|
390
|
+
i.length === 0 ? s = o.map(R) : r[R(i)] = o.map(R);
|
|
391
391
|
}), s ? I(r) ? [s] : [s, r] : I(r) ? void 0 : r;
|
|
392
392
|
}
|
|
393
393
|
const re = (e, t, r, s, n = [], i = [], o = /* @__PURE__ */ new Map()) => {
|
|
@@ -434,7 +434,7 @@ const re = (e, t, r, s, n = [], i = [], o = /* @__PURE__ */ new Map()) => {
|
|
|
434
434
|
function se(e) {
|
|
435
435
|
return Object.prototype.toString.call(e).slice(8, -1);
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function q(e) {
|
|
438
438
|
return se(e) === "Array";
|
|
439
439
|
}
|
|
440
440
|
function Xe(e) {
|
|
@@ -453,13 +453,13 @@ function Ze(e, t, r, s, n) {
|
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
455
|
function D(e, t = {}) {
|
|
456
|
-
if (
|
|
456
|
+
if (q(e))
|
|
457
457
|
return e.map((n) => D(n, t));
|
|
458
458
|
if (!Xe(e))
|
|
459
459
|
return e;
|
|
460
460
|
const r = Object.getOwnPropertyNames(e), s = Object.getOwnPropertySymbols(e);
|
|
461
461
|
return [...r, ...s].reduce((n, i) => {
|
|
462
|
-
if (i === "__proto__" ||
|
|
462
|
+
if (i === "__proto__" || q(t.props) && !t.props.includes(i))
|
|
463
463
|
return n;
|
|
464
464
|
const o = e[i], a = D(o, t);
|
|
465
465
|
return Ze(n, i, a, e, t.nonenumerable), n;
|
|
@@ -470,7 +470,7 @@ class l {
|
|
|
470
470
|
* @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
|
|
471
471
|
*/
|
|
472
472
|
constructor({ dedupe: t = !1 } = {}) {
|
|
473
|
-
this.classRegistry = new
|
|
473
|
+
this.classRegistry = new Ce(), this.symbolRegistry = new $((r) => r.description ?? ""), this.customTransformerRegistry = new Te(), this.allowedErrorProps = [], this.dedupe = t;
|
|
474
474
|
}
|
|
475
475
|
serialize(t) {
|
|
476
476
|
const r = /* @__PURE__ */ new Map(), s = re(t, r, this, this.dedupe), n = {
|
|
@@ -785,6 +785,29 @@ class tt {
|
|
|
785
785
|
async getMe() {
|
|
786
786
|
return await this._trpcClient.auth.me.query();
|
|
787
787
|
}
|
|
788
|
+
// ── Self-service auth (the signed-in user acting on themselves) ─────
|
|
789
|
+
//
|
|
790
|
+
// The hand-written `auth.*` router exposes 5 procedures that operate
|
|
791
|
+
// on `ctx.user` (the JWT-bound identity), distinct from the admin
|
|
792
|
+
// `user-management` cap that operates on arbitrary userIds. They live
|
|
793
|
+
// on `System` rather than as codegen'd hooks because `auth.*` is a
|
|
794
|
+
// legacy core router, not a `.cap.ts` — see the no-restricted-imports
|
|
795
|
+
// rule in `eslint.config.mjs` for the canonical entry-point design.
|
|
796
|
+
async changeOwnPassword(t) {
|
|
797
|
+
return await this._trpcClient.auth.changeOwnPassword.mutate(t);
|
|
798
|
+
}
|
|
799
|
+
async setupOwnTotp() {
|
|
800
|
+
return await this._trpcClient.auth.setupOwnTotp.mutate();
|
|
801
|
+
}
|
|
802
|
+
async confirmOwnTotp(t) {
|
|
803
|
+
return await this._trpcClient.auth.confirmOwnTotp.mutate(t);
|
|
804
|
+
}
|
|
805
|
+
async disableOwnTotp() {
|
|
806
|
+
return await this._trpcClient.auth.disableOwnTotp.mutate();
|
|
807
|
+
}
|
|
808
|
+
async getOwnTotpStatus() {
|
|
809
|
+
return await this._trpcClient.auth.getOwnTotpStatus.query();
|
|
810
|
+
}
|
|
788
811
|
/** Update the auth token (e.g. after login or token refresh). */
|
|
789
812
|
setToken(t) {
|
|
790
813
|
this.token = t;
|
|
@@ -1311,7 +1334,7 @@ const ie = [
|
|
|
1311
1334
|
"plate"
|
|
1312
1335
|
/* Plate */
|
|
1313
1336
|
], at = [...L];
|
|
1314
|
-
function
|
|
1337
|
+
function Ct(e, t) {
|
|
1315
1338
|
switch (e) {
|
|
1316
1339
|
case "critical":
|
|
1317
1340
|
return ge;
|
|
@@ -1325,7 +1348,7 @@ function kt(e, t) {
|
|
|
1325
1348
|
return L;
|
|
1326
1349
|
}
|
|
1327
1350
|
}
|
|
1328
|
-
const
|
|
1351
|
+
const F = {
|
|
1329
1352
|
// Scrypted PascalCase
|
|
1330
1353
|
Light: "light",
|
|
1331
1354
|
Switch: "switch",
|
|
@@ -1355,7 +1378,7 @@ const $ = {
|
|
|
1355
1378
|
sensor: "sensor",
|
|
1356
1379
|
media_player: "media_player",
|
|
1357
1380
|
script: "script"
|
|
1358
|
-
},
|
|
1381
|
+
}, kt = {
|
|
1359
1382
|
light: "light",
|
|
1360
1383
|
switch: "switch",
|
|
1361
1384
|
input_boolean: "switch",
|
|
@@ -1400,11 +1423,11 @@ const $ = {
|
|
|
1400
1423
|
Fan: "fan",
|
|
1401
1424
|
Outlet: "switch"
|
|
1402
1425
|
};
|
|
1403
|
-
function
|
|
1404
|
-
const t =
|
|
1426
|
+
function Tt(e) {
|
|
1427
|
+
const t = F[e];
|
|
1405
1428
|
if (t) return t;
|
|
1406
1429
|
const r = e.toLowerCase();
|
|
1407
|
-
return
|
|
1430
|
+
return F[r] ?? null;
|
|
1408
1431
|
}
|
|
1409
1432
|
const lt = [
|
|
1410
1433
|
"Entry",
|
|
@@ -1418,7 +1441,7 @@ const lt = [
|
|
|
1418
1441
|
"Sensor",
|
|
1419
1442
|
"Select",
|
|
1420
1443
|
"Program"
|
|
1421
|
-
],
|
|
1444
|
+
], Rt = new Set(lt), ct = [
|
|
1422
1445
|
"light",
|
|
1423
1446
|
"switch",
|
|
1424
1447
|
"input_boolean",
|
|
@@ -1585,10 +1608,10 @@ export {
|
|
|
1585
1608
|
ct as ELIGIBLE_HA_DOMAINS,
|
|
1586
1609
|
It as ELIGIBLE_HA_DOMAINS_SET,
|
|
1587
1610
|
lt as ELIGIBLE_SCRYPTED_DEVICE_TYPES,
|
|
1588
|
-
|
|
1611
|
+
Rt as ELIGIBLE_SCRYPTED_DEVICE_TYPES_SET,
|
|
1589
1612
|
N as FEATURE_MATRIX,
|
|
1590
|
-
|
|
1591
|
-
|
|
1613
|
+
kt as HA_DOMAIN_TYPE_MAP,
|
|
1614
|
+
F as RAW_TO_CANONICAL,
|
|
1592
1615
|
St as SCRYPTED_TYPE_TO_CANONICAL,
|
|
1593
1616
|
tt as System,
|
|
1594
1617
|
at as TIMELINE_PRESET_ALL,
|
|
@@ -1603,8 +1626,8 @@ export {
|
|
|
1603
1626
|
he as doorbellClasses,
|
|
1604
1627
|
le as faceClasses,
|
|
1605
1628
|
Ot as getBackendRequiredFeatures,
|
|
1606
|
-
|
|
1607
|
-
|
|
1629
|
+
Tt as getCanonicalDeviceType,
|
|
1630
|
+
Ct as getClassesForTimelinePreset,
|
|
1608
1631
|
Lt as getNextEvalInterval,
|
|
1609
1632
|
Et as getParentClass,
|
|
1610
1633
|
Pt as getParentDetectionClass,
|