vue3-extended-multiselect 0.0.2 → 0.0.3

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 (3) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/README.md +440 -438
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -10,4 +10,8 @@ Component `vue3-extended-multiselect` was released.
10
10
 
11
11
  ####0.0.2
12
12
 
13
- Small fixes in documentation
13
+ Small fixes in documentation.
14
+
15
+ ####0.0.3
16
+
17
+ Changing font-size property of "props" table in documentation.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vue-extended-multiselect v0.0.2
1
+ # vue-extended-multiselect v0.0.3
2
2
 
3
3
  ***
4
4
 
@@ -16,447 +16,449 @@ Vue extended multiselect is a component that was created for simplification of c
16
16
 
17
17
  ### Importing
18
18
 
19
- <span style="color: #8D0A97;">import </span><span style="color: #211F23;">VueExtendedMultiselect </span><span style="color: #8D0A97;">from </span><span style="color: #82C52A;">"vue-extended-multiselect"</span>
19
+ <span style="color:#6E5494">import </span><span style="color:#333">Vue3ExtendedMultiselect </span><span style="color:#6E5494">from </span><span style="color:#6CC644">"vue3-extended-multiselect"</span>
20
20
 
21
21
  ### Importing types
22
22
 
23
- <span style="color: #8D0A97;">import </span><span style="color: #A7A7A7;">{ </span><span style="color: #211F23;">UnionOptionType </span></span><span style="color: #A7A7A7;">} </span><span style="color: #8D0A97;">from </span><span style="color: #82C52A;">"vue-extended-multiselect"</span>
23
+ <span style="color:#6E5494">import </span><span style="color:#333">{ </span><span style="color:#333">UnionOptionType </span></span><span style="color:#333">} </span><span style="color:#6E5494">from </span><span style="color:#6CC644">"vue3-extended-multiselect"</span>
24
24
 
