@factoringplus/pl-components-pack-v3 1.2.12-pre-09 → 1.2.12-pre-11
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/components/components.d.ts +4 -0
- package/dist/components/entry.d.ts +8 -6
- package/dist/pl-components-pack-v3.es.js +2967 -2944
- package/dist/pl-components-pack-v3.umd.js +24 -24
- package/dist/plugins/filters.d.ts +6 -10
- package/dist/utils/dadataParser.d.ts +4 -0
- package/dist/utils/declOfNum.d.ts +3 -1
- package/dist/utils/formatCurrency.d.ts +1 -1
- package/dist/utils/formatDate.d.ts +3 -0
- package/dist/utils/isEqual.d.ts +3 -0
- package/dist/utils/types.d.ts +67 -0
- package/package.json +1 -1
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare
|
|
3
|
-
capitalize:
|
|
4
|
-
displayDate:
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
declare function createFilters(): {
|
|
3
|
+
capitalize(value: string): string;
|
|
4
|
+
displayDate(value: string | Dayjs): string;
|
|
5
5
|
};
|
|
6
|
-
declare const filters:
|
|
7
|
-
|
|
8
|
-
install(app: App): void;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export { filters };
|
|
6
|
+
export declare const filters: import('../install-function').SFCInstallWithContext<typeof createFilters>;
|
|
7
|
+
export default filters;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PartyElement } from './types';
|
|
2
|
+
export declare const recipientBottomText: (response: PartyElement[], getBottomText: (e: PartyElement) => string) => PartyElement[];
|
|
3
|
+
export declare const innKppBottomText: (e: PartyElement) => string;
|
|
4
|
+
export declare const innAddressBottomText: (e: PartyElement) => string;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
declare function declOfNumFunc(value: number, words: string[]): string;
|
|
2
|
+
export declare const declOfNum: import('../install-function').SFCInstallWithContext<typeof declOfNumFunc>;
|
|
3
|
+
export default declOfNum;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
declare function formatNumber(number: number | string, showDecimal?: boolean, digitCount?: number): string;
|
|
2
2
|
export declare const formatCurrency: import('../install-function').SFCInstallWithContext<typeof formatNumber>;
|
|
3
3
|
export default formatCurrency;
|
|
@@ -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
|
+
}
|