@empathyco/x-components 3.0.0-alpha.65 → 3.0.0-alpha.68
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 +43 -0
- package/core/index.js.map +1 -1
- package/design-system/full-theme.css +15 -14
- package/docs/API-reference/api/x-adapter.empathyqueryablerequestmapper.map.md +2 -2
- package/docs/API-reference/api/x-adapter.empathyqueryablerequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter.md +0 -1
- package/docs/API-reference/api/x-adapter.queryablerequest.md +0 -1
- package/docs/API-reference/api/x-components.historyqueriesmutations.md +2 -1
- package/docs/API-reference/api/x-components.historyqueriesstate.md +2 -1
- package/docs/API-reference/api/x-components.identifierresultsmutations.md +2 -2
- package/docs/API-reference/api/x-components.identifierresultsstate.md +2 -2
- package/docs/API-reference/api/x-components.md +3 -1
- package/docs/API-reference/api/x-components.nextqueriesmutations.md +2 -2
- package/docs/API-reference/api/x-components.nextqueriesstate.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsmutations.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsstate.md +2 -2
- package/docs/API-reference/api/x-components.relatedtagsgetters.md +1 -0
- package/docs/API-reference/api/x-components.relatedtagsgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.relatedtagsmutations.md +2 -3
- package/docs/API-reference/api/x-components.relatedtagsquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedtagsstate.md +2 -3
- package/docs/API-reference/api/x-components.searchboxmutations.md +2 -1
- package/docs/API-reference/api/x-components.searchboxstate.md +2 -1
- package/docs/API-reference/api/x-components.searchgetters.md +1 -0
- package/docs/API-reference/api/x-components.searchgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.searchmutations.md +2 -2
- package/docs/API-reference/api/x-components.searchquery.md +13 -0
- package/docs/API-reference/api/x-components.searchstate.md +2 -2
- package/docs/API-reference/api/x-components.urlmutations.md +2 -1
- package/docs/API-reference/api/x-components.urlstate.initialextraparams.md +11 -0
- package/docs/API-reference/api/x-components.urlstate.md +9 -5
- package/docs/API-reference/api/x-types.relatedtag.md +0 -2
- package/js/index.js +2 -0
- package/js/index.js.map +1 -1
- package/js/store/utils/query.utils.js +37 -0
- package/js/store/utils/query.utils.js.map +1 -0
- package/js/x-modules/history-queries/store/module.js +2 -3
- package/js/x-modules/history-queries/store/module.js.map +1 -1
- package/js/x-modules/identifier-results/store/module.js +2 -3
- package/js/x-modules/identifier-results/store/module.js.map +1 -1
- package/js/x-modules/next-queries/store/module.js +2 -3
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/query-suggestions/store/module.js +2 -3
- package/js/x-modules/query-suggestions/store/module.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/query.getter.js +18 -0
- package/js/x-modules/related-tags/store/getters/query.getter.js.map +1 -0
- package/js/x-modules/related-tags/store/getters/request.getter.js +3 -2
- package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/module.js +5 -4
- package/js/x-modules/related-tags/store/module.js.map +1 -1
- package/js/x-modules/search/store/getters/query.getter.js +18 -0
- package/js/x-modules/search/store/getters/query.getter.js.map +1 -0
- package/js/x-modules/search/store/getters/request.getter.js +2 -3
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +5 -4
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search-box/store/module.js +2 -3
- package/js/x-modules/search-box/store/module.js.map +1 -1
- package/js/x-modules/url/store/module.js +2 -3
- package/js/x-modules/url/store/module.js.map +1 -1
- package/package.json +8 -8
- package/related-tags/index.js +1 -0
- package/report/x-adapter.api.json +2 -133
- package/report/x-components.api.json +379 -110
- package/report/x-components.api.md +30 -19
- package/report/x-types.api.json +0 -52
- package/search/index.js +1 -0
- package/types/store/utils/query.utils.d.ts +56 -0
- package/types/store/utils/query.utils.d.ts.map +1 -0
- package/types/x-modules/history-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/types.d.ts +3 -2
- package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +3 -2
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +3 -2
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/module.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +3 -2
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/getters/query.getter.d.ts +13 -0
- package/types/x-modules/related-tags/store/getters/query.getter.d.ts.map +1 -0
- package/types/x-modules/related-tags/store/getters/request.getter.d.ts +2 -0
- package/types/x-modules/related-tags/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/index.d.ts +1 -0
- package/types/x-modules/related-tags/store/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/module.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +5 -10
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/query.getter.d.ts +13 -0
- package/types/x-modules/search/store/getters/query.getter.d.ts.map +1 -0
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/index.d.ts +1 -0
- package/types/x-modules/search/store/index.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +5 -2
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search-box/store/module.d.ts.map +1 -1
- package/types/x-modules/search-box/store/types.d.ts +3 -2
- package/types/x-modules/search-box/store/types.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 +4 -3
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/docs/API-reference/api/x-adapter.empathyrequestrelatedtagsquerymapper.map.md +0 -23
- package/docs/API-reference/api/x-adapter.empathyrequestrelatedtagsquerymapper.md +0 -21
- package/docs/API-reference/api/x-adapter.queryablerequest.relatedtags.md +0 -11
- package/docs/API-reference/api/x-components.relatedtagsmutations.setquery.md +0 -24
- package/docs/API-reference/api/x-components.relatedtagsstate.query.md +0 -13
- package/docs/API-reference/api/x-types.relatedtag.previous.md +0 -13
- package/docs/API-reference/api/x-types.relatedtag.selected.md +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"sourcesContent":["import { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveIdentifierResults,\n fetchAndSaveIdentifierResults\n} from './actions/fetch-and-save-identifier-results.action';\nimport { fetchIdentifierResults } from './actions/fetch-identifier-results.action';\nimport { saveOrigin } from './actions/save-origin.action';\nimport { saveQuery } from './actions/save-query.action';\nimport { identifierDetectionRegexp } from './getters/identifier-detection-regexp.getter';\nimport { identifierHighlightRegexp } from './getters/identifier-highlight-regexp.getter';\nimport { identifierResultsRequest } from './getters/identifier-results-request.getter';\nimport { IdentifierResultsXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the identifier results module.\n *\n * @internal\n */\nexport const identifierResultsXStoreModule: IdentifierResultsXStoreModule = {\n state: () => ({\n config: {\n debounceInMs: 600,\n maxItemsToRequest: 10,\n identifierDetectionRegexp: '^[0-9]{2,}$',\n separatorChars: '-/ '\n },\n identifierResults: [],\n origin: null,\n query: '',\n params: {},\n status: 'initial'\n }),\n getters: {\n identifierResultsRequest,\n identifierHighlightRegexp,\n identifierDetectionRegexp\n },\n mutations: {\n setIdentifierResults(state, identifierResults) {\n state.identifierResults = identifierResults;\n },\n setOrigin(state, origin = null) {\n state.origin = origin;\n },\n setParams(state, params) {\n state.params = params;\n },\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"sourcesContent":["import { setQuery } from '../../../store/utils/query.utils';\nimport { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveIdentifierResults,\n fetchAndSaveIdentifierResults\n} from './actions/fetch-and-save-identifier-results.action';\nimport { fetchIdentifierResults } from './actions/fetch-identifier-results.action';\nimport { saveOrigin } from './actions/save-origin.action';\nimport { saveQuery } from './actions/save-query.action';\nimport { identifierDetectionRegexp } from './getters/identifier-detection-regexp.getter';\nimport { identifierHighlightRegexp } from './getters/identifier-highlight-regexp.getter';\nimport { identifierResultsRequest } from './getters/identifier-results-request.getter';\nimport { IdentifierResultsXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the identifier results module.\n *\n * @internal\n */\nexport const identifierResultsXStoreModule: IdentifierResultsXStoreModule = {\n state: () => ({\n config: {\n debounceInMs: 600,\n maxItemsToRequest: 10,\n identifierDetectionRegexp: '^[0-9]{2,}$',\n separatorChars: '-/ '\n },\n identifierResults: [],\n origin: null,\n query: '',\n params: {},\n status: 'initial'\n }),\n getters: {\n identifierResultsRequest,\n identifierHighlightRegexp,\n identifierDetectionRegexp\n },\n mutations: {\n setIdentifierResults(state, identifierResults) {\n state.identifierResults = identifierResults;\n },\n setOrigin(state, origin = null) {\n state.origin = origin;\n },\n setParams(state, params) {\n state.params = params;\n },\n setQuery,\n setStatus\n },\n actions: {\n cancelFetchAndSaveIdentifierResults,\n fetchIdentifierResults,\n fetchAndSaveIdentifierResults,\n saveOrigin,\n saveQuery\n }\n};\n"],"names":[],"mappings":";;;;;;;;;;AAcA;;;;;MAKa,6BAA6B,GAAkC;IAC1E,KAAK,EAAE,OAAO;QACZ,MAAM,EAAE;YACN,YAAY,EAAE,GAAG;YACjB,iBAAiB,EAAE,EAAE;YACrB,yBAAyB,EAAE,aAAa;YACxC,cAAc,EAAE,KAAK;SACtB;QACD,iBAAiB,EAAE,EAAE;QACrB,MAAM,EAAE,IAAI;QACZ,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,SAAS;KAClB,CAAC;IACF,OAAO,EAAE;QACP,wBAAwB;QACxB,yBAAyB;QACzB,yBAAyB;KAC1B;IACD,SAAS,EAAE;QACT,oBAAoB,CAAC,KAAK,EAAE,iBAAiB;YAC3C,KAAK,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;SAC7C;QACD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;YAC5B,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;QACD,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;QACD,QAAQ;QACR,SAAS;KACV;IACD,OAAO,EAAE;QACP,mCAAmC;QACnC,sBAAsB;QACtB,6BAA6B;QAC7B,UAAU;QACV,SAAS;KACV;;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
1
2
|
import { setStatus } from '../../../store/utils/status-store.utils.js';
|
|
2
3
|
import { cancelFetchAndSaveNextQueries, fetchAndSaveNextQueries } from './actions/fetch-and-save-next-queries.action.js';
|
|
3
4
|
import { fetchNextQueries } from './actions/fetch-next-queries.action.js';
|
|
@@ -29,9 +30,7 @@ const nextQueriesXStoreModule = {
|
|
|
29
30
|
nextQueries
|
|
30
31
|
},
|
|
31
32
|
mutations: {
|
|
32
|
-
setQuery
|
|
33
|
-
state.query = newQuery;
|
|
34
|
-
},
|
|
33
|
+
setQuery,
|
|
35
34
|
setNextQueries(state, nextQueries) {
|
|
36
35
|
state.nextQueries = nextQueries;
|
|
37
36
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"sourcesContent":["import { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveNextQueries,\n fetchAndSaveNextQueries\n} from './actions/fetch-and-save-next-queries.action';\nimport { fetchNextQueries } from './actions/fetch-next-queries.action';\nimport { setQueryFromLastHistoryQuery } from './actions/set-query-from-last-history-query.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { nextQueries } from './getters/next-queries.getter';\nimport { request } from './getters/request.getter';\nimport { NextQueriesXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the next-queries module.\n *\n * @internal\n */\nexport const nextQueriesXStoreModule: NextQueriesXStoreModule = {\n state: () => ({\n query: '',\n nextQueries: [],\n searchedQueries: [],\n status: 'initial',\n config: {\n maxItemsToRequest: 20,\n hideSessionQueries: true,\n loadOnInit: true\n },\n params: {}\n }),\n getters: {\n request,\n nextQueries\n },\n mutations: {\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"sourcesContent":["import { setQuery } from '../../../store/utils/query.utils';\nimport { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveNextQueries,\n fetchAndSaveNextQueries\n} from './actions/fetch-and-save-next-queries.action';\nimport { fetchNextQueries } from './actions/fetch-next-queries.action';\nimport { setQueryFromLastHistoryQuery } from './actions/set-query-from-last-history-query.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { nextQueries } from './getters/next-queries.getter';\nimport { request } from './getters/request.getter';\nimport { NextQueriesXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the next-queries module.\n *\n * @internal\n */\nexport const nextQueriesXStoreModule: NextQueriesXStoreModule = {\n state: () => ({\n query: '',\n nextQueries: [],\n searchedQueries: [],\n status: 'initial',\n config: {\n maxItemsToRequest: 20,\n hideSessionQueries: true,\n loadOnInit: true\n },\n params: {}\n }),\n getters: {\n request,\n nextQueries\n },\n mutations: {\n setQuery,\n setNextQueries(state, nextQueries) {\n state.nextQueries = nextQueries;\n },\n setSearchedQueries(state, searchedQueries) {\n state.searchedQueries = searchedQueries;\n },\n setStatus,\n setParams(state, params) {\n state.params = params;\n }\n },\n actions: {\n cancelFetchAndSaveNextQueries,\n fetchAndSaveNextQueries,\n fetchNextQueries,\n setQueryFromLastHistoryQuery,\n setUrlParams\n }\n};\n"],"names":[],"mappings":";;;;;;;;;AAaA;;;;;MAKa,uBAAuB,GAA4B;IAC9D,KAAK,EAAE,OAAO;QACZ,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,EAAE;QACf,eAAe,EAAE,EAAE;QACnB,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE;YACN,iBAAiB,EAAE,EAAE;YACrB,kBAAkB,EAAE,IAAI;YACxB,UAAU,EAAE,IAAI;SACjB;QACD,MAAM,EAAE,EAAE;KACX,CAAC;IACF,OAAO,EAAE;QACP,OAAO;QACP,WAAW;KACZ;IACD,SAAS,EAAE;QACT,QAAQ;QACR,cAAc,CAAC,KAAK,EAAE,WAAW;YAC/B,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;SACjC;QACD,kBAAkB,CAAC,KAAK,EAAE,eAAe;YACvC,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;SACzC;QACD,SAAS;QACT,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;KACF;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,uBAAuB;QACvB,gBAAgB;QAChB,4BAA4B;QAC5B,YAAY;KACb;;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
1
2
|
import { setStatus } from '../../../store/utils/status-store.utils.js';
|
|
2
3
|
import { cancelFetchAndSaveSuggestions, fetchAndSaveSuggestions } from './actions/fetch-and-save-suggestions.action.js';
|
|
3
4
|
import { fetchSuggestions } from './actions/fetch-suggestions.action.js';
|
|
@@ -30,9 +31,7 @@ const querySuggestionsXStoreModule = {
|
|
|
30
31
|
querySuggestions
|
|
31
32
|
},
|
|
32
33
|
mutations: {
|
|
33
|
-
setQuery
|
|
34
|
-
state.query = newQuery;
|
|
35
|
-
},
|
|
34
|
+
setQuery,
|
|
36
35
|
setSuggestions(state, suggestions) {
|
|
37
36
|
state.suggestions = suggestions;
|
|
38
37
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/query-suggestions/store/module.ts"],"sourcesContent":["import { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveSuggestions,\n fetchAndSaveSuggestions\n} from './actions/fetch-and-save-suggestions.action';\nimport { fetchSuggestions } from './actions/fetch-suggestions.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { normalizedQuery } from './getters/normalized-query.getter';\nimport { querySuggestions } from './getters/query-suggestions.getter';\nimport { request } from './getters/request.getter';\nimport { QuerySuggestionsXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the query-suggestions module.\n *\n * @internal\n */\nexport const querySuggestionsXStoreModule: QuerySuggestionsXStoreModule = {\n state: () => ({\n query: '',\n suggestions: [],\n status: 'initial',\n config: {\n debounceInMs: 200,\n maxItemsToRequest: 10,\n showExtraSuggestionWithoutFilter: true,\n hideIfEqualsQuery: true\n },\n params: {}\n }),\n getters: {\n request,\n normalizedQuery,\n querySuggestions\n },\n mutations: {\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/query-suggestions/store/module.ts"],"sourcesContent":["import { setQuery } from '../../../store/utils/query.utils';\nimport { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveSuggestions,\n fetchAndSaveSuggestions\n} from './actions/fetch-and-save-suggestions.action';\nimport { fetchSuggestions } from './actions/fetch-suggestions.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { normalizedQuery } from './getters/normalized-query.getter';\nimport { querySuggestions } from './getters/query-suggestions.getter';\nimport { request } from './getters/request.getter';\nimport { QuerySuggestionsXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the query-suggestions module.\n *\n * @internal\n */\nexport const querySuggestionsXStoreModule: QuerySuggestionsXStoreModule = {\n state: () => ({\n query: '',\n suggestions: [],\n status: 'initial',\n config: {\n debounceInMs: 200,\n maxItemsToRequest: 10,\n showExtraSuggestionWithoutFilter: true,\n hideIfEqualsQuery: true\n },\n params: {}\n }),\n getters: {\n request,\n normalizedQuery,\n querySuggestions\n },\n mutations: {\n setQuery,\n setSuggestions(state, suggestions) {\n state.suggestions = suggestions;\n },\n setStatus,\n setParams(state, params) {\n state.params = params;\n }\n },\n actions: {\n cancelFetchAndSaveSuggestions,\n fetchSuggestions,\n fetchAndSaveSuggestions,\n setUrlParams\n }\n};\n"],"names":[],"mappings":";;;;;;;;;AAaA;;;;;MAKa,4BAA4B,GAAiC;IACxE,KAAK,EAAE,OAAO;QACZ,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,EAAE;QACf,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE;YACN,YAAY,EAAE,GAAG;YACjB,iBAAiB,EAAE,EAAE;YACrB,gCAAgC,EAAE,IAAI;YACtC,iBAAiB,EAAE,IAAI;SACxB;QACD,MAAM,EAAE,EAAE;KACX,CAAC;IACF,OAAO,EAAE;QACP,OAAO;QACP,eAAe;QACf,gBAAgB;KACjB;IACD,SAAS,EAAE;QACT,QAAQ;QACR,cAAc,CAAC,KAAK,EAAE,WAAW;YAC/B,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;SACjC;QACD,SAAS;QACT,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;KACF;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,gBAAgB;QAChB,uBAAuB;QACvB,YAAY;KACb;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-url-params.action.js","sources":["../../../../../../src/x-modules/related-tags/store/actions/set-url-params.action.ts"],"sourcesContent":["import { RelatedTag } from '@empathyco/x-types';\nimport { UrlParams } from '../../../../types/url-params';\nimport { RelatedTagsXStoreModule } from '../types';\n\n/**\n * Helper method which creates the {@link RelatedTag} entity from the string array `tag` of the url.\n *\n * @param tags - List of tags from the url.\n * @param query - Query from the url.\n *\n * @returns A list of {@link RelatedTag | related tags}.\n */\nfunction createRelatedTags(tags: string[], query: string): RelatedTag[] {\n return tags.map(tag => ({\n tag,\n modelName: 'RelatedTag',\n
|
|
1
|
+
{"version":3,"file":"set-url-params.action.js","sources":["../../../../../../src/x-modules/related-tags/store/actions/set-url-params.action.ts"],"sourcesContent":["import { RelatedTag } from '@empathyco/x-types';\nimport { UrlParams } from '../../../../types/url-params';\nimport { RelatedTagsXStoreModule } from '../types';\n\n/**\n * Helper method which creates the {@link RelatedTag} entity from the string array `tag` of the url.\n *\n * @param tags - List of tags from the url.\n * @param query - Query from the url.\n *\n * @returns A list of {@link RelatedTag | related tags}.\n */\nfunction createRelatedTags(tags: string[], query: string): RelatedTag[] {\n return tags.map(tag => ({\n tag,\n modelName: 'RelatedTag',\n query: query ? `${query} ${tag}` : ''\n }));\n}\n\n/**\n * Default implementation for the {@link RelatedTagsActions.setUrlParams}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param urlParams - The url params from the url.\n *\n * @public\n */\nexport const setUrlParams: RelatedTagsXStoreModule['actions']['setUrlParams'] = (\n { commit },\n { query, tag }: UrlParams\n) => {\n commit('setSelectedRelatedTags', createRelatedTags(tag, query));\n commit('setRelatedTags', []);\n commit('setQuery', query);\n};\n"],"names":[],"mappings":"AAIA;;;;;;;;AAQA,SAAS,iBAAiB,CAAC,IAAc,EAAE,KAAa;IACtD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK;QACtB,GAAG;QACH,SAAS,EAAE,YAAY;QACvB,KAAK,EAAE,KAAK,GAAG,GAAG,KAAK,IAAI,GAAG,EAAE,GAAG,EAAE;KACtC,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;;;;MASa,YAAY,GAAuD,CAC9E,EAAE,MAAM,EAAE,EACV,EAAE,KAAK,EAAE,GAAG,EAAa;IAEzB,MAAM,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;IAChE,MAAM,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAC7B,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;AAC5B;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.utils.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Default implementation for the {@link RelatedTagsGetters.query} getter.
|
|
5
|
+
*
|
|
6
|
+
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
|
|
7
|
+
* tags' module.
|
|
8
|
+
*
|
|
9
|
+
* @returns The query with the selected related tags concatenated.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
const query = createRelatedTagsQueryGetter({
|
|
14
|
+
getRelatedTags: state => state.selectedRelatedTags
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export { query };
|
|
18
|
+
//# sourceMappingURL=query.getter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.getter.js","sources":["../../../../../../src/x-modules/related-tags/store/getters/query.getter.ts"],"sourcesContent":["import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.utils';\nimport { RelatedTagsXStoreModule } from '../types';\n/**\n * Default implementation for the {@link RelatedTagsGetters.query} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * tags' module.\n *\n * @returns The query with the selected related tags concatenated.\n *\n * @public\n */\nexport const query: RelatedTagsXStoreModule['getters']['query'] = createRelatedTagsQueryGetter({\n getRelatedTags: state => state.selectedRelatedTags\n});\n"],"names":[],"mappings":";;AAEA;;;;;;;;;;MAUa,KAAK,GAAgD,4BAA4B,CAAC;IAC7F,cAAc,EAAE,KAAK,IAAI,KAAK,CAAC,mBAAmB;CACnD;;;;"}
|
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
|
|
5
5
|
* tags module.
|
|
6
|
+
* @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the
|
|
7
|
+
* related tags module.
|
|
6
8
|
*
|
|
7
9
|
* @returns The related tags request to fetch data from the API.
|
|
8
10
|
*
|
|
9
11
|
* @public
|
|
10
12
|
*/
|
|
11
|
-
const request = ({
|
|
13
|
+
const request = ({ config, params }, { query }) => {
|
|
12
14
|
return query.trim()
|
|
13
15
|
? {
|
|
14
16
|
query,
|
|
15
|
-
relatedTags: selectedRelatedTags,
|
|
16
17
|
rows: config.maxItemsToRequest,
|
|
17
18
|
start: 0,
|
|
18
19
|
...params
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.getter.js","sources":["../../../../../../src/x-modules/related-tags/store/getters/request.getter.ts"],"sourcesContent":["import { RelatedTagsXStoreModule } from '../types';\n/**\n * Default implementation for the {@link RelatedTagsGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * tags module.\n *\n * @returns The related tags request to fetch data from the API.\n *\n * @public\n */\nexport const request: RelatedTagsXStoreModule['getters']['request'] = (
|
|
1
|
+
{"version":3,"file":"request.getter.js","sources":["../../../../../../src/x-modules/related-tags/store/getters/request.getter.ts"],"sourcesContent":["import { RelatedTagsXStoreModule } from '../types';\n/**\n * Default implementation for the {@link RelatedTagsGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * tags module.\n * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the\n * related tags module.\n *\n * @returns The related tags request to fetch data from the API.\n *\n * @public\n */\nexport const request: RelatedTagsXStoreModule['getters']['request'] = (\n { config, params },\n { query }\n) => {\n return query.trim()\n ? {\n query,\n rows: config.maxItemsToRequest,\n start: 0,\n ...params\n }\n : null;\n};\n"],"names":[],"mappings":"AACA;;;;;;;;;;;;MAYa,OAAO,GAAkD,CACpE,EAAE,MAAM,EAAE,MAAM,EAAE,EAClB,EAAE,KAAK,EAAE;IAET,OAAO,KAAK,CAAC,IAAI,EAAE;UACf;YACE,KAAK;YACL,IAAI,EAAE,MAAM,CAAC,iBAAiB;YAC9B,KAAK,EAAE,CAAC;YACR,GAAG,MAAM;SACV;UACD,IAAI,CAAC;AACX;;;;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
1
2
|
import { setStatus } from '../../../store/utils/status-store.utils.js';
|
|
2
3
|
import { cancelFetchAndSaveRelatedTags, fetchAndSaveRelatedTags } from './actions/fetch-and-save-related-tags.action.js';
|
|
3
4
|
import { fetchRelatedTags } from './actions/fetch-related-tags.action.js';
|
|
4
5
|
import { setUrlParams } from './actions/set-url-params.action.js';
|
|
5
6
|
import { toggleRelatedTag } from './actions/toggle-related-tag.action.js';
|
|
7
|
+
import { query } from './getters/query.getter.js';
|
|
6
8
|
import { relatedTags } from './getters/related-tags.getter.js';
|
|
7
9
|
import { request } from './getters/request.getter.js';
|
|
8
10
|
|
|
@@ -24,12 +26,11 @@ const relatedTagsXStoreModule = {
|
|
|
24
26
|
}),
|
|
25
27
|
getters: {
|
|
26
28
|
request,
|
|
27
|
-
relatedTags
|
|
29
|
+
relatedTags,
|
|
30
|
+
query
|
|
28
31
|
},
|
|
29
32
|
mutations: {
|
|
30
|
-
setQuery
|
|
31
|
-
state.query = newQuery;
|
|
32
|
-
},
|
|
33
|
+
setQuery,
|
|
33
34
|
setRelatedTags(state, relatedTags) {
|
|
34
35
|
state.relatedTags = relatedTags;
|
|
35
36
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/related-tags/store/module.ts"],"sourcesContent":["import { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveRelatedTags,\n fetchAndSaveRelatedTags\n} from './actions/fetch-and-save-related-tags.action';\nimport { fetchRelatedTags } from './actions/fetch-related-tags.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { toggleRelatedTag } from './actions/toggle-related-tag.action';\nimport { relatedTags } from './getters/related-tags.getter';\nimport { request } from './getters/request.getter';\nimport { RelatedTagsXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the related tags module.\n *\n * @internal\n */\n\nexport const relatedTagsXStoreModule: RelatedTagsXStoreModule = {\n state: () => ({\n query: '',\n relatedTags: [],\n selectedRelatedTags: [],\n status: 'initial',\n config: {\n maxItemsToRequest: 10\n },\n params: {}\n }),\n getters: {\n request,\n relatedTags\n },\n mutations: {\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/related-tags/store/module.ts"],"sourcesContent":["import { setQuery } from '../../../store/utils/query.utils';\nimport { setStatus } from '../../../store/utils/status-store.utils';\nimport {\n cancelFetchAndSaveRelatedTags,\n fetchAndSaveRelatedTags\n} from './actions/fetch-and-save-related-tags.action';\nimport { fetchRelatedTags } from './actions/fetch-related-tags.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { toggleRelatedTag } from './actions/toggle-related-tag.action';\nimport { query } from './getters/query.getter';\nimport { relatedTags } from './getters/related-tags.getter';\nimport { request } from './getters/request.getter';\nimport { RelatedTagsXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the related tags module.\n *\n * @internal\n */\n\nexport const relatedTagsXStoreModule: RelatedTagsXStoreModule = {\n state: () => ({\n query: '',\n relatedTags: [],\n selectedRelatedTags: [],\n status: 'initial',\n config: {\n maxItemsToRequest: 10\n },\n params: {}\n }),\n getters: {\n request,\n relatedTags,\n query\n },\n mutations: {\n setQuery,\n setRelatedTags(state, relatedTags) {\n state.relatedTags = relatedTags;\n },\n setSelectedRelatedTags(state, selectedRelatedTags) {\n state.selectedRelatedTags = selectedRelatedTags;\n },\n setStatus,\n setParams(state, params) {\n state.params = params;\n }\n },\n actions: {\n cancelFetchAndSaveRelatedTags,\n fetchRelatedTags,\n fetchAndSaveRelatedTags,\n toggleRelatedTag,\n setUrlParams\n }\n};\n"],"names":[],"mappings":";;;;;;;;;;AAcA;;;;;MAMa,uBAAuB,GAA4B;IAC9D,KAAK,EAAE,OAAO;QACZ,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,EAAE;QACf,mBAAmB,EAAE,EAAE;QACvB,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE;YACN,iBAAiB,EAAE,EAAE;SACtB;QACD,MAAM,EAAE,EAAE;KACX,CAAC;IACF,OAAO,EAAE;QACP,OAAO;QACP,WAAW;QACX,KAAK;KACN;IACD,SAAS,EAAE;QACT,QAAQ;QACR,cAAc,CAAC,KAAK,EAAE,WAAW;YAC/B,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;SACjC;QACD,sBAAsB,CAAC,KAAK,EAAE,mBAAmB;YAC/C,KAAK,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;SACjD;QACD,SAAS;QACT,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;KACF;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,gBAAgB;QAChB,uBAAuB;QACvB,gBAAgB;QAChB,YAAY;KACb;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.utils.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Default implementation for the {@link SearchState.query} getter.
|
|
5
|
+
*
|
|
6
|
+
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
|
|
7
|
+
* tags' module.
|
|
8
|
+
*
|
|
9
|
+
* @returns The query with the selected related tags concatenated.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
const query = createRelatedTagsQueryGetter({
|
|
14
|
+
getRelatedTags: state => state.relatedTags
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export { query };
|
|
18
|
+
//# sourceMappingURL=query.getter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.getter.js","sources":["../../../../../../src/x-modules/search/store/getters/query.getter.ts"],"sourcesContent":["import { createRelatedTagsQueryGetter } from '../../../../store/utils/query.utils';\nimport { SearchXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link SearchState.query} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related\n * tags' module.\n *\n * @returns The query with the selected related tags concatenated.\n *\n * @public\n */\nexport const query: SearchXStoreModule['getters']['query'] = createRelatedTagsQueryGetter({\n getRelatedTags: state => state.relatedTags\n});\n"],"names":[],"mappings":";;AAGA;;;;;;;;;;MAUa,KAAK,GAA2C,4BAA4B,CAAC;IACxF,cAAc,EAAE,KAAK,IAAI,KAAK,CAAC,WAAW;CAC3C;;;;"}
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
const request = ({ page, params,
|
|
11
|
-
return query
|
|
10
|
+
const request = ({ page, params, selectedFilters, sort }, { query }) => {
|
|
11
|
+
return query
|
|
12
12
|
? {
|
|
13
13
|
query,
|
|
14
|
-
relatedTags,
|
|
15
14
|
sort,
|
|
16
15
|
page,
|
|
17
16
|
filters: selectedFilters,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.getter.js","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"sourcesContent":["import { SearchXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link SearchGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the search\n * module.\n * @returns The search request to fetch data from the API.\n *\n * @public\n */\nexport const request: SearchXStoreModule['getters']['request'] = (
|
|
1
|
+
{"version":3,"file":"request.getter.js","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"sourcesContent":["import { SearchXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link SearchGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the search\n * module.\n * @returns The search request to fetch data from the API.\n *\n * @public\n */\nexport const request: SearchXStoreModule['getters']['request'] = (\n { page, params, selectedFilters, sort },\n { query }\n) => {\n return query\n ? {\n query,\n sort,\n page,\n filters: selectedFilters,\n ...params\n }\n : null;\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;MASa,OAAO,GAA6C,CAC/D,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,EACvC,EAAE,KAAK,EAAE;IAET,OAAO,KAAK;UACR;YACE,KAAK;YACL,IAAI;YACJ,IAAI;YACJ,OAAO,EAAE,eAAe;YACxB,GAAG,MAAM;SACV;UACD,IAAI,CAAC;AACX;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isFacetFilter } from '@empathyco/x-types';
|
|
2
|
+
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
2
3
|
import { setStatus } from '../../../store/utils/status-store.utils.js';
|
|
3
4
|
import { groupItemsBy } from '../../../utils/array.js';
|
|
4
5
|
import { cancelFetchAndSaveSearchResponse, fetchAndSaveSearchResponse } from './actions/fetch-and-save-search-response.action.js';
|
|
@@ -7,6 +8,7 @@ import { increasePageAppendingResults } from './actions/increase-page-apending-r
|
|
|
7
8
|
import { resetState } from './actions/reset-state.action.js';
|
|
8
9
|
import { saveOrigin } from './actions/save-origin.action.js';
|
|
9
10
|
import { setUrlParams } from './actions/set-url-params.action.js';
|
|
11
|
+
import { query } from './getters/query.getter.js';
|
|
10
12
|
import { request } from './getters/request.getter.js';
|
|
11
13
|
|
|
12
14
|
/**
|
|
@@ -42,12 +44,11 @@ const searchXStoreModule = {
|
|
|
42
44
|
}
|
|
43
45
|
}),
|
|
44
46
|
getters: {
|
|
45
|
-
request
|
|
47
|
+
request,
|
|
48
|
+
query
|
|
46
49
|
},
|
|
47
50
|
mutations: {
|
|
48
|
-
setQuery
|
|
49
|
-
state.query = newQuery;
|
|
50
|
-
},
|
|
51
|
+
setQuery,
|
|
51
52
|
setResults(state, results) {
|
|
52
53
|
state.results = results;
|
|
53
54
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/search/store/module.ts"],"sourcesContent":["import { isFacetFilter } from '@empathyco/x-types';\nimport { setStatus } from '../../../store/utils/status-store.utils';\nimport { groupItemsBy } from '../../../utils/array';\n// eslint-disable-next-line max-len\nimport {\n cancelFetchAndSaveSearchResponse,\n fetchAndSaveSearchResponse\n} from './actions/fetch-and-save-search-response.action';\nimport { fetchSearchResponse } from './actions/fetch-search-response.action';\nimport { increasePageAppendingResults } from './actions/increase-page-apending-results.action';\nimport { resetState } from './actions/reset-state.action';\nimport { saveOrigin } from './actions/save-origin.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { request } from './getters/request.getter';\nimport { SearchXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the search module.\n *\n * @internal\n */\nexport const searchXStoreModule: SearchXStoreModule = {\n state: () => ({\n query: '',\n params: {},\n results: [],\n partialResults: [],\n facets: [],\n relatedTags: [],\n banners: [],\n promoteds: [],\n selectedFilters: {},\n config: {\n pageSize: 24\n },\n totalResults: 0,\n spellcheckedQuery: '',\n status: 'initial',\n sort: '',\n page: 1,\n origin: null,\n isAppendResults: false,\n redirections: [],\n queryTagging: {\n url: '',\n params: {}\n }\n }),\n getters: {\n request\n },\n mutations: {\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/search/store/module.ts"],"sourcesContent":["import { isFacetFilter } from '@empathyco/x-types';\nimport { setQuery } from '../../../store/utils/query.utils';\nimport { setStatus } from '../../../store/utils/status-store.utils';\nimport { groupItemsBy } from '../../../utils/array';\n// eslint-disable-next-line max-len\nimport {\n cancelFetchAndSaveSearchResponse,\n fetchAndSaveSearchResponse\n} from './actions/fetch-and-save-search-response.action';\nimport { fetchSearchResponse } from './actions/fetch-search-response.action';\nimport { increasePageAppendingResults } from './actions/increase-page-apending-results.action';\nimport { resetState } from './actions/reset-state.action';\nimport { saveOrigin } from './actions/save-origin.action';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { query } from './getters/query.getter';\nimport { request } from './getters/request.getter';\nimport { SearchXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the search module.\n *\n * @internal\n */\nexport const searchXStoreModule: SearchXStoreModule = {\n state: () => ({\n query: '',\n params: {},\n results: [],\n partialResults: [],\n facets: [],\n relatedTags: [],\n banners: [],\n promoteds: [],\n selectedFilters: {},\n config: {\n pageSize: 24\n },\n totalResults: 0,\n spellcheckedQuery: '',\n status: 'initial',\n sort: '',\n page: 1,\n origin: null,\n isAppendResults: false,\n redirections: [],\n queryTagging: {\n url: '',\n params: {}\n }\n }),\n getters: {\n request,\n query\n },\n mutations: {\n setQuery,\n setResults(state, results) {\n state.results = results;\n },\n appendResults(state, results) {\n state.results.push(...results);\n },\n setPartialResults(state, partialResults) {\n state.partialResults = partialResults;\n },\n setFacets(state, facets) {\n state.facets = facets;\n },\n setRelatedTags(state, relatedTags) {\n state.relatedTags = relatedTags;\n },\n setSelectedFilters(state, selectedFilters) {\n state.selectedFilters = groupItemsBy(selectedFilters, filter =>\n isFacetFilter(filter) ? filter.facetId : '__unknown__'\n );\n },\n setBanners(state, banners) {\n state.banners = banners;\n },\n setPromoteds(state, promoteds) {\n state.promoteds = promoteds;\n },\n setSpellcheck(state, spellcheckedQuery) {\n state.spellcheckedQuery = spellcheckedQuery;\n },\n setTotalResults(state, totalResults) {\n state.totalResults = totalResults;\n },\n setSort(state, sort) {\n state.sort = sort;\n },\n setPage(state, page) {\n state.page = page;\n },\n setPageSize(state, pageSize) {\n state.config.pageSize = pageSize;\n },\n setIsAppendResults(state, isAppendResults) {\n state.isAppendResults = isAppendResults;\n },\n setStatus,\n setParams(state, params) {\n state.params = params;\n },\n setOrigin(state, origin = null) {\n state.origin = origin;\n },\n setRedirections(state, redirections) {\n state.redirections = redirections;\n },\n setQueryTagging(state, queryTagging) {\n state.queryTagging = queryTagging;\n }\n },\n actions: {\n cancelFetchAndSaveSearchResponse,\n fetchSearchResponse,\n fetchAndSaveSearchResponse,\n increasePageAppendingResults,\n resetState,\n setUrlParams,\n saveOrigin\n }\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;AAkBA;;;;;MAKa,kBAAkB,GAAuB;IACpD,KAAK,EAAE,OAAO;QACZ,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE;QAClB,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,EAAE;QACf,OAAO,EAAE,EAAE;QACX,SAAS,EAAE,EAAE;QACb,eAAe,EAAE,EAAE;QACnB,MAAM,EAAE;YACN,QAAQ,EAAE,EAAE;SACb;QACD,YAAY,EAAE,CAAC;QACf,iBAAiB,EAAE,EAAE;QACrB,MAAM,EAAE,SAAS;QACjB,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,CAAC;QACP,MAAM,EAAE,IAAI;QACZ,eAAe,EAAE,KAAK;QACtB,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE;YACZ,GAAG,EAAE,EAAE;YACP,MAAM,EAAE,EAAE;SACX;KACF,CAAC;IACF,OAAO,EAAE;QACP,OAAO;QACP,KAAK;KACN;IACD,SAAS,EAAE;QACT,QAAQ;QACR,UAAU,CAAC,KAAK,EAAE,OAAO;YACvB,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC;SACzB;QACD,aAAa,CAAC,KAAK,EAAE,OAAO;YAC1B,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC;SAChC;QACD,iBAAiB,CAAC,KAAK,EAAE,cAAc;YACrC,KAAK,CAAC,cAAc,GAAG,cAAc,CAAC;SACvC;QACD,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;QACD,cAAc,CAAC,KAAK,EAAE,WAAW;YAC/B,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;SACjC;QACD,kBAAkB,CAAC,KAAK,EAAE,eAAe;YACvC,KAAK,CAAC,eAAe,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,IAC1D,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,GAAG,aAAa,CACvD,CAAC;SACH;QACD,UAAU,CAAC,KAAK,EAAE,OAAO;YACvB,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC;SACzB;QACD,YAAY,CAAC,KAAK,EAAE,SAAS;YAC3B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;SAC7B;QACD,aAAa,CAAC,KAAK,EAAE,iBAAiB;YACpC,KAAK,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;SAC7C;QACD,eAAe,CAAC,KAAK,EAAE,YAAY;YACjC,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;SACnC;QACD,OAAO,CAAC,KAAK,EAAE,IAAI;YACjB,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;SACnB;QACD,OAAO,CAAC,KAAK,EAAE,IAAI;YACjB,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;SACnB;QACD,WAAW,CAAC,KAAK,EAAE,QAAQ;YACzB,KAAK,CAAC,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;SAClC;QACD,kBAAkB,CAAC,KAAK,EAAE,eAAe;YACvC,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;SACzC;QACD,SAAS;QACT,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;QACD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;YAC5B,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;QACD,eAAe,CAAC,KAAK,EAAE,YAAY;YACjC,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;SACnC;QACD,eAAe,CAAC,KAAK,EAAE,YAAY;YACjC,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;SACnC;KACF;IACD,OAAO,EAAE;QACP,gCAAgC;QAChC,mBAAmB;QACnB,0BAA0B;QAC1B,4BAA4B;QAC5B,UAAU;QACV,YAAY;QACZ,UAAU;KACX;;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
1
2
|
import { setUrlParams } from './actions/set-url-params.action.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -15,9 +16,7 @@ const searchBoxXStoreModule = {
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
mutations: {
|
|
18
|
-
setQuery
|
|
19
|
-
state.query = newQuery;
|
|
20
|
-
}
|
|
19
|
+
setQuery
|
|
21
20
|
},
|
|
22
21
|
actions: {
|
|
23
22
|
setUrlParams
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/search-box/store/module.ts"],"sourcesContent":["import { setUrlParams } from './actions/set-url-params.action';\nimport { SearchBoxXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the search-box module.\n *\n * @internal\n */\nexport const searchBoxXStoreModule: SearchBoxXStoreModule = {\n state: () => ({\n query: ''\n }),\n getters: {\n trimmedQuery(state) {\n return state.query.trim();\n }\n },\n mutations: {\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/search-box/store/module.ts"],"sourcesContent":["import { setQuery } from '../../../store/utils/query.utils';\nimport { setUrlParams } from './actions/set-url-params.action';\nimport { SearchBoxXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the search-box module.\n *\n * @internal\n */\nexport const searchBoxXStoreModule: SearchBoxXStoreModule = {\n state: () => ({\n query: ''\n }),\n getters: {\n trimmedQuery(state) {\n return state.query.trim();\n }\n },\n mutations: {\n setQuery\n },\n actions: {\n setUrlParams\n }\n};\n"],"names":[],"mappings":";;;AAIA;;;;;MAKa,qBAAqB,GAA0B;IAC1D,KAAK,EAAE,OAAO;QACZ,KAAK,EAAE,EAAE;KACV,CAAC;IACF,OAAO,EAAE;QACP,YAAY,CAAC,KAAK;YAChB,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;SAC3B;KACF;IACD,SAAS,EAAE;QACT,QAAQ;KACT;IACD,OAAO,EAAE;QACP,YAAY;KACb;;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { setQuery } from '../../../store/utils/query.utils.js';
|
|
1
2
|
import { urlParams } from './getters/url-params.getter.js';
|
|
2
3
|
import { initialUrlState } from './initial-state.js';
|
|
3
4
|
import { setParams } from './mutations/set-params.mutation.js';
|
|
@@ -17,9 +18,7 @@ const urlXStoreModule = {
|
|
|
17
18
|
},
|
|
18
19
|
mutations: {
|
|
19
20
|
setParams,
|
|
20
|
-
setQuery
|
|
21
|
-
state.query = query;
|
|
22
|
-
},
|
|
21
|
+
setQuery,
|
|
23
22
|
setRelatedTags(state, relatedTags) {
|
|
24
23
|
state.tag = relatedTags.map(relatedTag => relatedTag.tag);
|
|
25
24
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/url/store/module.ts"],"sourcesContent":["import { urlParams } from './getters/url-params.getter';\nimport { initialUrlState } from './initial-state';\nimport { setParams } from './mutations/set-params.mutation';\nimport { UrlXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the URL module.\n *\n * @internal\n */\nexport const urlXStoreModule: UrlXStoreModule = {\n state: () => ({\n ...initialUrlState,\n initialExtraParams: {}\n }),\n getters: {\n urlParams\n },\n mutations: {\n setParams,\n setQuery
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/url/store/module.ts"],"sourcesContent":["import { setQuery } from '../../../store/utils/query.utils';\nimport { urlParams } from './getters/url-params.getter';\nimport { initialUrlState } from './initial-state';\nimport { setParams } from './mutations/set-params.mutation';\nimport { UrlXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the URL module.\n *\n * @internal\n */\nexport const urlXStoreModule: UrlXStoreModule = {\n state: () => ({\n ...initialUrlState,\n initialExtraParams: {}\n }),\n getters: {\n urlParams\n },\n mutations: {\n setParams,\n setQuery,\n setRelatedTags(state, relatedTags) {\n state.tag = relatedTags.map(relatedTag => relatedTag.tag);\n },\n setFilters(state, newFilters) {\n state.filter = newFilters.map(filter => filter.id as string);\n },\n setPage(state, page) {\n state.page = page;\n },\n setSort(state, sort) {\n state.sort = sort;\n },\n setInitialExtraParams(state, extraParams) {\n state.initialExtraParams = extraParams;\n },\n setScroll(state, scroll) {\n state.scroll = scroll;\n }\n },\n actions: {}\n};\n"],"names":[],"mappings":";;;;;AAMA;;;;;MAKa,eAAe,GAAoB;IAC9C,KAAK,EAAE,OAAO;QACZ,GAAG,eAAe;QAClB,kBAAkB,EAAE,EAAE;KACvB,CAAC;IACF,OAAO,EAAE;QACP,SAAS;KACV;IACD,SAAS,EAAE;QACT,SAAS;QACT,QAAQ;QACR,cAAc,CAAC,KAAK,EAAE,WAAW;YAC/B,KAAK,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC,UAAU,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;SAC3D;QACD,UAAU,CAAC,KAAK,EAAE,UAAU;YAC1B,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,EAAY,CAAC,CAAC;SAC9D;QACD,OAAO,CAAC,KAAK,EAAE,IAAI;YACjB,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;SACnB;QACD,OAAO,CAAC,KAAK,EAAE,IAAI;YACjB,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;SACnB;QACD,qBAAqB,CAAC,KAAK,EAAE,WAAW;YACtC,KAAK,CAAC,kBAAkB,GAAG,WAAW,CAAC;SACxC;QACD,SAAS,CAAC,KAAK,EAAE,MAAM;YACrB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;SACvB;KACF;IACD,OAAO,EAAE,EAAE;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.68",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"cypress:open:component": "cypress open-ct"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@empathyco/x-adapter": "^7.0.0-alpha.
|
|
62
|
+
"@empathyco/x-adapter": "^7.0.0-alpha.15",
|
|
63
63
|
"@empathyco/x-deep-merge": "^1.3.0-alpha.3",
|
|
64
64
|
"@empathyco/x-logger": "^1.2.0-alpha.2",
|
|
65
65
|
"@empathyco/x-storage-service": "^2.0.0-alpha.1",
|
|
66
|
-
"@empathyco/x-types": "^10.0.0-alpha.
|
|
66
|
+
"@empathyco/x-types": "^10.0.0-alpha.19",
|
|
67
67
|
"@types/resize-observer-browser": "~0.1.5",
|
|
68
68
|
"nanoid": "~3.1.31",
|
|
69
69
|
"reflect-metadata": "~0.1.13",
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
"@types/jest": "~27.0.3",
|
|
91
91
|
"@types/node": "~16.4.12",
|
|
92
92
|
"@types/testing-library__jest-dom": "~5.9.1",
|
|
93
|
-
"@vue/cli-plugin-e2e-cypress": "~4.5.
|
|
94
|
-
"@vue/cli-plugin-typescript": "~4.5.
|
|
95
|
-
"@vue/cli-plugin-vuex": "~4.5.
|
|
96
|
-
"@vue/cli-service": "~4.5.
|
|
93
|
+
"@vue/cli-plugin-e2e-cypress": "~4.5.16",
|
|
94
|
+
"@vue/cli-plugin-typescript": "~4.5.16",
|
|
95
|
+
"@vue/cli-plugin-vuex": "~4.5.16",
|
|
96
|
+
"@vue/cli-service": "~4.5.16",
|
|
97
97
|
"@vue/test-utils": "~1.0.3",
|
|
98
98
|
"@vue/vue2-jest": "~27.0.0-alpha.3",
|
|
99
99
|
"autoprefixer": "~9.7.4",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"access": "public",
|
|
128
128
|
"directory": "dist"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "71019f0cd366c7dd8f89e8ced3cb527a942da2b2"
|
|
131
131
|
}
|
package/related-tags/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { fetchRelatedTags } from '../js/x-modules/related-tags/store/actions/fet
|
|
|
5
5
|
export { toggleRelatedTag } from '../js/x-modules/related-tags/store/actions/toggle-related-tag.action.js';
|
|
6
6
|
export { relatedTagsEmitters } from '../js/x-modules/related-tags/store/emitters.js';
|
|
7
7
|
export { relatedTags } from '../js/x-modules/related-tags/store/getters/related-tags.getter.js';
|
|
8
|
+
export { query as relatedTagsQuery } from '../js/x-modules/related-tags/store/getters/query.getter.js';
|
|
8
9
|
export { request as relatedTagsRequest } from '../js/x-modules/related-tags/store/getters/request.getter.js';
|
|
9
10
|
export { relatedTagsXStoreModule } from '../js/x-modules/related-tags/store/module.js';
|
|
10
11
|
export { cancelFetchAndSaveRelatedTagsWire, clearRelatedTagsQuery, clearSelectedRelatedTags, fetchAndSaveRelatedTagsWire, relatedTagsWiring, setRelatedTagsExtraParams, setRelatedTagsQuery, setUrlParamsWire, toggleRelatedTagWire } from '../js/x-modules/related-tags/wiring.js';
|
|
@@ -9672,7 +9672,7 @@
|
|
|
9672
9672
|
"excerptTokens": [
|
|
9673
9673
|
{
|
|
9674
9674
|
"kind": "Content",
|
|
9675
|
-
"text": "map({ query,
|
|
9675
|
+
"text": "map({ query, ...rest }: "
|
|
9676
9676
|
},
|
|
9677
9677
|
{
|
|
9678
9678
|
"kind": "Reference",
|
|
@@ -9742,7 +9742,7 @@
|
|
|
9742
9742
|
"overloadIndex": 1,
|
|
9743
9743
|
"parameters": [
|
|
9744
9744
|
{
|
|
9745
|
-
"parameterName": "{ query,
|
|
9745
|
+
"parameterName": "{ query, ...rest }",
|
|
9746
9746
|
"parameterTypeTokenRange": {
|
|
9747
9747
|
"startIndex": 1,
|
|
9748
9748
|
"endIndex": 5
|
|
@@ -10864,106 +10864,6 @@
|
|
|
10864
10864
|
}
|
|
10865
10865
|
]
|
|
10866
10866
|
},
|
|
10867
|
-
{
|
|
10868
|
-
"kind": "Class",
|
|
10869
|
-
"canonicalReference": "@empathyco/x-adapter!EmpathyRequestRelatedTagsQueryMapper:class",
|
|
10870
|
-
"docComment": "/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\n",
|
|
10871
|
-
"excerptTokens": [
|
|
10872
|
-
{
|
|
10873
|
-
"kind": "Content",
|
|
10874
|
-
"text": "export declare class EmpathyRequestRelatedTagsQueryMapper implements "
|
|
10875
|
-
},
|
|
10876
|
-
{
|
|
10877
|
-
"kind": "Reference",
|
|
10878
|
-
"text": "RequestMapper",
|
|
10879
|
-
"canonicalReference": "@empathyco/x-adapter!RequestMapper:interface"
|
|
10880
|
-
},
|
|
10881
|
-
{
|
|
10882
|
-
"kind": "Content",
|
|
10883
|
-
"text": "<"
|
|
10884
|
-
},
|
|
10885
|
-
{
|
|
10886
|
-
"kind": "Reference",
|
|
10887
|
-
"text": "QueryableRequest",
|
|
10888
|
-
"canonicalReference": "@empathyco/x-adapter!QueryableRequest:interface"
|
|
10889
|
-
},
|
|
10890
|
-
{
|
|
10891
|
-
"kind": "Content",
|
|
10892
|
-
"text": ", string> "
|
|
10893
|
-
}
|
|
10894
|
-
],
|
|
10895
|
-
"releaseTag": "Public",
|
|
10896
|
-
"name": "EmpathyRequestRelatedTagsQueryMapper",
|
|
10897
|
-
"members": [
|
|
10898
|
-
{
|
|
10899
|
-
"kind": "Method",
|
|
10900
|
-
"canonicalReference": "@empathyco/x-adapter!EmpathyRequestRelatedTagsQueryMapper#map:member(1)",
|
|
10901
|
-
"docComment": "",
|
|
10902
|
-
"excerptTokens": [
|
|
10903
|
-
{
|
|
10904
|
-
"kind": "Content",
|
|
10905
|
-
"text": "map({ relatedTags }: "
|
|
10906
|
-
},
|
|
10907
|
-
{
|
|
10908
|
-
"kind": "Reference",
|
|
10909
|
-
"text": "QueryableRequest",
|
|
10910
|
-
"canonicalReference": "@empathyco/x-adapter!QueryableRequest:interface"
|
|
10911
|
-
},
|
|
10912
|
-
{
|
|
10913
|
-
"kind": "Content",
|
|
10914
|
-
"text": ", query: "
|
|
10915
|
-
},
|
|
10916
|
-
{
|
|
10917
|
-
"kind": "Content",
|
|
10918
|
-
"text": "string"
|
|
10919
|
-
},
|
|
10920
|
-
{
|
|
10921
|
-
"kind": "Content",
|
|
10922
|
-
"text": "): "
|
|
10923
|
-
},
|
|
10924
|
-
{
|
|
10925
|
-
"kind": "Content",
|
|
10926
|
-
"text": "string"
|
|
10927
|
-
},
|
|
10928
|
-
{
|
|
10929
|
-
"kind": "Content",
|
|
10930
|
-
"text": ";"
|
|
10931
|
-
}
|
|
10932
|
-
],
|
|
10933
|
-
"isOptional": false,
|
|
10934
|
-
"isStatic": false,
|
|
10935
|
-
"returnTypeTokenRange": {
|
|
10936
|
-
"startIndex": 5,
|
|
10937
|
-
"endIndex": 6
|
|
10938
|
-
},
|
|
10939
|
-
"releaseTag": "Public",
|
|
10940
|
-
"overloadIndex": 1,
|
|
10941
|
-
"parameters": [
|
|
10942
|
-
{
|
|
10943
|
-
"parameterName": "{ relatedTags }",
|
|
10944
|
-
"parameterTypeTokenRange": {
|
|
10945
|
-
"startIndex": 1,
|
|
10946
|
-
"endIndex": 2
|
|
10947
|
-
}
|
|
10948
|
-
},
|
|
10949
|
-
{
|
|
10950
|
-
"parameterName": "query",
|
|
10951
|
-
"parameterTypeTokenRange": {
|
|
10952
|
-
"startIndex": 3,
|
|
10953
|
-
"endIndex": 4
|
|
10954
|
-
}
|
|
10955
|
-
}
|
|
10956
|
-
],
|
|
10957
|
-
"name": "map"
|
|
10958
|
-
}
|
|
10959
|
-
],
|
|
10960
|
-
"implementsTokenRanges": [
|
|
10961
|
-
{
|
|
10962
|
-
"startIndex": 1,
|
|
10963
|
-
"endIndex": 5
|
|
10964
|
-
}
|
|
10965
|
-
]
|
|
10966
|
-
},
|
|
10967
10867
|
{
|
|
10968
10868
|
"kind": "Class",
|
|
10969
10869
|
"canonicalReference": "@empathyco/x-adapter!EmpathyRequestSortMapper:class",
|
|
@@ -18045,37 +17945,6 @@
|
|
|
18045
17945
|
"startIndex": 1,
|
|
18046
17946
|
"endIndex": 2
|
|
18047
17947
|
}
|
|
18048
|
-
},
|
|
18049
|
-
{
|
|
18050
|
-
"kind": "PropertySignature",
|
|
18051
|
-
"canonicalReference": "@empathyco/x-adapter!QueryableRequest#relatedTags:member",
|
|
18052
|
-
"docComment": "",
|
|
18053
|
-
"excerptTokens": [
|
|
18054
|
-
{
|
|
18055
|
-
"kind": "Content",
|
|
18056
|
-
"text": "relatedTags?: "
|
|
18057
|
-
},
|
|
18058
|
-
{
|
|
18059
|
-
"kind": "Reference",
|
|
18060
|
-
"text": "RelatedTag",
|
|
18061
|
-
"canonicalReference": "@empathyco/x-adapter!RelatedTag:interface"
|
|
18062
|
-
},
|
|
18063
|
-
{
|
|
18064
|
-
"kind": "Content",
|
|
18065
|
-
"text": "[]"
|
|
18066
|
-
},
|
|
18067
|
-
{
|
|
18068
|
-
"kind": "Content",
|
|
18069
|
-
"text": ";"
|
|
18070
|
-
}
|
|
18071
|
-
],
|
|
18072
|
-
"isOptional": true,
|
|
18073
|
-
"releaseTag": "Public",
|
|
18074
|
-
"name": "relatedTags",
|
|
18075
|
-
"propertyTypeTokenRange": {
|
|
18076
|
-
"startIndex": 1,
|
|
18077
|
-
"endIndex": 3
|
|
18078
|
-
}
|
|
18079
17948
|
}
|
|
18080
17949
|
],
|
|
18081
17950
|
"extendsTokenRanges": []
|