@factoringplus/pl-components-pack-v3 1.2.16 → 1.2.18-pre-01

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/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # Библиотека компонентов Vue 3
2
-
3
- ## Установка
4
-
5
- ```bash
6
- npm i @factoringplus/pl-components-pack-v3
7
- ```
8
-
9
- ### Добавление компонентов в проект
10
-
11
- ```bash
12
- // src/main.js
13
- import components from '@factoringplus/pl-components-pack-v3';
14
- import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
-
16
- app.use(components)
17
- ```
1
+ # Библиотека компонентов Vue 3
2
+
3
+ ## Установка
4
+
5
+ ```bash
6
+ npm i @factoringplus/pl-components-pack-v3
7
+ ```
8
+
9
+ ### Добавление компонентов в проект
10
+
11
+ ```bash
12
+ // src/main.js
13
+ import components from '@factoringplus/pl-components-pack-v3';
14
+ import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
+
16
+ app.use(components)
17
+ ```
@@ -34,5 +34,13 @@ export * from './pl-upload';
34
34
  export * from './pl-upload-legacy';
35
35
  export * from './pl-upload-plus';
36
36
  export * from './pl-tooltip-plus';
37
+ export * from './pl-mark-text';
38
+ export * from '../utils/formatCurrency';
39
+ export * from '../utils/declOfNum';
40
+ export * from '../utils/isEqual';
41
+ export * from '../utils/formatDate';
42
+ export * from '../utils/deepSet';
43
+ export * from '../utils/dadataParser';
44
+ export * from '../plugins/filters';
37
45
  declare const _default: Plugin<any[]>[];
38
46
  export default _default;
@@ -8,16 +8,26 @@ import loadingAndSetup from '../plugins/loading/loading';
8
8
 
9
9
 
10
10
  import type { IPlNotification } from './pl-snackbar/types';
11
- import declOfNum from '../utils/declOfNum';
12
11
  declare const Storybook: {
13
12
  apiJs: (optionsRequest: any, isGetResourse: boolean, token: any) => Promise<unknown>;
14
13
  plLoading: typeof plLoading;
15
14
  loader: typeof loadingAndSetup;
16
- formatCurrency: (number: string | number, showDecimal?: boolean, digitCount?: number) => string;
17
- filters: {
18
- install(app: App<any>): void;
15
+ formatCurrency: import("../install-function").SFCInstallWithContext<(number: string | number, showDecimal?: boolean, digitCount?: number) => string>;
16
+ filters: import("../install-function").SFCInstallWithContext<() => {
17
+ capitalize(value: string): string;
18
+ displayDate(value: string | import("dayjs").Dayjs): string;
19
+ }>;
20
+ declOfNum: import("../install-function").SFCInstallWithContext<(value: number, words: string[]) => string>;
21
+ isEqual: import("../install-function").SFCInstallWithContext<(<T>(obj1: T, obj2: T) => boolean)>;
22
+ formatDate: import("../install-function").SFCInstallWithContext<(date: string, format: string) => string>;
23
+ deepSet: import("../install-function").SFCInstallWithContext<() => {
24
+ add: (o: any) => void;
25
+ }>;
26
+ dataParser: {
27
+ recipientBottomText: import("../install-function").SFCInstallWithContext<(response: any[], getBottomText: any) => any[]>;
28
+ innKppBottomText: import("../install-function").SFCInstallWithContext<(e: import('../utils/dadataParser').PartyElement) => string>;
29
+ innAddressBottomText: import("../install-function").SFCInstallWithContext<(e: import('../utils/dadataParser').PartyElement) => string>;
19
30
  };
20
- declOfNum: typeof declOfNum;
21
31
  length: number;
22
32
  toString(): string;
23
33
  toLocaleString(): string;
@@ -0,0 +1,2 @@
1
+ export declare const PlMarkText: import('../../install-function').SFCInstallWithContext<import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
2
+ export default PlMarkText;
@@ -13,6 +13,7 @@ interface IProps {
13
13
  prop?: string;
14
14
  optional?: string;
15
15
  width?: string;
16
+ viewMode: boolean;
16
17
  }
17
18
  declare type TError = {
18
19
  dist: boolean;
@@ -22,6 +23,7 @@ declare type TUnloadedFile = {
22
23
  name: string;
23
24
  size: number;
24
25
  error?: TError;
26
+ removable?: boolean;
25
27
  };
26
28
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
27
29
  multiple: boolean;
@@ -38,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
40
  prop: string;
39
41
  optional: string;
40
42
  width: string;
43
+ viewMode: boolean;
41
44
  }>, {
42
45
  addFiles: (files: FileList | File[]) => void;
43
46
  removeFile: (fileToRemove: File | TUnloadedFile) => void;
@@ -60,6 +63,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
63
  prop: string;
61
64
  optional: string;
62
65
  width: string;
66
+ viewMode: boolean;
63
67
  }>>> & {
64
68
  onAddFiles?: (...args: any[]) => any;
65
69
  onRemoveFile?: (...args: any[]) => any;
@@ -79,6 +83,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
79
83
  maxHeightScroll: number;
80
84
  limit: number;
81
85
  helperText: string;
86
+ viewMode: boolean;
82
87
  }, {}>;
83
88
  export default _default;
84
89
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;