@empathyco/x-components 6.0.0-alpha.205 → 6.0.0-alpha.207

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 (34) hide show
  1. package/CHANGELOG.md +336 -872
  2. package/docs/API-reference/api/x-components.basecolumnpickerdropdown.md +7 -7
  3. package/docs/API-reference/api/x-components.sortdropdown.md +8 -8
  4. package/docs/API-reference/api/x-components.sortlist.md +9 -9
  5. package/docs/API-reference/api/x-components.sortpickerlist.md +9 -9
  6. package/docs/API-reference/components/search/x-components.sort-list.md +4 -4
  7. package/docs/API-reference/components/search/x-components.sort-picker-list.md +5 -5
  8. package/js/components/animations/animate-scale/animate-scale.style.css.js +1 -1
  9. package/js/components/base-rating.vue3.js +1 -1
  10. package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
  11. package/js/components/column-picker/base-column-picker-dropdown.vue2.js.map +1 -1
  12. package/js/components/sliding-panel.vue3.js +1 -1
  13. package/js/x-modules/facets/components/lists/filters-search.vue3.js +1 -1
  14. package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
  15. package/js/x-modules/search/components/sort-dropdown.vue2.js.map +1 -1
  16. package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
  17. package/js/x-modules/search/components/sort-list.vue2.js.map +1 -1
  18. package/js/x-modules/search/components/sort-picker-list.vue.js.map +1 -1
  19. package/js/x-modules/search/components/sort-picker-list.vue2.js.map +1 -1
  20. package/package.json +10 -23
  21. package/report/x-components.api.json +128 -112
  22. package/report/x-components.api.md +88 -89
  23. package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts +8 -9
  24. package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +1 -1
  25. package/types/views/adapter.d.ts +0 -3
  26. package/types/views/adapter.d.ts.map +1 -1
  27. package/types/x-modules/search/components/sort-dropdown.vue.d.ts +9 -10
  28. package/types/x-modules/search/components/sort-dropdown.vue.d.ts.map +1 -1
  29. package/types/x-modules/search/components/sort-list.vue.d.ts +10 -11
  30. package/types/x-modules/search/components/sort-list.vue.d.ts.map +1 -1
  31. package/types/x-modules/search/components/sort-picker-list.vue.d.ts +10 -11
  32. package/types/x-modules/search/components/sort-picker-list.vue.d.ts.map +1 -1
  33. package/types/adapter/e2e-adapter.d.ts +0 -21
  34. package/types/adapter/e2e-adapter.d.ts.map +0 -1
@@ -117,7 +117,6 @@ import { default as UserFilledIcon } from './user-filled.vue';
117
117
  import { default as UserIcon } from './user.vue';
118
118
  import { VNode } from 'vue';
119
119
  import { VNodeProps } from 'vue';
120
- import type Vue from 'vue';
121
120
  import type { WatchOptions } from 'vue';
122
121
  import type { WatchStopHandle } from 'vue';
123
122
  import { WritableComputedRef } from 'vue';
@@ -606,29 +605,29 @@ BaseEventButton: DefineComponent< {}, {}, any>;
606
605
  }, {}, string, ComponentProvideOptions, true, {}, any>;
607
606
 
608
607
  // @public
