@camstack/addon-admin-ui 1.2.619 → 1.2.620
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 +6 -0
- package/dist/assets/{Addons-qhklThGk.js → Addons-DJdolmfq.js} +1 -1
- package/dist/assets/{AdminPage-p4lB5Fpe.js → AdminPage-BHh-8_fU.js} +1 -1
- package/dist/assets/{AdminSectionedPage-BFv2Xw6N.js → AdminSectionedPage-iARsX8rZ.js} +1 -1
- package/dist/assets/{AiProfiles-B-dxBIKg.js → AiProfiles-2tnlEWXz.js} +1 -1
- package/dist/assets/{Authentication-DDM_vq4S.js → Authentication-Bem8tvA5.js} +1 -1
- package/dist/assets/{Build-BjneBe5B.js → Build-Ds722tnb.js} +1 -1
- package/dist/assets/{Calendars-Ctzy8AV9.js → Calendars-DNQrWvuF.js} +1 -1
- package/dist/assets/{CameraGrids-Cm5WKnXt.js → CameraGrids-C-z7UM1y.js} +1 -1
- package/dist/assets/{Cluster-CVJMfZ42.js → Cluster-VLE7u_Ba.js} +1 -1
- package/dist/assets/{CompositionBlockEditor-0z2mu3t6.js → CompositionBlockEditor-BbYo0Bux.js} +1 -1
- package/dist/assets/{CompositionEditorPage-1j2sCnRu.js → CompositionEditorPage-CKETxShe.js} +1 -1
- package/dist/assets/{Data-BNNQEpcR.js → Data-B9Er0g9D.js} +1 -1
- package/dist/assets/{DeviceDetail-DSCNzE1y.js → DeviceDetail-B3RYtusL.js} +1 -1
- package/dist/assets/{DeviceDoActionFields-7C1u_PJi.js → DeviceDoActionFields-CZFlS0_-.js} +1 -1
- package/dist/assets/{Devices-BgbnzzfZ.js → Devices-CGx0wAxP.js} +1 -1
- package/dist/assets/{EditTemplateButton-DuKvCool.js → EditTemplateButton-Bq1ffI4D.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-DwurG5x0.js → EmbedPlayerPage-4ehPr2TZ.js} +1 -1
- package/dist/assets/{History-DU71PLhs.js → History-Bx1E735e.js} +1 -1
- package/dist/assets/{Identity-CGw80A-k.js → Identity-CMUHSSqv.js} +1 -1
- package/dist/assets/{InstancesTable-B6AoSbVj.js → InstancesTable-gUkLAnsD.js} +1 -1
- package/dist/assets/{IntegrationDetail-DeGBbcGH.js → IntegrationDetail-Ehyor6u6.js} +1 -1
- package/dist/assets/{IntegrationHub-BIQpnYR2.js → IntegrationHub-BG7cMJsk.js} +1 -1
- package/dist/assets/{Integrations-D4mj85P9.js → Integrations-CUC8UK1M.js} +1 -1
- package/dist/assets/{Integrations-DF7omqiu.js → Integrations-DOCNqIar.js} +1 -1
- package/dist/assets/{Library-D8wV72jY.js → Library-BrzsxvAz.js} +1 -1
- package/dist/assets/{Locations-DbhR7PDh.js → Locations-CVrXgE35.js} +1 -1
- package/dist/assets/{Logs-BOnGDTgj.js → Logs-DsK5fRZR.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-Cza87RmJ.js → MaskShapeCanvas-Df0bxhWU.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DKlxpVn8.js → MotionZonesSettings-bzsZ9ORo.js} +1 -1
- package/dist/assets/{MyAccess-C4BQCgRy.js → MyAccess-DnTnl7UZ.js} +1 -1
- package/dist/assets/{Network-CxKlIu5D.js → Network-Bw36Tv36.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-CfwzTbg9.js → NodeAddonsSettingsPanel-R1b0cru-.js} +1 -1
- package/dist/assets/{Notifications-DtMN_68x.js → Notifications-DM1II39L.js} +1 -1
- package/dist/assets/{Pipeline-B300yepj.js → Pipeline-DC88azee.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-Lv0IY9ez.js → PrivacyMaskSettings-BSmAOhtT.js} +1 -1
- package/dist/assets/{Recordings-C_blIVhR.js → Recordings-BHU_meXJ.js} +1 -1
- package/dist/assets/{ScanSubnetEditor-DGWBfvLx.js → ScanSubnetEditor-DQvmvgy2.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-PsyMFXTc.js → SceneMonitorEditor-H8rTgYvL.js} +1 -1
- package/dist/assets/{SessionsList-B4EndC7R.js → SessionsList-CjmK3K2H.js} +1 -1
- package/dist/assets/{Showroom-Dsz2mSPD.js → Showroom-BVvH3mP_.js} +1 -1
- package/dist/assets/{StorageLocationsTable-CYC6XEal.js → StorageLocationsTable-DpJ7jfbm.js} +1 -1
- package/dist/assets/{System-Cy_BjinK.js → System-D4Q2GWws.js} +1 -1
- package/dist/assets/{Templates-DEgNE2GB.js → Templates-BEjJmEOH.js} +1 -1
- package/dist/assets/{Terminal-B8bzEbwg.js → Terminal-DnA50N1m.js} +1 -1
- package/dist/assets/{TrainingProviders-CQoJRka3.js → TrainingProviders-xT33i-sn.js} +1 -1
- package/dist/assets/{Viewer-CJd3jZoq.js → Viewer-BPoCOCf0.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-R2cWJ6br.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CLO1yhFQ.js} +1 -1
- package/dist/assets/{addon-icons-context-BgYAg_AS.js → addon-icons-context-BtBGiOr1.js} +1 -1
- package/dist/assets/{archive-D6vg-wI0.js → archive-D0a0mcxB.js} +1 -1
- package/dist/assets/{assignment-candidates-Cp7Uk_pQ.js → assignment-candidates-XbaIjrZx.js} +1 -1
- package/dist/assets/{authed-media-B7i1lINb.js → authed-media-BNSpauA7.js} +1 -1
- package/dist/assets/{bell-off-CsL9MH7N.js → bell-off-DdK8iLZs.js} +1 -1
- package/dist/assets/{boxes-DxmpmK5V.js → boxes-vsSDyvgc.js} +1 -1
- package/dist/assets/{calendar-clock-7Nojs9mt.js → calendar-clock-CoYYNqtJ.js} +1 -1
- package/dist/assets/circle-slash-ay8YxPUj.js +1 -0
- package/dist/assets/client-BvmEgDNh.js +809 -0
- package/dist/assets/{create-composition-C7Qbd1wb.js → create-composition-DI5jt0R9.js} +1 -1
- package/dist/assets/crop-BdvIrRYF.js +1 -0
- package/dist/assets/{database-zap-CxVxIBTn.js → database-zap-D8coLqwx.js} +1 -1
- package/dist/assets/{device-integration-icon-D30NfhT9.js → device-integration-icon-BC_Avp9o.js} +1 -1
- package/dist/assets/device-picker-model-Bjv-RXWx.js +1 -0
- package/dist/assets/{dist-BvYpsFO_.js → dist-BtYGlWrp.js} +1 -1
- package/dist/assets/dist-CHzqN6_y.js +809 -0
- package/dist/assets/{eraser-BzkE8iXt.js → eraser-Cen5rG9n.js} +1 -1
- package/dist/assets/{file-up-DqkBcPKT.js → file-up-Dmdm3s-W.js} +1 -1
- package/dist/assets/{grip-vertical-0UEXYzmF.js → grip-vertical-CfBM4Q2d.js} +1 -1
- package/dist/assets/{hard-drive-download-CqttlO8X.js → hard-drive-download-A53Ir3u_.js} +1 -1
- package/dist/assets/{hostInit-D-ueHBbk.js → hostInit-BZJ9ZClJ.js} +1 -1
- package/dist/assets/{icons-Bbof9kyX.js → icons-DOpP4xQB.js} +1 -1
- package/dist/assets/{index-pyp0GlvL.js → index-nTaq85cS.js} +3 -3
- package/dist/assets/{key-CvT6AW9M.js → key-DAZ5__Cz.js} +1 -1
- package/dist/assets/{key-square-BAc1dSEo.js → key-square-BYAGokh2.js} +1 -1
- package/dist/assets/{layers-DqTwg1W2.js → layers-QX48fc9O.js} +1 -1
- package/dist/assets/{link-2-off-ZsDUEngg.js → link-2-off-DJkRSf1H.js} +1 -1
- package/dist/assets/{linked-devices-model-k8TdNJeC.js → linked-devices-model-DkQyKUky.js} +1 -1
- package/dist/assets/{list-ordered-Tk3PwAeK.js → list-ordered-D9rezt8U.js} +1 -1
- package/dist/assets/{memory-stick-CD-Oqkj-.js → memory-stick-B0y6xRLf.js} +1 -1
- package/dist/assets/{message-square-plus-D4CYrw19.js → message-square-plus-beuwcCJE.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-12812593.js → mf-entry-bootstrap-0-0b131bc2.js} +2 -2
- package/dist/assets/{mic-off-BWLk6zFX.js → mic-off-JlShE5CX.js} +1 -1
- package/dist/assets/{monitor-off-T2-4dddP.js → monitor-off-D1aEAZKv.js} +1 -1
- package/dist/assets/{monitor-smartphone-CVkdYv9h.js → monitor-smartphone-DuS3QmFu.js} +1 -1
- package/dist/assets/mount-Bjv-RXWx.js +1 -0
- package/dist/assets/{player-overlays-CwGwFZ72.js → player-overlays-D3s97s6y.js} +1 -1
- package/dist/assets/remoteEntry-DaudLd-K.js +1 -0
- package/dist/assets/{ruler-BkA262Z_.js → ruler-Dm7ltXLY.js} +1 -1
- package/dist/assets/{scissors-DrkuZ54s.js → scissors-CscqL8Nh.js} +1 -1
- package/dist/assets/{search-x-DK-VuUk-.js → search-x-C4gWSmgx.js} +1 -1
- package/dist/assets/{send-C-abBdEc.js → send-J4jIQUsN.js} +1 -1
- package/dist/assets/{settings-2-BI3FVudo.js → settings-2-BeW9uEQI.js} +1 -1
- package/dist/assets/{shapes-DgKjCpym.js → shapes-CKU3AF4Y.js} +1 -1
- package/dist/assets/{sigma-KCXpAhXv.js → sigma-CTKfYM4-.js} +1 -1
- package/dist/assets/{speaker-Ck5eNYrC.js → speaker-Ck8srje1.js} +1 -1
- package/dist/assets/src-B-AT5yJl.js +100 -0
- package/dist/assets/{step-inspector-model-CSyTC4Fd.js → step-inspector-model-RAXDboWD.js} +1 -1
- package/dist/assets/{table-2-Cj7xaw73.js → table-2-aZySB4V2.js} +1 -1
- package/dist/assets/{timer-reset-CEn9vyrj.js → timer-reset-cWJEUvVi.js} +1 -1
- package/dist/assets/{tv-KMz8pUGf.js → tv-B5H99r1h.js} +1 -1
- package/dist/assets/{unlink-CLQJUZlx.js → unlink-BdyIoPhB.js} +1 -1
- package/dist/assets/{usb-DpTZYpPf.js → usb-BdbpQ7nA.js} +1 -1
- package/dist/assets/{use-device-bound-caps-D5tFsdYb.js → use-device-bound-caps-DoqwAZY7.js} +1 -1
- package/dist/assets/{use-scenes-feed-BO747psi.js → use-scenes-feed-CZ2-F4pX.js} +1 -1
- package/dist/assets/{use-stationary-objects-CNq1mqeR.js → use-stationary-objects-DGtrBOe7.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-noR-50GZ.js → useAdminDeviceRemoval-kKuk-Q3e.js} +1 -1
- package/dist/assets/useEventInvalidation-Bjv-RXWx.js +1 -0
- package/dist/assets/{useNodeUrlSelection-ALId1l-s.js → useNodeUrlSelection-Dj7g-m5p.js} +1 -1
- package/dist/assets/user-round-D_ydbSej.js +1 -0
- package/dist/assets/{user-x-D83olJnj.js → user-x-DSMsu42n.js} +1 -1
- package/dist/assets/{variable-RZa2sP45.js → variable-CmpJWWUH.js} +1 -1
- package/dist/assets/{video-Dat56_72.js → video-D4xSLzZ9.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-lRy3hnY3.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C-xMhgE3.js} +2 -2
- package/dist/index.html +8 -8
- package/dist/server/addon.js +154 -3
- package/package.json +2 -2
- package/dist/assets/circle-slash-BJcDFW8_.js +0 -1
- package/dist/assets/client-BXR6ajSS.js +0 -809
- package/dist/assets/crop-CIor6VRO.js +0 -1
- package/dist/assets/device-picker-model-C_ACIy4J.js +0 -1
- package/dist/assets/dist-B6QbwLbn.js +0 -809
- package/dist/assets/mount-C_ACIy4J.js +0 -1
- package/dist/assets/remoteEntry-C9A5776R.js +0 -1
- package/dist/assets/src-rr3LeNhN.js +0 -100
- package/dist/assets/useEventInvalidation-C_ACIy4J.js +0 -1
- package/dist/assets/user-round-CAZ5Tl1r.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -53608,6 +53608,56 @@ var StateLookSchema = object({
|
|
|
53608
53608
|
background: _enum(HERO_BACKGROUNDS),
|
|
53609
53609
|
animation: HeroAnimationSchema
|
|
53610
53610
|
});
|
|
53611
|
+
/** The scene as the model carries it. `null` = the device did not say (never a guess). */
|
|
53612
|
+
var HeroSceneSchema = object({
|
|
53613
|
+
id: _enum([
|
|
53614
|
+
"ac",
|
|
53615
|
+
"thermostat",
|
|
53616
|
+
"heater",
|
|
53617
|
+
"fan",
|
|
53618
|
+
"washer",
|
|
53619
|
+
"dryer",
|
|
53620
|
+
"dishwasher",
|
|
53621
|
+
"pet-fountain",
|
|
53622
|
+
"pet-feeder",
|
|
53623
|
+
"vacuum",
|
|
53624
|
+
"lawn-mower",
|
|
53625
|
+
"tv",
|
|
53626
|
+
"speaker",
|
|
53627
|
+
"camera",
|
|
53628
|
+
"light",
|
|
53629
|
+
"cover",
|
|
53630
|
+
"lock",
|
|
53631
|
+
"alarm",
|
|
53632
|
+
"siren",
|
|
53633
|
+
"sensor-sparkline",
|
|
53634
|
+
"contact",
|
|
53635
|
+
"presence",
|
|
53636
|
+
"weather",
|
|
53637
|
+
"plug",
|
|
53638
|
+
"button",
|
|
53639
|
+
"update",
|
|
53640
|
+
"control-dial",
|
|
53641
|
+
"event-stream",
|
|
53642
|
+
"gateway",
|
|
53643
|
+
"generic"
|
|
53644
|
+
]),
|
|
53645
|
+
mode: _enum([
|
|
53646
|
+
"cool",
|
|
53647
|
+
"heat",
|
|
53648
|
+
"dry",
|
|
53649
|
+
"fan",
|
|
53650
|
+
"auto",
|
|
53651
|
+
"playing",
|
|
53652
|
+
"paused",
|
|
53653
|
+
"open",
|
|
53654
|
+
"closed"
|
|
53655
|
+
]).nullable(),
|
|
53656
|
+
/** 0..1: volume, cover position, cycle progress. */
|
|
53657
|
+
level: number().min(0).max(1).nullable()
|
|
53658
|
+
});
|
|
53659
|
+
DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Heater, DeviceType.Dryer, DeviceType.Gateway;
|
|
53660
|
+
DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
|
|
53611
53661
|
/** A string in both languages, as the cap vocabulary writes it (D920): no `t()` in the model. */
|
|
53612
53662
|
var HeroTextSchema = object({
|
|
53613
53663
|
en: string(),
|
|
@@ -53759,6 +53809,32 @@ var HeroStateBackdropSchema = object({
|
|
|
53759
53809
|
token: _enum(HERO_BACKGROUNDS),
|
|
53760
53810
|
animation: _enum(HERO_ANIMATIONS)
|
|
53761
53811
|
});
|
|
53812
|
+
var HeroFactSchema = object({
|
|
53813
|
+
id: _enum([
|
|
53814
|
+
"power",
|
|
53815
|
+
"energy",
|
|
53816
|
+
"battery",
|
|
53817
|
+
"link",
|
|
53818
|
+
"phase",
|
|
53819
|
+
"remaining",
|
|
53820
|
+
"volume",
|
|
53821
|
+
"source",
|
|
53822
|
+
"consumables"
|
|
53823
|
+
]),
|
|
53824
|
+
icon: IconKeySchema.nullable(),
|
|
53825
|
+
text: HeroTextSchema,
|
|
53826
|
+
tone: HeroToneSchema
|
|
53827
|
+
});
|
|
53828
|
+
/** A labelled value beside the scene. */
|
|
53829
|
+
var HeroSideTileSchema = object({
|
|
53830
|
+
label: HeroTextSchema,
|
|
53831
|
+
value: HeroTextSchema,
|
|
53832
|
+
tone: HeroToneSchema.optional()
|
|
53833
|
+
});
|
|
53834
|
+
var HeroSideTilesSchema = object({
|
|
53835
|
+
left: array(HeroSideTileSchema).max(2),
|
|
53836
|
+
right: array(HeroSideTileSchema).max(2)
|
|
53837
|
+
});
|
|
53762
53838
|
var HeroBackgroundSchema = discriminatedUnion("kind", [object({
|
|
53763
53839
|
kind: literal("artwork"),
|
|
53764
53840
|
url: string(),
|
|
@@ -53782,6 +53858,11 @@ var HeroModelSchema = object({
|
|
|
53782
53858
|
stateAssumed: boolean(),
|
|
53783
53859
|
look: StateLookSchema,
|
|
53784
53860
|
background: HeroBackgroundSchema,
|
|
53861
|
+
/** Which animated picture the hero (and the list row) draws; its motion is `look.animation`. */
|
|
53862
|
+
scene: HeroSceneSchema,
|
|
53863
|
+
/** The top line's inline facts, in order; never wraps, so a client may cut the tail. */
|
|
53864
|
+
facts: array(HeroFactSchema),
|
|
53865
|
+
sideTiles: HeroSideTilesSchema,
|
|
53785
53866
|
/** The status line under the main icon. */
|
|
53786
53867
|
title: HeroTextSchema,
|
|
53787
53868
|
badges: array(HeroBadgeSchema),
|
|
@@ -53797,6 +53878,42 @@ var HeroModelSchema = object({
|
|
|
53797
53878
|
provenance: array(HeroProvenanceSchema)
|
|
53798
53879
|
});
|
|
53799
53880
|
/**
|
|
53881
|
+
* The ROW of a device in a list (D1023 P2): four fixed zones, all taken from
|
|
53882
|
+
* the hero model and nothing else.
|
|
53883
|
+
*
|
|
53884
|
+
* 1. mini-scene the same scene id as the hero, drawn 44x44 with the state look;
|
|
53885
|
+
* 2. name + ONE status line the facts joined by " · " by the client;
|
|
53886
|
+
* 3. the type's primary inline control;
|
|
53887
|
+
* 4. a trailing fact (power, else battery, else consumables).
|
|
53888
|
+
*
|
|
53889
|
+
* Selection rules, all taken from the model:
|
|
53890
|
+
* - ONE control is ever shown: the device's own power; else the FIRST control of
|
|
53891
|
+
* the FIRST row that has any (a later row's control is never promoted). When
|
|
53892
|
+
* the model lists that part in `gated`, the row has no inline control: the
|
|
53893
|
+
* projection never falls through to another control the caller could use.
|
|
53894
|
+
* - the status line is the head (what plays, else the state) plus at most
|
|
53895
|
+
* {@link ROW_STATUS_FACTS_MAX} facts, the trailing fact excluded;
|
|
53896
|
+
* - the trailing fact is the first of power, battery, consumables.
|
|
53897
|
+
*
|
|
53898
|
+
* `projectDeviceRow` is pure and computes nothing: it selects from a
|
|
53899
|
+
* {@link HeroModel}. A row that needed a value the hero lacks would mean the
|
|
53900
|
+
* model is missing it, so the fix goes in the model.
|
|
53901
|
+
*/
|
|
53902
|
+
var HeroRowModelSchema = object({
|
|
53903
|
+
deviceId: number().int(),
|
|
53904
|
+
name: string(),
|
|
53905
|
+
type: string(),
|
|
53906
|
+
state: HeroStateSchema,
|
|
53907
|
+
stateAssumed: boolean(),
|
|
53908
|
+
look: StateLookSchema,
|
|
53909
|
+
scene: HeroSceneSchema,
|
|
53910
|
+
/** Joined by " · ": the state (or what is playing), then the facts. */
|
|
53911
|
+
statusLine: array(HeroTextSchema),
|
|
53912
|
+
/** `null` = the type has no inline control, or the caller may not act on it. */
|
|
53913
|
+
primary: HeroControlSchema.nullable(),
|
|
53914
|
+
trailing: HeroFactSchema.nullable()
|
|
53915
|
+
});
|
|
53916
|
+
/**
|
|
53800
53917
|
* hero-layout — what a device's hero says (D1023). Read-only: the FIXED
|
|
53801
53918
|
* layouts live in `@camstack/types` and nothing here stores or edits one.
|
|
53802
53919
|
* `getHeroModel` builds the pure model from the device's bindings and its
|
|
@@ -53812,6 +53929,11 @@ var heroInput = object({
|
|
|
53812
53929
|
*/
|
|
53813
53930
|
canActuate: boolean().optional()
|
|
53814
53931
|
});
|
|
53932
|
+
var rowModelsInput = object({
|
|
53933
|
+
deviceIds: array(number().int().nonnegative()).max(500),
|
|
53934
|
+
/** As `canActuate` of `getHeroModel`; absent = may. */
|
|
53935
|
+
canActuate: boolean().optional()
|
|
53936
|
+
});
|
|
53815
53937
|
var HeroLayoutRowsSchema = object({
|
|
53816
53938
|
type: string(),
|
|
53817
53939
|
rows: array(HeroRowIdSchema)
|
|
@@ -53819,6 +53941,9 @@ var HeroLayoutRowsSchema = object({
|
|
|
53819
53941
|
method(heroInput, HeroModelSchema.nullable(), {
|
|
53820
53942
|
auth: "protected",
|
|
53821
53943
|
role: "viewer"
|
|
53944
|
+
}), method(rowModelsInput, array(HeroRowModelSchema.nullable()), {
|
|
53945
|
+
auth: "protected",
|
|
53946
|
+
role: "viewer"
|
|
53822
53947
|
}), method(object({ deviceType: string() }), HeroLayoutRowsSchema, {
|
|
53823
53948
|
auth: "protected",
|
|
53824
53949
|
role: "viewer"
|
|
@@ -54342,13 +54467,27 @@ var IntegrationInstancePatchSchema = object({
|
|
|
54342
54467
|
method(_void(), IntegrationInstanceDescriptionSchema, { auth: "admin" }), method(object({
|
|
54343
54468
|
id: IntegrationInstanceIdSchema.nullable(),
|
|
54344
54469
|
/** The kind of the create form (`id: null`) of a provider with several. */
|
|
54345
|
-
kind: string().min(1).optional()
|
|
54470
|
+
kind: string().min(1).optional(),
|
|
54471
|
+
/** The wizard mode of the integration type (`getAvailableTypes`); a form may differ per mode. */
|
|
54472
|
+
mode: _enum([
|
|
54473
|
+
"standalone",
|
|
54474
|
+
"account",
|
|
54475
|
+
"broker"
|
|
54476
|
+
]).optional(),
|
|
54477
|
+
/** The discovery candidate the wizard was seeded from (`stableId`), if any. */
|
|
54478
|
+
candidateStableId: string().min(1).optional()
|
|
54346
54479
|
}), ConfigSchemaPassthrough$2, { auth: "admin" }), method(_void(), array(IntegrationInstanceSchema).readonly(), { auth: "admin" }), method(object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable(), { auth: "admin" }), method(object({
|
|
54347
54480
|
id: IntegrationInstanceIdSchema.optional(),
|
|
54348
54481
|
name: string().min(1),
|
|
54349
54482
|
kind: string().min(1).optional(),
|
|
54350
54483
|
/** Form values written with the record (a link picked in the create dialog). */
|
|
54351
|
-
values: record(string(), unknown()).optional()
|
|
54484
|
+
values: record(string(), unknown()).optional(),
|
|
54485
|
+
/**
|
|
54486
|
+
* The discovery candidate (`stableId`) the instance is set up from. Kept on the integration
|
|
54487
|
+
* registry row of an instance that brings devices, so discovery stops offering a candidate
|
|
54488
|
+
* that already has its integration (D984). Ignored by an instance with no registry row.
|
|
54489
|
+
*/
|
|
54490
|
+
originStableId: string().min(1).optional()
|
|
54352
54491
|
}), object({ id: string() }), {
|
|
54353
54492
|
kind: "mutation",
|
|
54354
54493
|
auth: "admin"
|
|
@@ -79793,6 +79932,13 @@ Object.freeze({
|
|
|
79793
79932
|
access: "view",
|
|
79794
79933
|
role: "viewer"
|
|
79795
79934
|
},
|
|
79935
|
+
"heroLayout.getRowModels": {
|
|
79936
|
+
capName: "hero-layout",
|
|
79937
|
+
capScope: "system",
|
|
79938
|
+
addonId: null,
|
|
79939
|
+
access: "view",
|
|
79940
|
+
role: "viewer"
|
|
79941
|
+
},
|
|
79796
79942
|
"humidifier.getStatus": {
|
|
79797
79943
|
capName: "humidifier",
|
|
79798
79944
|
capScope: "device",
|
|
@@ -87754,6 +87900,11 @@ Object.freeze({
|
|
|
87754
87900
|
form: "single",
|
|
87755
87901
|
optional: false
|
|
87756
87902
|
}],
|
|
87903
|
+
"heroLayout.getRowModels": [{
|
|
87904
|
+
name: "deviceIds",
|
|
87905
|
+
form: "array",
|
|
87906
|
+
optional: false
|
|
87907
|
+
}],
|
|
87757
87908
|
"humidifier.getStatus": [{
|
|
87758
87909
|
name: "deviceId",
|
|
87759
87910
|
form: "single",
|
|
@@ -91061,7 +91212,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
91061
91212
|
capability: adminUiCapability,
|
|
91062
91213
|
provider: {
|
|
91063
91214
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
91064
|
-
getVersion: async () => ({ version: "1.2.
|
|
91215
|
+
getVersion: async () => ({ version: "1.2.620" })
|
|
91065
91216
|
}
|
|
91066
91217
|
}];
|
|
91067
91218
|
}
|
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.620",
|
|
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.813"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ga as e}from"./player-overlays-CwGwFZ72.js";var t=e(`circle-slash`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]);export{t};
|