@empathyco/x-components 3.0.0-alpha.75 → 3.0.0-alpha.78
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 +40 -0
- package/README.md +27 -8
- package/core/index.js +0 -1
- package/core/index.js.map +1 -1
- package/design-system/default-theme.css +73 -73
- package/design-system/full-theme.css +54 -55
- package/docs/API-reference/api/x-components.actionstree.md +1 -1
- package/docs/API-reference/api/x-components.anyactionstree.md +1 -1
- package/docs/API-reference/api/x-components.anygetterstree.md +1 -1
- package/docs/API-reference/api/x-components.anymutationstree.md +1 -1
- package/docs/API-reference/api/x-components.compilemessage.md +1 -1
- package/docs/API-reference/api/x-components.debounce.md +1 -1
- package/docs/API-reference/api/x-components.deeppartial.md +1 -1
- package/docs/API-reference/api/x-components.extraparams.md +2 -2
- package/docs/API-reference/api/x-components.extraparamsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsstate.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsxevents.md +4 -4
- package/docs/API-reference/api/x-components.firstparameter.md +0 -2
- package/docs/API-reference/api/x-components.getterstree.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsstate.md +1 -1
- package/docs/API-reference/api/x-components.md +0 -11
- package/docs/API-reference/api/x-components.mutationstree.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesstate.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesstate.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsstate.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsstate.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsstate.md +1 -1
- package/docs/API-reference/api/x-components.renderlessextraparams.md +1 -1
- package/docs/API-reference/api/x-components.returns.md +0 -2
- package/docs/API-reference/api/x-components.scrollstate.md +1 -1
- package/docs/API-reference/api/x-components.searchmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.searchstate.md +2 -2
- package/docs/API-reference/api/x-components.setextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setidentifierresultsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setinitialextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setnextqueriesextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setpopularsearchesextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setquerysuggestionsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setrecommendationsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setrelatedtagsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setsearchextraparams.md +1 -1
- package/docs/API-reference/api/x-components.simplestateselector.md +0 -2
- package/docs/API-reference/api/x-components.snippetconfigextraparams.md +1 -1
- package/docs/API-reference/api/x-components.urlhandler.md +1 -1
- package/docs/API-reference/api/x-components.urlmutations.setinitialextraparams.md +1 -1
- package/docs/API-reference/api/x-components.urlstate.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.extraparamsloadedfromurl.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.md +1 -1
- package/docs/API-reference/api/x-components.vuecssclasses.md +0 -2
- package/docs/API-reference/api/x-components.wiring.md +1 -1
- package/js/components/decorators/bus.decorators.js.map +1 -1
- package/js/components/decorators/debounce.decorators.js.map +1 -1
- package/js/components/global-x-bus.vue.js.map +1 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/filters/compile-message.filter.js.map +1 -1
- package/js/index.js +0 -1
- package/js/index.js.map +1 -1
- package/js/plugins/x-emitters.js +1 -1
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/plugins/x-plugin.js +1 -2
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/store/utils/getters-proxy.utils.js +1 -1
- package/js/store/utils/getters-proxy.utils.js.map +1 -1
- package/js/store/utils/store-emitters.utils.js.map +1 -1
- package/js/x-installer/x-installer/x-installer.js +1 -1
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js +1 -2
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue.js +2 -2
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/search/store/actions/reset-state.action.js +1 -1
- package/js/x-modules/search/store/actions/reset-state.action.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
- package/package.json +5 -4
- package/report/x-components.api.json +75 -843
- package/report/x-components.api.md +3 -33
- package/types/components/decorators/bus.decorators.d.ts.map +1 -1
- package/types/components/decorators/debounce.decorators.d.ts +2 -1
- package/types/components/decorators/debounce.decorators.d.ts.map +1 -1
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestion.vue.d.ts.map +1 -1
- package/types/filters/compile-message.filter.d.ts +1 -1
- package/types/filters/compile-message.filter.d.ts.map +1 -1
- package/types/plugins/x-emitters.d.ts.map +1 -1
- package/types/plugins/x-plugin.d.ts.map +1 -1
- package/types/store/actions.types.d.ts +2 -1
- package/types/store/actions.types.d.ts.map +1 -1
- package/types/store/getters.types.d.ts +1 -1
- package/types/store/getters.types.d.ts.map +1 -1
- package/types/store/mutations.types.d.ts +1 -1
- package/types/store/mutations.types.d.ts.map +1 -1
- package/types/store/utils/getters-proxy.utils.d.ts.map +1 -1
- package/types/store/utils/store-emitters.utils.d.ts +2 -1
- package/types/store/utils/store-emitters.utils.d.ts.map +1 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/types.d.ts +1 -26
- package/types/utils/types.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +2 -1
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/events.types.d.ts +1 -1
- package/types/x-modules/extra-params/events.types.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/emitters.d.ts +1 -1
- package/types/x-modules/extra-params/store/types.d.ts +1 -1
- package/types/x-modules/extra-params/store/types.d.ts.map +1 -1
- package/types/x-modules/extra-params/wiring.d.ts +4 -4
- package/types/x-modules/extra-params/wiring.d.ts.map +1 -1
- package/types/x-modules/facets/components/facets/facets.vue.d.ts +1 -1
- package/types/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts +2 -2
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +1 -1
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/wiring.d.ts +2 -2
- package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/wiring.d.ts +2 -2
- package/types/x-modules/popular-searches/wiring.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/wiring.d.ts +2 -2
- package/types/x-modules/query-suggestions/wiring.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/types.d.ts +1 -1
- package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
- package/types/x-modules/recommendations/wiring.d.ts +2 -2
- package/types/x-modules/recommendations/wiring.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +1 -1
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts +2 -2
- package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +1 -1
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/store/types.d.ts +1 -1
- package/types/x-modules/scroll/store/types.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +1 -1
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +2 -2
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/types/x-modules/url/events.types.d.ts +3 -2
- package/types/x-modules/url/events.types.d.ts.map +1 -1
- package/types/x-modules/url/store/types.d.ts +1 -1
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts +2 -2
- package/types/x-modules/url/wiring.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.anyfunction.md +0 -13
- package/docs/API-reference/api/x-components.cleanundefined.md +0 -26
- package/docs/API-reference/api/x-components.dictionary.md +0 -13
- package/docs/API-reference/api/x-components.every.md +0 -27
- package/docs/API-reference/api/x-components.foreach.md +0 -25
- package/docs/API-reference/api/x-components.getnewandupdatedkeys.md +0 -27
- package/docs/API-reference/api/x-components.map.md +0 -27
- package/docs/API-reference/api/x-components.nonprimitive.md +0 -13
- package/docs/API-reference/api/x-components.objectfilter.md +0 -27
- package/docs/API-reference/api/x-components.primitive.md +0 -15
- package/docs/API-reference/api/x-components.reduce.md +0 -28
- package/js/utils/object.js +0 -115
- package/js/utils/object.js.map +0 -1
- package/types/utils/object.d.ts +0 -70
- package/types/utils/object.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,46 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.78](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.77...@empathyco/x-components@3.0.0-alpha.78) (2022-04-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
9
|
+
|
|
10
|
+
# Change Log
|
|
11
|
+
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
|
+
|
|
15
|
+
## [3.0.0-alpha.77](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.76...@empathyco/x-components@3.0.0-alpha.77) (2022-04-01)
|
|
16
|
+
|
|
17
|
+
### Code Refactoring
|
|
18
|
+
|
|
19
|
+
- move `object` utils from `x-components` to `x-utils`
|
|
20
|
+
([512b350](https://github.com/empathyco/x/commit/512b350da4a3dd73ddbd78a7b2965a1e07735a8e)),
|
|
21
|
+
closes [EX-5793](https://searchbroker.atlassian.net/browse/EX-5793)
|
|
22
|
+
|
|
23
|
+
# Change Log
|
|
24
|
+
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
|
+
|
|
28
|
+
## [3.0.0-alpha.76](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.75...@empathyco/x-components@3.0.0-alpha.76) (2022-04-01)
|
|
29
|
+
|
|
30
|
+
### Code Refactoring
|
|
31
|
+
|
|
32
|
+
- move `NonPrimitive`, `Primitive` and `AnyFunction` types from `x-components` to `x-utils`
|
|
33
|
+
([7efe460](https://github.com/empathyco/x/commit/7efe4605303492e2de6f42d844f1c3244e0bcef1)),
|
|
34
|
+
closes [EX-5792](https://searchbroker.atlassian.net/browse/EX-5792)
|
|
35
|
+
|
|
36
|
+
### Documentation
|
|
37
|
+
|
|
38
|
+
- fix links and update repository information and development setup for `x-components` (#394)
|
|
39
|
+
([64d2118](https://github.com/empathyco/x/commit/64d2118f95673048df7e1a791ec3ae26da316ec9))
|
|
40
|
+
|
|
41
|
+
# Change Log
|
|
42
|
+
|
|
43
|
+
All notable changes to this project will be documented in this file. See
|
|
44
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
45
|
+
|
|
6
46
|
## [3.0.0-alpha.75](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.74...@empathyco/x-components@3.0.0-alpha.75) (2022-03-31)
|
|
7
47
|
|
|
8
48
|
**Note:** Version bump only for package @empathyco/x-components
|
package/README.md
CHANGED
|
@@ -1,14 +1,33 @@
|
|
|
1
1
|
# X Components
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
This is a library based on components, it offers you the possibility to combine them in different
|
|
4
|
+
ways to create your own search experience. These components can be used even if you don't want to
|
|
5
|
+
build a search experience, they can be used to build a regular application but taking advantage of
|
|
6
|
+
their flexibility.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
[X Components]()
|
|
8
|
+
## Set up development environment
|
|
10
9
|
|
|
11
|
-
###
|
|
10
|
+
### Local setup
|
|
11
|
+
|
|
12
|
+
To start contributing on this project you need to understand how to see the X Components up and
|
|
13
|
+
running.
|
|
14
|
+
|
|
15
|
+
1. run `npm ci` at the project root
|
|
16
|
+
2. set `packages/x-components` as working directory at the terminal
|
|
17
|
+
3. run `npm run serve`
|
|
18
|
+
|
|
19
|
+
The app will be launch in localhost. Every view available at the top tabs is set in
|
|
20
|
+
`packages/x-components/src/router.ts`.
|
|
21
|
+
|
|
22
|
+
The main tab is `Home`, pressing start you will see the contents of
|
|
23
|
+
`packages/x-components/src/views/home/Home.vue` with most of the X Components presents on the view.
|
|
24
|
+
|
|
25
|
+
### Use the X Components in your own project
|
|
26
|
+
|
|
27
|
+
A documentation about how to install and use X components can be found
|
|
28
|
+
[here](https://docs.empathy.co/develop-empathy-platform/build-search-ui/web-x-components-integration-guide.html).
|
|
29
|
+
|
|
30
|
+
## Contributing
|
|
12
31
|
|
|
13
32
|
To start contributing to project, please take a look to our
|
|
14
|
-
[Contributing
|
|
33
|
+
[Contributing Guidelines](CONTRIBUTING.md) for Interface X Components.
|
package/core/index.js
CHANGED
|
@@ -136,7 +136,6 @@ export { getURLParameter } from '../js/utils/get-url-parameters.js';
|
|
|
136
136
|
export { isElementEqualOrContained } from '../js/utils/html.js';
|
|
137
137
|
export { normalizeString } from '../js/utils/normalize.js';
|
|
138
138
|
export { isInRange } from '../js/utils/number.js';
|
|
139
|
-
export { cleanUndefined, every, forEach, getNewAndUpdatedKeys, map, objectFilter, reduce } from '../js/utils/object.js';
|
|
140
139
|
export { createOrigin } from '../js/utils/origin.js';
|
|
141
140
|
export { sanitize } from '../js/utils/sanitize.js';
|
|
142
141
|
export { localStorageService } from '../js/utils/storage.js';
|
package/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -238,6 +238,79 @@
|
|
|
238
238
|
--x-string-overflow-dropdown-toggle-default: hidden;
|
|
239
239
|
--x-string-overflow-dropdown-list-default: hidden;
|
|
240
240
|
}
|
|
241
|
+
:root {
|
|
242
|
+
--x-size-border-radius-dropdown-default: var(--x-size-border-radius-base-none);
|
|
243
|
+
--x-size-border-radius-top-left-dropdown-default: var(--x-size-border-radius-dropdown-default);
|
|
244
|
+
--x-size-border-radius-top-right-dropdown-default: var(--x-size-border-radius-dropdown-default);
|
|
245
|
+
--x-size-border-radius-bottom-right-dropdown-default: var(
|
|
246
|
+
--x-size-border-radius-dropdown-default
|
|
247
|
+
);
|
|
248
|
+
--x-size-border-radius-bottom-left-dropdown-default: var(--x-size-border-radius-dropdown-default);
|
|
249
|
+
--x-size-border-width-dropdown-toggle-default: var(--x-size-border-width-base);
|
|
250
|
+
--x-size-border-width-top-dropdown-toggle-default: var(
|
|
251
|
+
--x-size-border-width-dropdown-toggle-default
|
|
252
|
+
);
|
|
253
|
+
--x-size-border-width-right-dropdown-toggle-default: var(
|
|
254
|
+
--x-size-border-width-dropdown-toggle-default
|
|
255
|
+
);
|
|
256
|
+
--x-size-border-width-bottom-dropdown-toggle-default: var(
|
|
257
|
+
--x-size-border-width-dropdown-toggle-default
|
|
258
|
+
);
|
|
259
|
+
--x-size-border-width-left-dropdown-toggle-default: var(
|
|
260
|
+
--x-size-border-width-dropdown-toggle-default
|
|
261
|
+
);
|
|
262
|
+
--x-size-border-width-dropdown-list-default: var(--x-size-border-width-base);
|
|
263
|
+
--x-size-border-width-top-dropdown-list-default: 0;
|
|
264
|
+
--x-size-border-width-right-dropdown-list-default: var(
|
|
265
|
+
--x-size-border-width-dropdown-list-default
|
|
266
|
+
);
|
|
267
|
+
--x-size-border-width-bottom-dropdown-list-default: var(
|
|
268
|
+
--x-size-border-width-dropdown-list-default
|
|
269
|
+
);
|
|
270
|
+
--x-size-border-width-left-dropdown-list-default: var(
|
|
271
|
+
--x-size-border-width-dropdown-list-default
|
|
272
|
+
);
|
|
273
|
+
--x-color-border-dropdown-toggle-default: var(--x-color-base-neutral-95);
|
|
274
|
+
--x-color-border-dropdown-list-default: var(--x-color-border-dropdown-toggle-default);
|
|
275
|
+
--x-color-background-dropdown-default: var(--x-color-base-neutral-100);
|
|
276
|
+
--x-color-background-dropdown-toggle-default: var(--x-color-base-neutral-100);
|
|
277
|
+
--x-color-background-dropdown-toggle-open-default: var(
|
|
278
|
+
--x-color-background-dropdown-toggle-default
|
|
279
|
+
);
|
|
280
|
+
--x-color-background-dropdown-item-default-selected: var(--x-color-base-neutral-95);
|
|
281
|
+
--x-color-background-dropdown-item-default-hover: var(--x-color-base-neutral-95);
|
|
282
|
+
--x-color-text-dropdown-default: var(--x-color-text-default);
|
|
283
|
+
--x-color-text-dropdown-toggle-default: var(--x-color-text-dropdown-default);
|
|
284
|
+
--x-color-text-dropdown-toggle-default-selected: var(--x-color-base-neutral-35);
|
|
285
|
+
--x-color-text-dropdown-item-default-hover: var(--x-color-base-neutral-35);
|
|
286
|
+
--x-color-text-dropdown-item-default-selected: var(--x-color-text-default);
|
|
287
|
+
--x-font-family-dropdown-default: var(--x-font-family-text);
|
|
288
|
+
--x-size-font-dropdown-default: var(--x-size-font-text);
|
|
289
|
+
--x-size-line-height-dropdown-default: var(--x-size-line-height-text);
|
|
290
|
+
--x-number-font-weight-dropdown-default: var(--x-number-font-weight-base-regular);
|
|
291
|
+
--x-number-font-weight-dropdown-item-default-hover: var(--x-number-font-weight-base-bold);
|
|
292
|
+
--x-number-font-weight-dropdown-item-default-selected: var(--x-number-font-weight-base-regular);
|
|
293
|
+
--x-font-decoration-dropdown-item-default-hover: none;
|
|
294
|
+
--x-font-decoration-dropdown-item-default-selected: none;
|
|
295
|
+
--x-size-width-dropdown-toggle-default: 100%;
|
|
296
|
+
--x-size-min-width-dropdown-list-default: 100%;
|
|
297
|
+
--x-size-gap-dropdown-default: 0;
|
|
298
|
+
--x-size-padding-top-dropdown-toggle-default: var(--x-size-padding-top-dropdown-item-default);
|
|
299
|
+
--x-size-padding-right-dropdown-toggle-default: var(--x-size-padding-right-dropdown-item-default);
|
|
300
|
+
--x-size-padding-bottom-dropdown-toggle-default: var(
|
|
301
|
+
--x-size-padding-bottom-dropdown-item-default
|
|
302
|
+
);
|
|
303
|
+
--x-size-padding-left-dropdown-toggle-default: var(--x-size-padding-left-dropdown-item-default);
|
|
304
|
+
--x-size-padding-vertical-dropdown-list-default: 0;
|
|
305
|
+
--x-size-padding-top-dropdown-item-default: var(--x-size-base-04);
|
|
306
|
+
--x-size-padding-right-dropdown-item-default: var(--x-size-base-05);
|
|
307
|
+
--x-size-padding-bottom-dropdown-item-default: var(--x-size-base-04);
|
|
308
|
+
--x-size-padding-left-dropdown-item-default: var(--x-size-base-05);
|
|
309
|
+
--x-size-gap-dropdown-item-default: var(--x-size-base-03);
|
|
310
|
+
--x-string-box-shadow-dropdown-default: none;
|
|
311
|
+
--x-string-overflow-dropdown-toggle-default: hidden;
|
|
312
|
+
--x-string-overflow-dropdown-list-default: hidden;
|
|
313
|
+
}
|
|
241
314
|
|
|
242
315
|
.x-dropdown {
|
|
243
316
|
box-sizing: border-box;
|
|
@@ -407,79 +480,6 @@
|
|
|
407
480
|
[dir="rtl"] .x-dropdown--right .x-dropdown__items-list {
|
|
408
481
|
left: 0;
|
|
409
482
|
}
|
|
410
|
-
:root {
|
|
411
|
-
--x-size-border-radius-dropdown-default: var(--x-size-border-radius-base-none);
|
|
412
|
-
--x-size-border-radius-top-left-dropdown-default: var(--x-size-border-radius-dropdown-default);
|
|
413
|
-
--x-size-border-radius-top-right-dropdown-default: var(--x-size-border-radius-dropdown-default);
|
|
414
|
-
--x-size-border-radius-bottom-right-dropdown-default: var(
|
|
415
|
-
--x-size-border-radius-dropdown-default
|
|
416
|
-
);
|
|
417
|
-
--x-size-border-radius-bottom-left-dropdown-default: var(--x-size-border-radius-dropdown-default);
|
|
418
|
-
--x-size-border-width-dropdown-toggle-default: var(--x-size-border-width-base);
|
|
419
|
-
--x-size-border-width-top-dropdown-toggle-default: var(
|
|
420
|
-
--x-size-border-width-dropdown-toggle-default
|
|
421
|
-
);
|
|
422
|
-
--x-size-border-width-right-dropdown-toggle-default: var(
|
|
423
|
-
--x-size-border-width-dropdown-toggle-default
|
|
424
|
-
);
|
|
425
|
-
--x-size-border-width-bottom-dropdown-toggle-default: var(
|
|
426
|
-
--x-size-border-width-dropdown-toggle-default
|
|
427
|
-
);
|
|
428
|
-
--x-size-border-width-left-dropdown-toggle-default: var(
|
|
429
|
-
--x-size-border-width-dropdown-toggle-default
|
|
430
|
-
);
|
|
431
|
-
--x-size-border-width-dropdown-list-default: var(--x-size-border-width-base);
|
|
432
|
-
--x-size-border-width-top-dropdown-list-default: 0;
|
|
433
|
-
--x-size-border-width-right-dropdown-list-default: var(
|
|
434
|
-
--x-size-border-width-dropdown-list-default
|
|
435
|
-
);
|
|
436
|
-
--x-size-border-width-bottom-dropdown-list-default: var(
|
|
437
|
-
--x-size-border-width-dropdown-list-default
|
|
438
|
-
);
|
|
439
|
-
--x-size-border-width-left-dropdown-list-default: var(
|
|
440
|
-
--x-size-border-width-dropdown-list-default
|
|
441
|
-
);
|
|
442
|
-
--x-color-border-dropdown-toggle-default: var(--x-color-base-neutral-95);
|
|
443
|
-
--x-color-border-dropdown-list-default: var(--x-color-border-dropdown-toggle-default);
|
|
444
|
-
--x-color-background-dropdown-default: var(--x-color-base-neutral-100);
|
|
445
|
-
--x-color-background-dropdown-toggle-default: var(--x-color-base-neutral-100);
|
|
446
|
-
--x-color-background-dropdown-toggle-open-default: var(
|
|
447
|
-
--x-color-background-dropdown-toggle-default
|
|
448
|
-
);
|
|
449
|
-
--x-color-background-dropdown-item-default-selected: var(--x-color-base-neutral-95);
|
|
450
|
-
--x-color-background-dropdown-item-default-hover: var(--x-color-base-neutral-95);
|
|
451
|
-
--x-color-text-dropdown-default: var(--x-color-text-default);
|
|
452
|
-
--x-color-text-dropdown-toggle-default: var(--x-color-text-dropdown-default);
|
|
453
|
-
--x-color-text-dropdown-toggle-default-selected: var(--x-color-base-neutral-35);
|
|
454
|
-
--x-color-text-dropdown-item-default-hover: var(--x-color-base-neutral-35);
|
|
455
|
-
--x-color-text-dropdown-item-default-selected: var(--x-color-text-default);
|
|
456
|
-
--x-font-family-dropdown-default: var(--x-font-family-text);
|
|
457
|
-
--x-size-font-dropdown-default: var(--x-size-font-text);
|
|
458
|
-
--x-size-line-height-dropdown-default: var(--x-size-line-height-text);
|
|
459
|
-
--x-number-font-weight-dropdown-default: var(--x-number-font-weight-base-regular);
|
|
460
|
-
--x-number-font-weight-dropdown-item-default-hover: var(--x-number-font-weight-base-bold);
|
|
461
|
-
--x-number-font-weight-dropdown-item-default-selected: var(--x-number-font-weight-base-regular);
|
|
462
|
-
--x-font-decoration-dropdown-item-default-hover: none;
|
|
463
|
-
--x-font-decoration-dropdown-item-default-selected: none;
|
|
464
|
-
--x-size-width-dropdown-toggle-default: 100%;
|
|
465
|
-
--x-size-min-width-dropdown-list-default: 100%;
|
|
466
|
-
--x-size-gap-dropdown-default: 0;
|
|
467
|
-
--x-size-padding-top-dropdown-toggle-default: var(--x-size-padding-top-dropdown-item-default);
|
|
468
|
-
--x-size-padding-right-dropdown-toggle-default: var(--x-size-padding-right-dropdown-item-default);
|
|
469
|
-
--x-size-padding-bottom-dropdown-toggle-default: var(
|
|
470
|
-
--x-size-padding-bottom-dropdown-item-default
|
|
471
|
-
);
|
|
472
|
-
--x-size-padding-left-dropdown-toggle-default: var(--x-size-padding-left-dropdown-item-default);
|
|
473
|
-
--x-size-padding-vertical-dropdown-list-default: 0;
|
|
474
|
-
--x-size-padding-top-dropdown-item-default: var(--x-size-base-04);
|
|
475
|
-
--x-size-padding-right-dropdown-item-default: var(--x-size-base-05);
|
|
476
|
-
--x-size-padding-bottom-dropdown-item-default: var(--x-size-base-04);
|
|
477
|
-
--x-size-padding-left-dropdown-item-default: var(--x-size-base-05);
|
|
478
|
-
--x-size-gap-dropdown-item-default: var(--x-size-base-03);
|
|
479
|
-
--x-string-box-shadow-dropdown-default: none;
|
|
480
|
-
--x-string-overflow-dropdown-toggle-default: hidden;
|
|
481
|
-
--x-string-overflow-dropdown-list-default: hidden;
|
|
482
|
-
}
|
|
483
483
|
:root {
|
|
484
484
|
--x-color-background-facet-default: transparent;
|
|
485
485
|
--x-color-border-facet-default: var(--x-color-background-facet-default);
|
|
@@ -680,6 +680,40 @@
|
|
|
680
680
|
:root {
|
|
681
681
|
--x-size-width-dropdown-m: 130px;
|
|
682
682
|
}
|
|
683
|
+
.x-dropdown--pill {
|
|
684
|
+
--x-size-gap-dropdown-default: var(--x-size-gap-dropdown-pill);
|
|
685
|
+
--x-size-border-radius-top-left-dropdown-default: calc(
|
|
686
|
+
var(--x-size-line-height-dropdown-default) / 2 + var(--x-size-padding-top-dropdown-item-default) +
|
|
687
|
+
var(--x-size-border-width-top-dropdown-toggle-default)
|
|
688
|
+
);
|
|
689
|
+
--x-size-border-radius-top-right-dropdown-default: calc(
|
|
690
|
+
var(--x-size-line-height-dropdown-default) / 2 + var(--x-size-padding-top-dropdown-item-default) +
|
|
691
|
+
var(--x-size-border-width-top-dropdown-toggle-default)
|
|
692
|
+
);
|
|
693
|
+
--x-size-border-radius-bottom-right-dropdown-default: calc(
|
|
694
|
+
var(--x-size-line-height-dropdown-default) / 2 +
|
|
695
|
+
var(--x-size-padding-bottom-dropdown-item-default) +
|
|
696
|
+
var(--x-size-border-width-bottom-dropdown-toggle-default)
|
|
697
|
+
);
|
|
698
|
+
--x-size-border-radius-bottom-left-dropdown-default: calc(
|
|
699
|
+
var(--x-size-line-height-dropdown-default) / 2 +
|
|
700
|
+
var(--x-size-padding-bottom-dropdown-item-default) +
|
|
701
|
+
var(--x-size-border-width-bottom-dropdown-toggle-default)
|
|
702
|
+
);
|
|
703
|
+
--x-size-border-width-dropdown-list-default: var(--x-size-border-width-dropdown-list-pill);
|
|
704
|
+
--x-size-border-width-top-dropdown-list-default: var(
|
|
705
|
+
--x-size-border-width-top-dropdown-list-pill
|
|
706
|
+
);
|
|
707
|
+
--x-size-border-width-right-dropdown-list-default: var(
|
|
708
|
+
--x-size-border-width-right-dropdown-list-pill
|
|
709
|
+
);
|
|
710
|
+
--x-size-border-width-bottom-dropdown-list-default: var(
|
|
711
|
+
--x-size-border-width-bottom-dropdown-list-pill
|
|
712
|
+
);
|
|
713
|
+
--x-size-border-width-left-dropdown-list-default: var(
|
|
714
|
+
--x-size-border-width-left-dropdown-list-pill
|
|
715
|
+
);
|
|
716
|
+
}
|
|
683
717
|
:root {
|
|
684
718
|
--x-size-gap-dropdown-pill: var(--x-size-base-03);
|
|
685
719
|
--x-size-border-width-dropdown-list-pill: var(--x-size-border-width-base);
|
|
@@ -864,6 +898,20 @@
|
|
|
864
898
|
--x-size-border-width-bottom-facet-header-line: var(--x-size-border-width-facet-header-line);
|
|
865
899
|
--x-size-border-width-left-facet-header-line: 0;
|
|
866
900
|
}
|
|
901
|
+
.x-facet--outlined.x-facet,
|
|
902
|
+
.x-facet--outlined .x-facet {
|
|
903
|
+
--x-color-border-facet-default: var(--x-color-border-facet-outlined);
|
|
904
|
+
--x-size-border-width-facet-default: var(--x-size-border-width-facet-outlined);
|
|
905
|
+
--x-size-border-width-top-facet-default: var(--x-size-border-width-top-facet-outlined);
|
|
906
|
+
--x-size-border-width-right-facet-default: var(--x-size-border-width-right-facet-outlined);
|
|
907
|
+
--x-size-border-width-bottom-facet-default: var(--x-size-border-width-bottom-facet-outlined);
|
|
908
|
+
--x-size-border-width-left-facet-default: var(--x-size-border-width-left-facet-outlined);
|
|
909
|
+
--x-size-padding-facet-header-default: var(--x-size-padding-facet-header-outlined);
|
|
910
|
+
--x-size-padding-top-facet-header-default: var(--x-size-padding-top-facet-header-outlined);
|
|
911
|
+
--x-size-padding-right-facet-header-default: var(--x-size-padding-right-facet-header-outlined);
|
|
912
|
+
--x-size-padding-bottom-facet-header-default: var(--x-size-padding-bottom-facet-header-outlined);
|
|
913
|
+
--x-size-padding-left-facet-header-default: var(--x-size-padding-left-facet-header-outlined);
|
|
914
|
+
}
|
|
867
915
|
:root {
|
|
868
916
|
--x-color-border-facet-outlined: var(--x-color-base-neutral-70);
|
|
869
917
|
--x-size-border-width-facet-outlined: var(--x-size-border-width-base);
|
|
@@ -1034,20 +1082,6 @@
|
|
|
1034
1082
|
.x-grid--cols-auto .x-grid__item {
|
|
1035
1083
|
min-width: var(--x-size-min-width-grid-item);
|
|
1036
1084
|
}
|
|
1037
|
-
.x-facet--outlined.x-facet,
|
|
1038
|
-
.x-facet--outlined .x-facet {
|
|
1039
|
-
--x-color-border-facet-default: var(--x-color-border-facet-outlined);
|
|
1040
|
-
--x-size-border-width-facet-default: var(--x-size-border-width-facet-outlined);
|
|
1041
|
-
--x-size-border-width-top-facet-default: var(--x-size-border-width-top-facet-outlined);
|
|
1042
|
-
--x-size-border-width-right-facet-default: var(--x-size-border-width-right-facet-outlined);
|
|
1043
|
-
--x-size-border-width-bottom-facet-default: var(--x-size-border-width-bottom-facet-outlined);
|
|
1044
|
-
--x-size-border-width-left-facet-default: var(--x-size-border-width-left-facet-outlined);
|
|
1045
|
-
--x-size-padding-facet-header-default: var(--x-size-padding-facet-header-outlined);
|
|
1046
|
-
--x-size-padding-top-facet-header-default: var(--x-size-padding-top-facet-header-outlined);
|
|
1047
|
-
--x-size-padding-right-facet-header-default: var(--x-size-padding-right-facet-header-outlined);
|
|
1048
|
-
--x-size-padding-bottom-facet-header-default: var(--x-size-padding-bottom-facet-header-outlined);
|
|
1049
|
-
--x-size-padding-left-facet-header-default: var(--x-size-padding-left-facet-header-outlined);
|
|
1050
|
-
}
|
|
1051
1085
|
:root {
|
|
1052
1086
|
--x-size-padding-grid: 0;
|
|
1053
1087
|
--x-size-gap-grid: var(--x-size-base-03);
|
|
@@ -3599,12 +3633,6 @@
|
|
|
3599
3633
|
.x-sliding-panel__scroll > .x-list {
|
|
3600
3634
|
--x-string-flow-list: row nowrap;
|
|
3601
3635
|
}
|
|
3602
|
-
:root {
|
|
3603
|
-
--x-color-background-sliding-panel: var(--x-color-base-neutral-100);
|
|
3604
|
-
--x-size-width-sliding-panel-gradient: var(--x-size-base-09);
|
|
3605
|
-
--x-size-padding-sliding-panel-button: var(--x-size-base-03);
|
|
3606
|
-
--x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
|
|
3607
|
-
}
|
|
3608
3636
|
[dir="ltr"] .x-suggestion-group {
|
|
3609
3637
|
padding-left: var(--x-size-padding-left-suggestion-group-default);
|
|
3610
3638
|
}
|
|
@@ -3696,6 +3724,12 @@
|
|
|
3696
3724
|
--x-size-line-height-suggestion-group-default: var(--x-size-line-height-suggestion-default);
|
|
3697
3725
|
--x-number-font-weight-suggestion-group-default: var(--x-number-font-weight-suggestion-default);
|
|
3698
3726
|
}
|
|
3727
|
+
:root {
|
|
3728
|
+
--x-color-background-sliding-panel: var(--x-color-base-neutral-100);
|
|
3729
|
+
--x-size-width-sliding-panel-gradient: var(--x-size-base-09);
|
|
3730
|
+
--x-size-padding-sliding-panel-button: var(--x-size-base-03);
|
|
3731
|
+
--x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
|
|
3732
|
+
}
|
|
3699
3733
|
[dir="ltr"] .x-suggestion {
|
|
3700
3734
|
text-align: left;
|
|
3701
3735
|
}
|
|
@@ -7532,38 +7566,3 @@
|
|
|
7532
7566
|
.x-normal-case {
|
|
7533
7567
|
text-transform: none;
|
|
7534
7568
|
}
|
|
7535
|
-
|
|
7536
|
-
.x-dropdown--pill {
|
|
7537
|
-
--x-size-gap-dropdown-default: var(--x-size-gap-dropdown-pill);
|
|
7538
|
-
--x-size-border-radius-top-left-dropdown-default: calc(
|
|
7539
|
-
var(--x-size-line-height-dropdown-default) / 2 + var(--x-size-padding-top-dropdown-item-default) +
|
|
7540
|
-
var(--x-size-border-width-top-dropdown-toggle-default)
|
|
7541
|
-
);
|
|
7542
|
-
--x-size-border-radius-top-right-dropdown-default: calc(
|
|
7543
|
-
var(--x-size-line-height-dropdown-default) / 2 + var(--x-size-padding-top-dropdown-item-default) +
|
|
7544
|
-
var(--x-size-border-width-top-dropdown-toggle-default)
|
|
7545
|
-
);
|
|
7546
|
-
--x-size-border-radius-bottom-right-dropdown-default: calc(
|
|
7547
|
-
var(--x-size-line-height-dropdown-default) / 2 +
|
|
7548
|
-
var(--x-size-padding-bottom-dropdown-item-default) +
|
|
7549
|
-
var(--x-size-border-width-bottom-dropdown-toggle-default)
|
|
7550
|
-
);
|
|
7551
|
-
--x-size-border-radius-bottom-left-dropdown-default: calc(
|
|
7552
|
-
var(--x-size-line-height-dropdown-default) / 2 +
|
|
7553
|
-
var(--x-size-padding-bottom-dropdown-item-default) +
|
|
7554
|
-
var(--x-size-border-width-bottom-dropdown-toggle-default)
|
|
7555
|
-
);
|
|
7556
|
-
--x-size-border-width-dropdown-list-default: var(--x-size-border-width-dropdown-list-pill);
|
|
7557
|
-
--x-size-border-width-top-dropdown-list-default: var(
|
|
7558
|
-
--x-size-border-width-top-dropdown-list-pill
|
|
7559
|
-
);
|
|
7560
|
-
--x-size-border-width-right-dropdown-list-default: var(
|
|
7561
|
-
--x-size-border-width-right-dropdown-list-pill
|
|
7562
|
-
);
|
|
7563
|
-
--x-size-border-width-bottom-dropdown-list-default: var(
|
|
7564
|
-
--x-size-border-width-bottom-dropdown-list-pill
|
|
7565
|
-
);
|
|
7566
|
-
--x-size-border-width-left-dropdown-list-default: var(
|
|
7567
|
-
--x-size-border-width-left-dropdown-list-pill
|
|
7568
|
-
);
|
|
7569
|
-
}
|
|
@@ -13,5 +13,5 @@ export declare type ActionsTree<State extends Dictionary, Getters extends Dictio
|
|
|
13
13
|
[Key in keyof Actions]: (context: XActionContext<State, Getters, Mutations, Actions>, payload: ExtractPayload<Actions[Key]>) => ReturnType<Actions[Key]> | Promise<ReturnType<Actions[Key]>>;
|
|
14
14
|
};
|
|
15
15
|
```
|
|
16
|
-
<b>References:</b> [
|
|
16
|
+
<b>References:</b> [MutationsDictionary](./x-components.mutationsdictionary.md)<!-- -->, [ActionsDictionary](./x-components.actionsdictionary.md)<!-- -->, [XActionContext](./x-components.xactioncontext.md)<!-- -->, [ExtractPayload](./x-components.extractpayload.md)
|
|
17
17
|
|
|
@@ -11,5 +11,5 @@ Alias for any actions tree. Use only when you really don't care about the action
|
|
|
11
11
|
```typescript
|
|
12
12
|
export declare type AnyActionsTree = ActionsTree<Dictionary, Dictionary, MutationsDictionary<any>, ActionsDictionary<any>>;
|
|
13
13
|
```
|
|
14
|
-
<b>References:</b> [ActionsTree](./x-components.actionstree.md)<!-- -->, [
|
|
14
|
+
<b>References:</b> [ActionsTree](./x-components.actionstree.md)<!-- -->, [MutationsDictionary](./x-components.mutationsdictionary.md)<!-- -->, [ActionsDictionary](./x-components.actionsdictionary.md)
|
|
15
15
|
|
|
@@ -11,5 +11,5 @@ Alias for any getters tree. Use only when you don't care about the type.
|
|
|
11
11
|
```typescript
|
|
12
12
|
export declare type AnyGettersTree = GettersTree<Dictionary, Dictionary>;
|
|
13
13
|
```
|
|
14
|
-
<b>References:</b> [GettersTree](./x-components.getterstree.md)
|
|
14
|
+
<b>References:</b> [GettersTree](./x-components.getterstree.md)
|
|
15
15
|
|
|
@@ -11,5 +11,5 @@ Alias for any mutations tree. Use only when the concrete type does not matter.
|
|
|
11
11
|
```typescript
|
|
12
12
|
export declare type AnyMutationsTree = MutationsTree<Dictionary, MutationsDictionary<any>>;
|
|
13
13
|
```
|
|
14
|
-
<b>References:</b> [MutationsTree](./x-components.mutationstree.md)<!-- -->, [
|
|
14
|
+
<b>References:</b> [MutationsTree](./x-components.mutationstree.md)<!-- -->, [MutationsDictionary](./x-components.mutationsdictionary.md)
|
|
15
15
|
|
|
@@ -17,7 +17,7 @@ export declare function compileMessage(message: string, params: Dictionary<strin
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| message | string | String containing the keys to be replaced. |
|
|
20
|
-
| params |
|
|
20
|
+
| params | Dictionary<string \| number> | Dictionary of key-values that will be used to format compiledMessage. |
|
|
21
21
|
|
|
22
22
|
<b>Returns:</b>
|
|
23
23
|
|
|
@@ -21,7 +21,7 @@ export declare function Debounce(debounceTimeInMs: number, debounceOptions?: Deb
|
|
|
21
21
|
|
|
22
22
|
<b>Returns:</b>
|
|
23
23
|
|
|
24
|
-
[DecoratorFor](./x-components.decoratorfor.md)<!-- --><
|
|
24
|
+
[DecoratorFor](./x-components.decoratorfor.md)<!-- --><AnyFunction>
|
|
25
25
|
|
|
26
26
|
Decorator that applies debounce.
|
|
27
27
|
|
|
@@ -13,5 +13,5 @@ export declare type DeepPartial<T> = {
|
|
|
13
13
|
[P in keyof T]?: T[P] extends NonPrimitive ? T[P] extends AnyFunction ? T[P] : DeepPartial<T[P]> : T[P];
|
|
14
14
|
};
|
|
15
15
|
```
|
|
16
|
-
<b>References:</b> [
|
|
16
|
+
<b>References:</b> [DeepPartial](./x-components.deeppartial.md)
|
|
17
17
|
|
|
@@ -17,8 +17,8 @@ export default class ExtraParams extends Vue
|
|
|
17
17
|
|
|
18
18
|
| Property | Modifiers | Type | Description |
|
|
19
19
|
| --- | --- | --- | --- |
|
|
20
|
-
| [storeExtraParams](./x-components.extraparams.storeextraparams.md) | |
|
|
21
|
-
| [values](./x-components.extraparams.values.md) | |
|
|
20
|
+
| [storeExtraParams](./x-components.extraparams.storeextraparams.md) | | Dictionary<unknown> | State extra params. Used to override the initial extra params. |
|
|
21
|
+
| [values](./x-components.extraparams.values.md) | | Dictionary<unknown> | (Required) A Dictionary where the keys are the extra param names and its values. |
|
|
22
22
|
|
|
23
23
|
## Methods
|
|
24
24
|
|
|
@@ -14,7 +14,7 @@ setParams(params: Dictionary<unknown>): void;
|
|
|
14
14
|
|
|
15
15
|
| Parameter | Type | Description |
|
|
16
16
|
| --- | --- | --- |
|
|
17
|
-
| params |
|
|
17
|
+
| params | Dictionary<unknown> | |
|
|
18
18
|
|
|
19
19
|
<b>Returns:</b>
|
|
20
20
|
|
|
@@ -16,5 +16,5 @@ export interface ExtraParamsState
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [params](./x-components.extraparamsstate.params.md) |
|
|
19
|
+
| [params](./x-components.extraparamsstate.params.md) | Dictionary<unknown> | |
|
|
20
20
|
|
|
@@ -16,8 +16,8 @@ export interface ExtraParamsXEvents
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [ExtraParamsChanged](./x-components.extraparamsxevents.extraparamschanged.md) |
|
|
20
|
-
| [ExtraParamsInitialized](./x-components.extraparamsxevents.extraparamsinitialized.md) |
|
|
21
|
-
| [ExtraParamsProvided](./x-components.extraparamsxevents.extraparamsprovided.md) |
|
|
22
|
-
| [UserChangedExtraParams](./x-components.extraparamsxevents.userchangedextraparams.md) |
|
|
19
|
+
| [ExtraParamsChanged](./x-components.extraparamsxevents.extraparamschanged.md) | Dictionary<unknown> | The Extra Params have been changed. \* Payload: The new extra params dictionary. |
|
|
20
|
+
| [ExtraParamsInitialized](./x-components.extraparamsxevents.extraparamsinitialized.md) | Dictionary<unknown> | The Initial Extra Params have been loaded into the state. \* Payload: The new extra params dictionary. |
|
|
21
|
+
| [ExtraParamsProvided](./x-components.extraparamsxevents.extraparamsprovided.md) | Dictionary<unknown> | The Extra Params have been provided. \* Payload: The new extra params dictionary. |
|
|
22
|
+
| [UserChangedExtraParams](./x-components.extraparamsxevents.userchangedextraparams.md) | Dictionary<unknown> | The user changed the extra params. \* Payload: The new extra params dictionary. |
|
|
23
23
|
|
|
@@ -13,5 +13,5 @@ export declare type GettersTree<State extends Dictionary, Getters extends Dictio
|
|
|
13
13
|
[Key in keyof Getters]: (state: State, getters: Getters, rootState: RootXStoreState, rootGetters: any) => Getters[Key];
|
|
14
14
|
};
|
|
15
15
|
```
|
|
16
|
-
<b>References:</b> [
|
|
16
|
+
<b>References:</b> [RootXStoreState](./x-components.rootxstorestate.md)
|
|
17
17
|
|
|
@@ -16,7 +16,7 @@ setParams(params: Dictionary<unknown>): void;
|
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| params |
|
|
19
|
+
| params | Dictionary<unknown> | The new extra params. |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
|
@@ -20,6 +20,6 @@ export interface IdentifierResultsState extends StatusState, QueryState
|
|
|
20
20
|
| [config](./x-components.identifierresultsstate.config.md) | [IdentifierResultsConfig](./x-components.identifierresultsconfig.md) | The configuration of the identifier results module. |
|
|
21
21
|
| [identifierResults](./x-components.identifierresultsstate.identifierresults.md) | Result\[\] | The list of the identifier results, related to the <code>query</code> property of the state. |
|
|
22
22
|
| [origin](./x-components.identifierresultsstate.origin.md) | [QueryOrigin](./x-components.queryorigin.md) \| null | The origin property of the request. |
|
|
23
|
-
| [params](./x-components.identifierresultsstate.params.md) |
|
|
23
|
+
| [params](./x-components.identifierresultsstate.params.md) | Dictionary<unknown> | The extra params property of the state. |
|
|
24
24
|
| [query](./x-components.identifierresultsstate.query.md) | string | The internal query of the module. Used to request the identifier results. |
|
|
25
25
|
|
|
@@ -143,7 +143,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
143
143
|
| [arrayToObject(array)](./x-components.arraytoobject.md) | Reduce an array of strings to an object which properties names are the value of each string, and the value under that property are also the string. |
|
|
144
144
|
| [arrayToObject(array, key)](./x-components.arraytoobject_1.md) | Reduce an array of objects to an object which properties names are the value of each object\[key\], and the value under that property are each object. 'key' is the the parameter passed to this function. |
|
|
145
145
|
| [capitalize(str)](./x-components.capitalize.md) | Util to capitalize a string . |
|
|
146
|
-
| [cleanUndefined(obj)](./x-components.cleanundefined.md) | Creates an object picking only the not undefined properties. |
|
|
147
146
|
| [clone(something)](./x-components.clone.md) | Deeply clones an object or an array. |
|
|
148
147
|
| [compileMessage(message, params)](./x-components.compilemessage.md) | Replaces each key in compiledMessage for the provided key's value. |
|
|
149
148
|
| [createCollapseAnimationMixin(property)](./x-components.createcollapseanimationmixin.md) | Adds parametrized methods to a component to allow the collapsing of the provided property. |
|
|
@@ -157,14 +156,11 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
157
156
|
| [Debounce(debounceTimeInMs, debounceOptions)](./x-components.debounce.md) | Adds debounce to the method that the decorator is applied to. |
|
|
158
157
|
| [deepFilter(array, condition, childrenKey)](./x-components.deepfilter.md) | Filters an array with all elements that pass the test implemented by the given filter function. If an item has another list of items in the <code>childrenKey</code> property it recursively filters that new list, adding it to the returned one. |
|
|
159
158
|
| [deepFlat(array, childrenKey)](./x-components.deepflat.md) | Flat an <code>Item[]</code> deeply using the given <code>childrenKey</code> to access to his children. |
|
|
160
|
-
| [every(object, condition)](./x-components.every.md) | Ensures that the given condition is met in all the non-undefined entries of the object. |
|
|
161
159
|
| [filter(wire, filterFn)](./x-components.filter.md) | Creates a [Wire](./x-components.wire.md) that is only executed whenever the condition in the filterFn is true. |
|
|
162
160
|
| [filterBlacklistedModules(wire, blacklist)](./x-components.filterblacklistedmodules.md) | Creates a [Wire](./x-components.wire.md) that is only executed if the event is emitted from a [XModule](./x-components.xmodule.md) that is NOT included in the <code>blacklist</code> array passed as parameter. |
|
|
163
161
|
| [filterFalsyPayload(wire)](./x-components.filterfalsypayload.md) | Creates a [Wire](./x-components.wire.md) that is only executed when the payload is truthy. A truthy value is whatever is not a [falsy value](https://developer.mozilla.org/en-US/docs/Glossary/Falsy)<!-- -->. |
|
|
164
162
|
| [filterTruthyPayload(wire)](./x-components.filtertruthypayload.md) | Creates a [Wire](./x-components.wire.md) that is only executed when the payload is a [falsy value](https://developer.mozilla.org/en-US/docs/Glossary/Falsy)<!-- -->. |
|
|
165
163
|
| [filterWhitelistedModules(wire, whitelist)](./x-components.filterwhitelistedmodules.md) | Creates a [Wire](./x-components.wire.md) that is only executed if the event is emitted from a [XModule](./x-components.xmodule.md) that is included in the <code>whitelist</code> array passed as parameter. |
|
|
166
|
-
| [forEach(obj, callbackFn)](./x-components.foreach.md) | Iterates over every non-undefined property of the object calling the callback passed as parameter. |
|
|
167
|
-
| [getNewAndUpdatedKeys(newValue, oldValue)](./x-components.getnewandupdatedkeys.md) | Compares two objects of the same type, checking the values of their keys and retrieving those that were not present in the old value and/or those whose value has changed. |
|
|
168
164
|
| [getRootXComponent(component)](./x-components.getrootxcomponent.md) | Given a component, finds the root XComponent in the ancestors hierarchy. |
|
|
169
165
|
| [getStateAndGettersFromModule(state, getters, moduleName)](./x-components.getstateandgettersfrommodule.md) | Returns an object with the getters and state of a module of store defined by the moduleName parameter. |
|
|
170
166
|
| [Getter(module, getter)](./x-components.getter.md) | Generates a computed property which returns the selected getter value.<!-- -->The decorated property needs to be public for type inference to work. |
|
|
@@ -175,7 +171,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
175
171
|
| [isNewQuery(newQuery, previousQuery)](./x-components.isnewquery.md) | Compares two queries to know if the new one is a refined query from the previous one or a new one.<!-- -->A refined query is a query which has the previous query or part of it. Example: - previousQuery = 'lego star'. - newQuery = 'lego star wars'.<!-- -->Example: - previousQuery = 'lego star wars'. - newQuery = 'lego star'.<!-- -->A new query is a query which has not the previous query. Example: - previousQuery = 'lego star'. - newQuery = 'lego wars'.<!-- -->In this case, it is changing the word set, because a word is changed by another one, so this is changing the search intention. |
|
|
176
172
|
| [isStringEmpty(str)](./x-components.isstringempty.md) | Util used to return true if the string is empty, undefined or null. |
|
|
177
173
|
| [isXComponent(component)](./x-components.isxcomponent.md) | Returns if the component is an X-Component. An X-Component is a component that has an [XModule](./x-components.xmodule.md) associated to it. |
|
|
178
|
-
| [map(obj, mapper)](./x-components.map.md) | Creates an object from another object transforming each property value. |
|
|
179
174
|
| [mapWire(toWire, mapFn)](./x-components.mapwire.md) | Creates a [Wire](./x-components.wire.md) from other <code>toWire</code> wire. It uses <code>mapFn</code> to transform the <code>FromPayload</code> received to <code>ToPayload</code> which <code>toWire</code> requires. This is useful to reuse wires in different Events where the payload doesn't fit exactly. |
|
|
180
175
|
| [namespacedDebounce(moduleName)](./x-components.namespaceddebounce.md) | Type safe debounce operator which creates a function which can only access the Module of the [Vuex](https://vuex.vuejs.org/) Store passed as parameter. |
|
|
181
176
|
| [namespacedThrottle(moduleName)](./x-components.namespacedthrottle.md) | Type safe throttle operator which creates a function which can only access the Module of the [Vuex](https://vuex.vuejs.org/) Store passed as parameter. |
|
|
@@ -184,8 +179,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
184
179
|
| [namespacedWireDispatch(moduleName)](./x-components.namespacedwiredispatch.md) | Creates a namespaced [wireDispatch()](./x-components.wiredispatch.md) for the module name passed. |
|
|
185
180
|
| [namespacedWireDispatchWithoutPayload(moduleName)](./x-components.namespacedwiredispatchwithoutpayload.md) | Creates a namespaced [wireDispatchWithoutPayload()](./x-components.wiredispatchwithoutpayload.md) for the module name passed. |
|
|
186
181
|
| [normalizeString(string)](./x-components.normalizestring.md) | Trims the string, transforms it to lower case, and removes [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) from it. |
|
|
187
|
-
| [objectFilter(obj, isIncluded)](./x-components.objectfilter.md) | Creates an object picking only the ones that pass the test implemented by the provided function isIncluded. |
|
|
188
|
-
| [reduce(obj, reducer, initialValue)](./x-components.reduce.md) | Iterates through the obj properties calling the reducer function. |
|
|
189
182
|
| [setStatus(state, status)](./x-components.setstatus.md) | Sets the request status. Can be used as a mutation. |
|
|
190
183
|
| [State(module, path)](./x-components.state.md) | Generates a computed property which returns the selected state.<!-- -->The decorated property needs to be public for type inference to work. |
|
|
191
184
|
| [throttle(wire, timeInMs, options)](./x-components.throttle.md) | Creates a throttled [Wire](./x-components.wire.md)<!-- -->. Being throttled means that it will only be executed once every couple of milliseconds given by the <code>timeInMs</code> parameter. |
|
|
@@ -571,7 +564,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
571
564
|
| [ActionsDictionary](./x-components.actionsdictionary.md) | Util type for being used on generic constraints which will only accept an object containing actions. |
|
|
572
565
|
| [ActionsTree](./x-components.actionstree.md) | Type-safe actions definition type. An object with this type is what it is needed to define [Vuex](https://vuex.vuejs.org/) actions. |
|
|
573
566
|
| [AnyActionsTree](./x-components.anyactionstree.md) | Alias for any actions tree. Use only when you really don't care about the actions type. |
|
|
574
|
-
| [AnyFunction](./x-components.anyfunction.md) | A function with 0 or more parameters of any type, which can return something or not. |
|
|
575
567
|
| [AnyGettersTree](./x-components.anygetterstree.md) | Alias for any getters tree. Use only when you don't care about the type. |
|
|
576
568
|
| [AnyMutationsTree](./x-components.anymutationstree.md) | Alias for any mutations tree. Use only when the concrete type does not matter. |
|
|
577
569
|
| [AnySimpleStateSelector](./x-components.anysimplestateselector.md) | Alias for any simple state selector. |
|
|
@@ -586,7 +578,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
586
578
|
| [DeepPartial](./x-components.deeppartial.md) | Makes all the properties of the T type optional in depth. |
|
|
587
579
|
| [DeviceXModule](./x-components.devicexmodule.md) | Device [XModule](./x-components.xmodule.md) alias. |
|
|
588
580
|
| [DeviceXStoreModule](./x-components.devicexstoremodule.md) | Device type safe store module. |
|
|
589
|
-
| [Dictionary](./x-components.dictionary.md) | Object where all its properties are strings, and the value of them is defined by the type of the T property. |
|
|
590
581
|
| [DocumentDirection](./x-components.documentdirection.md) | The HTML document direction orientation. Possible values: ltr (left to right) or rtl (right to left). |
|
|
591
582
|
| [Emitter](./x-components.emitter.md) | Type safe for emitter payload. It is the wire payload. |
|
|
592
583
|
| [Emitters](./x-components.emitters.md) | Type safe emitters dictionary, where each key is the [XEvent](./x-components.xevent.md) name, and the value is a [https://rxjs.dev/api/index/class/Subject](https://rxjs.dev/api/index/class/Subject) of the [XEventPayload](./x-components.xeventpayload.md) type. |
|
|
@@ -635,13 +626,11 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
635
626
|
| [NextQueriesXModule](./x-components.nextqueriesxmodule.md) | NextQueries [XModule](./x-components.xmodule.md) alias. |
|
|
636
627
|
| [NextQueriesXStoreModule](./x-components.nextqueriesxstoremodule.md) | Next queries store module. |
|
|
637
628
|
| [NiladicFunction](./x-components.niladicfunction.md) | A function with no parameters that can return anything. |
|
|
638
|
-
| [NonPrimitive](./x-components.nonprimitive.md) | TypeScript type non-primitives. Array or Record with all possible types. |
|
|
639
629
|
| [Pair](./x-components.pair.md) | Represents a pair of values of the same type in an array. |
|
|
640
630
|
| [PayloadFactoryData](./x-components.payloadfactorydata.md) | Type not safe which allows the access to the State, the Getters, the payload and metadata of a [XStoreModule](./x-components.xstoremodule.md)<!-- -->. |
|
|
641
631
|
| [PopularSearchesActionContext](./x-components.popularsearchesactioncontext.md) | Alias type for actions context of the [PopularSearchesXStoreModule](./x-components.popularsearchesxstoremodule.md)<!-- -->. |
|
|
642
632
|
| [PopularSearchesXModule](./x-components.popularsearchesxmodule.md) | PopularSearches [XModule](./x-components.xmodule.md) alias. |
|
|
643
633
|
| [PopularSearchesXStoreModule](./x-components.popularsearchesxstoremodule.md) | Popular searches store module. |
|
|
644
|
-
| [Primitive](./x-components.primitive.md) | TypeScript type primitives. Basically every type possible except objects or arrays. |
|
|
645
634
|
| [PrivateXModulesOptions](./x-components.privatexmodulesoptions.md) | Options for overriding the default store module and store emitters for each [XModule](./x-components.xmodule.md)<!-- -->. |
|
|
646
635
|
| [PropsWithType](./x-components.propswithtype.md) | Extracts the name of the properties of an object that match a type. |
|
|
647
636
|
| [QueryFeature](./x-components.queryfeature.md) | The name of the tool that generated the query. |
|