@social-mail/social-mail-client 1.4.85 → 1.4.86
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/users/signup/SignupPage.d.ts.map +1 -1
- package/dist/public/users/signup/SignupPage.js +2 -7
- package/dist/public/users/signup/SignupPage.js.map +1 -1
- package/dist/public/users/signup/SignupPage.pack.global.less +1 -1
- package/dist/public/users/signup/SignupPage.pack.global.less.css +21 -21
- package/dist/public/users/signup/SignupPage.pack.global.less.css.map +1 -1
- package/dist/public/users/signup/SignupPage.pack.js +242 -247
- package/dist/public/users/signup/SignupPage.pack.js.map +1 -1
- package/dist/public/users/signup/SignupPage.pack.min.js +1 -1
- package/dist/public/users/signup/SignupPage.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/public/users/signup/SignupPage.tsx +0 -3
|
@@ -2088,7 +2088,7 @@ if (window) {
|
|
|
2088
2088
|
|
|
2089
2089
|
AmdLoader.instance.register(
|
|
2090
2090
|
["@social-mail/social-mail-client","@web-atoms/core","@web-atoms/web-controls","@web-atoms/date-time","@web-atoms/entity"],
|
|
2091
|
-
["@social-mail/social-mail-client/dist/public/users/signup/SignupPage","@web-atoms/core/dist/core/Bind","@web-atoms/core/dist/core/ExpressionParser","@web-atoms/core/dist/core/types","@web-atoms/core/dist/core/AtomMap","@web-atoms/core/dist/core/XNode","@web-atoms/web-controls/dist/basic/Form","@web-atoms/core/dist/core/StringHelper","@web-atoms/web-controls/dist/basic/FormField","@web-atoms/core/dist/core/FormattedString","@web-atoms/core/dist/services/NavigationService","@web-atoms/core/dist/core/AtomComponent","@web-atoms/core/dist/App","@web-atoms/core/dist/core/AtomBinder","@web-atoms/core/dist/core/AtomDispatcher","@web-atoms/core/dist/di/RegisterSingleton","@web-atoms/core/dist/di/Register","@web-atoms/core/dist/di/ServiceCollection","@web-atoms/core/dist/di/TypeKey","@web-atoms/core/dist/di/ServiceProvider","@web-atoms/core/dist/core/TransientDisposable","@web-atoms/core/dist/di/Inject","@web-atoms/core/dist/services/BusyIndicatorService","@web-atoms/core/dist/core/AtomList","@web-atoms/date-time/dist/DateTime","@web-atoms/date-time/dist/TimeSpan","@web-atoms/core/dist/core/AtomDisposableList","@web-atoms/core/dist/core/AtomWatcher","@web-atoms/core/dist/core/Hacks","@web-atoms/core/dist/web/core/AtomUI","@web-atoms/core/dist/core/InheritedProperty","@web-atoms/core/dist/core/PropertyMap","@web-atoms/core/dist/core/AtomUri","@web-atoms/core/dist/services/ReferenceService","@web-atoms/core/dist/di/DISingleton","@web-atoms/core/dist/web/services/PopupService","@web-atoms/core/dist/web/controls/AtomControl","@web-atoms/core/dist/core/BindableProperty","@web-atoms/core/dist/core/Command","@web-atoms/core/dist/core/EventScope","@web-atoms/core/dist/core/Route","@web-atoms/core/dist/core/WebImage","@web-atoms/core/dist/web/styles/AtomStyle","@web-atoms/core/dist/web/styles/AtomStyleSheet","@web-atoms/core/dist/web/services/PopupWindow","@web-atoms/core/dist/core/sleep","@web-atoms/core/dist/services/FetchBuilder","@web-atoms/core/dist/view-model/Action","@web-atoms/core/dist/services/http/JsonError","@social-mail/social-mail-client/dist/common/controls/
|
|
2091
|
+
["@social-mail/social-mail-client/dist/public/users/signup/SignupPage","@web-atoms/core/dist/core/Bind","@web-atoms/core/dist/core/ExpressionParser","@web-atoms/core/dist/core/types","@web-atoms/core/dist/core/AtomMap","@web-atoms/core/dist/core/XNode","@web-atoms/web-controls/dist/basic/Form","@web-atoms/core/dist/core/StringHelper","@web-atoms/web-controls/dist/basic/FormField","@web-atoms/core/dist/core/FormattedString","@web-atoms/core/dist/services/NavigationService","@web-atoms/core/dist/core/AtomComponent","@web-atoms/core/dist/App","@web-atoms/core/dist/core/AtomBinder","@web-atoms/core/dist/core/AtomDispatcher","@web-atoms/core/dist/di/RegisterSingleton","@web-atoms/core/dist/di/Register","@web-atoms/core/dist/di/ServiceCollection","@web-atoms/core/dist/di/TypeKey","@web-atoms/core/dist/di/ServiceProvider","@web-atoms/core/dist/core/TransientDisposable","@web-atoms/core/dist/di/Inject","@web-atoms/core/dist/services/BusyIndicatorService","@web-atoms/core/dist/core/AtomList","@web-atoms/date-time/dist/DateTime","@web-atoms/date-time/dist/TimeSpan","@web-atoms/core/dist/core/AtomDisposableList","@web-atoms/core/dist/core/AtomWatcher","@web-atoms/core/dist/core/Hacks","@web-atoms/core/dist/web/core/AtomUI","@web-atoms/core/dist/core/InheritedProperty","@web-atoms/core/dist/core/PropertyMap","@web-atoms/core/dist/core/AtomUri","@web-atoms/core/dist/services/ReferenceService","@web-atoms/core/dist/di/DISingleton","@web-atoms/core/dist/web/services/PopupService","@web-atoms/core/dist/web/controls/AtomControl","@web-atoms/core/dist/core/BindableProperty","@web-atoms/core/dist/core/Command","@web-atoms/core/dist/core/EventScope","@web-atoms/core/dist/core/Route","@web-atoms/core/dist/core/WebImage","@web-atoms/core/dist/web/styles/AtomStyle","@web-atoms/core/dist/web/styles/AtomStyleSheet","@web-atoms/core/dist/web/services/PopupWindow","@web-atoms/core/dist/core/sleep","@web-atoms/core/dist/services/FetchBuilder","@web-atoms/core/dist/view-model/Action","@web-atoms/core/dist/services/http/JsonError","@social-mail/social-mail-client/dist/common/controls/qrcode/QRCode","@social-mail/social-mail-client/dist/common/controls/buttons/IconButton","@social-mail/social-mail-client/dist/common/form/AppForm","@web-atoms/web-controls/dist/basic/DropDown","@web-atoms/web-controls/dist/basic/AtomRepeater","@web-atoms/core/dist/core/Colors","@web-atoms/core/dist/core/WatchProperty","@web-atoms/web-controls/dist/basic/InlinePopup","@web-atoms/web-controls/dist/basic/MergeNode","@web-atoms/web-controls/dist/basic/ItemPath","@web-atoms/web-controls/dist/DataAttributes","@social-mail/social-mail-client/dist/model/model","@web-atoms/entity/dist/services/BaseEntityService","@web-atoms/entity/dist/models/Cloner","@web-atoms/entity/dist/models/cloneSource","@web-atoms/entity/dist/models/IEntityModel","@web-atoms/entity/dist/services/mergeProperties","@web-atoms/entity/dist/services/Query","@web-atoms/entity/dist/services/StringHelper","@web-atoms/entity/dist/services/resolve","@web-atoms/entity/dist/models/TaskManager","@web-atoms/entity/dist/models/Queue","@social-mail/social-mail-client/dist/common/controls/Loader","@social-mail/social-mail-client/content/images/gif/loader.gif","@web-atoms/core/dist/core/InjectProperty","@social-mail/social-mail-client/dist/services/EntityService","@social-mail/social-mail-client/dist/services/BusyProgress","@social-mail/social-mail-client/dist/common/apiPath","@social-mail/social-mail-client/dist/common/controls/phone-editor/PhoneEditor","@social-mail/social-mail-client/dist/common/controls/countries/CountrySelect","@web-atoms/web-controls/dist/basic/MaskedInput","@web-atoms/core/dist/Pack","@social-mail/social-mail-client/dist/public/users/signup/controls/SignupDomainDropDown","@social-mail/social-mail-client/dist/common/Sql","@web-atoms/core/dist/web/WebApp","@web-atoms/core/dist/core/AtomOnce","@web-atoms/core/dist/web/services/WebBusyIndicatorService","@web-atoms/core/dist/web/styles/StyleBuilder","@web-atoms/core/dist/web/services/WindowService","@web-atoms/core/dist/Atom","@web-atoms/core/dist/core/AtomLoader","@web-atoms/core/dist/services/JsonService","@web-atoms/core/dist/core/FormattedError","@web-atoms/core/dist/view-model/AtomWindowViewModel","@web-atoms/core/dist/view-model/AtomViewModel","@web-atoms/core/dist/view-model/baseTypes","@web-atoms/core/dist/web/controls/AtomAlertWindow","@web-atoms/core/dist/web/styles/AtomAlertWindowStyle","@web-atoms/core/dist/web/styles/AtomWindowStyle","@web-atoms/core/src/web/images/close-button-hover.svg","@web-atoms/core/dist/web/controls/AtomWindow","@web-atoms/core/dist/web/controls/AtomTemplate","@web-atoms/core/dist/web/controls/AtomNotification","@web-atoms/core/dist/web/styles/AtomNotificationStyle","@web-atoms/core/dist/web/styles/AtomPopupStyle","@web-atoms/core/dist/web/services/NotificationPopup","@web-atoms/core/dist/web/styles/AtomTheme"]);
|
|
2092
2092
|
|
|
2093
2093
|
|
|
2094
2094
|
AmdLoader.instance.setup("@web-atoms/core/dist/core/ExpressionParser");
|
|
@@ -9480,6 +9480,182 @@ System.register(["tslib", "../App", "../core/Command", "../core/EventScope", "..
|
|
|
9480
9480
|
});
|
|
9481
9481
|
//# sourceMappingURL=Action.js.map
|
|
9482
9482
|
|
|
9483
|
+
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/buttons/IconButton");
|
|
9484
|
+
|
|
9485
|
+
System.register(["tslib", "@web-atoms/core/dist/core/XNode"], function (_export, _context) {
|
|
9486
|
+
"use strict";
|
|
9487
|
+
|
|
9488
|
+
var __rest, XNode, createButton, IconButton, AddIconButton, AddIconTextButton, ArchiveIconButton, ArchiveIconTextButton, CopyIconButton, CopyIconTextButton, SetupFolderIconButton, SetupFolderTextButton, DeleteIconButton, DeleteIconTextButton, EmailIconButton, EmailIconTextButton, SaveIconButton, SaveIconTextButton, EditIconButton, EditIconTextButton, UploadIconButton, UploadIconTextButton;
|
|
9489
|
+
return {
|
|
9490
|
+
setters: [function (_tslib) {
|
|
9491
|
+
__rest = _tslib.__rest;
|
|
9492
|
+
}, function (_webAtomsCoreDistCoreXNode) {
|
|
9493
|
+
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
9494
|
+
}],
|
|
9495
|
+
execute: function () {
|
|
9496
|
+
createButton = ({
|
|
9497
|
+
text: defaultText = void 0,
|
|
9498
|
+
icon: defaultIcon = void 0,
|
|
9499
|
+
layout: defaultLayout = ""
|
|
9500
|
+
}) => _a => {
|
|
9501
|
+
var {
|
|
9502
|
+
text = defaultText,
|
|
9503
|
+
icon = defaultIcon,
|
|
9504
|
+
layout = defaultLayout || (icon ? "icon-button" : "button"),
|
|
9505
|
+
href = void 0,
|
|
9506
|
+
target = void 0
|
|
9507
|
+
} = _a,
|
|
9508
|
+
a = __rest(_a, ["text", "icon", "layout", "href", "target"]);
|
|
9509
|
+
a["data-layout"] = layout;
|
|
9510
|
+
if (href) {
|
|
9511
|
+
if (text && icon) {
|
|
9512
|
+
return XNode.create("a", Object.assign({
|
|
9513
|
+
href: href
|
|
9514
|
+
}, a), XNode.create("i", {
|
|
9515
|
+
class: icon
|
|
9516
|
+
}), XNode.create("span", {
|
|
9517
|
+
text: text
|
|
9518
|
+
}));
|
|
9519
|
+
}
|
|
9520
|
+
if (icon) {
|
|
9521
|
+
return XNode.create("a", Object.assign({
|
|
9522
|
+
href: href
|
|
9523
|
+
}, a, {
|
|
9524
|
+
class: icon
|
|
9525
|
+
}));
|
|
9526
|
+
}
|
|
9527
|
+
return XNode.create("a", Object.assign({
|
|
9528
|
+
href: href
|
|
9529
|
+
}, a, {
|
|
9530
|
+
text: text
|
|
9531
|
+
}));
|
|
9532
|
+
}
|
|
9533
|
+
if (text && icon) {
|
|
9534
|
+
return XNode.create("button", Object.assign({}, a), XNode.create("i", {
|
|
9535
|
+
class: icon
|
|
9536
|
+
}), XNode.create("span", {
|
|
9537
|
+
text: text
|
|
9538
|
+
}));
|
|
9539
|
+
}
|
|
9540
|
+
if (icon) {
|
|
9541
|
+
return XNode.create("button", Object.assign({}, a, {
|
|
9542
|
+
class: icon
|
|
9543
|
+
}));
|
|
9544
|
+
}
|
|
9545
|
+
return XNode.create("button", Object.assign({}, a, {
|
|
9546
|
+
text: text
|
|
9547
|
+
}));
|
|
9548
|
+
};
|
|
9549
|
+
_export("IconButton", IconButton = createButton({}));
|
|
9550
|
+
_export("AddIconButton", AddIconButton = createButton({
|
|
9551
|
+
icon: "fas fa-plus",
|
|
9552
|
+
layout: "go-button"
|
|
9553
|
+
}));
|
|
9554
|
+
_export("AddIconTextButton", AddIconTextButton = createButton({
|
|
9555
|
+
text: "Add",
|
|
9556
|
+
icon: "fas fa-plus",
|
|
9557
|
+
layout: "go-icon-button"
|
|
9558
|
+
}));
|
|
9559
|
+
_export("ArchiveIconButton", ArchiveIconButton = createButton({
|
|
9560
|
+
icon: "fas fa-trash-can",
|
|
9561
|
+
layout: "warning-button"
|
|
9562
|
+
}));
|
|
9563
|
+
_export("ArchiveIconTextButton", ArchiveIconTextButton = createButton({
|
|
9564
|
+
text: "Archive",
|
|
9565
|
+
icon: "fas fa-trash-can",
|
|
9566
|
+
layout: "warning-icon-button"
|
|
9567
|
+
}));
|
|
9568
|
+
_export("CopyIconButton", CopyIconButton = createButton({
|
|
9569
|
+
icon: "fas fa-copy",
|
|
9570
|
+
layout: "button"
|
|
9571
|
+
}));
|
|
9572
|
+
_export("CopyIconTextButton", CopyIconTextButton = createButton({
|
|
9573
|
+
text: "Open",
|
|
9574
|
+
icon: "fas fa-copy",
|
|
9575
|
+
layout: "icon-button"
|
|
9576
|
+
}));
|
|
9577
|
+
_export("SetupFolderIconButton", SetupFolderIconButton = createButton({
|
|
9578
|
+
icon: "fas fa-gear",
|
|
9579
|
+
layout: "button"
|
|
9580
|
+
}));
|
|
9581
|
+
_export("SetupFolderTextButton", SetupFolderTextButton = createButton({
|
|
9582
|
+
text: "Open",
|
|
9583
|
+
icon: "fas fa-gear",
|
|
9584
|
+
layout: "icon-button"
|
|
9585
|
+
}));
|
|
9586
|
+
_export("DeleteIconButton", DeleteIconButton = createButton({
|
|
9587
|
+
icon: "fas fa-trash-can",
|
|
9588
|
+
layout: "reject-button"
|
|
9589
|
+
}));
|
|
9590
|
+
_export("DeleteIconTextButton", DeleteIconTextButton = createButton({
|
|
9591
|
+
text: "Delete",
|
|
9592
|
+
icon: "fas fa-trash-can",
|
|
9593
|
+
layout: "reject-icon-button"
|
|
9594
|
+
}));
|
|
9595
|
+
_export("EmailIconButton", EmailIconButton = createButton({
|
|
9596
|
+
icon: "fas fa-envelope",
|
|
9597
|
+
layout: "go-button"
|
|
9598
|
+
}));
|
|
9599
|
+
_export("EmailIconTextButton", EmailIconTextButton = createButton({
|
|
9600
|
+
text: "Email",
|
|
9601
|
+
icon: "fas fa-envelope",
|
|
9602
|
+
layout: "go-icon-button"
|
|
9603
|
+
}));
|
|
9604
|
+
_export("SaveIconButton", SaveIconButton = createButton({
|
|
9605
|
+
icon: "fas fa-floppy-disk",
|
|
9606
|
+
layout: "accept-button"
|
|
9607
|
+
}));
|
|
9608
|
+
_export("SaveIconTextButton", SaveIconTextButton = createButton({
|
|
9609
|
+
text: "Save",
|
|
9610
|
+
icon: "fas fa-floppy-disk",
|
|
9611
|
+
layout: "accept-icon-button"
|
|
9612
|
+
}));
|
|
9613
|
+
_export("EditIconButton", EditIconButton = createButton({
|
|
9614
|
+
icon: "fas fa-edit",
|
|
9615
|
+
layout: "button"
|
|
9616
|
+
}));
|
|
9617
|
+
_export("EditIconTextButton", EditIconTextButton = createButton({
|
|
9618
|
+
text: "Edit",
|
|
9619
|
+
icon: "fas fa-edit",
|
|
9620
|
+
layout: "icon-button"
|
|
9621
|
+
}));
|
|
9622
|
+
_export("UploadIconButton", UploadIconButton = createButton({
|
|
9623
|
+
icon: "fas fa-upload",
|
|
9624
|
+
layout: "go-button"
|
|
9625
|
+
}));
|
|
9626
|
+
_export("UploadIconTextButton", UploadIconTextButton = createButton({
|
|
9627
|
+
text: "Upload",
|
|
9628
|
+
icon: "fas fa-upload",
|
|
9629
|
+
layout: "go-icon-button"
|
|
9630
|
+
}));
|
|
9631
|
+
}
|
|
9632
|
+
};
|
|
9633
|
+
});
|
|
9634
|
+
//# sourceMappingURL=IconButton.js.map
|
|
9635
|
+
|
|
9636
|
+
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/form/AppForm");
|
|
9637
|
+
|
|
9638
|
+
System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "./AppForm.global.less"], function (_export, _context) {
|
|
9639
|
+
"use strict";
|
|
9640
|
+
|
|
9641
|
+
var XNode, Form;
|
|
9642
|
+
function AppForm(a, ...nodes) {
|
|
9643
|
+
return XNode.create(Form, Object.assign({
|
|
9644
|
+
"data-app-form": "app-form"
|
|
9645
|
+
}, a), ...nodes);
|
|
9646
|
+
}
|
|
9647
|
+
_export("default", AppForm);
|
|
9648
|
+
return {
|
|
9649
|
+
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
9650
|
+
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
9651
|
+
}, function (_webAtomsWebControlsDistBasicForm) {
|
|
9652
|
+
Form = _webAtomsWebControlsDistBasicForm.default;
|
|
9653
|
+
}, function (_AppFormGlobalLess) {}],
|
|
9654
|
+
execute: function () {}
|
|
9655
|
+
};
|
|
9656
|
+
});
|
|
9657
|
+
//# sourceMappingURL=AppForm.js.map
|
|
9658
|
+
|
|
9483
9659
|
AmdLoader.instance.setup("@web-atoms/core/dist/core/Colors");
|
|
9484
9660
|
|
|
9485
9661
|
System.register([], function (_export, _context) {
|
|
@@ -11660,245 +11836,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
|
|
|
11660
11836
|
});
|
|
11661
11837
|
//# sourceMappingURL=DropDown.js.map
|
|
11662
11838
|
|
|
11663
|
-
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/countries/CountrySelect");
|
|
11664
|
-
|
|
11665
|
-
System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/DropDown", "@web-atoms/core/dist/services/FetchBuilder", "@web-atoms/core/dist/core/types"], function (_export, _context) {
|
|
11666
|
-
"use strict";
|
|
11667
|
-
|
|
11668
|
-
var __awaiter, Bind, XNode, DropDown, FetchBuilder, UMD, countriesPromise, loadCountries, CountrySelect, CurrencySelect, isdForCountry, formatForCountry;
|
|
11669
|
-
return {
|
|
11670
|
-
setters: [function (_tslib) {
|
|
11671
|
-
__awaiter = _tslib.__awaiter;
|
|
11672
|
-
}, function (_webAtomsCoreDistCoreBind) {
|
|
11673
|
-
Bind = _webAtomsCoreDistCoreBind.default;
|
|
11674
|
-
}, function (_webAtomsCoreDistCoreXNode) {
|
|
11675
|
-
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
11676
|
-
}, function (_webAtomsWebControlsDistBasicDropDown) {
|
|
11677
|
-
DropDown = _webAtomsWebControlsDistBasicDropDown.default;
|
|
11678
|
-
}, function (_webAtomsCoreDistServicesFetchBuilder) {
|
|
11679
|
-
FetchBuilder = _webAtomsCoreDistServicesFetchBuilder.default;
|
|
11680
|
-
}, function (_webAtomsCoreDistCoreTypes) {
|
|
11681
|
-
UMD = _webAtomsCoreDistCoreTypes.UMD;
|
|
11682
|
-
}],
|
|
11683
|
-
execute: function () {
|
|
11684
|
-
;
|
|
11685
|
-
loadCountries = () => countriesPromise !== null && countriesPromise !== void 0 ? countriesPromise : countriesPromise = FetchBuilder.get(UMD.resolvePath("@social-mail/social-mail-client/content/json/countries.json")).asJson();
|
|
11686
|
-
_export("CountrySelect", CountrySelect = a => XNode.create(DropDown, Object.assign({
|
|
11687
|
-
labelPath: item => {
|
|
11688
|
-
var _a;
|
|
11689
|
-
return ((_a = item.isdCode) === null || _a === void 0 ? void 0 : _a.startsWith("+")) ? item.isdCode : `+${item.isdCode} ${item.value}`;
|
|
11690
|
-
},
|
|
11691
|
-
valuePath: item => item.value,
|
|
11692
|
-
items: Bind.oneTimeAsync(() => loadCountries())
|
|
11693
|
-
}, a)));
|
|
11694
|
-
_export("CurrencySelect", CurrencySelect = a => XNode.create(DropDown, Object.assign({
|
|
11695
|
-
labelPath: item => item.currency + "(" + item.label + ")",
|
|
11696
|
-
valuePath: item => item.currency,
|
|
11697
|
-
items: Bind.oneTimeAsync(() => loadCountries())
|
|
11698
|
-
}, a)));
|
|
11699
|
-
_export("isdForCountry", isdForCountry = (countryCode, prefix = "") => __awaiter(void 0, void 0, void 0, function* () {
|
|
11700
|
-
const {
|
|
11701
|
-
isdCode
|
|
11702
|
-
} = (yield loadCountries()).find(x => x.value === countryCode);
|
|
11703
|
-
if (prefix) {
|
|
11704
|
-
return isdCode.startsWith(prefix) ? isdCode : prefix + isdCode;
|
|
11705
|
-
}
|
|
11706
|
-
return isdCode;
|
|
11707
|
-
}));
|
|
11708
|
-
_export("formatForCountry", formatForCountry = countryCode => __awaiter(void 0, void 0, void 0, function* () {
|
|
11709
|
-
const countries = yield loadCountries();
|
|
11710
|
-
const country = countries.find(c => c.value === countryCode);
|
|
11711
|
-
if (country) {
|
|
11712
|
-
const {
|
|
11713
|
-
phoneFormat
|
|
11714
|
-
} = country;
|
|
11715
|
-
if (phoneFormat && phoneFormat !== "0.0") {
|
|
11716
|
-
return phoneFormat;
|
|
11717
|
-
}
|
|
11718
|
-
}
|
|
11719
|
-
return "####.####.####";
|
|
11720
|
-
}));
|
|
11721
|
-
}
|
|
11722
|
-
};
|
|
11723
|
-
});
|
|
11724
|
-
//# sourceMappingURL=CountrySelect.js.map
|
|
11725
|
-
|
|
11726
|
-
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/buttons/IconButton");
|
|
11727
|
-
|
|
11728
|
-
System.register(["tslib", "@web-atoms/core/dist/core/XNode"], function (_export, _context) {
|
|
11729
|
-
"use strict";
|
|
11730
|
-
|
|
11731
|
-
var __rest, XNode, createButton, IconButton, AddIconButton, AddIconTextButton, ArchiveIconButton, ArchiveIconTextButton, CopyIconButton, CopyIconTextButton, SetupFolderIconButton, SetupFolderTextButton, DeleteIconButton, DeleteIconTextButton, EmailIconButton, EmailIconTextButton, SaveIconButton, SaveIconTextButton, EditIconButton, EditIconTextButton, UploadIconButton, UploadIconTextButton;
|
|
11732
|
-
return {
|
|
11733
|
-
setters: [function (_tslib) {
|
|
11734
|
-
__rest = _tslib.__rest;
|
|
11735
|
-
}, function (_webAtomsCoreDistCoreXNode) {
|
|
11736
|
-
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
11737
|
-
}],
|
|
11738
|
-
execute: function () {
|
|
11739
|
-
createButton = ({
|
|
11740
|
-
text: defaultText = void 0,
|
|
11741
|
-
icon: defaultIcon = void 0,
|
|
11742
|
-
layout: defaultLayout = ""
|
|
11743
|
-
}) => _a => {
|
|
11744
|
-
var {
|
|
11745
|
-
text = defaultText,
|
|
11746
|
-
icon = defaultIcon,
|
|
11747
|
-
layout = defaultLayout || (icon ? "icon-button" : "button"),
|
|
11748
|
-
href = void 0,
|
|
11749
|
-
target = void 0
|
|
11750
|
-
} = _a,
|
|
11751
|
-
a = __rest(_a, ["text", "icon", "layout", "href", "target"]);
|
|
11752
|
-
a["data-layout"] = layout;
|
|
11753
|
-
if (href) {
|
|
11754
|
-
if (text && icon) {
|
|
11755
|
-
return XNode.create("a", Object.assign({
|
|
11756
|
-
href: href
|
|
11757
|
-
}, a), XNode.create("i", {
|
|
11758
|
-
class: icon
|
|
11759
|
-
}), XNode.create("span", {
|
|
11760
|
-
text: text
|
|
11761
|
-
}));
|
|
11762
|
-
}
|
|
11763
|
-
if (icon) {
|
|
11764
|
-
return XNode.create("a", Object.assign({
|
|
11765
|
-
href: href
|
|
11766
|
-
}, a, {
|
|
11767
|
-
class: icon
|
|
11768
|
-
}));
|
|
11769
|
-
}
|
|
11770
|
-
return XNode.create("a", Object.assign({
|
|
11771
|
-
href: href
|
|
11772
|
-
}, a, {
|
|
11773
|
-
text: text
|
|
11774
|
-
}));
|
|
11775
|
-
}
|
|
11776
|
-
if (text && icon) {
|
|
11777
|
-
return XNode.create("button", Object.assign({}, a), XNode.create("i", {
|
|
11778
|
-
class: icon
|
|
11779
|
-
}), XNode.create("span", {
|
|
11780
|
-
text: text
|
|
11781
|
-
}));
|
|
11782
|
-
}
|
|
11783
|
-
if (icon) {
|
|
11784
|
-
return XNode.create("button", Object.assign({}, a, {
|
|
11785
|
-
class: icon
|
|
11786
|
-
}));
|
|
11787
|
-
}
|
|
11788
|
-
return XNode.create("button", Object.assign({}, a, {
|
|
11789
|
-
text: text
|
|
11790
|
-
}));
|
|
11791
|
-
};
|
|
11792
|
-
_export("IconButton", IconButton = createButton({}));
|
|
11793
|
-
_export("AddIconButton", AddIconButton = createButton({
|
|
11794
|
-
icon: "fas fa-plus",
|
|
11795
|
-
layout: "go-button"
|
|
11796
|
-
}));
|
|
11797
|
-
_export("AddIconTextButton", AddIconTextButton = createButton({
|
|
11798
|
-
text: "Add",
|
|
11799
|
-
icon: "fas fa-plus",
|
|
11800
|
-
layout: "go-icon-button"
|
|
11801
|
-
}));
|
|
11802
|
-
_export("ArchiveIconButton", ArchiveIconButton = createButton({
|
|
11803
|
-
icon: "fas fa-trash-can",
|
|
11804
|
-
layout: "warning-button"
|
|
11805
|
-
}));
|
|
11806
|
-
_export("ArchiveIconTextButton", ArchiveIconTextButton = createButton({
|
|
11807
|
-
text: "Archive",
|
|
11808
|
-
icon: "fas fa-trash-can",
|
|
11809
|
-
layout: "warning-icon-button"
|
|
11810
|
-
}));
|
|
11811
|
-
_export("CopyIconButton", CopyIconButton = createButton({
|
|
11812
|
-
icon: "fas fa-copy",
|
|
11813
|
-
layout: "button"
|
|
11814
|
-
}));
|
|
11815
|
-
_export("CopyIconTextButton", CopyIconTextButton = createButton({
|
|
11816
|
-
text: "Open",
|
|
11817
|
-
icon: "fas fa-copy",
|
|
11818
|
-
layout: "icon-button"
|
|
11819
|
-
}));
|
|
11820
|
-
_export("SetupFolderIconButton", SetupFolderIconButton = createButton({
|
|
11821
|
-
icon: "fas fa-gear",
|
|
11822
|
-
layout: "button"
|
|
11823
|
-
}));
|
|
11824
|
-
_export("SetupFolderTextButton", SetupFolderTextButton = createButton({
|
|
11825
|
-
text: "Open",
|
|
11826
|
-
icon: "fas fa-gear",
|
|
11827
|
-
layout: "icon-button"
|
|
11828
|
-
}));
|
|
11829
|
-
_export("DeleteIconButton", DeleteIconButton = createButton({
|
|
11830
|
-
icon: "fas fa-trash-can",
|
|
11831
|
-
layout: "reject-button"
|
|
11832
|
-
}));
|
|
11833
|
-
_export("DeleteIconTextButton", DeleteIconTextButton = createButton({
|
|
11834
|
-
text: "Delete",
|
|
11835
|
-
icon: "fas fa-trash-can",
|
|
11836
|
-
layout: "reject-icon-button"
|
|
11837
|
-
}));
|
|
11838
|
-
_export("EmailIconButton", EmailIconButton = createButton({
|
|
11839
|
-
icon: "fas fa-envelope",
|
|
11840
|
-
layout: "go-button"
|
|
11841
|
-
}));
|
|
11842
|
-
_export("EmailIconTextButton", EmailIconTextButton = createButton({
|
|
11843
|
-
text: "Email",
|
|
11844
|
-
icon: "fas fa-envelope",
|
|
11845
|
-
layout: "go-icon-button"
|
|
11846
|
-
}));
|
|
11847
|
-
_export("SaveIconButton", SaveIconButton = createButton({
|
|
11848
|
-
icon: "fas fa-floppy-disk",
|
|
11849
|
-
layout: "accept-button"
|
|
11850
|
-
}));
|
|
11851
|
-
_export("SaveIconTextButton", SaveIconTextButton = createButton({
|
|
11852
|
-
text: "Save",
|
|
11853
|
-
icon: "fas fa-floppy-disk",
|
|
11854
|
-
layout: "accept-icon-button"
|
|
11855
|
-
}));
|
|
11856
|
-
_export("EditIconButton", EditIconButton = createButton({
|
|
11857
|
-
icon: "fas fa-edit",
|
|
11858
|
-
layout: "button"
|
|
11859
|
-
}));
|
|
11860
|
-
_export("EditIconTextButton", EditIconTextButton = createButton({
|
|
11861
|
-
text: "Edit",
|
|
11862
|
-
icon: "fas fa-edit",
|
|
11863
|
-
layout: "icon-button"
|
|
11864
|
-
}));
|
|
11865
|
-
_export("UploadIconButton", UploadIconButton = createButton({
|
|
11866
|
-
icon: "fas fa-upload",
|
|
11867
|
-
layout: "go-button"
|
|
11868
|
-
}));
|
|
11869
|
-
_export("UploadIconTextButton", UploadIconTextButton = createButton({
|
|
11870
|
-
text: "Upload",
|
|
11871
|
-
icon: "fas fa-upload",
|
|
11872
|
-
layout: "go-icon-button"
|
|
11873
|
-
}));
|
|
11874
|
-
}
|
|
11875
|
-
};
|
|
11876
|
-
});
|
|
11877
|
-
//# sourceMappingURL=IconButton.js.map
|
|
11878
|
-
|
|
11879
|
-
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/form/AppForm");
|
|
11880
|
-
|
|
11881
|
-
System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "./AppForm.global.less"], function (_export, _context) {
|
|
11882
|
-
"use strict";
|
|
11883
|
-
|
|
11884
|
-
var XNode, Form;
|
|
11885
|
-
function AppForm(a, ...nodes) {
|
|
11886
|
-
return XNode.create(Form, Object.assign({
|
|
11887
|
-
"data-app-form": "app-form"
|
|
11888
|
-
}, a), ...nodes);
|
|
11889
|
-
}
|
|
11890
|
-
_export("default", AppForm);
|
|
11891
|
-
return {
|
|
11892
|
-
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
11893
|
-
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
11894
|
-
}, function (_webAtomsWebControlsDistBasicForm) {
|
|
11895
|
-
Form = _webAtomsWebControlsDistBasicForm.default;
|
|
11896
|
-
}, function (_AppFormGlobalLess) {}],
|
|
11897
|
-
execute: function () {}
|
|
11898
|
-
};
|
|
11899
|
-
});
|
|
11900
|
-
//# sourceMappingURL=AppForm.js.map
|
|
11901
|
-
|
|
11902
11839
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/qrcode/QRCode");
|
|
11903
11840
|
|
|
11904
11841
|
System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "../buttons/IconButton", "../../form/AppForm", "@web-atoms/core/dist/core/Bind", "@web-atoms/web-controls/dist/basic/DropDown", "@web-atoms/web-controls/dist/basic/FormField", "./QRCode.global.less"], function (_export, _context) {
|
|
@@ -20495,6 +20432,69 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
20495
20432
|
});
|
|
20496
20433
|
//# sourceMappingURL=EntityService.js.map
|
|
20497
20434
|
|
|
20435
|
+
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/countries/CountrySelect");
|
|
20436
|
+
|
|
20437
|
+
System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/DropDown", "@web-atoms/core/dist/services/FetchBuilder", "@web-atoms/core/dist/core/types"], function (_export, _context) {
|
|
20438
|
+
"use strict";
|
|
20439
|
+
|
|
20440
|
+
var __awaiter, Bind, XNode, DropDown, FetchBuilder, UMD, countriesPromise, loadCountries, CountrySelect, CurrencySelect, isdForCountry, formatForCountry;
|
|
20441
|
+
return {
|
|
20442
|
+
setters: [function (_tslib) {
|
|
20443
|
+
__awaiter = _tslib.__awaiter;
|
|
20444
|
+
}, function (_webAtomsCoreDistCoreBind) {
|
|
20445
|
+
Bind = _webAtomsCoreDistCoreBind.default;
|
|
20446
|
+
}, function (_webAtomsCoreDistCoreXNode) {
|
|
20447
|
+
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
20448
|
+
}, function (_webAtomsWebControlsDistBasicDropDown) {
|
|
20449
|
+
DropDown = _webAtomsWebControlsDistBasicDropDown.default;
|
|
20450
|
+
}, function (_webAtomsCoreDistServicesFetchBuilder) {
|
|
20451
|
+
FetchBuilder = _webAtomsCoreDistServicesFetchBuilder.default;
|
|
20452
|
+
}, function (_webAtomsCoreDistCoreTypes) {
|
|
20453
|
+
UMD = _webAtomsCoreDistCoreTypes.UMD;
|
|
20454
|
+
}],
|
|
20455
|
+
execute: function () {
|
|
20456
|
+
;
|
|
20457
|
+
loadCountries = () => countriesPromise !== null && countriesPromise !== void 0 ? countriesPromise : countriesPromise = FetchBuilder.get(UMD.resolvePath("@social-mail/social-mail-client/content/json/countries.json")).asJson();
|
|
20458
|
+
_export("CountrySelect", CountrySelect = a => XNode.create(DropDown, Object.assign({
|
|
20459
|
+
labelPath: item => {
|
|
20460
|
+
var _a;
|
|
20461
|
+
return ((_a = item.isdCode) === null || _a === void 0 ? void 0 : _a.startsWith("+")) ? item.isdCode : `+${item.isdCode} ${item.value}`;
|
|
20462
|
+
},
|
|
20463
|
+
valuePath: item => item.value,
|
|
20464
|
+
items: Bind.oneTimeAsync(() => loadCountries())
|
|
20465
|
+
}, a)));
|
|
20466
|
+
_export("CurrencySelect", CurrencySelect = a => XNode.create(DropDown, Object.assign({
|
|
20467
|
+
labelPath: item => item.currency + "(" + item.label + ")",
|
|
20468
|
+
valuePath: item => item.currency,
|
|
20469
|
+
items: Bind.oneTimeAsync(() => loadCountries())
|
|
20470
|
+
}, a)));
|
|
20471
|
+
_export("isdForCountry", isdForCountry = (countryCode, prefix = "") => __awaiter(void 0, void 0, void 0, function* () {
|
|
20472
|
+
const {
|
|
20473
|
+
isdCode
|
|
20474
|
+
} = (yield loadCountries()).find(x => x.value === countryCode);
|
|
20475
|
+
if (prefix) {
|
|
20476
|
+
return isdCode.startsWith(prefix) ? isdCode : prefix + isdCode;
|
|
20477
|
+
}
|
|
20478
|
+
return isdCode;
|
|
20479
|
+
}));
|
|
20480
|
+
_export("formatForCountry", formatForCountry = countryCode => __awaiter(void 0, void 0, void 0, function* () {
|
|
20481
|
+
const countries = yield loadCountries();
|
|
20482
|
+
const country = countries.find(c => c.value === countryCode);
|
|
20483
|
+
if (country) {
|
|
20484
|
+
const {
|
|
20485
|
+
phoneFormat
|
|
20486
|
+
} = country;
|
|
20487
|
+
if (phoneFormat && phoneFormat !== "0.0") {
|
|
20488
|
+
return phoneFormat;
|
|
20489
|
+
}
|
|
20490
|
+
}
|
|
20491
|
+
return "####.####.####";
|
|
20492
|
+
}));
|
|
20493
|
+
}
|
|
20494
|
+
};
|
|
20495
|
+
});
|
|
20496
|
+
//# sourceMappingURL=CountrySelect.js.map
|
|
20497
|
+
|
|
20498
20498
|
AmdLoader.instance.setup("@web-atoms/web-controls/dist/basic/MaskedInput");
|
|
20499
20499
|
|
|
20500
20500
|
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./styles/masked-input.global.less"], function (_export, _context) {
|
|
@@ -20721,10 +20721,10 @@ System.register(["tslib", "@web-atoms/web-controls/dist/basic/DropDown", "../../
|
|
|
20721
20721
|
|
|
20722
20722
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/public/users/signup/SignupPage");
|
|
20723
20723
|
|
|
20724
|
-
System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "@web-atoms/core/dist/services/FetchBuilder", "@web-atoms/core/dist/view-model/Action", "../../../common/controls/
|
|
20724
|
+
System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "@web-atoms/core/dist/services/FetchBuilder", "@web-atoms/core/dist/view-model/Action", "../../../common/controls/qrcode/QRCode", "@web-atoms/core/dist/core/sleep", "../../../model/model", "../../../common/controls/Loader", "@web-atoms/core/dist/core/InjectProperty", "../../../services/EntityService", "../../../common/controls/phone-editor/PhoneEditor", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/Pack", "./controls/SignupDomainDropDown", "./SignupPage.local.less"], function (_export, _context) {
|
|
20725
20725
|
"use strict";
|
|
20726
20726
|
|
|
20727
|
-
var __awaiter, __decorate, __metadata, Bind, XNode, Form, FormField, FetchBuilder, Action,
|
|
20727
|
+
var __awaiter, __decorate, __metadata, Bind, XNode, Form, FormField, FetchBuilder, Action, QRCodeControl, sleep, VerificationToken, Loader, InjectProperty, EntityService, PhoneEditor, AtomControl, Pack, SignupDomainDropDown, SignupPage;
|
|
20728
20728
|
return {
|
|
20729
20729
|
setters: [function (_tslib) {
|
|
20730
20730
|
__awaiter = _tslib.__awaiter;
|
|
@@ -20742,8 +20742,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
20742
20742
|
FetchBuilder = _webAtomsCoreDistServicesFetchBuilder.default;
|
|
20743
20743
|
}, function (_webAtomsCoreDistViewModelAction) {
|
|
20744
20744
|
Action = _webAtomsCoreDistViewModelAction.default;
|
|
20745
|
-
}, function (_commonControlsCountriesCountrySelect) {
|
|
20746
|
-
isdForCountry = _commonControlsCountriesCountrySelect.isdForCountry;
|
|
20747
20745
|
}, function (_commonControlsQrcodeQRCode) {
|
|
20748
20746
|
QRCodeControl = _commonControlsQrcodeQRCode.default;
|
|
20749
20747
|
}, function (_webAtomsCoreDistCoreSleep) {
|
|
@@ -20915,9 +20913,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
20915
20913
|
if (/\s/i.test(model.password)) {
|
|
20916
20914
|
throw new Error("Password must not any whitespace characters");
|
|
20917
20915
|
}
|
|
20918
|
-
const isdCode = yield isdForCountry(model.country);
|
|
20919
|
-
const phoneNumber = model.phoneNumberText.replace(/[^0-9]/g, "");
|
|
20920
|
-
model.phoneNumber = isdCode.startsWith("+") ? isdCode + phoneNumber : `+${isdCode}${phoneNumber}`;
|
|
20921
20916
|
model.emailAddress = `${model.username}@${this.domain.name}`;
|
|
20922
20917
|
const {
|
|
20923
20918
|
userID
|