@camstack/addon-model-studio 1.1.286 → 1.1.287
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/{MotionZonesSettings-Bh-KUgfj.mjs → MotionZonesSettings-D0BtqOwj.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BbLJKLoV.mjs → PrivacyMaskSettings-BYJj-5D1.mjs} +4 -4
- package/dist/{SceneMonitorEditor-qruDlUP9.mjs → SceneMonitorEditor-D1kveRgB.mjs} +3 -3
- package/dist/_stub.js +3555 -3751
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CdxolZWr.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BzQpOYl5.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MeghOR6t.mjs +26 -0
- package/dist/addon-model-studio.css +1 -1
- package/dist/{hostInit-C7HoBhCX.mjs → hostInit-DRhSO1r5.mjs} +3 -3
- package/dist/model-studio.addon.js +151 -83
- package/dist/model-studio.addon.mjs +151 -83
- package/dist/{player-overlays-BFVZeg7l.mjs → player-overlays-D92X0xJg.mjs} +19 -12
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DCC2zJt3.mjs → responsive-D-jqRXmN.mjs} +1 -1
- package/dist/{scene-monitor-copy-gZOBiDdj.mjs → scene-monitor-copy-DMdZvxkb.mjs} +1 -1
- package/dist/{square-_l-jB_AO.mjs → square-epfZBUKr.mjs} +1 -1
- package/dist/{trash-2-DOwb-qnd.mjs → trash-2-Bc8klFfu.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BLWi3oEJ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CPVxvHfW.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BliJpcti.mjs +0 -26
|
@@ -5800,7 +5800,7 @@ var ZodIssueCode = {
|
|
|
5800
5800
|
var ZodFirstPartyTypeKind;
|
|
5801
5801
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5802
5802
|
//#endregion
|
|
5803
|
-
//#region ../types/dist/sleep-
|
|
5803
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5804
5804
|
/**
|
|
5805
5805
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5806
5806
|
* window to float samples (D455).
|
|
@@ -8684,7 +8684,11 @@ var ContributionSectionSchema = object({
|
|
|
8684
8684
|
literal(4)
|
|
8685
8685
|
]).optional(),
|
|
8686
8686
|
tab: string().optional(),
|
|
8687
|
-
location: _enum([
|
|
8687
|
+
location: _enum([
|
|
8688
|
+
"settings",
|
|
8689
|
+
"top-tab",
|
|
8690
|
+
"hero"
|
|
8691
|
+
]).optional(),
|
|
8688
8692
|
order: number().optional(),
|
|
8689
8693
|
fields: array(any())
|
|
8690
8694
|
});
|
|
@@ -13781,7 +13785,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13781
13785
|
literal(4)
|
|
13782
13786
|
]).optional(),
|
|
13783
13787
|
tab: string().optional(),
|
|
13784
|
-
location: _enum([
|
|
13788
|
+
location: _enum([
|
|
13789
|
+
"settings",
|
|
13790
|
+
"top-tab",
|
|
13791
|
+
"hero"
|
|
13792
|
+
]).optional(),
|
|
13785
13793
|
order: number().optional(),
|
|
13786
13794
|
fields: array(any())
|
|
13787
13795
|
});
|
|
@@ -17583,6 +17591,52 @@ var TierStatusSchema = object({
|
|
|
17583
17591
|
countedAt: number().nullable()
|
|
17584
17592
|
});
|
|
17585
17593
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17594
|
+
/**
|
|
17595
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17596
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17597
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17598
|
+
*/
|
|
17599
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17600
|
+
/** Rows held per stored tier. */
|
|
17601
|
+
var TierRowsSchema = object({
|
|
17602
|
+
raw: number().int(),
|
|
17603
|
+
"5m": number().int(),
|
|
17604
|
+
"1h": number().int(),
|
|
17605
|
+
"1d": number().int()
|
|
17606
|
+
});
|
|
17607
|
+
var OrphanSeriesSchema = object({
|
|
17608
|
+
seriesId: number().int(),
|
|
17609
|
+
deviceId: number().int(),
|
|
17610
|
+
key: string(),
|
|
17611
|
+
scope: string(),
|
|
17612
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17613
|
+
displayName: string().nullable(),
|
|
17614
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17615
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17616
|
+
missingSince: number().nullable(),
|
|
17617
|
+
firstTs: number(),
|
|
17618
|
+
lastTs: number(),
|
|
17619
|
+
rows: TierRowsSchema
|
|
17620
|
+
});
|
|
17621
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17622
|
+
"not-found",
|
|
17623
|
+
"not-orphan",
|
|
17624
|
+
"failed"
|
|
17625
|
+
]);
|
|
17626
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17627
|
+
seriesId: number().int(),
|
|
17628
|
+
ok: literal(true),
|
|
17629
|
+
deleted: TierRowsSchema
|
|
17630
|
+
}), object({
|
|
17631
|
+
seriesId: number().int(),
|
|
17632
|
+
ok: literal(false),
|
|
17633
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17634
|
+
})]);
|
|
17635
|
+
var OrphanListSchema = object({
|
|
17636
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17637
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17638
|
+
truncated: boolean()
|
|
17639
|
+
});
|
|
17586
17640
|
var DeviceHistoryStatusSchema = object({
|
|
17587
17641
|
startedAt: number(),
|
|
17588
17642
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17680,7 +17734,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17680
17734
|
}), object({ enabled: boolean() }), {
|
|
17681
17735
|
kind: "mutation",
|
|
17682
17736
|
auth: "admin"
|
|
17683
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17737
|
+
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
|
|
17738
|
+
kind: "mutation",
|
|
17739
|
+
auth: "admin"
|
|
17740
|
+
});
|
|
17684
17741
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17685
17742
|
object({ state: literal("absent") }),
|
|
17686
17743
|
object({
|
|
@@ -54695,17 +54752,69 @@ object({
|
|
|
54695
54752
|
});
|
|
54696
54753
|
DeviceType.Sensor;
|
|
54697
54754
|
/**
|
|
54698
|
-
* Generic device-consumables capability —
|
|
54699
|
-
*
|
|
54700
|
-
* descaling cycles,
|
|
54701
|
-
*
|
|
54702
|
-
*
|
|
54703
|
-
*
|
|
54755
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54756
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54757
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54758
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54759
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54760
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54761
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54762
|
+
* verbatim and says which `kind` it is.
|
|
54763
|
+
*
|
|
54764
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54765
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54766
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54704
54767
|
*
|
|
54705
54768
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54706
54769
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54707
54770
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54708
54771
|
*/
|
|
54772
|
+
/**
|
|
54773
|
+
* What an item IS, which decides which direction is bad:
|
|
54774
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54775
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54776
|
+
* salt, rinse aid); low or empty is bad.
|
|
54777
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54778
|
+
* bad.
|
|
54779
|
+
* Absent = `wear`.
|
|
54780
|
+
*/
|
|
54781
|
+
var ConsumableKindSchema = _enum([
|
|
54782
|
+
"wear",
|
|
54783
|
+
"supply",
|
|
54784
|
+
"waste"
|
|
54785
|
+
]);
|
|
54786
|
+
/**
|
|
54787
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54788
|
+
* of `kind`, which decides which direction is bad:
|
|
54789
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54790
|
+
* remaining time and a reset.
|
|
54791
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54792
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54793
|
+
* a stepped level and "refill".
|
|
54794
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54795
|
+
* that warns when full.
|
|
54796
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54797
|
+
*/
|
|
54798
|
+
var ConsumableFormSchema = _enum([
|
|
54799
|
+
"part",
|
|
54800
|
+
"tank",
|
|
54801
|
+
"product",
|
|
54802
|
+
"bin"
|
|
54803
|
+
]);
|
|
54804
|
+
/** The provider's own discrete verdict on an item. */
|
|
54805
|
+
var ConsumableStatusSchema = _enum([
|
|
54806
|
+
"ok",
|
|
54807
|
+
"low",
|
|
54808
|
+
"empty",
|
|
54809
|
+
"full",
|
|
54810
|
+
"replace"
|
|
54811
|
+
]);
|
|
54812
|
+
_enum([
|
|
54813
|
+
"ok",
|
|
54814
|
+
"low",
|
|
54815
|
+
"empty",
|
|
54816
|
+
"full"
|
|
54817
|
+
]);
|
|
54709
54818
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54710
54819
|
* each. */
|
|
54711
54820
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54725,10 +54834,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54725
54834
|
key: string().min(1),
|
|
54726
54835
|
/** Display name. */
|
|
54727
54836
|
label: string().min(1),
|
|
54728
|
-
/** Remaining life % when known (0..100). */
|
|
54837
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54729
54838
|
level: number().min(0).max(100).nullable(),
|
|
54730
|
-
/**
|
|
54731
|
-
status:
|
|
54839
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54840
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54841
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54842
|
+
kind: ConsumableKindSchema.optional(),
|
|
54843
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54844
|
+
form: ConsumableFormSchema.optional(),
|
|
54732
54845
|
/** Ms epoch of the last replace, when known. */
|
|
54733
54846
|
lastResetAt: number().nullable(),
|
|
54734
54847
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54963,8 +55076,9 @@ object({
|
|
|
54963
55076
|
status: DeviceStatusSchema
|
|
54964
55077
|
});
|
|
54965
55078
|
/**
|
|
54966
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54967
|
-
*
|
|
55079
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
55080
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
55081
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54968
55082
|
*
|
|
54969
55083
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54970
55084
|
* by any integration that exposes the same program / option surface.
|
|
@@ -55012,11 +55126,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
55012
55126
|
"offline",
|
|
55013
55127
|
"description-missing"
|
|
55014
55128
|
]);
|
|
55015
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
55016
|
-
"ok",
|
|
55017
|
-
"low",
|
|
55018
|
-
"empty"
|
|
55019
|
-
]);
|
|
55020
55129
|
object({
|
|
55021
55130
|
availability: DishwasherAvailabilitySchema,
|
|
55022
55131
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -55049,8 +55158,6 @@ object({
|
|
|
55049
55158
|
powerOn: boolean().nullable(),
|
|
55050
55159
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55051
55160
|
powerState: string().nullable(),
|
|
55052
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55053
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55054
55161
|
/**
|
|
55055
55162
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55056
55163
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -61833,60 +61940,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61833
61940
|
auth: "admin",
|
|
61834
61941
|
access: "delete"
|
|
61835
61942
|
});
|
|
61836
|
-
/**
|
|
61837
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61838
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61839
|
-
* optional fan-speed selector.
|
|
61840
|
-
*
|
|
61841
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61842
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61843
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61844
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61845
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61846
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61847
|
-
*
|
|
61848
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61849
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61850
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61851
|
-
*
|
|
61852
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61853
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61854
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61855
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61856
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61857
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61858
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61859
|
-
* so the HA provider leaves all four `null`.
|
|
61860
|
-
*/
|
|
61861
|
-
var VacuumStateSchema = _enum([
|
|
61862
|
-
"idle",
|
|
61863
|
-
"cleaning",
|
|
61864
|
-
"paused",
|
|
61865
|
-
"returning",
|
|
61866
|
-
"docked",
|
|
61867
|
-
"drying",
|
|
61868
|
-
"error"
|
|
61869
|
-
]);
|
|
61870
|
-
/**
|
|
61871
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61872
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61873
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61874
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61875
|
-
* hardware has no such tank at all.
|
|
61876
|
-
*/
|
|
61877
|
-
var TankStatusSchema = object({
|
|
61878
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61879
|
-
level: number().min(0).max(100).nullable(),
|
|
61880
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61881
|
-
status: _enum([
|
|
61882
|
-
"ok",
|
|
61883
|
-
"low",
|
|
61884
|
-
"full"
|
|
61885
|
-
]).nullable()
|
|
61886
|
-
});
|
|
61887
61943
|
object({
|
|
61888
61944
|
/** Lifecycle state of the vacuum. */
|
|
61889
|
-
state:
|
|
61945
|
+
state: _enum([
|
|
61946
|
+
"idle",
|
|
61947
|
+
"cleaning",
|
|
61948
|
+
"paused",
|
|
61949
|
+
"returning",
|
|
61950
|
+
"docked",
|
|
61951
|
+
"drying",
|
|
61952
|
+
"error"
|
|
61953
|
+
]),
|
|
61890
61954
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61891
61955
|
* reading. */
|
|
61892
61956
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61895,14 +61959,6 @@ object({
|
|
|
61895
61959
|
fanSpeed: string().nullable(),
|
|
61896
61960
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61897
61961
|
availableFanSpeeds: array(string()),
|
|
61898
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61899
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61900
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61901
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61902
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61903
|
-
detergent: TankStatusSchema.nullable(),
|
|
61904
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61905
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61906
61962
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61907
61963
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61908
61964
|
/** Current error code (0 / null = no error). */
|
|
@@ -64541,6 +64597,12 @@ Object.freeze({
|
|
|
64541
64597
|
addonId: null,
|
|
64542
64598
|
access: "create"
|
|
64543
64599
|
},
|
|
64600
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64601
|
+
capName: "device-history",
|
|
64602
|
+
capScope: "system",
|
|
64603
|
+
addonId: null,
|
|
64604
|
+
access: "delete"
|
|
64605
|
+
},
|
|
64544
64606
|
"deviceHistory.getDeviceEnabled": {
|
|
64545
64607
|
capName: "device-history",
|
|
64546
64608
|
capScope: "system",
|
|
@@ -64559,6 +64621,12 @@ Object.freeze({
|
|
|
64559
64621
|
addonId: null,
|
|
64560
64622
|
access: "view"
|
|
64561
64623
|
},
|
|
64624
|
+
"deviceHistory.listOrphanSeries": {
|
|
64625
|
+
capName: "device-history",
|
|
64626
|
+
capScope: "system",
|
|
64627
|
+
addonId: null,
|
|
64628
|
+
access: "view"
|
|
64629
|
+
},
|
|
64562
64630
|
"deviceHistory.listSeries": {
|
|
64563
64631
|
capName: "device-history",
|
|
64564
64632
|
capScope: "system",
|
|
@@ -74564,7 +74632,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74564
74632
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74565
74633
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74566
74634
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74567
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74635
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74568
74636
|
([...RULE_TEXT], [...TANK]),
|
|
74569
74637
|
[...RULE_TEXT],
|
|
74570
74638
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, d as t, u as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import { g as s, h as c } from "./responsive-
|
|
3
|
+
import { g as s, h as c } from "./responsive-D-jqRXmN.mjs";
|
|
4
4
|
var l = s("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
|
6
6
|
key: "qrunsl"
|
|
@@ -11,24 +11,31 @@ var l = s("chevron-down", [["path", {
|
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region ../ui-library/src/composites/widget-panel.tsx
|
|
13
13
|
e();
|
|
14
|
-
function d({ title: e, icon: t, headerRight: n, collapsible: s = !1, defaultOpen: c = !0,
|
|
15
|
-
let [
|
|
14
|
+
function d({ title: e, icon: t, headerRight: n, collapsible: s = !1, defaultOpen: c = !0, open: d, onOpenChange: f, bodyClassName: p = "p-3", children: m }) {
|
|
15
|
+
let [h, g] = r(c), _ = d ?? h, v = () => {
|
|
16
|
+
let e = !_;
|
|
17
|
+
d === void 0 && g(e), f?.(e);
|
|
18
|
+
}, y = !s || _, b = /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ a("span", {
|
|
16
19
|
className: "flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground",
|
|
17
20
|
children: [t, e]
|
|
18
|
-
}), s ?
|
|
21
|
+
}), s ? /* @__PURE__ */ a("span", {
|
|
22
|
+
className: "flex min-w-0 items-center gap-2",
|
|
23
|
+
children: [n, i(_ ? l : u, { className: "h-3.5 w-3.5 shrink-0 text-foreground-subtle" })]
|
|
24
|
+
}) : n] }), x = `px-4 py-2 flex items-center justify-between ${y ? "border-b border-border" : ""}`;
|
|
19
25
|
return /* @__PURE__ */ a("div", {
|
|
20
26
|
className: "rounded-lg border border-border bg-surface overflow-hidden",
|
|
21
27
|
children: [s ? /* @__PURE__ */ i("button", {
|
|
22
28
|
type: "button",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
"aria-expanded": _,
|
|
30
|
+
onClick: v,
|
|
31
|
+
className: `w-full gap-2 text-left ${x}`,
|
|
32
|
+
children: b
|
|
26
33
|
}) : /* @__PURE__ */ i("div", {
|
|
27
|
-
className:
|
|
28
|
-
children:
|
|
29
|
-
}),
|
|
30
|
-
className:
|
|
31
|
-
children:
|
|
34
|
+
className: x,
|
|
35
|
+
children: b
|
|
36
|
+
}), y ? /* @__PURE__ */ i("div", {
|
|
37
|
+
className: p,
|
|
38
|
+
children: m
|
|
32
39
|
}) : null]
|
|
33
40
|
});
|
|
34
41
|
}
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CPVxvHfW.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, d as t, g as n, i as r, l as i, n as a, r as o, u as s, v as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MeghOR6t.mjs";
|
|
4
4
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
5
5
|
e();
|
|
6
6
|
var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, g as t, l as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import { n as i } from "./ui-text-BqZa5BNK.mjs";
|
|
3
|
-
import { g as a } from "./responsive-
|
|
3
|
+
import { g as a } from "./responsive-D-jqRXmN.mjs";
|
|
4
4
|
var o = a("camera", [["path", {
|
|
5
5
|
d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
|
|
6
6
|
key: "18u6gg"
|
|
@@ -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_model_studio_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BzQpOYl5.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|