elcrm 0.8.20 → 0.8.22
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/Api/Api.d.ts +2 -2
- package/dist/Format/Age.d.ts +1 -0
- package/dist/Format/index.d.ts +2 -0
- package/dist/Router/index.d.ts +5 -1
- package/dist/Scrolling/Scrolling.d.ts +2 -1
- package/dist/Store/Store.d.ts +8 -4
- package/dist/index.es.js +455 -435
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
package/dist/Api/Api.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export declare function url(): {
|
|
|
3
3
|
files: string;
|
|
4
4
|
};
|
|
5
5
|
export declare function audio(link: string): string;
|
|
6
|
-
export declare function fetch(link: string, data?: {}, ssid?: string
|
|
7
|
-
export declare function modules(link: string, data?: {}, ssid?: string
|
|
6
|
+
export declare function fetch(link: string, data?: {}, ssid?: string): Promise<unknown>;
|
|
7
|
+
export declare function modules(link: string, data?: {}, ssid?: string): Promise<unknown>;
|
|
8
8
|
export declare function use(link: string, body: {} | undefined, ssid: string): any[];
|
|
9
9
|
export declare function db(type: string, query: string, data?: {}): Promise<any>;
|
|
10
10
|
export declare function remoute(url: string, link: string, data?: {}): Promise<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (d: string): string;
|
package/dist/Format/index.d.ts
CHANGED
|
@@ -12,8 +12,10 @@ import { default as CapitalizeFirstLetter } from './CapitalizeFirstLetter';
|
|
|
12
12
|
import { default as DeclensionWord } from './DeclensionWord';
|
|
13
13
|
import { default as Select } from './Select';
|
|
14
14
|
import { default as ObjectByArray } from './ObjectByArray';
|
|
15
|
+
import { default as Age } from './Age';
|
|
15
16
|
|
|
16
17
|
declare const _default: {
|
|
18
|
+
Age: typeof Age;
|
|
17
19
|
Date: typeof Date;
|
|
18
20
|
MoneyString: (num: any) => string | false;
|
|
19
21
|
DateSort: typeof DateSort;
|
package/dist/Router/index.d.ts
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import { Path, setPage, getPage, usePage, setModule, getModule, useModule, setTabs, getTabs, useTabs, useId, setId, subId, getId } from '../Store/Store';
|
|
1
|
+
import { Path, setPage, getPage, usePage, isPage, setModule, getModule, useModule, isModule, setTabs, getTabs, useTabs, isTabs, useId, setId, subId, getId, isId } from '../Store/Store';
|
|
2
2
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
Path: typeof Path;
|
|
5
5
|
setPage: typeof setPage;
|
|
6
6
|
getPage: typeof getPage;
|
|
7
7
|
usePage: typeof usePage;
|
|
8
|
+
isPage: typeof isPage;
|
|
8
9
|
setModule: typeof setModule;
|
|
9
10
|
getModule: typeof getModule;
|
|
10
11
|
useModule: typeof useModule;
|
|
12
|
+
isModule: typeof isModule;
|
|
11
13
|
setTabs: typeof setTabs;
|
|
12
14
|
getTabs: typeof getTabs;
|
|
13
15
|
useTabs: typeof useTabs;
|
|
16
|
+
isTabs: typeof isTabs;
|
|
14
17
|
useId: typeof useId;
|
|
15
18
|
setId: typeof setId;
|
|
16
19
|
subId: typeof subId;
|
|
17
20
|
getId: typeof getId;
|
|
21
|
+
isId: typeof isId;
|
|
18
22
|
};
|
|
19
23
|
export default _default;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function Scrolling(props: any): JSX.Element;
|
package/dist/Store/Store.d.ts
CHANGED
|
@@ -6,24 +6,28 @@ export declare function Init(render: React.ReactNode): React.ReactNode;
|
|
|
6
6
|
export declare function Logaut(): void;
|
|
7
7
|
export declare function Start(o: any): void;
|
|
8
8
|
export declare function setSSID(t: string): void;
|
|
9
|
-
export declare function getSSID(): string
|
|
9
|
+
export declare function getSSID(): string;
|
|
10
10
|
export declare function setAUTH(t: string): void;
|
|
11
|
-
export declare function getAUTH(): string
|
|
11
|
+
export declare function getAUTH(): string;
|
|
12
12
|
export declare function setPORT(j: string): void;
|
|
13
13
|
export declare function getPORT(): any;
|
|
14
14
|
export declare function usePage(): any[];
|
|
15
|
-
export declare function setPage(o: string): void;
|
|
15
|
+
export declare function setPage(o: string, reload?: boolean): void;
|
|
16
16
|
export declare function getPage(): any;
|
|
17
|
+
export declare function isPage(page: string): boolean;
|
|
17
18
|
export declare function useModule(): any[];
|
|
18
|
-
export declare function setModule(module: string, reload
|
|
19
|
+
export declare function setModule(module: string, reload?: boolean): void;
|
|
19
20
|
export declare function getModule(): any;
|
|
21
|
+
export declare function isModule(module: string): boolean;
|
|
20
22
|
export declare function useTabs(tab?: any): any[] | undefined;
|
|
21
23
|
export declare function setTabs(tabs: string, reload: string): void;
|
|
22
24
|
export declare function getTabs(): any;
|
|
25
|
+
export declare function isTabs(tab: string): boolean;
|
|
23
26
|
export declare function useId(fn?: (id: number) => void): any[];
|
|
24
27
|
export declare function subId(id: number): void;
|
|
25
28
|
export declare function setId(id: number, reload?: boolean): void;
|
|
26
29
|
export declare function getId(): any;
|
|
30
|
+
export declare function isId(id: number): boolean;
|
|
27
31
|
export declare function Path(module: string, tab: string, id: string): void;
|
|
28
32
|
export declare function newSetting(j: any): void;
|
|
29
33
|
export declare function setSetting(s: string, p: any): void;
|