@empathyco/x-components 3.0.0-alpha.40 → 3.0.0-alpha.44
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 +81 -0
- package/core/index.js +6 -1
- package/core/index.js.map +1 -1
- package/design-system/base.css +2 -1
- package/design-system/default-theme.css +98 -35
- package/design-system/full-theme.css +571 -47
- package/design-system/grid-default.css +6 -0
- package/design-system/input-group-default.css +16 -7
- package/design-system/list-default.css +0 -5
- package/design-system/list-gap.css +141 -1
- package/design-system/option-list-bottom.css +76 -10
- package/design-system/option-list-default.css +39 -2
- package/design-system/result-default.css +1 -1
- package/design-system/row-gap.css +61 -1
- package/design-system/sliding-panel-default.css +15 -17
- package/design-system/sliding-panel-default.token.css +0 -2
- package/design-system/typography-default.css +1 -0
- package/design-system/utilities-background-color.css +3 -0
- package/design-system/utilities-border-color.css +3 -0
- package/design-system/utilities-flex.css +32 -0
- package/design-system/utilities-font-color.css +3 -0
- package/design-system/utilities-font-size.css +79 -0
- package/design-system/utilities-line-clamp.css +29 -0
- package/design-system/utilities-line-height.css +17 -0
- package/design-system/utilities-position.css +14 -0
- package/design-system/utilities-text-decoration.css +15 -0
- package/design-system/utilities-text-transform.css +11 -0
- package/docs/API-reference/api/x-components.arrowdownicon.md +11 -0
- package/docs/API-reference/api/x-components.arrowlefticon.md +11 -0
- package/docs/API-reference/api/x-components.arrowrighticon.md +11 -0
- package/docs/API-reference/api/{x-components.arrowicon.md → x-components.arrowupicon.md} +2 -2
- package/docs/API-reference/api/x-components.baseresultrating.link.md +13 -0
- package/docs/API-reference/api/x-components.baseresultrating.md +22 -0
- package/docs/API-reference/api/x-components.baseresultrating.result.md +13 -0
- package/docs/API-reference/api/x-components.grid2rowsicon.md +11 -0
- package/docs/API-reference/api/x-components.md +6 -1
- package/docs/API-reference/api/x-components.nextqueries.highlightcurated.md +13 -0
- package/docs/API-reference/api/x-components.nextquery.highlightcurated.md +13 -0
- package/docs/API-reference/api/x-components.nextquery.md +1 -0
- package/docs/API-reference/api/x-components.slidingpanel.buttonclass.md +13 -0
- package/docs/API-reference/api/x-components.slidingpanel.md +1 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +1 -0
- package/docs/API-reference/api/x-components.xeventstypes.userclickedaresultrating.md +13 -0
- package/docs/API-reference/components/common/icons/x-components.arrow-down.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.arrow-left.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.arrow-right.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.arrow-up.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.grid-2-rows.md +7 -0
- package/docs/API-reference/components/common/result/x-components.base-result-rating.md +254 -0
- package/docs/API-reference/components/common/x-components.base-rating.md +6 -6
- package/docs/API-reference/components/common/x-components.sliding-panel.md +1 -0
- package/docs/API-reference/components/next-queries/x-components.next-queries.md +17 -11
- package/docs/API-reference/components/next-queries/x-components.next-query.md +16 -7
- package/js/components/base-rating.vue.js +4 -4
- package/js/components/base-rating.vue.js.map +1 -1
- package/js/components/filters/labels/base-rating-filter-label.vue.js +2 -2
- package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
- package/js/components/icons/arrow-down.vue.js +61 -0
- package/js/components/icons/arrow-down.vue.js.map +1 -0
- package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/{arrow.vue.js → arrow-left.vue.js} +2 -2
- package/js/components/icons/arrow-left.vue.js.map +1 -0
- package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/arrow-right.vue.js +61 -0
- package/js/components/icons/arrow-right.vue.js.map +1 -0
- package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/arrow-up.vue.js +61 -0
- package/js/components/icons/arrow-up.vue.js.map +1 -0
- package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/grid-2-rows.vue.js +65 -0
- package/js/components/icons/grid-2-rows.vue.js.map +1 -0
- package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/tag.vue.js +1 -1
- package/js/components/icons/tag.vue.js.map +1 -1
- package/js/components/result/base-result-rating.vue.js +99 -0
- package/js/components/result/base-result-rating.vue.js.map +1 -0
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js +42 -0
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/sliding-panel.vue.js +6 -4
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js +3 -0
- package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/index.js +6 -1
- package/js/index.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue.js +15 -4
- package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query.vue.js +6 -1
- package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js +18 -0
- package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/sort.mixin.js +6 -1
- package/js/x-modules/search/components/sort.mixin.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +6 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +278 -2
- package/report/x-components.api.md +27 -1
- package/types/adapter/util.d.ts.map +1 -1
- package/types/components/icons/arrow-down.vue.d.ts +3 -0
- package/types/components/icons/arrow-down.vue.d.ts.map +1 -0
- package/types/components/icons/arrow-left.vue.d.ts +3 -0
- package/types/components/icons/arrow-left.vue.d.ts.map +1 -0
- package/types/components/icons/arrow-right.vue.d.ts +3 -0
- package/types/components/icons/arrow-right.vue.d.ts.map +1 -0
- package/types/components/icons/arrow-up.vue.d.ts +3 -0
- package/types/components/icons/arrow-up.vue.d.ts.map +1 -0
- package/types/components/icons/grid-2-rows.vue.d.ts +3 -0
- package/types/components/icons/grid-2-rows.vue.d.ts.map +1 -0
- package/types/components/icons/index.d.ts +5 -1
- package/types/components/icons/index.d.ts.map +1 -1
- package/types/components/result/base-result-rating.vue.d.ts +29 -0
- package/types/components/result/base-result-rating.vue.d.ts.map +1 -0
- package/types/components/result/index.d.ts +1 -0
- package/types/components/result/index.d.ts.map +1 -1
- package/types/components/sliding-panel.vue.d.ts +6 -0
- package/types/components/sliding-panel.vue.d.ts.map +1 -1
- package/types/views/base-config.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +5 -0
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-queries.vue.d.ts +6 -0
- package/types/x-modules/next-queries/components/next-queries.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-query.vue.d.ts +14 -0
- package/types/x-modules/next-queries/components/next-query.vue.d.ts.map +1 -1
- package/docs/API-reference/components/common/icons/x-components.arrow.md +0 -7
- package/js/components/icons/arrow.vue.js.map +0 -1
- package/js/components/icons/arrow.vue_rollup-plugin-vue=script.js +0 -4
- package/js/components/icons/arrow.vue_rollup-plugin-vue=script.js.map +0 -1
- package/types/components/icons/arrow.vue.d.ts +0 -3
- package/types/components/icons/arrow.vue.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-list.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/search/components/sort-list.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Sort } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport { mixins } from 'vue-class-component';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { BaseEventButton } from '../../../components';\nimport { xComponentMixin } from '../../../components/x-component.mixin';\nimport { VueCSSClasses } from '../../../utils';\nimport { XEventsTypes } from '../../../wiring';\nimport { searchXModule } from '../x-module';\nimport SortMixin from './sort.mixin';\n\n/**\n * Sort list item options.\n *\n * @public\n */\ninterface SortListItem {\n item: Sort;\n cssClasses: VueCSSClasses;\n event: Partial<XEventsTypes>;\n}\n/**\n * The `SortList` component allows user to select the search results order. This component\n * also allows to change the selected sort programmatically.\n *\n * @remarks It extends {@link SortMixin}.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(searchXModule)],\n components: {\n BaseEventButton\n }\n})\nexport default class SortList extends mixins(SortMixin) {\n /**\n * The transition to use for rendering the list.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n public animation?: string | typeof Vue;\n /**\n * Sort list items.\n *\n * @returns A list of items with their css class and the event associate to it.\n *\n * @internal\n */\n protected get listItems(): SortListItem[] {\n return this.items.map(item => ({\n item,\n cssClasses: [\n {\n 'x-sort-list__item--is-selected': item === this.selectedSort,\n 'x-option-list__item--is-selected': item === this.selectedSort\n }\n ],\n event: { UserClickedASort: item }\n }));\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sort-list.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/search/components/sort-list.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Sort } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport { mixins } from 'vue-class-component';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { BaseEventButton } from '../../../components';\nimport { xComponentMixin } from '../../../components/x-component.mixin';\nimport { VueCSSClasses } from '../../../utils';\nimport { XEventsTypes } from '../../../wiring';\nimport { searchXModule } from '../x-module';\nimport SortMixin from './sort.mixin';\n\n/**\n * Sort list item options.\n *\n * @public\n */\ninterface SortListItem {\n item: Sort;\n cssClasses: VueCSSClasses;\n event: Partial<XEventsTypes>;\n}\n/**\n * The `SortList` component allows user to select the search results order. This component\n * also allows to change the selected sort programmatically.\n *\n * @remarks It extends {@link SortMixin}.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(searchXModule)],\n components: {\n BaseEventButton\n }\n})\nexport default class SortList extends mixins(SortMixin) {\n /**\n * The transition to use for rendering the list.\n *\n * @public\n */\n @Prop({ default: 'ul' })\n public animation?: string | typeof Vue;\n /**\n * Sort list items.\n *\n * @returns A list of items with their css class and the event associate to it.\n *\n * @internal\n */\n protected get listItems(): SortListItem[] {\n return this.items.map(item => ({\n item,\n cssClasses: [\n {\n 'x-sort-list__item--is-selected': item === this.selectedSort,\n 'x-option-list__item--is-selected': item === this.selectedSort\n }\n ],\n event: { UserClickedASort: item }\n }));\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA;;;;;;;;AAcA;IAAsC,4BAAiB;IAAvD;;KA2BC;IAZC,sBAAc,+BAAS;;;;;;;;aAAvB;YAAA,iBAWC;YAVC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAA,IAAI,IAAI,QAAC;gBAC7B,IAAI,MAAA;gBACJ,UAAU,EAAE;oBACV;wBACE,gCAAgC,EAAE,IAAI,KAAK,KAAI,CAAC,YAAY;wBAC5D,kCAAkC,EAAE,IAAI,KAAK,KAAI,CAAC,YAAY;qBAC/D;iBACF;gBACD,KAAK,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE;aAClC,IAAC,CAAC,CAAC;SACL;;;OAAA;IAnBD;QADC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CACe;IAPpB,QAAQ;QAN5B,SAAS,CAAC;YACT,MAAM,EAAE,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;YACxC,UAAU,EAAE;gBACV,eAAe,iBAAA;aAChB;SACF,CAAC;OACmB,QAAQ,CA2B5B;IAAD,eAAC;CA3BD,CAAsC,MAAM,CAAC,SAAS,CAAC;;;;"}
|
|
@@ -26,7 +26,10 @@ import '../../../components/filters/labels/base-price-filter-label.vue.js';
|
|
|
26
26
|
import '../../../components/icons/star.vue.js';
|
|
27
27
|
import '../../../components/base-rating.vue.js';
|
|
28
28
|
import '../../../components/filters/labels/base-rating-filter-label.vue.js';
|
|
29
|
-
import '../../../components/icons/arrow.vue.js';
|
|
29
|
+
import '../../../components/icons/arrow-down.vue.js';
|
|
30
|
+
import '../../../components/icons/arrow-left.vue.js';
|
|
31
|
+
import '../../../components/icons/arrow-right.vue.js';
|
|
32
|
+
import '../../../components/icons/arrow-up.vue.js';
|
|
30
33
|
import '../../../components/icons/bag.vue.js';
|
|
31
34
|
import '../../../components/icons/bar-code.vue.js';
|
|
32
35
|
import '../../../components/icons/barcode-tiny.vue.js';
|
|
@@ -50,6 +53,7 @@ import '../../../components/icons/cross.vue.js';
|
|
|
50
53
|
import '../../../components/icons/filters.vue.js';
|
|
51
54
|
import '../../../components/icons/grid-1-col.vue.js';
|
|
52
55
|
import '../../../components/icons/grid-2-col.vue.js';
|
|
56
|
+
import '../../../components/icons/grid-2-rows.vue.js';
|
|
53
57
|
import '../../../components/icons/hide.vue.js';
|
|
54
58
|
import '../../../components/icons/history-tiny.vue.js';
|
|
55
59
|
import '../../../components/icons/history.vue.js';
|
|
@@ -96,6 +100,7 @@ import '../../../components/result/base-result-link.vue.js';
|
|
|
96
100
|
import '../../../components/result/base-result-previous-price.vue.js';
|
|
97
101
|
import '../../../components/result/base-result-fallback-image.vue.js';
|
|
98
102
|
import '../../../components/result/base-result-placeholder-image.vue.js';
|
|
103
|
+
import '../../../components/result/base-result-rating.vue.js';
|
|
99
104
|
import '../../../components/suggestions/base-suggestion.vue.js';
|
|
100
105
|
import '../../../components/suggestions/base-suggestions.vue.js';
|
|
101
106
|
import '../../../components/auto-progress-bar.vue.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort.mixin.js","sources":["../../../../../src/x-modules/search/components/sort.mixin.ts"],"sourcesContent":["import { Sort } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport Component from 'vue-class-component';\nimport { Prop } from 'vue-property-decorator';\nimport { State, XEmit } from '../../../components';\n\n/**\n * Mixin to share Sort logic.\n *\n * @public\n */\n@Component\nexport default class SortMixin extends Vue {\n /**\n * The list of possible sort values. If there are no values selected, the first item of\n * this list will be selected.\n *\n * @public\n */\n @Prop({ required: true })\n public items!: Sort[];\n\n /**\n * The search module selected sort. This is the source of truth when checking which\n * sort is selected.\n *\n * @internal\n */\n @State('search', 'sort')\n public selectedSort!: Sort;\n\n /**\n * Emits the {@link SearchXEvents.SelectedSortProvided | SelectedSortProvided} event whenever the\n * provided {@link SortMixin.selectedSort} changes. If no value is provided, the first item of the\n * {@link SortMixin.items} will be used as fallback.\n *\n * @returns The sorting value.\n *\n * @public\n */\n @XEmit('SelectedSortProvided')\n public get providedSelectedSort(): Sort {\n return this.selectedSort;\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sort.mixin.js","sources":["../../../../../src/x-modules/search/components/sort.mixin.ts"],"sourcesContent":["import { Sort } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport Component from 'vue-class-component';\nimport { Prop } from 'vue-property-decorator';\nimport { State, XEmit } from '../../../components';\n\n/**\n * Mixin to share Sort logic.\n *\n * @public\n */\n@Component\nexport default class SortMixin extends Vue {\n /**\n * The list of possible sort values. If there are no values selected, the first item of\n * this list will be selected.\n *\n * @public\n */\n @Prop({ required: true })\n public items!: Sort[];\n\n /**\n * The search module selected sort. This is the source of truth when checking which\n * sort is selected.\n *\n * @internal\n */\n @State('search', 'sort')\n public selectedSort!: Sort;\n\n /**\n * Emits the {@link SearchXEvents.SelectedSortProvided | SelectedSortProvided} event whenever the\n * provided {@link SortMixin.selectedSort} changes. If no value is provided, the first item of the\n * {@link SortMixin.items} will be used as fallback.\n *\n * @returns The sorting value.\n *\n * @public\n */\n @XEmit('SelectedSortProvided')\n public get providedSelectedSort(): Sort {\n return this.selectedSort;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;;;;;AAMA;IAAuC,6BAAG;IAA1C;;KAgCC;IAHC,sBAAW,2CAAoB;;;;;;;;;;aAA/B;YACE,OAAO,IAAI,CAAC,YAAY,CAAC;SAC1B;;;OAAA;IAvBD;QADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;4CACH;IAStB;QADC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC;mDACG;IAY3B;QADC,KAAK,CAAC,sBAAsB,CAAC;yDAG7B;IA/BkB,SAAS;QAD7B,SAAS;OACW,SAAS,CAgC7B;IAAD,gBAAC;CAAA,CAhCsC,GAAG;;;;"}
|
|
@@ -25,7 +25,10 @@ import '../../../components/filters/labels/base-price-filter-label.vue.js';
|
|
|
25
25
|
import '../../../components/icons/star.vue.js';
|
|
26
26
|
import '../../../components/base-rating.vue.js';
|
|
27
27
|
import '../../../components/filters/labels/base-rating-filter-label.vue.js';
|
|
28
|
-
import '../../../components/icons/arrow.vue.js';
|
|
28
|
+
import '../../../components/icons/arrow-down.vue.js';
|
|
29
|
+
import '../../../components/icons/arrow-left.vue.js';
|
|
30
|
+
import '../../../components/icons/arrow-right.vue.js';
|
|
31
|
+
import '../../../components/icons/arrow-up.vue.js';
|
|
29
32
|
import '../../../components/icons/bag.vue.js';
|
|
30
33
|
import '../../../components/icons/bar-code.vue.js';
|
|
31
34
|
import '../../../components/icons/barcode-tiny.vue.js';
|
|
@@ -49,6 +52,7 @@ import '../../../components/icons/cross.vue.js';
|
|
|
49
52
|
import '../../../components/icons/filters.vue.js';
|
|
50
53
|
import '../../../components/icons/grid-1-col.vue.js';
|
|
51
54
|
import '../../../components/icons/grid-2-col.vue.js';
|
|
55
|
+
import '../../../components/icons/grid-2-rows.vue.js';
|
|
52
56
|
import '../../../components/icons/hide.vue.js';
|
|
53
57
|
import '../../../components/icons/history-tiny.vue.js';
|
|
54
58
|
import '../../../components/icons/history.vue.js';
|
|
@@ -95,6 +99,7 @@ import '../../../components/result/base-result-link.vue.js';
|
|
|
95
99
|
import '../../../components/result/base-result-previous-price.vue.js';
|
|
96
100
|
import '../../../components/result/base-result-fallback-image.vue.js';
|
|
97
101
|
import '../../../components/result/base-result-placeholder-image.vue.js';
|
|
102
|
+
import '../../../components/result/base-result-rating.vue.js';
|
|
98
103
|
import '../../../components/suggestions/base-suggestion.vue.js';
|
|
99
104
|
import '../../../components/suggestions/base-suggestions.vue.js';
|
|
100
105
|
import '../../../components/auto-progress-bar.vue.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spellcheck.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/search/components/spellcheck.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { State, xComponentMixin } from '../../../components';\nimport { searchXModule } from '../x-module';\n\n/**\n * The `Spellcheck` component allows to inform the user with a friendly message that he\n * might have misspelled the search query. This message can be set using the default slot\n * of the component, which gives access to the searched query using the `query` scope property,\n * and the spellchecked query proposal, using the `spellcheckedQuery` scope property.\n *\n * The component will only render itself if the `spellcheckedQuery` property has value.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(searchXModule)]\n})\nexport default class Spellcheck extends Vue {\n /**\n * The query from the search state.\n *\n * @public\n */\n @State('search', 'query')\n public query!: string;\n\n /**\n * The spellcheckedQuery from the search state.\n *\n * @public\n */\n @State('search', 'spellcheckedQuery')\n public spellcheckedQuery!: string;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spellcheck.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/search/components/spellcheck.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { State, xComponentMixin } from '../../../components';\nimport { searchXModule } from '../x-module';\n\n/**\n * The `Spellcheck` component allows to inform the user with a friendly message that he\n * might have misspelled the search query. This message can be set using the default slot\n * of the component, which gives access to the searched query using the `query` scope property,\n * and the spellchecked query proposal, using the `spellcheckedQuery` scope property.\n *\n * The component will only render itself if the `spellcheckedQuery` property has value.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(searchXModule)]\n})\nexport default class Spellcheck extends Vue {\n /**\n * The query from the search state.\n *\n * @public\n */\n @State('search', 'query')\n public query!: string;\n\n /**\n * The spellcheckedQuery from the search state.\n *\n * @public\n */\n @State('search', 'spellcheckedQuery')\n public spellcheckedQuery!: string;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;;;;;;;;;AAaA;IAAwC,8BAAG;IAA3C;;KAgBC;IATC;QADC,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC;6CACH;IAQtB;QADC,KAAK,CAAC,QAAQ,EAAE,mBAAmB,CAAC;yDACH;IAff,UAAU;QAH9B,SAAS,CAAC;YACT,MAAM,EAAE,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;SACzC,CAAC;OACmB,UAAU,CAgB9B;IAAD,iBAAC;CAAA,CAhBuC,GAAG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.44",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"access": "public",
|
|
132
132
|
"directory": "dist"
|
|
133
133
|
},
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "c8c0f2d0d3c4f423892a2594fdb135aceee4bad3"
|
|
135
135
|
}
|
|
@@ -1449,7 +1449,7 @@
|
|
|
1449
1449
|
},
|
|
1450
1450
|
{
|
|
1451
1451
|
"kind": "Variable",
|
|
1452
|
-
"canonicalReference": "@empathyco/x-components!
|
|
1452
|
+
"canonicalReference": "@empathyco/x-components!ArrowDownIcon:var",
|
|
1453
1453
|
"docComment": "",
|
|
1454
1454
|
"excerptTokens": [
|
|
1455
1455
|
{
|
|
@@ -1462,7 +1462,7 @@
|
|
|
1462
1462
|
}
|
|
1463
1463
|
],
|
|
1464
1464
|
"releaseTag": "Public",
|
|
1465
|
-
"name": "
|
|
1465
|
+
"name": "ArrowDownIcon",
|
|
1466
1466
|
"variableTypeTokenRange": {
|
|
1467
1467
|
"startIndex": 1,
|
|
1468
1468
|
"endIndex": 2
|
|
@@ -1493,6 +1493,69 @@
|
|
|
1493
1493
|
"endIndex": 2
|
|
1494
1494
|
}
|
|
1495
1495
|
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "Variable",
|
|
1498
|
+
"canonicalReference": "@empathyco/x-components!ArrowLeftIcon:var",
|
|
1499
|
+
"docComment": "",
|
|
1500
|
+
"excerptTokens": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "Content",
|
|
1503
|
+
"text": "_default: "
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"kind": "Content",
|
|
1507
|
+
"text": "{}"
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"releaseTag": "Public",
|
|
1511
|
+
"name": "ArrowLeftIcon",
|
|
1512
|
+
"variableTypeTokenRange": {
|
|
1513
|
+
"startIndex": 1,
|
|
1514
|
+
"endIndex": 2
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "Variable",
|
|
1519
|
+
"canonicalReference": "@empathyco/x-components!ArrowRightIcon:var",
|
|
1520
|
+
"docComment": "",
|
|
1521
|
+
"excerptTokens": [
|
|
1522
|
+
{
|
|
1523
|
+
"kind": "Content",
|
|
1524
|
+
"text": "_default: "
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"kind": "Content",
|
|
1528
|
+
"text": "{}"
|
|
1529
|
+
}
|
|
1530
|
+
],
|
|
1531
|
+
"releaseTag": "Public",
|
|
1532
|
+
"name": "ArrowRightIcon",
|
|
1533
|
+
"variableTypeTokenRange": {
|
|
1534
|
+
"startIndex": 1,
|
|
1535
|
+
"endIndex": 2
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"kind": "Variable",
|
|
1540
|
+
"canonicalReference": "@empathyco/x-components!ArrowUpIcon:var",
|
|
1541
|
+
"docComment": "",
|
|
1542
|
+
"excerptTokens": [
|
|
1543
|
+
{
|
|
1544
|
+
"kind": "Content",
|
|
1545
|
+
"text": "_default: "
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"kind": "Content",
|
|
1549
|
+
"text": "{}"
|
|
1550
|
+
}
|
|
1551
|
+
],
|
|
1552
|
+
"releaseTag": "Public",
|
|
1553
|
+
"name": "ArrowUpIcon",
|
|
1554
|
+
"variableTypeTokenRange": {
|
|
1555
|
+
"startIndex": 1,
|
|
1556
|
+
"endIndex": 2
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1496
1559
|
{
|
|
1497
1560
|
"kind": "Class",
|
|
1498
1561
|
"canonicalReference": "@empathyco/x-components!AutoProgressBar:class",
|
|
@@ -5607,6 +5670,90 @@
|
|
|
5607
5670
|
},
|
|
5608
5671
|
"implementsTokenRanges": []
|
|
5609
5672
|
},
|
|
5673
|
+
{
|
|
5674
|
+
"kind": "Class",
|
|
5675
|
+
"canonicalReference": "@empathyco/x-components!BaseResultRating:class",
|
|
5676
|
+
"docComment": "/**\n * This component renders a {@link BaseRating} for a result passed as prop.\n *\n * @public\n */\n",
|
|
5677
|
+
"excerptTokens": [
|
|
5678
|
+
{
|
|
5679
|
+
"kind": "Content",
|
|
5680
|
+
"text": "export default class BaseResultRating extends "
|
|
5681
|
+
},
|
|
5682
|
+
{
|
|
5683
|
+
"kind": "Reference",
|
|
5684
|
+
"text": "Vue",
|
|
5685
|
+
"canonicalReference": "vue!Vue:interface"
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
"kind": "Content",
|
|
5689
|
+
"text": " "
|
|
5690
|
+
}
|
|
5691
|
+
],
|
|
5692
|
+
"releaseTag": "Public",
|
|
5693
|
+
"name": "BaseResultRating",
|
|
5694
|
+
"members": [
|
|
5695
|
+
{
|
|
5696
|
+
"kind": "Property",
|
|
5697
|
+
"canonicalReference": "@empathyco/x-components!BaseResultRating#link:member",
|
|
5698
|
+
"docComment": "/**\n * A link to redirect when rating is clicked.\n *\n * @public\n */\n",
|
|
5699
|
+
"excerptTokens": [
|
|
5700
|
+
{
|
|
5701
|
+
"kind": "Content",
|
|
5702
|
+
"text": "protected link: "
|
|
5703
|
+
},
|
|
5704
|
+
{
|
|
5705
|
+
"kind": "Content",
|
|
5706
|
+
"text": "string"
|
|
5707
|
+
},
|
|
5708
|
+
{
|
|
5709
|
+
"kind": "Content",
|
|
5710
|
+
"text": ";"
|
|
5711
|
+
}
|
|
5712
|
+
],
|
|
5713
|
+
"isOptional": false,
|
|
5714
|
+
"releaseTag": "Public",
|
|
5715
|
+
"name": "link",
|
|
5716
|
+
"propertyTypeTokenRange": {
|
|
5717
|
+
"startIndex": 1,
|
|
5718
|
+
"endIndex": 2
|
|
5719
|
+
},
|
|
5720
|
+
"isStatic": false
|
|
5721
|
+
},
|
|
5722
|
+
{
|
|
5723
|
+
"kind": "Property",
|
|
5724
|
+
"canonicalReference": "@empathyco/x-components!BaseResultRating#result:member",
|
|
5725
|
+
"docComment": "/**\n * The {@link @empathyco/x-types#Result | Result} to render its rating.\n *\n * @public\n */\n",
|
|
5726
|
+
"excerptTokens": [
|
|
5727
|
+
{
|
|
5728
|
+
"kind": "Content",
|
|
5729
|
+
"text": "protected result: "
|
|
5730
|
+
},
|
|
5731
|
+
{
|
|
5732
|
+
"kind": "Reference",
|
|
5733
|
+
"text": "Result",
|
|
5734
|
+
"canonicalReference": "@empathyco/x-components!Result:interface"
|
|
5735
|
+
},
|
|
5736
|
+
{
|
|
5737
|
+
"kind": "Content",
|
|
5738
|
+
"text": ";"
|
|
5739
|
+
}
|
|
5740
|
+
],
|
|
5741
|
+
"isOptional": false,
|
|
5742
|
+
"releaseTag": "Public",
|
|
5743
|
+
"name": "result",
|
|
5744
|
+
"propertyTypeTokenRange": {
|
|
5745
|
+
"startIndex": 1,
|
|
5746
|
+
"endIndex": 2
|
|
5747
|
+
},
|
|
5748
|
+
"isStatic": false
|
|
5749
|
+
}
|
|
5750
|
+
],
|
|
5751
|
+
"extendsTokenRange": {
|
|
5752
|
+
"startIndex": 1,
|
|
5753
|
+
"endIndex": 3
|
|
5754
|
+
},
|
|
5755
|
+
"implementsTokenRanges": []
|
|
5756
|
+
},
|
|
5610
5757
|
{
|
|
5611
5758
|
"kind": "Class",
|
|
5612
5759
|
"canonicalReference": "@empathyco/x-components!BaseScroll:class",
|
|
@@ -17692,6 +17839,27 @@
|
|
|
17692
17839
|
"endIndex": 2
|
|
17693
17840
|
}
|
|
17694
17841
|
},
|
|
17842
|
+
{
|
|
17843
|
+
"kind": "Variable",
|
|
17844
|
+
"canonicalReference": "@empathyco/x-components!Grid2RowsIcon:var",
|
|
17845
|
+
"docComment": "",
|
|
17846
|
+
"excerptTokens": [
|
|
17847
|
+
{
|
|
17848
|
+
"kind": "Content",
|
|
17849
|
+
"text": "_default: "
|
|
17850
|
+
},
|
|
17851
|
+
{
|
|
17852
|
+
"kind": "Content",
|
|
17853
|
+
"text": "{}"
|
|
17854
|
+
}
|
|
17855
|
+
],
|
|
17856
|
+
"releaseTag": "Public",
|
|
17857
|
+
"name": "Grid2RowsIcon",
|
|
17858
|
+
"variableTypeTokenRange": {
|
|
17859
|
+
"startIndex": 1,
|
|
17860
|
+
"endIndex": 2
|
|
17861
|
+
}
|
|
17862
|
+
},
|
|
17695
17863
|
{
|
|
17696
17864
|
"kind": "TypeAlias",
|
|
17697
17865
|
"canonicalReference": "@empathyco/x-components!GroupId:type",
|
|
@@ -24462,6 +24630,33 @@
|
|
|
24462
24630
|
},
|
|
24463
24631
|
"isStatic": false
|
|
24464
24632
|
},
|
|
24633
|
+
{
|
|
24634
|
+
"kind": "Property",
|
|
24635
|
+
"canonicalReference": "@empathyco/x-components!NextQueries#highlightCurated:member",
|
|
24636
|
+
"docComment": "/**\n * Flag to indicate if the curated next queries should be displayed different.\n *\n * @public\n */\n",
|
|
24637
|
+
"excerptTokens": [
|
|
24638
|
+
{
|
|
24639
|
+
"kind": "Content",
|
|
24640
|
+
"text": "protected highlightCurated: "
|
|
24641
|
+
},
|
|
24642
|
+
{
|
|
24643
|
+
"kind": "Content",
|
|
24644
|
+
"text": "boolean"
|
|
24645
|
+
},
|
|
24646
|
+
{
|
|
24647
|
+
"kind": "Content",
|
|
24648
|
+
"text": ";"
|
|
24649
|
+
}
|
|
24650
|
+
],
|
|
24651
|
+
"isOptional": false,
|
|
24652
|
+
"releaseTag": "Public",
|
|
24653
|
+
"name": "highlightCurated",
|
|
24654
|
+
"propertyTypeTokenRange": {
|
|
24655
|
+
"startIndex": 1,
|
|
24656
|
+
"endIndex": 2
|
|
24657
|
+
},
|
|
24658
|
+
"isStatic": false
|
|
24659
|
+
},
|
|
24465
24660
|
{
|
|
24466
24661
|
"kind": "Property",
|
|
24467
24662
|
"canonicalReference": "@empathyco/x-components!NextQueries#maxItemsToRender:member",
|
|
@@ -25919,6 +26114,33 @@
|
|
|
25919
26114
|
},
|
|
25920
26115
|
"isStatic": false
|
|
25921
26116
|
},
|
|
26117
|
+
{
|
|
26118
|
+
"kind": "Property",
|
|
26119
|
+
"canonicalReference": "@empathyco/x-components!NextQuery#highlightCurated:member",
|
|
26120
|
+
"docComment": "/**\n * Indicates if the curated next query should be highlighted.\n *\n * @public\n */\n",
|
|
26121
|
+
"excerptTokens": [
|
|
26122
|
+
{
|
|
26123
|
+
"kind": "Content",
|
|
26124
|
+
"text": "protected highlightCurated: "
|
|
26125
|
+
},
|
|
26126
|
+
{
|
|
26127
|
+
"kind": "Content",
|
|
26128
|
+
"text": "boolean"
|
|
26129
|
+
},
|
|
26130
|
+
{
|
|
26131
|
+
"kind": "Content",
|
|
26132
|
+
"text": ";"
|
|
26133
|
+
}
|
|
26134
|
+
],
|
|
26135
|
+
"isOptional": false,
|
|
26136
|
+
"releaseTag": "Public",
|
|
26137
|
+
"name": "highlightCurated",
|
|
26138
|
+
"propertyTypeTokenRange": {
|
|
26139
|
+
"startIndex": 1,
|
|
26140
|
+
"endIndex": 2
|
|
26141
|
+
},
|
|
26142
|
+
"isStatic": false
|
|
26143
|
+
},
|
|
25922
26144
|
{
|
|
25923
26145
|
"kind": "Property",
|
|
25924
26146
|
"canonicalReference": "@empathyco/x-components!NextQuery#suggestion:member",
|
|
@@ -40738,6 +40960,33 @@
|
|
|
40738
40960
|
"releaseTag": "Public",
|
|
40739
40961
|
"name": "SlidingPanel",
|
|
40740
40962
|
"members": [
|
|
40963
|
+
{
|
|
40964
|
+
"kind": "Property",
|
|
40965
|
+
"canonicalReference": "@empathyco/x-components!SlidingPanel#buttonClass:member",
|
|
40966
|
+
"docComment": "/**\n * CSS classes to add to the buttons.\n *\n * @public\n */\n",
|
|
40967
|
+
"excerptTokens": [
|
|
40968
|
+
{
|
|
40969
|
+
"kind": "Content",
|
|
40970
|
+
"text": "buttonClass?: "
|
|
40971
|
+
},
|
|
40972
|
+
{
|
|
40973
|
+
"kind": "Content",
|
|
40974
|
+
"text": "string"
|
|
40975
|
+
},
|
|
40976
|
+
{
|
|
40977
|
+
"kind": "Content",
|
|
40978
|
+
"text": ";"
|
|
40979
|
+
}
|
|
40980
|
+
],
|
|
40981
|
+
"isOptional": true,
|
|
40982
|
+
"releaseTag": "Public",
|
|
40983
|
+
"name": "buttonClass",
|
|
40984
|
+
"propertyTypeTokenRange": {
|
|
40985
|
+
"startIndex": 1,
|
|
40986
|
+
"endIndex": 2
|
|
40987
|
+
},
|
|
40988
|
+
"isStatic": false
|
|
40989
|
+
},
|
|
40741
40990
|
{
|
|
40742
40991
|
"kind": "Property",
|
|
40743
40992
|
"canonicalReference": "@empathyco/x-components!SlidingPanel#resetOnContentChange:member",
|
|
@@ -50479,6 +50728,33 @@
|
|
|
50479
50728
|
"endIndex": 2
|
|
50480
50729
|
}
|
|
50481
50730
|
},
|
|
50731
|
+
{
|
|
50732
|
+
"kind": "PropertySignature",
|
|
50733
|
+
"canonicalReference": "@empathyco/x-components!XEventsTypes#UserClickedAResultRating:member",
|
|
50734
|
+
"docComment": "/**\n * The user has clicked on the rating of a result. * Payload: The {@link @empathyco/x-types#Result | result} that the user clicked.\n */\n",
|
|
50735
|
+
"excerptTokens": [
|
|
50736
|
+
{
|
|
50737
|
+
"kind": "Content",
|
|
50738
|
+
"text": "UserClickedAResultRating: "
|
|
50739
|
+
},
|
|
50740
|
+
{
|
|
50741
|
+
"kind": "Reference",
|
|
50742
|
+
"text": "Result",
|
|
50743
|
+
"canonicalReference": "@empathyco/x-components!Result:interface"
|
|
50744
|
+
},
|
|
50745
|
+
{
|
|
50746
|
+
"kind": "Content",
|
|
50747
|
+
"text": ";"
|
|
50748
|
+
}
|
|
50749
|
+
],
|
|
50750
|
+
"isOptional": false,
|
|
50751
|
+
"releaseTag": "Public",
|
|
50752
|
+
"name": "UserClickedAResultRating",
|
|
50753
|
+
"propertyTypeTokenRange": {
|
|
50754
|
+
"startIndex": 1,
|
|
50755
|
+
"endIndex": 2
|
|
50756
|
+
}
|
|
50757
|
+
},
|
|
50482
50758
|
{
|
|
50483
50759
|
"kind": "PropertySignature",
|
|
50484
50760
|
"canonicalReference": "@empathyco/x-components!XEventsTypes#UserClickedCloseEventsModal:member",
|
|
@@ -131,11 +131,20 @@ export function arrayToObject(array: string[]): Record<string, string>;
|
|
|
131
131
|
export function arrayToObject<ArrayType, KeyType extends string | number>(array: ArrayType[], key: PropsWithType<ArrayType, KeyType>): Record<string, ArrayType>;
|
|
132
132
|
|
|
133
133
|
// @public (undocumented)
|
|
134
|
-
export const
|
|
134
|
+
export const ArrowDownIcon: {};
|
|
135
135
|
|
|
136
136
|
// @public
|
|
137
137
|
export type ArrowKey = 'ArrowUp' | 'ArrowDown' | 'ArrowRight' | 'ArrowLeft';
|
|
138
138
|
|
|
139
|
+
// @public (undocumented)
|
|
140
|
+
export const ArrowLeftIcon: {};
|
|
141
|
+
|
|
142
|
+
// @public (undocumented)
|
|
143
|
+
export const ArrowRightIcon: {};
|
|
144
|
+
|
|
145
|
+
// @public (undocumented)
|
|
146
|
+
export const ArrowUpIcon: {};
|
|
147
|
+
|
|
139
148
|
// @public
|
|
140
149
|
export class AutoProgressBar extends Vue_2 {
|
|
141
150
|
// @internal
|
|
@@ -539,6 +548,14 @@ export class BaseResultPreviousPrice extends Vue_2 {
|
|
|
539
548
|
protected result: Result;
|
|
540
549
|
}
|
|
541
550
|
|
|
551
|
+
// @public
|
|
552
|
+
export class BaseResultRating extends Vue_2 {
|
|
553
|
+
// @internal
|
|
554
|
+
protected emitClickedEvent(): void;
|
|
555
|
+
protected link: string;
|
|
556
|
+
protected result: Result;
|
|
557
|
+
}
|
|
558
|
+
|
|
542
559
|
// Warning: (ae-forgotten-export) The symbol "BaseScroll_base" needs to be exported by the entry point index.d.ts
|
|
543
560
|
//
|
|
544
561
|
// @public
|
|
@@ -1698,6 +1715,9 @@ export const Grid1ColIcon: {};
|
|
|
1698
1715
|
// @public (undocumented)
|
|
1699
1716
|
export const Grid2ColIcon: {};
|
|
1700
1717
|
|
|
1718
|
+
// @public (undocumented)
|
|
1719
|
+
export const Grid2RowsIcon: {};
|
|
1720
|
+
|
|
1701
1721
|
// @public
|
|
1702
1722
|
export type GroupId = string;
|
|
1703
1723
|
|
|
@@ -2261,6 +2281,7 @@ export type NamespacedWiringData<ModuleName extends XModuleName> = StoreModuleSt
|
|
|
2261
2281
|
// @public
|
|
2262
2282
|
export class NextQueries extends Vue_2 {
|
|
2263
2283
|
protected animation: Vue_2;
|
|
2284
|
+
protected highlightCurated: boolean;
|
|
2264
2285
|
protected maxItemsToRender?: number;
|
|
2265
2286
|
// Warning: (ae-forgotten-export) The symbol "NextQuery" needs to be exported by the entry point index.d.ts
|
|
2266
2287
|
//
|
|
@@ -2387,6 +2408,9 @@ export const nextQueriesXStoreModule: NextQueriesXStoreModule;
|
|
|
2387
2408
|
// @public
|
|
2388
2409
|
export class NextQuery extends Vue_2 {
|
|
2389
2410
|
protected get events(): Partial<XEventsTypes>;
|
|
2411
|
+
protected highlightCurated: boolean;
|
|
2412
|
+
// @internal
|
|
2413
|
+
protected get shouldHighlightCurated(): boolean;
|
|
2390
2414
|
protected suggestion: NextQuery_2;
|
|
2391
2415
|
}
|
|
2392
2416
|
|
|
@@ -3867,6 +3891,7 @@ export class SlidingPanel extends Vue_2 {
|
|
|
3867
3891
|
$refs: {
|
|
3868
3892
|
scrollContainer: HTMLElement;
|
|
3869
3893
|
};
|
|
3894
|
+
buttonClass?: string;
|
|
3870
3895
|
// @internal
|
|
3871
3896
|
protected get cssClasses(): VueCSSClasses;
|
|
3872
3897
|
// @internal
|
|
@@ -4666,6 +4691,7 @@ export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraPara
|
|
|
4666
4691
|
UserAcceptedAQuery: string;
|
|
4667
4692
|
UserAcceptedSpellcheckQuery: string;
|
|
4668
4693
|
UserClickedAResult: Result;
|
|
4694
|
+
UserClickedAResultRating: Result;
|
|
4669
4695
|
UserClickedCloseEventsModal: void;
|
|
4670
4696
|
UserClickedCloseModal: string;
|
|
4671
4697
|
UserClickedColumnPicker: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/adapter/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAG7D;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,qBAAqB,GACpC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/adapter/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAG7D;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,qBAAqB,GACpC,qBAAqB,CAuBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-down.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/arrow-down.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":";AAgBA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-left.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/arrow-left.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":";AAgBA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-right.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/arrow-right.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":";AAgBA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-up.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/arrow-up.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":";AAgBA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-2-rows.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/grid-2-rows.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":";AAgBA,wBAAkB"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as ArrowDownIcon } from './arrow-down.vue';
|
|
2
|
+
export { default as ArrowLeftIcon } from './arrow-left.vue';
|
|
3
|
+
export { default as ArrowRightIcon } from './arrow-right.vue';
|
|
4
|
+
export { default as ArrowUpIcon } from './arrow-up.vue';
|
|
2
5
|
export { default as BagIcon } from './bag.vue';
|
|
3
6
|
export { default as BarCodeIcon } from './bar-code.vue';
|
|
4
7
|
export { default as BarcodeTinyIcon } from './barcode-tiny.vue';
|
|
@@ -22,6 +25,7 @@ export { default as CrossIcon } from './cross.vue';
|
|
|
22
25
|
export { default as FiltersIcon } from './filters.vue';
|
|
23
26
|
export { default as Grid1ColIcon } from './grid-1-col.vue';
|
|
24
27
|
export { default as Grid2ColIcon } from './grid-2-col.vue';
|
|
28
|
+
export { default as Grid2RowsIcon } from './grid-2-rows.vue';
|
|
25
29
|
export { default as HideIcon } from './hide.vue';
|
|
26
30
|
export { default as HistoryTinyIcon } from './history-tiny.vue';
|
|
27
31
|
export { default as HistoryIcon } from './history.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
import { Result } from '@empathyco/x-types';
|
|
3
|
+
/**
|
|
4
|
+
* This component renders a {@link BaseRating} for a result passed as prop.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export default class BaseResultRating extends Vue {
|
|
9
|
+
/**
|
|
10
|
+
* The {@link @empathyco/x-types#Result | Result} to render its rating.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
protected result: Result;
|
|
15
|
+
/**
|
|
16
|
+
* A link to redirect when rating is clicked.
|
|
17
|
+
*
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
protected link: string;
|
|
21
|
+
/**
|
|
22
|
+
* Emits the `UserClickedAResultRating` event when user clicks this component, with the
|
|
23
|
+
* {@link @empathyco/x-types#Result | Result} as payload.
|
|
24
|
+
*
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
protected emitClickedEvent(): void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=base-result-rating.vue?rollup-plugin-vue=script.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-result-rating.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/result/base-result-rating.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAiCA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAG5C;;;;GAIG;AAMH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,GAAG;IAC/C;;;;OAIG;IAEH,SAAS,CAAC,MAAM,EAAG,MAAM,CAAC;IAE1B;;;;OAIG;IAEH,SAAS,CAAC,IAAI,EAAG,MAAM,CAAC;IAExB;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,IAAI,IAAI;CAGnC"}
|