ablok-components 0.3.26 → 0.3.28

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.
@@ -42,6 +42,10 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
42
42
  type: PropType<Array<any>>;
43
43
  default: never[];
44
44
  };
45
+ placeholder: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
45
49
  color: {
46
50
  type: StringConstructor;
47
51
  default: string;
@@ -88,6 +92,10 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
88
92
  type: PropType<Array<any>>;
89
93
  default: never[];
90
94
  };
95
+ placeholder: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
91
99
  color: {
92
100
  type: StringConstructor;
93
101
  default: string;
@@ -107,6 +115,7 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
107
115
  required: boolean;
108
116
  disabled: boolean;
109
117
  outlined: boolean;
118
+ placeholder: string;
110
119
  readOnly: boolean;
111
120
  options: any[];
112
121
  }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
@@ -0,0 +1,211 @@
1
+ import { PropType } from '../../../../vue/dist/vue.esm-bundler.js';
2
+ export interface MapPosition {
3
+ lat: number;
4
+ lng: number;
5
+ }
6
+ export type MapMarkerType = 'list' | 'selected' | 'search' | 'user';
7
+ export interface MapMarker extends MapPosition {
8
+ id?: string | number;
9
+ label?: string;
10
+ type?: MapMarkerType;
11
+ }
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ label?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ rootEl: HTMLDivElement;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
22
+ label: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ modelValue: {
27
+ type: PropType<MapPosition | null>;
28
+ default: null;
29
+ };
30
+ center: {
31
+ type: PropType<MapPosition>;
32
+ default: () => {
33
+ lat: number;
34
+ lng: number;
35
+ };
36
+ };
37
+ zoom: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ markers: {
42
+ type: PropType<MapMarker[]>;
43
+ default: () => never[];
44
+ };
45
+ routeCoordinates: {
46
+ type: PropType<Array<[number, number] | MapPosition>>;
47
+ default: () => never[];
48
+ };
49
+ routeColor: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ routeWeight: {
54
+ type: NumberConstructor;
55
+ default: number;
56
+ };
57
+ userLocation: {
58
+ type: PropType<MapPosition | null>;
59
+ default: null;
60
+ };
61
+ userLocationLabel: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ selectedLocationLabel: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ height: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ interactive: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ disabled: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ showSelectedMarker: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ helperText: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ tileLayerUrl: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ tileLayerAttribution: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ }>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
98
+ "update:modelValue": (...args: any[]) => void;
99
+ "update:center": (...args: any[]) => void;
100
+ "update:zoom": (...args: any[]) => void;
101
+ "map-click": (...args: any[]) => void;
102
+ "marker-click": (...args: any[]) => void;
103
+ }, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
104
+ label: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ modelValue: {
109
+ type: PropType<MapPosition | null>;
110
+ default: null;
111
+ };
112
+ center: {
113
+ type: PropType<MapPosition>;
114
+ default: () => {
115
+ lat: number;
116
+ lng: number;
117
+ };
118
+ };
119
+ zoom: {
120
+ type: NumberConstructor;
121
+ default: number;
122
+ };
123
+ markers: {
124
+ type: PropType<MapMarker[]>;
125
+ default: () => never[];
126
+ };
127
+ routeCoordinates: {
128
+ type: PropType<Array<[number, number] | MapPosition>>;
129
+ default: () => never[];
130
+ };
131
+ routeColor: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ routeWeight: {
136
+ type: NumberConstructor;
137
+ default: number;
138
+ };
139
+ userLocation: {
140
+ type: PropType<MapPosition | null>;
141
+ default: null;
142
+ };
143
+ userLocationLabel: {
144
+ type: StringConstructor;
145
+ default: string;
146
+ };
147
+ selectedLocationLabel: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ height: {
152
+ type: StringConstructor;
153
+ default: string;
154
+ };
155
+ interactive: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ disabled: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ showSelectedMarker: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ helperText: {
168
+ type: StringConstructor;
169
+ default: string;
170
+ };
171
+ tileLayerUrl: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
175
+ tileLayerAttribution: {
176
+ type: StringConstructor;
177
+ default: string;
178
+ };
179
+ }>> & Readonly<{
180
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
181
+ "onUpdate:center"?: ((...args: any[]) => any) | undefined;
182
+ "onUpdate:zoom"?: ((...args: any[]) => any) | undefined;
183
+ "onMap-click"?: ((...args: any[]) => any) | undefined;
184
+ "onMarker-click"?: ((...args: any[]) => any) | undefined;
185
+ }>, {
186
+ label: string;
187
+ zoom: number;
188
+ modelValue: MapPosition | null;
189
+ disabled: boolean;
190
+ markers: MapMarker[];
191
+ center: MapPosition;
192
+ height: string;
193
+ routeCoordinates: (MapPosition | [number, number])[];
194
+ routeColor: string;
195
+ routeWeight: number;
196
+ userLocation: MapPosition | null;
197
+ userLocationLabel: string;
198
+ selectedLocationLabel: string;
199
+ interactive: boolean;
200
+ showSelectedMarker: boolean;
201
+ helperText: string;
202
+ tileLayerUrl: string;
203
+ tileLayerAttribution: string;
204
+ }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
205
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
206
+ export default _default;
207
+ type __VLS_WithTemplateSlots<T, S> = T & {
208
+ new (): {
209
+ $slots: S;
210
+ };
211
+ };
@@ -123,11 +123,11 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
123
123
  }>, {
124
124
  label: string;
125
125
  modelValue: number;
126
+ description: string;
126
127
  hints: Record<string, any>[];
127
128
  penalty: number;
128
129
  maxHints: number;
129
130
  htmlContent: boolean;
130
- description: string;
131
131
  }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
132
132
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
133
133
  export default _default;
@@ -0,0 +1,75 @@
1
+ import { PropType } from '../../../../vue/dist/vue.esm-bundler.js';
2
+ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
3
+ modelValue: {
4
+ type: null;
5
+ default: null;
6
+ };
7
+ locations: {
8
+ type: PropType<Array<any>>;
9
+ default: () => never[];
10
+ };
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ titleKey: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ descriptionKey: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ emptyText: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ showDistance: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ }>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
32
+ select: (...args: any[]) => void;
33
+ "update:modelValue": (...args: any[]) => void;
34
+ }, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
35
+ modelValue: {
36
+ type: null;
37
+ default: null;
38
+ };
39
+ locations: {
40
+ type: PropType<Array<any>>;
41
+ default: () => never[];
42
+ };
43
+ label: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ titleKey: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ descriptionKey: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ emptyText: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ showDistance: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }>> & Readonly<{
64
+ onSelect?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
+ }>, {
67
+ label: string;
68
+ modelValue: any;
69
+ locations: any[];
70
+ titleKey: string;
71
+ descriptionKey: string;
72
+ emptyText: string;
73
+ showDistance: boolean;
74
+ }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
75
+ export default _default;