609
- export const BaseColumnPickerDropdown: Vue.DefineComponent<Vue.ExtractPropTypes<{
610
- columns: {
611
- type: PropType<number[]>;
612
- required: true;
613
- };
614
- modelValue: NumberConstructor;
615
- animation: PropType<string | typeof Vue>;
608
+ export const BaseColumnPickerDropdown: DefineComponent<ExtractPropTypes< {
609
+ columns: {
610
+ type: PropType<number[]>;
611
+ required: true;
612
+ };
613
+ modelValue: NumberConstructor;
614
+ animation: PropType<string | Component>;
616
615
  }>, {
617
- emitEvents: (column: number) => void;
618
- hasToggleSlot: boolean;
619
- selectedColumns: Vue.Ref<number, number>;
620
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
621
- columns: {
622
- type: PropType<number[]>;
623
- required: true;
624
- };
625
- modelValue: NumberConstructor;
626
- animation: PropType<string | typeof Vue>;
616
+ emitEvents: (column: number) => void;
617
+ hasToggleSlot: boolean;
618
+ selectedColumns: Ref<number, number>;
619
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
620
+ columns: {
621
+ type: PropType<number[]>;
622
+ required: true;
623
+ };
624
+ modelValue: NumberConstructor;
625
+ animation: PropType<string | Component>;
627
626
  }>> & Readonly<{
628
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
627
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
629
628
  }>, {}, {}, {
630
- BaseDropdown: Vue.DefineComponent<{}, {}, any>;
631
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
629
+ BaseDropdown: DefineComponent< {}, {}, any>;
630
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
632
631
 
633
632
  // @public
634
633
  export const BaseColumnPickerList: DefineComponent<ExtractPropTypes< {
@@ -8155,27 +8154,27 @@ ExtraParams: DefineComponent< {}, {}, any>;
8155
8154
  export { SortAZIcon }
8156
8155
 
8157
8156
  // @public
8158
- export const SortDropdown: Vue.DefineComponent<Vue.ExtractPropTypes<{
8159
- items: {
8160
- type: PropType<Sort[]>;
8161
- required: true;
8162
- };
8163
- animation: PropType<string | typeof Vue>;
8157
+ export const SortDropdown: DefineComponent<ExtractPropTypes< {
8158
+ items: {
8159
+ type: PropType<Sort[]>;
8160
+ required: true;
8161
+ };
8162
+ animation: PropType<string | Component>;
8164
8163
  }>, {
8165
- emitUserClickedASort: (sort: Sort) => void;
8166
- rootRef: Vue.Ref<Vue.DefineComponent<{}, {}, any> | undefined, Vue.DefineComponent<{}, {}, any> | undefined>;
8167
- selectedSort: Vue.ComputedRef<string>;
8168
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "change"[], "change", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
8169
- items: {
8170
- type: PropType<Sort[]>;
8171
- required: true;
8172
- };
8173
- animation: PropType<string | typeof Vue>;
8164
+ emitUserClickedASort: (sort: Sort) => void;
8165
+ rootRef: Ref<DefineComponent< {}, {}, any> | undefined, DefineComponent< {}, {}, any> | undefined>;
8166
+ selectedSort: ComputedRef<string>;
8167
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", PublicProps, Readonly<ExtractPropTypes< {
8168
+ items: {
8169
+ type: PropType<Sort[]>;
8170
+ required: true;
8171
+ };
8172
+ animation: PropType<string | Component>;
8174
8173
  }>> & Readonly<{
8175
- onChange?: ((...args: any[]) => any) | undefined;
8174
+ onChange?: ((...args: any[]) => any) | undefined;
8176
8175
  }>, {}, {}, {
8177
- BaseDropdown: Vue.DefineComponent<{}, {}, any>;
8178
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
8176
+ BaseDropdown: DefineComponent< {}, {}, any>;
8177
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
8179
8178
 
8180
8179
  // @public
8181
8180
  export const SortedFilters: DefineComponent<ExtractPropTypes< {
@@ -8195,62 +8194,62 @@ required: false;
8195
8194
  }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8196
8195
 
8197
8196
  // @public
8198
- export const SortList: Vue.DefineComponent<Vue.ExtractPropTypes<{
8199
- items: {
8200
- type: PropType<Sort[]>;
8201
- required: true;
8202
- };
8203
- animation: {
8204
- type: PropType<string | typeof Vue>;
8205
- default: () => string;
8206
- };
8197
+ export const SortList: DefineComponent<ExtractPropTypes< {
8198
+ items: {
8199
+ type: PropType<Sort[]>;
8200
+ required: true;
8201
+ };
8202
+ animation: {
8203
+ type: PropType<string | Component>;
8204
+ default: () => string;
8205
+ };
8207
8206
  }>, {
8208
- listItems: Vue.ComputedRef<SortListItem[]>;
8209
- selectedSort: Vue.ComputedRef<string>;
8210
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
8211
- items: {
8212
- type: PropType<Sort[]>;
8213
- required: true;
8214
- };
8215
- animation: {
8216
- type: PropType<string | typeof Vue>;
8217
- default: () => string;
8218
- };
8207
+ listItems: ComputedRef<SortListItem[]>;
8208
+ selectedSort: ComputedRef<string>;
8209
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
8210
+ items: {
8211
+ type: PropType<Sort[]>;
8212
+ required: true;
8213
+ };
8214
+ animation: {
8215
+ type: PropType<string | Component>;
8216
+ default: () => string;
8217
+ };
8219
8218
  }>> & Readonly<{}>, {
8220
- animation: string | typeof Vue;
8219
+ animation: string | Component;
8221
8220
  }, {}, {
8222
- BaseEventButton: Vue.DefineComponent<{}, {}, any>;
8223
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
8221
+ BaseEventButton: DefineComponent< {}, {}, any>;
8222
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
8224
8223
 
8225
8224
  // @public
8226
- export const SortPickerList: Vue.DefineComponent<Vue.ExtractPropTypes<{
8227
- items: {
8228
- type: PropType<Sort[]>;
8229
- required: true;
8230
- };
8231
- animation: {
8232
- type: PropType<string | typeof Vue>;
8233
- default: () => string;
8234
- };
8235
- buttonClass: StringConstructor;
8225
+ export const SortPickerList: DefineComponent<ExtractPropTypes< {
8226
+ items: {
8227
+ type: PropType<Sort[]>;
8228
+ required: true;
8229
+ };
8230
+ animation: {
8231
+ type: PropType<string | Component>;
8232
+ default: () => string;
8233
+ };
8234
+ buttonClass: StringConstructor;
8236
8235
  }>, {
8237
- listItems: Vue.ComputedRef<SortPickerItem[]>;
8238
- selectedSort: Vue.ComputedRef<string>;
8239
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
8240
- items: {
8241
- type: PropType<Sort[]>;
8242
- required: true;
8243
- };
8244
- animation: {
8245
- type: PropType<string | typeof Vue>;
8246
- default: () => string;
8247
- };
8248
- buttonClass: StringConstructor;
8236
+ listItems: ComputedRef<SortPickerItem[]>;
8237
+ selectedSort: ComputedRef<string>;
8238
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
8239
+ items: {
8240
+ type: PropType<Sort[]>;
8241
+ required: true;
8242
+ };
8243
+ animation: {
8244
+ type: PropType<string | Component>;
8245
+ default: () => string;
8246
+ };
8247
+ buttonClass: StringConstructor;
8249
8248
  }>> & Readonly<{}>, {
8250
- animation: string | typeof Vue;
8249
+ animation: string | Component;
8251
8250
  }, {}, {
8252
- BaseEventButton: Vue.DefineComponent<{}, {}, any>;
8253
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
8251
+ BaseEventButton: DefineComponent< {}, {}, any>;
8252
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
8254
8253
 
8255
8254
  export { SortPriceDownIcon }
8256
8255
 
@@ -9539,8 +9538,8 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9539
9538
  // dist/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts:62:9 - (ae-forgotten-export) The symbol "RelatedPromptNextQuery" needs to be exported by the entry point index.d.ts
9540
9539
  // dist/types/x-modules/search/components/banner.vue.d.ts:23:9 - (ae-forgotten-export) The symbol "Banner_2" needs to be exported by the entry point index.d.ts
9541
9540
  // dist/types/x-modules/search/components/partial-results-list.vue.d.ts:27:5 - (ae-forgotten-export) The symbol "PartialResult" needs to be exported by the entry point index.d.ts
9542
- // dist/types/x-modules/search/components/sort-list.vue.d.ts:30:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
9543
- // dist/types/x-modules/search/components/sort-picker-list.vue.d.ts:23:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
9541
+ // dist/types/x-modules/search/components/sort-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
9542
+ // dist/types/x-modules/search/components/sort-picker-list.vue.d.ts:22:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
9544
9543
  // src/x-modules/ai/store/emitters.ts:9:24 - (ae-forgotten-export) The symbol "AiSuggestionsSearchRequest" needs to be exported by the entry point index.d.ts
9545
9544
  // src/x-modules/ai/store/emitters.ts:9:24 - (ae-forgotten-export) The symbol "AiSuggestionSearch" needs to be exported by the entry point index.d.ts
9546
9545
  // src/x-modules/search/store/module.ts:148:32 - (ae-forgotten-export) The symbol "Stats" needs to be exported by the entry point index.d.ts
@@ -1,5 +1,4 @@
1
- import type { PropType } from 'vue';
2
- import type Vue from 'vue';
1
+ import type { Component, PropType } from 'vue';
3
2
  /**
4
3
  * Column picker dropdown component renders {@link BaseDropdown} component which
5
4
  * options are the different columns you can set for a grid.
@@ -9,7 +8,7 @@ import type Vue from 'vue';
9
8
  *
10
9
  * @public
11
10
  */
12
- declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
11
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
12
  /** An array of numbers that represents the number of columns to render. */
14
13
  columns: {
15
14
  type: PropType<number[]>;
@@ -18,12 +17,12 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
18
17
  /** The value of the selected columns number. */
19
18
  modelValue: NumberConstructor;
20
19
  /** The transition to use for opening and closing the dropdown. */
21
- animation: PropType<string | typeof Vue>;
20
+ animation: PropType<string | Component>;
22
21
  }>, {
23
22
  emitEvents: (column: number) => void;
24
23
  hasToggleSlot: boolean;
25
- selectedColumns: Vue.Ref<number, number>;
26
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
24
+ selectedColumns: import("vue").Ref<number, number>;
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
26
  /** An array of numbers that represents the number of columns to render. */
28
27
  columns: {
29
28
  type: PropType<number[]>;
@@ -32,11 +31,11 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
32
31
  /** The value of the selected columns number. */
33
32
  modelValue: NumberConstructor;
34
33
  /** The transition to use for opening and closing the dropdown. */
35
- animation: PropType<string | typeof Vue>;
34
+ animation: PropType<string | Component>;
36
35
  }>> & Readonly<{
37
36
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
37
  }>, {}, {}, {
39
- BaseDropdown: Vue.DefineComponent<{}, {}, any>;
40
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
38
+ BaseDropdown: import("vue").DefineComponent<{}, {}, any>;
39
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
40
  export default _default;
42
41
  //# sourceMappingURL=base-column-picker-dropdown.vue?vue&type=script&lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-column-picker-dropdown.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/column-picker/base-column-picker-dropdown.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,GAAG,MAAM,KAAK,CAAA;AAK1B;;;;;;;;GAQG;;IAKC,2EAA2E;;cAE1D,QAAQ,CAAC,MAAM,EAAE,CAAC;;;IAGnC,gDAAgD;;IAEhD,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;yBAuDhC,MAAM;;;;IA/DlC,2EAA2E;;cAE1D,QAAQ,CAAC,MAAM,EAAE,CAAC;;;IAGnC,gDAAgD;;IAEhD,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;;;;;AAZhE,wBA8EE"}
1
+ {"version":3,"file":"base-column-picker-dropdown.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/column-picker/base-column-picker-dropdown.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAK9C;;;;;;;;GAQG;;IAKC,2EAA2E;;cAE1D,QAAQ,CAAC,MAAM,EAAE,CAAC;;;IAGnC,gDAAgD;;IAEhD,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;yBAuD/B,MAAM;;;;IA/DlC,2EAA2E;;cAE1D,QAAQ,CAAC,MAAM,EAAE,CAAC;;;IAGnC,gDAAgD;;IAEhD,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;AAZ/D,wBA8EE"}
@@ -1,6 +1,3 @@
1
1
  import type { PlatformAdapter } from '@empathyco/x-adapter-platform';
2
- export declare const adapterConfig: {
3
- e2e: boolean;
4
- };
5
2
  export declare const adapter: PlatformAdapter;
6
3
  //# sourceMappingURL=adapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/views/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAIpE,eAAO,MAAM,aAAa;;CAEzB,CAAA;AAED,eAAO,MAAM,OAAO,iBAGlB,CAAA"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/views/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,eAAO,MAAM,OAAO,iBAElB,CAAA"}
@@ -1,34 +1,33 @@
1
1
  import type { Sort } from '@empathyco/x-types';
2
- import type { PropType } from 'vue';
3
- import type Vue from 'vue';
2
+ import type { Component, PropType } from 'vue';
4
3
  /**
5
4
  * The `SortDropdown` component allows user to select the search results order. This component
6
5
  * also allows to change the selected sort programmatically.
7
6
  */
8
- declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
7
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
8
  /** The list of possible sort values. */
10
9
  items: {
11
10
  type: PropType<Sort[]>;
12
11
  required: true;
13
12
  };
14
13
  /** The transition to use for opening and closing the dropdown. */
15
- animation: PropType<string | typeof Vue>;
14
+ animation: PropType<string | Component>;
16
15
  }>, {
17
16
  emitUserClickedASort: (sort: Sort) => void;
18
- rootRef: Vue.Ref<Vue.DefineComponent<{}, {}, any> | undefined, Vue.DefineComponent<{}, {}, any> | undefined>;
19
- selectedSort: Vue.ComputedRef<string>;
20
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "change"[], "change", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
17
+ rootRef: import("vue").Ref<import("vue").DefineComponent<{}, {}, any> | undefined, import("vue").DefineComponent<{}, {}, any> | undefined>;
18
+ selectedSort: import("vue").ComputedRef<string>;
19
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
20
  /** The list of possible sort values. */
22
21
  items: {
23
22
  type: PropType<Sort[]>;
24
23
  required: true;
25
24
  };
26
25
  /** The transition to use for opening and closing the dropdown. */
27
- animation: PropType<string | typeof Vue>;
26
+ animation: PropType<string | Component>;
28
27
  }>> & Readonly<{
29
28
  onChange?: ((...args: any[]) => any) | undefined;
30
29
  }>, {}, {}, {
31
- BaseDropdown: Vue.DefineComponent<{}, {}, any>;
32
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
30
+ BaseDropdown: import("vue").DefineComponent<{}, {}, any>;
31
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
32
  export default _default;
34
33
  //# sourceMappingURL=sort-dropdown.vue?vue&type=script&lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sort-dropdown.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/sort-dropdown.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,GAAG,MAAM,KAAK,CAAA;AAQ1B;;;GAGG;;IAMC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;iCAqBxB,IAAI;;;;IA3BxC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;;;;;AAXhE,wBA2CE"}
1
+ {"version":3,"file":"sort-dropdown.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/sort-dropdown.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAQ9C;;;GAGG;;IAMC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;iCAqBvB,IAAI;;;;IA3BxC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;AAX/D,wBA2CE"}
@@ -1,6 +1,5 @@
1
1
  import type { Sort } from '@empathyco/x-types';
2
- import type { PropType } from 'vue';
3
- import type Vue from 'vue';
2
+ import type { Component, PropType } from 'vue';
4
3
  import type { VueCSSClasses } from '../../../utils/types';
5
4
  import type { XEventsTypes } from '../../../wiring/events.types';
6
5
  /**
@@ -15,7 +14,7 @@ interface SortListItem {
15
14
  * The `SortList` component allows user to select the search results order. This component
16
15
  * also allows to change the selected sort programmatically.
17
16
  */
18
- declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
17
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
18
  /** The list of possible sort values. */
20
19
  items: {
21
20
  type: PropType<Sort[]>;
@@ -23,13 +22,13 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
23
22
  };
24
23
  /** The transition to use for rendering the list. */
25
24
  animation: {
26
- type: PropType<string | typeof Vue>;
25
+ type: PropType<string | Component>;
27
26
  default: () => string;
28
27
  };
29
28
  }>, {
30
- listItems: Vue.ComputedRef<SortListItem[]>;
31
- selectedSort: Vue.ComputedRef<string>;
32
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
29
+ listItems: import("vue").ComputedRef<SortListItem[]>;
30
+ selectedSort: import("vue").ComputedRef<string>;
31
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
32
  /** The list of possible sort values. */
34
33
  items: {
35
34
  type: PropType<Sort[]>;
@@ -37,13 +36,13 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
37
36
  };
38
37
  /** The transition to use for rendering the list. */
39
38
  animation: {
40
- type: PropType<string | typeof Vue>;
39
+ type: PropType<string | Component>;
41
40
  default: () => string;
42
41
  };
43
42
  }>> & Readonly<{}>, {
44
- animation: string | typeof Vue;
43
+ animation: string | Component;
45
44
  }, {}, {
46
- BaseEventButton: Vue.DefineComponent<{}, {}, any>;
47
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
45
+ BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
46
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
47
  export default _default;
49
48
  //# sourceMappingURL=sort-list.vue?vue&type=script&lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sort-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/sort-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,GAAG,MAAM,KAAK,CAAA;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAOhE;;GAEG;AACH,UAAU,YAAY;IACpB,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,aAAa,CAAA;IACzB,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B;AAED;;;GAGG;;IAMC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;;;;;;IAPzD,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;;;;;;;AAZ7D,wBA8CE"}
1
+ {"version":3,"file":"sort-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/sort-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAOhE;;GAEG;AACH,UAAU,YAAY;IACpB,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,aAAa,CAAA;IACzB,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B;AAED;;;GAGG;;IAMC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;;IAPxD,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;;;AAZ5D,wBA8CE"}
@@ -1,12 +1,11 @@
1
1
  import type { Sort } from '@empathyco/x-types';
2
- import type { PropType } from 'vue';
3
- import type Vue from 'vue';
2
+ import type { Component, PropType } from 'vue';
4
3
  import type { SortPickerItem } from './sort-picker-list.types';
5
4
  /**
6
5
  * The `SortPickerList` component allows user to select the search results order. This component
7
6
  * also allows to change the selected sort programmatically.
8
7
  */
9
- declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
9
  /** The list of possible sort values. */
11
10
  items: {
12
11
  type: PropType<Sort[]>;
@@ -14,15 +13,15 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
14
13
  };
15
14
  /** The transition to use for rendering the list. */
16
15
  animation: {
17
- type: PropType<string | typeof Vue>;
16
+ type: PropType<string | Component>;
18
17
  default: () => string;
19
18
  };
20
19
  /** Class inherited by each sort button. */
21
20
  buttonClass: StringConstructor;
22
21
  }>, {
23
- listItems: Vue.ComputedRef<SortPickerItem[]>;
24
- selectedSort: Vue.ComputedRef<string>;
25
- }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
22
+ listItems: import("vue").ComputedRef<SortPickerItem[]>;
23
+ selectedSort: import("vue").ComputedRef<string>;
24
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
25
  /** The list of possible sort values. */
27
26
  items: {
28
27
  type: PropType<Sort[]>;
@@ -30,15 +29,15 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
30
29
  };
31
30
  /** The transition to use for rendering the list. */
32
31
  animation: {
33
- type: PropType<string | typeof Vue>;
32
+ type: PropType<string | Component>;
34
33
  default: () => string;
35
34
  };
36
35
  /** Class inherited by each sort button. */
37
36
  buttonClass: StringConstructor;
38
37
  }>> & Readonly<{}>, {
39
- animation: string | typeof Vue;
38
+ animation: string | Component;
40
39
  }, {}, {
41
- BaseEventButton: Vue.DefineComponent<{}, {}, any>;
42
- }, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
40
+ BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
41
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
42
  export default _default;
44
43
  //# sourceMappingURL=sort-picker-list.vue?vue&type=script&lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sort-picker-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/sort-picker-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,GAAG,MAAM,KAAK,CAAA;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO9D;;;GAGG;;IAMC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;;IAGzD,2CAA2C;;;;;;IAV3C,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,CAAC;;;IAGzD,2CAA2C;;;;;;;AAf/C,wBA+CE"}
1
+ {"version":3,"file":"sort-picker-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/sort-picker-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO9D;;;GAGG;;IAMC,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;IAGxD,2CAA2C;;;;;;IAV3C,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;IAGjC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;IAGxD,2CAA2C;;;;;;;AAf/C,wBA+CE"}
@@ -1,21 +0,0 @@
1
- import type { EndpointAdapter, HttpClient } from '@empathyco/x-adapter';
2
- import type { XComponentsAdapter } from '@empathyco/x-types';
3
- /**
4
- * Mock fetch httpClient.
5
- *
6
- * @param endpoint - The endpoint to use.
7
- * @param options - Additional options to make the request with.
8
- * @param options.parameters - Option parameters.
9
- * @param options.properties - Option properties.
10
- * @returns A promise wrapped object containing the response.
11
- */
12
- export declare const mockedFetchHttpClient: HttpClient;
13
- /**
14
- * Mock EndpointAdapter.
15
- *
16
- * @param path - The path of the endpoint to mock.
17
- * @returns The mocked endpoint adapter.
18
- */
19
- export declare function mockEndpointAdapter<Request, Response>(path: string): EndpointAdapter<Request, Response>;
20
- export declare const e2eAdapter: XComponentsAdapter;
21
- //# sourceMappingURL=e2e-adapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"e2e-adapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/e2e-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAI5D;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAWnC,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,QAAQ,EACnD,IAAI,EAAE,MAAM,GACX,eAAe,CAAC,OAAO,EAAE,QAAQ,CAAC,CAUpC;AAED,eAAO,MAAM,UAAU,EAAE,kBA2BxB,CAAA"}