@factoringplus/pl-components-pack-v3 1.2.16 → 1.2.17

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,11 @@
1
+ import type { PartyElement } from './types';
2
+ declare function recipientBottomTextFunc(response: any[], getBottomText: any): any[];
3
+ declare function innKppBottomTextFunc(e: PartyElement): string;
4
+ declare function innAddressBottomTextFunc(e: PartyElement): string;
5
+ export declare const dadataParser: {
6
+ recipientBottomText: import('../install-function').SFCInstallWithContext<typeof recipientBottomTextFunc>;
7
+ innKppBottomText: import('../install-function').SFCInstallWithContext<typeof innKppBottomTextFunc>;
8
+ innAddressBottomText: import('../install-function').SFCInstallWithContext<typeof innAddressBottomTextFunc>;
9
+ };
10
+ export default dadataParser;
11
+ export type { PartyElement };
@@ -1 +1,3 @@
1
- export default function declOfNum(value: number, words: string[]): string;
1
+ declare function declOfNumFunc(value: number, words: string[]): string;
2
+ export declare const declOfNum: import('../install-function').SFCInstallWithContext<typeof declOfNumFunc>;
3
+ export default declOfNum;
@@ -0,0 +1,5 @@
1
+ declare function deepSetFunc(): {
2
+ add: (o: any) => void;
3
+ };
4
+ export declare const deepSet: import('../install-function').SFCInstallWithContext<typeof deepSetFunc>;
5
+ export default deepSet;
@@ -0,0 +1,2 @@
1
+ declare const _default: (account: any) => string;
2
+ export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (number: number | string, showDecimal?: boolean, digitCount?: number) => string;
2
- export default _default;
1
+ declare function formatNumber(number: number | string, showDecimal?: boolean, digitCount?: number): string;
2
+ export declare const formatCurrency: import('../install-function').SFCInstallWithContext<typeof formatNumber>;
3
+ export default formatCurrency;
@@ -0,0 +1,3 @@
1
+ declare function formatDateFunc(date: string | null, format: string): string;
2
+ export declare const formatDate: import('../install-function').SFCInstallWithContext<typeof formatDateFunc>;
3
+ export default formatDate;
@@ -0,0 +1,2 @@
1
+ declare const _default: (temp: any) => string;
2
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare function isEqualFunc<T>(obj1: T, obj2: T): boolean;
2
+ export declare const isEqual: import('../install-function').SFCInstallWithContext<typeof isEqualFunc>;
3
+ export default isEqual;
@@ -0,0 +1,67 @@
1
+ export interface PartyElement {
2
+ value: string;
3
+ id: string;
4
+ name?: string;
5
+ data?: {
6
+ inn: number;
7
+ kpp?: string;
8
+ hid?: string;
9
+ address?: {
10
+ value: string;
11
+ unrestricted_value: string;
12
+ data: {
13
+ postal_code?: string;
14
+ country?: string;
15
+ country_iso_code?: string;
16
+ region_fias_id?: string;
17
+ region_kladr_id?: string;
18
+ region_iso_code?: string;
19
+ region_with_type?: string;
20
+ region_type?: string;
21
+ region_type_full?: string;
22
+ region?: string;
23
+ area_fias_id?: string;
24
+ area_kladr_id?: string;
25
+ area_with_type?: string;
26
+ area_type?: string;
27
+ area_type_full?: string;
28
+ area?: string;
29
+ federal_district?: string;
30
+ city_fias_id?: string;
31
+ city_kladr_id?: string;
32
+ city_with_type?: string;
33
+ city_type?: string;
34
+ city_type_full?: string;
35
+ city?: string;
36
+ street_fias_id?: string;
37
+ street_kladr_id?: string;
38
+ street_with_type?: string;
39
+ street_type?: string;
40
+ street_type_full?: string;
41
+ street?: string;
42
+ fias_id?: string;
43
+ fias_code?: string;
44
+ fias_level?: string;
45
+ fias_actuality_state?: string;
46
+ kladr_id?: string;
47
+ geoname_id?: string;
48
+ capital_marker?: string;
49
+ okato?: string;
50
+ oktmo?: string;
51
+ tax_office?: string;
52
+ tax_office_legal?: string;
53
+ timezone?: string;
54
+ geo_lat?: string;
55
+ geo_lon?: string;
56
+ qc?: string;
57
+ qc_geo?: string;
58
+ history_values?: string[];
59
+ source?: string;
60
+ };
61
+ };
62
+ };
63
+ bottomText?: string;
64
+ dadata?: boolean;
65
+ INN?: number;
66
+ hid?: string;
67
+ }
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "require": "./dist/pl-components-pack-v3.umd.js"
15
15
  }
16
16
  },
17
- "version": "1.2.16",
17
+ "version": "1.2.17",
18
18
  "scripts": {
19
19
  "dev": "vite",
20
20
  "build": "vite build",