@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.
Files changed (155) hide show
  1. package/dist/components/button/index.d.ts +191 -191
  2. package/dist/components/button/pl-button.vue.d.ts +66 -64
  3. package/dist/components/button/types/index.d.ts +21 -21
  4. package/dist/components/components.d.ts +47 -47
  5. package/dist/components/deprecated/currency-input/index.d.ts +5 -5
  6. package/dist/components/deprecated/pl-checkbox/index.d.ts +5 -5
  7. package/dist/components/deprecated/pl-date-picker/index.d.ts +5 -5
  8. package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +77 -77
  9. package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +72 -72
  10. package/dist/components/deprecated/pl-date-picker-legacy/index.d.ts +5 -5
  11. package/dist/components/deprecated/pl-dialog/index.d.ts +5 -5
  12. package/dist/components/deprecated/pl-dialog/pl-dialog.vue.d.ts +104 -102
  13. package/dist/components/deprecated/pl-form-item/index.d.ts +5 -5
  14. package/dist/components/deprecated/pl-input/index.d.ts +5 -5
  15. package/dist/components/deprecated/pl-input-native/index.d.ts +5 -5
  16. package/dist/components/deprecated/pl-select/index.d.ts +5 -5
  17. package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +149 -147
  18. package/dist/components/deprecated/pl-suggestions/index.d.ts +5 -5
  19. package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +112 -112
  20. package/dist/components/deprecated/pl-table/index.d.ts +5 -5
  21. package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +133 -133
  22. package/dist/components/deprecated/pl-tooltip/index.d.ts +5 -5
  23. package/dist/components/deprecated/pl-tooltip/pl-tooltip.vue.d.ts +58 -56
  24. package/dist/components/deprecated/pl-upload/index.d.ts +5 -5
  25. package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +124 -124
  26. package/dist/components/deprecated/pl-upload-legacy/index.d.ts +5 -5
  27. package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +111 -111
  28. package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -60
  29. package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -60
  30. package/dist/components/pl-autocomplete/index.d.ts +5 -5
  31. package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +95 -95
  32. package/dist/components/pl-autocomplete/types/index.d.ts +57 -57
  33. package/dist/components/pl-card/index.d.ts +5 -5
  34. package/dist/components/pl-checkbox-plus/index.d.ts +5 -5
  35. package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +74 -72
  36. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +68 -68
  37. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +56 -56
  38. package/dist/components/pl-date-picker-plus/common/constants.d.ts +2 -2
  39. package/dist/components/pl-date-picker-plus/common/types/index.d.ts +50 -50
  40. package/dist/components/pl-date-picker-plus/common/utils/wrapperFunctions.d.ts +13 -13
  41. package/dist/components/pl-date-picker-plus/index.d.ts +5 -5
  42. package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +82 -82
  43. package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +84 -84
  44. package/dist/components/pl-dialog/index.d.ts +5 -5
  45. package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +106 -104
  46. package/dist/components/pl-form/index.d.ts +5 -5
  47. package/dist/components/pl-form/pl-form.vue.d.ts +55 -53
  48. package/dist/components/pl-icon/index.d.ts +6 -6
  49. package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -12
  50. package/dist/components/pl-icon/types/iconsType.d.ts +5 -5
  51. package/dist/components/pl-icon/types/index.d.ts +2 -2
  52. package/dist/components/pl-input-plus/components/pl-currency.vue.d.ts +46 -46
  53. package/dist/components/pl-input-plus/components/pl-default.vue.d.ts +72 -72
  54. package/dist/components/pl-input-plus/components/pl-password.vue.d.ts +47 -47
  55. package/dist/components/pl-input-plus/components/pl-textarea.vue.d.ts +45 -45
  56. package/dist/components/pl-input-plus/index.d.ts +5 -5
  57. package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +123 -123
  58. package/dist/components/pl-input-plus/types/index.d.ts +65 -65
  59. package/dist/components/pl-label/pl-label.vue.d.ts +41 -39
  60. package/dist/components/pl-link/index.d.ts +5 -5
  61. package/dist/components/pl-link/pl-link.vue.d.ts +50 -48
  62. package/dist/components/pl-mark-text/index.d.ts +16 -16
  63. package/dist/components/pl-mark-text/pl-mark-text.vue.d.ts +16 -16
  64. package/dist/components/pl-multi-select/components/pl-default.vue.d.ts +68 -68
  65. package/dist/components/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +49 -49
  66. package/dist/components/pl-multi-select/index.d.ts +5 -5
  67. package/dist/components/pl-multi-select/pl-multi-select.vue.d.ts +72 -72
  68. package/dist/components/pl-multi-select/types/index.d.ts +33 -33
  69. package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +38 -38
  70. package/dist/components/pl-multitab/index.d.ts +5 -5
  71. package/dist/components/pl-multitab/pl-multitab.vue.d.ts +39 -39
  72. package/dist/components/pl-multitab/types/index.d.ts +14 -14
  73. package/dist/components/pl-option/index.d.ts +5 -5
  74. package/dist/components/pl-option/pl-option.vue.d.ts +122 -122
  75. package/dist/components/pl-radio/index.d.ts +5 -5
  76. package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -69
  77. package/dist/components/pl-scrollbar/index.d.ts +5 -5
  78. package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +67 -65
  79. package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -1
  80. package/dist/components/pl-select-plus/components/pl-account.vue.d.ts +68 -68
  81. package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +68 -68
  82. package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -45
  83. package/dist/components/pl-select-plus/index.d.ts +5 -5
  84. package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -77
  85. package/dist/components/pl-select-plus/types/index.d.ts +38 -38
  86. package/dist/components/pl-skeleton/index.d.ts +5 -5
  87. package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +40 -40
  88. package/dist/components/pl-snackbar/index.d.ts +7 -7
  89. package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +47 -47
  90. package/dist/components/pl-snackbar/renderSnackbar.d.ts +3 -3
  91. package/dist/components/pl-snackbar/types.d.ts +25 -25
  92. package/dist/components/pl-stepper/index.d.ts +5 -5
  93. package/dist/components/pl-stepper/pl-stepper.vue.d.ts +57 -57
  94. package/dist/components/pl-switch/index.d.ts +5 -5
  95. package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -47
  96. package/dist/components/pl-tab-pane/index.d.ts +5 -5
  97. package/dist/components/pl-tab-pane/pl-tab-pane.vue.d.ts +47 -45
  98. package/dist/components/pl-tab-pane/types/index.d.ts +8 -8
  99. package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -52
  100. package/dist/components/pl-table-plus/index.d.ts +5 -5
  101. package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +95 -93
  102. package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +23 -21
  103. package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +45 -45
  104. package/dist/components/pl-tabs/index.d.ts +5 -5
  105. package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -45
  106. package/dist/components/pl-tags/pl-tags.vue.d.ts +37 -35
  107. package/dist/components/pl-text/components/pl-body1.vue.d.ts +23 -21
  108. package/dist/components/pl-text/components/pl-body2.vue.d.ts +23 -21
  109. package/dist/components/pl-text/components/pl-body3.vue.d.ts +23 -21
  110. package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +23 -21
  111. package/dist/components/pl-text/components/pl-btn1.vue.d.ts +23 -21
  112. package/dist/components/pl-text/components/pl-btn2.vue.d.ts +23 -21
  113. package/dist/components/pl-text/components/pl-btn3.vue.d.ts +23 -21
  114. package/dist/components/pl-text/components/pl-cap.vue.d.ts +23 -21
  115. package/dist/components/pl-text/components/pl-h1.vue.d.ts +23 -21
  116. package/dist/components/pl-text/components/pl-h2.vue.d.ts +23 -21
  117. package/dist/components/pl-text/components/pl-h3.vue.d.ts +23 -21
  118. package/dist/components/pl-text/components/pl-h4.vue.d.ts +23 -21
  119. package/dist/components/pl-text/components/pl-sub1.vue.d.ts +19 -17
  120. package/dist/components/pl-text/components/pl-sub2.vue.d.ts +19 -17
  121. package/dist/components/pl-text/components/pl-system.vue.d.ts +19 -17
  122. package/dist/components/pl-text/components/pl-tag.vue.d.ts +19 -17
  123. package/dist/components/pl-text/components/pl-title1.vue.d.ts +19 -17
  124. package/dist/components/pl-text/components/pl-title2.vue.d.ts +19 -17
  125. package/dist/components/pl-text/components/pl-title3.vue.d.ts +19 -17
  126. package/dist/components/pl-text/index.d.ts +5 -5
  127. package/dist/components/pl-tooltip-plus/index.d.ts +5 -5
  128. package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +55 -53
  129. package/dist/components/pl-upload-plus/index.d.ts +5 -5
  130. package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +109 -109
  131. package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -1
  132. package/dist/directives/index.d.ts +5 -5
  133. package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -1
  134. package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -1
  135. package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -1
  136. package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -2
  137. package/dist/directives/vLoading.d.ts +3 -3
  138. package/dist/directives/vTap.d.ts +3 -3
  139. package/dist/directives/vTouchOutside.d.ts +3 -3
  140. package/dist/install-function/index.d.ts +6 -6
  141. package/dist/main.d.ts +1 -1
  142. package/dist/plugins/api/api.d.ts +2 -2
  143. package/dist/plugins/filters.d.ts +8 -8
  144. package/dist/plugins/loading/loading.d.ts +3 -3
  145. package/dist/services/plLoading.d.ts +3 -3
  146. package/dist/utils/dadataParser.d.ts +11 -11
  147. package/dist/utils/declOfNum.d.ts +3 -3
  148. package/dist/utils/deepSet.d.ts +6 -6
  149. package/dist/utils/formatAccount.d.ts +2 -2
  150. package/dist/utils/formatCurrency.d.ts +3 -3
  151. package/dist/utils/formatDate.d.ts +3 -3
  152. package/dist/utils/getSourceCode.d.ts +5 -5
  153. package/dist/utils/isEqual.d.ts +3 -3
  154. package/dist/utils/types.d.ts +67 -67
  155. package/package.json +80 -66
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
-
3
- declare const PlInputPlus: {
4
- install(app: App): void;
5
- };
6
- export default PlInputPlus;
2
+
3
+ declare const PlInputPlus: {
4
+ install(app: App): void;
5
+ };
6
+ export default PlInputPlus;
@@ -1,124 +1,124 @@
1
1
  import { IPlInputPlusProps } from './types';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
