@athoscommerce/snap-store-mobx 1.6.0 → 1.7.1-beta.121
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/dist/cjs/Autocomplete/Stores/AutocompleteFacetStore.js +2 -1
- package/dist/cjs/Chat/ChatStore.d.ts +107 -0
- package/dist/cjs/Chat/ChatStore.d.ts.map +1 -0
- package/dist/cjs/Chat/ChatStore.js +680 -0
- package/dist/cjs/Chat/Stores/ChatAttachmentStore.d.ts +98 -0
- package/dist/cjs/Chat/Stores/ChatAttachmentStore.d.ts.map +1 -0
- package/dist/cjs/Chat/Stores/ChatAttachmentStore.js +316 -0
- package/dist/cjs/Chat/Stores/ChatCompareStore.d.ts +16 -0
- package/dist/cjs/Chat/Stores/ChatCompareStore.d.ts.map +1 -0
- package/dist/cjs/Chat/Stores/ChatCompareStore.js +64 -0
- package/dist/cjs/Chat/Stores/ChatSessionStore.d.ts +104 -0
- package/dist/cjs/Chat/Stores/ChatSessionStore.d.ts.map +1 -0
- package/dist/cjs/Chat/Stores/ChatSessionStore.js +637 -0
- package/dist/cjs/Search/Stores/SearchFacetStore.d.ts.map +1 -1
- package/dist/cjs/Search/Stores/SearchFacetStore.js +13 -10
- package/dist/cjs/Search/Stores/index.d.ts +1 -1
- package/dist/cjs/Search/Stores/index.d.ts.map +1 -1
- package/dist/cjs/Search/Stores/index.js +2 -1
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/types.d.ts +24 -2
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/esm/Autocomplete/Stores/AutocompleteFacetStore.js +1 -1
- package/dist/esm/Chat/ChatStore.d.ts +107 -0
- package/dist/esm/Chat/ChatStore.d.ts.map +1 -0
- package/dist/esm/Chat/ChatStore.js +605 -0
- package/dist/esm/Chat/Stores/ChatAttachmentStore.d.ts +98 -0
- package/dist/esm/Chat/Stores/ChatAttachmentStore.d.ts.map +1 -0
- package/dist/esm/Chat/Stores/ChatAttachmentStore.js +224 -0
- package/dist/esm/Chat/Stores/ChatCompareStore.d.ts +16 -0
- package/dist/esm/Chat/Stores/ChatCompareStore.d.ts.map +1 -0
- package/dist/esm/Chat/Stores/ChatCompareStore.js +50 -0
- package/dist/esm/Chat/Stores/ChatSessionStore.d.ts +104 -0
- package/dist/esm/Chat/Stores/ChatSessionStore.d.ts.map +1 -0
- package/dist/esm/Chat/Stores/ChatSessionStore.js +602 -0
- package/dist/esm/Search/Stores/SearchFacetStore.d.ts.map +1 -1
- package/dist/esm/Search/Stores/SearchFacetStore.js +13 -10
- package/dist/esm/Search/Stores/index.d.ts +1 -1
- package/dist/esm/Search/Stores/index.d.ts.map +1 -1
- package/dist/esm/Search/Stores/index.js +1 -1
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/types.d.ts +24 -2
- package/dist/esm/types.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -305,15 +305,16 @@ exports.ValueFacet = ValueFacet;
|
|
|
305
305
|
var FacetValue = /** @class */ (function () {
|
|
306
306
|
function FacetValue(services, facet, value) {
|
|
307
307
|
Object.assign(this, value);
|
|
308
|
+
var urlManager = services.urlManager;
|
|
308
309
|
if (this.filtered) {
|
|
309
|
-
this.url =
|
|
310
|
+
this.url = urlManager.remove('page').remove("filter.".concat(facet.field), value.value);
|
|
310
311
|
}
|
|
311
312
|
else {
|
|
312
|
-
var valueUrl =
|
|
313
|
+
var valueUrl = urlManager.remove('page');
|
|
313
314
|
if (facet.multiple == 'single') {
|
|
314
|
-
valueUrl = valueUrl
|
|
315
|
+
valueUrl = valueUrl.remove("filter.".concat(facet.field));
|
|
315
316
|
}
|
|
316
|
-
this.url = valueUrl
|
|
317
|
+
this.url = valueUrl.merge("filter.".concat(facet.field), value.value);
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
return FacetValue;
|
|
@@ -335,11 +336,12 @@ var FacetHierarchyValue = /** @class */ (function (_super) {
|
|
|
335
336
|
_this.history = true;
|
|
336
337
|
}
|
|
337
338
|
}
|
|
339
|
+
var urlManager = services.urlManager;
|
|
338
340
|
if (value.value) {
|
|
339
|
-
_this.url =
|
|
341
|
+
_this.url = urlManager.remove('page').set("filter.".concat(facet.field), value.value);
|
|
340
342
|
}
|
|
341
343
|
else {
|
|
342
|
-
_this.url =
|
|
344
|
+
_this.url = urlManager.remove('page').remove("filter.".concat(facet.field));
|
|
343
345
|
}
|
|
344
346
|
return _this;
|
|
345
347
|
}
|
|
@@ -349,15 +351,16 @@ exports.FacetHierarchyValue = FacetHierarchyValue;
|
|
|
349
351
|
var FacetRangeValue = /** @class */ (function () {
|
|
350
352
|
function FacetRangeValue(services, facet, value) {
|
|
351
353
|
Object.assign(this, value);
|
|
354
|
+
var urlManager = services.urlManager;
|
|
352
355
|
if (this.filtered) {
|
|
353
|
-
this.url =
|
|
356
|
+
this.url = urlManager.remove('page').remove("filter.".concat(facet.field), [{ low: this.low, high: this.high }]);
|
|
354
357
|
}
|
|
355
358
|
else {
|
|
356
|
-
var valueUrl =
|
|
359
|
+
var valueUrl = urlManager.remove('page');
|
|
357
360
|
if (facet.multiple == 'single') {
|
|
358
|
-
valueUrl = valueUrl
|
|
361
|
+
valueUrl = valueUrl.remove("filter.".concat(facet.field));
|
|
359
362
|
}
|
|
360
|
-
this.url = valueUrl
|
|
363
|
+
this.url = valueUrl.merge("filter.".concat(facet.field), [{ low: this.low, high: this.high }]);
|
|
361
364
|
}
|
|
362
365
|
}
|
|
363
366
|
return FacetRangeValue;
|
|
@@ -2,7 +2,7 @@ export { SearchMerchandisingStore, BannerContent, ContentType, MerchandisingCont
|
|
|
2
2
|
export { SearchFacetStore, ValueFacet, RangeFacet, FacetValue, FacetHierarchyValue, FacetRangeValue } from './SearchFacetStore';
|
|
3
3
|
export { SearchFilterStore, Filter } from './SearchFilterStore';
|
|
4
4
|
export { SearchPaginationStore, Page } from './SearchPaginationStore';
|
|
5
|
-
export { SearchResultStore, Product, Banner, VariantSelection, VariantSelectionValue } from './SearchResultStore';
|
|
5
|
+
export { SearchResultStore, Product, Banner, Variants, VariantSelection, VariantSelectionValue } from './SearchResultStore';
|
|
6
6
|
export { SearchSortingStore } from './SearchSortingStore';
|
|
7
7
|
export { SearchQueryStore } from './SearchQueryStore';
|
|
8
8
|
export { SearchHistoryStore } from './SearchHistoryStore';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,WAAW,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC9H,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAChI,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,WAAW,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC9H,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAChI,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5H,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchHistoryStore = exports.SearchQueryStore = exports.SearchSortingStore = exports.VariantSelection = exports.Banner = exports.Product = exports.SearchResultStore = exports.Page = exports.SearchPaginationStore = exports.Filter = exports.SearchFilterStore = exports.FacetRangeValue = exports.FacetHierarchyValue = exports.FacetValue = exports.RangeFacet = exports.ValueFacet = exports.SearchFacetStore = exports.ContentType = exports.SearchMerchandisingStore = void 0;
|
|
3
|
+
exports.SearchHistoryStore = exports.SearchQueryStore = exports.SearchSortingStore = exports.VariantSelection = exports.Variants = exports.Banner = exports.Product = exports.SearchResultStore = exports.Page = exports.SearchPaginationStore = exports.Filter = exports.SearchFilterStore = exports.FacetRangeValue = exports.FacetHierarchyValue = exports.FacetValue = exports.RangeFacet = exports.ValueFacet = exports.SearchFacetStore = exports.ContentType = exports.SearchMerchandisingStore = void 0;
|
|
4
4
|
var SearchMerchandisingStore_1 = require("./SearchMerchandisingStore");
|
|
5
5
|
Object.defineProperty(exports, "SearchMerchandisingStore", { enumerable: true, get: function () { return SearchMerchandisingStore_1.SearchMerchandisingStore; } });
|
|
6
6
|
Object.defineProperty(exports, "ContentType", { enumerable: true, get: function () { return SearchMerchandisingStore_1.ContentType; } });
|
|
@@ -21,6 +21,7 @@ var SearchResultStore_1 = require("./SearchResultStore");
|
|
|
21
21
|
Object.defineProperty(exports, "SearchResultStore", { enumerable: true, get: function () { return SearchResultStore_1.SearchResultStore; } });
|
|
22
22
|
Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return SearchResultStore_1.Product; } });
|
|
23
23
|
Object.defineProperty(exports, "Banner", { enumerable: true, get: function () { return SearchResultStore_1.Banner; } });
|
|
24
|
+
Object.defineProperty(exports, "Variants", { enumerable: true, get: function () { return SearchResultStore_1.Variants; } });
|
|
24
25
|
Object.defineProperty(exports, "VariantSelection", { enumerable: true, get: function () { return SearchResultStore_1.VariantSelection; } });
|
|
25
26
|
var SearchSortingStore_1 = require("./SearchSortingStore");
|
|
26
27
|
Object.defineProperty(exports, "SearchSortingStore", { enumerable: true, get: function () { return SearchSortingStore_1.SearchSortingStore; } });
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ export { AbstractStore } from './Abstract/AbstractStore';
|
|
|
2
2
|
export { AutocompleteStore } from './Autocomplete/AutocompleteStore';
|
|
3
3
|
export { FinderStore } from './Finder/FinderStore';
|
|
4
4
|
export { SearchStore } from './Search/SearchStore';
|
|
5
|
+
export { ChatStore } from './Chat/ChatStore';
|
|
6
|
+
export type { ChatAttachmentImage, ChatAttachmentProduct, ChatAttachmentFacet } from './Chat/Stores/ChatAttachmentStore';
|
|
7
|
+
export type { ChatActions, ActionsData, ChatMessage, ChatFeedback } from './Chat/Stores/ChatSessionStore';
|
|
5
8
|
export * from './Search/Stores/';
|
|
6
9
|
export * from './Autocomplete/Stores/';
|
|
7
10
|
export { RecommendationStore } from './Recommendation/RecommendationStore';
|
|
@@ -9,4 +12,5 @@ export { CartStore } from './Cart/CartStore';
|
|
|
9
12
|
export { StorageStore, StorageConfig, StorageType } from '@athoscommerce/snap-toolbox';
|
|
10
13
|
export { MetaStore } from './Meta/MetaStore';
|
|
11
14
|
export * from './types';
|
|
15
|
+
export { ChatSessionStore } from './Chat/Stores/ChatSessionStore';
|
|
12
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,YAAY,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACzH,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE1G,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.MetaStore = exports.StorageType = exports.StorageStore = exports.CartStore = exports.RecommendationStore = exports.SearchStore = exports.FinderStore = exports.AutocompleteStore = exports.AbstractStore = void 0;
|
|
17
|
+
exports.ChatSessionStore = exports.MetaStore = exports.StorageType = exports.StorageStore = exports.CartStore = exports.RecommendationStore = exports.ChatStore = exports.SearchStore = exports.FinderStore = exports.AutocompleteStore = exports.AbstractStore = void 0;
|
|
18
18
|
var AbstractStore_1 = require("./Abstract/AbstractStore");
|
|
19
19
|
Object.defineProperty(exports, "AbstractStore", { enumerable: true, get: function () { return AbstractStore_1.AbstractStore; } });
|
|
20
20
|
var AutocompleteStore_1 = require("./Autocomplete/AutocompleteStore");
|
|
@@ -23,6 +23,8 @@ var FinderStore_1 = require("./Finder/FinderStore");
|
|
|
23
23
|
Object.defineProperty(exports, "FinderStore", { enumerable: true, get: function () { return FinderStore_1.FinderStore; } });
|
|
24
24
|
var SearchStore_1 = require("./Search/SearchStore");
|
|
25
25
|
Object.defineProperty(exports, "SearchStore", { enumerable: true, get: function () { return SearchStore_1.SearchStore; } });
|
|
26
|
+
var ChatStore_1 = require("./Chat/ChatStore");
|
|
27
|
+
Object.defineProperty(exports, "ChatStore", { enumerable: true, get: function () { return ChatStore_1.ChatStore; } });
|
|
26
28
|
__exportStar(require("./Search/Stores/"), exports);
|
|
27
29
|
__exportStar(require("./Autocomplete/Stores/"), exports);
|
|
28
30
|
var RecommendationStore_1 = require("./Recommendation/RecommendationStore");
|
|
@@ -35,3 +37,5 @@ Object.defineProperty(exports, "StorageType", { enumerable: true, get: function
|
|
|
35
37
|
var MetaStore_1 = require("./Meta/MetaStore");
|
|
36
38
|
Object.defineProperty(exports, "MetaStore", { enumerable: true, get: function () { return MetaStore_1.MetaStore; } });
|
|
37
39
|
__exportStar(require("./types"), exports);
|
|
40
|
+
var ChatSessionStore_1 = require("./Chat/Stores/ChatSessionStore");
|
|
41
|
+
Object.defineProperty(exports, "ChatSessionStore", { enumerable: true, get: function () { return ChatSessionStore_1.ChatSessionStore; } });
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UrlManager } from '@athoscommerce/snap-url-manager';
|
|
2
|
-
import type { RecommendRequestModel } from '@athoscommerce/snap-client';
|
|
2
|
+
import type { ChatRequestModel, RecommendRequestModel } from '@athoscommerce/snap-client';
|
|
3
3
|
import type { SearchResponseModelFacetValueAllOfValues, AutocompleteRequestModel, SearchRequestModel, MetaResponseModelBadgeTag, SearchResponseModelResultBadges } from '@athoscommerce/snapi-types';
|
|
4
4
|
export type BeaconSettings = {
|
|
5
5
|
enabled: boolean;
|
|
@@ -33,6 +33,7 @@ export type SearchStoreConfigSettings = {
|
|
|
33
33
|
onPageShow?: boolean;
|
|
34
34
|
};
|
|
35
35
|
variants?: VariantConfig;
|
|
36
|
+
quickview?: QuickviewConfig;
|
|
36
37
|
history?: {
|
|
37
38
|
url?: string;
|
|
38
39
|
max?: number;
|
|
@@ -69,6 +70,25 @@ export type VariantOptionConfigMappings = {
|
|
|
69
70
|
backgroundImageUrl?: string;
|
|
70
71
|
};
|
|
71
72
|
};
|
|
73
|
+
export type ChatStoreConfig = StoreConfig & {
|
|
74
|
+
globals?: Partial<ChatRequestModel>;
|
|
75
|
+
settings?: ChatStoreConfigSettings;
|
|
76
|
+
siteId?: string;
|
|
77
|
+
};
|
|
78
|
+
export type QuickviewConfig = {
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
displayFields?: string[];
|
|
81
|
+
};
|
|
82
|
+
export type ChatStoreConfigSettings = {
|
|
83
|
+
quickview?: QuickviewConfig;
|
|
84
|
+
feedbackAfterMessages?: number;
|
|
85
|
+
/** Background filters forwarded to the chat init API as `searchConfig.bgFilters`. */
|
|
86
|
+
bgFilters?: Record<string, string>;
|
|
87
|
+
/** Language code forwarded to chat init as `languageCode`. Sourced from the Snap
|
|
88
|
+
* Templates configured locale; falls back to `navigator.language` when absent. */
|
|
89
|
+
languageCode?: string;
|
|
90
|
+
[key: string]: unknown;
|
|
91
|
+
};
|
|
72
92
|
export type SearchStoreConfig = StoreConfig & {
|
|
73
93
|
globals?: Partial<SearchRequestModel>;
|
|
74
94
|
settings?: SearchStoreConfigSettings;
|
|
@@ -118,6 +138,7 @@ export type AutocompleteStoreConfigSettings = {
|
|
|
118
138
|
showResults?: boolean;
|
|
119
139
|
};
|
|
120
140
|
variants?: VariantConfig;
|
|
141
|
+
quickview?: QuickviewConfig;
|
|
121
142
|
history?: {
|
|
122
143
|
enabled?: boolean;
|
|
123
144
|
limit?: number;
|
|
@@ -151,9 +172,10 @@ export type RecommendationStoreConfig = StoreConfig & {
|
|
|
151
172
|
settings?: {
|
|
152
173
|
variants?: VariantConfig;
|
|
153
174
|
searchOnPageShow?: boolean;
|
|
175
|
+
quickview?: QuickviewConfig;
|
|
154
176
|
};
|
|
155
177
|
};
|
|
156
|
-
export type StoreConfigs = SearchStoreConfig | AutocompleteStoreConfig | FinderStoreConfig | RecommendationStoreConfig;
|
|
178
|
+
export type StoreConfigs = SearchStoreConfig | AutocompleteStoreConfig | FinderStoreConfig | RecommendationStoreConfig | ChatStoreConfig;
|
|
157
179
|
export type StoreServices = {
|
|
158
180
|
urlManager: UrlManager;
|
|
159
181
|
};
|
package/dist/cjs/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,KAAK,EACX,wCAAwC,EACxC,wBAAwB,EACxB,kBAAkB,EAClB,yBAAyB,EACzB,+BAA+B,EAC/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG;IAC5B,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAGF,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACvC,SAAS,CAAC,EAAE;QACX,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,YAAY,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;IACF,MAAM,CAAC,EAAE,gBAAgB,GAAG;QAC3B,MAAM,CAAC,EAAE;YACR,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAC;SAClC,CAAC;KACF,CAAC;IACF,OAAO,CAAC,EAAE,iBAAiB,GAAG;QAC7B,MAAM,CAAC,EAAE;YACR,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB,CAAC;SACnC,CAAC;KACF,CAAC;IACF,QAAQ,CAAC,EAA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CAAC;IACjD,KAAK,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,yBAAyB,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ChatStoreConfig, StoreServices } from '../types';
|
|
2
|
+
import { MetaStore } from '../Meta/MetaStore';
|
|
3
|
+
import type { MetaResponseModel, SearchResponseModelFacet } from '@athoscommerce/snapi-types';
|
|
4
|
+
import { AbstractStore } from '../Abstract/AbstractStore';
|
|
5
|
+
import type { ChatResponseModel, ChatRequestModel, ProductsResponseModel } from '@athoscommerce/snap-client';
|
|
6
|
+
import type { UrlManager } from '@athoscommerce/snap-url-manager';
|
|
7
|
+
import { StorageStore } from '@athoscommerce/snap-toolbox';
|
|
8
|
+
import { ChatSessionStore } from './Stores/ChatSessionStore';
|
|
9
|
+
import { ChatStatusResponse } from '@athoscommerce/snap-client';
|
|
10
|
+
import { Product } from '../Search/Stores/SearchResultStore';
|
|
11
|
+
import { SearchFacetStore } from '../Search/Stores/SearchFacetStore';
|
|
12
|
+
export declare class ChatStore extends AbstractStore<ChatStoreConfig> {
|
|
13
|
+
meta?: MetaStore;
|
|
14
|
+
inputValue: string;
|
|
15
|
+
open: boolean;
|
|
16
|
+
storage: StorageStore;
|
|
17
|
+
/** Session-scoped storage for the chat status response — cleared when a new
|
|
18
|
+
* browser session starts, so the status is rechecked on each new session. */
|
|
19
|
+
statusStorage: StorageStore;
|
|
20
|
+
services: StoreServices;
|
|
21
|
+
/** Detached UrlManager — holds the in-progress facet selection for the active facets display.
|
|
22
|
+
* Detached so .go() updates state without navigating the page. */
|
|
23
|
+
urlManager: UrlManager;
|
|
24
|
+
/** The single facet store rendered in chat — backed by the active message's facets. */
|
|
25
|
+
facets: SearchFacetStore;
|
|
26
|
+
chats: ChatSessionStore[];
|
|
27
|
+
currentChatId: string;
|
|
28
|
+
chatEnabled: boolean | null;
|
|
29
|
+
initChatLoading: boolean;
|
|
30
|
+
suggestedQuestions: string[];
|
|
31
|
+
welcomeMessage: string;
|
|
32
|
+
features: ChatStatusResponse['features'];
|
|
33
|
+
productQuickview: Product | null;
|
|
34
|
+
productQuickviewError: string | null;
|
|
35
|
+
/** Raw meta kept for lazy hydration of inactive chat sessions. */
|
|
36
|
+
private storedMetaData;
|
|
37
|
+
/** Tracks which message currently owns the displayed facets — guards against redundant rebuilds. */
|
|
38
|
+
private activeFacetsMessageId;
|
|
39
|
+
/** Bumps on every detached-urlManager change so observers re-evaluate isFacetSelected. */
|
|
40
|
+
urlVersion: number;
|
|
41
|
+
/** Snapshot of the applied filter state captured the last time the active message was seeded.
|
|
42
|
+
* Compared against the live urlManager state to decide whether there are pending changes.
|
|
43
|
+
* `null` means no facets have been seeded yet — there are no pending changes in that case. */
|
|
44
|
+
private appliedFilterSnapshot;
|
|
45
|
+
constructor(config: ChatStoreConfig, services: StoreServices);
|
|
46
|
+
/** Build a SearchFacetStore from raw facet data using the current detached urlManager.
|
|
47
|
+
* Synthesizes meta entries for each facet so SearchFacetStore's display/meta filter
|
|
48
|
+
* doesn't drop chat facets (the chat backend already decided what to send). */
|
|
49
|
+
private buildFacetStore;
|
|
50
|
+
/** Reset the detached urlManager and seed it with this message's filtered facet values,
|
|
51
|
+
* then rebuild the root SearchFacetStore so the UI shows the matching display. */
|
|
52
|
+
setActiveFacets(facets: SearchResponseModelFacet[], messageId: string | null): void;
|
|
53
|
+
/** Total number of selected facet values in the in-progress urlManager state, summed
|
|
54
|
+
* across all filter fields. Each value in a value facet, each range in a range-bucket
|
|
55
|
+
* facet, and the single range on a slider facet each count as one. */
|
|
56
|
+
get pendingFacetCount(): number;
|
|
57
|
+
/** Current in-progress facet selection translated into the API's `searchFilters` shape.
|
|
58
|
+
* Returned unconditionally (not gated on `hasPendingFacetChanges`) so callers that need
|
|
59
|
+
* to explicitly force a `productSearch` request — e.g. the non-multiselect facet
|
|
60
|
+
* click handlers — can attach the current filters without re-implementing the mapping. */
|
|
61
|
+
get searchFilters(): {
|
|
62
|
+
key: string;
|
|
63
|
+
options: ({
|
|
64
|
+
key: string;
|
|
65
|
+
} | {
|
|
66
|
+
low: string;
|
|
67
|
+
high: string;
|
|
68
|
+
})[];
|
|
69
|
+
}[];
|
|
70
|
+
/** True when the in-progress facet selection differs from the filters that were applied
|
|
71
|
+
* by the active productSearchResult — i.e. the user has selected/removed something that
|
|
72
|
+
* hasn't been sent yet. Used to decide whether to show the Apply button. */
|
|
73
|
+
get hasPendingFacetChanges(): boolean;
|
|
74
|
+
get currentChat(): ChatSessionStore | undefined;
|
|
75
|
+
get chatsIds(): string[];
|
|
76
|
+
get blocked(): boolean;
|
|
77
|
+
private applyChatStatusResponse;
|
|
78
|
+
handleChatStatusResponse(response: ChatStatusResponse): boolean;
|
|
79
|
+
reset(): void;
|
|
80
|
+
setProductQuickview(product: Product): void;
|
|
81
|
+
updateProductQuickview(response: ProductsResponseModel): void;
|
|
82
|
+
setProductQuickviewError(message: string): void;
|
|
83
|
+
clearProductQuickview(): void;
|
|
84
|
+
clearHistory(): void;
|
|
85
|
+
createChat(data?: {
|
|
86
|
+
sessionId: string;
|
|
87
|
+
sessionEndTime?: Date;
|
|
88
|
+
}): ChatSessionStore;
|
|
89
|
+
switchChat(id: string): void;
|
|
90
|
+
sendProductQuery(result: any, options: {
|
|
91
|
+
requestType: 'productQuery' | 'productSimilar' | 'productComparison';
|
|
92
|
+
}): void;
|
|
93
|
+
compareProduct(result: any): void;
|
|
94
|
+
addFacet(facet: {
|
|
95
|
+
key: string;
|
|
96
|
+
value: string;
|
|
97
|
+
}): void;
|
|
98
|
+
removeFacet(key: string, value: string): void;
|
|
99
|
+
clearPendingFacets(): void;
|
|
100
|
+
isFacetSelected(key: string, value: string): boolean;
|
|
101
|
+
request(request: ChatRequestModel): void;
|
|
102
|
+
update(data: {
|
|
103
|
+
chat: ChatResponseModel;
|
|
104
|
+
meta: MetaResponseModel;
|
|
105
|
+
}): void;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMapping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