@glasshome/widget-sdk 1.32.0 → 1.32.1
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/export-history.json +149 -0
- package/dist/index.js +1 -1
- package/dist/media/camera-stream.js +3 -3
- package/package.json +1 -1
package/dist/export-history.json
CHANGED
|
@@ -6592,5 +6592,154 @@
|
|
|
6592
6592
|
"useWidgetViewer",
|
|
6593
6593
|
"widgetFields",
|
|
6594
6594
|
"z"
|
|
6595
|
+
],
|
|
6596
|
+
"1.32.1": [
|
|
6597
|
+
"Badge",
|
|
6598
|
+
"Button",
|
|
6599
|
+
"ButtonGroup",
|
|
6600
|
+
"CameraSourceContext",
|
|
6601
|
+
"CameraStream",
|
|
6602
|
+
"Carousel",
|
|
6603
|
+
"CarouselContent",
|
|
6604
|
+
"CarouselDots",
|
|
6605
|
+
"CarouselItem",
|
|
6606
|
+
"CarouselNext",
|
|
6607
|
+
"CarouselPrevious",
|
|
6608
|
+
"ColorDisc",
|
|
6609
|
+
"ColorSlider",
|
|
6610
|
+
"ColorWheel",
|
|
6611
|
+
"CountPill",
|
|
6612
|
+
"Icon",
|
|
6613
|
+
"Input",
|
|
6614
|
+
"Label",
|
|
6615
|
+
"PanelEntityRow",
|
|
6616
|
+
"PanelFacts",
|
|
6617
|
+
"PanelRow",
|
|
6618
|
+
"PanelRows",
|
|
6619
|
+
"PanelSection",
|
|
6620
|
+
"Progress",
|
|
6621
|
+
"ResponsiveDialog",
|
|
6622
|
+
"ResponsiveDialogBody",
|
|
6623
|
+
"ResponsiveDialogClose",
|
|
6624
|
+
"ResponsiveDialogContent",
|
|
6625
|
+
"ResponsiveDialogDescription",
|
|
6626
|
+
"ResponsiveDialogFooter",
|
|
6627
|
+
"ResponsiveDialogHeader",
|
|
6628
|
+
"ResponsiveDialogTitle",
|
|
6629
|
+
"SDK_VERSION",
|
|
6630
|
+
"SchemaForm",
|
|
6631
|
+
"SectionIcon",
|
|
6632
|
+
"SectionTitle",
|
|
6633
|
+
"Select",
|
|
6634
|
+
"SelectContent",
|
|
6635
|
+
"SelectItem",
|
|
6636
|
+
"SelectTrigger",
|
|
6637
|
+
"SelectValue",
|
|
6638
|
+
"Slider",
|
|
6639
|
+
"SwatchPicker",
|
|
6640
|
+
"Switch",
|
|
6641
|
+
"Tabs",
|
|
6642
|
+
"TabsContent",
|
|
6643
|
+
"TabsList",
|
|
6644
|
+
"TabsTrigger",
|
|
6645
|
+
"TemperatureBar",
|
|
6646
|
+
"Toggle",
|
|
6647
|
+
"ToggleGroup",
|
|
6648
|
+
"ToggleGroupItem",
|
|
6649
|
+
"ToneSchema",
|
|
6650
|
+
"Widget",
|
|
6651
|
+
"WidgetAction",
|
|
6652
|
+
"WidgetBackdrop",
|
|
6653
|
+
"WidgetChip",
|
|
6654
|
+
"WidgetChoice",
|
|
6655
|
+
"WidgetContent",
|
|
6656
|
+
"WidgetControls",
|
|
6657
|
+
"WidgetCtx",
|
|
6658
|
+
"WidgetDebugTab",
|
|
6659
|
+
"WidgetDebugView",
|
|
6660
|
+
"WidgetDialog",
|
|
6661
|
+
"WidgetGlyph",
|
|
6662
|
+
"WidgetHead",
|
|
6663
|
+
"WidgetHero",
|
|
6664
|
+
"WidgetIcon",
|
|
6665
|
+
"WidgetLayer",
|
|
6666
|
+
"WidgetManifestSchema",
|
|
6667
|
+
"WidgetSizeCtx",
|
|
6668
|
+
"WidgetSliderFill",
|
|
6669
|
+
"WidgetStatus",
|
|
6670
|
+
"WidgetStepper",
|
|
6671
|
+
"WidgetTitle",
|
|
6672
|
+
"WidgetValue",
|
|
6673
|
+
"buildDebugData",
|
|
6674
|
+
"byDomain",
|
|
6675
|
+
"calculateLightGroup",
|
|
6676
|
+
"calculateSensorGroup",
|
|
6677
|
+
"copyText",
|
|
6678
|
+
"countActiveEntities",
|
|
6679
|
+
"defineConfig",
|
|
6680
|
+
"defineWidget",
|
|
6681
|
+
"deprecations",
|
|
6682
|
+
"field",
|
|
6683
|
+
"formatDeprecation",
|
|
6684
|
+
"formatSchemaError",
|
|
6685
|
+
"getEntityAttribute",
|
|
6686
|
+
"getForecasts",
|
|
6687
|
+
"getStream",
|
|
6688
|
+
"getWebRtcClientConfig",
|
|
6689
|
+
"hassMediaUrl",
|
|
6690
|
+
"imagePreset",
|
|
6691
|
+
"imageSrc",
|
|
6692
|
+
"imageUrl",
|
|
6693
|
+
"injectTokens",
|
|
6694
|
+
"isDark",
|
|
6695
|
+
"isEntityActive",
|
|
6696
|
+
"isPanelControllable",
|
|
6697
|
+
"mediaUrl",
|
|
6698
|
+
"monotoneCubicPath",
|
|
6699
|
+
"parseColor",
|
|
6700
|
+
"presetValue",
|
|
6701
|
+
"provideCameraSource",
|
|
6702
|
+
"sendWebRtcCandidate",
|
|
6703
|
+
"startWebRtcSession",
|
|
6704
|
+
"state",
|
|
6705
|
+
"svgColors",
|
|
6706
|
+
"trackEntityHistory",
|
|
6707
|
+
"untrackEntityHistory",
|
|
6708
|
+
"useArea",
|
|
6709
|
+
"useCalendarEvents",
|
|
6710
|
+
"useCamera",
|
|
6711
|
+
"useCameraSource",
|
|
6712
|
+
"useConfirm",
|
|
6713
|
+
"useConnection",
|
|
6714
|
+
"useCopyText",
|
|
6715
|
+
"useCurrency",
|
|
6716
|
+
"useDaylight",
|
|
6717
|
+
"useEntities",
|
|
6718
|
+
"useEntity",
|
|
6719
|
+
"useEntityHistory",
|
|
6720
|
+
"useEntityStatistics",
|
|
6721
|
+
"useForecast",
|
|
6722
|
+
"useHassConfig",
|
|
6723
|
+
"useIntersectionPause",
|
|
6724
|
+
"useLocale",
|
|
6725
|
+
"useMaterial",
|
|
6726
|
+
"useReducedMotion",
|
|
6727
|
+
"useService",
|
|
6728
|
+
"useStore",
|
|
6729
|
+
"useTemperatureUnit",
|
|
6730
|
+
"useToggle",
|
|
6731
|
+
"useTurnOff",
|
|
6732
|
+
"useTurnOn",
|
|
6733
|
+
"useUnitSystem",
|
|
6734
|
+
"useWidgetContext",
|
|
6735
|
+
"useWidgetDashboard",
|
|
6736
|
+
"useWidgetDialog",
|
|
6737
|
+
"useWidgetDimensions",
|
|
6738
|
+
"useWidgetEntityGroup",
|
|
6739
|
+
"useWidgetGestures",
|
|
6740
|
+
"useWidgetState",
|
|
6741
|
+
"useWidgetViewer",
|
|
6742
|
+
"widgetFields",
|
|
6743
|
+
"z"
|
|
6595
6744
|
]
|
|
6596
6745
|
}
|
package/dist/index.js
CHANGED
|
@@ -3405,7 +3405,7 @@ function fs(e) {
|
|
|
3405
3405
|
//#region src/version.ts
|
|
3406
3406
|
var ps = {
|
|
3407
3407
|
name: "@glasshome/widget-sdk",
|
|
3408
|
-
version: "1.32.
|
|
3408
|
+
version: "1.32.1",
|
|
3409
3409
|
description: "SDK for building GlassHome dashboard widgets with SolidJS",
|
|
3410
3410
|
keywords: [
|
|
3411
3411
|
"dashboard",
|
|
@@ -135,9 +135,9 @@ function k(h) {
|
|
|
135
135
|
n = !1, r?.stop(), x.removeAttribute("src"), x.load();
|
|
136
136
|
});
|
|
137
137
|
}));
|
|
138
|
-
let e = () =>
|
|
139
|
-
document.addEventListener("fullscreenchange",
|
|
140
|
-
document.removeEventListener("fullscreenchange",
|
|
138
|
+
let e = () => b.getRootNode().fullscreenElement === b, t = () => A(e());
|
|
139
|
+
document.addEventListener("fullscreenchange", t), a(() => {
|
|
140
|
+
document.removeEventListener("fullscreenchange", t), e() && document.exitFullscreen();
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
let N = () => {
|