@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,59 +1,59 @@
1
1
  import { ValidateError } from 'async-validator';
2
2
  import { TIcon } from '../../pl-icon/types';
3
-
4
- declare interface IOption {
5
- value: string;
6
- bottomText?: string;
7
- disabled?: boolean;
8
- data?: boolean | object;
9
- }
10
- declare interface IAutocompleteDefaultProps {
11
- modelValue: string;
12
- prop?: string;
13
- placeholder?: string;
14
- id: string;
15
- disabled?: boolean;
16
- clearable?: boolean;
17
- showError: number;
18
- leftIcon: TIcon;
19
- memoryBlur?: boolean;
20
- }
21
- declare interface IAutocompleteProps {
22
- modelValue: IOption;
23
- suggestionList: IOption[];
24
- prop?: string;
25
- placeholder?: string;
26
- width?: string;
27
- helpertext?: string;
28
- optional?: string;
29
- label?: string;
30
- tooltip?: string;
31
- leftIcon?: TIcon;
32
- rightIcon?: TIcon;
33
- disabled?: boolean;
34
- clearable?: boolean;
35
- symbolsCountSearch?: number | string;
36
- noData?: string;
37
- defaultDropText?: string;
38
- memoryBlur?: boolean;
39
- disableMarkerBottom?: boolean;
40
- uniqKey?: string;
41
- teleport?: boolean;
42
- }
43
- declare interface IDropdownProps {
44
- focus: boolean;
45
- id: string;
46
- helpertext: string;
47
- errors: ValidateError[];
48
- offsets: string;
49
- loadingSuggestions: boolean;
50
- query: string;
51
- symbolsCountSearch: number | string;
52
- suggestionList: IOption[];
53
- disableMarkerBottom: boolean;
54
- uniqKey: string;
55
- selectedValue: IOption;
56
- defaultDropText: string;
57
- noData: string;
58
- }
59
- export { IOption, IAutocompleteProps, IDropdownProps, IAutocompleteDefaultProps };
3
+
4
+ declare interface IOption {
5
+ value: string;
6
+ bottomText?: string;
7
+ disabled?: boolean;
8
+ data?: boolean | object;
9
+ }
10
+ declare interface IAutocompleteDefaultProps {
11
+ modelValue: string;
12
+ prop?: string;
13
+ placeholder?: string;
14
+ id: string;
15
+ disabled?: boolean;
16
+ clearable?: boolean;
17
+ showError: number;
18
+ leftIcon: TIcon;
19
+ memoryBlur?: boolean;
20
+ }
21
+ declare interface IAutocompleteProps {
22
+ modelValue: IOption;
23
+ suggestionList: IOption[];
24
+ prop?: string;
25
+ placeholder?: string;
26
+ width?: string;
27
+ helpertext?: string;
28
+ optional?: string;
29
+ label?: string;
30
+ tooltip?: string;
31
+ leftIcon?: TIcon;
32
+ rightIcon?: TIcon;
33
+ disabled?: boolean;
34
+ clearable?: boolean;
35
+ symbolsCountSearch?: number | string;
36
+ noData?: string;
37
+ defaultDropText?: string;
38
+ memoryBlur?: boolean;
39
+ disableMarkerBottom?: boolean;
40
+ uniqKey?: string;
41
+ teleport?: boolean;
42
+ }
43
+ declare interface IDropdownProps {
44
+ focus: boolean;
45
+ id: string;
46
+ helpertext: string;
47
+ errors: ValidateError[];
48
+ offsets: string;
49
+ loadingSuggestions: boolean;
50
+ query: string;
51
+ symbolsCountSearch: number | string;
52
+ suggestionList: IOption[];
53
+ disableMarkerBottom: boolean;
54
+ uniqKey: string;
55
+ selectedValue: IOption;
56
+ defaultDropText: string;
57
+ noData: string;
58
+ }
59
+ export { IOption, IAutocompleteProps, IDropdownProps, IAutocompleteDefaultProps };
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
-
3
- declare const PlCard: {
4
- install(app: App): void;
5
- };
6
- export default PlCard;
2
+
3
+ declare const PlCard: {
4
+ install(app: App): void;
5
+ };
6
+ export default PlCard;
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
-
3
- declare const PlCheckboxPlus: {
4
- install(app: App): void;
5
- };
6
- export default PlCheckboxPlus;
2
+
3
+ declare const PlCheckboxPlus: {
4
+ install(app: App): void;
5
+ };
6
+ export default PlCheckboxPlus;
@@ -1,72 +1,74 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
- size: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- label: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- description: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- modelValue: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- disabled: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- isIndeterminate: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
- "update:modelValue": (...args: any[]) => void;
28
- change: (...args: any[]) => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
- size: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- label: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- description: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- modelValue: {
43
- type: BooleanConstructor;
44
- default: boolean;
45
- };
46
- disabled: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- isIndeterminate: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- }>> & {
55
- onChange?: (...args: any[]) => any;
56
- "onUpdate:modelValue"?: (...args: any[]) => any;
57
- }, {
58
- size: string;
59
- label: string;
60
- disabled: boolean;
61
- modelValue: boolean;
62
- description: string;
63
- isIndeterminate: boolean;
64
- }, {}>, {
65
- default?(_: {}): any;
66
- }>;
67
- export default _default;
68
- type __VLS_WithTemplateSlots<T, S> = T & {
69
- new (): {
70
- $slots: S;
71
- };
72
- };
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{
5
+ size: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ label: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ description: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ modelValue: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ isIndeterminate: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ "update:modelValue": (...args: any[]) => void;
31
+ change: (...args: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ size: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ label: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ description: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ modelValue: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ disabled: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ isIndeterminate: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ }>> & {
58
+ onChange?: (...args: any[]) => any;
59
+ "onUpdate:modelValue"?: (...args: any[]) => any;
60
+ }, {
61
+ size: string;
62
+ label: string;
63
+ disabled: boolean;
64
+ modelValue: boolean;
65
+ description: string;
66
+ isIndeterminate: boolean;
67
+ }, {}>;
68
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
69
+ export default _default;
70
+ type __VLS_WithTemplateSlots<T, S> = T & {
71
+ new (): {
72
+ $slots: S;
73
+ };
74
+ };
@@ -1,69 +1,69 @@
1
1
  import { IWrapperRangeProps } from '../types';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
4
- modelValue: () => any[];
5
- isOpen: boolean;
6
- dateValue: string;
7
- mobile: boolean;
8
- periods: boolean;
9
- monthSwitch: boolean;
10
- yearSwitch: boolean;
11
- periodOptions: () => any[];
12
- idProp: string;
13
- }>, {
14
- openPopup: () => void;
15
- checkRangeInput: () => void;
16
- startUpdateDate: (event: Event & {
17
- target: HTMLInputElement;
18
- }) => void;
19
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- "update:modelValue": (...args: any[]) => void;
21
- changeOpen: (...args: any[]) => void;
22
- "update:isOpen": (...args: any[]) => void;
23
- "update:dateValue": (...args: any[]) => void;
24
- closePickerOnMobile: (...args: any[]) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
26
- modelValue: () => any[];
27
- isOpen: boolean;
28
- dateValue: string;
29
- mobile: boolean;
30
- periods: boolean;
31
- monthSwitch: boolean;
32
- yearSwitch: boolean;
33
- periodOptions: () => any[];
34
- idProp: string;
35
- }>>> & {
36
- "onUpdate:modelValue"?: (...args: any[]) => any;
37
- onChangeOpen?: (...args: any[]) => any;
38
- "onUpdate:isOpen"?: (...args: any[]) => any;
39
- "onUpdate:dateValue"?: (...args: any[]) => any;
40
- onClosePickerOnMobile?: (...args: any[]) => any;
41
- }, {
42
- modelValue: string[];
43
- dateValue: string;
44
- isOpen: boolean;
45
- periods: boolean;
46
- periodOptions: string[];
47
- idProp: string;
48
- mobile: boolean;
49
- monthSwitch: boolean;
50
- yearSwitch: boolean;
51
- }, {}>;
52
- export default _default;
53
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
- type __VLS_TypePropsToRuntimeProps<T> = {
55
- [K in keyof T]-?: {} extends Pick<T, K> ? {
56
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
- } : {
58
- type: import('vue').PropType<T[K]>;
59
- required: true;
60
- };
61
- };
62
- type __VLS_WithDefaults<P, D> = {
63
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
- default: D[K];
65
- }> : P[K];
66
- };
67
- type __VLS_Prettify<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
4
+ modelValue: () => any[];
5
+ isOpen: boolean;
6
+ dateValue: string;
7
+ mobile: boolean;
8
+ periods: boolean;
9
+ monthSwitch: boolean;
10
+ yearSwitch: boolean;
11
+ periodOptions: () => any[];
12
+ idProp: string;
13
+ }>, {
14
+ openPopup: () => void;
15
+ checkRangeInput: () => void;
16
+ startUpdateDate: (event: Event & {
17
+ target: HTMLInputElement;
18
+ }) => void;
19
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:modelValue": (...args: any[]) => void;
21
+ changeOpen: (...args: any[]) => void;
22
+ "update:isOpen": (...args: any[]) => void;
23
+ "update:dateValue": (...args: any[]) => void;
24
+ closePickerOnMobile: (...args: any[]) => void;
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
26
+ modelValue: () => any[];
27
+ isOpen: boolean;
28
+ dateValue: string;
29
+ mobile: boolean;
30
+ periods: boolean;
31
+ monthSwitch: boolean;
32
+ yearSwitch: boolean;
33
+ periodOptions: () => any[];
34
+ idProp: string;
35
+ }>>> & {
36
+ "onUpdate:modelValue"?: (...args: any[]) => any;
37
+ onChangeOpen?: (...args: any[]) => any;
38
+ "onUpdate:isOpen"?: (...args: any[]) => any;
39
+ "onUpdate:dateValue"?: (...args: any[]) => any;
40
+ onClosePickerOnMobile?: (...args: any[]) => any;
41
+ }, {
42
+ modelValue: string[] | null;
43
+ dateValue: string;
44
+ isOpen: boolean;
45
+ mobile: boolean;
46
+ periods: boolean;
47
+ periodOptions: string[];
48
+ idProp: string;
49
+ monthSwitch: boolean;
50
+ yearSwitch: boolean;
51
+ }, {}>;
52
+ export default _default;
53
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ type __VLS_TypePropsToRuntimeProps<T> = {
55
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
+ } : {
58
+ type: import('vue').PropType<T[K]>;
59
+ required: true;
60
+ };
61
+ };
62
+ type __VLS_WithDefaults<P, D> = {
63
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
+ default: D[K];
65
+ }> : P[K];
66
+ };
67
+ type __VLS_Prettify<T> = {
68
+ [K in keyof T]: T[K];
69
+ } & {};
@@ -1,57 +1,57 @@
1
1
  import { IWrapperProps } from '../types';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
