@camstack/addon-admin-ui 1.2.697 → 1.2.698
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/CHANGELOG.md +7 -0
- package/dist/assets/{AccessSection-DdGWzCNU.js → AccessSection-C3Z4VMbn.js} +1 -1
- package/dist/assets/{Addons-B0bqL6tU.js → Addons-CBfB4PwF.js} +1 -1
- package/dist/assets/{AdminPage-CdTTxNI2.js → AdminPage-C0rgqBg5.js} +1 -1
- package/dist/assets/{AdminSectionedPage-naipwiRu.js → AdminSectionedPage-CrbDQuju.js} +1 -1
- package/dist/assets/{AiProfiles-DNb_fYYp.js → AiProfiles-Uzt6ITwV.js} +1 -1
- package/dist/assets/{Archive-7CE6jZjq.js → Archive-KiES4AK1.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-DFMtetlU.js → BootstrapSettingsForm-CNwsceSk.js} +1 -1
- package/dist/assets/{Build-DxY2TX10.js → Build-CLqFtQQF.js} +1 -1
- package/dist/assets/{Calendars-CP8C8VtZ.js → Calendars-fZrHEH0S.js} +1 -1
- package/dist/assets/{Cluster-C4FhspzG.js → Cluster-ZhXkbC8q.js} +1 -1
- package/dist/assets/{CompositionBlockEditor-MQKfvO2_.js → CompositionBlockEditor-BAgVN8yN.js} +1 -1
- package/dist/assets/{CompositionEditorPage-BTZJ1SGJ.js → CompositionEditorPage-Cjdi12u4.js} +1 -1
- package/dist/assets/{Data-C6KNxbbA.js → Data-DkKT4kg4.js} +1 -1
- package/dist/assets/{DeviceDetail-Osm-Rh6F.js → DeviceDetail-DphkoMAH.js} +1 -1
- package/dist/assets/{Devices-utVd78jI.js → Devices-C2_XrAsB.js} +1 -1
- package/dist/assets/{EmbedDevicePage-CB8RtuTi.js → EmbedDevicePage-B-kXRzxP.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-BR-eSBu0.js → EmbedPlayerPage-BKlnHqN7.js} +1 -1
- package/dist/assets/{History-tKHh0cHS.js → History-C8ZY-Ovj.js} +1 -1
- package/dist/assets/{Identity-6rJA2fNv.js → Identity-BELn4_Lg.js} +1 -1
- package/dist/assets/{InstancesTable-Gj2icd8R.js → InstancesTable-Blgr9UwH.js} +1 -1
- package/dist/assets/{IntegrationDetail-C5mkMk4l.js → IntegrationDetail-Bv3DXRXC.js} +1 -1
- package/dist/assets/{Integrations-DWhc4Sc8.js → Integrations-BNc3Xhbg.js} +1 -1
- package/dist/assets/{Integrations-BFnupnaS.js → Integrations-w_KbkNum.js} +1 -1
- package/dist/assets/{Library-FLyCVVDD.js → Library-CC-yVMZb.js} +1 -1
- package/dist/assets/{Locations-D-ZRoAVT.js → Locations-TgIsNyQs.js} +1 -1
- package/dist/assets/{Logs-D72884eX.js → Logs-CjVZvl-p.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-FsP-Pqfm.js → MaskShapeCanvas-Crc7Vee0.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DWnvsLfI.js → MotionZonesSettings-CPRbUvmE.js} +1 -1
- package/dist/assets/{MyAccess-CaeqS22Q.js → MyAccess-CvFEb2P_.js} +1 -1
- package/dist/assets/{Network-IA4ekRza.js → Network-BApaJTDv.js} +1 -1
- package/dist/assets/{NewExportModal-5HfHutIX.js → NewExportModal-B87f6wft.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-DEfnyzvR.js → NodeAddonsSettingsPanel-Dxp-6Ksw.js} +1 -1
- package/dist/assets/{Notifications-ClpQwHYS.js → Notifications-DXM5xtCq.js} +1 -1
- package/dist/assets/{PanelContent-CvEORG5m.js → PanelContent-D7u-ISFK.js} +1 -1
- package/dist/assets/{Pipeline-BsG-C_sg.js → Pipeline-Bujc9zjR.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-DCyzjqzQ.js → PrivacyMaskSettings-B1fiafV8.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-CV82fzoU.js → SceneMonitorEditor-D7pxuNnv.js} +1 -1
- package/dist/assets/{SessionsList-PTKo0Lkj.js → SessionsList-D6U14Yno.js} +1 -1
- package/dist/assets/{Showroom-BQd-Ik5x.js → Showroom-DU9iMIZh.js} +1 -1
- package/dist/assets/{StorageLocationsTable-CQpdu3Aj.js → StorageLocationsTable-B_F1eKHy.js} +1 -1
- package/dist/assets/{System-mDTNPf2A.js → System-1Jh6VozL.js} +1 -1
- package/dist/assets/{TemplateEditorDialog-CEGwmxkN.js → TemplateEditorDialog-UOirN96h.js} +1 -1
- package/dist/assets/{Terminal-f3U9kOJ9.js → Terminal-DyWFdRWL.js} +1 -1
- package/dist/assets/{TrainingProviders-RkzNtyQH.js → TrainingProviders-BG7DsUoT.js} +1 -1
- package/dist/assets/{Viewer-5BTY7nR7.js → Viewer-Cu1fVuMh.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Bjw5Y-ao.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Y8Q6lecu.js} +1 -1
- package/dist/assets/{action-draft-ClaKheRp.js → action-draft-D0S-LJcp.js} +1 -1
- package/dist/assets/{ai-page.helpers-UE-kLqk-.js → ai-page.helpers-DJ4SE1RA.js} +1 -1
- package/dist/assets/{assignment-candidates-4DJypkPw.js → assignment-candidates-FntpKIEo.js} +1 -1
- package/dist/assets/{authed-media-HuCfJg8e.js → authed-media-CkCP7Cpu.js} +1 -1
- package/dist/assets/{board-model-BiC_AOnT.js → board-model-CV7df4sG.js} +1 -1
- package/dist/assets/{camera-block-model-g3cq_EI_.js → camera-block-model-DoWj--hc.js} +1 -1
- package/dist/assets/client-Dn4ym7AZ.js +1122 -0
- package/dist/assets/{command-vocab-9mWzh5PF.js → command-vocab-B1KZgOMw.js} +1 -1
- package/dist/assets/{device-detail-YfGCWj8t.js → device-detail-QaaayAym.js} +1 -1
- package/dist/assets/{device-integration-icon-DM6LkNcP.js → device-integration-icon-BMTwf3mF.js} +1 -1
- package/dist/assets/device-picker-model-C0oitxOP.js +1 -0
- package/dist/assets/dist-BZARORuz.js +1122 -0
- package/dist/assets/{dist-CVN4KkB9.js → dist-D7aUh2j3.js} +1 -1
- package/dist/assets/{format-BFqaqsZF.js → format-D2Wcm0QP.js} +1 -1
- package/dist/assets/{hostInit-D0OCyJdS.js → hostInit-4wcUPS8D.js} +1 -1
- package/dist/assets/i18n-CsnSJSM7.js +1 -0
- package/dist/assets/{icons-DWGskgV4.js → icons-DK3iI8sz.js} +1 -1
- package/dist/assets/index-CgTEWhcQ.css +2 -0
- package/dist/assets/{index-BAoWvnYw.js → index-FA3cRm59.js} +3 -3
- package/dist/assets/{linked-devices-model-BzrCMmaN.js → linked-devices-model-C7til7aR.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-fadd666d.js → mf-entry-bootstrap-0-4aebb5a9.js} +2 -2
- package/dist/assets/mount-C0oitxOP.js +1 -0
- package/dist/assets/{notification-rule-status-DUgKlnjE.js → notification-rule-status-D5LkcHTp.js} +1 -1
- package/dist/assets/{player-overlays-BwkSi_4-.js → player-overlays-BKicBNcF.js} +1 -1
- package/dist/assets/remoteEntry-3rv7Sz7o.js +1 -0
- package/dist/assets/src-CU6u_Uvz.js +279 -0
- package/dist/assets/{sso-popup-Dgqs_a8a.js → sso-popup-Ceq4Jz8a.js} +1 -1
- package/dist/assets/{step-inspector-model-D61dFKRl.js → step-inspector-model-BzUVKPrw.js} +1 -1
- package/dist/assets/{use-scenes-feed-BhsIhVzS.js → use-scenes-feed-DA7UFRvT.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-5dMFC-df.js → useAdminDeviceRemoval-JYfuB8v_.js} +1 -1
- package/dist/assets/useEventInvalidation-C0oitxOP.js +1 -0
- package/dist/assets/{useNodeUrlSelection-DOGBUYEz.js → useNodeUrlSelection-CmeaBXTi.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-IXviF-_2.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DXs1P_5w.js} +2 -2
- package/dist/index.html +9 -9
- package/dist/server/addon.js +124 -2
- package/package.json +2 -2
- package/dist/assets/client-jwdAAPeF.js +0 -1122
- package/dist/assets/device-picker-model-CS9GUXwM.js +0 -1
- package/dist/assets/dist-DkjIIXcA.js +0 -1122
- package/dist/assets/i18n-CZf--AlM.js +0 -1
- package/dist/assets/index-Cdqk-EuE.css +0 -2
- package/dist/assets/mount-CS9GUXwM.js +0 -1
- package/dist/assets/remoteEntry-DmNGDfRG.js +0 -1
- package/dist/assets/src-CTVIVqdZ.js +0 -279
- package/dist/assets/useEventInvalidation-CS9GUXwM.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -5973,7 +5973,7 @@ var ZodIssueCode = {
|
|
|
5973
5973
|
var ZodFirstPartyTypeKind;
|
|
5974
5974
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5975
5975
|
//#endregion
|
|
5976
|
-
//#region ../types/dist/sleep-
|
|
5976
|
+
//#region ../types/dist/sleep-DO-ayTnk.mjs
|
|
5977
5977
|
/**
|
|
5978
5978
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5979
5979
|
* window to float samples (D455).
|
|
@@ -16814,6 +16814,17 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
16814
16814
|
},
|
|
16815
16815
|
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
16816
16816
|
},
|
|
16817
|
+
"device-state-refresh": {
|
|
16818
|
+
scope: "device",
|
|
16819
|
+
noun: {
|
|
16820
|
+
en: "State refresh",
|
|
16821
|
+
it: "Aggiornamento dello stato"
|
|
16822
|
+
},
|
|
16823
|
+
notOperatorFacing: {
|
|
16824
|
+
refresh: "the core schedules state refreshes itself; an operator never asks for one",
|
|
16825
|
+
resubscribe: "the core schedules state refreshes itself; an operator never asks for one"
|
|
16826
|
+
}
|
|
16827
|
+
},
|
|
16817
16828
|
"recording": {
|
|
16818
16829
|
scope: "device",
|
|
16819
16830
|
noun: {
|
|
@@ -19787,6 +19798,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
19787
19798
|
"device-removal-hook",
|
|
19788
19799
|
"device-runs",
|
|
19789
19800
|
"device-state",
|
|
19801
|
+
"device-state-refresh",
|
|
19790
19802
|
"device-status",
|
|
19791
19803
|
"device-transitions",
|
|
19792
19804
|
"dishwasher",
|
|
@@ -60951,6 +60963,88 @@ confirmed: boolean().optional() }), record(string(), record(string(), record(str
|
|
|
60951
60963
|
slice: record(string(), unknown())
|
|
60952
60964
|
}));
|
|
60953
60965
|
/**
|
|
60966
|
+
* Server-driven device state refresh (D1062): the core decides WHEN a device is
|
|
60967
|
+
* re-read, the integration only knows HOW.
|
|
60968
|
+
*
|
|
60969
|
+
* A provider states its policy where it registers the device's
|
|
60970
|
+
* `device-state-refresh` cap (`ctx.registerNativeCap(cap, provider, {
|
|
60971
|
+
* stateRefresh })`). It reaches the hub by the road the command-hold options
|
|
60972
|
+
* take (D1061): written directly in-process, carried on a forked child's cap
|
|
60973
|
+
* descriptors otherwise. Plain data, wire-safe.
|
|
60974
|
+
*/
|
|
60975
|
+
/** Why the core asks for a refresh. */
|
|
60976
|
+
var StateRefreshReasonSchema = _enum([
|
|
60977
|
+
"schedule",
|
|
60978
|
+
"command",
|
|
60979
|
+
"burst"
|
|
60980
|
+
]);
|
|
60981
|
+
/**
|
|
60982
|
+
* What arrives without asking: `none` (everything is read), `partial` (some
|
|
60983
|
+
* fields arrive by push, the rest is read on the schedule), `full` (everything
|
|
60984
|
+
* arrives by push — never read on a schedule).
|
|
60985
|
+
*/
|
|
60986
|
+
var StateRefreshPushSchema = _enum([
|
|
60987
|
+
"none",
|
|
60988
|
+
"partial",
|
|
60989
|
+
"full"
|
|
60990
|
+
]);
|
|
60991
|
+
object({
|
|
60992
|
+
/**
|
|
60993
|
+
* The integration instance the device belongs to. Devices of one instance
|
|
60994
|
+
* share one schedule group: a batching provider is asked once for all of
|
|
60995
|
+
* them, and the heartbeat is judged across them.
|
|
60996
|
+
*/
|
|
60997
|
+
integrationId: string().min(1),
|
|
60998
|
+
/** The fastest interval the integration can afford for its devices. The core polls at it by default. */
|
|
60999
|
+
minIntervalMs: number$1().int().min(1e3),
|
|
61000
|
+
/**
|
|
61001
|
+
* The operator's per-integration setting, when there is one. It can only SLOW
|
|
61002
|
+
* the cadence: the core polls at `max(minIntervalMs, intervalMs)`.
|
|
61003
|
+
*/
|
|
61004
|
+
intervalMs: number$1().int().positive().optional(),
|
|
61005
|
+
/** One `refresh` call can read every device of the integration at once. */
|
|
61006
|
+
batch: boolean(),
|
|
61007
|
+
push: StateRefreshPushSchema,
|
|
61008
|
+
/** Longest silence a push integration may keep before the core re-reads it and asks it to resubscribe. */
|
|
61009
|
+
heartbeatMs: number$1().int().positive().optional(),
|
|
61010
|
+
/**
|
|
61011
|
+
* Bumped by the provider each time its push subscription reconnected on its
|
|
61012
|
+
* own. A change makes the core re-read every device of the integration
|
|
61013
|
+
* (pushes lost while it was down; events may be dropped, D8).
|
|
61014
|
+
*/
|
|
61015
|
+
connectionEpoch: number$1().int().nonnegative().optional()
|
|
61016
|
+
});
|
|
61017
|
+
/**
|
|
61018
|
+
* device-state-refresh — the HOW of a device's state refresh, called by the
|
|
61019
|
+
* core, which owns the WHEN (D1062).
|
|
61020
|
+
*
|
|
61021
|
+
* The provider registers it per device with its policy
|
|
61022
|
+
* (`registerNativeCap(cap, provider, { stateRefresh })`). The hub's scheduler
|
|
61023
|
+
* calls `refresh` on the schedule, after a command and in the burst that
|
|
61024
|
+
* follows it, and `resubscribe` when a push integration fell silent. The
|
|
61025
|
+
* provider re-reads and writes the slices it already writes; nothing is
|
|
61026
|
+
* returned but completion.
|
|
61027
|
+
*/
|
|
61028
|
+
var DeviceStateRefreshInputSchema = object({
|
|
61029
|
+
/** The device the call is routed by (one of `deviceIds`). */
|
|
61030
|
+
deviceId: number$1().int().nonnegative(),
|
|
61031
|
+
/** Every device to re-read: one, or the integration's whole set when the provider batches. */
|
|
61032
|
+
deviceIds: array(number$1().int().nonnegative()).min(1),
|
|
61033
|
+
reason: StateRefreshReasonSchema
|
|
61034
|
+
});
|
|
61035
|
+
var DeviceStateResubscribeInputSchema = object({ deviceId: number$1().int().nonnegative() });
|
|
61036
|
+
var DeviceStateRefreshResultSchema = object({ ok: literal(true) });
|
|
61037
|
+
var NOT_OPERATOR_FACING = "the core schedules state refreshes itself; an operator never asks for one";
|
|
61038
|
+
method(DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, {
|
|
61039
|
+
kind: "mutation",
|
|
61040
|
+
auth: "admin",
|
|
61041
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
61042
|
+
}), method(DeviceStateResubscribeInputSchema, DeviceStateRefreshResultSchema, {
|
|
61043
|
+
kind: "mutation",
|
|
61044
|
+
auth: "admin",
|
|
61045
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
61046
|
+
});
|
|
61047
|
+
/**
|
|
60954
61048
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
60955
61049
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
60956
61050
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -95024,6 +95118,20 @@ Object.freeze({
|
|
|
95024
95118
|
access: "create",
|
|
95025
95119
|
role: "admin"
|
|
95026
95120
|
},
|
|
95121
|
+
"deviceStateRefresh.refresh": {
|
|
95122
|
+
capName: "device-state-refresh",
|
|
95123
|
+
capScope: "device",
|
|
95124
|
+
addonId: null,
|
|
95125
|
+
access: "create",
|
|
95126
|
+
role: "admin"
|
|
95127
|
+
},
|
|
95128
|
+
"deviceStateRefresh.resubscribe": {
|
|
95129
|
+
capName: "device-state-refresh",
|
|
95130
|
+
capScope: "device",
|
|
95131
|
+
addonId: null,
|
|
95132
|
+
access: "create",
|
|
95133
|
+
role: "admin"
|
|
95134
|
+
},
|
|
95027
95135
|
"deviceStatus.getStatus": {
|
|
95028
95136
|
capName: "device-status",
|
|
95029
95137
|
capScope: "device",
|
|
@@ -103534,6 +103642,20 @@ Object.freeze({
|
|
|
103534
103642
|
form: "single",
|
|
103535
103643
|
optional: false
|
|
103536
103644
|
}],
|
|
103645
|
+
"deviceStateRefresh.refresh": [{
|
|
103646
|
+
name: "deviceId",
|
|
103647
|
+
form: "single",
|
|
103648
|
+
optional: false
|
|
103649
|
+
}, {
|
|
103650
|
+
name: "deviceIds",
|
|
103651
|
+
form: "array",
|
|
103652
|
+
optional: false
|
|
103653
|
+
}],
|
|
103654
|
+
"deviceStateRefresh.resubscribe": [{
|
|
103655
|
+
name: "deviceId",
|
|
103656
|
+
form: "single",
|
|
103657
|
+
optional: false
|
|
103658
|
+
}],
|
|
103537
103659
|
"deviceStatus.getStatus": [{
|
|
103538
103660
|
name: "deviceId",
|
|
103539
103661
|
form: "single",
|
|
@@ -107342,7 +107464,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
107342
107464
|
capability: adminUiCapability,
|
|
107343
107465
|
provider: {
|
|
107344
107466
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
107345
|
-
getVersion: async () => ({ version: "1.2.
|
|
107467
|
+
getVersion: async () => ({ version: "1.2.698" })
|
|
107346
107468
|
}
|
|
107347
107469
|
}];
|
|
107348
107470
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.698",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Admin UI — Vite frontend build and server-side addon",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"requires": {
|
|
53
|
-
"server": ">=1.2.
|
|
53
|
+
"server": ">=1.2.899"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|