@ledvance/base 1.1.87 → 1.1.89

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.
@@ -3,6 +3,7 @@ import { DpsResult, Result } from './Result';
3
3
  import { DevInfo, DpValue } from 'tuya-panel-kit';
4
4
  export interface NativeProps {
5
5
  familyName: string;
6
+ role: 0 | 1 | 2 | 3;
6
7
  deviceInfo: DeviceInfo;
7
8
  uaGroupInfo: UAGroupInfo;
8
9
  timeSchedule?: boolean;
@@ -26,6 +27,7 @@ declare function simpleSetDps<T>(dispatch: Dispatch<any>): (deviceId: string, dp
26
27
  declare function simpleSetDp<T>(dispatch: Dispatch<any>): (deviceId: string, dp: string, value: any) => Promise<Result<T>>;
27
28
  declare const useDeviceId: () => string;
28
29
  declare const useFamilyName: () => string;
30
+ declare const useRole: () => 0 | 1 | 2 | 3;
29
31
  declare function useDp<T, R extends any>(dp: string): [T, (value: T) => Promise<Result<R>>];
30
32
  declare function useScaledDp<R extends any>(dp: string, scaled?: number): [number, (value: number) => Promise<Result<R>>];
31
33
  declare function useDps<R>(): [any, (dps: any) => Promise<Result<R>>];
@@ -49,6 +51,7 @@ export declare function useGroupConfigFeature<GC, GCPT extends {
49
51
  [K in keyof GC]: GC[K];
50
52
  }[keyof GC]>(key: keyof GC, dpKey?: string): [GCPT, (value: GCPT, dpValue: any, extraDps?: any) => Promise<Result<any>>];
51
53
  export declare const useFanMaxSpeed: () => 3 | 20;
54
+ export declare const isUVCFanDevice: () => boolean;
52
55
  export declare const ldvModules: import("@reduxjs/toolkit").Reducer<NativeProps, import("@reduxjs/toolkit").AnyAction>;
53
56
  export declare const setNativeProps: import("@reduxjs/toolkit").ActionCreatorWithPayload<NativeProps, string>, setGroupNativeProps: import("@reduxjs/toolkit").ActionCreatorWithPayload<NativeProps, string>, setDps: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setTimeSchedule: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setEnergieverbrauch: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
54
- export { asyncSetDps, simpleSetDps, simpleSetDp, useDeviceId, useDeviceInfo, useDp, useScaledDp, useDps, useFamilyName, useTimeSchedule, useEnergieverbrauch, };
57
+ export { asyncSetDps, simpleSetDps, simpleSetDp, useDeviceId, useDeviceInfo, useDp, useScaledDp, useDps, useFamilyName, useRole, useTimeSchedule, useEnergieverbrauch, };
@@ -17,7 +17,7 @@ declare const _default: {
17
17
  device_panel_schedule_alert: string;
18
18
  device_panel_schedule_add: string;
19
19
  ic_arrows_nav_clear: any;
20
- ic_info: string;
20
+ ic_info: any;
21
21
  ic_warning_amber: any;
22
22
  ic_check: string;
23
23
  ic_uncheck: any;
@@ -62,5 +62,8 @@ declare const _default: {
62
62
  ic_mood_del: any;
63
63
  ic_paint_bucket: any;
64
64
  ic_text_field_input_error: any;
65
+ ic_minus: any;
66
+ ic_plus: any;
67
+ ic_disabled_light: any;
65
68
  };
66
69
  export default _default;