elcrm 0.8.95 → 0.8.97

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
+ export type TCounter = {
2
+ before?: string;
3
+ from: number;
4
+ to: number;
5
+ };
6
+ declare const Counter: ({ before, from, to }: TCounter) => import("react/jsx-runtime").JSX.Element;
7
+ export default Counter;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ Counter: ({ before, from, to }: import('./Counter').TCounter) => import("react/jsx-runtime").JSX.Element;
3
+ };
4
+ export default _default;
@@ -6,7 +6,7 @@ interface Button {
6
6
  className?: string;
7
7
  size?: "m" | "s" | "l";
8
8
  mode?: "primary" | "secondary" | "tertiary" | "outline" | "link";
9
- view?: "confirm" | "cancel" | "disabled";
9
+ view?: "confirm" | "cancel" | "disabled" | "none";
10
10
  }
11
11
  export default function ({ onClick, onSend, size, view, mode, className, label, onRef, }: Button): import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -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;
@@ -21,12 +21,14 @@ import { default as ArraySort } from './ArraySort';
21
21
  import { default as ArrayGroup } from './ArrayGroup';
22
22
  import { default as ArraySortDate } from './ArraySortDate';
23
23
  import { default as ArraySumma } from './ArraySumma';
24
+ import { default as ArraySortFunction } from './ArraySortFunction';
24
25
 
25
26
  declare const _default: {
26
27
  Age: typeof Age;
27
28
  ArraySort: typeof ArraySort;
28
29
  ArrayGroup: typeof ArrayGroup;
29
30
  ArraySortDate: typeof ArraySortDate;
31
+ ArraySortFunction: typeof ArraySortFunction;
30
32
  ArraySumma: typeof ArraySumma;
31
33
  Translit: typeof Translit;
32
34
  Date: typeof Date;
@@ -1 +1,2 @@
1
1
  export { type onActive as TonActive } from '../Switch/Switch';
2
+ export { type TCounter as TCounter } from '../Animation/Counter';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { default as Api } from './Api';
2
+ export { default as Animation } from './Animation';
2
3
  export { default as Init } from './Init/Init';
3
4
  export { default as Browser } from './Browser/Browser';
4
5
  export { default as Button } from './Button/Button';