4
- prop: string;
5
- modelValue: string;
6
- showWordLimit: boolean;
7
- placeholder: string;
8
- currency: boolean;
9
- password: boolean;
10
- textarea: boolean;
11
- width: string;
12
- helpertext: string;
13
- optional: string;
14
- label: string;
15
- tooltip: string;
16
- leftIcon: string;
17
- rightIcon: string;
18
- round: boolean;
19
- 'show-word-limit': boolean;
20
- disabled: boolean;
21
- maxlength: any;
22
- currentPassword: boolean;
23
- newPassword: boolean;
24
- iconPointer: boolean;
25
- customBlur: boolean;
26
- clearable: boolean;
27
- focusOnReset: boolean;
28
- disableTrim: boolean;
29
- valueRange: () => {
30
- min: number;
31
- };
32
- }>, {
33
- blurInput: (mob?: boolean) => void;
34
- focusInput: () => void;
35
- getId: () => string;
36
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- "update:modelValue": (...args: any[]) => void;
38
- resetValue: (...args: any[]) => void;
39
- touchstart: (...args: any[]) => void;
40
- blur: (...args: any[]) => void;
41
- "custom-blur": (...args: any[]) => void;
42
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
43
- prop: string;
44
- modelValue: string;
45
- showWordLimit: boolean;
46
- placeholder: string;
47
- currency: boolean;
48
- password: boolean;
49
- textarea: boolean;
50
- width: string;
51
- helpertext: string;
52
- optional: string;
53
- label: string;
54
- tooltip: string;
55
- leftIcon: string;
56
- rightIcon: string;
57
- round: boolean;
58
- 'show-word-limit': boolean;
59
- disabled: boolean;
60
- maxlength: any;
61
- currentPassword: boolean;
62
- newPassword: boolean;
63
- iconPointer: boolean;
64
- customBlur: boolean;
65
- clearable: boolean;
66
- focusOnReset: boolean;
67
- disableTrim: boolean;
68
- valueRange: () => {
69
- min: number;
70
- };
71
- }>>> & {
72
- onBlur?: (...args: any[]) => any;
73
- onTouchstart?: (...args: any[]) => any;
74
- "onUpdate:modelValue"?: (...args: any[]) => any;
75
- onResetValue?: (...args: any[]) => any;
76
- "onCustom-blur"?: (...args: any[]) => any;
77
- }, {
78
- label: string;
79
- textarea: boolean;
80
- disabled: boolean;
81
- modelValue: import('./types').TInputModelValue;
82
- width: string;
83
- placeholder: string;
84
- prop: string;
85
- showWordLimit: boolean;
86
- currency: boolean;
87
- password: boolean;
88
- helpertext: string;
89
- optional: string;
90
- tooltip: string;
91
- leftIcon: import('../pl-icon').TIcon;
92
- rightIcon: import('../pl-icon').TIcon;
93
- round: boolean;
94
- 'show-word-limit': boolean;
95
- maxlength: number;
96
- currentPassword: boolean;
97
- newPassword: boolean;
98
- iconPointer: boolean;
99
- customBlur: boolean;
100
- clearable: boolean;
101
- focusOnReset: boolean;
102
- disableTrim: boolean;
103
- valueRange: {
104
- min: number;
105
- };
106
- }, {}>;
107
- export default _default;
108
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
109
- type __VLS_TypePropsToRuntimeProps<T> = {
110
- [K in keyof T]-?: {} extends Pick<T, K> ? {
111
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
112
- } : {
113
- type: import('vue').PropType<T[K]>;
114
- required: true;
115
- };
116
- };
117
- type __VLS_WithDefaults<P, D> = {
118
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
119
- default: D[K];
120
- }> : P[K];
121
- };
122
- type __VLS_Prettify<T> = {
123
- [K in keyof T]: T[K];
124
- } & {};
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
4
+ prop: string;
5
+ modelValue: string;
6
+ showWordLimit: boolean;
7
+ placeholder: string;
8
+ currency: boolean;
9
+ password: boolean;
10
+ textarea: boolean;
11
+ width: string;
12
+ helpertext: string;
13
+ optional: string;
14
+ label: string;
15
+ tooltip: string;
16
+ leftIcon: string;
17
+ rightIcon: string;
18
+ round: boolean;
19
+ 'show-word-limit': boolean;
20
+ disabled: boolean;
21
+ maxlength: any;
22
+ currentPassword: boolean;
23
+ newPassword: boolean;
24
+ iconPointer: boolean;
25
+ customBlur: boolean;
26
+ clearable: boolean;
27
+ focusOnReset: boolean;
28
+ disableTrim: boolean;
29
+ valueRange: () => {
30
+ min: number;
31
+ };
32
+ }>, {
33
+ blurInput: (mob?: boolean) => void;
34
+ focusInput: () => void;
35
+ getId: () => string;
36
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ "update:modelValue": (...args: any[]) => void;
38
+ resetValue: (...args: any[]) => void;
39
+ touchstart: (...args: any[]) => void;
40
+ blur: (...args: any[]) => void;
41
+ "custom-blur": (...args: any[]) => void;
42
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
43
+ prop: string;
44
+ modelValue: string;
45
+ showWordLimit: boolean;
46
+ placeholder: string;
47
+ currency: boolean;
48
+ password: boolean;
49
+ textarea: boolean;
50
+ width: string;
51
+ helpertext: string;
52
+ optional: string;
53
+ label: string;
54
+ tooltip: string;
55
+ leftIcon: string;
56
+ rightIcon: string;
57
+ round: boolean;
58
+ 'show-word-limit': boolean;
59
+ disabled: boolean;
60
+ maxlength: any;
61
+ currentPassword: boolean;
62
+ newPassword: boolean;
63
+ iconPointer: boolean;
64
+ customBlur: boolean;
65
+ clearable: boolean;
66
+ focusOnReset: boolean;
67
+ disableTrim: boolean;
68
+ valueRange: () => {
69
+ min: number;
70
+ };
71
+ }>>> & {
72
+ onBlur?: (...args: any[]) => any;
73
+ onTouchstart?: (...args: any[]) => any;
74
+ "onUpdate:modelValue"?: (...args: any[]) => any;
75
+ onResetValue?: (...args: any[]) => any;
76
+ "onCustom-blur"?: (...args: any[]) => any;
77
+ }, {
78
+ label: string;
79
+ textarea: boolean;
80
+ disabled: boolean;
81
+ modelValue: import('./types').TInputModelValue;
82
+ width: string;
83
+ placeholder: string;
84
+ prop: string;
85
+ showWordLimit: boolean;
86
+ currency: boolean;
87
+ password: boolean;
88
+ helpertext: string;
89
+ optional: string;
90
+ tooltip: string;
91
+ leftIcon: import('../pl-icon').TIcon;
92
+ rightIcon: import('../pl-icon').TIcon;
93
+ round: boolean;
94
+ 'show-word-limit': boolean;
95
+ maxlength: import('./types').TMaxlength;
96
+ currentPassword: boolean;
97
+ newPassword: boolean;
98
+ iconPointer: boolean;
99
+ customBlur: boolean;
100
+ clearable: boolean;
101
+ focusOnReset: boolean;
102
+ disableTrim: boolean;
103
+ valueRange: {
104
+ min: number;
105
+ };
106
+ }, {}>;
107
+ export default _default;
108
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
109
+ type __VLS_TypePropsToRuntimeProps<T> = {
110
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
111
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
112
+ } : {
113
+ type: import('vue').PropType<T[K]>;
114
+ required: true;
115
+ };
116
+ };
117
+ type __VLS_WithDefaults<P, D> = {
118
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
119
+ default: D[K];
120
+ }> : P[K];
121
+ };
122
+ type __VLS_Prettify<T> = {
123
+ [K in keyof T]: T[K];
124
+ } & {};
@@ -1,67 +1,67 @@
1
1
  import { CurrencyInputOptions, NumberRange } from 'vue-currency-input';
