@tekkare/auriga 0.1.187 → 0.1.188

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.
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.187"
7
+ "version": "0.1.188"
8
8
  }
@@ -1,61 +1,89 @@
1
1
  <template>
2
- <div>
3
- <div
4
- class="filters_input_search"
5
- :class="{ filters_shortcuts_open: typing }"
6
- @keydown.backspace="handleDelete()"
7
- @click="changeDisplay()"
8
- >
9
- <arg-icon
10
- name="MagnifyingGlass"
11
- color="var(--medium)"
12
- size="20"
13
- class="search_icon"
14
- />
15
- <input
16
- id="search_input"
17
- v-model="value"
18
- class="filters_input_style"
19
- :placeholder="placeHolderValue"
20
- @keydown.enter="addTag"
21
- @keydown.left="selectTag(closeIndex - 1, 0)"
22
- @keydown.right="selectTag(closeIndex + 1, 1)"
23
- @keydown.up="shortcutSelect('asc')"
24
- @keydown.down="shortcutSelect('desc')"
25
- autocomplete="off"
26
- />
27
- <div class="research_tags" id="tags">
2
+ <div class="relative">
3
+ <div class="relative">
4
+ <div
5
+ class="filters_input_search"
6
+ :class="[
7
+ { filters_shortcuts_open: typing },
8
+ suggOpen && suggestions !== null ? 'no_bottom' : '',
9
+ ]"
10
+ @keydown.backspace="handleDelete()"
11
+ >
12
+ <arg-icon
13
+ name="MagnifyingGlass"
14
+ color="var(--medium)"
15
+ size="20"
16
+ class="search_icon"
17
+ />
28
18
  <div
29
- v-for="(search, searchIndex) in searchedWords"
30
- :key="searchIndex"
31
- :id="`tag${searchIndex}`"
32
- :class="{
33
- selected_tag: selectedTag === searchIndex,
34
- duplicate_tag: duplicate.includes(search.value),
35
- }"
36
- class="input_shortcut_tag"
37
- @mouseover="hoverTag = searchIndex"
38
- @mouseleave="hoverTag = null"
19
+ class="select_shortcut"
20
+ :class="typing ? 'open' : ''"
21
+ @click.stop="changeDisplay()"
39
22
  >
40
- <span v-if="search.type.length > 0" class="tag_search_type"
41
- >{{ search.type }}
42
- </span>
43
- <span class="shortcut_keyword">{{ search.value }}</span>
44
- <div
45
- class="remove_search"
46
- @click="removeTag(searchIndex)"
47
- @click.stop
48
- >
49
- <arg-icon name="X" size="14" />
50
- </div>
23
+ <p>
24
+ {{ shortcuts.find((a) => a.symbol === selectedShortcut).keyword }} :
25
+ </p>
26
+ </div>
27
+ <input
28
+ id="search_input"
29
+ v-model="value"
30
+ class="filters_input_style"
31
+ :placeholder="placeHolderValue"
32
+ @keydown.enter="
33
+ optionIndex > 0 && showSuggs
34
+ ? selectSugg(filterSuggestions[optionIndex - 1])
35
+ : addTag()
36
+ "
37
+ @keydown.left="selectTag(closeIndex - 1, 0)"
38
+ @keydown.right="selectTag(closeIndex + 1, 1)"
39
+ @keydown.up="typing ? shortcutSelect('asc') : selectOption(false)"
40
+ @keydown.down="typing ? shortcutSelect('desc') : selectOption(true)"
41
+ autocomplete="off"
42
+ click.stop
43
+ />
44
+
45
+ <div
46
+ class="remove_search_section"
47
+ @click="emptySearch()"
48
+ :class="{ 'select-remove': removeSelected }"
49
+ >
50
+ <arg-icon name="XCircleFill" size="20" color="var(--medium)" />
51
51
  </div>
52
52
  </div>
53
+
53
54
  <div
54
- class="remove_search_section"
55
- @click="emptySearch()"
56
- :class="{ 'select-remove': removeSelected }"
55
+ v-if="suggestions !== null && suggOpen"
56
+ class="search_suggestions"
57
+ :class="suggOpen ? 'sugg_open' : ''"
58
+ @click.stop
57
59
  >
58
- <arg-icon name="XCircleFill" size="20" color="var(--medium)" />
60
+ <div v-if="loadingSuggs">
61
+ <p class="loading oip_body">{{ loaderText[lang] }}</p>
62
+ </div>
63
+ <div v-if="filterSuggestions.length > 0" class="sugg_container">
64
+ <p
65
+ v-for="(sugg, index) in filterSuggestions"
66
+ :key="index"
67
+ class="oip_body"
68
+ :class="[
69
+ optionIndex === index + 1 ? 'selected' : '',
70
+ optionIndex > 0 ? 'no_hover' : '',
71
+ ]"
72
+ @click="selectSugg(sugg)"
73
+ @mousemove="optionIndex = 0"
74
+ >
75
+ <arg-icon
76
+ v-if="sugg.icon"
77
+ :name="sugg.icon"
78
+ size="14"
79
+ color="var(--medium)"
80
+ />
81
+ {{ sugg.text }}
82
+ </p>
83
+ </div>
84
+ <div v-else-if="!loadingSuggs" class="sugg_container">
85
+ <p class="not-found oip_body">{{ notFound[lang] }}</p>
86
+ </div>
59
87
  </div>
60
88
  </div>
61
89
  <div v-if="typing" class="sub_input_section">
@@ -67,7 +95,7 @@
67
95
  color="var(--darkest)"
68
96
  size="16"
69
97
  class="align_icon show_shortcuts"
70
- @click.native="showInfo = !showInfo"
98
+ @click="showInfo = !showInfo"
71
99
  />
72
100
  </div>
73
101
  <div class="research_content">
@@ -114,6 +142,7 @@
114
142
  </div>
115
143
  </div>
116
144
  </div>
145
+
117
146
  <div v-if="showInfo" class="searchbar_info" id="info" @click.stop>
118
147
  <div class="searchbar_shortcuts">
119
148
  <p class="searchbar_info_title">Keyboard shortcuts</p>
@@ -146,6 +175,56 @@
146
175
  </div>
147
176
  </div>
148
177
  </div>
