elcrm 0.9.9 → 0.9.11
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/Init/Init.d.ts +2 -1
- package/dist/Lang/Lang.d.ts +5 -3
- package/dist/Lang/index.d.ts +2 -5
- package/dist/index.es.js +895 -901
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
package/dist/Init/Init.d.ts
CHANGED
package/dist/Lang/Lang.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
export declare const addDictionary: (j: any) => void;
|
|
2
|
-
export declare function useData(lang?: string):
|
|
3
|
+
export declare function useData(lang?: string): string[];
|
|
3
4
|
export type TLangProvider = {
|
|
4
5
|
lang?: string;
|
|
5
6
|
children: any;
|
|
6
7
|
};
|
|
8
|
+
export declare const LanguageContext: React.Context<any>;
|
|
7
9
|
export declare const Provider: ({ lang, children }: TLangProvider) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const setDictionary: (lang: string) => void;
|
|
11
|
+
export declare const getDictionary: () => any;
|
package/dist/Lang/index.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { useData } from './Lang';
|
|
2
1
|
declare const _default: {
|
|
3
|
-
useData: typeof useData;
|
|
4
2
|
addDictionary: (j: any) => void;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
setDictionary: (lang?: string | undefined) => void;
|
|
3
|
+
getDictionary: () => any;
|
|
4
|
+
setDictionary: (lang: string) => void;
|
|
8
5
|
};
|
|
9
6
|
export default _default;
|