@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.
- package/CHANGELOG.md +336 -872
- package/docs/API-reference/api/x-components.basecolumnpickerdropdown.md +7 -7
- package/docs/API-reference/api/x-components.sortdropdown.md +8 -8
- package/docs/API-reference/api/x-components.sortlist.md +9 -9
- package/docs/API-reference/api/x-components.sortpickerlist.md +9 -9
- package/docs/API-reference/components/search/x-components.sort-list.md +4 -4
- package/docs/API-reference/components/search/x-components.sort-picker-list.md +5 -5
- package/js/components/animations/animate-scale/animate-scale.style.css.js +1 -1
- package/js/components/base-rating.vue3.js +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue2.js.map +1 -1
- package/js/components/sliding-panel.vue3.js +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue3.js +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-dropdown.vue2.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue2.js.map +1 -1
- package/js/x-modules/search/components/sort-picker-list.vue.js.map +1 -1
- package/js/x-modules/search/components/sort-picker-list.vue2.js.map +1 -1
- package/package.json +10 -23
- package/report/x-components.api.json +128 -112
- package/report/x-components.api.md +88 -89
- package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts +8 -9
- package/types/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +1 -1
- package/types/views/adapter.d.ts +0 -3
- package/types/views/adapter.d.ts.map +1 -1
- package/types/x-modules/search/components/sort-dropdown.vue.d.ts +9 -10
- package/types/x-modules/search/components/sort-dropdown.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/sort-list.vue.d.ts +10 -11
- package/types/x-modules/search/components/sort-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/sort-picker-list.vue.d.ts +10 -11
- package/types/x-modules/search/components/sort-picker-list.vue.d.ts.map +1 -1
- package/types/adapter/e2e-adapter.d.ts +0 -21
- 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:
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
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
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
}, {}, {}, {},
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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
|
-
|
|
627
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
629
628
|
}>, {}, {}, {
|
|
630
|
-
|
|
631
|
-
}, {}, string,
|
|
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:
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8157
|
+
export const SortDropdown: DefineComponent<ExtractPropTypes< {
|
|
8158
|
+
items: {
|
|
8159
|
+
type: PropType<Sort[]>;
|
|
8160
|
+
required: true;
|
|
8161
|
+
};
|
|
8162
|
+
animation: PropType<string | Component>;
|
|
8164
8163
|
}>, {
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
}, {}, {}, {},
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
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
|
-
|
|
8174
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
8176
8175
|
}>, {}, {}, {
|
|
8177
|
-
|
|
8178
|
-
}, {}, string,
|
|
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:
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
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
|
-
|
|
8209
|
-
|
|
8210
|
-
}, {}, {}, {},
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
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
|
-
|
|
8219
|
+
animation: string | Component;
|
|
8221
8220
|
}, {}, {
|
|
8222
|
-
|
|
8223
|
-
}, {}, string,
|
|
8221
|
+
BaseEventButton: DefineComponent< {}, {}, any>;
|
|
8222
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
8224
8223
|
|
|
8225
8224
|
// @public
|
|
8226
|
-
export const SortPickerList:
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
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
|
-
|
|
8238
|
-
|
|
8239
|
-
}, {}, {}, {},
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
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
|
-
|
|
8249
|
+
animation: string | Component;
|
|
8251
8250
|
}, {}, {
|
|
8252
|
-
|
|
8253
|
-
}, {}, string,
|
|
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:
|
|
9543
|
-
// dist/types/x-modules/search/components/sort-picker-list.vue.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:
|
|
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 |
|
|
20
|
+
animation: PropType<string | Component>;
|
|
22
21
|
}>, {
|
|
23
22
|
emitEvents: (column: number) => void;
|
|
24
23
|
hasToggleSlot: boolean;
|
|
25
|
-
selectedColumns:
|
|
26
|
-
}, {}, {}, {},
|
|
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 |
|
|
34
|
+
animation: PropType<string | Component>;
|
|
36
35
|
}>> & Readonly<{
|
|
37
36
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
37
|
}>, {}, {}, {
|
|
39
|
-
BaseDropdown:
|
|
40
|
-
}, {}, string,
|
|
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,
|
|
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"}
|
package/types/views/adapter.d.ts
CHANGED
|
@@ -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;
|
|
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:
|
|
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 |
|
|
14
|
+
animation: PropType<string | Component>;
|
|
16
15
|
}>, {
|
|
17
16
|
emitUserClickedASort: (sort: Sort) => void;
|
|
18
|
-
rootRef:
|
|
19
|
-
selectedSort:
|
|
20
|
-
}, {}, {}, {},
|
|
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 |
|
|
26
|
+
animation: PropType<string | Component>;
|
|
28
27
|
}>> & Readonly<{
|
|
29
28
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
29
|
}>, {}, {}, {
|
|
31
|
-
BaseDropdown:
|
|
32
|
-
}, {}, string,
|
|
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,
|
|
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:
|
|
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 |
|
|
25
|
+
type: PropType<string | Component>;
|
|
27
26
|
default: () => string;
|
|
28
27
|
};
|
|
29
28
|
}>, {
|
|
30
|
-
listItems:
|
|
31
|
-
selectedSort:
|
|
32
|
-
}, {}, {}, {},
|
|
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 |
|
|
39
|
+
type: PropType<string | Component>;
|
|
41
40
|
default: () => string;
|
|
42
41
|
};
|
|
43
42
|
}>> & Readonly<{}>, {
|
|
44
|
-
animation: string |
|
|
43
|
+
animation: string | Component;
|
|
45
44
|
}, {}, {
|
|
46
|
-
BaseEventButton:
|
|
47
|
-
}, {}, string,
|
|
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,
|
|
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:
|
|
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 |
|
|
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:
|
|
24
|
-
selectedSort:
|
|
25
|
-
}, {}, {}, {},
|
|
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 |
|
|
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 |
|
|
38
|
+
animation: string | Component;
|
|
40
39
|
}, {}, {
|
|
41
|
-
BaseEventButton:
|
|
42
|
-
}, {}, string,
|
|
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,
|
|
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"}
|