@factoringplus/pl-components-pack-v3 1.2.12-pre-05 → 1.2.13-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
+ ```
@@ -8,18 +8,12 @@ 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
  install: (app: App) => void;
14
13
  PlNotification: IPlNotification;
15
14
  apiJs: (optionsRequest: any, isGetResourse: boolean, token: any) => Promise<unknown>;
16
15
  plLoading: typeof plLoading;
17
16
  loader: typeof loadingAndSetup;
18
- formatCurrency: (number: string | number, showDecimal?: boolean, digitCount?: number) => string;
19
- filters: {
20
- install(app: App<any>): void;
21
- };
22
- declOfNum: typeof declOfNum;
23
17
  };
24
18
  export * from './components';
25
19
  export default Storybook;
@@ -18,6 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
18
18
  blur: (...args: any[]) => void;
19
19
  touchstart: (...args: any[]) => void;
20
20
  mousedown: (...args: any[]) => void;
21
+ "custom-blur": (...args: any[]) => void;
21
22
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDefaultProps>, {
22
23
  leftIcon: string;
23
24
  rightIcon: string;
@@ -36,6 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
36
37
  onTouchstart?: (...args: any[]) => any;
37
38
  "onUpdate:modelValue"?: (...args: any[]) => any;
38
39
  onResetValue?: (...args: any[]) => any;
40
+ "onCustom-blur"?: (...args: any[]) => any;
39
41
  onTabHandler?: (...args: any[]) => any;
40
42
  }, {
41
43
  id: string;
@@ -37,6 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
37
  resetValue: (...args: any[]) => void;
38
38
  blur: (...args: any[]) => void;
39
39
  touchstart: (...args: any[]) => void;
40
+ "custom-blur": (...args: any[]) => void;
40
41
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
41
42
  prop: string;
42
43
  modelValue: string;
@@ -71,6 +72,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
71
72
  onTouchstart?: (...args: any[]) => any;
72
73
  "onUpdate:modelValue"?: (...args: any[]) => any;
73
74
  onResetValue?: (...args: any[]) => any;
75
+ "onCustom-blur"?: (...args: any[]) => any;
74
76
  }, {
75
77
  label: string;
76
78
  textarea: boolean;
@@ -81,7 +83,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
81
83
  clearable: boolean;
82
84
  leftIcon: import("../pl-icon").TIcon;
83
85
  password: boolean;
84
- currency: boolean;
85
86
  rightIcon: import("../pl-icon").TIcon;
86
87
  width: string;
87
88
  helpertext: string;
@@ -89,6 +90,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
89
90
  tooltip: string;
90
91
  focusOnReset: boolean;
91
92
  showWordLimit: boolean;
93
+ currency: boolean;
92
94
  round: boolean;
93
95
  'show-word-limit': boolean;
94
96
  maxlength: number;
@@ -15,6 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
15
15
  clearable: boolean;
16
16
  buttons: boolean;
17
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ reset: (...args: any[]) => void;
18
19
  "update:modelValue": (...args: any[]) => void;
19
20
  change: (...args: any[]) => void;
20
21
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectProps>, {
@@ -34,6 +35,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
34
35
  buttons: boolean;
35
36
  }>>> & {
36
37
  onChange?: (...args: any[]) => any;
38
+ onReset?: (...args: any[]) => any;
37
39
  "onUpdate:modelValue"?: (...args: any[]) => any;
38
40
  }, {
39
41
  label: string;
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
42
42
  }, {
43
43
  label: string;
44
44
  disabled: boolean;
45
- modelValue: string | number | IOption;
45
+ modelValue: string | number;
46
46
  prop: string;
47
47
  placeholder: string;
48
48
  clearable: boolean;
@@ -10,7 +10,7 @@ declare interface IOption {
10
10
  customDescription?: string;
11
11
  }
12
12
  declare interface ISelectProps {
13
- modelValue: string | number | IOption | null;
13
+ modelValue: string | number | null;
14
14
  options: IOption[];
15
15
  prop?: string;
16
16
  placeholder?: string;