@factoringplus/pl-components-pack-v3 1.3.3 → 1.3.4-pre-sign-02

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.
Files changed (33) hide show
  1. package/dist/components/basic/pl-button/index.d.ts +7 -7
  2. package/dist/components/basic/pl-button/pl-button.vue.d.ts +1 -1
  3. package/dist/components/basic/pl-button/types/index.d.ts +1 -1
  4. package/dist/components/basic/pl-dialog/pl-dialog-plus.vue.d.ts +2 -2
  5. package/dist/components/components.d.ts +3 -1
  6. package/dist/components/data/pl-snackbar/pl-snackbar.vue.d.ts +1 -1
  7. package/dist/components/data/pl-snackbar/types.d.ts +8 -8
  8. package/dist/components/form/pl-autocomplete/components/pl-default.vue.d.ts +1 -1
  9. package/dist/components/form/pl-autocomplete/pl-autocompete.vue.d.ts +2 -2
  10. package/dist/components/form/pl-autocomplete/types/index.d.ts +1 -1
  11. package/dist/components/form/pl-multi-select/components/pl-default.vue.d.ts +2 -2
  12. package/dist/components/form/pl-multi-select/pl-multi-select.vue.d.ts +1 -1
  13. package/dist/components/form/pl-multi-select/types/index.d.ts +1 -1
  14. package/dist/components/form/pl-select-plus/components/pl-default.vue.d.ts +3 -3
  15. package/dist/components/form/pl-select-plus/components/pl-select-dropdown.vue.d.ts +2 -0
  16. package/dist/components/form/pl-select-plus/pl-select-plus.vue.d.ts +4 -4
  17. package/dist/components/form/pl-select-plus/types/index.d.ts +5 -5
  18. package/dist/components/shared/pl-tab-pane/pl-tab-pane.vue.d.ts +1 -1
  19. package/dist/components/shared/pl-tab-pane/types/index.d.ts +1 -1
  20. package/dist/pl-components-pack-v3.es.js +25275 -22025
  21. package/dist/pl-components-pack-v3.umd.js +56 -50
  22. package/dist/services/SigningService/SigningService.vue.d.ts +55 -0
  23. package/dist/services/SigningService/components/AddingES/AddingES.vue.d.ts +43 -0
  24. package/dist/services/SigningService/components/ErrorSystem/ErrorSystem.vue.d.ts +39 -0
  25. package/dist/services/SigningService/components/LoadingTemplate.vue.d.ts +31 -0
  26. package/dist/services/SigningService/components/ModalTemplate.vue.d.ts +54 -0
  27. package/dist/services/SigningService/components/SignFiles/SIgnFiles.vue.d.ts +43 -0
  28. package/dist/services/SigningService/index.d.ts +52 -0
  29. package/dist/services/SigningService/types/index.d.ts +40 -0
  30. package/dist/style.css +1 -1
  31. package/dist/utils/formatCurrency.d.ts +1 -1
  32. package/dist/utils/formatDate.d.ts +1 -0
  33. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ import { IFiles } from './types';