178
+
179
+ <div class="research_tags" id="tags">
180
+ <div
181
+ v-for="(search, searchIndex) in searchedWords"
182
+ :key="searchIndex"
183
+ :id="`tag${searchIndex}`"
184
+ :class="{
185
+ selected_tag: selectedTag === searchIndex,
186
+ duplicate_tag: duplicate.includes(search.value),
187
+ }"
188
+ class="input_shortcut_tag"
189
+ @mouseover="hoverTag = searchIndex"
190
+ @mouseleave="hoverTag = null"
191
+ >
192
+ <div v-if="searchIndex === showChangeType" class="tag_change_type">
193
+ <p
194
+ v-for="option in shortcuts.map((a) => a.keyword)"
195
+ :key="option"
196
+ @click.stop="changeSearchType(searchIndex, option)"
197
+ :class="
198
+ search.type.toLowerCase() === option
199
+ ? 'current select_type'
200
+ : 'select_type'
201
+ "
202
+ >
203
+ {{ option.toUpperCase() }}
204
+ <arg-icon
205
+ v-if="search.type.toLowerCase() === option"
206
+ name="Check"
207
+ color="var(--primary)"
208
+ size="16"
209
+ />
210
+ </p>
211
+ </div>
212
+ <span
213
+ v-if="search.type.length > 0"
214
+ class="tag_search_type"
215
+ @click.stop="handleChangeType(searchIndex)"
216
+ >{{ search.type.toLowerCase() }}:
217
+ </span>
218
+ <span class="shortcut_keyword">{{ search.value }}</span>
219
+ <arg-icon
220
+ name="X"
221
+ size="12"
222
+ thickness="36"
223
+ class="remove"
224
+ @click.stop="removeTag(searchIndex)"
225
+ />
226
+ </div>
227
+ </div>
149
228
  </div>
150
229
  </template>
151
230
  <script>
@@ -157,6 +236,7 @@ import {
157
236
  defineComponent
158
237
  } from "vue";
159
238
  import argIcon from "./argIcon.vue";
