@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
|
@@ -13399,7 +13399,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
13399
13399
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
13400
13400
|
"use strict";
|
|
13401
13401
|
|
|
13402
|
-
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,
|
|
13402
|
+
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;
|
|
13403
13403
|
return {
|
|
13404
13404
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
13405
13405
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -17401,7 +17401,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17401
17401
|
"fk": "gatewayID",
|
|
17402
17402
|
"relatedKey": "accountID"
|
|
17403
17403
|
}],
|
|
17404
|
-
"relatedName": "
|
|
17404
|
+
"relatedName": "StorePaymentGateway"
|
|
17405
17405
|
}]
|
|
17406
17406
|
}));
|
|
17407
17407
|
modelEntitySchemas["StorePaymentAttempt"] = StorePaymentAttempt;
|
|
@@ -17537,20 +17537,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17537
17537
|
}]
|
|
17538
17538
|
}));
|
|
17539
17539
|
modelEntitySchemas["StoreInsight"] = StoreInsight;
|
|
17540
|
-
_export("StoreAccountPaymentGatewayArray", StoreAccountPaymentGatewayArray = [{
|
|
17541
|
-
"label": "paypal",
|
|
17542
|
-
"value": "paypal"
|
|
17543
|
-
}, {
|
|
17544
|
-
"label": "phone-pe",
|
|
17545
|
-
"value": "phone-pe"
|
|
17546
|
-
}]);
|
|
17547
17540
|
_export("StoreAccount", StoreAccount = new Model("StoreAccount", ["accountID"], {
|
|
17548
17541
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
17549
17542
|
ledgerType: "",
|
|
17550
17543
|
name: "",
|
|
17551
|
-
balance: 0
|
|
17552
|
-
isGatewayActive: false,
|
|
17553
|
-
isDefault: false
|
|
17544
|
+
balance: 0
|
|
17554
17545
|
}, {
|
|
17555
17546
|
"name": "store_accounts",
|
|
17556
17547
|
"keys": [{
|
|
@@ -17614,54 +17605,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17614
17605
|
"type": "number",
|
|
17615
17606
|
"dataType": "Decimal",
|
|
17616
17607
|
"default": ["balance", "0"]
|
|
17617
|
-
}, {
|
|
17618
|
-
"name": "paymentGateway",
|
|
17619
|
-
"type": "string",
|
|
17620
|
-
"dataType": "Char",
|
|
17621
|
-
"length": 50,
|
|
17622
|
-
"default": ["paymentGateway", "\"paypal\""]
|
|
17623
|
-
}, {
|
|
17624
|
-
"name": "isGatewayActive",
|
|
17625
|
-
"type": "boolean",
|
|
17626
|
-
"dataType": "Boolean",
|
|
17627
|
-
"default": ["isGatewayActive", "false"]
|
|
17628
|
-
}, {
|
|
17629
|
-
"name": "merchantID",
|
|
17630
|
-
"type": "string",
|
|
17631
|
-
"dataType": "Char",
|
|
17632
|
-
"length": 400,
|
|
17633
|
-
"default": ["merchantID", "\"\""]
|
|
17634
|
-
}, {
|
|
17635
|
-
"name": "url",
|
|
17636
|
-
"type": "string",
|
|
17637
|
-
"dataType": "Char",
|
|
17638
|
-
"default": ["url", "\"\""]
|
|
17639
|
-
}, {
|
|
17640
|
-
"name": "username",
|
|
17641
|
-
"type": "string",
|
|
17642
|
-
"dataType": "Char",
|
|
17643
|
-
"default": ["username", "\"\""]
|
|
17644
|
-
}, {
|
|
17645
|
-
"name": "encryptedPassword",
|
|
17646
|
-
"type": "string",
|
|
17647
|
-
"dataType": "Char",
|
|
17648
|
-
"default": ["encryptedPassword", "\"\""]
|
|
17649
|
-
}, {
|
|
17650
|
-
"name": "accessID",
|
|
17651
|
-
"type": "string",
|
|
17652
|
-
"dataType": "Char",
|
|
17653
|
-
"default": ["accessID", "\"\""]
|
|
17654
|
-
}, {
|
|
17655
|
-
"name": "encryptedSecret",
|
|
17656
|
-
"type": "string",
|
|
17657
|
-
"dataType": "Char",
|
|
17658
|
-
"default": ["encryptedSecret", "\"\""]
|
|
17659
|
-
}, {
|
|
17660
|
-
"name": "country",
|
|
17661
|
-
"type": "string",
|
|
17662
|
-
"dataType": "Char",
|
|
17663
|
-
"length": 20,
|
|
17664
|
-
"default": ["country", "\"\""]
|
|
17665
17608
|
}, {
|
|
17666
17609
|
"name": "billingAddressID",
|
|
17667
17610
|
"type": "number",
|
|
@@ -17672,11 +17615,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17672
17615
|
"type": "number",
|
|
17673
17616
|
"dataType": "BigInt",
|
|
17674
17617
|
"default": ["shippingAddressID", "0"]
|
|
17675
|
-
}, {
|
|
17676
|
-
"name": "isDefault",
|
|
17677
|
-
"type": "boolean",
|
|
17678
|
-
"dataType": "Boolean",
|
|
17679
|
-
"default": ["isDefault", "false"]
|
|
17680
17618
|
}],
|
|
17681
17619
|
"relations": [{
|
|
17682
17620
|
"name": "store",
|
|
@@ -17732,10 +17670,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17732
17670
|
"isInverse": true,
|
|
17733
17671
|
"relatedName": "StoreAccountAddress"
|
|
17734
17672
|
}, {
|
|
17735
|
-
"name": "
|
|
17736
|
-
"isCollection":
|
|
17673
|
+
"name": "storePaymentGateway",
|
|
17674
|
+
"isCollection": false,
|
|
17737
17675
|
"isInverse": true,
|
|
17738
|
-
"relatedName": "
|
|
17676
|
+
"relatedName": "StorePaymentGateway"
|
|
17739
17677
|
}, {
|
|
17740
17678
|
"name": "emails",
|
|
17741
17679
|
"isCollection": true,
|
|
@@ -17909,7 +17847,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17909
17847
|
}));
|
|
17910
17848
|
modelEntitySchemas["StoreAccountEmail"] = StoreAccountEmail;
|
|
17911
17849
|
_export("StoreAccountPhone", StoreAccountPhone = new Model("StoreAccountPhone", ["accountID", "phoneNumberE64"], {}, {
|
|
17912
|
-
"name": "
|
|
17850
|
+
"name": "store_account_phones",
|
|
17913
17851
|
"keys": [{
|
|
17914
17852
|
"name": "accountID",
|
|
17915
17853
|
"type": "number",
|
|
@@ -17942,6 +17880,105 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17942
17880
|
}]
|
|
17943
17881
|
}));
|
|
17944
17882
|
modelEntitySchemas["StoreAccountPhone"] = StoreAccountPhone;
|
|
17883
|
+
_export("StorePaymentGatewayPaymentGatewayArray", StorePaymentGatewayPaymentGatewayArray = [{
|
|
17884
|
+
"label": "paypal",
|
|
17885
|
+
"value": "paypal"
|
|
17886
|
+
}, {
|
|
17887
|
+
"label": "phone-pe",
|
|
17888
|
+
"value": "phone-pe"
|
|
17889
|
+
}]);
|
|
17890
|
+
_export("StorePaymentGateway", StorePaymentGateway = new Model("StorePaymentGateway", ["accountID"], {
|
|
17891
|
+
isGatewayActive: false,
|
|
17892
|
+
isDefault: false
|
|
17893
|
+
}, {
|
|
17894
|
+
"name": "store_payment_gateways",
|
|
17895
|
+
"keys": [{
|
|
17896
|
+
"name": "accountID",
|
|
17897
|
+
"type": "number",
|
|
17898
|
+
"dataType": "BigInt"
|
|
17899
|
+
}],
|
|
17900
|
+
"properties": [{
|
|
17901
|
+
"name": "paymentGateway",
|
|
17902
|
+
"type": "string",
|
|
17903
|
+
"dataType": "Char",
|
|
17904
|
+
"length": 50,
|
|
17905
|
+
"default": ["paymentGateway", "\"paypal\""]
|
|
17906
|
+
}, {
|
|
17907
|
+
"name": "isGatewayActive",
|
|
17908
|
+
"type": "boolean",
|
|
17909
|
+
"dataType": "Boolean",
|
|
17910
|
+
"default": ["isGatewayActive", "false"]
|
|
17911
|
+
}, {
|
|
17912
|
+
"name": "isDefault",
|
|
17913
|
+
"type": "boolean",
|
|
17914
|
+
"dataType": "Boolean",
|
|
17915
|
+
"default": ["isDefault", "false"]
|
|
17916
|
+
}, {
|
|
17917
|
+
"name": "merchantID",
|
|
17918
|
+
"type": "string",
|
|
17919
|
+
"dataType": "Char",
|
|
17920
|
+
"length": 400,
|
|
17921
|
+
"default": ["merchantID", "\"\""]
|
|
17922
|
+
}, {
|
|
17923
|
+
"name": "url",
|
|
17924
|
+
"type": "string",
|
|
17925
|
+
"dataType": "Char",
|
|
17926
|
+
"default": ["url", "\"\""]
|
|
17927
|
+
}, {
|
|
17928
|
+
"name": "accessID",
|
|
17929
|
+
"type": "string",
|
|
17930
|
+
"dataType": "Char",
|
|
17931
|
+
"default": ["accessID", "\"\""]
|
|
17932
|
+
}, {
|
|
17933
|
+
"name": "clientID",
|
|
17934
|
+
"type": "string",
|
|
17935
|
+
"dataType": "Char",
|
|
17936
|
+
"default": ["clientID", "\"\""]
|
|
17937
|
+
}, {
|
|
17938
|
+
"name": "saltIndex",
|
|
17939
|
+
"type": "string",
|
|
17940
|
+
"dataType": "Char",
|
|
17941
|
+
"length": 50,
|
|
17942
|
+
"default": ["saltIndex", "\"\""]
|
|
17943
|
+
}, {
|
|
17944
|
+
"name": "encryptedSalt",
|
|
17945
|
+
"type": "string",
|
|
17946
|
+
"dataType": "Char",
|
|
17947
|
+
"length": 400,
|
|
17948
|
+
"default": ["encryptedSalt", "\"\""]
|
|
17949
|
+
}, {
|
|
17950
|
+
"name": "encryptedSecret",
|
|
17951
|
+
"type": "string",
|
|
17952
|
+
"dataType": "Char",
|
|
17953
|
+
"default": ["encryptedSecret", "\"\""]
|
|
17954
|
+
}, {
|
|
17955
|
+
"name": "country",
|
|
17956
|
+
"type": "string",
|
|
17957
|
+
"dataType": "Char",
|
|
17958
|
+
"length": 20,
|
|
17959
|
+
"default": ["country", "\"\""]
|
|
17960
|
+
}, {
|
|
17961
|
+
"name": "currency",
|
|
17962
|
+
"type": "string",
|
|
17963
|
+
"dataType": "Char",
|
|
17964
|
+
"length": 20,
|
|
17965
|
+
"default": ["currency", "\"\""]
|
|
17966
|
+
}],
|
|
17967
|
+
"relations": [{
|
|
17968
|
+
"name": "storeAccount",
|
|
17969
|
+
"fkMap": [{
|
|
17970
|
+
"fk": "accountID",
|
|
17971
|
+
"relatedKey": "accountID"
|
|
17972
|
+
}],
|
|
17973
|
+
"relatedName": "StoreAccount"
|
|
17974
|
+
}, {
|
|
17975
|
+
"name": "paymentAttempts",
|
|
17976
|
+
"isCollection": true,
|
|
17977
|
+
"isInverse": true,
|
|
17978
|
+
"relatedName": "StorePaymentAttempt"
|
|
17979
|
+
}]
|
|
17980
|
+
}));
|
|
17981
|
+
modelEntitySchemas["StorePaymentGateway"] = StorePaymentGateway;
|
|
17945
17982
|
_export("StoreJournalJournalTypeArray", StoreJournalJournalTypeArray = [{
|
|
17946
17983
|
"label": "order",
|
|
17947
17984
|
"value": "order"
|
|
@@ -59430,7 +59467,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
59430
59467
|
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) {
|
|
59431
59468
|
"use strict";
|
|
59432
59469
|
|
|
59433
|
-
var __awaiter, __decorate, __metadata, ContentPage,
|
|
59470
|
+
var __awaiter, __decorate, __metadata, ContentPage, StorePaymentGatewayPaymentGatewayArray, XNode, Form, FormField, Bind, Select, SaveIconTextButton, Action, InjectProperty, EntityService, PaymentGatewayEditorPage;
|
|
59434
59471
|
_export("default", void 0);
|
|
59435
59472
|
return {
|
|
59436
59473
|
setters: [function (_tslib) {
|
|
@@ -59440,7 +59477,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
59440
59477
|
}, function (_webAtomsWebControlsDistMobileAppMobileApp) {
|
|
59441
59478
|
ContentPage = _webAtomsWebControlsDistMobileAppMobileApp.ContentPage;
|
|
59442
59479
|
}, function (_modelModel) {
|
|
59443
|
-
|
|
59480
|
+
StorePaymentGatewayPaymentGatewayArray = _modelModel.StorePaymentGatewayPaymentGatewayArray;
|
|
59444
59481
|
}, function (_webAtomsCoreDistCoreXNode) {
|
|
59445
59482
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
59446
59483
|
}, function (_webAtomsWebControlsDistBasicForm) {
|
|
@@ -59469,28 +59506,36 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
59469
59506
|
this.renderer = XNode.create("div", null, XNode.create(Form, null, XNode.create(FormField, {
|
|
59470
59507
|
label: "Type"
|
|
59471
59508
|
}, XNode.create(Select, {
|
|
59472
|
-
items:
|
|
59509
|
+
items: StorePaymentGatewayPaymentGatewayArray,
|
|
59473
59510
|
value: Bind.twoWaysImmediate(() => this.model.paymentGateway)
|
|
59474
59511
|
})), XNode.create(FormField, {
|
|
59475
59512
|
label: "Name"
|
|
59476
59513
|
}, XNode.create("input", {
|
|
59477
|
-
value: Bind.twoWaysImmediate(() => this.model.name)
|
|
59514
|
+
value: Bind.twoWaysImmediate(() => this.model.storeAccount.name)
|
|
59478
59515
|
})), XNode.create(FormField, {
|
|
59479
59516
|
label: "Description"
|
|
59480
59517
|
}, XNode.create("input", {
|
|
59481
|
-
value: Bind.twoWaysImmediate(() => this.model.description)
|
|
59518
|
+
value: Bind.twoWaysImmediate(() => this.model.storeAccount.description)
|
|
59519
|
+
})), XNode.create(FormField, {
|
|
59520
|
+
label: "Client ID"
|
|
59521
|
+
}, XNode.create("input", {
|
|
59522
|
+
value: Bind.twoWaysImmediate(() => this.model.clientID)
|
|
59482
59523
|
})), XNode.create(FormField, {
|
|
59483
59524
|
label: "MerchantID"
|
|
59484
59525
|
}, XNode.create("input", {
|
|
59485
59526
|
value: Bind.twoWaysImmediate(() => this.model.merchantID)
|
|
59486
59527
|
})), XNode.create(FormField, {
|
|
59487
|
-
label: "
|
|
59528
|
+
label: "Salt Index"
|
|
59488
59529
|
}, XNode.create("input", {
|
|
59489
|
-
value: Bind.twoWaysImmediate(() => this.model.
|
|
59530
|
+
value: Bind.twoWaysImmediate(() => this.model.saltIndex)
|
|
59490
59531
|
})), XNode.create(FormField, {
|
|
59491
|
-
label: "
|
|
59532
|
+
label: "Salt"
|
|
59492
59533
|
}, XNode.create("input", {
|
|
59493
|
-
value: Bind.twoWaysImmediate(() => this.model.
|
|
59534
|
+
value: Bind.twoWaysImmediate(() => this.model.salt)
|
|
59535
|
+
})), XNode.create(FormField, {
|
|
59536
|
+
label: "Secret"
|
|
59537
|
+
}, XNode.create("input", {
|
|
59538
|
+
value: Bind.twoWaysImmediate(() => this.model.secret)
|
|
59494
59539
|
})), XNode.create(FormField, {
|
|
59495
59540
|
label: "Url"
|
|
59496
59541
|
}, XNode.create("input", {
|
|
@@ -59504,7 +59549,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
59504
59549
|
}
|
|
59505
59550
|
submitForm() {
|
|
59506
59551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
59507
|
-
yield this.entityService.save(this.model, c => c);
|
|
59552
|
+
yield this.entityService.save(this.model, c => c.include(x => x.storeAccount));
|
|
59508
59553
|
return this.model;
|
|
59509
59554
|
});
|
|
59510
59555
|
}
|
|
@@ -59524,7 +59569,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
59524
59569
|
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) {
|
|
59525
59570
|
"use strict";
|
|
59526
59571
|
|
|
59527
|
-
var __awaiter, __decorate, __metadata, InjectProperty, XNode, AtomRepeater, MasterDetailPage, EntityService, InfiniteRepeater, StoreAccount, Bind, Sql, Action, PaymentGatewayEditorPage, AddIconTextButton, PaymentGatewayListPage;
|
|
59572
|
+
var __awaiter, __decorate, __metadata, InjectProperty, XNode, AtomRepeater, MasterDetailPage, EntityService, InfiniteRepeater, StoreAccount, StorePaymentGateway, Bind, Sql, Action, PaymentGatewayEditorPage, AddIconTextButton, PaymentGatewayListPage;
|
|
59528
59573
|
_export("default", void 0);
|
|
59529
59574
|
return {
|
|
59530
59575
|
setters: [function (_tslib) {
|
|
@@ -59545,6 +59590,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
59545
59590
|
InfiniteRepeater = _controlsRepeaterInfiniteRepeater.default;
|
|
59546
59591
|
}, function (_modelModel) {
|
|
59547
59592
|
StoreAccount = _modelModel.StoreAccount;
|
|
59593
|
+
StorePaymentGateway = _modelModel.StorePaymentGateway;
|
|
59548
59594
|
}, function (_webAtomsCoreDistCoreBind) {
|
|
59549
59595
|
Bind = _webAtomsCoreDistCoreBind.default;
|
|
59550
59596
|
}, function (_Sql) {
|
|
@@ -59582,11 +59628,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
59582
59628
|
cancelToken
|
|
59583
59629
|
})), {
|
|
59584
59630
|
itemRenderer: x => XNode.create("div", null, XNode.create("label", {
|
|
59585
|
-
text: x.accessID
|
|
59586
|
-
}), XNode.create("label", {
|
|
59587
59631
|
text: x.paymentGateway
|
|
59588
59632
|
}), XNode.create("label", {
|
|
59589
|
-
text: x.name
|
|
59633
|
+
text: x.storeAccount.name
|
|
59590
59634
|
}))
|
|
59591
59635
|
})));
|
|
59592
59636
|
this.footerRenderer = () => XNode.create("div", null, XNode.create(AddIconTextButton, {
|
|
@@ -59602,15 +59646,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
59602
59646
|
const {
|
|
59603
59647
|
storeID
|
|
59604
59648
|
} = this.parameters;
|
|
59605
|
-
let q = this.entityService.query(
|
|
59649
|
+
let q = this.entityService.query(StorePaymentGateway).where({
|
|
59606
59650
|
storeID
|
|
59607
|
-
}, p => x => x.storeID === p.storeID
|
|
59651
|
+
}, p => x => x.storeAccount.storeID === p.storeID);
|
|
59608
59652
|
if (search) {
|
|
59609
59653
|
q = q.where({
|
|
59610
59654
|
search
|
|
59611
|
-
}, p => x => Sql.text.iLike(x.description, p.search));
|
|
59655
|
+
}, p => x => Sql.text.iLike(x.storeAccount.description, p.search));
|
|
59612
59656
|
}
|
|
59613
|
-
return q.toPagedList({
|
|
59657
|
+
return q.include(x => x.storeAccount).toPagedList({
|
|
59614
59658
|
start,
|
|
59615
59659
|
cancelToken
|
|
59616
59660
|
});
|
|
@@ -59629,9 +59673,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
59629
59673
|
const {
|
|
59630
59674
|
storeID
|
|
59631
59675
|
} = this.parameters;
|
|
59632
|
-
const item =
|
|
59633
|
-
|
|
59634
|
-
|
|
59676
|
+
const item = StorePaymentGateway.create({
|
|
59677
|
+
storeAccount: StoreAccount.create({
|
|
59678
|
+
storeID,
|
|
59679
|
+
head: "Income"
|
|
59680
|
+
})
|
|
59635
59681
|
});
|
|
59636
59682
|
this.items.add(item);
|
|
59637
59683
|
this.repeater.selectedItem = item;
|