@factoringplus/pl-components-pack-v3 1.2.22-pre-01 → 1.2.22-pre-03
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/button/index.d.ts +191 -191
- package/dist/components/button/pl-button.vue.d.ts +66 -64
- package/dist/components/button/types/index.d.ts +21 -21
- package/dist/components/components.d.ts +47 -47
- package/dist/components/deprecated/currency-input/index.d.ts +5 -5
- package/dist/components/deprecated/pl-checkbox/index.d.ts +5 -5
- package/dist/components/deprecated/pl-date-picker/index.d.ts +5 -5
- package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +77 -77
- package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +72 -72
- package/dist/components/deprecated/pl-date-picker-legacy/index.d.ts +5 -5
- package/dist/components/deprecated/pl-dialog/index.d.ts +5 -5
- package/dist/components/deprecated/pl-dialog/pl-dialog.vue.d.ts +104 -102
- package/dist/components/deprecated/pl-form-item/index.d.ts +5 -5
- package/dist/components/deprecated/pl-input/index.d.ts +5 -5
- package/dist/components/deprecated/pl-input-native/index.d.ts +5 -5
- package/dist/components/deprecated/pl-select/index.d.ts +5 -5
- package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +149 -147
- package/dist/components/deprecated/pl-suggestions/index.d.ts +5 -5
- package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +112 -112
- package/dist/components/deprecated/pl-table/index.d.ts +5 -5
- package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +133 -133
- package/dist/components/deprecated/pl-tooltip/index.d.ts +5 -5
- package/dist/components/deprecated/pl-tooltip/pl-tooltip.vue.d.ts +58 -56
- package/dist/components/deprecated/pl-upload/index.d.ts +5 -5
- package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +124 -124
- package/dist/components/deprecated/pl-upload-legacy/index.d.ts +5 -5
- package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +111 -111
- package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -60
- package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -60
- package/dist/components/pl-autocomplete/index.d.ts +5 -5
- package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +95 -95
- package/dist/components/pl-autocomplete/types/index.d.ts +57 -57
- package/dist/components/pl-card/index.d.ts +5 -5
- package/dist/components/pl-checkbox-plus/index.d.ts +5 -5
- package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +74 -72
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +68 -68
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +56 -56
- package/dist/components/pl-date-picker-plus/common/constants.d.ts +2 -2
- package/dist/components/pl-date-picker-plus/common/types/index.d.ts +50 -50
- package/dist/components/pl-date-picker-plus/common/utils/wrapperFunctions.d.ts +13 -13
- package/dist/components/pl-date-picker-plus/index.d.ts +5 -5
- package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +82 -82
- package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +84 -84
- package/dist/components/pl-dialog/index.d.ts +5 -5
- package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +106 -104
- package/dist/components/pl-form/index.d.ts +5 -5
- package/dist/components/pl-form/pl-form.vue.d.ts +55 -53
- package/dist/components/pl-icon/index.d.ts +6 -6
- package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -12
- package/dist/components/pl-icon/types/iconsType.d.ts +5 -5
- package/dist/components/pl-icon/types/index.d.ts +2 -2
- package/dist/components/pl-input-plus/components/pl-currency.vue.d.ts +46 -46
- package/dist/components/pl-input-plus/components/pl-default.vue.d.ts +72 -72
- package/dist/components/pl-input-plus/components/pl-password.vue.d.ts +47 -47
- package/dist/components/pl-input-plus/components/pl-textarea.vue.d.ts +45 -45
- package/dist/components/pl-input-plus/index.d.ts +5 -5
- package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +123 -123
- package/dist/components/pl-input-plus/types/index.d.ts +65 -65
- package/dist/components/pl-label/pl-label.vue.d.ts +41 -39
- package/dist/components/pl-link/index.d.ts +5 -5
- package/dist/components/pl-link/pl-link.vue.d.ts +50 -48
- package/dist/components/pl-mark-text/index.d.ts +16 -16
- package/dist/components/pl-mark-text/pl-mark-text.vue.d.ts +16 -16
- package/dist/components/pl-multi-select/components/pl-default.vue.d.ts +68 -68
- package/dist/components/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +49 -49
- package/dist/components/pl-multi-select/index.d.ts +5 -5
- package/dist/components/pl-multi-select/pl-multi-select.vue.d.ts +72 -72
- package/dist/components/pl-multi-select/types/index.d.ts +33 -33
- package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +38 -38
- package/dist/components/pl-multitab/index.d.ts +5 -5
- package/dist/components/pl-multitab/pl-multitab.vue.d.ts +39 -39
- package/dist/components/pl-multitab/types/index.d.ts +14 -14
- package/dist/components/pl-option/index.d.ts +5 -5
- package/dist/components/pl-option/pl-option.vue.d.ts +122 -122
- package/dist/components/pl-radio/index.d.ts +5 -5
- package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -69
- package/dist/components/pl-scrollbar/index.d.ts +5 -5
- package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +67 -65
- package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -1
- package/dist/components/pl-select-plus/components/pl-account.vue.d.ts +68 -68
- package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +68 -68
- package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -45
- package/dist/components/pl-select-plus/index.d.ts +5 -5
- package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -77
- package/dist/components/pl-select-plus/types/index.d.ts +38 -38
- package/dist/components/pl-skeleton/index.d.ts +5 -5
- package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +40 -40
- package/dist/components/pl-snackbar/index.d.ts +7 -7
- package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +47 -47
- package/dist/components/pl-snackbar/renderSnackbar.d.ts +3 -3
- package/dist/components/pl-snackbar/types.d.ts +25 -25
- package/dist/components/pl-stepper/index.d.ts +5 -5
- package/dist/components/pl-stepper/pl-stepper.vue.d.ts +57 -57
- package/dist/components/pl-switch/index.d.ts +5 -5
- package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -47
- package/dist/components/pl-tab-pane/index.d.ts +5 -5
- package/dist/components/pl-tab-pane/pl-tab-pane.vue.d.ts +47 -45
- package/dist/components/pl-tab-pane/types/index.d.ts +8 -8
- package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -52
- package/dist/components/pl-table-plus/index.d.ts +5 -5
- package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +95 -93
- package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +23 -21
- package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +45 -45
- package/dist/components/pl-tabs/index.d.ts +5 -5
- package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -45
- package/dist/components/pl-tags/pl-tags.vue.d.ts +37 -35
- package/dist/components/pl-text/components/pl-body1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-body2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-body3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-cap.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h4.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-sub1.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-sub2.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-system.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-tag.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title1.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title2.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title3.vue.d.ts +19 -17
- package/dist/components/pl-text/index.d.ts +5 -5
- package/dist/components/pl-tooltip-plus/index.d.ts +5 -5
- package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +55 -53
- package/dist/components/pl-upload-plus/index.d.ts +5 -5
- package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +109 -109
- package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -1
- package/dist/directives/index.d.ts +5 -5
- package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -2
- package/dist/directives/vLoading.d.ts +3 -3
- package/dist/directives/vTap.d.ts +3 -3
- package/dist/directives/vTouchOutside.d.ts +3 -3
- package/dist/install-function/index.d.ts +6 -6
- package/dist/main.d.ts +1 -1
- package/dist/plugins/api/api.d.ts +2 -2
- package/dist/plugins/filters.d.ts +8 -8
- package/dist/plugins/loading/loading.d.ts +3 -3
- package/dist/services/plLoading.d.ts +3 -3
- package/dist/utils/dadataParser.d.ts +11 -11
- package/dist/utils/declOfNum.d.ts +3 -3
- package/dist/utils/deepSet.d.ts +6 -6
- package/dist/utils/formatAccount.d.ts +2 -2
- package/dist/utils/formatCurrency.d.ts +3 -3
- package/dist/utils/formatDate.d.ts +3 -3
- package/dist/utils/getSourceCode.d.ts +5 -5
- package/dist/utils/isEqual.d.ts +3 -3
- package/dist/utils/types.d.ts +67 -67
- package/package.json +80 -66
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Directive } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare const vTap: Directive<HTMLElement, () => void>;
|
|
4
|
-
export default vTap;
|
|
2
|
+
|
|
3
|
+
export declare const vTap: Directive<HTMLElement, () => void>;
|
|
4
|
+
export default vTap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Directive } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare const vTouchOutside: Directive;
|
|
4
|
-
export default vTouchOutside;
|
|
2
|
+
|
|
3
|
+
export declare const vTouchOutside: Directive;
|
|
4
|
+
export default vTouchOutside;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AppContext, Plugin } from 'vue';
|
|
2
|
-
|
|
3
|
-
export type SFCWithInstall<T> = T & Plugin;
|
|
4
|
-
export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
5
|
-
_context: AppContext | null;
|
|
6
|
-
};
|
|
7
|
-
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
2
|
+
|
|
3
|
+
export type SFCWithInstall<T> = T & Plugin;
|
|
4
|
+
export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
5
|
+
_context: AppContext | null;
|
|
6
|
+
};
|
|
7
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
package/dist/main.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ApiJs: (optionsRequest: any, isGetResourse: boolean, token: any) => Promise<unknown>;
|
|
2
|
-
export default ApiJs;
|
|
1
|
+
declare const ApiJs: (optionsRequest: any, isGetResourse: boolean, token: any) => Promise<unknown>;
|
|
2
|
+
export default ApiJs;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
|
2
|
-
|
|
3
|
-
interface ICreateFilters {
|
|
4
|
-
capitalize(value: string): string;
|
|
5
|
-
displayDate(value: string | Dayjs): string;
|
|
6
|
-
}
|
|
7
|
-
declare function createFilters(): ICreateFilters;
|
|
8
|
-
export declare const filters: import('../install-function').SFCInstallWithContext<typeof createFilters>;
|
|
9
|
-
export default filters;
|
|
2
|
+
|
|
3
|
+
interface ICreateFilters {
|
|
4
|
+
capitalize(value: string): string;
|
|
5
|
+
displayDate(value: string | Dayjs): string;
|
|
6
|
+
}
|
|
7
|
+
declare function createFilters(): ICreateFilters;
|
|
8
|
+
export declare const filters: import('../install-function').SFCInstallWithContext<typeof createFilters>;
|
|
9
|
+
export default filters;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default function loadingAndSetup(bindData: {
|
|
2
|
-
value: any;
|
|
3
|
-
}, apiCall: string, apiParams: any, loadingArr: any[], fastResponse?: boolean): any;
|
|
1
|
+
export default function loadingAndSetup(bindData: {
|
|
2
|
+
value: any;
|
|
3
|
+
}, apiCall: string, apiParams: any, loadingArr: any[], fastResponse?: boolean): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
type ActionFn = (...args: any[]) => Promise<any>;
|
|
2
|
-
export declare function plLoading(action: ActionFn): ActionFn;
|
|
3
|
-
export default plLoading;
|
|
1
|
+
type ActionFn = (...args: any[]) => Promise<any>;
|
|
2
|
+
export declare function plLoading(action: ActionFn): ActionFn;
|
|
3
|
+
export default plLoading;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PartyElement } from './types';
|
|
2
|
-
|
|
3
|
-
declare function recipientBottomTextFunc(response: any[], getBottomText: any): any[];
|
|
4
|
-
declare function innKppBottomTextFunc(e: PartyElement): string;
|
|
5
|
-
declare function innAddressBottomTextFunc(e: PartyElement): string;
|
|
6
|
-
export declare const dadataParser: {
|
|
7
|
-
recipientBottomText: import('../install-function').SFCInstallWithContext<typeof recipientBottomTextFunc>;
|
|
8
|
-
innKppBottomText: import('../install-function').SFCInstallWithContext<typeof innKppBottomTextFunc>;
|
|
9
|
-
innAddressBottomText: import('../install-function').SFCInstallWithContext<typeof innAddressBottomTextFunc>;
|
|
10
|
-
};
|
|
11
|
-
export default dadataParser;
|
|
12
|
-
export type { PartyElement };
|
|
2
|
+
|
|
3
|
+
declare function recipientBottomTextFunc(response: any[], getBottomText: any): any[];
|
|
4
|
+
declare function innKppBottomTextFunc(e: PartyElement): string;
|
|
5
|
+
declare function innAddressBottomTextFunc(e: PartyElement): string;
|
|
6
|
+
export declare const dadataParser: {
|
|
7
|
+
recipientBottomText: import('../install-function').SFCInstallWithContext<typeof recipientBottomTextFunc>;
|
|
8
|
+
innKppBottomText: import('../install-function').SFCInstallWithContext<typeof innKppBottomTextFunc>;
|
|
9
|
+
innAddressBottomText: import('../install-function').SFCInstallWithContext<typeof innAddressBottomTextFunc>;
|
|
10
|
+
};
|
|
11
|
+
export default dadataParser;
|
|
12
|
+
export type { PartyElement };
|
|
@@ -1,3 +1,3 @@
|
|
|
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
|
+
declare function declOfNumFunc(value: number, words: string[]): string;
|
|
2
|
+
export declare const declOfNum: import('../install-function').SFCInstallWithContext<typeof declOfNumFunc>;
|
|
3
|
+
export default declOfNum;
|
package/dist/utils/deepSet.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
interface IDeepSetFunc {
|
|
2
|
-
add: (o: any) => void;
|
|
3
|
-
}
|
|
4
|
-
declare function deepSetFunc(): IDeepSetFunc;
|
|
5
|
-
export declare const deepSet: import('../install-function').SFCInstallWithContext<typeof deepSetFunc>;
|
|
6
|
-
export default deepSet;
|
|
1
|
+
interface IDeepSetFunc {
|
|
2
|
+
add: (o: any) => void;
|
|
3
|
+
}
|
|
4
|
+
declare function deepSetFunc(): IDeepSetFunc;
|
|
5
|
+
export declare const deepSet: import('../install-function').SFCInstallWithContext<typeof deepSetFunc>;
|
|
6
|
+
export default deepSet;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: (account: string) => string;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: (account: string) => string;
|
|
2
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
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;
|
|
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;
|
|
@@ -1,3 +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;
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: (temp: {
|
|
2
|
-
setup: any;
|
|
3
|
-
template: string | any[];
|
|
4
|
-
}) => string;
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: (temp: {
|
|
2
|
+
setup: any;
|
|
3
|
+
template: string | any[];
|
|
4
|
+
}) => string;
|
|
5
|
+
export default _default;
|
package/dist/utils/isEqual.d.ts
CHANGED
|
@@ -1,3 +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;
|
|
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;
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -1,67 +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
|
-
}
|
|
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.22-pre-
|
|
17
|
+
"version": "1.2.22-pre-03",
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "vite",
|
|
20
20
|
"build": "vite build",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"publish-story": "npm i && npm run build && npm publish --access=public",
|
|
26
26
|
"build-styles": "node ./buildStyles.js",
|
|
27
27
|
"lint:eslint": "eslint .",
|
|
28
|
-
"lint:eslint:fix": "eslint --fix .",
|
|
29
28
|
"lint:prettier": "prettier --write .",
|
|
30
29
|
"prepare": "husky install",
|
|
31
30
|
"docs:dev": "npm i && node ./buildStyles.js && vitepress dev docs",
|
|
@@ -42,76 +41,91 @@
|
|
|
42
41
|
"*.js": "eslint --cache --fix"
|
|
43
42
|
},
|
|
44
43
|
"dependencies": {
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
44
|
+
"@element-plus/icons-vue": "^1.1.4",
|
|
45
|
+
"@mdx-js/react": "^2.3.0",
|
|
46
|
+
"@storybook/addons": "^7.0.26",
|
|
47
|
+
"@types/uniqid": "^5.3.4",
|
|
48
|
+
"@vueuse/components": "^10.7.1",
|
|
49
|
+
"@vueuse/core": "^10.7.1",
|
|
50
|
+
"async-validator": "^4.2.5",
|
|
51
|
+
"axios": "^0.26.1",
|
|
52
|
+
"crypto-pro": "^2.5.2",
|
|
53
|
+
"dayjs": "^1.11.9",
|
|
54
|
+
"element-plus": "^2.3.7",
|
|
55
|
+
"feather-icons": "^4.29.0",
|
|
56
|
+
"js-file-download": "^0.4.12",
|
|
57
|
+
"lodash": "^4.17.21",
|
|
58
|
+
"lodash.isequal": "^4.5.0",
|
|
59
|
+
"lodash.throttle": "^4.1.1",
|
|
60
|
+
"maska": "^1.5.2",
|
|
61
|
+
"moment": "^2.29.4",
|
|
62
|
+
"msw": "^0.43.1",
|
|
63
|
+
"pinia": "^2.1.4",
|
|
64
|
+
"uniqid": "^5.4.0",
|
|
65
|
+
"vue": "^3.2.37",
|
|
66
|
+
"vue-currency-input": "^3.0.5",
|
|
67
|
+
"vue-feather": "^2.0.0",
|
|
68
|
+
"vue-inline-svg": "^3.1.2",
|
|
69
|
+
"vuedraggable": "^4.1.0",
|
|
70
|
+
"vuex": "^4.1.0"
|
|
64
71
|
},
|
|
65
72
|
"devDependencies": {
|
|
66
|
-
"@babel/core": "7.
|
|
67
|
-
"@babel/
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"@storybook/addon-
|
|
72
|
-
"@storybook/addon-
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/vue3
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@typescript-eslint/
|
|
78
|
-
"@
|
|
73
|
+
"@babel/core": "^7.22.8",
|
|
74
|
+
"@babel/eslint-parser": "^7.22.5",
|
|
75
|
+
"@babel/preset-env": "^7.22.5",
|
|
76
|
+
"@faker-js/faker": "^8.0.2",
|
|
77
|
+
"@playwright/test": "^1.45.0",
|
|
78
|
+
"@storybook/addon-actions": "^7.0.12",
|
|
79
|
+
"@storybook/addon-essentials": "^7.0.26",
|
|
80
|
+
"@storybook/addon-links": "^7.0.26",
|
|
81
|
+
"@storybook/vue3": "^7.0.12",
|
|
82
|
+
"@storybook/vue3-vite": "^7.0.26",
|
|
83
|
+
"@types/node": "^20.4.0",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
|
85
|
+
"@typescript-eslint/parser": "^5.57.0",
|
|
86
|
+
"@vitejs/plugin-vue": "^4.2.3",
|
|
87
|
+
"@vue/compiler-sfc": "^3.3.1",
|
|
79
88
|
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
80
|
-
"@vue/eslint-config-prettier": "7.1.0",
|
|
89
|
+
"@vue/eslint-config-prettier": "^7.1.0",
|
|
81
90
|
"@vue/eslint-config-typescript": "^11.0.2",
|
|
82
|
-
"@vue/tsconfig": "0.1.3",
|
|
83
|
-
"allure-playwright": "2.
|
|
84
|
-
"
|
|
85
|
-
"eslint": "
|
|
91
|
+
"@vue/tsconfig": "^0.1.3",
|
|
92
|
+
"allure-playwright": "^2.4.0",
|
|
93
|
+
"autoprefixer": "^10.4.14",
|
|
94
|
+
"babel-eslint": "^10.1.0",
|
|
95
|
+
"babel-loader": "^9.1.2",
|
|
96
|
+
"eslint": "^8.44.0",
|
|
86
97
|
"eslint-config-prettier": "8.8.0",
|
|
87
|
-
"eslint-plugin-import": "2.
|
|
88
|
-
"eslint-plugin-prettier": "4.2.1",
|
|
89
|
-
"eslint-plugin-vue": "9.
|
|
90
|
-
"eslint-plugin-vuejs-accessibility": "1.2.0",
|
|
98
|
+
"eslint-plugin-import": "^2.27.5",
|
|
99
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
100
|
+
"eslint-plugin-vue": "^9.15.1",
|
|
101
|
+
"eslint-plugin-vuejs-accessibility": "^1.2.0",
|
|
91
102
|
"husky": "8.0.3",
|
|
92
103
|
"lint-staged": "13.2.2",
|
|
93
|
-
"node-sass": "9.0.0",
|
|
94
|
-
"postcss-html": "1.
|
|
95
|
-
"postcss-preset-env": "8.
|
|
96
|
-
"prettier": "2.8.8",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"stylelint
|
|
104
|
-
"stylelint-config-
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"vite
|
|
111
|
-
"vite-plugin-
|
|
112
|
-
"vite-plugin-
|
|
113
|
-
"vite-
|
|
114
|
-
"
|
|
115
|
-
"
|
|
104
|
+
"node-sass": "^9.0.0",
|
|
105
|
+
"postcss-html": "^1.6.0",
|
|
106
|
+
"postcss-preset-env": "^8.3.0",
|
|
107
|
+
"prettier": "^2.8.8",
|
|
108
|
+
"react": "^18.2.0",
|
|
109
|
+
"react-dom": "^18.2.0",
|
|
110
|
+
"rollup-plugin-visualizer": "^5.9.2",
|
|
111
|
+
"sass": "^1.63.6",
|
|
112
|
+
"storybook": "^7.0.26",
|
|
113
|
+
"style-dictionary": "^3.8.0",
|
|
114
|
+
"stylelint": "^16.2.0",
|
|
115
|
+
"stylelint-config-html": "^1.1.0",
|
|
116
|
+
"stylelint-config-recess-order": "^4.4.0",
|
|
117
|
+
"stylelint-config-standard-scss": "^13.0.0",
|
|
118
|
+
"typescript": "^5.5.3",
|
|
119
|
+
"unplugin-auto-import": "^0.15.2",
|
|
120
|
+
"unplugin-vue-components": "^0.24.1",
|
|
121
|
+
"vite": "^4.4.2",
|
|
122
|
+
"vite-plugin-checker": "^0.5.6",
|
|
123
|
+
"vite-plugin-dts": "^3.7.1",
|
|
124
|
+
"vite-plugin-eslint": "^1.8.1",
|
|
125
|
+
"vite-plugin-stylelint": "^5.3.1",
|
|
126
|
+
"vite-svg-loader": "^4.0.0",
|
|
127
|
+
"vitepress": "^1.1.4",
|
|
128
|
+
"vue-loader": "^17.2.2",
|
|
129
|
+
"vue-tsc": "^1.8.4"
|
|
116
130
|
}
|
|
117
131
|
}
|