@social-mail/social-mail-client 1.2.372 → 1.2.374
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/admin/AdminAppIndex.pack.js +1 -0
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -0
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/store/Store.pack.js +4 -4
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +1 -1
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreItemListView.d.ts.map +1 -1
- package/dist/public/store/StoreItemListView.js +4 -4
- package/dist/public/store/StoreItemListView.js.map +1 -1
- package/dist/site-editor/blocks/Block.js +1 -0
- package/dist/site-editor/blocks/Block.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +1 -0
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -0
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/public/store/StoreItemListView.tsx +6 -9
- package/src/site-editor/blocks/Block.tsx +1 -0
|
@@ -20201,7 +20201,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
20201
20201
|
}, p => x => (Sql.text.like(x.tag.lowerCaseName, p.search) || Sql.text.like(x.tag.parent.lowerCaseName, p.search)) && x.count > 0);
|
|
20202
20202
|
}
|
|
20203
20203
|
const tags = yield q.orderByDescending(x => x.count).include(x => x.tag).toPagedList({
|
|
20204
|
-
size:
|
|
20204
|
+
size: 10,
|
|
20205
20205
|
cancelToken
|
|
20206
20206
|
});
|
|
20207
20207
|
return tags.items;
|
|
@@ -20224,11 +20224,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
20224
20224
|
let q = this.entityService.query(StoreItem, "storeQuery").where(x => x.itemType in ["product", "service", "resource"] && x.sizeForID === null && x.variantForID === null);
|
|
20225
20225
|
if (search) {
|
|
20226
20226
|
search = search + "%";
|
|
20227
|
-
const
|
|
20227
|
+
const lowerSearch = search.trim().toLocaleLowerCase();
|
|
20228
20228
|
q = q.where({
|
|
20229
20229
|
search,
|
|
20230
|
-
|
|
20231
|
-
}, p => x =>
|
|
20230
|
+
lowerSearch
|
|
20231
|
+
}, p => x => Sql.text.iLike(x.name, p.search) || Sql.text.iLike(x.description, p.search) || x.sizes.some(s => Sql.text.iLike(s.name, p.search) || Sql.text.iLike(s.description, p.search)) || x.variants.some(s => Sql.text.iLike(s.name, p.search) || Sql.text.iLike(s.description, p.search)) || x.storeItemTags.some(t => Sql.text.like(t.tag.lowerCaseName, p.lowerSearch) || Sql.text.like(t.tag.parent.lowerCaseName, p.lowerSearch)));
|
|
20232
20232
|
}
|
|
20233
20233
|
const items = yield q.orderByDescending(x => x.storeItemID).include(x => [x.storeItemPrices, x.storeItemTags.forEach(t => t.tag)]).toPagedList({
|
|
20234
20234
|
start,
|