@empathyco/x-components 3.0.0-alpha.21 → 3.0.0-alpha.25
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 +47 -0
- package/core/index.js +3 -1
- package/core/index.js.map +1 -1
- package/design-system/badge-default.css +46 -0
- package/design-system/base.css +4 -1
- package/design-system/button-primary.css +11 -2
- package/design-system/button-secondary.css +12 -3
- package/design-system/button-tertiary.css +11 -2
- package/design-system/default-theme.css +150 -42
- package/design-system/dropdown-default.css +68 -33
- package/design-system/dropdown-l.css +1 -1
- package/design-system/dropdown-m.css +1 -1
- package/design-system/dropdown-s.css +1 -1
- package/design-system/dropdown-xl.css +1 -1
- package/design-system/full-theme.css +2564 -194
- package/design-system/list-default.css +1 -0
- package/design-system/list-gap.css +61 -1
- package/design-system/list-padding.css +54 -1
- package/design-system/row-padding.css +2 -0
- package/design-system/utilities-background-color.css +20 -0
- package/design-system/utilities-border-color.css +20 -0
- package/design-system/utilities-border-radius.css +981 -0
- package/design-system/utilities-border-width.css +333 -0
- package/design-system/{shadow-shadow.css → utilities-box-shadow.css} +32 -23
- package/design-system/utilities-font-color.css +20 -0
- package/design-system/utilities-margin.css +435 -0
- package/design-system/utilities-padding.css +406 -0
- package/docs/API-reference/api/x-components.baseresultimage.animation.md +13 -0
- package/docs/API-reference/api/x-components.baseresultimage.md +1 -0
- package/docs/API-reference/api/x-components.capitalize.md +30 -0
- package/docs/API-reference/api/x-components.crossfade.md +15 -0
- package/docs/API-reference/api/x-components.md +10 -1
- package/docs/API-reference/api/{x-components.urlstate.filters.md → x-components.params.filters.md} +2 -2
- package/docs/API-reference/api/x-components.params.md +25 -0
- package/docs/API-reference/api/{x-components.urlstate.page.md → x-components.params.page.md} +2 -2
- package/docs/API-reference/api/{x-components.urlstate.query.md → x-components.params.query.md} +2 -2
- package/docs/API-reference/api/{x-components.urlstate.relatedtags.md → x-components.params.relatedtags.md} +2 -2
- package/docs/API-reference/api/x-components.params.scroll.md +11 -0
- package/docs/API-reference/api/{x-components.urlstate.sort.md → x-components.params.sort.md} +2 -2
- package/docs/API-reference/api/x-components.setquery.md +13 -0
- package/docs/API-reference/api/x-components.setqueryfromurl.md +13 -0
- package/docs/API-reference/api/x-components.setsearchextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setsearchqueryfromurl.md +13 -0
- package/docs/API-reference/api/x-components.translatefromleft.md +15 -0
- package/docs/API-reference/api/x-components.translatefromright.md +1 -1
- package/docs/API-reference/api/x-components.updatestoreurl.md +13 -0
- package/docs/API-reference/api/x-components.updateurl.md +13 -0
- package/docs/API-reference/api/x-components.urlactions.md +2 -1
- package/docs/API-reference/api/x-components.urlactions.updatestorefromurl.md +17 -0
- package/docs/API-reference/api/x-components.urlactions.updateurl.md +1 -1
- package/docs/API-reference/api/x-components.urlgetters.md +2 -2
- package/docs/API-reference/api/x-components.urlgetters.urlmappedparamnames.md +3 -1
- package/docs/API-reference/api/x-components.urlgetters.urlparams.md +2 -0
- package/docs/API-reference/api/x-components.urlmutations.md +4 -1
- package/docs/API-reference/api/x-components.urlmutations.setextraparams.md +24 -0
- package/docs/API-reference/api/x-components.urlmutations.setparams.md +24 -0
- package/docs/API-reference/api/x-components.urlmutations.setquery.md +24 -0
- package/docs/API-reference/api/x-components.urlmutations.seturlconfig.md +3 -1
- package/docs/API-reference/api/x-components.urlparamkey.md +3 -1
- package/docs/API-reference/api/x-components.urlstate.md +1 -5
- package/docs/API-reference/api/x-components.urlstate.params.md +11 -0
- package/docs/API-reference/api/x-components.urlxevents.md +1 -0
- package/docs/API-reference/api/x-components.urlxevents.paramsloadedfromurl.md +13 -0
- package/docs/API-reference/api/x-types.banner.md +2 -2
- package/docs/API-reference/api/x-types.historyquery.md +2 -2
- package/docs/API-reference/api/x-types.nextqueries.md +2 -2
- package/docs/API-reference/api/x-types.nextquery.md +2 -2
- package/docs/API-reference/api/x-types.promoted.md +2 -2
- package/docs/API-reference/api/x-types.relatedtag.md +2 -2
- package/docs/API-reference/api/x-types.result.md +2 -2
- package/docs/API-reference/api/x-types.suggestion.md +2 -2
- package/docs/API-reference/components/common/animations/x-components.cross-fade.md +30 -0
- package/docs/API-reference/components/common/animations/x-components.translate-from-left.md +30 -0
- package/docs/API-reference/components/common/animations/x-components.translate-from-right.md +6 -5
- package/docs/API-reference/components/common/result/x-components.base-result-image.md +7 -6
- package/docs/API-reference/components/url/x-components.url-handler.md +86 -0
- package/docs/sidebar.json +1 -1
- package/js/components/animations/cross-fade.vue.js +58 -0
- package/js/components/animations/cross-fade.vue.js.map +1 -0
- package/js/components/animations/cross-fade.vue_rollup-plugin-vue=script.js +23 -0
- package/js/components/animations/cross-fade.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/animations/translate-from-left.vue.js +58 -0
- package/js/components/animations/translate-from-left.vue.js.map +1 -0
- package/js/components/animations/translate-from-left.vue_rollup-plugin-vue=script.js +23 -0
- package/js/components/animations/translate-from-left.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/animations/translate-from-right.vue.js +2 -2
- package/js/components/animations/translate-from-right.vue.js.map +1 -1
- package/js/components/animations/translate-from-right.vue_rollup-plugin-vue=script.js +2 -2
- package/js/components/animations/translate-from-right.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/base-dropdown.vue.js +2 -2
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/base-rating.vue.js +1 -1
- package/js/components/column-picker/base-column-picker-list.vue.js +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue.js +1 -1
- package/js/components/layouts/single-column-layout.vue.js +1 -1
- package/js/components/modals/base-modal.vue.js +1 -1
- package/js/components/result/base-result-image.vue.js +40 -30
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js +3 -0
- package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/sliding-panel.vue.js +1 -1
- package/js/index.js +6 -4
- package/js/index.js.map +1 -1
- package/js/utils/string.js +16 -1
- package/js/utils/string.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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-list.vue_rollup-plugin-vue=script.js +2 -0
- package/js/x-modules/facets/components/lists/selected-filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +2 -0
- 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 +2 -0
- 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 +2 -0
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/related-tags/components/related-tags.vue.js +1 -1
- package/js/x-modules/search/components/banner.vue.js +1 -1
- package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js +2 -0
- package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/promoted.vue.js +1 -1
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +2 -0
- 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 +2 -0
- package/js/x-modules/search/components/sort.mixin.js.map +1 -1
- package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js +2 -0
- package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +2 -0
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/wiring.js +11 -1
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search-box/wiring.js +11 -1
- package/js/x-modules/search-box/wiring.js.map +1 -1
- package/js/x-modules/url/store/actions/update-store-from-url.action.js +76 -0
- package/js/x-modules/url/store/actions/update-store-from-url.action.js.map +1 -0
- package/js/x-modules/url/store/actions/update-url.action.js +22 -5
- package/js/x-modules/url/store/actions/update-url.action.js.map +1 -1
- package/js/x-modules/url/store/getters/{url-param-names.getter.js → url-mapped-param-names.getter.js} +4 -4
- package/js/x-modules/url/store/getters/url-mapped-param-names.getter.js.map +1 -0
- package/js/x-modules/url/store/getters/url-params.getter.js +5 -4
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/module.js +22 -7
- package/js/x-modules/url/store/module.js.map +1 -1
- package/js/x-modules/url/wiring.js +41 -2
- package/js/x-modules/url/wiring.js.map +1 -1
- package/package.json +5 -5
- package/report/tsdoc-metadata.json +1 -1
- package/report/x-adapter.api.json +1 -1
- package/report/x-components.api.json +749 -107
- package/report/x-components.api.md +72 -14
- package/report/x-types.api.json +51 -23
- package/search/index.js +1 -1
- package/search-box/index.js +1 -1
- package/types/components/animations/cross-fade.vue.d.ts +10 -0
- package/types/components/animations/cross-fade.vue.d.ts.map +1 -0
- package/types/components/animations/index.d.ts +2 -0
- package/types/components/animations/index.d.ts.map +1 -1
- package/types/components/animations/translate-from-left.vue.d.ts +10 -0
- package/types/components/animations/translate-from-left.vue.d.ts.map +1 -0
- package/types/components/animations/translate-from-right.vue.d.ts +2 -2
- package/types/components/result/base-result-image.vue.d.ts +7 -0
- package/types/components/result/base-result-image.vue.d.ts.map +1 -1
- package/types/utils/string.d.ts +13 -0
- package/types/utils/string.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +13 -2
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/search-box/wiring.d.ts +11 -0
- package/types/x-modules/search-box/wiring.d.ts.map +1 -1
- package/types/x-modules/url/components/index.d.ts +2 -0
- package/types/x-modules/url/components/index.d.ts.map +1 -0
- package/types/x-modules/url/events.types.d.ts +5 -0
- package/types/x-modules/url/events.types.d.ts.map +1 -1
- package/types/x-modules/url/store/actions/update-store-from-url.action.d.ts +11 -0
- package/types/x-modules/url/store/actions/update-store-from-url.action.d.ts.map +1 -0
- package/types/x-modules/url/store/actions/update-url.action.d.ts.map +1 -1
- package/types/x-modules/url/store/getters/{url-param-names.getter.d.ts → url-mapped-param-names.getter.d.ts} +1 -1
- package/types/x-modules/url/store/getters/url-mapped-param-names.getter.d.ts.map +1 -0
- package/types/x-modules/url/store/getters/url-params.getter.d.ts.map +1 -1
- package/types/x-modules/url/store/module.d.ts.map +1 -1
- package/types/x-modules/url/store/types.d.ts +44 -5
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts +33 -0
- package/types/x-modules/url/wiring.d.ts.map +1 -1
- package/url/index.js +1 -1
- package/design-system/list-background.css +0 -20
- package/design-system/list-border.css +0 -44
- package/design-system/row-background.css +0 -20
- package/js/x-modules/url/store/getters/url-param-names.getter.js.map +0 -1
- package/types/x-modules/url/store/getters/url-param-names.getter.d.ts.map +0 -1
|
@@ -548,6 +548,7 @@ export class BaseResultImage extends Vue_2 {
|
|
|
548
548
|
$refs: {
|
|
549
549
|
image: HTMLElement;
|
|
550
550
|
};
|
|
551
|
+
animation: string | typeof Vue_2;
|
|
551
552
|
// @internal
|
|
552
553
|
protected createObserver(): void;
|
|
553
554
|
protected failedImages: string[];
|
|
@@ -750,6 +751,9 @@ export interface CancellablePromiseFunction<T, K = unknown> {
|
|
|
750
751
|
// @internal
|
|
751
752
|
export const CancelSymbol: unique symbol;
|
|
752
753
|
|
|
754
|
+
// @public
|
|
755
|
+
export function capitalize(str: string): string;
|
|
756
|
+
|
|
753
757
|
// @public (undocumented)
|
|
754
758
|
export const CartIcon: {};
|
|
755
759
|
|
|
@@ -922,6 +926,10 @@ export function createWiring<T extends Partial<Wiring>>(wiring: T): T;
|
|
|
922
926
|
// @internal
|
|
923
927
|
export const createXComponentAPIMixin: (bus: XBus) => ComponentOptions<Vue_2> & ThisType<PrivateExtendedVueComponent>;
|
|
924
928
|
|
|
929
|
+
// @public
|
|
930
|
+
export class CrossFade extends Vue_2 {
|
|
931
|
+
}
|
|
932
|
+
|
|
925
933
|
// @public (undocumented)
|
|
926
934
|
export const CrossIcon: {};
|
|
927
935
|
|
|
@@ -2378,6 +2386,22 @@ export interface ObserverOptions {
|
|
|
2378
2386
|
// @public
|
|
2379
2387
|
export type Pair<Type> = [Type, Type];
|
|
2380
2388
|
|
|
2389
|
+
// @public
|
|
2390
|
+
export interface Params {
|
|
2391
|
+
// (undocumented)
|
|
2392
|
+
filters: string[];
|
|
2393
|
+
// (undocumented)
|
|
2394
|
+
page: number;
|
|
2395
|
+
// (undocumented)
|
|
2396
|
+
query: string;
|
|
2397
|
+
// (undocumented)
|
|
2398
|
+
relatedTags: string[];
|
|
2399
|
+
// (undocumented)
|
|
2400
|
+
scroll: number;
|
|
2401
|
+
// (undocumented)
|
|
2402
|
+
sort: string;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2381
2405
|
// @public
|
|
2382
2406
|
export class PartialQueryButton extends Vue_2 {
|
|
2383
2407
|
protected get events(): Partial<XEventsTypes>;
|
|
@@ -3076,6 +3100,9 @@ export const searchBoxWiring: {
|
|
|
3076
3100
|
UserPressedClearSearchBoxButton: {
|
|
3077
3101
|
clearSearchBoxQuery: AnyWire;
|
|
3078
3102
|
};
|
|
3103
|
+
ParamsLoadedFromUrl: {
|
|
3104
|
+
setQueryFromUrl: Wire<Dictionary<UrlParamValue>>;
|
|
3105
|
+
};
|
|
3079
3106
|
};
|
|
3080
3107
|
|
|
3081
3108
|
// @public
|
|
@@ -3278,6 +3305,9 @@ export const searchWiring: {
|
|
|
3278
3305
|
resetSort: AnyWire;
|
|
3279
3306
|
resetFacets: AnyWire;
|
|
3280
3307
|
};
|
|
3308
|
+
ParamsLoadedFromUrl: {
|
|
3309
|
+
setSearchQueryFromUrl: Wire<Dictionary<UrlParamValue>>;
|
|
3310
|
+
};
|
|
3281
3311
|
};
|
|
3282
3312
|
|
|
3283
3313
|
// @public
|
|
@@ -3367,12 +3397,18 @@ export const setPageSize: Wire<number>;
|
|
|
3367
3397
|
// @public
|
|
3368
3398
|
export const setPopularSearchesExtraParams: Wire<Dictionary<unknown>>;
|
|
3369
3399
|
|
|
3400
|
+
// @public
|
|
3401
|
+
export const setQuery: Wire<string>;
|
|
3402
|
+
|
|
3370
3403
|
// @public
|
|
3371
3404
|
export const setQueryFromLastHistoryQuery: NextQueriesXStoreModule['actions']['setQueryFromLastHistoryQuery'];
|
|
3372
3405
|
|
|
3373
3406
|
// @public
|
|
3374
3407
|
export const setQueryFromLastHistoryQueryWire: Wire<HistoryQuery_2[]>;
|
|
3375
3408
|
|
|
3409
|
+
// @public
|
|
3410
|
+
export const setQueryFromUrl: Wire<Dictionary<UrlParamValue>>;
|
|
3411
|
+
|
|
3376
3412
|
// @public
|
|
3377
3413
|
export const setQuerySuggestionsExtraParams: Wire<Dictionary<unknown>>;
|
|
3378
3414
|
|
|
@@ -3403,6 +3439,9 @@ export const setSearchExtraParams: Wire<Dictionary<unknown>>;
|
|
|
3403
3439
|
// @public
|
|
3404
3440
|
export const setSearchQuery: Wire<string>;
|
|
3405
3441
|
|
|
3442
|
+
// @public
|
|
3443
|
+
export const setSearchQueryFromUrl: Wire<Dictionary<UrlParamValue>>;
|
|
3444
|
+
|
|
3406
3445
|
// @public
|
|
3407
3446
|
export const setSelectedFilters: Wire<Filter[]>;
|
|
3408
3447
|
|
|
@@ -3783,6 +3822,10 @@ export const toggleRelatedTagWire: Wire<RelatedTag_2>;
|
|
|
3783
3822
|
// @public
|
|
3784
3823
|
export function toKebabCase(str: string): string;
|
|
3785
3824
|
|
|
3825
|
+
// @public
|
|
3826
|
+
export class TranslateFromLeft extends Vue_2 {
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3786
3829
|
// @public
|
|
3787
3830
|
export class TranslateFromRight extends Vue_2 {
|
|
3788
3831
|
}
|
|
@@ -3799,8 +3842,15 @@ export const TrendingIcon: {};
|
|
|
3799
3842
|
// @public (undocumented)
|
|
3800
3843
|
export const TrendingTinyIcon: {};
|
|
3801
3844
|
|
|
3845
|
+
// @public
|
|
3846
|
+
export const updateStoreUrl: AnyWire;
|
|
3847
|
+
|
|
3848
|
+
// @public
|
|
3849
|
+
export const updateUrl: AnyWire;
|
|
3850
|
+
|
|
3802
3851
|
// @public
|
|
3803
3852
|
export interface UrlActions {
|
|
3853
|
+
updateStoreFromUrl(): void;
|
|
3804
3854
|
updateUrl(): void;
|
|
3805
3855
|
}
|
|
3806
3856
|
|
|
@@ -3824,20 +3874,20 @@ export const urlEmitters: {
|
|
|
3824
3874
|
|
|
3825
3875
|
// @public
|
|
3826
3876
|
export interface UrlGetters {
|
|
3827
|
-
|
|
3828
|
-
urlMappedParamNames: Dictionary<UrlParamKey>;
|
|
3829
|
-
// (undocumented)
|
|
3877
|
+
urlMappedParamNames: Dictionary<UrlParamKey | string>;
|
|
3830
3878
|
urlParams: Dictionary<UrlParamValue>;
|
|
3831
3879
|
}
|
|
3832
3880
|
|
|
3833
3881
|
// @public
|
|
3834
3882
|
export interface UrlMutations {
|
|
3835
|
-
|
|
3883
|
+
setExtraParams(extraParam: Dictionary<UrlParamValue>): void;
|
|
3884
|
+
setParams(params: Record<keyof Params, UrlParamValue>): void;
|
|
3885
|
+
setQuery(query: string): void;
|
|
3836
3886
|
setUrlConfig(config: UrlConfig): void;
|
|
3837
3887
|
}
|
|
3838
3888
|
|
|
3839
3889
|
// @public
|
|
3840
|
-
export type UrlParamKey = string
|
|
3890
|
+
export type UrlParamKey = Extract<keyof Params, string>;
|
|
3841
3891
|
|
|
3842
3892
|
// @public
|
|
3843
3893
|
export type UrlParamValue = string | number | boolean | Array<string | number | boolean>;
|
|
@@ -3849,15 +3899,7 @@ export interface UrlState {
|
|
|
3849
3899
|
// (undocumented)
|
|
3850
3900
|
extraParams: Dictionary<UrlParamValue>;
|
|
3851
3901
|
// (undocumented)
|
|
3852
|
-
|
|
3853
|
-
// (undocumented)
|
|
3854
|
-
page: number;
|
|
3855
|
-
// (undocumented)
|
|
3856
|
-
query: string;
|
|
3857
|
-
// (undocumented)
|
|
3858
|
-
relatedTags: string[];
|
|
3859
|
-
// (undocumented)
|
|
3860
|
-
sort: string;
|
|
3902
|
+
params: Record<keyof Params, UrlParamValue>;
|
|
3861
3903
|
}
|
|
3862
3904
|
|
|
3863
3905
|
// @internal
|
|
@@ -3865,6 +3907,21 @@ export const urlWiring: {
|
|
|
3865
3907
|
UrlConfigProvided: {
|
|
3866
3908
|
setUrlConfigWire: Wire<UrlConfig>;
|
|
3867
3909
|
};
|
|
3910
|
+
UserAcceptedAQuery: {
|
|
3911
|
+
setQuery: Wire<string>;
|
|
3912
|
+
};
|
|
3913
|
+
UserClearedQuery: {
|
|
3914
|
+
setQuery: Wire<string>;
|
|
3915
|
+
};
|
|
3916
|
+
UrlStateChanged: {
|
|
3917
|
+
updateUrl: AnyWire;
|
|
3918
|
+
};
|
|
3919
|
+
DocumentLoaded: {
|
|
3920
|
+
updateStoreUrl: AnyWire;
|
|
3921
|
+
};
|
|
3922
|
+
DocumentHistoryChanged: {
|
|
3923
|
+
updateStoreUrl: AnyWire;
|
|
3924
|
+
};
|
|
3868
3925
|
};
|
|
3869
3926
|
|
|
3870
3927
|
// @public
|
|
@@ -3874,6 +3931,7 @@ export interface UrlXEvents {
|
|
|
3874
3931
|
ExtraParamsLoadedFromUrl: string[];
|
|
3875
3932
|
FiltersLoadedFromUrl: string[];
|
|
3876
3933
|
PageLoadedFromUrl: string;
|
|
3934
|
+
ParamsLoadedFromUrl: UrlGetters['urlParams'];
|
|
3877
3935
|
QueryLoadedFromUrl: string;
|
|
3878
3936
|
RelatedTagsLoadedFromUrl: string[];
|
|
3879
3937
|
SortLoadedFromUrl: string;
|
package/report/x-types.api.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.18.
|
|
4
|
+
"toolVersion": "7.18.9",
|
|
5
5
|
"schemaVersion": 1004,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -183,6 +183,10 @@
|
|
|
183
183
|
"text": "NamedModel",
|
|
184
184
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
185
185
|
},
|
|
186
|
+
{
|
|
187
|
+
"kind": "Content",
|
|
188
|
+
"text": "<'Banner'>"
|
|
189
|
+
},
|
|
186
190
|
{
|
|
187
191
|
"kind": "Content",
|
|
188
192
|
"text": ", "
|
|
@@ -317,11 +321,11 @@
|
|
|
317
321
|
"extendsTokenRanges": [
|
|
318
322
|
{
|
|
319
323
|
"startIndex": 1,
|
|
320
|
-
"endIndex":
|
|
324
|
+
"endIndex": 3
|
|
321
325
|
},
|
|
322
326
|
{
|
|
323
|
-
"startIndex":
|
|
324
|
-
"endIndex":
|
|
327
|
+
"startIndex": 4,
|
|
328
|
+
"endIndex": 6
|
|
325
329
|
}
|
|
326
330
|
]
|
|
327
331
|
},
|
|
@@ -1438,7 +1442,7 @@
|
|
|
1438
1442
|
},
|
|
1439
1443
|
{
|
|
1440
1444
|
"kind": "Content",
|
|
1441
|
-
"text": " "
|
|
1445
|
+
"text": "<'HistoryQuery'> "
|
|
1442
1446
|
}
|
|
1443
1447
|
],
|
|
1444
1448
|
"releaseTag": "Public",
|
|
@@ -2274,6 +2278,10 @@
|
|
|
2274
2278
|
"text": "NamedModel",
|
|
2275
2279
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
2276
2280
|
},
|
|
2281
|
+
{
|
|
2282
|
+
"kind": "Content",
|
|
2283
|
+
"text": "<'NextQueries'>"
|
|
2284
|
+
},
|
|
2277
2285
|
{
|
|
2278
2286
|
"kind": "Content",
|
|
2279
2287
|
"text": ", "
|
|
@@ -2326,11 +2334,11 @@
|
|
|
2326
2334
|
"extendsTokenRanges": [
|
|
2327
2335
|
{
|
|
2328
2336
|
"startIndex": 1,
|
|
2329
|
-
"endIndex":
|
|
2337
|
+
"endIndex": 3
|
|
2330
2338
|
},
|
|
2331
2339
|
{
|
|
2332
|
-
"startIndex":
|
|
2333
|
-
"endIndex":
|
|
2340
|
+
"startIndex": 4,
|
|
2341
|
+
"endIndex": 6
|
|
2334
2342
|
}
|
|
2335
2343
|
]
|
|
2336
2344
|
},
|
|
@@ -2348,6 +2356,10 @@
|
|
|
2348
2356
|
"text": "NamedModel",
|
|
2349
2357
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
2350
2358
|
},
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "Content",
|
|
2361
|
+
"text": "<'NextQuery'>"
|
|
2362
|
+
},
|
|
2351
2363
|
{
|
|
2352
2364
|
"kind": "Content",
|
|
2353
2365
|
"text": ", "
|
|
@@ -2377,11 +2389,11 @@
|
|
|
2377
2389
|
"extendsTokenRanges": [
|
|
2378
2390
|
{
|
|
2379
2391
|
"startIndex": 1,
|
|
2380
|
-
"endIndex":
|
|
2392
|
+
"endIndex": 3
|
|
2381
2393
|
},
|
|
2382
2394
|
{
|
|
2383
|
-
"startIndex":
|
|
2384
|
-
"endIndex":
|
|
2395
|
+
"startIndex": 4,
|
|
2396
|
+
"endIndex": 8
|
|
2385
2397
|
}
|
|
2386
2398
|
]
|
|
2387
2399
|
},
|
|
@@ -2852,6 +2864,10 @@
|
|
|
2852
2864
|
"text": "NamedModel",
|
|
2853
2865
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
2854
2866
|
},
|
|
2867
|
+
{
|
|
2868
|
+
"kind": "Content",
|
|
2869
|
+
"text": "<'Promoted'>"
|
|
2870
|
+
},
|
|
2855
2871
|
{
|
|
2856
2872
|
"kind": "Content",
|
|
2857
2873
|
"text": ", "
|
|
@@ -2986,11 +3002,11 @@
|
|
|
2986
3002
|
"extendsTokenRanges": [
|
|
2987
3003
|
{
|
|
2988
3004
|
"startIndex": 1,
|
|
2989
|
-
"endIndex":
|
|
3005
|
+
"endIndex": 3
|
|
2990
3006
|
},
|
|
2991
3007
|
{
|
|
2992
|
-
"startIndex":
|
|
2993
|
-
"endIndex":
|
|
3008
|
+
"startIndex": 4,
|
|
3009
|
+
"endIndex": 6
|
|
2994
3010
|
}
|
|
2995
3011
|
]
|
|
2996
3012
|
},
|
|
@@ -3380,6 +3396,10 @@
|
|
|
3380
3396
|
"text": "NamedModel",
|
|
3381
3397
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
3382
3398
|
},
|
|
3399
|
+
{
|
|
3400
|
+
"kind": "Content",
|
|
3401
|
+
"text": "<'RelatedTag'>"
|
|
3402
|
+
},
|
|
3383
3403
|
{
|
|
3384
3404
|
"kind": "Content",
|
|
3385
3405
|
"text": ", "
|
|
@@ -3479,11 +3499,11 @@
|
|
|
3479
3499
|
"extendsTokenRanges": [
|
|
3480
3500
|
{
|
|
3481
3501
|
"startIndex": 1,
|
|
3482
|
-
"endIndex":
|
|
3502
|
+
"endIndex": 3
|
|
3483
3503
|
},
|
|
3484
3504
|
{
|
|
3485
|
-
"startIndex":
|
|
3486
|
-
"endIndex":
|
|
3505
|
+
"startIndex": 4,
|
|
3506
|
+
"endIndex": 6
|
|
3487
3507
|
}
|
|
3488
3508
|
]
|
|
3489
3509
|
},
|
|
@@ -3523,6 +3543,10 @@
|
|
|
3523
3543
|
"text": "NamedModel",
|
|
3524
3544
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
3525
3545
|
},
|
|
3546
|
+
{
|
|
3547
|
+
"kind": "Content",
|
|
3548
|
+
"text": "<'Result'>"
|
|
3549
|
+
},
|
|
3526
3550
|
{
|
|
3527
3551
|
"kind": "Content",
|
|
3528
3552
|
"text": ", "
|
|
@@ -3782,11 +3806,11 @@
|
|
|
3782
3806
|
"extendsTokenRanges": [
|
|
3783
3807
|
{
|
|
3784
3808
|
"startIndex": 1,
|
|
3785
|
-
"endIndex":
|
|
3809
|
+
"endIndex": 3
|
|
3786
3810
|
},
|
|
3787
3811
|
{
|
|
3788
|
-
"startIndex":
|
|
3789
|
-
"endIndex":
|
|
3812
|
+
"startIndex": 4,
|
|
3813
|
+
"endIndex": 6
|
|
3790
3814
|
}
|
|
3791
3815
|
]
|
|
3792
3816
|
},
|
|
@@ -4356,6 +4380,10 @@
|
|
|
4356
4380
|
"text": "NamedModel",
|
|
4357
4381
|
"canonicalReference": "@empathyco/x-types!NamedModel:interface"
|
|
4358
4382
|
},
|
|
4383
|
+
{
|
|
4384
|
+
"kind": "Content",
|
|
4385
|
+
"text": "<'QuerySuggestion' | 'PopularSearch'>"
|
|
4386
|
+
},
|
|
4359
4387
|
{
|
|
4360
4388
|
"kind": "Content",
|
|
4361
4389
|
"text": ", "
|
|
@@ -4434,11 +4462,11 @@
|
|
|
4434
4462
|
"extendsTokenRanges": [
|
|
4435
4463
|
{
|
|
4436
4464
|
"startIndex": 1,
|
|
4437
|
-
"endIndex":
|
|
4465
|
+
"endIndex": 3
|
|
4438
4466
|
},
|
|
4439
4467
|
{
|
|
4440
|
-
"startIndex":
|
|
4441
|
-
"endIndex":
|
|
4468
|
+
"startIndex": 4,
|
|
4469
|
+
"endIndex": 6
|
|
4442
4470
|
}
|
|
4443
4471
|
]
|
|
4444
4472
|
},
|
package/search/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { fetchSearchResponse } from '../js/x-modules/search/store/actions/fetch-
|
|
|
3
3
|
export { request as searchRequest } from '../js/x-modules/search/store/getters/request.getter.js';
|
|
4
4
|
export { searchXStoreModule } from '../js/x-modules/search/store/module.js';
|
|
5
5
|
export { searchEmitters } from '../js/x-modules/search/store/emitters.js';
|
|
6
|
-
export { cancelFetchAndSaveSearchResponseWire, fetchAndSaveSearchResponseWire, increasePageAppendingResults, resetFacets, resetPage, resetSort, resetSpellcheckQuery, searchWiring, setOrigin, setPage, setPageSize, setRelatedTags, setSearchExtraParams, setSearchQuery, setSelectedFilters, setSort } from '../js/x-modules/search/wiring.js';
|
|
6
|
+
export { cancelFetchAndSaveSearchResponseWire, fetchAndSaveSearchResponseWire, increasePageAppendingResults, resetFacets, resetPage, resetSort, resetSpellcheckQuery, searchWiring, setOrigin, setPage, setPageSize, setRelatedTags, setSearchExtraParams, setSearchQuery, setSearchQueryFromUrl, setSelectedFilters, setSort } from '../js/x-modules/search/wiring.js';
|
|
7
7
|
export { searchXModule } from '../js/x-modules/search/x-module.js';
|
|
8
8
|
export { default as ResultsList } from '../js/x-modules/search/components/results-list.vue.js';
|
|
9
9
|
export { default as Banner } from '../js/x-modules/search/components/banner.vue.js';
|
package/search-box/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { searchBoxXStoreModule } from '../js/x-modules/search-box/store/module.js';
|
|
2
2
|
export { searchBoxEmitters } from '../js/x-modules/search-box/store/emitters.js';
|
|
3
|
-
export { searchBoxWiring } from '../js/x-modules/search-box/wiring.js';
|
|
3
|
+
export { searchBoxWiring, setQueryFromUrl } from '../js/x-modules/search-box/wiring.js';
|
|
4
4
|
export { searchBoxXModule } from '../js/x-modules/search-box/x-module.js';
|
|
5
5
|
export { default as ClearSearchInput } from '../js/x-modules/search-box/components/clear-search-input.vue.js';
|
|
6
6
|
export { default as SearchButton } from '../js/x-modules/search-box/components/search-button.vue.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a transition wrapping the element passed in the default slo. The transition
|
|
4
|
+
* fades between the two toggled elements at the same time.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export default class CrossFade extends Vue {
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=cross-fade.vue?rollup-plugin-vue=script.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cross-fade.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/animations/cross-fade.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAQA,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,GAAG;CAAG"}
|
|
@@ -2,8 +2,10 @@ export { default as AnimateWidth } from './animate-width.vue';
|
|
|
2
2
|
export { default as CollapseFromTop } from './collapse-from-top.vue';
|
|
3
3
|
export { default as CollapseHeight } from './collapse-height.vue';
|
|
4
4
|
export { default as CollapseWidth } from './collapse-width.vue';
|
|
5
|
+
export { default as CrossFade } from './cross-fade.vue';
|
|
5
6
|
export { default as FadeAndSlide } from './fade-and-slide.vue';
|
|
6
7
|
export { default as StaggeredFadeAndSlide } from './staggered-fade-and-slide.vue';
|
|
8
|
+
export { default as TranslateFromLeft } from './translate-from-left.vue';
|
|
7
9
|
export { default as TranslateFromRight } from './translate-from-right.vue';
|
|
8
10
|
export { createCollapseAnimationMixin } from './animations.mixin';
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/animations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/animations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a transition wrapping the element passed in the default slot and moving it to its
|
|
4
|
+
* desired position.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export default class TranslateFromLeft extends Vue {
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=translate-from-left.vue?rollup-plugin-vue=script.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate-from-left.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/animations/translate-from-left.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAQA,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,GAAG;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* Renders a transition
|
|
4
|
-
*
|
|
3
|
+
* Renders a transition wrapping the element passed in the default slot and moving it to its
|
|
4
|
+
* desired position.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -6,6 +6,13 @@ import Vue from 'vue';
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export default class BaseResultImage extends Vue {
|
|
9
|
+
/**
|
|
10
|
+
* Animation to use when switching between the placeholder, the loaded image, or the failed
|
|
11
|
+
* image fallback.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
animation: string | typeof Vue;
|
|
9
16
|
/**
|
|
10
17
|
* The image has entered in the port view.
|
|
11
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-result-image.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/result/base-result-image.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base-result-image.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/result/base-result-image.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB;;;;GAIG;AAMH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,GAAG;IAC9C;;;;;OAKG;IAEI,SAAS,EAAG,MAAM,GAAG,OAAO,GAAG,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,cAAc,UAAS;IACjC;;;;OAIG;IACH,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,CAAM;IACtC;;;;OAIG;IACI,KAAK,EAAG;QAAE,KAAK,EAAE,WAAW,CAAA;KAAE,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,cAAc,UAAS;IAEjC;;;;OAIG;IAEH,SAAS,CAAC,MAAM,EAAG,MAAM,CAAC;IAE1B;;;;;;OAMG;IACH,SAAS,KAAK,+BAA+B,IAAI,OAAO,CAEvD;IAED,OAAO,IAAI,IAAI;IAOf;;;;;;OAMG;IACH,SAAS,KAAK,QAAQ,IAAI,MAAM,CAM/B;IAED;;;;OAIG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI;IAMhC;;;;;;;OAOG;IACH,SAAS,CAAC,eAAe,CACvB,OAAO,EAAE,yBAAyB,EAAE,EACpC,QAAQ,EAAE,oBAAoB,GAC7B,IAAI;IASP;;;;OAIG;IACH,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAInC;;;;;;OAMG;IACH,SAAS,KAAK,kBAAkB,IAAI,OAAO,CAE1C;IAED;;;;OAIG;IACH,SAAS,CAAC,eAAe,IAAI,IAAI;CAGlC"}
|
package/types/utils/string.d.ts
CHANGED
|
@@ -21,4 +21,17 @@ export declare function isStringEmpty(str?: string | null): boolean;
|
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
export declare function toKebabCase(str: string): string;
|
|
24
|
+
/**
|
|
25
|
+
* Util to capitalize a string .
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* Transforms `query` into `Query`
|
|
29
|
+
*
|
|
30
|
+
* @param str - String value.
|
|
31
|
+
*
|
|
32
|
+
* @returns Returns the string capitalized.
|
|
33
|
+
*
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare function capitalize(str: string): string;
|
|
24
37
|
//# sourceMappingURL=string.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/utils/string.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAE1D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAK/C"}
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/utils/string.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAE1D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAK/C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Dictionary } from '../../utils/types';
|
|
2
|
+
import { UrlParamValue } from '../url/store/types';
|
|
1
3
|
/**
|
|
2
4
|
* Cancels the {@link SearchActions.fetchAndSaveSearchResponse} request promise.
|
|
3
5
|
*
|
|
@@ -46,6 +48,12 @@ export declare const setSelectedFilters: import("../..").Wire<import("@empathyco
|
|
|
46
48
|
* @public
|
|
47
49
|
*/
|
|
48
50
|
export declare const setSort: import("../..").Wire<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the search state `query`.
|
|
53
|
+
*
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export declare const setSearchQueryFromUrl: import("../..").Wire<Dictionary<UrlParamValue>>;
|
|
49
57
|
/**
|
|
50
58
|
* Sets the search state `page`.
|
|
51
59
|
*
|
|
@@ -57,7 +65,7 @@ export declare const setPage: import("../..").Wire<number>;
|
|
|
57
65
|
*
|
|
58
66
|
* @public
|
|
59
67
|
*/
|
|
60
|
-
export declare const setSearchExtraParams: import("../..").Wire<
|
|
68
|
+
export declare const setSearchExtraParams: import("../..").Wire<Dictionary<unknown>>;
|
|
61
69
|
/**
|
|
62
70
|
* Increases the current search state `page` by one.
|
|
63
71
|
*
|
|
@@ -133,10 +141,13 @@ export declare const searchWiring: {
|
|
|
133
141
|
increasePageAppendingResults: import("../..").AnyWire;
|
|
134
142
|
};
|
|
135
143
|
ExtraParamsChanged: {
|
|
136
|
-
setSearchExtraParams: import("../..").Wire<
|
|
144
|
+
setSearchExtraParams: import("../..").Wire<Dictionary<unknown>>;
|
|
137
145
|
resetPage: import("../..").AnyWire;
|
|
138
146
|
resetSort: import("../..").AnyWire;
|
|
139
147
|
resetFacets: import("../..").AnyWire;
|
|
140
148
|
};
|
|
149
|
+
ParamsLoadedFromUrl: {
|
|
150
|
+
setSearchQueryFromUrl: import("../..").Wire<Dictionary<UrlParamValue>>;
|
|
151
|
+
};
|
|
141
152
|
};
|
|
142
153
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/wiring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAO/C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAsBnD;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,yBAEhD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,yBAA6D,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,yBAE1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,yBAAkC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,cAAc,iEAA+B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,cAAc,8BAAyB,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,6DAAmC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,OAAO,8BAAwB,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,iDAGjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,8BAAwB,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,2CAA0B,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,yBAExC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,8BAA4B,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,SAAS,yBAA2B,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,SAAS,yBAA4B,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,WAAW,yBAA8B,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDvB,CAAC"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { Dictionary } from '../../utils/types';
|
|
2
|
+
import { UrlParamValue } from '../url/store/types';
|
|
3
|
+
/**
|
|
4
|
+
* Sets the search state `sort`.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare const setQueryFromUrl: import("../..").Wire<Dictionary<UrlParamValue>>;
|
|
1
9
|
/**
|
|
2
10
|
* SearchBox wiring.
|
|
3
11
|
*
|
|
@@ -13,5 +21,8 @@ export declare const searchBoxWiring: {
|
|
|
13
21
|
UserPressedClearSearchBoxButton: {
|
|
14
22
|
clearSearchBoxQuery: import("../..").AnyWire;
|
|
15
23
|
};
|
|
24
|
+
ParamsLoadedFromUrl: {
|
|
25
|
+
setQueryFromUrl: import("../..").Wire<Dictionary<UrlParamValue>>;
|
|
26
|
+
};
|
|
16
27
|
};
|
|
17
28
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search-box/wiring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search-box/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AA6BnD;;;;GAIG;AACH,eAAO,MAAM,eAAe,iDAG3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAa1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -17,6 +17,11 @@ export interface UrlXEvents {
|
|
|
17
17
|
* * Payload: The new URL params.
|
|
18
18
|
*/
|
|
19
19
|
UrlStateChanged: UrlGetters['urlParams'];
|
|
20
|
+
/**
|
|
21
|
+
* Url loaded from the url changed.
|
|
22
|
+
* * Payload: The new URL params.
|
|
23
|
+
*/
|
|
24
|
+
ParamsLoadedFromUrl: UrlGetters['urlParams'];
|
|
20
25
|
/**
|
|
21
26
|
* Document has finished loading.
|
|
22
27
|
* * Payload: none.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/url/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,iBAAiB,EAAE,SAAS,CAAC;IAC7B;;;OAGG;IACH,eAAe,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IACzC;;;OAGG;IACH,cAAc,EAAE,IAAI,CAAC;IACrB;;;OAGG;IACH,sBAAsB,EAAE,IAAI,CAAC;IAC7B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,EAAE,CAAC;CACpC"}
|
|
1
|
+
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/url/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,iBAAiB,EAAE,SAAS,CAAC;IAC7B;;;OAGG;IACH,eAAe,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IACzC;;;OAGG;IACH,mBAAmB,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAC7C;;;OAGG;IACH,cAAc,EAAE,IAAI,CAAC;IACrB;;;OAGG;IACH,sBAAsB,EAAE,IAAI,CAAC;IAC7B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,EAAE,CAAC;CACpC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UrlXStoreModule } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Default implementation for the {@link UrlActions.updateStoreFromUrl }.
|
|
4
|
+
*
|
|
5
|
+
* @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,
|
|
6
|
+
* provided by Vuex.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare const updateStoreFromUrl: UrlXStoreModule['actions']['updateStoreFromUrl'];
|
|
11
|
+
//# sourceMappingURL=update-store-from-url.action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-store-from-url.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/url/store/actions/update-store-from-url.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsC,eAAe,EAAE,MAAM,UAAU,CAAC;AAE/E;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC,oBAAoB,CA2B/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-url.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/url/store/actions/update-url.action.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-url.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/url/store/actions/update-url.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,eAAe,EAAE,MAAM,UAAU,CAAC;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC,WAAW,CAgC7D,CAAC"}
|
|
@@ -9,4 +9,4 @@ import { UrlXStoreModule } from '../types';
|
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
export declare const urlMappedParamNames: UrlXStoreModule['getters']['urlMappedParamNames'];
|
|
12
|
-
//# sourceMappingURL=url-param-names.getter.d.ts.map
|
|
12
|
+
//# sourceMappingURL=url-mapped-param-names.getter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-mapped-param-names.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/url/store/getters/url-mapped-param-names.getter.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,eAAe,EAAE,MAAM,UAAU,CAAC;AAGxD;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAajF,CAAC"}
|