25
- <table style="font-size: 11px">
26
- <thead>
27
- <h3>Props list</h3>
28
- </thead>
29
- <tbody>
30
- <tr>
31
- <th>Prop name</th>
32
- <th>Prop type</th>
33
- <th>Prop appointment</th>
34
- <th>Prop default value</th>
35
- <th>Prop values</th>
36
- </tr>
37
- <tr>
38
- <th>autoSelectCreatedOption</th>
39
- <td>Boolean</td>
40
- <td>Determines whether to select just now created option automatically.</td>
41
- <td>false</td>
42
- <td>&mdash;</td>
43
- </tr>
44
- <tr>
45
- <th>clearBySelectWhenMultiple</th>
46
- <td>Boolean</td>
47
- <td>Determines whether to clear search field by option selection.</td>
48
- <td>false</td>
49
- <td>&mdash;</td>
50
- </tr>
51
- <tr>
52
- <th>createOnTheGo</th>
53
- <td>Boolean</td>
54
- <td>Allows user to create new options from search field.</td>
55
- <td>false</td>
56
- <td>&mdash;</td>
57
- </tr>
58
- <tr>
59
- <th>defaultExpanded</th>
60
- <td>Boolean</td>
61
- <td>Determines whether options list should be expanded by default.</td>
62
- <td>false</td>
63
- <td>&mdash;</td>
64
- </tr>
65
- <tr>
66
- <th>disabled</th>
67
- <td>Boolean</td>
68
- <td>Disables extended multiselect.</td>
69
- <td>false</td>
70
- <td>&mdash;</td>
71
- </tr>
72
- <tr>
73
- <th>highlightOptions</th>
74
- <td>Boolean</td>
75
- <td>Switches options highlighting while hovering.</td>
76
- <td>true</td>
77
- <td>&mdash;</td>
78
- </tr>
79
- <tr>
80
- <th>loading</th>
81
- <td>Boolean</td>
82
- <td>Switches loading state of extended multiselect.</td>
83
- <td>false</td>
84
- <td>&mdash;</td>
85
- </tr>
86
- <tr>
87
- <th>multiple</th>
88
- <td>Boolean</td>
89
- <td>Allows user to select multiple options.</td>
90
- <td>false</td>
91
- <td>&mdash;</td>
92
- </tr>
93
- <tr>
94
- <th>noResultsBlockShown</th>
95
- <td>Boolean</td>
96
- <td>Determines whether to show special hint if no options were found.</td>
97
- <td>true</td>
98
- <td>&mdash;</td>
99
- </tr>
100
- <tr>
101
- <th>resetSearchByValue</th>
102
- <td>Boolean</td>
103
- <td>Determines whether to clear search field by selection/deselection of options.</td>
104
- <td>true</td>
105
- <td>&mdash;</td>
106
- </tr>
107
- <tr>
108
- <th>searchFilterActive</th>
109
- <td>Boolean</td>
110
- <td>Allows user to use internal search for options.</td>
111
- <td>true</td>
112
- <td>&mdash;</td>
113
- </tr>
114
- <tr>
115
- <th>simpleEvents</th>
116
- <td>Boolean</td>
117
- <td>Switches full payload of extended multiselect events.</td>
118
- <td>true</td>
119
- <td>&mdash;</td>
120
- </tr>
121
- <tr>
122
- <th>selectedOptionsShown</th>
123
- <td>Boolean</td>
124
- <td>Determines whether to show selected options in options list.</td>
125
- <td>false</td>
126
- <td>&mdash;</td>
127
- </tr>
128
- <tr>
129
- <th>showClearIcon</th>
130
- <td>Boolean</td>
131
- <td>Allows user to deselect all options by special icon.</td>
132
- <td>false</td>
133
- <td>&mdash;</td>
134
- </tr>
135
- <tr>
136
- <th>showInsertWarnings</th>
137
- <td>Boolean</td>
138
- <td>Determines whether to show useful internal warnings in console.</td>
139
- <td>false</td>
140
- <td>&mdash;</td>
141
- </tr>
142
- <tr>
143
- <th>showMarker</th>
144
- <td>Boolean</td>
145
- <td>Determines whether to show slot with special marker beside option in options list.</td>
146
- <td>false</td>
147
- <td>&mdash;</td>
148
- </tr>
149
- <tr>
150
- <th>showSearchField</th>
151
- <td>Boolean</td>
152
- <td>Determines whether to show search field which allows user to search for options with internal search.</td>
153
- <td>true</td>
154
- <td>&mdash;</td>
155
- </tr>
156
- <tr>
157
- <th>toggleMultipleBlocksLimit</th>
158
- <td>Boolean</td>
159
- <td>Allows user to increase limit of shown elements with selected options by special icon.</td>
160
- <td>false</td>
161
- <td>&mdash;</td>
162
- </tr>
163
- <tr>
164
- <th>toggleOptionsBySelect</th>
165
- <td>Boolean</td>
166
- <td>Determines whether to roll up options list by selection of option.</td>
167
- <td>true</td>
168
- <td>&mdash;</td>
169
- </tr>
170
- <tr>
171
- <th>togglingSavesSearchValue</th>
172
- <td>Boolean</td>
173
- <td>Determines whether to save current search value if display of options list was toggled.</td>
174
- <td>true</td>
175
- <td>&mdash;</td>
176
- </tr>
177
- <tr>
178
- <th>wrongCurrentValue</th>
179
- <td>Boolean</td>
180
- <td>Determines whether to define special class for extended multiselect if value is wrong or if irregularity of value is defined by user.</td>
181
- <td>false</td>
182
- <td>&mdash;</td>
183
- </tr>
184
- <tr>
185
- <th>createOptionPlaceholder</th>
186
- <td>String</td>
187
- <td>Placeholder for the search field to be used if user is allowed to create new options.</td>
188
- <td>"Select or create features"</td>
189
- <td>&mdash;</td>
190
- </tr>
191
- <tr>
192
- <th>createOptionPlaceholder</th>
193
- <td>String</td>
194
- <td>Defines kind for all options which will be created by user.</td>
195
- <td>"primitive"</td>
196
- <td>
197
- <ul type="square">
198
- <li>"primitive"</li>
199
- <li>"array"</li>
200
- <li>"object"</li>
201
- </ul>
202
- </td>
203
- </tr>
204
- <tr>
205
- <th>emptyObjectsPlaceholder</th>
206
- <td>String</td>
207
- <td>Placeholder for options of type "object" or Array instances which length/keys length equals 0.</td>
208
- <td>"Empty Object/Array"</td>
209
- <td>&mdash;</td>
210
- </tr>
211
- <tr>
212
- <th>errorBorderColor</th>
213
- <td>String</td>
214
- <td>Defines "border-color" css-property for extended multiselect with wrong value.</td>
215
- <td>"#FF0000"</td>
216
- <td>&mdash;</td>
217
- </tr>
218
- <tr>
219
- <th>iconFilter</th>
220
- <td>String</td>
221
- <td>Defines svg-filter with color settings for all icons except loader.</td>
222
- <td>"basic"</td>
223
- <td>
224
- <ul type="square">
225
- <li>"basic"</li>
226
- <li>"black"</li>
227
- <li>"green"</li>
228
- </ul>
229
- </td>
230
- </tr>
231
- <tr>
232
- <th>iconSize</th>
233
- <td>String</td>
234
- <td>Defines sizes for all icons in pixels except loader.</td>
235
- <td>"large"</td>
236
- <td>
237
- <ul type="square">
238
- <li>"large"</li>
239
- <li>"medium"</li>
240
- <li>"small"</li>
241
- </ul>
242
- </td>
243
- </tr>
244
- <tr>
245
- <th>label</th>
246
- <td>String</td>
247
- <td>Defines field in options of type "object" that will be the label of option.</td>
248
- <td>"label"</td>
249
- <td>&mdash;</td>
250
- </tr>
251
- <tr>
252
- <th>loaderIconFilter</th>
253
- <td>String</td>
254
- <td>Defines svg-filter with color settings for loader icon.</td>
255
- <td>"loader-default"</td>
256
- <td>
257
- <ul type="square">
258
- <li>"loader-default"</li>
259
- <li>"basic"</li>
260
- <li>"slate-grey"</li>
261
- <li>"slate-blue"</li>
262
- <li>"teal"</li>
263
- <li>"strict"</li>
264
- </ul>
265
- </td>
266
- </tr>
267
- <tr>
268
- <th>placeholder</th>
269
- <td>String</td>
270
- <td>Placeholder for search field to be used if user is not allowed to create new options.</td>
271
- <td>"Select features"</td>
272
- <td>&mdash;</td>
273
- </tr>
274
- <tr>
275
- <th>themeType</th>
276
- <td>String</td>
277
- <td>Defines overall color theme for extended multiselect.</td>
278
- <td>"basic"</td>
279
- <td>
280
- <ul type="square">
281
- <li>"basic"</li>
282
- <li>"slate-grey"</li>
283
- <li>"slate-blue"</li>
284
- <li>"teal"</li>
285
- <li>"strict"</li>
286
- </ul>
287
- </td>
288
- </tr>
289
- <tr>
290
- <th>toggleAppearanceSide</th>
291
- <td>String</td>
292
- <td>Defines which side options list will be displayed on.</td>
293
- <td>"auto"</td>
294
- <td>
295
- <ul type="square">
296
- <li>"auto"</li>
297
- <li>"atop"</li>
298
- <li>"under"</li>
299
- </ul>
300
- </td>
301
- </tr>
302
- <tr>
303
- <th>toggleIcon</th>
304
- <td>String</td>
305
- <td>Defines kind of toggle icon from icons collection.</td>
306
- <td>"double-arrow"</td>
307
- <td>
308
- <ul type="square">
309
- <li>"base-arrow"</li>
310
- <li>"double-arrow"</li>
311
- <li>"wide-arrow"</li>
312
- <li>"circle-arrow"</li>
313
- <li>"inner-arrow"</li>
314
- <li>"triangle-arrow"</li>
315
- <li>"triangle-circle-arrow"</li>
316
- </ul>
317
- </td>
318
- </tr>
319
- <tr>
320
- <th>anyOptionWrapperBlockHeight</th>
321
- <td>Number</td>
322
- <td>Defines "height" css-property for each option in options list.</td>
323
- <td>30</td>
324
- <td>&mdash;</td>
325
- </tr>
326
- <tr>
327
- <th>increaseDisplayBy</th>
328
- <td>Number</td>
329
- <td>Defines gap which increases limit of displayed elements with selected options.</td>
330
- <td>5</td>
331
- <td>&mdash;</td>
332
- </tr>
333
- <tr>
334
- <th>maxOptionsCount</th>
335
- <td>Number</td>
336
- <td>Maximal limit of selected options.</td>
337
- <td>null</td>
338
- <td>&mdash;</td>
339
- </tr>
340
- <tr>
341
- <th>minOptionsCount</th>
342
- <td>Number</td>
343
- <td>Minimal limit of selected options.</td>
344
- <td>null</td>
345
- <td>&mdash;</td>
346
- </tr>
347
- <tr>
348
- <th>multipleBlocksLimit</th>
349
- <td>Number</td>
350
- <td>Defines limit of displayed elements with selected options.</td>
351
- <td>null</td>
352
- <td>&mdash;</td>
353
- </tr>
354
- <tr>
355
- <th>optionsCountRestriction</th>
356
- <td>Number</td>
357
- <td>Defines maximal limit of options list length.</td>
358
- <td>null</td>
359
- <td>&mdash;</td>
360
- </tr>
361
- <tr>
362
- <th>toggleMaxHeight</th>
363
- <td>Number</td>
364
- <td>Defines maximal value in pixels of "max-height" css-property for options list.</td>
365
- <td>400</td>
366
- <td>&mdash;</td>
367
- </tr>
368
- <tr>
369
- <th>toggleMinHeight</th>
370
- <td>Number</td>
371
- <td>Defines minimal value in pixels of "max-height" css-property for options list.</td>
372
- <td>null</td>
373
- <td>&mdash;</td>
374
- </tr>
375
- <tr>
376
- <th>createOptionFields</th>
377
- <td>Array</td>
378
- <td>Defines a list of fields for options of type "object" created by user.</td>
379
- <td>["label"]</td>
380
- <td>&mdash;</td>
381
- </tr>
382
- <tr>
383
- <th>disabledPrimitiveOptions</th>
384
- <td>Array</td>
385
- <td>Defines a list of primitive types for options. Options of given types will be disabled for selection.</td>
386
- <td>[]</td>
387
- <td>&mdash;</td>
388
- </tr>
389
- <tr>
390
- <th>options</th>
391
- <td>Array</td>
392
- <td>Raw options list.</td>
393
- <td>[]</td>
394
- <td>&mdash;</td>
395
- </tr>
396
- <tr>
397
- <th>optionsPadding</th>
398
- <td>Array</td>
399
- <td>Defines a list with "padding-top", "padding-left", "padding-bottom" and "padding-right" css-properties for options in options list. Property "padding-top" matches index zero. Property "padding-right" matches index three.</td>
400
- <td>[]</td>
401
- <td>&mdash;</td>
402
- </tr>
403
- <tr>
404
- <th>preselectedOptions</th>
405
- <td>Array</td>
406
- <td>Defines a list of options that will be select by default.</td>
407
- <td>[]</td>
408
- <td>&mdash;</td>
409
- </tr>
410
- <tr>
411
- <th>specialKeysBlock</th>
412
- <td>Array</td>
413
- <td>Defines a list of keys which in combination with mouse buttons or "enter" key will prevent selection of option.</td>
414
- <td>[]</td>
415
- <td>
416
- <ul type="square">
417
- <li>"alt"</li>
418
- <li>"ctrl"</li>
419
- <li>"shift"</li>
420
- </ul>
421
- </td>
422
- </tr>
423
- <tr>
424
- <th>createCustomOptionLabel</th>
425
- <td>Function</td>
426
- <td>Defines function that creates custom label for each option.</td>
427
- <td>(option) => null</td>
428
- <td>&mdash;</td>
429
- </tr>
430
- <tr>
431
- <th>multipleBlocksLimitMessage</th>
432
- <td>Function</td>
433
- <td>Defines function that creates notification when maximal limit of selected options has been reached.</td>
434
- <td>(number) => `and ${number} more items`</td>
435
- <td>&mdash;</td>
436
- </tr>
437
- <tr>
438
- <th>inputId</th>
439
- <td>String, Number</td>
440
- <td>"id" attribute of search field.</td>
441
- <td>null</td>
442
- <td>&mdash;</td>
443
- </tr>
444
- <tr>
445
- <th>preselectedOption</th>
446
- <td>UnionPropType (from types)</td>
447
- <td>Defines options that will be select by default.</td>
448
- <td>null</td>
449
- <td>&mdash;</td>
450
- </tr>
451
- <tr>
452
- <th>value</th>
453
- <td>Array</td>
454
- <td>Defines value of extended multiselect that can be used in "v-model".</td>
455
- <td>[]</td>
456
- <td>&mdash;</td>
457
- </tr>
458
- </tbody>
459
- </table>
25
+ <font size="1">
26
+ <table>
27
+ <thead>
28
+ <h3>Props list</h3>
29
+ </thead>
30
+ <tbody>
31
+ <tr>
32
+ <th>Prop name</th>
33
+ <th>Prop type</th>
34
+ <th>Prop appointment</th>
35
+ <th>Prop default value</th>
36
+ <th>Prop values</th>
37
+ </tr>
38
+ <tr>
39
+ <th>autoSelectCreatedOption</th>
40
+ <td>Boolean</td>
41
+ <td>Determines whether to select just now created option automatically.</td>
42
+ <td>false</td>
43
+ <td>&mdash;</td>
44
+ </tr>
45
+ <tr>
46
+ <th>clearBySelectWhenMultiple</th>
47
+ <td>Boolean</td>
48
+ <td>Determines whether to clear search field by option selection.</td>
49
+ <td>false</td>
50
+ <td>&mdash;</td>
51
+ </tr>
52
+ <tr>
53
+ <th>createOnTheGo</th>
54
+ <td>Boolean</td>
55
+ <td>Allows user to create new options from search field.</td>
56
+ <td>false</td>
57
+ <td>&mdash;</td>
58
+ </tr>
59
+ <tr>
60
+ <th>defaultExpanded</th>
61
+ <td>Boolean</td>
62
+ <td>Determines whether options list should be expanded by default.</td>
63
+ <td>false</td>
64
+ <td>&mdash;</td>
65
+ </tr>
66
+ <tr>
67
+ <th>disabled</th>
68
+ <td>Boolean</td>
69
+ <td>Disables extended multiselect.</td>
70
+ <td>false</td>
71
+ <td>&mdash;</td>
72
+ </tr>
73
+ <tr>
74
+ <th>highlightOptions</th>
75
+ <td>Boolean</td>
76
+ <td>Switches options highlighting while hovering.</td>
77
+ <td>true</td>
78
+ <td>&mdash;</td>
79
+ </tr>
80
+ <tr>
81
+ <th>loading</th>
82
+ <td>Boolean</td>
83
+ <td>Switches loading state of extended multiselect.</td>
84
+ <td>false</td>
85
+ <td>&mdash;</td>
86
+ </tr>
87
+ <tr>
88
+ <th>multiple</th>
89
+ <td>Boolean</td>
90
+ <td>Allows user to select multiple options.</td>
91
+ <td>false</td>
92
+ <td>&mdash;</td>
93
+ </tr>
94
+ <tr>
95
+ <th>noResultsBlockShown</th>
96
+ <td>Boolean</td>
97
+ <td>Determines whether to show special hint if no options were found.</td>
98
+ <td>true</td>
99
+ <td>&mdash;</td>
100
+ </tr>
101
+ <tr>
102
+ <th>resetSearchByValue</th>
103
+ <td>Boolean</td>
104
+ <td>Determines whether to clear search field by selection/deselection of options.</td>
105
+ <td>true</td>
106
+ <td>&mdash;</td>
107
+ </tr>
108
+ <tr>
109
+ <th>searchFilterActive</th>
110
+ <td>Boolean</td>
111
+ <td>Allows user to use internal search for options.</td>
112
+ <td>true</td>
113
+ <td>&mdash;</td>
114
+ </tr>
115
+ <tr>
116
+ <th>simpleEvents</th>
117
+ <td>Boolean</td>
118
+ <td>Switches full payload of extended multiselect events.</td>
119
+ <td>true</td>
120
+ <td>&mdash;</td>
121
+ </tr>
122
+ <tr>
123
+ <th>selectedOptionsShown</th>
124
+ <td>Boolean</td>
125
+ <td>Determines whether to show selected options in options list.</td>
126
+ <td>false</td>
127
+ <td>&mdash;</td>
128
+ </tr>
129
+ <tr>
130
+ <th>showClearIcon</th>
131
+ <td>Boolean</td>
132
+ <td>Allows user to deselect all options by special icon.</td>
133
+ <td>false</td>
134
+ <td>&mdash;</td>
135
+ </tr>
136
+ <tr>
137
+ <th>showInsertWarnings</th>
138
+ <td>Boolean</td>
139
+ <td>Determines whether to show useful internal warnings in console.</td>
140
+ <td>false</td>
141
+ <td>&mdash;</td>
142
+ </tr>
143
+ <tr>
144
+ <th>showMarker</th>
145
+ <td>Boolean</td>
146
+ <td>Determines whether to show slot with special marker beside option in options list.</td>
147
+ <td>false</td>
148
+ <td>&mdash;</td>
149
+ </tr>
150
+ <tr>
151
+ <th>showSearchField</th>
152
+ <td>Boolean</td>
153
+ <td>Determines whether to show search field which allows user to search for options with internal search.</td>
154
+ <td>true</td>
155
+ <td>&mdash;</td>
156
+ </tr>
157
+ <tr>
158
+ <th>toggleMultipleBlocksLimit</th>
159
+ <td>Boolean</td>
160
+ <td>Allows user to increase limit of shown elements with selected options by special icon.</td>
161
+ <td>false</td>
162
+ <td>&mdash;</td>
163
+ </tr>
164
+ <tr>
165
+ <th>toggleOptionsBySelect</th>
166
+ <td>Boolean</td>
167
+ <td>Determines whether to roll up options list by selection of option.</td>
168
+ <td>true</td>
169
+ <td>&mdash;</td>
170
+ </tr>
171
+ <tr>
172
+ <th>togglingSavesSearchValue</th>
173
+ <td>Boolean</td>
174
+ <td>Determines whether to save current search value if display of options list was toggled.</td>
175
+ <td>true</td>
176
+ <td>&mdash;</td>
177
+ </tr>
178
+ <tr>
179
+ <th>wrongCurrentValue</th>
180
+ <td>Boolean</td>
181
+ <td>Determines whether to define special class for extended multiselect if value is wrong or if irregularity of value is defined by user.</td>
182
+ <td>false</td>
183
+ <td>&mdash;</td>
184
+ </tr>
185
+ <tr>
186
+ <th>createOptionPlaceholder</th>
187
+ <td>String</td>
188
+ <td>Placeholder for the search field to be used if user is allowed to create new options.</td>
189
+ <td>"Select or create features"</td>
190
+ <td>&mdash;</td>
191
+ </tr>
192
+ <tr>
193
+ <th>createOptionPlaceholder</th>
194
+ <td>String</td>
195
+ <td>Defines kind for all options which will be created by user.</td>
196
+ <td>"primitive"</td>
197
+ <td>
198
+ <ul type="square">
199
+ <li>"primitive"</li>
200
+ <li>"array"</li>
201
+ <li>"object"</li>
202
+ </ul>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <th>emptyObjectsPlaceholder</th>
207
+ <td>String</td>
208
+ <td>Placeholder for options of type "object" or Array instances which length/keys length equals 0.</td>
209
+ <td>"Empty Object/Array"</td>
210
+ <td>&mdash;</td>
211
+ </tr>
212
+ <tr>
213
+ <th>errorBorderColor</th>
214
+ <td>String</td>
215
+ <td>Defines "border-color" css-property for extended multiselect with wrong value.</td>
216
+ <td>"#FF0000"</td>
217
+ <td>&mdash;</td>
218
+ </tr>
219
+ <tr>
220
+ <th>iconFilter</th>
221
+ <td>String</td>
222
+ <td>Defines svg-filter with color settings for all icons except loader.</td>
223
+ <td>"basic"</td>
224
+ <td>
225
+ <ul type="square">
226
+ <li>"basic"</li>
227
+ <li>"black"</li>
228
+ <li>"green"</li>
229
+ </ul>
230
+ </td>
231
+ </tr>
232
+ <tr>
233
+ <th>iconSize</th>
234
+ <td>String</td>
235
+ <td>Defines sizes for all icons in pixels except loader.</td>
236
+ <td>"large"</td>
237
+ <td>
238
+ <ul type="square">
239
+ <li>"large"</li>
240
+ <li>"medium"</li>
241
+ <li>"small"</li>
242
+ </ul>
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <th>label</th>
247
+ <td>String</td>
248
+ <td>Defines field in options of type "object" that will be the label of option.</td>
249
+ <td>"label"</td>
250
+ <td>&mdash;</td>
251
+ </tr>
252
+ <tr>
253
+ <th>loaderIconFilter</th>
254
+ <td>String</td>
255
+ <td>Defines svg-filter with color settings for loader icon.</td>
256
+ <td>"loader-default"</td>
257
+ <td>
258
+ <ul type="square">
259
+ <li>"loader-default"</li>
260
+ <li>"basic"</li>
261
+ <li>"slate-grey"</li>
262
+ <li>"slate-blue"</li>
263
+ <li>"teal"</li>
264
+ <li>"strict"</li>
265
+ </ul>
266
+ </td>
267
+ </tr>
268
+ <tr>
269
+ <th>placeholder</th>
270
+ <td>String</td>
271
+ <td>Placeholder for search field to be used if user is not allowed to create new options.</td>
272
+ <td>"Select features"</td>
273
+ <td>&mdash;</td>
274
+ </tr>
275
+ <tr>
276
+ <th>themeType</th>
277
+ <td>String</td>
278
+ <td>Defines overall color theme for extended multiselect.</td>
279
+ <td>"basic"</td>
280
+ <td>
281
+ <ul type="square">
282
+ <li>"basic"</li>
283
+ <li>"slate-grey"</li>
284
+ <li>"slate-blue"</li>
285
+ <li>"teal"</li>
286
+ <li>"strict"</li>
287
+ </ul>
288
+ </td>
289
+ </tr>
290
+ <tr>
291
+ <th>toggleAppearanceSide</th>
292
+ <td>String</td>
293
+ <td>Defines which side options list will be displayed on.</td>
294
+ <td>"auto"</td>
295
+ <td>
296
+ <ul type="square">
297
+ <li>"auto"</li>
298
+ <li>"atop"</li>
299
+ <li>"under"</li>
300
+ </ul>
301
+ </td>
302
+ </tr>
303
+ <tr>
304
+ <th>toggleIcon</th>
305
+ <td>String</td>
306
+ <td>Defines kind of toggle icon from icons collection.</td>
307
+ <td>"double-arrow"</td>
308
+ <td>
309
+ <ul type="square">
310
+ <li>"base-arrow"</li>
311
+ <li>"double-arrow"</li>
312
+ <li>"wide-arrow"</li>
313
+ <li>"circle-arrow"</li>
314
+ <li>"inner-arrow"</li>
315
+ <li>"triangle-arrow"</li>
316
+ <li>"triangle-circle-arrow"</li>
317
+ </ul>
318
+ </td>
319
+ </tr>
320
+ <tr>
321
+ <th>anyOptionWrapperBlockHeight</th>
322
+ <td>Number</td>
323
+ <td>Defines "height" css-property for each option in options list.</td>
324
+ <td>30</td>
325
+ <td>&mdash;</td>
326
+ </tr>
327
+ <tr>
328
+ <th>increaseDisplayBy</th>
329
+ <td>Number</td>
330
+ <td>Defines gap which increases limit of displayed elements with selected options.</td>
331
+ <td>5</td>
332
+ <td>&mdash;</td>
333
+ </tr>
334
+ <tr>
335
+ <th>maxOptionsCount</th>
336
+ <td>Number</td>
337
+ <td>Maximal limit of selected options.</td>
338
+ <td>null</td>
339
+ <td>&mdash;</td>
340
+ </tr>
341
+ <tr>
342
+ <th>minOptionsCount</th>
343
+ <td>Number</td>
344
+ <td>Minimal limit of selected options.</td>
345
+ <td>null</td>
346
+ <td>&mdash;</td>
347
+ </tr>
348
+ <tr>
349
+ <th>multipleBlocksLimit</th>
350
+ <td>Number</td>
351
+ <td>Defines limit of displayed elements with selected options.</td>
352
+ <td>null</td>
353
+ <td>&mdash;</td>
354
+ </tr>
355
+ <tr>
356
+ <th>optionsCountRestriction</th>
357
+ <td>Number</td>
358
+ <td>Defines maximal limit of options list length.</td>
359
+ <td>null</td>
360
+ <td>&mdash;</td>
361
+ </tr>
362
+ <tr>
363
+ <th>toggleMaxHeight</th>
364
+ <td>Number</td>
365
+ <td>Defines maximal value in pixels of "max-height" css-property for options list.</td>
366
+ <td>400</td>
367
+ <td>&mdash;</td>
368
+ </tr>
369
+ <tr>
370
+ <th>toggleMinHeight</th>
371
+ <td>Number</td>
372
+ <td>Defines minimal value in pixels of "max-height" css-property for options list.</td>
373
+ <td>null</td>
374
+ <td>&mdash;</td>
375
+ </tr>
376
+ <tr>
377
+ <th>createOptionFields</th>
378
+ <td>Array</td>
379
+ <td>Defines a list of fields for options of type "object" created by user.</td>
380
+ <td>["label"]</td>
381
+ <td>&mdash;</td>
382
+ </tr>
383
+ <tr>
384
+ <th>disabledPrimitiveOptions</th>
385
+ <td>Array</td>
386
+ <td>Defines a list of primitive types for options. Options of given types will be disabled for selection.</td>
387
+ <td>[]</td>
388
+ <td>&mdash;</td>
389
+ </tr>
390
+ <tr>
391
+ <th>options</th>
392
+ <td>Array</td>
393
+ <td>Raw options list.</td>
394
+ <td>[]</td>
395
+ <td>&mdash;</td>
396
+ </tr>
397
+ <tr>
398
+ <th>optionsPadding</th>
399
+ <td>Array</td>
400
+ <td>Defines a list with "padding-top", "padding-left", "padding-bottom" and "padding-right" css-properties for options in options list. Property "padding-top" matches index zero. Property "padding-right" matches index three.</td>
401
+ <td>[]</td>
402
+ <td>&mdash;</td>
403
+ </tr>
404
+ <tr>
405
+ <th>preselectedOptions</th>
406
+ <td>Array</td>
407
+ <td>Defines a list of options that will be select by default.</td>
408
+ <td>[]</td>
409
+ <td>&mdash;</td>
410
+ </tr>
411
+ <tr>
412
+ <th>specialKeysBlock</th>
413
+ <td>Array</td>
414
+ <td>Defines a list of keys which in combination with mouse buttons or "enter" key will prevent selection of option.</td>
415
+ <td>[]</td>
416
+ <td>
417
+ <ul type="square">
418
+ <li>"alt"</li>
419
+ <li>"ctrl"</li>
420
+ <li>"shift"</li>
421
+ </ul>
422
+ </td>
423
+ </tr>
424
+ <tr>
425
+ <th>createCustomOptionLabel</th>
426
+ <td>Function</td>
427
+ <td>Defines function that creates custom label for each option.</td>
428
+ <td>(option) => null</td>
429
+ <td>&mdash;</td>
430
+ </tr>
431
+ <tr>
432
+ <th>multipleBlocksLimitMessage</th>
433
+ <td>Function</td>
434
+ <td>Defines function that creates notification when maximal limit of selected options has been reached.</td>
435
+ <td>(number) => `and ${number} more items`</td>
436
+ <td>&mdash;</td>
437
+ </tr>
438
+ <tr>
439
+ <th>inputId</th>
440
+ <td>String, Number</td>
441
+ <td>"id" attribute of search field.</td>
442
+ <td>null</td>
443
+ <td>&mdash;</td>
444
+ </tr>
445
+ <tr>
446
+ <th>preselectedOption</th>
447
+ <td>UnionPropType (from types)</td>
448
+ <td>Defines options that will be select by default.</td>
449
+ <td>null</td>
450
+ <td>&mdash;</td>
451
+ </tr>
452
+ <tr>
453
+ <th>value</th>
454
+ <td>Array</td>
455
+ <td>Defines value of extended multiselect that can be used in "v-model".</td>
456
+ <td>[]</td>
457
+ <td>&mdash;</td>
458
+ </tr>
459
+ </tbody>
460
+ </table>
461
+ </font>
460
462
 
461
463
  <table>
462
464
  <thead>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",