239
+ import { useFuse } from "@vueuse/integrations/useFuse";
160
240
  export default defineComponent({
161
241
  name: "argAdvancedSearchBar",
162
242
  components: { argIcon },
@@ -172,6 +252,25 @@ export default defineComponent({
172
252
  defaultInputs: {
173
253
  type: Array,
174
254
  default: () => []
255
+ },
256
+ suggestions: {
257
+ type: Array,
258
+ default: null
259
+ },
260
+ fuzzyThreshold: {
261
+ type: Number,
262
+ default: 0.5
263
+ },
264
+ lang: {
265
+ type: String,
266
+ default: "en",
267
+ validator: (value) => {
268
+ return ["en", "fr", "es"].includes(value);
269
+ }
270
+ },
271
+ loadingSuggs: {
272
+ type: Boolean,
273
+ default: false
175
274
  }
176
275
  },
177
276
  emits: ["update:Value", "onClose"],
@@ -183,19 +282,22 @@ export default defineComponent({
183
282
  { keyword: "not", value: "exclude the word", symbol: "!" }
184
283
  ]);
185
284
  const hoverShortcut = ref("");
186
- const selectedShortcut = ref("");
285
+ const selectedShortcut = ref("+");
187
286
  const searchedWords = ref([]);
188
287
  const closeIndex = ref();
189
288
  const value = ref("");
190
289
  const selectedTag = ref();
191
- const duplicate = ref("");
290
+ const duplicate = ref([]);
192
291
  const searchBar = ref();
193
292
  const tagsSection = ref();
194
293
  const shortcutIndex = ref(-1);
195
294
  const removeSelected = ref(false);
196
295
  const hoverTag = ref();
197
296
  const showInfo = ref(false);
297
+ const showChangeType = ref(null);
198
298
  const regexSearch = /^[\s\.\+\/\!]|(?:[\+\/\!\s])[\s{1,}\.{1,}\+{1,}\/{1,}\!{1,}]|[\s{1,}\.1,}\+{1,}\/{1,}\!{1,}]$|\s+[\+\/]|\s+$/g;
299
+ const suggOpen = ref(false);
300
+ const optionIndex = ref(0);
199
301
  const iconColor = computed(() => {
200
302
  if (typing.value === true) {
201
303
  return "var(--primary)";
@@ -222,10 +324,28 @@ export default defineComponent({
222
324
  } else
223
325
  return false;
224
326
  });
327
+ const notFound = {
328
+ fr: "Aucune suggestion n'a \xE9t\xE9 trouv\xE9e",
329
+ en: "No suggestions were found",
330
+ es: "No se encontraron sugerencias"
331
+ };
332
+ const loaderText = {
333
+ fr: "Plus de suggestions en chargement",
334
+ en: "Loading more suggestions",
335
+ es: "cargando m\xE1s sugerencias"
336
+ };
225
337
  watch(value, (new_value) => {
338
+ typing.value = false;
226
339
  if (new_value === "") {
227
340
  hoverShortcut.value = "";
341
+ suggOpen.value = false;
342
+ optionIndex.value = 0;
343
+ document.removeEventListener("click", closeSugg);
228
344
  } else {
345
+ suggOpen.value = true;
346
+ setTimeout(() => {
347
+ document.addEventListener("click", closeSugg);
348
+ }, 100);
229
349
  for (let i = 0; i < shortcuts.value.length; i++) {
230
350
  if (new_value.startsWith(shortcuts.value[i].symbol)) {
231
351
  selectedShortcut.value = shortcuts.value[i].symbol;
@@ -233,9 +353,17 @@ export default defineComponent({
233
353
  }
234
354
  }
235
355
  });
236
- watch(selectedShortcut, (new_shortcut) => {
237
- value.value = `${new_shortcut}`;
238
- });
356
+ watch(
357
+ () => typing.value,
358
+ () => {
359
+ if (!typing.value) {
360
+ document.removeEventListener("click", close);
361
+ } else
362
+ setTimeout(() => {
363
+ document.addEventListener("click", close);
364
+ }, 100);
365
+ }
366
+ );
239
367
  watch(closeIndex, (new_index) => {
240
368
  if (new_index > searchedWords.value.length) {
241
369
  removeSelected.value = true;
@@ -277,6 +405,17 @@ export default defineComponent({
277
405
  } else
278
406
  return "var(--white)";
279
407
  }
408
+ function handleChangeType(searchIndex) {
409
+ showChangeType.value = searchIndex;
410
+ setTimeout(() => {
411
+ document.addEventListener("click", close);
412
+ }, 200);
413
+ }
414
+ function changeSearchType(searchIndex, option) {
415
+ searchedWords.value[searchIndex].type = option;
416
+ emit("update:Value", searchedWords.value);
417
+ showChangeType.value = null;
418
+ }
280
419
  function shortcutSelect(dir) {
281
420
  typing.value = true;
282
421
  let index;
@@ -304,7 +443,6 @@ export default defineComponent({
304
443
  shortcutIndex.value = shortcuts.value.length - 1;
305
444
  }
306
445
  }
307
- searchBar.value.focus();
308
446
  }
309
447
  function addToSearch(search, textValue, isDefault) {
310
448
  searchedWords.value.push({ type: search, value: textValue });
@@ -316,6 +454,24 @@ export default defineComponent({
316
454
  searchBar.value.focus();
317
455
  resetSearch();
318
456
  }
457
+ const options = computed(() => ({
458
+ fuseOptions: {
459
+ includeScore: true,
460
+ threshold: 0.5
461
+ }
462
+ }));
463
+ const filterSuggestions = computed(() => {
464
+ if (value.value.replace(/[+/!]/g, "").length > 0) {
465
+ return props.suggestions.filter(
466
+ (f) => useFuse(
467
+ value.value.replace(/[+/!]/g, ""),
468
+ props.suggestions.map((a) => a.text),
469
+ options.value
470
+ ).results.value.map((a) => a.item).includes(f.text)
471
+ ).slice(0, 50);
472
+ } else
473
+ return props.suggestions.slice(0, 50);
474
+ });
319
475
  function selectTag(index, direction) {
320
476
  let nextTag;
321
477
  if (direction === 0) {
@@ -364,11 +520,23 @@ export default defineComponent({
364
520
  return returnKeyword;
365
521
  }
366
522
  function addTag() {
523
+ suggOpen.value = false;
367
524
  if (removeSelected.value === true) {
368
525
  emptySearch();
369
526
  } else if (selectedTag.value !== null && selectedTag.value < searchedWords.value.length && selectedTag.value >= 0) {
370
527
  removeTag(selectedTag.value);
371
528
  } else {
529
+ if (optionIndex.value > 0) {
530
+ value.value = filterSuggestions.value[optionIndex.value - 1].text;
531
+ if (searchedWords.value.filter(
532
+ (f) => f.value === filterSuggestions.value[optionIndex.value - 1].text
533
+ ).length > 0) {
534
+ setTimeout(() => {
535
+ suggOpen.value = false;
536
+ value.value = "";
537
+ });
538
+ }
539
+ }
372
540
  let search;
373
541
  let searchValue = "";
374
542
  let arrayValues;
@@ -395,9 +563,9 @@ export default defineComponent({
395
563
  if (searchValue.length > 0 && arrayValues.length === 0) {
396
564
  if (searchedWords.value.filter((f) => f.value === searchValue).length === 0) {
397
565
  addToSearch(search, searchValue, false);
398
- selectedShortcut.value = "";
399
566
  } else {
400
567
  handleDuplicate(searchValue);
568
+ value.value = "";
401
569
  }
402
570
  } else if (arrayValues.length > 0) {
403
571
  for (let i = 0; i < arrayValues.length; i++) {
@@ -407,9 +575,9 @@ export default defineComponent({
407
575
  (f) => f.value === arraySearchValue
408
576
  ).length === 0) {
409
577
  addToSearch(search, arraySearchValue, false);
410
- selectedShortcut.value = "";
411
578
  } else {
412
579
  handleDuplicate(arraySearchValue);
580
+ value.value = "";
413
581
  }
414
582
  }
415
583
  }
@@ -417,8 +585,8 @@ export default defineComponent({
417
585
  }
418
586
  }
419
587
  function handleDuplicate(tag) {
420
- duplicate.value = `${duplicate.value} ${tag}`;
421
- setTimeout(() => duplicate.value = "", 1e3);
588
+ duplicate.value.push(tag);
589
+ setTimeout(() => duplicate.value = [], 1e3);
422
590
  }
423
591
  function emptySearch() {
424
592
  searchedWords.value = [];
@@ -427,6 +595,17 @@ export default defineComponent({
427
595
  searchBar.value.focus();
428
596
  emit("update:Value", searchedWords.value);
429
597
  }
598
+ function selectSugg(sugg) {
599
+ if (searchedWords.value.find(
600
+ (a) => a.value === sugg.text
601
+ ) === void 0) {
602
+ value.value = sugg.text;
603
+ addTag();
604
+ } else {
605
+ suggOpen.value = false;
606
+ handleDuplicate(sugg.text);
607
+ }
608
+ }
430
609
  function selectSearch(item) {
431
610
  const searchValue = value.value.replace(regexSearch, "");
432
611
  selectedShortcut.value = item.symbol;
@@ -435,11 +614,11 @@ export default defineComponent({
435
614
  addToSearch(getKeyword(item.symbol), searchValue, false);
436
615
  } else {
437
616
  handleDuplicate(searchValue);
617
+ value.value = "";
438
618
  }
439
- } else {
440
- value.value = `${item.symbol}`;
441
619
  }
442
620
  searchBar.value.focus();
621
+ typing.value = false;
443
622
  }
444
623
  function removeTag(tagIndex) {
445
624
  searchedWords.value.splice(tagIndex, 1);
@@ -468,13 +647,36 @@ export default defineComponent({
468
647
  }
469
648
  searchBar.value.focus();
470
649
  }
471
- function close() {
472
- if (typing.value === true) {
473
- emit("onClose");
474
- typing.value = false;
475
- document.removeEventListener("click", close);
650
+ function selectOption(isDown) {
651
+ if (isDown) {
652
+ optionIndex.value = optionIndex.value === filterSuggestions.value.length ? filterSuggestions.value.length : optionIndex.value + 1;
653
+ } else {
654
+ optionIndex.value = optionIndex.value === 0 ? filterSuggestions.value.length : optionIndex.value - 1;
655
+ }
656
+ const suggContainer = document.querySelector(".search_suggestions");
657
+ const selectedOption = suggContainer?.querySelectorAll("p")[optionIndex.value - 1];
658
+ if (selectedOption) {
659
+ const containerHeight = suggContainer?.clientHeight;
660
+ const containerScrollTop = suggContainer?.scrollTop;
661
+ const optionTop = selectedOption?.offsetTop;
662
+ const optionHeight = selectedOption?.offsetHeight * 2;
663
+ if (optionTop < containerScrollTop) {
664
+ suggContainer.scrollTop = optionTop;
665
+ } else if (optionTop + optionHeight > containerHeight + containerScrollTop) {
666
+ suggContainer.scrollTop = optionTop + optionHeight - containerHeight;
667
+ }
476
668
  }
477
669
  }
670
+ function close() {
671
+ emit("onClose");
672
+ typing.value = false;
673
+ showChangeType.value = null;
674
+ }
675
+ function closeSugg() {
676
+ suggOpen.value = false;
677
+ optionIndex.value = 0;
678
+ document.removeEventListener("click", close);
679
+ }
478
680
  return {
479
681
  close,
480
682
  changeDisplay,
@@ -508,11 +710,21 @@ export default defineComponent({
508
710
  regexSearch,
509
711
  iconColor,
510
712
  hasShortcut,
511
- infoHeight
713
+ infoHeight,
714
+ suggOpen,
715
+ filterSuggestions,
716
+ selectOption,
717
+ optionIndex,
718
+ selectSugg,
719
+ showChangeType,
720
+ changeSearchType,
721
+ notFound,
722
+ loaderText,
723
+ handleChangeType
512
724
  };
513
725
  }
514
726
  });
515
727
  </script>
516
728
  <style scoped>
517
- .research_tags{align-items:center;display:flex;flex-direction:row;gap:8px;overflow-x:scroll}.research_tags::-webkit-scrollbar{display:none}.filters_input_search{align-items:center;background:var(--white);border:1.5px solid var(--light);border-radius:8px;display:flex;flex-direction:row;gap:12px;height:40px;padding:0 0 0 12px;width:calc(100% - 24px)}.filters_shortcuts_open{border-radius:8px 8px 8px 0}.filters_input_style{margin-right:8px;max-width:20%}.research_section{align-items:flex-start;background:var(--white);border:1.5px solid var(--light);border-radius:0 0 8px 8px;box-sizing:border-box;display:flex;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important;flex-direction:column;flex-shrink:0;padding:0;width:340px}.research_title{align-items:center;align-self:stretch;display:flex;flex:none;flex-direction:row;flex-grow:0;font-size:14px;font-weight:700;gap:8px;line-height:16px;order:0;padding:16px}.align_icon{margin-left:auto}.research_content{align-items:flex-start;align-self:stretch;display:flex;flex:none;flex-direction:column;flex-grow:0;order:1;padding:0 8px;width:90%}.research_item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;padding:8px;width:100%}.research_item:hover{background:var(--lightest)!important}.research_item_selected{background:var(--lightest)}.research_keyword{font-size:16px;font-weight:500;line-height:19px}.research_value{color:var(--dark);font-size:16px;font-weight:400;line-height:19px}.research_item>svg{margin-left:auto}.research_footer{align-items:flex-start;align-self:stretch;display:flex;flex:none;flex-direction:column;flex-grow:0;order:2;padding:16px 0 0}.research_separator{background:var(--light);height:1px;width:100%}.shortcuts_choice{align-self:stretch;font-size:14px;font-weight:400;gap:4px;line-height:16px;padding:12px 16px}.shortcut_tag,.shortcuts_choice{align-items:center;display:flex;flex:none;flex-direction:row;flex-grow:0;order:1}.shortcut_tag{background:var(--lightest);border-radius:4px;gap:2px;justify-content:center;padding:4px}.shortcut_keyword{font-size:14px;font-weight:400;line-height:16px;white-space:nowrap}.shortcut_symbol{font-size:14px;font-weight:500;line-height:16px}.tag_search_type{color:var(--dark);font-size:14px;line-height:16px;text-transform:uppercase}.input_shortcut_tag{align-items:center;background:var(--lightest);border-radius:8px;display:flex;flex-direction:row;gap:4px;isolation:isolate;padding:4px 12px;position:relative;width:auto}.input_shortcut_tag.selected_tag>.remove_search,.input_shortcut_tag:hover .remove_search{background:var(--lightest);left:calc(100% - 25px);opacity:1;position:absolute;transition:all .3s ease}.remove_search_section{margin-left:auto;padding:0 12px}.remove_search,.remove_search_section{align-items:center;border-left:1px solid var(--light);border-radius:0 8px 8px 0;cursor:pointer;display:flex;flex-direction:row;height:100%}.remove_search{background:var(--lightest);left:calc(100% - 15px);opacity:0;padding-left:4px;position:absolute;transition:all .2s ease}.search_error{color:var(--system-alert);font-size:14px}.selected_tag{border:1px solid var(--primary)}.input_shortcut_tag.duplicate_tag{animation:shake 1s;background:var(--lightest)!important}@keyframes shake{10%,90%{transform:scale(.9) translate3d(-1px,0,0)}20%,80%{transform:scale(.9) translate3d(2px,0,0)}30%,50%,70%{transform:scale(.9) translate3d(-4px,0,0)}40%,60%{transform:scale(.9) translate3d(4px,0,0)}}.search_icon{flex-shrink:0}.select-remove{background:rgba(33,118,255,.1)!important}.select-remove svg{color:var(--primary)!important}.sub_input_section{align-items:flex-start;display:flex;flex-direction:row;position:absolute;z-index:3}@media screen and (max-width:700px){.sub_input_section{align-items:flex-start;display:flex;flex-direction:column-reverse}.searchbar_info{border-radius:0!important;height:100px;opacity:1!important;overflow-y:scroll;width:338px}}.searchbar_info{align-items:flex-start;background:var(--darkest);border:1px solid var(--darkest);border-radius:0 0 8px 8px;color:var(--white);display:flex;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important;flex-direction:row;max-width:500px}.searchbar_shortcuts{padding:16px}.searchbar_info_title{font-size:14px;font-weight:700;text-decoration:underline}.searchbar_info_content{font-size:14px;list-style:inside;padding-inline-start:0!important}.close_info{padding:12px 16px 0 0}.close_info,.show_shortcuts{cursor:pointer}.filters_input_search:hover{border:1.5px solid rgba(33,118,255,.2)!important}.filters_input_search:focus-within{border:1.5px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filters_input_search:focus-within .search_icon,.filters_input_search:hover .search_icon{color:var(--primary)!important}.filters_input_style{width:100%}.filters_input_style,.filters_input_style:focus-visible{border:none;outline:none}.filters_input_style::-moz-placeholder{color:var(--medium)}.filters_input_style::placeholder{color:var(--medium)}
729
+ .research_tags{flex-grow:1;flex-wrap:wrap;gap:8px;margin-top:8px}.filters_input_search,.research_tags{align-items:center;display:flex;flex-direction:row}.filters_input_search{background:var(--white);border:1.5px solid var(--light);border-radius:8px;gap:12px;height:40px;padding:0 0 0 12px;width:calc(100% - 12px)}.filters_input_search.no_bottom{border:1.5px solid var(--primary)!important;border-bottom:none!important;border-radius:8px 8px 0 0;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filters_shortcuts_open:not(.no_bottom){border-radius:8px 8px 8px 0}.filters_input_style{margin-right:8px;max-width:80%}.research_section{align-items:flex-start;background:var(--white);border:1.5px solid var(--light);border-radius:0 0 8px 8px;box-shadow:2px 2px 3px rgba(33,118,255,.1),-2px 2px 3px rgba(33,118,255,.1);box-sizing:border-box;display:flex;flex-direction:column;flex-shrink:0;padding:0;width:340px}.research_title{align-items:center;align-self:stretch;display:flex;flex:none;flex-direction:row;flex-grow:0;font-size:14px;font-weight:700;gap:8px;line-height:16px;order:0;padding:16px}.align_icon{margin-left:auto}.research_content{align-items:flex-start;align-self:stretch;display:flex;flex:none;flex-direction:column;flex-grow:0;order:1;padding:0 8px;width:90%}.research_item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;padding:8px;width:100%}.research_item:hover{background:var(--lightest)!important}.research_item_selected{background:var(--lightest)}.research_keyword{font-size:16px;font-weight:500;line-height:19px}.research_value{color:var(--dark);font-size:16px;font-weight:400;line-height:19px}.research_item>svg{margin-left:auto}.research_footer{align-items:flex-start;align-self:stretch;display:flex;flex:none;flex-direction:column;flex-grow:0;order:2;padding:16px 0 0}.research_separator{background:var(--light);height:1px;width:100%}.shortcuts_choice{align-self:stretch;font-size:14px;font-weight:400;gap:4px;line-height:16px;padding:12px 16px}.shortcut_tag,.shortcuts_choice{align-items:center;display:flex;flex:none;flex-direction:row;flex-grow:0;order:1}.shortcut_tag{background:var(--lightest);border-radius:4px;gap:2px;justify-content:center;padding:4px}.shortcut_keyword{font-size:14px;font-weight:400;line-height:16px;white-space:nowrap}.shortcut_symbol{font-size:14px;font-weight:500;line-height:16px}.tag_change_type{background:var(--white);border:1px solid var(--light);border-radius:8px;box-shadow:var(--small-shadow);display:flex;flex-direction:column;font-size:14px;gap:8px;left:-1px;line-height:16px;padding:8px 12px;position:absolute;top:-1px;z-index:99}.select_type{display:flex;flex-direction:row;gap:2px}.select_type:hover{color:var(--primary)!important}.select_type{cursor:pointer}.select_type.current{font-weight:600!important}.tag_search_type{color:var(--dark);cursor:pointer;font-size:14px;font-weight:700;line-height:normal}.tag_search_type:hover{color:var(--primary)}.input_shortcut_tag{align-items:center;background:var(--lightest);border:1px solid var(--light);border-radius:12px;display:flex;flex-direction:row;gap:4px;padding:4px 12px;position:relative;width:auto}.input_shortcut_tag:hover{border:1px solid rgba(33,118,255,.3)!important}.remove_search_section{align-items:center;background:var(--white);border-left:1px solid var(--light);border-radius:0 8px 8px 0;cursor:pointer;display:flex;flex-direction:row;height:100%;margin-left:auto;padding:0 12px}.remove_search_section:hover,.select-remove{background:rgba(33,118,255,.1)!important}.remove_search_section:hover svg,.select-remove svg{color:var(--primary)!important}.remove_search{cursor:pointer}.remove_search:hover svg{color:var(--primary)!important}.search_error{color:var(--system-alert);font-size:14px}.selected_tag{border:1px solid var(--primary)}.input_shortcut_tag.duplicate_tag{animation:shake 1s;background:var(--lightest)!important}@keyframes shake{10%,90%{transform:scale(.9) translate3d(-1px,0,0)}20%,80%{transform:scale(.9) translate3d(2px,0,0)}30%,50%,70%{transform:scale(.9) translate3d(-4px,0,0)}40%,60%{transform:scale(.9) translate3d(4px,0,0)}}.search_icon{flex-shrink:0}.sub_input_section{align-items:flex-start;display:flex;flex-direction:row;position:absolute;z-index:5}@media screen and (max-width:700px){.sub_input_section{align-items:flex-start;display:flex;flex-direction:column-reverse}.searchbar_info{border-radius:0!important;height:100px;opacity:1!important;overflow-y:scroll;width:338px}}.searchbar_info{align-items:flex-start;background:var(--darkest);border:1px solid var(--darkest);border-radius:0 0 8px 8px;color:var(--white);display:flex;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important;flex-direction:row;max-width:500px}.searchbar_shortcuts{padding:16px}.searchbar_info_title{font-size:14px;font-weight:700;text-decoration:underline}.searchbar_info_content{font-size:14px;list-style:inside;padding-inline-start:0!important}.close_info{padding:12px 16px 0 0}.close_info,.show_shortcuts{cursor:pointer}.filters_input_search:not(.no_bottom):hover{border:1.5px solid rgba(33,118,255,.2)!important}.filters_input_search:not(.no_bottom):focus-within{border:1.5px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filters_input_search:focus-within .search_icon,.filters_input_search:hover .search_icon{color:var(--primary)!important}.filters_input_style{width:100%}.filters_input_style,.filters_input_style:focus-visible{border:none;outline:none}.filters_input_style::-moz-placeholder{color:var(--medium)}.filters_input_style::placeholder{color:var(--medium)}.search_suggestions{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fff;border:1.5px solid var(--light);border-radius:0 0 8px 8px;left:0;max-height:200px;overflow-y:scroll;position:absolute;width:100%;z-index:4}.search_suggestions::-webkit-scrollbar{height:5px;width:5px}.search_suggestions::-webkit-scrollbar-thumb{background:var(--medium);border-radius:12px!important}.search_suggestions::-webkit-scrollbar-thumb:hover{background:var(--medium)!important}.sugg_open{border-top:1.5px solid var(--primary)!important;border:1.5px solid var(--primary)!important;border-top-color:var(--light)!important;box-shadow:2px 2px 3px rgba(33,118,255,.1),-2px 2px 3px rgba(33,118,255,.1)}.sugg_container{cursor:pointer;display:flex;flex-direction:column}.sugg_container p:not(.loading){align-items:center;display:flex;gap:8px;padding:8px 12px}.sugg_container p.selected,.sugg_container p:not(.not-found,.loading,.no_hover):hover{background:rgba(93,153,250,.2)}.sugg_container p.selected svg,.sugg_container p:not(.not-found,.loading,.no_hover):hover svg{color:var(--primary)!important}.sugg_container p:last-of-type{border-radius:0 0 0 8px}.loading{color:var(--medium);font-style:italic;padding:8px 12px}.loading:after{animation:dots 1.3s step-end infinite;content:"";display:inline-block}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}to{content:""}}.select_shortcut{align-items:center;animation:shine 3s ease-in-out forwards;background:var(--white);border:1px solid transparent;border:1px solid var(--light);border-radius:6px;box-shadow:var(--medium-shadow);cursor:pointer;display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;font-size:16px;gap:4px;padding:4px 8px}@keyframes shine{0%{filter:drop-shadow(0 0 0 rgba(0,0,0,0))}25%{filter:drop-shadow(0 0 4px rgba(33,118,255,.5))}50%{filter:drop-shadow(0 0 0 rgba(0,0,0,0))}75%{filter:drop-shadow(0 0 4px rgba(33,118,255,.5))}to{filter:drop-shadow(0 0 0 rgba(0,0,0,0))}}.select_shortcut:hover{border:1px solid rgba(33,118,255,.3)!important}.select_shortcut:hover,.select_shortcut:hover svg,svg.remove:hover{color:var(--primary)!important}.remove{cursor:pointer}.relative{position:relative}
518
730
  </style>
@@ -1,3 +1,7 @@
1
+ interface Suggestion {
2
+ icon?: string;
3
+ text: string;
4
+ }
1
5
  declare const _default: import("vue").DefineComponent<{
2
6
  placeHolderValue: {
3
7
  type: StringConstructor;
@@ -79,6 +83,36 @@ declare const _default: import("vue").DefineComponent<{
79
83
  };
80
84
  default: () => never[];
81
85
  };
86
+ suggestions: {
87
+ type: {
88
+ (arrayLength: number): Suggestion[];
89
+ (...items: Suggestion[]): Suggestion[];
90
+ new (arrayLength: number): Suggestion[];
91
+ new (...items: Suggestion[]): Suggestion[];
92
+ isArray(arg: any): arg is any[];
93
+ readonly prototype: any[];
94
+ from<T>(arrayLike: ArrayLike<T>): T[];
95
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
96
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
97
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
98
+ of<T_4>(...items: T_4[]): T_4[];
99
+ readonly [Symbol.species]: ArrayConstructor;
100
+ };
101
+ default: null;
102
+ };
103
+ fuzzyThreshold: {
104
+ type: NumberConstructor;
105
+ default: number;
106
+ };
107
+ lang: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ validator: (value: string) => boolean;
111
+ };
112
+ loadingSuggs: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
82
116
  }, {
83
117
  close: () => void;
84
118
  changeDisplay: () => void;
@@ -106,7 +140,7 @@ declare const _default: import("vue").DefineComponent<{
106
140
  closeIndex: import("vue").Ref<any>;
107
141
  value: import("vue").Ref<string>;
108
142
  selectedTag: import("vue").Ref<any>;
109
- duplicate: import("vue").Ref<string>;
143
+ duplicate: import("vue").Ref<never[]>;
110
144
  searchBar: import("vue").Ref<any>;
111
145
  tagsSection: import("vue").Ref<any>;
112
146
  shortcutIndex: import("vue").Ref<number>;
@@ -117,6 +151,24 @@ declare const _default: import("vue").DefineComponent<{
117
151
  iconColor: import("vue").ComputedRef<"var(--primary)" | "var(--medium)">;
118
152
  hasShortcut: import("vue").ComputedRef<boolean>;
119
153
  infoHeight: import("vue").ComputedRef<boolean>;
154
+ suggOpen: import("vue").Ref<boolean>;
155
+ filterSuggestions: import("vue").ComputedRef<Suggestion[]>;
156
+ selectOption: (isDown: boolean) => void;
157
+ optionIndex: import("vue").Ref<number>;
158
+ selectSugg: (sugg: Suggestion) => void;
159
+ showChangeType: import("vue").Ref<any>;
160
+ changeSearchType: (searchIndex: number, option: string) => void;
161
+ notFound: {
162
+ fr: string;
163
+ en: string;
164
+ es: string;
165
+ };
166
+ loaderText: {
167
+ fr: string;
168
+ en: string;
169
+ es: string;
170
+ };
171
+ handleChangeType: (searchIndex: number) => void;
120
172
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Value" | "onClose")[], "update:Value" | "onClose", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
121
173
  placeHolderValue: {
122
174
  type: StringConstructor;
@@ -198,10 +250,41 @@ declare const _default: import("vue").DefineComponent<{
198
250
  };
199
251
  default: () => never[];
200
252
  };
253
+ suggestions: {
254
+ type: {
255
+ (arrayLength: number): Suggestion[];
256
+ (...items: Suggestion[]): Suggestion[];
257
+ new (arrayLength: number): Suggestion[];
258
+ new (...items: Suggestion[]): Suggestion[];
259
+ isArray(arg: any): arg is any[];
260
+ readonly prototype: any[];
261
+ from<T>(arrayLike: ArrayLike<T>): T[];
262
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
263
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
264
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
265
+ of<T_4>(...items: T_4[]): T_4[];
266
+ readonly [Symbol.species]: ArrayConstructor;
267
+ };
268
+ default: null;
269
+ };
270
+ fuzzyThreshold: {
271
+ type: NumberConstructor;
272
+ default: number;
273
+ };
274
+ lang: {
275
+ type: StringConstructor;
276
+ default: string;
277
+ validator: (value: string) => boolean;
278
+ };
279
+ loadingSuggs: {
280
+ type: BooleanConstructor;
281
+ default: boolean;
282
+ };
201
283
  }>> & {
202
284
  "onUpdate:Value"?: ((...args: any[]) => any) | undefined;
203
285
  onOnClose?: ((...args: any[]) => any) | undefined;
204
286
  }, {
287
+ lang: string;
205
288
  placeHolderValue: string;
206
289
  customShortcuts: {
207
290
  keyword: "";
@@ -212,5 +295,8 @@ declare const _default: import("vue").DefineComponent<{
212
295
  type: "";
213
296
  value: "";
214
297
  }[];
298
+ suggestions: Suggestion[];
299
+ fuzzyThreshold: number;
300
+ loadingSuggs: boolean;
215
301
  }, {}>;
216
302
  export default _default;
@@ -298,6 +298,7 @@ declare const _default: import("vue").DefineComponent<{
298
298
  "onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
299
299
  }, {
300
300
  lang: string;
301
+ fuzzyThreshold: number;
301
302
  loading: boolean;
302
303
  search_placeholder_add: string;
303
304
  search_placeholder_del: string;
@@ -315,6 +316,5 @@ declare const _default: import("vue").DefineComponent<{
315
316
  loader_text: string[];
316
317
  empty_content_msg: string;
317
318
  fuzzySearch: boolean;
318
- fuzzyThreshold: number;
319
319
  }, {}>;
320
320
  export default _default;
@@ -233,6 +233,8 @@ declare const _default: import("vue").DefineComponent<{
233
233
  onChangeInputValue?: ((...args: any[]) => any) | undefined;
234
234
  }, {
235
235
  lang: string;
236
+ fuzzyThreshold: number;
237
+ search: boolean;
236
238
  loading: boolean;
237
239
  categories: unknown[];
238
240
  return_value: boolean;
@@ -241,8 +243,6 @@ declare const _default: import("vue").DefineComponent<{
241
243
  loader_text: string[];
242
244
  empty_content_msg: string;
243
245
  fuzzySearch: boolean;
244
- fuzzyThreshold: number;
245
- search: boolean;
246
246
  filter_placeholder: string;
247
247
  close_on_click: boolean;
248
248
  default_select: number;
@@ -129,9 +129,9 @@ declare const _default: import("vue").DefineComponent<{
129
129
  };
130
130
  }>>, {
131
131
  lang: string;
132
+ style: string;
132
133
  subtitle: string;
133
134
  beforeExport: Function;
134
- style: string;
135
135
  kpi: KPI;
136
136
  sources: Sources;
137
137
  exportName: string;
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
51
51
  onOpenSource?: ((...args: any[]) => any) | undefined;
52
52
  }, {
53
53
  data: Data[];
54
- title: string | null;
55
54
  source: string | null;
55
+ title: string | null;
56
56
  }, {}>;
57
57
  export default _default;
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
51
51
  onOpenSource?: ((...args: any[]) => any) | undefined;
52
52
  }, {
53
53
  data: Data[];
54
- title: string | null;
55
54
  source: string | null;
55
+ title: string | null;
56
56
  }, {}>;
57
57
  export default _default;
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
51
51
  onOpenSource?: ((...args: any[]) => any) | undefined;
52
52
  }, {
53
53
  data: dataRegion[];
54
- title: string | null;
55
54
  source: string | null;
55
+ title: string | null;
56
56
  }, {}>;
57
57
  export default _default;
@@ -88,8 +88,8 @@ declare const _default: import("vue").DefineComponent<{
88
88
  }, {
89
89
  lang: string;
90
90
  data: Data[];
91
- title: string;
92
91
  source: string;
92
+ title: string;
93
93
  withDynamicTitle: boolean;
94
94
  }, {}>;
95
95
  export default _default;
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
51
51
  onOpenSource?: ((...args: any[]) => any) | undefined;
52
52
  }, {
53
53
  data: Data[];
54
- title: string | null;
55
54
  source: string | null;
55
+ title: string | null;
56
56
  }, {}>;
57
57
  export default _default;
@@ -112,9 +112,9 @@ declare const _default: import("vue").DefineComponent<{
112
112
  onChangeElement?: ((...args: any[]) => any) | undefined;
113
113
  "onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
114
114
  }, {
115
+ dir: string;
115
116
  return_value: boolean;
116
117
  default_select: number[];
117
- dir: string;
118
118
  must_select: number[];
119
119
  nbCols: number;
120
120
  }, {}>;
@@ -275,6 +275,8 @@ declare const _default: import("vue").DefineComponent<{
275
275
  onChangeInputValue?: ((...args: any[]) => any) | undefined;
276
276
  }, {
277
277
  lang: string;
278
+ fuzzyThreshold: number;
279
+ search: boolean;
278
280
  loading: boolean;
279
281
  disabled: boolean;
280
282
  show_amount: boolean;
@@ -282,8 +284,6 @@ declare const _default: import("vue").DefineComponent<{
282
284
  loader_text: string[];
283
285
  empty_content_msg: string;
284
286
  fuzzySearch: boolean;
285
- fuzzyThreshold: number;
286
- search: boolean;
287
287
  filter_placeholder: string;
288
288
  default_select: String[];
289
289
  nested: boolean;
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
67
67
  onChangeElement?: ((...args: any[]) => any) | undefined;
68
68
  "onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
69
69
  }, {
70
+ dir: string;
70
71
  defaultSelect: string | number;
71
72
  returnValue: boolean;
72
- dir: string;
73
73
  }, {}>;
74
74
  export default _default;
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
59
59
  onChangeElement?: ((...args: any[]) => any) | undefined;
60
60
  "onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
61
61
  }, {
62
- defaultSelect: number;
63
62
  dir: string;
63
+ defaultSelect: number;
64
64
  }, {}>;
65
65
  export default _default;
@@ -20,6 +20,7 @@
20
20
  @keydown.enter="submitSearch"
21
21
  @keydown.down="selectOption(true)"
22
22
  @keydown.up="selectOption(false)"
23
+ :autocomplete="false"
23
24
  />
24
25
  </div>
25
26
  <div
@@ -107,9 +107,9 @@ declare const _default: import("vue").DefineComponent<{
107
107
  }, {
108
108
  lang: string;
109
109
  placeHolderValue: string;
110
- fuzzyThreshold: number;
111
- defaultValue: string;
112
110
  suggestions: Suggestion[];
111
+ fuzzyThreshold: number;
113
112
  loadingSuggs: boolean;
113
+ defaultValue: string;
114
114
  }, {}>;
115
115
  export default _default;
@@ -52,7 +52,7 @@ const drawSquircle=(ctx,geom,radii,smooth,lineWidth,color)=>{const defaultFill=c
52
52
  </script>
53
53
 
54
54
  <style>
55
- .oip_select_dropdown_block{background:var(--demi-fond);border:1.5px solid var(--light);border-radius:12px;box-shadow:var(--overlay-shadow);display:flex;flex-direction:column;margin-top:15px;max-height:500px;min-width:200px;padding:16px;position:absolute;z-index:12}.oip_select_block{align-items:center;background:var(--white);border:1.5px solid var(--light);border-radius:8px;cursor:pointer;display:flex;gap:4px;-webkit-mask-image:paint(squircle);mask-image:paint(squircle);padding:12px;position:relative;width:202px;--squircle-radius:8px;--squircle-smooth:1}.filter_box:hover,.filter_wrap:hover>.filter_box:not(.open),.oip_select_block:hover,.oip_select_dropdown_block:hover,.prmt_parent_switch:hover{border:1.5px solid var(--primary-primary-20,#d3e4ff)!important}.filter_box.open,.oip_select_dropdown_block.open,.oip_select_wrap.open>.oip_select_block,.prmt_parent_switch.open{border:1.5px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filter_wrap.open,.oip_select_wrap.open,.switch_wrapper.open{filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.oip_select_block.open>svg{color:var(--primary)!important}.oip_select_block.disabled{background:var(--light)!important;cursor:not-allowed}.oip_select_label .prmt_tooltip{display:flex}.oip_select_label .prmt_tooltip span,.oip_select_label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:98%}.oip_select_label{color:var(--darkest);font-size:14px;font-weight:700;line-height:16px;max-height:16px;width:90%}.oip_select_block svg{flex-shrink:0!important}.oip_select_label.disabled{color:var(--dark)}.oip_select_caret_down{float:right;margin-left:auto}.oip_select_complex_selection_loop_name{width:-moz-fit-content;width:fit-content}.oip_select_complex_selection_loop.del>svg{color:var(--system-alert)!important;flex-shrink:0}.oip_select_complex_selection_loop.add>svg{color:var(--primary)!important;flex-shrink:0}.oip_select_complex_selection_loop{flex-grow:1;margin:8px 0}.oip_select_complex_selection_container{margin:8px 0;max-height:350px;overflow-y:auto}.oip_select_complex_selection_loop_name{font-size:14px;font-weight:400;line-height:16px}.oip_select_complex_selection_loop{cursor:pointer;display:flex;gap:8px;margin:4px 0}.oip_search_container>svg{color:var(--medium)!important}.oip_search_name:focus-visible{outline:none}.oip_search_name::-moz-placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name::placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name{border:none;padding-left:8px;width:100%}.oip_search_container{background:var(--white);border:1px solid var(--light);border-radius:10px;display:flex;gap:0;padding:8px 12px}.oip_select_dropdown_title{color:var(--darkest);font-size:14px;font-weight:500;margin-bottom:8px}.oip_select_dropdown_selection_container{display:flex;flex:1 1 auto;flex-direction:column;gap:0;margin-top:16px;min-height:10px;overflow-y:auto}.oip_select_dropdown_selection_container:only-child{margin-top:0}.oip_empty_dropdown{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:16px;padding-top:16px;text-align:center}.oip_select_complex_selection_loop>svg.add{fill:var(--accent)!important;color:var(--white)!important}.arg-circle-amount{align-items:center;background:#e9f1ff;border-radius:50%;color:var(--primary);display:flex;flex-direction:column;flex-shrink:0;font-size:14px;font-style:normal;font-weight:600;gap:10px;height:20px;justify-content:center;padding:4px;position:absolute;right:34px;width:20px}.oip_empty_select{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oip_select_display{align-items:flex-start;display:flex;flex-direction:column;gap:4px}
55
+ .oip_select_dropdown_block{background:var(--demi-fond);border:1.5px solid var(--light);border-radius:12px;box-shadow:var(--overlay-shadow);display:flex;flex-direction:column;margin-top:15px;max-height:500px;min-width:200px;padding:16px;position:absolute;z-index:12}.oip_select_block{align-items:center;background:var(--white);border:1.5px solid var(--light);border-radius:8px;cursor:pointer;display:flex;gap:4px;-webkit-mask-image:paint(squircle);mask-image:paint(squircle);padding:12px;position:relative;width:196px;--squircle-radius:8px;--squircle-smooth:1}.filter_box:hover,.filter_wrap:hover>.filter_box:not(.open),.oip_select_block:hover,.oip_select_dropdown_block:hover,.prmt_parent_switch:hover{border:1.5px solid var(--primary-primary-20,#d3e4ff)!important}.filter_box.open,.oip_select_dropdown_block.open,.oip_select_wrap.open>.oip_select_block,.prmt_parent_switch.open{border:1.5px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filter_wrap.open,.oip_select_wrap.open,.switch_wrapper.open{filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.oip_select_block.open>svg{color:var(--primary)!important}.oip_select_block.disabled{background:var(--light)!important;cursor:not-allowed}.oip_select_label .prmt_tooltip{display:flex}.oip_select_label .prmt_tooltip span,.oip_select_label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:98%}.oip_select_label{color:var(--darkest);font-size:14px;font-weight:700;line-height:16px;max-height:16px;width:90%}.oip_select_block svg{flex-shrink:0!important}.oip_select_label.disabled{color:var(--dark)}.oip_select_caret_down{float:right;margin-left:auto}.oip_select_complex_selection_loop_name{width:-moz-fit-content;width:fit-content}.oip_select_complex_selection_loop.del>svg{color:var(--system-alert)!important;flex-shrink:0}.oip_select_complex_selection_loop.add>svg{color:var(--primary)!important;flex-shrink:0}.oip_select_complex_selection_loop{flex-grow:1;margin:8px 0}.oip_select_complex_selection_container{margin:8px 0;max-height:350px;overflow-y:auto}.oip_select_complex_selection_loop_name{font-size:14px;font-weight:400;line-height:16px}.oip_select_complex_selection_loop{cursor:pointer;display:flex;gap:8px;margin:4px 0}.oip_search_container>svg{color:var(--medium)!important}.oip_search_name:focus-visible{outline:none}.oip_search_name::-moz-placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name::placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name{border:none;padding-left:8px;width:100%}.oip_search_container{background:var(--white);border:1px solid var(--light);border-radius:10px;display:flex;gap:0;padding:8px 12px}.oip_select_dropdown_title{color:var(--darkest);font-size:14px;font-weight:500;margin-bottom:8px}.oip_select_dropdown_selection_container{display:flex;flex:1 1 auto;flex-direction:column;gap:0;margin-top:16px;min-height:10px;overflow-y:auto}.oip_select_dropdown_selection_container:only-child{margin-top:0}.oip_empty_dropdown{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:16px;padding-top:16px;text-align:center}.oip_select_complex_selection_loop>svg.add{fill:var(--accent)!important;color:var(--white)!important}.arg-circle-amount{align-items:center;background:#e9f1ff;border-radius:50%;color:var(--primary);display:flex;flex-direction:column;flex-shrink:0;font-size:14px;font-style:normal;font-weight:600;gap:10px;height:20px;justify-content:center;padding:4px;position:absolute;right:34px;width:20px}.oip_empty_select{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oip_select_display{align-items:flex-start;display:flex;flex-direction:column;gap:4px}
56
56
  </style>
57
57
  <style scoped>
58
58
  .oip_select_complex_selection_loop > svg.add {
@@ -108,6 +108,7 @@ declare const _default: import("vue").DefineComponent<{
108
108
  default: null;
109
109
  };
110
110
  }>>, {
111
+ small: boolean;
111
112
  options: Record<string, any>;
112
113
  width: string;
113
114
  height: string;
@@ -115,7 +116,6 @@ declare const _default: import("vue").DefineComponent<{
115
116
  french: boolean;
116
117
  tooltipOptions: Record<string, any>;
117
118
  formatDate: boolean;
118
- small: boolean;
119
119
  dataType: string;
120
120
  currency: string;
121
121
  }, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.187",
3
+ "version": "0.1.188",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",