@social-mail/social-mail-client 1.2.652 → 1.2.653
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 +136 -90
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.d.ts +4 -4
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.d.ts.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.js +18 -10
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.js.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.d.ts +2 -2
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.d.ts.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.js +12 -11
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.js.map +1 -1
- package/dist/model/model.d.ts +26 -18
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +106 -69
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +106 -69
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js +106 -69
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/public/store/Store.pack.js +106 -69
- 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/StoreApp.pack.js +106 -69
- 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/cart/ShoppingCart.pack.js +106 -69
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +136 -90
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.tsx +17 -11
- package/src/common/pages/stores/payment-gateway/PaymentGatewayListPage.tsx +17 -14
- package/src/model/model.ts +36 -20
|
@@ -15456,7 +15456,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
15456
15456
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
15457
15457
|
"use strict";
|
|
15458
15458
|
|
|
15459
|
-
var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, AccessToken, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, ContactAddress, CachedItem, Domain, HostedDomain, DomainUser, HostedZone, HostedZoneRecordTypeArray, HostedZoneRecord, HostedZoneUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, EmailLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEvent, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, StoreConfig, StoreItemItemTypeArray, StoreItem, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StorePaymentAttempt, StoreMediaFile, StoreInsight,
|
|
15459
|
+
var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, AccessToken, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, ContactAddress, CachedItem, Domain, HostedDomain, DomainUser, HostedZone, HostedZoneRecordTypeArray, HostedZoneRecord, HostedZoneUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, EmailLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEvent, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, StoreConfig, StoreItemItemTypeArray, StoreItem, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StorePaymentAttempt, StoreMediaFile, StoreInsight, StoreAccount, StoreAccountAddress, StoreAccountEmail, StoreAccountPhone, StorePaymentGatewayPaymentGatewayArray, StorePaymentGateway, StoreJournalJournalTypeArray, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, WebSiteChannel, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, Tag, fixRelatedSchemas;
|
|
15460
15460
|
return {
|
|
15461
15461
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
15462
15462
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -19458,7 +19458,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19458
19458
|
"fk": "gatewayID",
|
|
19459
19459
|
"relatedKey": "accountID"
|
|
19460
19460
|
}],
|
|
19461
|
-
"relatedName": "
|
|
19461
|
+
"relatedName": "StorePaymentGateway"
|
|
19462
19462
|
}]
|
|
19463
19463
|
}));
|
|
19464
19464
|
modelEntitySchemas["StorePaymentAttempt"] = StorePaymentAttempt;
|
|
@@ -19594,20 +19594,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19594
19594
|
}]
|
|
19595
19595
|
}));
|
|
19596
19596
|
modelEntitySchemas["StoreInsight"] = StoreInsight;
|
|
19597
|
-
_export("StoreAccountPaymentGatewayArray", StoreAccountPaymentGatewayArray = [{
|
|
19598
|
-
"label": "paypal",
|
|
19599
|
-
"value": "paypal"
|
|
19600
|
-
}, {
|
|
19601
|
-
"label": "phone-pe",
|
|
19602
|
-
"value": "phone-pe"
|
|
19603
|
-
}]);
|
|
19604
19597
|
_export("StoreAccount", StoreAccount = new Model("StoreAccount", ["accountID"], {
|
|
19605
19598
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
19606
19599
|
ledgerType: "",
|
|
19607
19600
|
name: "",
|
|
19608
|
-
balance: 0
|
|
19609
|
-
isGatewayActive: false,
|
|
19610
|
-
isDefault: false
|
|
19601
|
+
balance: 0
|
|
19611
19602
|
}, {
|
|
19612
19603
|
"name": "store_accounts",
|
|
19613
19604
|
"keys": [{
|
|
@@ -19671,54 +19662,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19671
19662
|
"type": "number",
|
|
19672
19663
|
"dataType": "Decimal",
|
|
19673
19664
|
"default": ["balance", "0"]
|
|
19674
|
-
}, {
|
|
19675
|
-
"name": "paymentGateway",
|
|
19676
|
-
"type": "string",
|
|
19677
|
-
"dataType": "Char",
|
|
19678
|
-
"length": 50,
|
|
19679
|
-
"default": ["paymentGateway", "\"paypal\""]
|
|
19680
|
-
}, {
|
|
19681
|
-
"name": "isGatewayActive",
|
|
19682
|
-
"type": "boolean",
|
|
19683
|
-
"dataType": "Boolean",
|
|
19684
|
-
"default": ["isGatewayActive", "false"]
|
|
19685
|
-
}, {
|
|
19686
|
-
"name": "merchantID",
|
|
19687
|
-
"type": "string",
|
|
19688
|
-
"dataType": "Char",
|
|
19689
|
-
"length": 400,
|
|
19690
|
-
"default": ["merchantID", "\"\""]
|
|
19691
|
-
}, {
|
|
19692
|
-
"name": "url",
|
|
19693
|
-
"type": "string",
|
|
19694
|
-
"dataType": "Char",
|
|
19695
|
-
"default": ["url", "\"\""]
|
|
19696
|
-
}, {
|
|
19697
|
-
"name": "username",
|
|
19698
|
-
"type": "string",
|
|
19699
|
-
"dataType": "Char",
|
|
19700
|
-
"default": ["username", "\"\""]
|
|
19701
|
-
}, {
|
|
19702
|
-
"name": "encryptedPassword",
|
|
19703
|
-
"type": "string",
|
|
19704
|
-
"dataType": "Char",
|
|
19705
|
-
"default": ["encryptedPassword", "\"\""]
|
|
19706
|
-
}, {
|
|
19707
|
-
"name": "accessID",
|
|
19708
|
-
"type": "string",
|
|
19709
|
-
"dataType": "Char",
|
|
19710
|
-
"default": ["accessID", "\"\""]
|
|
19711
|
-
}, {
|
|
19712
|
-
"name": "encryptedSecret",
|
|
19713
|
-
"type": "string",
|
|
19714
|
-
"dataType": "Char",
|
|
19715
|
-
"default": ["encryptedSecret", "\"\""]
|
|
19716
|
-
}, {
|
|
19717
|
-
"name": "country",
|
|
19718
|
-
"type": "string",
|
|
19719
|
-
"dataType": "Char",
|
|
19720
|
-
"length": 20,
|
|
19721
|
-
"default": ["country", "\"\""]
|
|
19722
19665
|
}, {
|
|
19723
19666
|
"name": "billingAddressID",
|
|
19724
19667
|
"type": "number",
|
|
@@ -19729,11 +19672,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19729
19672
|
"type": "number",
|
|
19730
19673
|
"dataType": "BigInt",
|
|
19731
19674
|
"default": ["shippingAddressID", "0"]
|
|
19732
|
-
}, {
|
|
19733
|
-
"name": "isDefault",
|
|
19734
|
-
"type": "boolean",
|
|
19735
|
-
"dataType": "Boolean",
|
|
19736
|
-
"default": ["isDefault", "false"]
|
|
19737
19675
|
}],
|
|
19738
19676
|
"relations": [{
|
|
19739
19677
|
"name": "store",
|
|
@@ -19789,10 +19727,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19789
19727
|
"isInverse": true,
|
|
19790
19728
|
"relatedName": "StoreAccountAddress"
|
|
19791
19729
|
}, {
|
|
19792
|
-
"name": "
|
|
19793
|
-
"isCollection":
|
|
19730
|
+
"name": "storePaymentGateway",
|
|
19731
|
+
"isCollection": false,
|
|
19794
19732
|
"isInverse": true,
|
|
19795
|
-
"relatedName": "
|
|
19733
|
+
"relatedName": "StorePaymentGateway"
|
|
19796
19734
|
}, {
|
|
19797
19735
|
"name": "emails",
|
|
19798
19736
|
"isCollection": true,
|
|
@@ -19966,7 +19904,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19966
19904
|
}));
|
|
19967
19905
|
modelEntitySchemas["StoreAccountEmail"] = StoreAccountEmail;
|
|
19968
19906
|
_export("StoreAccountPhone", StoreAccountPhone = new Model("StoreAccountPhone", ["accountID", "phoneNumberE64"], {}, {
|
|
19969
|
-
"name": "
|
|
19907
|
+
"name": "store_account_phones",
|
|
19970
19908
|
"keys": [{
|
|
19971
19909
|
"name": "accountID",
|
|
19972
19910
|
"type": "number",
|
|
@@ -19999,6 +19937,105 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19999
19937
|
}]
|
|
20000
19938
|
}));
|
|
20001
19939
|
modelEntitySchemas["StoreAccountPhone"] = StoreAccountPhone;
|
|
19940
|
+
_export("StorePaymentGatewayPaymentGatewayArray", StorePaymentGatewayPaymentGatewayArray = [{
|
|
19941
|
+
"label": "paypal",
|
|
19942
|
+
"value": "paypal"
|
|
19943
|
+
}, {
|
|
19944
|
+
"label": "phone-pe",
|
|
19945
|
+
"value": "phone-pe"
|
|
19946
|
+
}]);
|
|
19947
|
+
_export("StorePaymentGateway", StorePaymentGateway = new Model("StorePaymentGateway", ["accountID"], {
|
|
19948
|
+
isGatewayActive: false,
|
|
19949
|
+
isDefault: false
|
|
19950
|
+
}, {
|
|
19951
|
+
"name": "store_payment_gateways",
|
|
19952
|
+
"keys": [{
|
|
19953
|
+
"name": "accountID",
|
|
19954
|
+
"type": "number",
|
|
19955
|
+
"dataType": "BigInt"
|
|
19956
|
+
}],
|
|
19957
|
+
"properties": [{
|
|
19958
|
+
"name": "paymentGateway",
|
|
19959
|
+
"type": "string",
|
|
19960
|
+
"dataType": "Char",
|
|
19961
|
+
"length": 50,
|
|
19962
|
+
"default": ["paymentGateway", "\"paypal\""]
|
|
19963
|
+
}, {
|
|
19964
|
+
"name": "isGatewayActive",
|
|
19965
|
+
"type": "boolean",
|
|
19966
|
+
"dataType": "Boolean",
|
|
19967
|
+
"default": ["isGatewayActive", "false"]
|
|
19968
|
+
}, {
|
|
19969
|
+
"name": "isDefault",
|
|
19970
|
+
"type": "boolean",
|
|
19971
|
+
"dataType": "Boolean",
|
|
19972
|
+
"default": ["isDefault", "false"]
|
|
19973
|
+
}, {
|
|
19974
|
+
"name": "merchantID",
|
|
19975
|
+
"type": "string",
|
|
19976
|
+
"dataType": "Char",
|
|
19977
|
+
"length": 400,
|
|
19978
|
+
"default": ["merchantID", "\"\""]
|
|
19979
|
+
}, {
|
|
19980
|
+
"name": "url",
|
|
19981
|
+
"type": "string",
|
|
19982
|
+
"dataType": "Char",
|
|
19983
|
+
"default": ["url", "\"\""]
|
|
19984
|
+
}, {
|
|
19985
|
+
"name": "accessID",
|
|
19986
|
+
"type": "string",
|
|
19987
|
+
"dataType": "Char",
|
|
19988
|
+
"default": ["accessID", "\"\""]
|
|
19989
|
+
}, {
|
|
19990
|
+
"name": "clientID",
|
|
19991
|
+
"type": "string",
|
|
19992
|
+
"dataType": "Char",
|
|
19993
|
+
"default": ["clientID", "\"\""]
|
|
19994
|
+
}, {
|
|
19995
|
+
"name": "saltIndex",
|
|
19996
|
+
"type": "string",
|
|
19997
|
+
"dataType": "Char",
|
|
19998
|
+
"length": 50,
|
|
19999
|
+
"default": ["saltIndex", "\"\""]
|
|
20000
|
+
}, {
|
|
20001
|
+
"name": "encryptedSalt",
|
|
20002
|
+
"type": "string",
|
|
20003
|
+
"dataType": "Char",
|
|
20004
|
+
"length": 400,
|
|
20005
|
+
"default": ["encryptedSalt", "\"\""]
|
|
20006
|
+
}, {
|
|
20007
|
+
"name": "encryptedSecret",
|
|
20008
|
+
"type": "string",
|
|
20009
|
+
"dataType": "Char",
|
|
20010
|
+
"default": ["encryptedSecret", "\"\""]
|
|
20011
|
+
}, {
|
|
20012
|
+
"name": "country",
|
|
20013
|
+
"type": "string",
|
|
20014
|
+
"dataType": "Char",
|
|
20015
|
+
"length": 20,
|
|
20016
|
+
"default": ["country", "\"\""]
|
|
20017
|
+
}, {
|
|
20018
|
+
"name": "currency",
|
|
20019
|
+
"type": "string",
|
|
20020
|
+
"dataType": "Char",
|
|
20021
|
+
"length": 20,
|
|
20022
|
+
"default": ["currency", "\"\""]
|
|
20023
|
+
}],
|
|
20024
|
+
"relations": [{
|
|
20025
|
+
"name": "storeAccount",
|
|
20026
|
+
"fkMap": [{
|
|
20027
|
+
"fk": "accountID",
|
|
20028
|
+
"relatedKey": "accountID"
|
|
20029
|
+
}],
|
|
20030
|
+
"relatedName": "StoreAccount"
|
|
20031
|
+
}, {
|
|
20032
|
+
"name": "paymentAttempts",
|
|
20033
|
+
"isCollection": true,
|
|
20034
|
+
"isInverse": true,
|
|
20035
|
+
"relatedName": "StorePaymentAttempt"
|
|
20036
|
+
}]
|
|
20037
|
+
}));
|
|
20038
|
+
modelEntitySchemas["StorePaymentGateway"] = StorePaymentGateway;
|
|
20002
20039
|
_export("StoreJournalJournalTypeArray", StoreJournalJournalTypeArray = [{
|
|
20003
20040
|
"label": "order",
|
|
20004
20041
|
"value": "order"
|
|
@@ -55421,7 +55458,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
55421
55458
|
System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "../../../../model/model", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "@web-atoms/core/dist/core/Bind", "@web-atoms/web-controls/dist/basic/Select", "../../../controls/buttons/IconButton", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/core/InjectProperty", "../../../../services/EntityService"], function (_export, _context) {
|
|
55422
55459
|
"use strict";
|
|
55423
55460
|
|
|
55424
|
-
var __awaiter, __decorate, __metadata, ContentPage,
|
|
55461
|
+
var __awaiter, __decorate, __metadata, ContentPage, StorePaymentGatewayPaymentGatewayArray, XNode, Form, FormField, Bind, Select, SaveIconTextButton, Action, InjectProperty, EntityService, PaymentGatewayEditorPage;
|
|
55425
55462
|
_export("default", void 0);
|
|
55426
55463
|
return {
|
|
55427
55464
|
setters: [function (_tslib) {
|
|
@@ -55431,7 +55468,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
55431
55468
|
}, function (_webAtomsWebControlsDistMobileAppMobileApp) {
|
|
55432
55469
|
ContentPage = _webAtomsWebControlsDistMobileAppMobileApp.ContentPage;
|
|
55433
55470
|
}, function (_modelModel) {
|
|
55434
|
-
|
|
55471
|
+
StorePaymentGatewayPaymentGatewayArray = _modelModel.StorePaymentGatewayPaymentGatewayArray;
|
|
55435
55472
|
}, function (_webAtomsCoreDistCoreXNode) {
|
|
55436
55473
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
55437
55474
|
}, function (_webAtomsWebControlsDistBasicForm) {
|
|
@@ -55460,28 +55497,36 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
55460
55497
|
this.renderer = XNode.create("div", null, XNode.create(Form, null, XNode.create(FormField, {
|
|
55461
55498
|
label: "Type"
|
|
55462
55499
|
}, XNode.create(Select, {
|
|
55463
|
-
items:
|
|
55500
|
+
items: StorePaymentGatewayPaymentGatewayArray,
|
|
55464
55501
|
value: Bind.twoWaysImmediate(() => this.model.paymentGateway)
|
|
55465
55502
|
})), XNode.create(FormField, {
|
|
55466
55503
|
label: "Name"
|
|
55467
55504
|
}, XNode.create("input", {
|
|
55468
|
-
value: Bind.twoWaysImmediate(() => this.model.name)
|
|
55505
|
+
value: Bind.twoWaysImmediate(() => this.model.storeAccount.name)
|
|
55469
55506
|
})), XNode.create(FormField, {
|
|
55470
55507
|
label: "Description"
|
|
55471
55508
|
}, XNode.create("input", {
|
|
55472
|
-
value: Bind.twoWaysImmediate(() => this.model.description)
|
|
55509
|
+
value: Bind.twoWaysImmediate(() => this.model.storeAccount.description)
|
|
55510
|
+
})), XNode.create(FormField, {
|
|
55511
|
+
label: "Client ID"
|
|
55512
|
+
}, XNode.create("input", {
|
|
55513
|
+
value: Bind.twoWaysImmediate(() => this.model.clientID)
|
|
55473
55514
|
})), XNode.create(FormField, {
|
|
55474
55515
|
label: "MerchantID"
|
|
55475
55516
|
}, XNode.create("input", {
|
|
55476
55517
|
value: Bind.twoWaysImmediate(() => this.model.merchantID)
|
|
55477
55518
|
})), XNode.create(FormField, {
|
|
55478
|
-
label: "
|
|
55519
|
+
label: "Salt Index"
|
|
55479
55520
|
}, XNode.create("input", {
|
|
55480
|
-
value: Bind.twoWaysImmediate(() => this.model.
|
|
55521
|
+
value: Bind.twoWaysImmediate(() => this.model.saltIndex)
|
|
55481
55522
|
})), XNode.create(FormField, {
|
|
55482
|
-
label: "
|
|
55523
|
+
label: "Salt"
|
|
55483
55524
|
}, XNode.create("input", {
|
|
55484
|
-
value: Bind.twoWaysImmediate(() => this.model.
|
|
55525
|
+
value: Bind.twoWaysImmediate(() => this.model.salt)
|
|
55526
|
+
})), XNode.create(FormField, {
|
|
55527
|
+
label: "Secret"
|
|
55528
|
+
}, XNode.create("input", {
|
|
55529
|
+
value: Bind.twoWaysImmediate(() => this.model.secret)
|
|
55485
55530
|
})), XNode.create(FormField, {
|
|
55486
55531
|
label: "Url"
|
|
55487
55532
|
}, XNode.create("input", {
|
|
@@ -55495,7 +55540,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
55495
55540
|
}
|
|
55496
55541
|
submitForm() {
|
|
55497
55542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
55498
|
-
yield this.entityService.save(this.model, c => c);
|
|
55543
|
+
yield this.entityService.save(this.model, c => c.include(x => x.storeAccount));
|
|
55499
55544
|
return this.model;
|
|
55500
55545
|
});
|
|
55501
55546
|
}
|
|
@@ -55515,7 +55560,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
55515
55560
|
System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/AtomRepeater", "@web-atoms/web-controls/dist/mobile-app/MasterDetailPage", "../../../../services/EntityService", "../../../controls/repeater/InfiniteRepeater", "../../../../model/model", "@web-atoms/core/dist/core/Bind", "../../../Sql", "@web-atoms/core/dist/view-model/Action", "./PaymentGatewayEditorPage", "../../../controls/buttons/IconButton"], function (_export, _context) {
|
|
55516
55561
|
"use strict";
|
|
55517
55562
|
|
|
55518
|
-
var __awaiter, __decorate, __metadata, InjectProperty, XNode, AtomRepeater, MasterDetailPage, EntityService, InfiniteRepeater, StoreAccount, Bind, Sql, Action, PaymentGatewayEditorPage, AddIconTextButton, PaymentGatewayListPage;
|
|
55563
|
+
var __awaiter, __decorate, __metadata, InjectProperty, XNode, AtomRepeater, MasterDetailPage, EntityService, InfiniteRepeater, StoreAccount, StorePaymentGateway, Bind, Sql, Action, PaymentGatewayEditorPage, AddIconTextButton, PaymentGatewayListPage;
|
|
55519
55564
|
_export("default", void 0);
|
|
55520
55565
|
return {
|
|
55521
55566
|
setters: [function (_tslib) {
|
|
@@ -55536,6 +55581,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
55536
55581
|
InfiniteRepeater = _controlsRepeaterInfiniteRepeater.default;
|
|
55537
55582
|
}, function (_modelModel) {
|
|
55538
55583
|
StoreAccount = _modelModel.StoreAccount;
|
|
55584
|
+
StorePaymentGateway = _modelModel.StorePaymentGateway;
|
|
55539
55585
|
}, function (_webAtomsCoreDistCoreBind) {
|
|
55540
55586
|
Bind = _webAtomsCoreDistCoreBind.default;
|
|
55541
55587
|
}, function (_Sql) {
|
|
@@ -55573,11 +55619,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
55573
55619
|
cancelToken
|
|
55574
55620
|
})), {
|
|
55575
55621
|
itemRenderer: x => XNode.create("div", null, XNode.create("label", {
|
|
55576
|
-
text: x.accessID
|
|
55577
|
-
}), XNode.create("label", {
|
|
55578
55622
|
text: x.paymentGateway
|
|
55579
55623
|
}), XNode.create("label", {
|
|
55580
|
-
text: x.name
|
|
55624
|
+
text: x.storeAccount.name
|
|
55581
55625
|
}))
|
|
55582
55626
|
})));
|
|
55583
55627
|
this.footerRenderer = () => XNode.create("div", null, XNode.create(AddIconTextButton, {
|
|
@@ -55593,15 +55637,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
55593
55637
|
const {
|
|
55594
55638
|
storeID
|
|
55595
55639
|
} = this.parameters;
|
|
55596
|
-
let q = this.entityService.query(
|
|
55640
|
+
let q = this.entityService.query(StorePaymentGateway).where({
|
|
55597
55641
|
storeID
|
|
55598
|
-
}, p => x => x.storeID === p.storeID
|
|
55642
|
+
}, p => x => x.storeAccount.storeID === p.storeID);
|
|
55599
55643
|
if (search) {
|
|
55600
55644
|
q = q.where({
|
|
55601
55645
|
search
|
|
55602
|
-
}, p => x => Sql.text.iLike(x.description, p.search));
|
|
55646
|
+
}, p => x => Sql.text.iLike(x.storeAccount.description, p.search));
|
|
55603
55647
|
}
|
|
55604
|
-
return q.toPagedList({
|
|
55648
|
+
return q.include(x => x.storeAccount).toPagedList({
|
|
55605
55649
|
start,
|
|
55606
55650
|
cancelToken
|
|
55607
55651
|
});
|
|
@@ -55620,9 +55664,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
55620
55664
|
const {
|
|
55621
55665
|
storeID
|
|
55622
55666
|
} = this.parameters;
|
|
55623
|
-
const item =
|
|
55624
|
-
|
|
55625
|
-
|
|
55667
|
+
const item = StorePaymentGateway.create({
|
|
55668
|
+
storeAccount: StoreAccount.create({
|
|
55669
|
+
storeID,
|
|
55670
|
+
head: "Income"
|
|
55671
|
+
})
|
|
55626
55672
|
});
|
|
55627
55673
|
this.items.add(item);
|
|
55628
55674
|
this.repeater.selectedItem = item;
|