elcrm 0.9.13 → 0.9.15
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/Lang/Lang.d.ts +1 -1
- package/dist/Lang/index.d.ts +1 -1
- package/dist/Layout/Lite.d.ts +12 -0
- package/dist/Layout/index.d.ts +13 -0
- package/dist/Tabs/List.d.ts +20 -0
- package/dist/Tabs/Lite.d.ts +10 -0
- package/dist/Tabs/index.d.ts +20 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +14939 -3923
- package/dist/index.umd.js +388 -11
- package/package.json +1 -1
- package/dist/Tabs/Tabs.d.ts +0 -26
package/dist/Lang/Lang.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export declare const LanguageContext: React.Context<any>;
|
|
|
9
9
|
export declare const Provider: ({ children }: TLangProvider) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare const setDictionary: (lang: string) => void;
|
|
11
11
|
export declare const getDictionary: () => any;
|
|
12
|
-
export declare const current:
|
|
12
|
+
export declare const current: () => string;
|
package/dist/Lang/index.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type TPageSections = {
|
|
2
|
+
title?: any;
|
|
3
|
+
affter?: any;
|
|
4
|
+
children?: any;
|
|
5
|
+
button?: any;
|
|
6
|
+
tabs?: any;
|
|
7
|
+
modules: string;
|
|
8
|
+
page: string;
|
|
9
|
+
loading?: any;
|
|
10
|
+
};
|
|
11
|
+
declare const PageSection: ({ title, affter, children, button, page, tabs, modules, loading, }: TPageSections) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default PageSection;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
Lite: ({ title, affter, children, button, page, tabs, modules, loading, }: {
|
|
3
|
+
title?: any;
|
|
4
|
+
affter?: any;
|
|
5
|
+
children?: any;
|
|
6
|
+
button?: any;
|
|
7
|
+
tabs?: any;
|
|
8
|
+
modules: string;
|
|
9
|
+
page: string;
|
|
10
|
+
loading?: any;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type Tabs = {
|
|
2
|
+
list: Array<Tab>;
|
|
3
|
+
active: string;
|
|
4
|
+
size?: string;
|
|
5
|
+
view?: string;
|
|
6
|
+
onClick: (link: string) => void;
|
|
7
|
+
};
|
|
8
|
+
type Tab = {
|
|
9
|
+
label: string;
|
|
10
|
+
link: string;
|
|
11
|
+
};
|
|
12
|
+
type TabItems = {
|
|
13
|
+
label: string;
|
|
14
|
+
link: string;
|
|
15
|
+
active: string;
|
|
16
|
+
onClick: (link: string) => void;
|
|
17
|
+
};
|
|
18
|
+
declare const List: ({ list, onClick, active, size, view }: Tabs) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const Item: ({ onClick, label, link, active }: TabItems) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default List;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
List: ({ list, onClick, active, size, view }: {
|
|
3
|
+
list: {
|
|
4
|
+
label: string;
|
|
5
|
+
link: string;
|
|
6
|
+
}[];
|
|
7
|
+
active: string;
|
|
8
|
+
size?: string | undefined;
|
|
9
|
+
view?: string | undefined;
|
|
10
|
+
onClick: (link: string) => void;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
Lite: ({ list, active }: {
|
|
13
|
+
list?: {
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}[] | undefined;
|
|
17
|
+
active?: string | undefined;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { default as Animation } from './Animation';
|
|
|
3
3
|
export { default as Init } from './Init/Init';
|
|
4
4
|
export { default as Browser } from './Browser/Browser';
|
|
5
5
|
export { default as Button } from './Button/Button';
|
|
6
|
-
export { default as Tabs } from './Tabs
|
|
6
|
+
export { default as Tabs } from './Tabs';
|
|
7
7
|
export { default as Setting } from './Setting';
|
|
8
8
|
export { default as Action } from './Action';
|
|
9
9
|
export { default as Component } from './Component';
|
|
@@ -29,6 +29,7 @@ export { default as Files } from './Files';
|
|
|
29
29
|
export { default as Form } from './Form';
|
|
30
30
|
export { default as Input } from './Input';
|
|
31
31
|
export { default as Loading } from './Loading';
|
|
32
|
+
export { default as Layout } from './Layout';
|
|
32
33
|
export { default as Search } from './Search';
|
|
33
34
|
export { default as Filter } from './Filter';
|
|
34
35
|
export { default as Notifications } from './Notifications';
|