@elcrm/telegram 0.0.52 → 0.0.54

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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Группировка массива по ключу или функции
3
+ *
4
+ * @param {Array} a - array
5
+ * @param {string} k - key
6
+ */
7
+ export default function (a: any, k: string | Function): any;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Сортировка массива
3
+ *
4
+ * @param {Array} a - array
5
+ * @param {string} k - key
6
+ * @param {boolean} r - reverse
7
+ */
8
+ export default function (a: any, k: string, r?: boolean): any;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Сортировка массива по дате
3
+ *
4
+ * @param {Array} a - array
5
+ * @param {string} k - key
6
+ * @param {boolean} r - reverse
7
+ */
8
+ export default function (a: any, k: string, r?: boolean): any;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Сортировка массива c функцией
3
+ *
4
+ * @param {Array} a - array
5
+ * @param {string} k - key
6
+ * @param {Function} f - function
7
+ * @param {boolean} r - reverse
8
+ */
9
+ export default function (a: any, k: string, f: Function, r?: boolean): any;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Сумма массива
3
+ *
4
+ * @param {Array} a - array
5
+ * @param {string} k - key
6
+ */
7
+ export default function (a: any, k: string): any;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * c - id color
3
+ */
4
+ export default function (c: number): {
5
+ style: {
6
+ background: string;
7
+ };
8
+ };
@@ -1 +1 @@
1
- export default function (n: any): string;
1
+ export default function (n: any, d?: number): string;
@@ -2,4 +2,4 @@
2
2
  * m = month
3
3
  * fn(1) => { val: "01", name: "Январь", names: "Января", abc: "Янв" }
4
4
  */
5
- export default function (m: number): any;
5
+ export default function (m: number | Date): any;
@@ -0,0 +1 @@
1
+ export default function (type: string, id: number | string, p: string, unknown?: string): string;
@@ -0,0 +1 @@
1
+ export default function (w: string): string;
@@ -1,35 +1,2 @@
1
- import { default as Date } from './Date';
2
- import { default as DateSort } from './DateSort';
3
- import { default as Size } from './Size';
4
- import { default as TypeFiles } from './TypeFiles';
5
- import { default as Cases } from './Cases';
6
- import { default as Initials } from './Initials';
7
- import { default as Month } from './Month';
8
- import { default as Money } from './Money';
9
- import { default as Number } from './Number';
10
- import { default as Percent } from './Percent';
11
- import { default as CapitalizeFirstLetter } from './CapitalizeFirstLetter';
12
- import { default as DeclensionWord } from './DeclensionWord';
13
- import { default as Select } from './Select';
14
- import { default as ObjectByArray } from './ObjectByArray';
15
- import { default as Age } from './Age';
16
-
17
- declare const _default: {
18
- Age: typeof Age;
19
- Date: typeof Date;
20
- MoneyString: (num: any) => string | false;
21
- DateSort: typeof DateSort;
22
- Size: typeof Size;
23
- TypeFiles: typeof TypeFiles;
24
- Cases: typeof Cases;
25
- Initials: typeof Initials;
26
- Month: typeof Month;
27
- Money: typeof Money;
28
- Number: typeof Number;
29
- Percent: typeof Percent;
30
- CapitalizeFirstLetter: typeof CapitalizeFirstLetter;
31
- DeclensionWord: typeof DeclensionWord;
32
- Select: typeof Select;
33
- ObjectByArray: typeof ObjectByArray;
34
- };
35
- export default _default;
1
+ declare const u: any;
2
+ export default u;
@@ -0,0 +1 @@
1
+ export default function (s: any): Boolean;