4
- modelValue: any;
5
- dateValue: string;
6
- mobile: boolean;
7
- monthSwitch: boolean;
8
- yearSwitch: boolean;
9
- idProp: string;
10
- }>, {
11
- openPopup: () => void;
12
- checkInput: () => void;
13
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- "update:modelValue": (...args: any[]) => void;
15
- changeOpen: (...args: any[]) => void;
16
- "update:isOpen": (...args: any[]) => void;
17
- "update:dateValue": (...args: any[]) => void;
18
- closePickerOnMobile: (...args: any[]) => void;
19
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
20
- modelValue: any;
21
- dateValue: string;
22
- mobile: boolean;
23
- monthSwitch: boolean;
24
- yearSwitch: boolean;
25
- idProp: string;
26
- }>>> & {
27
- "onUpdate:modelValue"?: (...args: any[]) => any;
28
- onChangeOpen?: (...args: any[]) => any;
29
- "onUpdate:isOpen"?: (...args: any[]) => any;
30
- "onUpdate:dateValue"?: (...args: any[]) => any;
31
- onClosePickerOnMobile?: (...args: any[]) => any;
32
- }, {
33
- modelValue: string;
34
- dateValue: string;
35
- idProp: string;
36
- mobile: boolean;
37
- monthSwitch: boolean;
38
- yearSwitch: boolean;
39
- }, {}>;
40
- export default _default;
41
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
- type __VLS_TypePropsToRuntimeProps<T> = {
43
- [K in keyof T]-?: {} extends Pick<T, K> ? {
44
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
- } : {
46
- type: import('vue').PropType<T[K]>;
47
- required: true;
48
- };
49
- };
50
- type __VLS_WithDefaults<P, D> = {
51
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
- default: D[K];
53
- }> : P[K];
54
- };
55
- type __VLS_Prettify<T> = {
56
- [K in keyof T]: T[K];
57
- } & {};
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
4
+ modelValue: any;
5
+ dateValue: string;
6
+ mobile: boolean;
7
+ monthSwitch: boolean;
8
+ yearSwitch: boolean;
9
+ idProp: string;
10
+ }>, {
11
+ openPopup: () => void;
12
+ checkInput: () => void;
13
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (...args: any[]) => void;
15
+ changeOpen: (...args: any[]) => void;
16
+ "update:isOpen": (...args: any[]) => void;
17
+ "update:dateValue": (...args: any[]) => void;
18
+ closePickerOnMobile: (...args: any[]) => void;
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
20
+ modelValue: any;
21
+ dateValue: string;
22
+ mobile: boolean;
23
+ monthSwitch: boolean;
24
+ yearSwitch: boolean;
25
+ idProp: string;
26
+ }>>> & {
27
+ "onUpdate:modelValue"?: (...args: any[]) => any;
28
+ onChangeOpen?: (...args: any[]) => any;
29
+ "onUpdate:isOpen"?: (...args: any[]) => any;
30
+ "onUpdate:dateValue"?: (...args: any[]) => any;
31
+ onClosePickerOnMobile?: (...args: any[]) => any;
32
+ }, {
33
+ modelValue: string | null;
34
+ dateValue: string;
35
+ mobile: boolean;
36
+ idProp: string;
37
+ monthSwitch: boolean;
38
+ yearSwitch: boolean;
39
+ }, {}>;
40
+ export default _default;
41
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
+ type __VLS_TypePropsToRuntimeProps<T> = {
43
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
44
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
+ } : {
46
+ type: import('vue').PropType<T[K]>;
47
+ required: true;
48
+ };
49
+ };
50
+ type __VLS_WithDefaults<P, D> = {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ default: D[K];
53
+ }> : P[K];
54
+ };
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
@@ -1,2 +1,2 @@
1
- export declare const WEEK_DAYS: string[];
2
- export declare const DISPLAY_MONTHS: string[];
1
+ export declare const WEEK_DAYS: string[];
2
+ export declare const DISPLAY_MONTHS: string[];
@@ -1,50 +1,50 @@
1
- declare type Item = {
2
- day: number;
3
- month: number;
4
- year: number;
5
- type?: string;
6
- };
7
- declare interface IDefaultPickerProps {
8
- width?: string;
9
- placeholder?: string;
10
- label?: string;
11
- optional?: string;
12
- helpertext?: string;
13
- tooltip?: string;
14
- showInput?: boolean;
15
- monthSwitch?: boolean;
16
- yearSwitch?: boolean;
17
- prop?: string;
18
- clearable?: boolean;
19
- disabledDate?: (date: string) => boolean;
20
- disabled?: boolean;
21
- disableTeleport?: boolean;
22
- }
23
- declare interface IPickerProps extends IDefaultPickerProps {
24
- modelValue: string | null;
25
- }
26
- declare interface IPickerRangeProps extends IDefaultPickerProps {
27
- modelValue: string[] | null;
28
- focusOnReset?: boolean;
29
- periods?: boolean;
30
- periodOptions?: string[];
31
- }
32
- declare interface IDefaultWrapperProps {
33
- isOpen: boolean;
34
- dateValue: string;
35
- idProp: string;
36
- mobile?: boolean;
37
- inputElement?: HTMLElement;
38
- monthSwitch?: boolean;
39
- yearSwitch?: boolean;
40
- disabledDate?: (date: string) => boolean;
41
- }
42
- declare interface IWrapperRangeProps extends IDefaultWrapperProps {
43
- modelValue: string[] | null;
44
- periods?: boolean;
45
- periodOptions?: string[];
46
- }
47
- declare interface IWrapperProps extends IDefaultWrapperProps {
48
- modelValue: string | null;
49
- }
50
- export { Item, IPickerProps, IPickerRangeProps, IWrapperRangeProps, IWrapperProps };
1
+ declare type Item = {
2
+ day: number;
3
+ month: number;
4
+ year: number;
5
+ type?: string;
6
+ };
7
+ declare interface IDefaultPickerProps {
8
+ width?: string;
9
+ placeholder?: string;
10
+ label?: string;
11
+ optional?: string;
12
+ helpertext?: string;
13
+ tooltip?: string;
14
+ showInput?: boolean;
15
+ monthSwitch?: boolean;
16
+ yearSwitch?: boolean;
17
+ prop?: string;
18
+ clearable?: boolean;
19
+ disabledDate?: (date: string) => boolean;
20
+ disabled?: boolean;
21
+ disableTeleport?: boolean;
22
+ }
23
+ declare interface IPickerProps extends IDefaultPickerProps {
24
+ modelValue: string | null;
25
+ }
26
+ declare interface IPickerRangeProps extends IDefaultPickerProps {
27
+ modelValue: string[] | null;
28
+ focusOnReset?: boolean;
29
+ periods?: boolean;
30
+ periodOptions?: string[];
31
+ }
32
+ declare interface IDefaultWrapperProps {
33
+ isOpen: boolean;
34
+ dateValue: string;
35
+ idProp: string;
36
+ mobile?: boolean;
37
+ inputElement?: HTMLElement;
38
+ monthSwitch?: boolean;
39
+ yearSwitch?: boolean;
40
+ disabledDate?: (date: string) => boolean;
41
+ }
42
+ declare interface IWrapperRangeProps extends IDefaultWrapperProps {
43
+ modelValue: string[] | null;
44
+ periods?: boolean;
45
+ periodOptions?: string[];
46
+ }
47
+ declare interface IWrapperProps extends IDefaultWrapperProps {
48
+ modelValue: string | null;
49
+ }
50
+ export { Item, IPickerProps, IPickerRangeProps, IWrapperRangeProps, IWrapperProps };