2
+
3
+ interface ISignProps {
4
+ loadingAdding?: boolean;
5
+ loadingSigning?: boolean;
6
+ certificatesThumbprint?: string[];
7
+ }
8
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISignProps>, {
9
+ loadingAdding: boolean;
10
+ loadingSigning: boolean;
11
+ certificatesThumbprint: () => any[];
12
+ }>, {
13
+ addEs: (testFile: IFiles) => Promise<void>;
14
+ addSign: (files: IFiles[]) => void;
15
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (...args: any[]) => void;
17
+ "system-setup-error": (...args: any[]) => void;
18
+ "click-action": (...args: any[]) => void;
19
+ "error-action": (...args: any[]) => void;
20
+ "no-files": (...args: any[]) => void;
21
+ "signing-end": (...args: any[]) => void;
22
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISignProps>, {
23
+ loadingAdding: boolean;
24
+ loadingSigning: boolean;
25
+ certificatesThumbprint: () => any[];
26
+ }>>> & {
27
+ "onUpdate:modelValue"?: (...args: any[]) => any;
28
+ "onSystem-setup-error"?: (...args: any[]) => any;
29
+ "onClick-action"?: (...args: any[]) => any;
30
+ "onError-action"?: (...args: any[]) => any;
31
+ "onNo-files"?: (...args: any[]) => any;
32
+ "onSigning-end"?: (...args: any[]) => any;
33
+ }, {
34
+ loadingAdding: boolean;
35
+ loadingSigning: boolean;
36
+ certificatesThumbprint: string[];
37
+ }, {}>;
38
+ export default _default;
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToRuntimeProps<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
+ default: D[K];
51
+ }> : P[K];
52
+ };
53
+ type __VLS_Prettify<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};
@@ -0,0 +1,43 @@
1
+ import { ParsedCertificate } from '../../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: boolean;
5
+ loading?: boolean;
6
+ loadingAdding?: boolean;
7
+ certificates: ParsedCertificate[];
8
+ }>, {
9
+ modelValue: boolean;
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
12
+ "click-action": (...args: any[]) => void;
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue: boolean;
15
+ loading?: boolean;
16
+ loadingAdding?: boolean;
17
+ certificates: ParsedCertificate[];
18
+ }>, {
19
+ modelValue: boolean;
20
+ }>>> & {
21
+ "onUpdate:modelValue"?: (...args: any[]) => any;
22
+ "onClick-action"?: (...args: any[]) => any;
23
+ }, {
24
+ modelValue: boolean;
25
+ }, {}>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
@@ -0,0 +1,39 @@
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: boolean;
3
+ loading?: boolean;
4
+ loadingSigning?: boolean;
5
+ }>, {
6
+ modelValue: boolean;
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (...args: any[]) => void;
9
+ "error-action": (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ modelValue: boolean;
12
+ loading?: boolean;
13
+ loadingSigning?: boolean;
14
+ }>, {
15
+ modelValue: boolean;
16
+ }>>> & {
17
+ "onUpdate:modelValue"?: (...args: any[]) => any;
18
+ "onError-action"?: (...args: any[]) => any;
19
+ }, {
20
+ modelValue: boolean;
21
+ }, {}>;
22
+ export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
+ default: D[K];
35
+ }> : P[K];
36
+ };
37
+ type __VLS_Prettify<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -0,0 +1,31 @@
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: boolean;
3
+ title: string;
4
+ }>, {
5
+ modelValue: boolean;
6
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ modelValue: boolean;
8
+ title: string;
9
+ }>, {
10
+ modelValue: boolean;
11
+ }>>>, {
12
+ modelValue: boolean;
13
+ }, {}>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
@@ -0,0 +1,54 @@
1
+ import { ParsedCertificate } from '../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: boolean;
5
+ illustration: string;
6
+ title: string;
7
+ primaryButtonText: string;
8
+ loading?: boolean;
9
+ certificates?: ParsedCertificate[];
10
+ error?: boolean;
11
+ }>, {
12
+ modelValue: boolean;
13
+ error: boolean;
14
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (...args: any[]) => void;
16
+ "system-setup-error": (...args: any[]) => void;
17
+ "click-action": (...args: any[]) => void;
18
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ modelValue: boolean;
20
+ illustration: string;
21
+ title: string;
22
+ primaryButtonText: string;
23
+ loading?: boolean;
24
+ certificates?: ParsedCertificate[];
25
+ error?: boolean;
26
+ }>, {
27
+ modelValue: boolean;
28
+ error: boolean;
29
+ }>>> & {
30
+ "onUpdate:modelValue"?: (...args: any[]) => any;
31
+ "onSystem-setup-error"?: (...args: any[]) => any;
32
+ "onClick-action"?: (...args: any[]) => any;
33
+ }, {
34
+ error: boolean;
35
+ modelValue: boolean;
36
+ }, {}>;
37
+ export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
49
+ default: D[K];
50
+ }> : P[K];
51
+ };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
@@ -0,0 +1,43 @@
1
+ import { ParsedCertificate } from '../../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: boolean;
5
+ loading?: boolean;
6
+ loadingSigning?: boolean;
7
+ certificates: ParsedCertificate[];
8
+ }>, {
9
+ modelValue: boolean;
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
12
+ "click-action": (...args: any[]) => void;
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue: boolean;
15
+ loading?: boolean;
16
+ loadingSigning?: boolean;
17
+ certificates: ParsedCertificate[];
18
+ }>, {
19
+ modelValue: boolean;
20
+ }>>> & {
21
+ "onUpdate:modelValue"?: (...args: any[]) => any;
22
+ "onClick-action"?: (...args: any[]) => any;
23
+ }, {
24
+ modelValue: boolean;
25
+ }, {}>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
@@ -0,0 +1,52 @@
1
+ import { IFiles, ParsedCertificate, TagTranslation, ISignedFile, IValidatorError } from './types';
2
+
3
+ export declare const PlSigningService: import('../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
4
+ loadingAdding: {
5
+ type: import('vue').PropType<boolean>;
6
+ default: boolean;
7
+ };
8
+ loadingSigning: {
9
+ type: import('vue').PropType<boolean>;
10
+ default: boolean;
11
+ };
12
+ certificatesThumbprint: {
13
+ type: import('vue').PropType<string[]>;
14
+ default: () => any[];
15
+ };
16
+ }, {
17
+ addEs: (testFile: IFiles) => Promise<void>;
18
+ addSign: (files: IFiles[]) => void;
19
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:modelValue": (...args: any[]) => void;
21
+ "system-setup-error": (...args: any[]) => void;
22
+ "click-action": (...args: any[]) => void;
23
+ "error-action": (...args: any[]) => void;
24
+ "no-files": (...args: any[]) => void;
25
+ "signing-end": (...args: any[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ loadingAdding: {
28
+ type: import('vue').PropType<boolean>;
29
+ default: boolean;
30
+ };
31
+ loadingSigning: {
32
+ type: import('vue').PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ certificatesThumbprint: {
36
+ type: import('vue').PropType<string[]>;
37
+ default: () => any[];
38
+ };
39
+ }>> & {
40
+ "onUpdate:modelValue"?: (...args: any[]) => any;
41
+ "onSystem-setup-error"?: (...args: any[]) => any;
42
+ "onClick-action"?: (...args: any[]) => any;
43
+ "onError-action"?: (...args: any[]) => any;
44
+ "onNo-files"?: (...args: any[]) => any;
45
+ "onSigning-end"?: (...args: any[]) => any;
46
+ }, {
47
+ loadingAdding: boolean;
48
+ loadingSigning: boolean;
49
+ certificatesThumbprint: string[];
50
+ }, {}>>;
51
+ export default PlSigningService;
52
+ export type { IFiles, ParsedCertificate, TagTranslation, ISignedFile, IValidatorError };
@@ -0,0 +1,40 @@
1
+ export declare interface IFiles {
2
+ attachmentId: string;
3
+ fileDigestAlgorithmOid: string;
4
+ fileDigest: string;
5
+ }
6
+ export declare interface ParsedCertificate {
7
+ value?: ParsedCertificate;
8
+ label: string;
9
+ description: string;
10
+ optionText: string;
11
+ companyInn: string;
12
+ companyName: string;
13
+ fio: string;
14
+ owner: string;
15
+ tooltipText: string;
16
+ thumbprint: string;
17
+ validFrom: string;
18
+ validTo: string;
19
+ isInnUL: boolean;
20
+ inn: string;
21
+ role: string;
22
+ }
23
+ export declare interface TagTranslation {
24
+ description: string;
25
+ title: string;
26
+ isTranslated: boolean;
27
+ }
28
+ export declare interface ISignedFile {
29
+ attachmentId: string;
30
+ signaturePem: string;
31
+ }
32
+ export declare interface IValidatorError {
33
+ data: {
34
+ code: string;
35
+ errors: {
36
+ errorMessage: string;
37
+ propertyName: string;
38
+ }[];
39
+ };
40
+ }