@ledvance/base 1.0.20 → 1.0.21
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/package.json +1 -1
- package/src/api/nativeEventEmitter.ts +7 -2
- package/src/components/connect.d.ts +2 -2
- package/src/i18n/strings.d.ts +1122 -2
- package/src/i18n/strings.ts +8260 -7140
- package/src/models/combine.d.ts +4 -4
- package/src/utils/ColorUtils.d.ts +1 -1
package/src/models/combine.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const reducers: {
|
|
2
2
|
dpState: import("redux-actions").ReduxCompatibleReducer<import("./modules/common").DpState, import("tuya-panel-kit").DevInfo<Record<string, import("tuya-panel-kit").DpType>> | (Partial<import("./modules/common").DpState> & {
|
|
3
|
-
[key: string]:
|
|
3
|
+
[key: string]: string | number | boolean;
|
|
4
4
|
})>;
|
|
5
5
|
devInfo: import("redux-actions").ReduxCompatibleReducer<import("tuya-panel-kit").DevInfo<import("./modules/common").DpState>, import("tuya-panel-kit").DevInfo<import("./modules/common").DpState>>;
|
|
6
6
|
logs: import("redux-actions").ReduxCompatibleReducer<import("./modules/common").Log[], import("tuya-panel-kit").DevInfo<Record<string, import("tuya-panel-kit").DpType>> | (Partial<import("./modules/common").DpState> & {
|
|
7
|
-
[key: string]:
|
|
7
|
+
[key: string]: string | number | boolean;
|
|
8
8
|
}) | undefined>;
|
|
9
9
|
ldvModules: import("@reduxjs/toolkit").Reducer<import("./modules/NativePropsSlice").NativeProps, import("@reduxjs/toolkit").AnyAction>;
|
|
10
10
|
};
|
|
@@ -19,8 +19,8 @@ export declare const rootReducers: import("redux").Reducer<import("redux").Combi
|
|
|
19
19
|
ldvModules: import("./modules/NativePropsSlice").NativeProps;
|
|
20
20
|
}>, import("redux").AnyAction>;
|
|
21
21
|
export declare const rootEpics: import("redux-observable").Epic<import("redux-actions").Action<Partial<import("./modules/common").DpState> & {
|
|
22
|
-
[key: string]:
|
|
22
|
+
[key: string]: string | number | boolean;
|
|
23
23
|
}>, import("redux-actions").Action<Partial<import("./modules/common").DpState> & {
|
|
24
|
-
[key: string]:
|
|
24
|
+
[key: string]: string | number | boolean;
|
|
25
25
|
}>, void, any>;
|
|
26
26
|
export {};
|
|
@@ -64,7 +64,7 @@ export default class ColorUtils {
|
|
|
64
64
|
static decimal2Hex: (decimalColor: any) => string;
|
|
65
65
|
static random: () => string;
|
|
66
66
|
static rotateHue: (hue: any, amount: any) => any;
|
|
67
|
-
static getColorEncoding: (color: any) => "
|
|
67
|
+
static getColorEncoding: (color: any) => "unknown" | "hex" | "rgb" | "hsv" | "hsl" | "cmyk";
|
|
68
68
|
static any2Hsl: (color: any) => any;
|
|
69
69
|
static getTransformEncodingFunction: (color: any, desiredEncoding: any) => any;
|
|
70
70
|
static darken: (color: any, percentage: any) => any;
|