@social-mail/social-mail-client 1.2.721 → 1.2.723
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/public/store/StoreApp.pack.js +4 -1
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/pages/StoreOrderPage.d.ts.map +1 -1
- package/dist/public/store/pages/StoreOrderPage.js +4 -1
- package/dist/public/store/pages/StoreOrderPage.js.map +1 -1
- package/dist/services/store/StoreItemService.js +1 -1
- package/dist/services/store/StoreItemService.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +62 -5
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +3 -3
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/store/products/EditProductListPage.d.ts.map +1 -1
- package/dist/site-editor-app/pages/store/products/EditProductListPage.js +7 -3
- package/dist/site-editor-app/pages/store/products/EditProductListPage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/public/store/pages/StoreOrderPage.tsx +7 -0
- package/src/services/store/StoreItemService.ts +1 -1
- package/src/site-editor-app/pages/store/products/EditProductListPage.tsx +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditProductListPage.d.ts","sourceRoot":"","sources":["../../../../../src/site-editor-app/pages/store/products/EditProductListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAa,MAAM,yBAAyB,CAAC;AAIhF,OAAO,gBAAgB,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"EditProductListPage.d.ts","sourceRoot":"","sources":["../../../../../src/site-editor-app/pages/store/products/EditProductListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAa,MAAM,yBAAyB,CAAC;AAIhF,OAAO,gBAAgB,MAAM,6CAA6C,CAAC;AAY3E,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW,CAAC;IAAE,OAAO,MAAA;CAAE,CAAC;IAErE,MAAM,SAAM;IAEZ,KAAK,EAAE,UAAU,EAAE,CAAM;IAEzB,KAAK,EAAE,cAAc,CAAQ;IAE7B,YAAY,MAAQ;IAGpB,gBAAgB,EAAE,gBAAgB,CAAC;IAE7B,IAAI;IAqEJ,MAAM,CAAC,EAAE,QAAQ,EAAE;;KAAA;CAsB5B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/AtomRepeater", "@web-atoms/core/dist/core/InjectProperty", "../../../../services/store/StoreItemService", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/core/Bind", "./EditProductDetailPage", "@web-atoms/web-controls/dist/basic/InlinePopup", "@web-atoms/web-controls/dist/basic/PopupButton", "@web-atoms/web-controls/dist/PageNavigator", "../StoreLink", "../../../../common/controls/repeater/InfiniteRepeater", "../../../commands/SiteEditorCommands"], function (_export, _context) {
|
|
1
|
+
System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/AtomRepeater", "@web-atoms/core/dist/core/InjectProperty", "../../../../services/store/StoreItemService", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/core/Bind", "./EditProductDetailPage", "@web-atoms/web-controls/dist/basic/InlinePopup", "@web-atoms/web-controls/dist/basic/PopupButton", "@web-atoms/web-controls/dist/PageNavigator", "../StoreLink", "../../../../common/controls/repeater/InfiniteRepeater", "../../../commands/SiteEditorCommands", "../../../../common/currency"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var __awaiter, __decorate, __metadata, ContentPage, XNode, AtomRepeater, SelectorCheckBox, InjectProperty, StoreItemService, Action, Bind, EditProductDetailPage, InlinePopupButton, MenuItem, PageNavigator, StoreLink, InfiniteRepeater, SiteEditorCommands, EditProductListPage;
|
|
4
|
+
var __awaiter, __decorate, __metadata, ContentPage, XNode, AtomRepeater, SelectorCheckBox, InjectProperty, StoreItemService, Action, Bind, EditProductDetailPage, InlinePopupButton, MenuItem, PageNavigator, StoreLink, InfiniteRepeater, SiteEditorCommands, formatPrice, EditProductListPage;
|
|
5
5
|
_export("default", void 0);
|
|
6
6
|
return {
|
|
7
7
|
setters: [function (_tslib) {
|
|
@@ -37,6 +37,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37
37
|
InfiniteRepeater = _commonControlsRepeaterInfiniteRepeater.default;
|
|
38
38
|
}, function (_commandsSiteEditorCommands) {
|
|
39
39
|
SiteEditorCommands = _commandsSiteEditorCommands.default;
|
|
40
|
+
}, function (_commonCurrency) {
|
|
41
|
+
formatPrice = _commonCurrency.formatPrice;
|
|
40
42
|
}],
|
|
41
43
|
execute: function () {
|
|
42
44
|
_export("default", EditProductListPage = class EditProductListPage extends ContentPage {
|
|
@@ -88,13 +90,15 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
88
90
|
cancelToken
|
|
89
91
|
})), {
|
|
90
92
|
itemRenderer: item => {
|
|
91
|
-
var _a;
|
|
93
|
+
var _a, _b, _c;
|
|
92
94
|
return XNode.create("div", null, XNode.create(SelectorCheckBox, null), XNode.create("label", {
|
|
93
95
|
text: item.storeItemID
|
|
94
96
|
}), XNode.create("label", {
|
|
95
97
|
text: item.itemType
|
|
96
98
|
}), XNode.create("label", {
|
|
97
99
|
text: (_a = item.itemFolder) === null || _a === void 0 ? void 0 : _a.name
|
|
100
|
+
}), XNode.create("label", {
|
|
101
|
+
text: formatPrice((_c = (_b = item.storeItemPrices) === null || _b === void 0 ? void 0 : _b.filter(x => x.active)) === null || _c === void 0 ? void 0 : _c[0])
|
|
98
102
|
}), XNode.create("a", {
|
|
99
103
|
text: item.name,
|
|
100
104
|
"data-click-event": "route",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EditProductListPage","_export","setters","_tslib","ContentPage","_webAtomsWebControlsDistMobileAppMobileApp","_webAtomsCoreDistCoreXNode","XNode","default","_webAtomsWebControlsDistBasicAtomRepeater","AtomRepeater","SelectorCheckBox","_webAtomsCoreDistCoreInjectProperty","InjectProperty","_servicesStoreStoreItemService","StoreItemService","_webAtomsCoreDistViewModelAction","Action","_webAtomsCoreDistCoreBind","Bind","_EditProductDetailPage","EditProductDetailPage","_webAtomsWebControlsDistBasicInlinePopup","InlinePopupButton","_webAtomsWebControlsDistBasicPopupButton","MenuItem","_webAtomsWebControlsDistPageNavigator","PageNavigator","_StoreLink","StoreLink","_commonControlsRepeaterInfiniteRepeater","InfiniteRepeater","_commandsSiteEditorCommands","SiteEditorCommands","execute","constructor","search","items","store","selectedItem","init","storeID","parameters","storeItemService","getStore","headerRenderer","create","type","value","twoWaysImmediate","icon","text","popup","label","renderer","Object","assign","allowMultipleSelection","pagedItems","start","c","e","cancelToken","list","itemRenderer","item","storeItemID","itemType","_a","itemFolder","name","href","editProduct","displayRoute","addNew","product","pushPageForResult","add","__decorate","onEvent"],"sources":["../../../../../src/site-editor-app/pages/store/products/EditProductListPage.tsx"],"sourcesContent":[null],"mappings":";;;
|
|
1
|
+
{"version":3,"names":["EditProductListPage","_export","setters","_tslib","ContentPage","_webAtomsWebControlsDistMobileAppMobileApp","_webAtomsCoreDistCoreXNode","XNode","default","_webAtomsWebControlsDistBasicAtomRepeater","AtomRepeater","SelectorCheckBox","_webAtomsCoreDistCoreInjectProperty","InjectProperty","_servicesStoreStoreItemService","StoreItemService","_webAtomsCoreDistViewModelAction","Action","_webAtomsCoreDistCoreBind","Bind","_EditProductDetailPage","EditProductDetailPage","_webAtomsWebControlsDistBasicInlinePopup","InlinePopupButton","_webAtomsWebControlsDistBasicPopupButton","MenuItem","_webAtomsWebControlsDistPageNavigator","PageNavigator","_StoreLink","StoreLink","_commonControlsRepeaterInfiniteRepeater","InfiniteRepeater","_commandsSiteEditorCommands","SiteEditorCommands","_commonCurrency","formatPrice","execute","constructor","search","items","store","selectedItem","init","storeID","parameters","storeItemService","getStore","headerRenderer","create","type","value","twoWaysImmediate","icon","text","popup","label","renderer","Object","assign","allowMultipleSelection","pagedItems","start","c","e","cancelToken","list","itemRenderer","item","storeItemID","itemType","_a","itemFolder","name","_c","_b","storeItemPrices","filter","x","active","href","editProduct","displayRoute","addNew","product","pushPageForResult","add","__decorate","onEvent"],"sources":["../../../../../src/site-editor-app/pages/store/products/EditProductListPage.tsx"],"sourcesContent":[null],"mappings":";;;8QAiBqBA,mBAAoB;EAAAC,OAAA;EAAA;IAAAC,OAAA,aAAAC,MAAA;;;;;MAjBhCC,WAAW,GAAAC,0CAAA,CAAXD,WAAW;IAAA,aAAAE,0BAAA;MAEbC,KAAK,GAAAD,0BAAA,CAAAE,OAAA;IAAA,aAAAC,yCAAA;MACLC,YAAY,GAAAD,yCAAA,CAAAD,OAAA;MAAIG,gBAAgB,GAAAF,yCAAA,CAAhBE,gBAAgB;IAAA,aAAAC,mCAAA;MAChCC,cAAc,GAAAD,mCAAA,CAAAJ,OAAA;IAAA,aAAAM,8BAAA;MACdC,gBAAgB,GAAAD,8BAAA,CAAAN,OAAA;IAAA,aAAAQ,gCAAA;MAChBC,MAAM,GAAAD,gCAAA,CAAAR,OAAA;IAAA,aAAAU,yBAAA;MACNC,IAAI,GAAAD,yBAAA,CAAAV,OAAA;IAAA,aAAAY,sBAAA;MACJC,qBAAqB,GAAAD,sBAAA,CAAAZ,OAAA;IAAA,aAAAc,wCAAA;MACnB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