@camstack/addon-osd-manager 0.1.30 → 0.1.31
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/_stub.js +2 -2
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-B1-6X3ty.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-B9oGcIm3.mjs} +4 -4
- package/dist/{hostInit-BJM9-t1E.mjs → hostInit-C0y4609Q.mjs} +3 -3
- package/dist/index.js +128 -0
- package/dist/index.mjs +128 -0
- package/dist/remoteEntry.js +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BcIVFz88.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BZSkUP2r.mjs} +1 -1
- package/package.json +1 -1
package/dist/_stub.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./virtualExposes-BgZ5Cn7S.mjs";
|
|
2
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
2
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BZSkUP2r.mjs";
|
|
3
3
|
import { _ as e, c as t, d as n, h as r, i, l as a, m as o, n as s, p as c, r as l, t as u, u as d, y as f } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
|
|
4
4
|
import { i as p, o as m, r as h, s as g } from "./responsive-Bu5aY8Ga.mjs";
|
|
5
5
|
import { c as _, l as v, u as y } from "./use-device-snapshot-BOZ1NIb1.mjs";
|
|
@@ -1648,7 +1648,7 @@ var Ht = g("utensils-crossed", [
|
|
|
1648
1648
|
//#region ../ui-library/src/trpc-react.ts
|
|
1649
1649
|
f();
|
|
1650
1650
|
var tn = typeof globalThis < "u" ? globalThis.__camstackTrpcReact : void 0, P = tn ?? S();
|
|
1651
|
-
typeof globalThis < "u" && !tn && (globalThis.__camstackTrpcReact = P), f(), f(), P.accessories.setChildHidden.useMutation, P.accessories.getStatus.useQuery, P.addonPages.listPages.useQuery, P.addons.list.useQuery, P.addons.getLogs.useQuery, P.addons.listPackages.useQuery, P.addons.installPackage.useMutation, P.addons.installFromWorkspace.useMutation, P.addons.isWorkspaceAvailable.useQuery, P.addons.listWorkspacePackages.useQuery, P.addons.uninstallPackage.useMutation, P.addons.reloadPackages.useMutation, P.addons.searchAvailable.useQuery, P.addons.listUpdates.useQuery, P.addons.updatePackage.useMutation, P.addons.rollbackPackage.useMutation, P.addons.forceRefresh.useMutation, P.addons.restartServer.useMutation, P.addons.getLastRestart.useQuery, P.addons.listFrameworkPackages.useQuery, P.addons.listCapabilityProviders.useQuery, P.addons.setCapabilityProviderEnabled.useMutation, P.addons.getVersions.useQuery, P.addons.restartAddon.useMutation, P.addons.retryLoad.useMutation, P.addons.getAutoUpdateSettings.useQuery, P.addons.setAutoUpdateSettings.useMutation, P.addons.getAddonAutoUpdate.useQuery, P.addons.setAddonAutoUpdate.useMutation, P.addons.applyAutoUpdateToAll.useMutation, P.addons.custom.useMutation, P.addons.startJob.useMutation, P.addons.getJob.useQuery, P.addons.listJobs.useQuery, P.addons.cancelJob.useMutation, P.addons.onAddonLogs.useSubscription, P.addonSettings.getGlobalSettings.useQuery, P.addonSettings.updateGlobalSettings.useMutation, P.addonSettings.getDeviceSettings.useQuery, P.addonSettings.updateDeviceSettings.useMutation, P.addonWidgets.listWidgets.useQuery, P.airQualitySensor.getStatus.useQuery, P.alarmPanel.arm.useMutation, P.alarmPanel.disarm.useMutation, P.alarmPanel.trigger.useMutation, P.alarmPanel.getStatus.useQuery, P.alerts.emit.useMutation, P.alerts.update.useMutation, P.alerts.list.useQuery, P.alerts.getUnreadCount.useQuery, P.alerts.markRead.useMutation, P.alerts.markAllRead.useMutation, P.alerts.dismiss.useMutation, P.ambientLightSensor.getStatus.useQuery, P.audioAnalysis.resolveDeviceSettings.useQuery, P.audioAnalysis.getDeviceSettingsContribution.useQuery, P.audioAnalysis.getDeviceLiveContribution.useQuery, P.audioAnalysis.applyDeviceSettingsPatch.useMutation, P.audioAnalyzer.analyseChunk.useMutation, P.audioAnalyzer.classify.useQuery, P.audioAnalyzer.isReady.useQuery, P.audioAnalyzer.dispose.useMutation, P.audioAnalyzer.reprobeAudioEngine.useMutation, P.audioCodec.listSupportedCodecs.useQuery, P.audioCodec.canHandle.useQuery, P.audioCodec.createDecodeSession.useMutation, P.audioCodec.createEncodeSession.useMutation, P.audioCodec.closeSession.useMutation, P.audioCodec.pushEncodedFrame.useMutation, P.audioCodec.pullPcm.useQuery, P.audioCodec.pushPcm.useMutation, P.audioCodec.pullEncoded.useQuery, P.audioCodec.flushEncode.useMutation, P.audioCodec.listActiveSessions.useQuery, P.audioMetrics.getCurrentSnapshot.useQuery, P.audioMetrics.getHistory.useQuery, P.automationControl.enable.useMutation, P.automationControl.disable.useMutation, P.automationControl.trigger.useMutation, P.automationControl.getStatus.useQuery, P.backup.listDestinations.useQuery, P.backup.trigger.useMutation, P.backup.list.useQuery, P.backup.listLocations.useQuery, P.backup.getEntries.useQuery, P.backup.restore.useMutation, P.backup.delete.useMutation, P.backup.listArchives.useQuery, P.backup.upsertDestinationPolicy.useMutation, P.backup.previewSchedule.useQuery, P.backup.listSchedules.useQuery, P.backup.upsertSchedule.useMutation, P.backup.deleteSchedule.useMutation, P.battery.wakeForStream.useMutation, P.battery.getStatus.useQuery, P.binary.getStatus.useQuery, P.brightness.setBrightness.useMutation, P.brightness.getStatus.useQuery, P.broker.list.useQuery, P.broker.get.useQuery, P.broker.listProviders.useQuery, P.broker.add.useMutation, P.broker.remove.useMutation, P.broker.testConnection.useMutation, P.broker.getSettings.useQuery, P.broker.setSettings.useMutation, P.broker.getBrokerConfig.useQuery, P.broker.getSettingsSchema.useQuery, P.broker.testSettings.useMutation, P.broker.publish.useMutation, P.broker.subscribe.useMutation, P.broker.unsubscribe.useMutation, P.broker.getState.useQuery, P.broker.getStatus.useQuery, P.button.press.useMutation, P.cameraCredentials.getCredentials.useQuery, P.cameraCredentials.getStatus.useQuery, P.cameraPipelineConfig.getDeviceSettingsContribution.useQuery, P.cameraPipelineConfig.getDeviceLiveContribution.useQuery, P.cameraPipelineConfig.applyDeviceSettingsPatch.useMutation, P.cameraStreams.getCameraStreams.useQuery, P.cameraStreams.getBrokerStreams.useQuery, P.cameraStreams.getRtspEntries.useQuery, P.cameraStreams.getProfileRtspEntries.useQuery, P.cameraStreams.pickStream.useQuery, P.carbonMonoxide.getStatus.useQuery, P.climateControl.setMode.useMutation, P.climateControl.setFanMode.useMutation, P.climateControl.setPreset.useMutation, P.climateControl.setTarget.useMutation, P.climateControl.setTargetRange.useMutation, P.climateControl.setTargetHumidity.useMutation, P.climateControl.setSwingVertical.useMutation, P.climateControl.setSwingHorizontal.useMutation, P.climateControl.getStatus.useQuery, P.color.setColor.useMutation, P.color.getStatus.useQuery, P.connectionTest.testSettings.useMutation, P.connectionTest.describeTest.useQuery, P.connectivity.getStatus.useQuery, P.consumables.reset.useMutation, P.consumables.getStatus.useQuery, P.contact.getStatus.useQuery, P.control.setValue.useMutation, P.control.getStatus.useQuery, P.coreBlocks.list.useQuery, P.coreBlocks.get.useQuery, P.coreBlocks.create.useMutation, P.coreBlocks.update.useMutation, P.coreBlocks.delete.useMutation, P.coreBlocks.setEnabled.useMutation, P.coreBlocks.restart.useMutation, P.coreBlocks.compile.useMutation, P.coreBlocks.getTypeDefs.useQuery, P.cover.open.useMutation, P.cover.close.useMutation, P.cover.stop.useMutation, P.cover.setPosition.useMutation, P.cover.setTiltPosition.useMutation, P.cover.getStatus.useQuery, P.dayNight.getOptions.useQuery, P.dayNight.setSettings.useMutation, P.dayNight.getStatus.useQuery, P.decoder.supportsCodec.useQuery, P.decoder.getInfo.useQuery, P.decoder.createSession.useQuery, P.decoder.destroySession.useQuery, P.decoder.pushPacket.useQuery, P.decoder.openStream.useQuery, P.decoder.pullFrames.useQuery, P.decoder.pullHandles.useQuery, P.decoder.getFrame.useQuery, P.decoder.getShmStats.useQuery, P.decoder.updateConfig.useQuery, P.decoder.getStats.useQuery, P.decoder.listActiveSessions.useQuery, P.decoder.reprobeHwaccel.useMutation, P.detectionPipeline.getDeviceSettingsContribution.useQuery, P.detectionPipeline.getDeviceLiveContribution.useQuery, P.detectionPipeline.applyDeviceSettingsPatch.useMutation, P.deviceAdoption.listCandidateFilters.useQuery, P.deviceAdoption.listCandidates.useQuery, P.deviceAdoption.getCandidate.useQuery, P.deviceAdoption.refresh.useMutation, P.deviceAdoption.adopt.useMutation, P.deviceAdoption.release.useMutation, P.deviceAdoption.resync.useMutation, P.deviceAdoption.getStatus.useQuery, P.deviceDiscovery.listDiscovered.useQuery, P.deviceDiscovery.refreshDiscovery.useMutation, P.deviceDiscovery.adoptDevice.useMutation, P.deviceDiscovery.releaseDevice.useMutation, P.deviceDiscovery.getStatus.useQuery, P.deviceExport.getStatus.useQuery, P.deviceExport.listSupportedDeviceKinds.useQuery, P.deviceExport.listExposedDevices.useQuery, P.deviceExport.exposeDevice.useMutation, P.deviceExport.unexposeDevice.useMutation, P.deviceExport.getDeviceSettingsContribution.useQuery, P.deviceExport.getDeviceLiveContribution.useQuery, P.deviceExport.applyDeviceSettingsPatch.useMutation, P.deviceManager.allocateDeviceId.useMutation, P.deviceManager.registerDevice.useMutation, P.deviceManager.removeDevice.useMutation, P.deviceManager.persistConfig.useMutation, P.deviceManager.loadConfig.useQuery, P.deviceManager.loadRuntimeState.useQuery, P.deviceManager.loadMeta.useQuery, P.deviceManager.setName.useMutation, P.deviceManager.setLocation.useMutation, P.deviceManager.setType.useMutation, P.deviceManager.setIntegrationId.useMutation, P.deviceManager.setLinkDeviceId.useMutation, P.deviceManager.setPrimaryChildEntityId.useMutation, P.deviceManager.setChildLayout.useMutation, P.deviceManager.setDisplay.useMutation;
|
|
1651
|
+
typeof globalThis < "u" && !tn && (globalThis.__camstackTrpcReact = P), f(), f(), P.accessories.setChildHidden.useMutation, P.accessories.getStatus.useQuery, P.addonPages.listPages.useQuery, P.addons.list.useQuery, P.addons.getLogs.useQuery, P.addons.listPackages.useQuery, P.addons.installPackage.useMutation, P.addons.installFromWorkspace.useMutation, P.addons.isWorkspaceAvailable.useQuery, P.addons.listWorkspacePackages.useQuery, P.addons.uninstallPackage.useMutation, P.addons.reloadPackages.useMutation, P.addons.searchAvailable.useQuery, P.addons.listUpdates.useQuery, P.addons.updatePackage.useMutation, P.addons.rollbackPackage.useMutation, P.addons.forceRefresh.useMutation, P.addons.restartServer.useMutation, P.addons.getLastRestart.useQuery, P.addons.listFrameworkPackages.useQuery, P.addons.listCapabilityProviders.useQuery, P.addons.setCapabilityProviderEnabled.useMutation, P.addons.getVersions.useQuery, P.addons.restartAddon.useMutation, P.addons.retryLoad.useMutation, P.addons.getAutoUpdateSettings.useQuery, P.addons.setAutoUpdateSettings.useMutation, P.addons.getAddonAutoUpdate.useQuery, P.addons.setAddonAutoUpdate.useMutation, P.addons.applyAutoUpdateToAll.useMutation, P.addons.custom.useMutation, P.addons.startJob.useMutation, P.addons.getJob.useQuery, P.addons.listJobs.useQuery, P.addons.cancelJob.useMutation, P.addons.onAddonLogs.useSubscription, P.addonSettings.getGlobalSettings.useQuery, P.addonSettings.updateGlobalSettings.useMutation, P.addonSettings.getIntegrationSettings.useQuery, P.addonSettings.getDeviceSettings.useQuery, P.addonSettings.updateDeviceSettings.useMutation, P.addonWidgets.listWidgets.useQuery, P.airQualitySensor.getStatus.useQuery, P.alarmPanel.arm.useMutation, P.alarmPanel.disarm.useMutation, P.alarmPanel.trigger.useMutation, P.alarmPanel.getStatus.useQuery, P.alerts.emit.useMutation, P.alerts.update.useMutation, P.alerts.list.useQuery, P.alerts.getUnreadCount.useQuery, P.alerts.markRead.useMutation, P.alerts.markAllRead.useMutation, P.alerts.dismiss.useMutation, P.ambientLightSensor.getStatus.useQuery, P.audioAnalysis.resolveDeviceSettings.useQuery, P.audioAnalysis.getDeviceSettingsContribution.useQuery, P.audioAnalysis.getDeviceLiveContribution.useQuery, P.audioAnalysis.applyDeviceSettingsPatch.useMutation, P.audioAnalyzer.analyseChunk.useMutation, P.audioAnalyzer.classify.useQuery, P.audioAnalyzer.isReady.useQuery, P.audioAnalyzer.dispose.useMutation, P.audioAnalyzer.reprobeAudioEngine.useMutation, P.audioCodec.listSupportedCodecs.useQuery, P.audioCodec.canHandle.useQuery, P.audioCodec.createDecodeSession.useMutation, P.audioCodec.createEncodeSession.useMutation, P.audioCodec.closeSession.useMutation, P.audioCodec.pushEncodedFrame.useMutation, P.audioCodec.pullPcm.useQuery, P.audioCodec.pushPcm.useMutation, P.audioCodec.pullEncoded.useQuery, P.audioCodec.flushEncode.useMutation, P.audioCodec.listActiveSessions.useQuery, P.audioMetrics.getCurrentSnapshot.useQuery, P.audioMetrics.getHistory.useQuery, P.automationControl.enable.useMutation, P.automationControl.disable.useMutation, P.automationControl.trigger.useMutation, P.automationControl.getStatus.useQuery, P.backup.listDestinations.useQuery, P.backup.trigger.useMutation, P.backup.list.useQuery, P.backup.listLocations.useQuery, P.backup.getEntries.useQuery, P.backup.restore.useMutation, P.backup.delete.useMutation, P.backup.listArchives.useQuery, P.backup.upsertDestinationPolicy.useMutation, P.backup.previewSchedule.useQuery, P.backup.listSchedules.useQuery, P.backup.upsertSchedule.useMutation, P.backup.deleteSchedule.useMutation, P.battery.wakeForStream.useMutation, P.battery.getStatus.useQuery, P.binary.getStatus.useQuery, P.brightness.setBrightness.useMutation, P.brightness.getStatus.useQuery, P.broker.list.useQuery, P.broker.get.useQuery, P.broker.listProviders.useQuery, P.broker.add.useMutation, P.broker.remove.useMutation, P.broker.testConnection.useMutation, P.broker.getSettings.useQuery, P.broker.setSettings.useMutation, P.broker.getBrokerConfig.useQuery, P.broker.getSettingsSchema.useQuery, P.broker.testSettings.useMutation, P.broker.publish.useMutation, P.broker.subscribe.useMutation, P.broker.unsubscribe.useMutation, P.broker.getState.useQuery, P.broker.getStatus.useQuery, P.button.press.useMutation, P.cameraCredentials.getCredentials.useQuery, P.cameraCredentials.getStatus.useQuery, P.cameraPipelineConfig.getDeviceSettingsContribution.useQuery, P.cameraPipelineConfig.getDeviceLiveContribution.useQuery, P.cameraPipelineConfig.applyDeviceSettingsPatch.useMutation, P.cameraStreams.getCameraStreams.useQuery, P.cameraStreams.getBrokerStreams.useQuery, P.cameraStreams.getRtspEntries.useQuery, P.cameraStreams.getProfileRtspEntries.useQuery, P.cameraStreams.pickStream.useQuery, P.carbonMonoxide.getStatus.useQuery, P.climateControl.setMode.useMutation, P.climateControl.setFanMode.useMutation, P.climateControl.setPreset.useMutation, P.climateControl.setTarget.useMutation, P.climateControl.setTargetRange.useMutation, P.climateControl.setTargetHumidity.useMutation, P.climateControl.setSwingVertical.useMutation, P.climateControl.setSwingHorizontal.useMutation, P.climateControl.getStatus.useQuery, P.color.setColor.useMutation, P.color.getStatus.useQuery, P.connectionTest.testSettings.useMutation, P.connectionTest.describeTest.useQuery, P.connectivity.getStatus.useQuery, P.consumables.reset.useMutation, P.consumables.getStatus.useQuery, P.contact.getStatus.useQuery, P.control.setValue.useMutation, P.control.getStatus.useQuery, P.coreBlocks.list.useQuery, P.coreBlocks.get.useQuery, P.coreBlocks.create.useMutation, P.coreBlocks.update.useMutation, P.coreBlocks.delete.useMutation, P.coreBlocks.setEnabled.useMutation, P.coreBlocks.restart.useMutation, P.coreBlocks.compile.useMutation, P.coreBlocks.getTypeDefs.useQuery, P.cover.open.useMutation, P.cover.close.useMutation, P.cover.stop.useMutation, P.cover.setPosition.useMutation, P.cover.setTiltPosition.useMutation, P.cover.getStatus.useQuery, P.dayNight.getOptions.useQuery, P.dayNight.setSettings.useMutation, P.dayNight.getStatus.useQuery, P.decoder.supportsCodec.useQuery, P.decoder.getInfo.useQuery, P.decoder.createSession.useQuery, P.decoder.destroySession.useQuery, P.decoder.pushPacket.useQuery, P.decoder.openStream.useQuery, P.decoder.pullFrames.useQuery, P.decoder.pullHandles.useQuery, P.decoder.getFrame.useQuery, P.decoder.getShmStats.useQuery, P.decoder.updateConfig.useQuery, P.decoder.getStats.useQuery, P.decoder.listActiveSessions.useQuery, P.decoder.reprobeHwaccel.useMutation, P.detectionPipeline.getDeviceSettingsContribution.useQuery, P.detectionPipeline.getDeviceLiveContribution.useQuery, P.detectionPipeline.applyDeviceSettingsPatch.useMutation, P.deviceAdoption.listCandidateFilters.useQuery, P.deviceAdoption.listCandidates.useQuery, P.deviceAdoption.getCandidate.useQuery, P.deviceAdoption.refresh.useMutation, P.deviceAdoption.adopt.useMutation, P.deviceAdoption.release.useMutation, P.deviceAdoption.resync.useMutation, P.deviceAdoption.getStatus.useQuery, P.deviceDiscovery.listDiscovered.useQuery, P.deviceDiscovery.refreshDiscovery.useMutation, P.deviceDiscovery.adoptDevice.useMutation, P.deviceDiscovery.releaseDevice.useMutation, P.deviceDiscovery.getStatus.useQuery, P.deviceExport.getStatus.useQuery, P.deviceExport.listSupportedDeviceKinds.useQuery, P.deviceExport.listExposedDevices.useQuery, P.deviceExport.exposeDevice.useMutation, P.deviceExport.unexposeDevice.useMutation, P.deviceExport.getDeviceSettingsContribution.useQuery, P.deviceExport.getDeviceLiveContribution.useQuery, P.deviceExport.applyDeviceSettingsPatch.useMutation, P.deviceManager.allocateDeviceId.useMutation, P.deviceManager.registerDevice.useMutation, P.deviceManager.removeDevice.useMutation, P.deviceManager.persistConfig.useMutation, P.deviceManager.loadConfig.useQuery, P.deviceManager.loadRuntimeState.useQuery, P.deviceManager.loadMeta.useQuery, P.deviceManager.setName.useMutation, P.deviceManager.setLocation.useMutation, P.deviceManager.setType.useMutation, P.deviceManager.setIntegrationId.useMutation, P.deviceManager.setLinkDeviceId.useMutation, P.deviceManager.setPrimaryChildEntityId.useMutation, P.deviceManager.setChildLayout.useMutation, P.deviceManager.setDisplay.useMutation;
|
|
1652
1652
|
var nn = P.deviceManager.getRoleDisplayDefaults.useQuery;
|
|
1653
1653
|
P.deviceManager.setRoleDisplayDefaults.useMutation, P.deviceManager.getWireableFields.useQuery, P.deviceManager.setRole.useMutation, P.deviceManager.applyInitialMeta.useMutation, P.deviceManager.setMetadata.useMutation, P.deviceManager.listLocations.useQuery, P.deviceManager.addLocation.useMutation, P.deviceManager.removeLocation.useMutation, P.deviceManager.setDisabled.useMutation, P.deviceManager.listPersistedByAddon.useQuery;
|
|
1654
1654
|
var rn = P.deviceManager.listAll.useQuery, an = P.deviceManager.getDevice.useQuery;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
1
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BZSkUP2r.mjs";
|
|
2
2
|
//#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_osd_manager_page
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.41",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_osd_manager_page",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.119",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_osd_manager_page",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.82",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_osd_manager_page",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.119",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.41",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.82",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -5919,6 +5919,40 @@ var BaseAddon = class {
|
|
|
5919
5919
|
deviceSettingsSchema() {
|
|
5920
5920
|
return null;
|
|
5921
5921
|
}
|
|
5922
|
+
/**
|
|
5923
|
+
* INTEGRATION-LEVEL SETTINGS — declare which of this addon's global sections
|
|
5924
|
+
* ARE the configuration of its integration.
|
|
5925
|
+
*
|
|
5926
|
+
* Return the `ConfigSection.id`s, from {@link globalSettingsSchema}, that an
|
|
5927
|
+
* operator should find on the addon's integration page (System →
|
|
5928
|
+
* Integrations → <name>) rather than only in the cluster-wide list of every
|
|
5929
|
+
* addon. Empty (the default) means the addon has no integration-level
|
|
5930
|
+
* settings and no such surface is offered — this is opt-in, because whether
|
|
5931
|
+
* an addon's configuration IS its integration's configuration depends on the
|
|
5932
|
+
* nature of the integration.
|
|
5933
|
+
*
|
|
5934
|
+
* WHAT THIS IS NOT. It is not a scope. The selected sections keep living in
|
|
5935
|
+
* the ONE global schema, in the ONE addon store, written by the ONE
|
|
5936
|
+
* `updateGlobalSettings` path. There is deliberately no
|
|
5937
|
+
* `updateIntegrationSettings`: a second write path is how a surface acquires
|
|
5938
|
+
* a second store key, and this repo has shipped that twice (`btmPath@hub`,
|
|
5939
|
+
* D266). Selecting sections cannot introduce a key that selecting cannot.
|
|
5940
|
+
*
|
|
5941
|
+
* WHY IT IS A LIST OF SECTION IDS AND NOT A MARKER ON THE SECTION.
|
|
5942
|
+
* `ConfigFieldBase` used to carry `scope?: 'device' | 'global'` and it was
|
|
5943
|
+
* removed with the reason recorded at
|
|
5944
|
+
* `packages/types/src/interfaces/config-ui.ts:249` — *"a field's scope is
|
|
5945
|
+
* determined by WHICH schema it lives in, not by a field-level marker."* A
|
|
5946
|
+
* marker sprinkled across sections also has to borrow a field that already
|
|
5947
|
+
* means something else; borrowing `section.tab` put the literal word
|
|
5948
|
+
* "integration" into an operator-facing tab bar, because `tab` means "how to
|
|
5949
|
+
* GROUP this visually" and cannot also mean "where this lives" (D269
|
|
5950
|
+
* supersedes D268). One declaration, in one place, next to the schema whose
|
|
5951
|
+
* ids it names.
|
|
5952
|
+
*/
|
|
5953
|
+
integrationSettingSections() {
|
|
5954
|
+
return [];
|
|
5955
|
+
}
|
|
5922
5956
|
async getGlobalSettings(overlay, cap, nodeId) {
|
|
5923
5957
|
const schema = this.globalSettingsSchema(cap);
|
|
5924
5958
|
if (!schema) return { sections: [] };
|
|
@@ -5929,6 +5963,55 @@ var BaseAddon = class {
|
|
|
5929
5963
|
} : projected);
|
|
5930
5964
|
}
|
|
5931
5965
|
/**
|
|
5966
|
+
* The integration-level view of this addon's settings: exactly the sections
|
|
5967
|
+
* named by {@link integrationSettingSections}, hydrated from the SAME store
|
|
5968
|
+
* `getGlobalSettings` reads, and narrowed to cluster-scoped fields.
|
|
5969
|
+
*
|
|
5970
|
+
* Returns `null` when the addon declared nothing — an addon that opts out has
|
|
5971
|
+
* no integration settings surface at all, rather than an empty one that reads
|
|
5972
|
+
* as a failed load.
|
|
5973
|
+
*
|
|
5974
|
+
* Three properties hold BY CONSTRUCTION, which is why they are here in core
|
|
5975
|
+
* and not in whichever UI happens to render this:
|
|
5976
|
+
*
|
|
5977
|
+
* 1. **One key.** The payload is a SUBSET of the global schema, so a field
|
|
5978
|
+
* shown here is the same field, with the same bare key, that the addon's
|
|
5979
|
+
* own page shows. There is no integration-specific writer — callers save
|
|
5980
|
+
* through `updateGlobalSettings` — so a second store key is unreachable,
|
|
5981
|
+
* not merely discouraged.
|
|
5982
|
+
* 2. **No node scope.** `perNode: true` fields are DROPPED. Their store key
|
|
5983
|
+
* is `<key>@<nodeId>` and an integration is not a node; whichever node
|
|
5984
|
+
* such a field silently picked would be a wrong answer for the operator
|
|
5985
|
+
* who opened the page (D266).
|
|
5986
|
+
* 3. **No silent typo.** A declared id that names no section throws. The
|
|
5987
|
+
* alternative — skip it — turns a rename into a surface that quietly
|
|
5988
|
+
* empties, which looks exactly like an addon with nothing to configure.
|
|
5989
|
+
*/
|
|
5990
|
+
async getIntegrationSettings(nodeId) {
|
|
5991
|
+
const declared = this.integrationSettingSections();
|
|
5992
|
+
if (declared.length === 0) return null;
|
|
5993
|
+
const schema = this.globalSettingsSchema();
|
|
5994
|
+
if (!schema) throw new Error(`${this.constructor.name}: integrationSettingSections() names [${declared.join(", ")}] but globalSettingsSchema() returns null.`);
|
|
5995
|
+
const byId = new Map(schema.sections.map((section) => [section.id, section]));
|
|
5996
|
+
const sections = [];
|
|
5997
|
+
for (const id of declared) {
|
|
5998
|
+
const section = byId.get(id);
|
|
5999
|
+
if (!section) throw new Error(`${this.constructor.name}: integrationSettingSections() names unknown section "${id}". Known sections: [${[...byId.keys()].join(", ")}].`);
|
|
6000
|
+
const fields = dropPerNodeFields(section.fields);
|
|
6001
|
+
if (fields.length === 0) continue;
|
|
6002
|
+
sections.push({
|
|
6003
|
+
...section,
|
|
6004
|
+
fields
|
|
6005
|
+
});
|
|
6006
|
+
}
|
|
6007
|
+
if (sections.length === 0) return null;
|
|
6008
|
+
const projected = await this.resolveGlobalStore(nodeId);
|
|
6009
|
+
return hydrateSchema({
|
|
6010
|
+
...schema,
|
|
6011
|
+
sections
|
|
6012
|
+
}, projected);
|
|
6013
|
+
}
|
|
6014
|
+
/**
|
|
5932
6015
|
* The raw addon store PROJECTED onto the target node's bare per-node keys:
|
|
5933
6016
|
* every `perNode: true` field carries THAT node's scoped value on its bare
|
|
5934
6017
|
* key (absent scoped key ⇒ key absent, so the schema `default` wins — no
|
|
@@ -6232,6 +6315,41 @@ var BaseAddon = class {
|
|
|
6232
6315
|
* `hydrateSchema` does. Valueless structural fields (separator/info/…)
|
|
6233
6316
|
* don't declare `perNode` and are excluded by the `in` narrowing.
|
|
6234
6317
|
*/
|
|
6318
|
+
/**
|
|
6319
|
+
* The same fields with every `perNode: true` one removed, recursing into layout
|
|
6320
|
+
* containers exactly as {@link collectPerNodeFieldKeys} does. A container left
|
|
6321
|
+
* with no child is dropped rather than rendered empty.
|
|
6322
|
+
*
|
|
6323
|
+
* Used by `getIntegrationSettings`: an integration is not a node, so a field
|
|
6324
|
+
* whose store key is `<key>@<nodeId>` has no node to belong to there.
|
|
6325
|
+
*/
|
|
6326
|
+
function dropPerNodeFields(fields) {
|
|
6327
|
+
const kept = [];
|
|
6328
|
+
for (const field of fields) {
|
|
6329
|
+
if (field.type === "group") {
|
|
6330
|
+
const inner = dropPerNodeFields(field.fields);
|
|
6331
|
+
if (inner.length > 0) kept.push({
|
|
6332
|
+
...field,
|
|
6333
|
+
fields: inner
|
|
6334
|
+
});
|
|
6335
|
+
continue;
|
|
6336
|
+
}
|
|
6337
|
+
if (field.type === "sub-tabs") {
|
|
6338
|
+
const tabs = field.tabs.map((tab) => ({
|
|
6339
|
+
...tab,
|
|
6340
|
+
fields: dropPerNodeFields(tab.fields)
|
|
6341
|
+
})).filter((tab) => tab.fields.length > 0);
|
|
6342
|
+
if (tabs.length > 0) kept.push({
|
|
6343
|
+
...field,
|
|
6344
|
+
tabs
|
|
6345
|
+
});
|
|
6346
|
+
continue;
|
|
6347
|
+
}
|
|
6348
|
+
if ("perNode" in field && field.perNode === true) continue;
|
|
6349
|
+
kept.push(field);
|
|
6350
|
+
}
|
|
6351
|
+
return kept;
|
|
6352
|
+
}
|
|
6235
6353
|
function collectPerNodeFieldKeys(fields) {
|
|
6236
6354
|
const collected = [];
|
|
6237
6355
|
for (const field of fields) {
|
|
@@ -9571,6 +9689,10 @@ var addonSettingsCapability = {
|
|
|
9571
9689
|
kind: "mutation",
|
|
9572
9690
|
auth: "admin"
|
|
9573
9691
|
}),
|
|
9692
|
+
getIntegrationSettings: method(object({
|
|
9693
|
+
addonId: string(),
|
|
9694
|
+
nodeId: string().optional()
|
|
9695
|
+
}), SettingsSchemaWithValuesSchema.nullable()),
|
|
9574
9696
|
getDeviceSettings: method(object({
|
|
9575
9697
|
addonId: string(),
|
|
9576
9698
|
deviceId: number(),
|
|
@@ -35730,6 +35852,12 @@ Object.freeze({
|
|
|
35730
35852
|
addonId: null,
|
|
35731
35853
|
access: "view"
|
|
35732
35854
|
},
|
|
35855
|
+
"addonSettings.getIntegrationSettings": {
|
|
35856
|
+
capName: "addon-settings",
|
|
35857
|
+
capScope: "system",
|
|
35858
|
+
addonId: null,
|
|
35859
|
+
access: "view"
|
|
35860
|
+
},
|
|
35733
35861
|
"addonSettings.updateDeviceSettings": {
|
|
35734
35862
|
capName: "addon-settings",
|
|
35735
35863
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -5915,6 +5915,40 @@ var BaseAddon = class {
|
|
|
5915
5915
|
deviceSettingsSchema() {
|
|
5916
5916
|
return null;
|
|
5917
5917
|
}
|
|
5918
|
+
/**
|
|
5919
|
+
* INTEGRATION-LEVEL SETTINGS — declare which of this addon's global sections
|
|
5920
|
+
* ARE the configuration of its integration.
|
|
5921
|
+
*
|
|
5922
|
+
* Return the `ConfigSection.id`s, from {@link globalSettingsSchema}, that an
|
|
5923
|
+
* operator should find on the addon's integration page (System →
|
|
5924
|
+
* Integrations → <name>) rather than only in the cluster-wide list of every
|
|
5925
|
+
* addon. Empty (the default) means the addon has no integration-level
|
|
5926
|
+
* settings and no such surface is offered — this is opt-in, because whether
|
|
5927
|
+
* an addon's configuration IS its integration's configuration depends on the
|
|
5928
|
+
* nature of the integration.
|
|
5929
|
+
*
|
|
5930
|
+
* WHAT THIS IS NOT. It is not a scope. The selected sections keep living in
|
|
5931
|
+
* the ONE global schema, in the ONE addon store, written by the ONE
|
|
5932
|
+
* `updateGlobalSettings` path. There is deliberately no
|
|
5933
|
+
* `updateIntegrationSettings`: a second write path is how a surface acquires
|
|
5934
|
+
* a second store key, and this repo has shipped that twice (`btmPath@hub`,
|
|
5935
|
+
* D266). Selecting sections cannot introduce a key that selecting cannot.
|
|
5936
|
+
*
|
|
5937
|
+
* WHY IT IS A LIST OF SECTION IDS AND NOT A MARKER ON THE SECTION.
|
|
5938
|
+
* `ConfigFieldBase` used to carry `scope?: 'device' | 'global'` and it was
|
|
5939
|
+
* removed with the reason recorded at
|
|
5940
|
+
* `packages/types/src/interfaces/config-ui.ts:249` — *"a field's scope is
|
|
5941
|
+
* determined by WHICH schema it lives in, not by a field-level marker."* A
|
|
5942
|
+
* marker sprinkled across sections also has to borrow a field that already
|
|
5943
|
+
* means something else; borrowing `section.tab` put the literal word
|
|
5944
|
+
* "integration" into an operator-facing tab bar, because `tab` means "how to
|
|
5945
|
+
* GROUP this visually" and cannot also mean "where this lives" (D269
|
|
5946
|
+
* supersedes D268). One declaration, in one place, next to the schema whose
|
|
5947
|
+
* ids it names.
|
|
5948
|
+
*/
|
|
5949
|
+
integrationSettingSections() {
|
|
5950
|
+
return [];
|
|
5951
|
+
}
|
|
5918
5952
|
async getGlobalSettings(overlay, cap, nodeId) {
|
|
5919
5953
|
const schema = this.globalSettingsSchema(cap);
|
|
5920
5954
|
if (!schema) return { sections: [] };
|
|
@@ -5925,6 +5959,55 @@ var BaseAddon = class {
|
|
|
5925
5959
|
} : projected);
|
|
5926
5960
|
}
|
|
5927
5961
|
/**
|
|
5962
|
+
* The integration-level view of this addon's settings: exactly the sections
|
|
5963
|
+
* named by {@link integrationSettingSections}, hydrated from the SAME store
|
|
5964
|
+
* `getGlobalSettings` reads, and narrowed to cluster-scoped fields.
|
|
5965
|
+
*
|
|
5966
|
+
* Returns `null` when the addon declared nothing — an addon that opts out has
|
|
5967
|
+
* no integration settings surface at all, rather than an empty one that reads
|
|
5968
|
+
* as a failed load.
|
|
5969
|
+
*
|
|
5970
|
+
* Three properties hold BY CONSTRUCTION, which is why they are here in core
|
|
5971
|
+
* and not in whichever UI happens to render this:
|
|
5972
|
+
*
|
|
5973
|
+
* 1. **One key.** The payload is a SUBSET of the global schema, so a field
|
|
5974
|
+
* shown here is the same field, with the same bare key, that the addon's
|
|
5975
|
+
* own page shows. There is no integration-specific writer — callers save
|
|
5976
|
+
* through `updateGlobalSettings` — so a second store key is unreachable,
|
|
5977
|
+
* not merely discouraged.
|
|
5978
|
+
* 2. **No node scope.** `perNode: true` fields are DROPPED. Their store key
|
|
5979
|
+
* is `<key>@<nodeId>` and an integration is not a node; whichever node
|
|
5980
|
+
* such a field silently picked would be a wrong answer for the operator
|
|
5981
|
+
* who opened the page (D266).
|
|
5982
|
+
* 3. **No silent typo.** A declared id that names no section throws. The
|
|
5983
|
+
* alternative — skip it — turns a rename into a surface that quietly
|
|
5984
|
+
* empties, which looks exactly like an addon with nothing to configure.
|
|
5985
|
+
*/
|
|
5986
|
+
async getIntegrationSettings(nodeId) {
|
|
5987
|
+
const declared = this.integrationSettingSections();
|
|
5988
|
+
if (declared.length === 0) return null;
|
|
5989
|
+
const schema = this.globalSettingsSchema();
|
|
5990
|
+
if (!schema) throw new Error(`${this.constructor.name}: integrationSettingSections() names [${declared.join(", ")}] but globalSettingsSchema() returns null.`);
|
|
5991
|
+
const byId = new Map(schema.sections.map((section) => [section.id, section]));
|
|
5992
|
+
const sections = [];
|
|
5993
|
+
for (const id of declared) {
|
|
5994
|
+
const section = byId.get(id);
|
|
5995
|
+
if (!section) throw new Error(`${this.constructor.name}: integrationSettingSections() names unknown section "${id}". Known sections: [${[...byId.keys()].join(", ")}].`);
|
|
5996
|
+
const fields = dropPerNodeFields(section.fields);
|
|
5997
|
+
if (fields.length === 0) continue;
|
|
5998
|
+
sections.push({
|
|
5999
|
+
...section,
|
|
6000
|
+
fields
|
|
6001
|
+
});
|
|
6002
|
+
}
|
|
6003
|
+
if (sections.length === 0) return null;
|
|
6004
|
+
const projected = await this.resolveGlobalStore(nodeId);
|
|
6005
|
+
return hydrateSchema({
|
|
6006
|
+
...schema,
|
|
6007
|
+
sections
|
|
6008
|
+
}, projected);
|
|
6009
|
+
}
|
|
6010
|
+
/**
|
|
5928
6011
|
* The raw addon store PROJECTED onto the target node's bare per-node keys:
|
|
5929
6012
|
* every `perNode: true` field carries THAT node's scoped value on its bare
|
|
5930
6013
|
* key (absent scoped key ⇒ key absent, so the schema `default` wins — no
|
|
@@ -6228,6 +6311,41 @@ var BaseAddon = class {
|
|
|
6228
6311
|
* `hydrateSchema` does. Valueless structural fields (separator/info/…)
|
|
6229
6312
|
* don't declare `perNode` and are excluded by the `in` narrowing.
|
|
6230
6313
|
*/
|
|
6314
|
+
/**
|
|
6315
|
+
* The same fields with every `perNode: true` one removed, recursing into layout
|
|
6316
|
+
* containers exactly as {@link collectPerNodeFieldKeys} does. A container left
|
|
6317
|
+
* with no child is dropped rather than rendered empty.
|
|
6318
|
+
*
|
|
6319
|
+
* Used by `getIntegrationSettings`: an integration is not a node, so a field
|
|
6320
|
+
* whose store key is `<key>@<nodeId>` has no node to belong to there.
|
|
6321
|
+
*/
|
|
6322
|
+
function dropPerNodeFields(fields) {
|
|
6323
|
+
const kept = [];
|
|
6324
|
+
for (const field of fields) {
|
|
6325
|
+
if (field.type === "group") {
|
|
6326
|
+
const inner = dropPerNodeFields(field.fields);
|
|
6327
|
+
if (inner.length > 0) kept.push({
|
|
6328
|
+
...field,
|
|
6329
|
+
fields: inner
|
|
6330
|
+
});
|
|
6331
|
+
continue;
|
|
6332
|
+
}
|
|
6333
|
+
if (field.type === "sub-tabs") {
|
|
6334
|
+
const tabs = field.tabs.map((tab) => ({
|
|
6335
|
+
...tab,
|
|
6336
|
+
fields: dropPerNodeFields(tab.fields)
|
|
6337
|
+
})).filter((tab) => tab.fields.length > 0);
|
|
6338
|
+
if (tabs.length > 0) kept.push({
|
|
6339
|
+
...field,
|
|
6340
|
+
tabs
|
|
6341
|
+
});
|
|
6342
|
+
continue;
|
|
6343
|
+
}
|
|
6344
|
+
if ("perNode" in field && field.perNode === true) continue;
|
|
6345
|
+
kept.push(field);
|
|
6346
|
+
}
|
|
6347
|
+
return kept;
|
|
6348
|
+
}
|
|
6231
6349
|
function collectPerNodeFieldKeys(fields) {
|
|
6232
6350
|
const collected = [];
|
|
6233
6351
|
for (const field of fields) {
|
|
@@ -9567,6 +9685,10 @@ var addonSettingsCapability = {
|
|
|
9567
9685
|
kind: "mutation",
|
|
9568
9686
|
auth: "admin"
|
|
9569
9687
|
}),
|
|
9688
|
+
getIntegrationSettings: method(object({
|
|
9689
|
+
addonId: string(),
|
|
9690
|
+
nodeId: string().optional()
|
|
9691
|
+
}), SettingsSchemaWithValuesSchema.nullable()),
|
|
9570
9692
|
getDeviceSettings: method(object({
|
|
9571
9693
|
addonId: string(),
|
|
9572
9694
|
deviceId: number(),
|
|
@@ -35726,6 +35848,12 @@ Object.freeze({
|
|
|
35726
35848
|
addonId: null,
|
|
35727
35849
|
access: "view"
|
|
35728
35850
|
},
|
|
35851
|
+
"addonSettings.getIntegrationSettings": {
|
|
35852
|
+
capName: "addon-settings",
|
|
35853
|
+
capScope: "system",
|
|
35854
|
+
addonId: null,
|
|
35855
|
+
access: "view"
|
|
35856
|
+
},
|
|
35729
35857
|
"addonSettings.updateDeviceSettings": {
|
|
35730
35858
|
capName: "addon-settings",
|
|
35731
35859
|
capScope: "system",
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BZSkUP2r.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-B9oGcIm3.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|