ados-rcm 1.0.482 → 1.0.484
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.
@@ -91,6 +91,7 @@ declare function setTheme(...args: ('Default' | 'Dark')[] | string[]): void;
|
|
91
91
|
*
|
92
92
|
*/
|
93
93
|
declare function editTheme(theme: Partial<ITheme>, ...args: ('Default' | 'Dark')[] | string[]): void;
|
94
|
+
declare function getStyleValue(key: TThemeKeys): string;
|
94
95
|
interface IInitParams {
|
95
96
|
/**
|
96
97
|
* themeName?: string
|
@@ -129,6 +130,7 @@ export declare const AThemes: {
|
|
129
130
|
unsetTheme: typeof unsetTheme;
|
130
131
|
setTheme: typeof setTheme;
|
131
132
|
editTheme: typeof editTheme;
|
133
|
+
getStyleValue: typeof getStyleValue;
|
132
134
|
init: typeof init;
|
133
135
|
};
|
134
136
|
export {};
|
@@ -2,10 +2,10 @@
|
|
2
2
|
* for form YYYY-MM-DD
|
3
3
|
*/
|
4
4
|
declare function toString(date: Date): string;
|
5
|
-
declare function toDate(str: string): Date |
|
5
|
+
declare function toDate(str: string): Date | undefined;
|
6
6
|
declare function makeSDate(date: Date): Date;
|
7
7
|
declare function makeEDate(date: Date): Date;
|
8
|
-
declare function eq(d1: Date
|
8
|
+
declare function eq(d1: Date, d2: Date): boolean;
|
9
9
|
declare function g(d1: Date, d2: Date): boolean;
|
10
10
|
declare function ge(d1: Date, d2: Date): boolean;
|
11
11
|
declare function l(d1: Date, d2: Date): boolean;
|