2
2
  import { TIcon } from '../../pl-icon/types';
3
-
4
- export type TInputModelValue = string | number | null | undefined;
5
- export type TMaxlength = number | null | undefined;
6
- interface IBaseInputProps {
7
- prop?: string;
8
- modelValue: TInputModelValue;
9
- placeholder?: string;
10
- disabled?: boolean;
11
- }
12
- export interface IPlInputPlusProps extends IBaseInputProps {
13
- showWordLimit?: boolean;
14
- currency?: boolean;
15
- password?: boolean;
16
- textarea?: boolean;
17
- width?: string;
18
- helpertext?: string;
19
- optional?: string;
20
- label?: string;
21
- tooltip?: string;
22
- leftIcon?: TIcon;
23
- rightIcon?: TIcon;
24
- round?: boolean;
25
- valueRange?: NumberRange;
26
- currencyInputOptions?: CurrencyInputOptions;
27
- 'show-word-limit'?: boolean;
28
- formatter?: Function;
29
- maxlength?: TMaxlength;
30
- currentPassword?: boolean;
31
- newPassword?: boolean;
32
- iconPointer?: boolean;
33
- customBlur?: boolean;
34
- clearable?: boolean;
35
- focusOnReset?: boolean;
36
- disableTrim?: boolean;
37
- }
38
- export interface IPlDefaultProps extends IBaseInputProps {
39
- id: string;
40
- maxlength?: TMaxlength;
41
- showWordLimit?: boolean;
42
- clearable?: boolean;
43
- leftIcon?: TIcon;
44
- rightIcon?: TIcon;
45
- formatter?: Function;
46
- iconPointer?: boolean;
47
- customBlur?: boolean;
48
- }
49
- export interface IPlCurrencyProps extends IBaseInputProps {
50
- id: string;
51
- leftIcon?: TIcon;
52
- round?: boolean;
53
- valueRange?: NumberRange;
54
- currencyInputOptions?: CurrencyInputOptions;
55
- }
56
- export interface IPlTextareaProps extends IBaseInputProps {
57
- id: string;
58
- showWordLimit?: boolean;
59
- maxlength?: TMaxlength;
60
- }
61
- export interface IPlPasswordProps extends IBaseInputProps {
62
- id: string;
63
- leftIcon?: TIcon;
64
- currentPassword?: boolean;
65
- newPassword?: boolean;
66
- }
67
- export {};
3
+
4
+ export type TInputModelValue = string | number | null | undefined;
5
+ export type TMaxlength = number | null | undefined;
6
+ interface IBaseInputProps {
7
+ prop?: string;
8
+ modelValue: TInputModelValue;
9
+ placeholder?: string;
10
+ disabled?: boolean;
11
+ }
12
+ export interface IPlInputPlusProps extends IBaseInputProps {
13
+ showWordLimit?: boolean;
14
+ currency?: boolean;
15
+ password?: boolean;
16
+ textarea?: boolean;
17
+ width?: string;
18
+ helpertext?: string;
19
+ optional?: string;
20
+ label?: string;
21
+ tooltip?: string;
22
+ leftIcon?: TIcon;
23
+ rightIcon?: TIcon;
24
+ round?: boolean;
25
+ valueRange?: NumberRange;
26
+ currencyInputOptions?: CurrencyInputOptions;
27
+ 'show-word-limit'?: boolean;
28
+ formatter?: Function;
29
+ maxlength?: TMaxlength;
30
+ currentPassword?: boolean;
31
+ newPassword?: boolean;
32
+ iconPointer?: boolean;
33
+ customBlur?: boolean;
34
+ clearable?: boolean;
35
+ focusOnReset?: boolean;
36
+ disableTrim?: boolean;
37
+ }
38
+ export interface IPlDefaultProps extends IBaseInputProps {
39
+ id: string;
40
+ maxlength?: TMaxlength;
41
+ showWordLimit?: boolean;
42
+ clearable?: boolean;
43
+ leftIcon?: TIcon;
44
+ rightIcon?: TIcon;
45
+ formatter?: Function;
46
+ iconPointer?: boolean;
47
+ customBlur?: boolean;
48
+ }
49
+ export interface IPlCurrencyProps extends IBaseInputProps {
50
+ id: string;
51
+ leftIcon?: TIcon;
52
+ round?: boolean;
53
+ valueRange?: NumberRange;
54
+ currencyInputOptions?: CurrencyInputOptions;
55
+ }
56
+ export interface IPlTextareaProps extends IBaseInputProps {
57
+ id: string;
58
+ showWordLimit?: boolean;
59
+ maxlength?: TMaxlength;
60
+ }
61
+ export interface IPlPasswordProps extends IBaseInputProps {
62
+ id: string;
63
+ leftIcon?: TIcon;
64
+ currentPassword?: boolean;
65
+ newPassword?: boolean;
66
+ }
67
+ export {};
@@ -1,39 +1,41 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
- title: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- description: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- disabled: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
- title: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- description: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- disabled: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- }>>, {
28
- title: string;
29
- disabled: boolean;
30
- description: string;
31
- }, {}>, {
32
- "custom-description"?(_: {}): any;
33
- }>;
34
- export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
36
- new (): {
37
- $slots: S;
38
- };
39
- };
1
+ declare function __VLS_template(): {
2
+ "custom-description"?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{
5
+ title: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ description: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ title: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ description: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ disabled: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>>, {
31
+ title: string;
32
+ disabled: boolean;
33
+ description: string;
34
+ }, {}>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
-
3
- declare const PlLink: {
4
- install(app: App): void;
5
- };
6
- export default PlLink;
2
+
3
+ declare const PlLink: {
4
+ install(app: App): void;
5
+ };
6
+ export default PlLink;
@@ -1,48 +1,50 @@
1
- interface IPlLinkProps {
2
- href?: string;
3
- disabled?: boolean;
4
- type?: 'default' | 'success' | 'warning' | 'error' | 'gradient';
5
- nativeType?: string;
6
- target?: '_blank' | '_self' | '_parent' | '_top';
7
- }
8
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlLinkProps>, {
9
- href: string;
10
- disabled: boolean;
11
- type: string;
12
- target: string;
13
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlLinkProps>, {
14
- href: string;
15
- disabled: boolean;
16
- type: string;
17
- target: string;
18
- }>>>, {
19
- type: "default" | "error" | "success" | "warning" | "gradient";
20
- target: "_blank" | "_self" | "_parent" | "_top";
21
- disabled: boolean;
22
- href: string;
23
- }, {}>, {
24
- default?(_: {}): any;
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
- } & {};
44
- type __VLS_WithTemplateSlots<T, S> = T & {
45
- new (): {
46
- $slots: S;
47
- };
48
- };
1
+ interface IPlLinkProps {
2
+ href?: string;
3
+ disabled?: boolean;
4
+ type?: 'default' | 'success' | 'warning' | 'error' | 'gradient';
5
+ nativeType?: string;
6
+ target?: '_blank' | '_self' | '_parent' | '_top';
7
+ }
8
+ declare function __VLS_template(): {
9
+ default?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlLinkProps>, {
12
+ href: string;
13
+ disabled: boolean;
14
+ type: string;
15
+ target: string;
16
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlLinkProps>, {
17
+ href: string;
18
+ disabled: boolean;
19
+ type: string;
20
+ target: string;
21
+ }>>>, {
22
+ type: "default" | "success" | "warning" | "error" | "gradient";
23
+ target: "_blank" | "_self" | "_parent" | "_top";
24
+ disabled: boolean;
25
+ href: string;
26
+ }, {}>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
+ export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -1,16 +1,16 @@
1
- export declare const PlMarkText: import('../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
2
- modelValue: {
3
- type: StringConstructor;
4
- };
5
- searchValue: {
6
- type: StringConstructor;
7
- };
8
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
- modelValue: {
10
- type: StringConstructor;
11
- };
12
- searchValue: {
13
- type: StringConstructor;
14
- };
15
- }>>, {}, {}>>;
16
- export default PlMarkText;
1
+ export declare const PlMarkText: import('../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ };
5
+ searchValue: {
6
+ type: StringConstructor;
7
+ };
8
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ };
12
+ searchValue: {
13
+ type: StringConstructor;
14
+ };
15
+ }>>, {}, {}>>;
16
+ export default PlMarkText;
@@ -1,16 +1,16 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- modelValue: {
3
- type: StringConstructor;
4
- };
5
- searchValue: {
6
- type: StringConstructor;
7
- };
8
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
- modelValue: {
10
- type: StringConstructor;
11
- };
12
- searchValue: {
13
- type: StringConstructor;
14
- };
15
- }>>, {}, {}>;
16
- export default _default;
1
+ declare const _default: import('vue').DefineComponent<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ };
5
+ searchValue: {
6
+ type: StringConstructor;
7
+ };
8
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ };
12
+ searchValue: {
13
+ type: StringConstructor;
14
+ };
15
+ }>>, {}, {}>;
16
+ export default _default;