@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.
@@ -1,11 +1,7 @@
1
- import { App } from 'vue';
2
- declare type Filters = {
3
- capitalize: Function;
4
- displayDate: Function;
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: Filters;
7
- declare const _default: {
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
- 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;
@@ -1,3 +1,3 @@
1
- export declare function formatNumber(number: number | string, showDecimal?: boolean, digitCount?: number): string;
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,3 @@
1
+ declare function formatDateFunc(date: string | null): string;
2
+ export declare const formatDate: import('../install-function').SFCInstallWithContext<typeof formatDateFunc>;
3
+ export default formatDate;
@@ -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.12-pre-09",
17
+ "version": "1.2.12-pre-11",
18
18
  "scripts": {
19
19
  "dev": "vite",
20
20
  "build": "vite build",