@factoringplus/pl-components-pack-v3 1.9.5-pre-02-tooltip-picker → 1.9.5-pre-01-deprecated

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.
@@ -1,160 +1,57 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
- modelValue: import('vue').PropType<string[]>;
3
- label: {
4
- type: import('vue').PropType<string>;
5
- default: string;
6
- };
7
- disabled: {
8
- type: import('vue').PropType<boolean>;
9
- default: boolean;
10
- };
11
- width: {
12
- type: import('vue').PropType<string>;
13
- default: string;
14
- };
15
- placeholder: {
16
- type: import('vue').PropType<string>;
17
- default: string;
18
- };
19
- prop: {
20
- type: import('vue').PropType<string>;
21
- default: string;
22
- };
23
- helpertext: {
24
- type: import('vue').PropType<string>;
25
- default: string;
26
- };
27
- optional: {
28
- type: import('vue').PropType<string>;
29
- default: string;
30
- };
31
- tooltip: {
32
- type: import('vue').PropType<string>;
33
- default: string;
34
- };
35
- clearable: {
36
- type: import('vue').PropType<boolean>;
37
- default: boolean;
38
- };
39
- tooltipWidth: {
40
- type: import('vue').PropType<string>;
41
- };
42
- showInput: {
43
- type: import('vue').PropType<boolean>;
44
- default: boolean;
45
- };
46
- focusOnReset: {
47
- type: import('vue').PropType<boolean>;
48
- default: boolean;
49
- };
50
- periods: {
51
- type: import('vue').PropType<boolean>;
52
- default: boolean;
53
- };
54
- periodOptions: {
55
- type: import('vue').PropType<string[]>;
56
- default: () => any[];
57
- };
58
- monthSwitch: {
59
- type: import('vue').PropType<boolean>;
60
- default: boolean;
61
- };
62
- yearSwitch: {
63
- type: import('vue').PropType<boolean>;
64
- default: boolean;
65
- };
66
- disabledDate: {
67
- type: import('vue').PropType<(date: string) => boolean>;
68
- default: () => false;
69
- };
70
- disableTeleport: {
71
- type: import('vue').PropType<boolean>;
72
- };
73
- }, {
1
+ import { IPickerRangeProps } from '../common/types';
2
+
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
4
+ modelValue: () => any[];
5
+ width: string;
6
+ placeholder: string;
7
+ label: string;
8
+ optional: string;
9
+ helpertext: string;
10
+ tooltip: string;
11
+ showInput: boolean;
12
+ periods: boolean;
13
+ periodOptions: () => any[];
14
+ monthSwitch: boolean;
15
+ yearSwitch: boolean;
16
+ prop: string;
17
+ clearable: boolean;
18
+ disabledDate: () => false;
19
+ disabled: boolean;
20
+ focusOnReset: boolean;
21
+ }>, {
74
22
  openPopup: () => void;
75
23
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (...args: any[]) => void;
76
25
  blur: (...args: any[]) => void;
77
26
  change: (...args: any[]) => void;
78
27
  changeOpen: (...args: any[]) => void;
79
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
80
- modelValue: import('vue').PropType<string[]>;
81
- label: {
82
- type: import('vue').PropType<string>;
83
- default: string;
84
- };
85
- disabled: {
86
- type: import('vue').PropType<boolean>;
87
- default: boolean;
88
- };
89
- width: {
90
- type: import('vue').PropType<string>;
91
- default: string;
92
- };
93
- placeholder: {
94
- type: import('vue').PropType<string>;
95
- default: string;
96
- };
97
- prop: {
98
- type: import('vue').PropType<string>;
99
- default: string;
100
- };
101
- helpertext: {
102
- type: import('vue').PropType<string>;
103
- default: string;
104
- };
105
- optional: {
106
- type: import('vue').PropType<string>;
107
- default: string;
108
- };
109
- tooltip: {
110
- type: import('vue').PropType<string>;
111
- default: string;
112
- };
113
- clearable: {
114
- type: import('vue').PropType<boolean>;
115
- default: boolean;
116
- };
117
- tooltipWidth: {
118
- type: import('vue').PropType<string>;
119
- };
120
- showInput: {
121
- type: import('vue').PropType<boolean>;
122
- default: boolean;
123
- };
124
- focusOnReset: {
125
- type: import('vue').PropType<boolean>;
126
- default: boolean;
127
- };
128
- periods: {
129
- type: import('vue').PropType<boolean>;
130
- default: boolean;
131
- };
132
- periodOptions: {
133
- type: import('vue').PropType<string[]>;
134
- default: () => any[];
135
- };
136
- monthSwitch: {
137
- type: import('vue').PropType<boolean>;
138
- default: boolean;
139
- };
140
- yearSwitch: {
141
- type: import('vue').PropType<boolean>;
142
- default: boolean;
143
- };
144
- disabledDate: {
145
- type: import('vue').PropType<(date: string) => boolean>;
146
- default: () => false;
147
- };
148
- disableTeleport: {
149
- type: import('vue').PropType<boolean>;
150
- };
151
- }>> & {
28
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
29
+ modelValue: () => any[];
30
+ width: string;
31
+ placeholder: string;
32
+ label: string;
33
+ optional: string;
34
+ helpertext: string;
35
+ tooltip: string;
36
+ showInput: boolean;
37
+ periods: boolean;
38
+ periodOptions: () => any[];
39
+ monthSwitch: boolean;
40
+ yearSwitch: boolean;
41
+ prop: string;
42
+ clearable: boolean;
43
+ disabledDate: () => false;
44
+ disabled: boolean;
45
+ focusOnReset: boolean;
46
+ }>>> & {
152
47
  onBlur?: (...args: any[]) => any;
153
48
  onChange?: (...args: any[]) => any;
49
+ "onUpdate:modelValue"?: (...args: any[]) => any;
154
50
  onChangeOpen?: (...args: any[]) => any;
155
51
  }, {
156
52
  label: string;
157
53
  disabled: boolean;
54
+ modelValue: string[];
158
55
  width: string;
159
56
  placeholder: string;
160
57
  prop: string;
@@ -173,6 +70,23 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
173
70
  "tooltip-text"?(_: {}): any;
174
71
  }>;
175
72
  export default _default;
73
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
+ type __VLS_TypePropsToRuntimeProps<T> = {
75
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
76
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
77
+ } : {
78
+ type: import('vue').PropType<T[K]>;
79
+ required: true;
80
+ };
81
+ };
82
+ type __VLS_WithDefaults<P, D> = {
83
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
84
+ default: D[K];
85
+ }> : P[K];
86
+ };
87
+ type __VLS_Prettify<T> = {
88
+ [K in keyof T]: T[K];
89
+ } & {};
176
90
  type __VLS_WithTemplateSlots<T, S> = T & {
177
91
  new (): {
178
92
  $slots: S;